:root {
  --ink-950: #061a21;
  --ink-900: #0b2932;
  --ink-800: #123a44;
  --teal-700: #2f6670;
  --teal-500: #6e969b;
  --teal-100: #e7efee;
  --gold: #efc36e;
  --gold-deep: #b77b22;
  --paper: #f7f7f2;
  --surface: #ffffff;
  --text: #102c34;
  --muted: #607277;
  --line: rgba(16, 44, 52, .13);
  --shadow: 0 24px 70px rgba(5, 27, 35, .16);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; border-radius: 10px; background: white; }
.skip-link:focus { top: 16px; }
.lang-en { display: none; }
html[data-lang="en"] .lang-ja { display: none !important; }
html[data-lang="en"] .lang-en { display: revert; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 11px; }
.brand span { display: grid; line-height: 1; }
.brand b { color: var(--ink-800); font-size: .85rem; letter-spacing: .17em; }
.brand small { margin-top: 6px; color: var(--muted); font-size: .7rem; }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a, .site-footer nav a { color: var(--teal-700); font-weight: 750; text-decoration: none; }
.desktop-nav a:hover, .site-footer nav a:hover { color: var(--gold-deep); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-button { min-width: 50px; height: 40px; border: 1px solid var(--line); border-radius: 999px; color: var(--teal-700); background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
.language-button:hover { background: var(--teal-100); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 21px; border-radius: 12px; color: white; background: var(--teal-700); box-shadow: 0 10px 28px rgba(24,76,87,.2); font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 15px 34px rgba(24,76,87,.27); }
.button-small { padding: 9px 16px; border-radius: 10px; box-shadow: none; }

/* Hero */
.hero { position: relative; min-height: 680px; display: grid; align-items: center; overflow: hidden; padding: 64px 0; color: white; background: radial-gradient(ellipse at 78% 40%, #24515a 0, #102f38 35%, var(--ink-950) 75%); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg, #000 0 42%, transparent 82%); }
.hero::after { content: ""; position: absolute; width: 440px; aspect-ratio: 1; right: -170px; top: -160px; border: 1px solid rgba(239,195,110,.22); border-radius: 50%; box-shadow: 0 0 0 58px rgba(239,195,110,.035), 0 0 0 116px rgba(239,195,110,.025); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 68px); }
.eyebrow { margin: 0 0 14px; color: var(--gold-deep); font-size: .78rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { max-width: 640px; margin-bottom: 26px; color: #fcfaf3; font-size: clamp(2.8rem, 4.2vw, 3.8rem); line-height: 1.28; letter-spacing: -.045em; text-wrap: balance; }
.hero-lead { max-width: 560px; margin-bottom: 27px; color: rgba(255,255,255,.68); font-size: 1.05rem; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.button-store { padding: 11px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; background: white; color: var(--ink-950); box-shadow: none; }
.button-store svg { width: 29px; height: 29px; fill: var(--ink-950); }
.button-store > span { display: grid; line-height: 1.02; }
.button-store small { font-size: .62rem; font-weight: 650; }
.button-store b { font-size: 1.05rem; }
.hero-link { display: inline-flex; gap: 10px; align-items: center; color: white; font-weight: 800; text-decoration: none; }
.purchase-note { margin: 18px 0 0; color: rgba(255,255,255,.5); font-size: .82rem; font-weight: 700; }
.hero-visual { position: relative; padding: 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 32px; background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.025)); box-shadow: 0 32px 90px rgba(0,0,0,.18); }
.hero-visual::after { content: ""; position: absolute; z-index: -1; width: 170px; aspect-ratio: 1; right: -34px; bottom: -34px; border: 1px solid rgba(239,195,110,.24); border-radius: 50%; }
.visual-topline { display: flex; justify-content: space-between; padding: 2px 6px 12px; color: rgba(255,255,255,.46); font-size: .68rem; font-weight: 900; letter-spacing: .15em; }
.showcase-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: 10px 0 2px; border-radius: 18px; background: transparent; }
.iphone-poster { position: relative; width: min(100%, 240px); margin: 0 auto; }
.iphone-poster::before { content: ""; position: absolute; inset: 8% -12% 2%; border-radius: 50%; background: rgba(239,195,110,.12); filter: blur(34px); }
.iphone-poster img { position: relative; width: 100%; max-height: 500px; object-fit: contain; border: 1px solid rgba(239,195,110,.42); border-radius: 19px; box-shadow: 0 22px 48px rgba(0,0,0,.3); }
.showcase-rail { display: grid; gap: 0; }
.showcase-label { margin: 0 0 12px; color: var(--gold); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.showcase-feature { display: grid; grid-template-columns: 50px 1fr; gap: 13px; align-items: start; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.12); }
.showcase-feature > b { color: var(--gold); font-size: .72rem; letter-spacing: .05em; }
.showcase-feature > span { display: grid; }
.showcase-feature strong { color: white; font-size: .88rem; line-height: 1.45; }
.showcase-feature small { margin-top: 4px; color: rgba(255,255,255,.46); font-size: .68rem; line-height: 1.55; }

/* Product flow band */
.trust-band { border-bottom: 1px solid var(--line); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { min-height: 98px; display: flex; align-items: center; gap: 14px; padding: 18px 22px; }
.trust-grid > div + div { border-left: 1px solid var(--line); }
.trust-grid strong { color: var(--gold-deep); font-size: .72rem; letter-spacing: .1em; }
.trust-grid span { display: grid; }
.trust-grid b { font-size: .93rem; }
.trust-grid small { margin-top: 2px; color: var(--muted); font-size: .72rem; }

/* Shared sections */
.section { padding: 104px 0; }
.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading h2, .workflow-copy h2, .privacy-panel h2, .cta-panel h2 { margin: 0; color: var(--ink-900); font-size: clamp(2rem, 3.1vw, 2.8rem); line-height: 1.4; letter-spacing: -.035em; text-wrap: balance; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 90px; }
.split-heading > p { max-width: 470px; margin: 0 0 5px; color: var(--muted); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit-card { min-height: 260px; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 8px 24px rgba(16,44,52,.035); }
.benefit-card .card-index { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #f8f0df; }
.benefit-card.featured .card-index { color: var(--gold); background: rgba(239,195,110,.12); }
.benefit-card.featured { color: white; border-color: var(--ink-800); background: var(--ink-800); }
.card-index { color: var(--gold-deep); font-size: .75rem; font-weight: 900; letter-spacing: .15em; }
.benefit-card h3 { margin: auto 0 10px; font-size: 1.45rem; line-height: 1.35; }
.benefit-card p { margin: 0; color: var(--muted); }
.benefit-card.featured p { color: rgba(255,255,255,.64); }

/* Workflow */
.workflow-section { color: white; background: linear-gradient(120deg, var(--ink-900), #1b4750); }
.workflow-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(60px, 8vw, 120px); }
.workflow-copy { position: sticky; top: 118px; align-self: start; }
.workflow-copy .eyebrow { color: var(--gold); }
.workflow-copy h2 { color: white; }
.workflow-copy > p:last-child { max-width: 480px; margin-top: 22px; color: rgba(255,255,255,.62); }
.workflow-steps { margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.workflow-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding: 31px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.workflow-steps li:first-child { padding-top: 0; }
.workflow-steps li > span { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(239,195,110,.58); border-radius: 50%; color: var(--gold); font-weight: 900; }
.workflow-steps h3 { margin-bottom: 6px; font-size: 1.35rem; }
.workflow-steps p { margin: 0; color: rgba(255,255,255,.58); }

/* Screens */
.screens-section { background: #edf2ef; }
.screen-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.mobile-swipe { display: none; color: var(--teal-700); font-weight: 800; }
.screen-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.screen-grid figure { grid-column: span 2; margin: 0; overflow: hidden; border: 1px solid rgba(16,44,52,.14); border-radius: var(--radius-md); background: white; box-shadow: 0 14px 34px rgba(5,27,35,.07); }
.screen-grid figure:nth-child(4) { grid-column: 2 / span 2; }
.screen-grid picture { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-950); }
.screen-grid img { width: 100%; height: 100%; object-fit: cover; }
.screen-grid figcaption { display: flex; align-items: center; gap: 12px; padding: 15px 17px; }
.screen-grid figcaption b { color: var(--gold-deep); font-size: .72rem; letter-spacing: .12em; }
.screen-grid figcaption span { font-weight: 800; }

/* Privacy, CTA, FAQ */
.privacy-section { background: white; }
.privacy-panel { display: grid; grid-template-columns: 130px .9fr 1.1fr; align-items: center; gap: clamp(34px, 6vw, 74px); padding: 48px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.privacy-mark { display: grid; place-items: center; width: 116px; aspect-ratio: 1; border: 1px solid var(--gold-deep); border-radius: 50%; color: var(--gold-deep); font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
.privacy-panel h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
.privacy-panel p { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--teal-700); font-weight: 850; text-decoration: none; }
.text-link:hover { color: var(--gold-deep); }
.cta-section { padding-top: 0; background: white; }
.cta-panel { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 70px; padding: clamp(42px, 6vw, 72px); color: white; border-radius: var(--radius-lg); background: linear-gradient(125deg, var(--teal-700), var(--ink-950)); }
.cta-panel .eyebrow { color: var(--gold); }
.cta-panel h2 { color: white; }
.cta-panel p { color: rgba(255,255,255,.66); }
.button-light { color: var(--ink-900); background: white; box-shadow: none; }
.faq-section { background: white; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 24px 42px 24px 0; font-size: 1.02rem; font-weight: 850; cursor: pointer; }
.faq-list details[open] { padding-inline: 20px; border-radius: 14px; background: var(--paper); }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 5px; }
[id] { scroll-margin-top: 96px; }
.faq-list details p { max-width: 720px; padding: 0 0 24px; margin: 0; color: var(--muted); }

/* Footer */
.site-footer { padding: 42px 0; color: rgba(255,255,255,.66); background: var(--ink-950); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.footer-brand b { color: white; }
.footer-brand small { color: rgba(255,255,255,.45); }
.site-footer nav { display: flex; gap: 24px; }
.site-footer nav a { color: rgba(255,255,255,.66); }
.footer-email { justify-self: end; color: var(--gold); font-weight: 750; text-decoration: none; }

/* Policy and support pages */
.page-hero { padding: 76px 0 48px; color: white; background: var(--ink-900); }
.page-hero .shell { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 40px; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { margin: 0; max-width: 880px; color: white; font-size: clamp(2.7rem, 5vw, 4.5rem); line-height: 1.15; letter-spacing: -.04em; }
.page-meta { margin: 0 0 7px; color: rgba(255,255,255,.58); font-size: .88rem; font-weight: 700; }
.legal-main { padding: 64px 0 104px; }
.legal-layout { display: grid; grid-template-columns: 210px minmax(0,780px); justify-content: center; gap: clamp(42px,7vw,100px); }
.legal-aside { position: sticky; top: 112px; align-self: start; }
.legal-aside p { margin-bottom: 14px; color: var(--muted); font-size: .86rem; }
.legal-aside nav { display: grid; gap: 9px; }
.legal-aside a { color: var(--teal-700); font-weight: 800; text-decoration: none; }
.legal-card { padding: clamp(28px,5vw,54px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; }
.legal-intro { padding-bottom: 26px; margin-bottom: 8px; border-bottom: 1px solid var(--line); color: #4f666b; font-size: 1.03rem; }
.policy-section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.policy-section:last-child { border-bottom: 0; padding-bottom: 0; }
.policy-section h2 { margin-bottom: 11px; color: var(--ink-900); font-size: 1.3rem; line-height: 1.45; }
.policy-section p:last-child, .policy-section ul:last-child { margin-bottom: 0; }
.policy-section ul { padding-left: 1.35em; }
.policy-section li + li { margin-top: 8px; }
.notice { padding: 17px 19px; margin: 19px 0 0; border-left: 4px solid var(--gold-deep); background: #f8f1e4; }
.contact-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px; margin-top: 20px; border-radius: 14px; background: var(--teal-100); }
.contact-box p { margin: 0; }
.support-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.support-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.support-card h2 { margin-bottom: 9px; font-size: 1.25rem; }
.support-card p { margin-bottom: 0; color: var(--muted); }
.support-wide { grid-column: 1 / -1; }
.checklist { padding: 0; margin: 0; list-style: none; }
.checklist li { position: relative; padding-left: 27px; }
.checklist li + li { margin-top: 9px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-deep); font-weight: 900; }
.support-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 22px; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-visual { width: min(100%, 720px); max-width: none; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-grid > div:nth-child(4) { border-top: 1px solid var(--line); }
  .split-heading, .workflow-layout, .faq-layout { grid-template-columns: 1fr; gap: 42px; }
  .workflow-copy { position: static; }
  .privacy-panel { grid-template-columns: 100px 1fr; }
  .privacy-panel > div:last-child { grid-column: 2; }
  .privacy-mark { width: 96px; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 30px, 620px); }
  .site-header { position: static; }
  .nav-wrap { min-height: 68px; }
  .brand small, .desktop-nav, .button-small { display: none; }
  .brand b { font-size: .78rem; }
  .hero { min-height: 0; padding: 50px 0 38px; }
  .hero::before { mask-image: linear-gradient(#000, transparent 76%); }
  .hero::after { width: 260px; right: -150px; top: -130px; }
  .hero-grid { gap: 38px; }
  .hero h1 { font-size: clamp(2.1rem, 8.2vw, 3.2rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .hero-visual { padding: 10px; border-radius: 22px; }
  .visual-topline { padding: 1px 4px 8px; }
  .showcase-body { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 18px; padding: 12px; }
  .iphone-poster { width: min(100%, 210px); }
  .iphone-poster img { max-height: 455px; border-radius: 16px; }
  .showcase-feature { grid-template-columns: 42px 1fr; gap: 9px; padding: 14px 0; }
  .showcase-feature strong { font-size: .78rem; }
  .showcase-feature small { font-size: .62rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div { min-height: 88px; padding: 14px 10px; gap: 9px; }
  .trust-grid > div:nth-child(3) { border-left: 0; }
  .trust-grid strong { font-size: .62rem; }
  .trust-grid b { font-size: .82rem; }
  .trust-grid small { font-size: .64rem; }
  .section { padding: 76px 0; }
  .section-heading h2, .workflow-copy h2, .privacy-panel h2, .cta-panel h2 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .split-heading { gap: 24px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 220px; }
  .workflow-steps li { grid-template-columns: 44px 1fr; gap: 18px; }
  .workflow-steps li > span { width: 42px; height: 42px; }
  .screen-heading { display: block; }
  .mobile-swipe { display: block; margin: 18px 0 0; }
  .screen-grid { display: flex; gap: 14px; overflow-x: auto; margin-inline: -15px; padding: 0 15px 18px; scroll-snap-type: x mandatory; }
  .screen-grid figure { flex: 0 0 min(82vw, 340px); scroll-snap-align: center; }
  .screen-grid picture { aspect-ratio: 560 / 1212; height: auto; }
  .screen-grid img { object-fit: contain; object-position: top; }
  .privacy-panel { grid-template-columns: 1fr; gap: 28px; padding: 30px 24px; }
  .privacy-panel > div:last-child { grid-column: auto; }
  .privacy-mark { width: 78px; }
  .cta-panel { grid-template-columns: 1fr; gap: 28px; padding: 34px 25px; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .site-footer nav { flex-wrap: wrap; }
  .footer-email { justify-self: start; overflow-wrap: anywhere; }
  .page-hero { padding: 52px 0 36px; }
  .page-hero .shell { grid-template-columns: 1fr; gap: 12px; }
  .page-meta { margin: 0; }
  .legal-main { padding: 42px 0 72px; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-aside { position: static; }
  .legal-aside nav { display: flex; flex-wrap: wrap; gap: 9px 18px; }
  .legal-card { padding: 25px 21px; border-radius: 20px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-wide { grid-column: auto; }
  .contact-box { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 410px) {
  .brand img { width: 38px; height: 38px; }
  .brand b { letter-spacing: .11em; }
  .hero h1 { font-size: clamp(1.9rem, 8.2vw, 2.15rem); }
  .button-store { width: 100%; }
  .showcase-body { grid-template-columns: 1fr; }
  .iphone-poster { width: 210px; }
  .showcase-rail { padding: 0 4px; }
  .screen-grid picture { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
