/* Shared public-site typography, navigation and editorial layout. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --wash: #f8fafc;
  --ink: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, .10);
  --hairline: rgba(15, 23, 42, .08);
  --blue: #2563eb;
  --sans: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --gutter: clamp(22px, 5.7vw, 96px);
  --section: clamp(120px, 10vw, 160px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body.hanel-site {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.8 var(--sans); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-wrap: break-word;
}
body.hanel-site::before { content: none; }
.hanel-site :where(h1,h2,h3,h4,p,figure,dl,dd) { margin: 0; }
.hanel-site :where(h1,h2,h3,h4) { color: inherit; font-family: var(--sans); font-weight: 650; line-height: 1.25; letter-spacing: -.03em; }
.hanel-site :where(a) { color: inherit; text-underline-offset: .22em; }
.hanel-site :where(button,input,select,textarea) { font: inherit; color: inherit; }
.hanel-site :where(button,summary) { cursor: pointer; }
.hanel-site :where(img) { max-width: 100%; }
.hanel-site :where(svg) { flex: none; }
.hanel-site [hidden] { display: none !important; }
.hanel-site :focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
::selection { color: white; background: #1749bd; }
.han-wrap { width: min(calc(100% - var(--gutter) * 2), 1440px); margin-inline: auto; }
.han-skip { position: absolute; top: 8px; left: 8px; z-index: 100; padding: .5em 1em; background: white; color: var(--ink); }
.han-skip:not(:focus) { width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.han-header { position: relative; z-index: 5; background: white; border-bottom: 1px solid var(--hairline); }
.head-inner, .head-actions, .han-links, .han-logo, .head-cta { display: flex; align-items: center; }
.head-inner { min-height: 78px; gap: clamp(20px, 3.2vw, 54px); }
.han-logo { flex: none; gap: 9px; width: fit-content; text-decoration: none; color: var(--ink); }
.han-logo img { display: block; width: 28px; height: 28px; }
.han-logo span { font-size: 29px; line-height: 1; font-weight: 760; letter-spacing: -.04em; }
.han-links { margin-left: auto; gap: clamp(18px, 2.25vw, 38px); }
.han-links a, .nav-sheet a, .han-footer a:not(.han-logo) {
  text-decoration: none; font-size: 13px; font-weight: 550; line-height: 1.6;
}
.han-links a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.han-links a[aria-current], .nav-sheet a[aria-current] { color: var(--blue); }
.han-links a:hover, .nav-sheet a:hover, .han-footer a:hover { color: var(--blue); }
.head-actions { gap: 8px; }
.head-cta, .han-button, .han-button-light {
  justify-content: center; gap: 18px; border: 0; border-radius: 5px; text-decoration: none;
  white-space: nowrap; font: 600 14px/1.45 var(--sans); letter-spacing: 0;
  transition: color .18s, background .18s;
}
.head-cta { min-height: 44px; padding: 9px 18px; color: white; background: var(--ink); }
.head-cta svg { width: 16px; }
.han-button, .han-button-light { display: inline-flex; align-items: center; min-height: 50px; padding: 13px 24px; }
.han-button { color: white; background: var(--blue); }
.han-button:hover { background: #174abf; }
.head-cta:hover { color: white; background: var(--blue); }
.han-button-light { background: white; color: var(--ink); }
.han-button-light:hover { color: var(--blue); background: #f1f5ff; }
.han-text { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-size: 14px; font-weight: 600; }
.han-text:hover { color: var(--blue); text-decoration: underline; }
.nav-switch, .nav-details, .nav-sheet { display: none; }
.nav-switch { width: 44px; height: 44px; justify-content: center; align-items: center; background: white; color: var(--ink); border: 0; padding: 0; list-style: none; }
.nav-switch::-webkit-details-marker { display: none; }
.han-footer { border-top: 1px solid var(--hairline); background: white; color: var(--ink); }
.han-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 24px; }
.han-footer nav a { display: inline-flex; min-height: 40px; align-items: center; }
.foot-main, .foot-fine { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.foot-main { padding-block: 48px 36px; }
.foot-fine { border-top: 1px solid var(--hairline); padding-block: 18px; color: var(--muted); }
.foot-fine small, .han-footer .foot-fine nav a { font-size: 11px; font-weight: 450; }
.han-section { padding-block: var(--section); }
.han-heading { font-size: clamp(32px, 3.7vw, 58px); font-weight: 650; letter-spacing: -.035em; line-height: 1.24; }
.section-note { color: var(--muted); font-size: 15px; line-height: 1.9; }
.end-panel { position: relative; color: white; background: radial-gradient(ellipse at 95% 115%, #1a3467 0, #101827 36%, var(--ink) 70%); }
.end-inner { min-height: 316px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 80px; }
.end-panel h2 { font-size: clamp(32px, 3.8vw, 60px); }
.end-panel p { color: #cbd3e0; margin-top: 20px; font-size: 15px; max-width: 42em; }
.end-actions { display: flex; gap: 12px 22px; flex-wrap: wrap; align-items: center; }
.end-actions .han-text { color: white; border: 0; background: none; }
.end-actions .han-text:hover { text-decoration: underline; }
.han-fold { border-top: 1px solid var(--line); }
.han-fold:last-of-type { border-bottom: 1px solid var(--line); }
.han-fold > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 62px; padding: 17px 0; list-style: none; font-weight: 550; }
.han-fold > summary::-webkit-details-marker { display: none; }
.han-fold > summary::after { content: ""; flex: none; width: 13px; height: 13px; background: linear-gradient(var(--ink),var(--ink)) center/100% 1.5px no-repeat, linear-gradient(var(--ink),var(--ink)) center/1.5px 100% no-repeat; }
.han-fold[open] > summary::after { background-size: 100% 1.5px, 0 0; }
.han-fold > summary:hover { color: var(--blue); }
.han-fold > p { padding: 0 24px 24px 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  :root { --section: 88px; }
  .han-links { display: none; }
  .head-actions { margin-left: auto; }
  .nav-switch { display: flex; }
  .nav-details { display: block; }
  .nav-sheet { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; position: absolute; inset: 100% 0 auto; padding: 12px var(--gutter) 22px; background: white; border-block: 1px solid var(--line); box-shadow: 0 12px 18px #0b0f190a; }
  .nav-sheet a { display: flex; align-items: center; min-height: 46px; border-bottom: 1px solid var(--hairline); }
  .head-inner { min-height: 68px; }
  .foot-main { align-items: flex-start; }
  .foot-main nav { justify-content: flex-end; }
}
@media (max-width: 650px) {
  :root { --section: 72px; }
  .head-inner { min-height: 62px; gap: 8px; }
  .han-logo { gap: 6px; }
  .han-logo img { width: 23px; height: 23px; }
  .han-logo span { font-size: 24px; }
  .head-cta { font-size: 12px; gap: 8px; min-height: 40px; padding: 9px 12px; }
  .head-actions { gap: 2px; }
  .nav-switch { width: 40px; }
  .foot-main, .foot-fine { flex-direction: column; align-items: flex-start; gap: 20px; }
  .foot-main { padding: 34px 0 20px; }
  .foot-main nav { justify-content: flex-start; }
  .han-footer nav { column-gap: 20px; }
  .foot-fine { flex-direction: column-reverse; align-items: flex-start; gap: 14px; padding: 14px 0 27px; }
  .foot-fine nav a { min-height: 32px; }
  .end-inner { flex-direction: column; align-items: flex-start; justify-content: center; min-height: 310px; padding-block: 62px; }
  .end-panel p { font-size: 14px; margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .han-header, .han-footer, .end-panel, .han-skip { display: none; }
  .han-wrap { width: 100%; }
}

/* Document pages: terms, privacy, commerce, guide. */
.document-main { max-width: 1080px; padding-block: clamp(52px, 6.5vw, 110px) var(--section); }
.document-main h1 { font-size: clamp(34px, 4.5vw, 68px); }
.document-main h1 + p { font-size: 16px; color: var(--muted); margin-top: 20px; max-width: 46em; }
.document-main .legal > p:nth-of-type(2), .document-main .legal > .notice + p { margin-top: 10px; font-size: 12px; color: var(--muted); }
.document-main .toc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; padding: 18px 24px; margin: 36px 0; background: var(--wash); }
.document-main .toc a { display: flex; align-items: center; min-height: 44px; padding-block: 6px; text-decoration: none; font-size: 14px; border-bottom: 1px solid var(--hairline); }
.document-main .toc a:hover { text-decoration: underline; color: var(--blue); }
.document-main .legal > section { display: grid; grid-template-columns: minmax(170px,.68fr) minmax(0,1.32fr); column-gap: clamp(28px, 4vw, 70px); padding-block: 32px; border-top: 1px solid var(--line); }
.document-main .legal > section:first-of-type { margin-top: 38px; border-top-color: var(--ink); }
.document-main .legal > section > h2 { grid-column: 1; grid-row: 1 / span 20; font-size: clamp(18px,1.65vw,24px); line-height: 1.55; }
.document-main .legal > section > :not(h2) { grid-column: 2; }
.document-main .legal > section > :not(h2) + :not(h2) { margin-top: 10px; }
.document-main p, .document-main li { line-height: 1.9; }
.document-main ul, .document-main ol { padding-left: 1.4em; }
.document-main .notice { margin: 24px 0; color: var(--muted); }
.document-main .notice strong { display: block; color: var(--ink); }
.document-main .grid { margin: 34px 0; border-top: 1px solid var(--ink); }
.document-main .card { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr); gap: 30px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.document-main .card h2, .document-main > section h2 { font-size: 22px; }
.document-main .card p { color: var(--muted); }
.document-main > section { margin-top: 44px; }
.document-main a:hover { color: var(--blue); }
@media (max-width: 900px) {
  .partner-intro { gap: 26px; grid-template-columns: 1.09fr 1fr; }
  .partner-spread, .contact-layout { gap: 40px; }
  .reward-print { height: 285px; min-height: 0; }
  .reward-print figcaption { left: 30px; }
}
@media (max-width: 700px) {
  .partner-intro, .partner-spread, .contact-layout { grid-template-columns: 1fr; gap: 26px; }
  .partner-intro { padding: 40px 0 22px; gap: 15px; }
  .partner-intro > div { justify-self: start; }
  .partner-intro p, .contact-intro > p { font-size: 15px; }
  .partner-intro h1, .contact-intro h1 { font-size: clamp(31px,8.2vw,48px); }
  .reward-print { width: 100%; display: grid; grid-template-columns: 55% 45%; min-height: 164px; height: auto; aspect-ratio: 1.85; background: #f4f5f9; }
  .reward-print img { position: static; grid-column: 2; grid-row: 1; object-position: 77% center; z-index: auto; }
  .reward-print figcaption { position: static; grid-column: 1; grid-row: 1; align-self: center; padding: 18px 6px 18px 13px; transform: none; }
  .reward-print figcaption > span { display: block; font-size: 11px; line-height: 1.6; }
  .reward-print figcaption p { gap: 3px; margin: 7px 0; display: block; white-space: normal; }
  .reward-print strong { display: block; font-size: clamp(45px, 12vw, 74px); }
  .reward-print p span { font-size: 13px; }
  .reward-print small { display: block; max-width: 15em; font-size: 10px; line-height: 1.6; }
  .rule-list > div, .partner-steps li { padding-block: 18px; }
  .rule-list dd, .partner-steps p { font-size: 14px; }
  .payout-table { font-size: 14px; }
  .payout-table :is(th,td) { padding-inline: 3px; }
  .partner-spread .section-note { max-width: 40em; margin-top: 13px; }
  .contact-layout { padding-top: 40px; gap: 32px; }
  .contact-intro > p { margin-top: 14px; max-width: 36em; }
  .reply-time { margin-top: 18px; padding-top: 10px; max-width: none; }
  .reply-time h2 { font-size: 14px; }
  .reply-time p { font-size: 13px; margin-top: 3px; }
  .contact-fields { padding: 22px 0 0; border-top: 1px solid var(--ink); }
  .contact-form { margin-top: 18px; }
  .contact-fields section > h2 { font-size: 22px; }
  .document-main h1 { font-size: 32px; line-height: 1.35; }
  .document-main .toc { grid-template-columns: 1fr; padding: 12px 18px; }
  .document-main .legal > section, .document-main .card { display: block; padding-block: 22px; }
  .document-main .legal > section > h2, .document-main .card h2 { margin-bottom: 10px; }
  .document-main .legal > section { font-size: 15px; }
}
