:root {
  --ink: #173b45;
  --ink-soft: #476169;
  --paper: #f8f5ed;
  --white: #fffdf8;
  --coral: #ef694f;
  --mint: #b9dfd4;
  --yellow: #f4d66b;
  --blue: #bed9eb;
  --lavender: #d9cde9;
  --border: rgba(23, 59, 69, .17);
  --shadow: 0 18px 50px rgba(23, 59, 69, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: "DM Sans", "Noto Sans JP", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1000; left: 12px; top: -80px; border-radius: 999px; background: var(--ink); color: #fff; padding: 12px 18px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.utility-bar { background: var(--ink); color: #fff; font-size: 12px; }
.utility-bar > div { width: min(1220px, calc(100% - 40px)); min-height: 35px; margin: auto; display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.utility-bar span { color: rgba(255,255,255,.62); }
.utility-bar a { font-weight: 700; text-underline-offset: 3px; }

.site-header { position: relative; z-index: 20; width: min(1220px, calc(100% - 40px)); min-height: 88px; margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 50% 50% 44% 56%; background: var(--coral); color: #fff; font-family: "Fraunces", serif; font-size: 22px; transform: rotate(-6deg); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 13px; letter-spacing: .13em; }
.brand small { margin-top: 1px; font-size: 11px; opacity: .65; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 13px; font-weight: 700; text-decoration: none; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.language-link { border: 1px solid var(--border); border-radius: 999px; padding: 9px 14px; background: var(--white); font-size: 12px; font-weight: 700; text-decoration: none; }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 50%; background: var(--white); padding: 0; }
.menu-button > span:not(.sr-only) { display: block; width: 17px; height: 2px; margin: 5px auto; background: var(--ink); }
.mobile-nav { position: absolute; left: 0; right: 0; top: 76px; border: 1px solid var(--border); border-radius: 22px; background: var(--white); padding: 10px; box-shadow: var(--shadow); }
.mobile-nav a { display: block; border-radius: 13px; padding: 13px 14px; font-weight: 700; text-decoration: none; }
.mobile-nav a:hover { background: var(--paper); }

.hero { position: relative; isolation: isolate; width: min(1220px, calc(100% - 40px)); min-height: 610px; margin: 8px auto 0; overflow: hidden; border: 1px solid var(--border); border-radius: clamp(30px, 5vw, 58px); background: var(--white); display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: clamp(36px, 7vw, 100px); padding: clamp(42px, 7vw, 92px); }
.hero::before { content: ""; position: absolute; z-index: -1; width: 500px; height: 500px; border-radius: 50%; right: -190px; top: -230px; background: var(--yellow); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; border-radius: 50%; left: 42%; bottom: -270px; background: var(--mint); }
.hero-copy { max-width: 750px; }
.eyebrow { margin: 0 0 17px; color: var(--ink-soft); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 780px; font-family: "Fraunces", "Noto Sans JP", serif; font-size: clamp(54px, 7.5vw, 98px); font-weight: 600; line-height: .95; letter-spacing: -.05em; }
html[lang="ja"] .hero h1 { font-size: clamp(43px, 6.2vw, 76px); line-height: 1.16; letter-spacing: -.045em; }
.hero-lead { max-width: 620px; margin: 27px 0 32px; color: var(--ink-soft); font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.primary-button { display: inline-flex; min-height: 48px; align-items: center; gap: 40px; border-radius: 999px; background: var(--coral); padding: 12px 19px; font-weight: 800; text-decoration: none; }
.text-link { font-weight: 800; text-underline-offset: 5px; }
.hero-board { align-self: stretch; max-height: 410px; margin: auto 0; border: 1px solid var(--border); border-radius: 28px; background: rgba(248,245,237,.88); padding: 14px; box-shadow: 12px 14px 0 rgba(23,59,69,.07); transform: rotate(1.5deg); }
.hero-board > p { margin: 4px 7px 12px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-board a { display: grid; grid-template-columns: auto 1fr; column-gap: 13px; border-radius: 18px; padding: 17px 13px; text-decoration: none; }
.hero-board a + a { border-top: 1px solid var(--border); }
.hero-board a:hover { background: var(--white); }
.hero-board a > span { grid-row: span 2; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 10px; font-weight: 800; }
.hero-board strong, .hero-board small { display: block; }
.hero-board strong { font-size: 15px; }
.hero-board small { margin-top: 4px; color: var(--ink-soft); font-size: 12px; }

.trust-strip { width: min(1080px, calc(100% - 64px)); margin: -1px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); border: solid var(--border); border-width: 0 1px 1px; border-radius: 0 0 24px 24px; background: #efeade; }
.trust-strip div { padding: 18px 24px; }
.trust-strip div + div { border-left: 1px solid var(--border); }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { font-size: 12px; }
.trust-strip span { margin-top: 3px; color: var(--ink-soft); font-size: 11px; }

.help-section, .essentials-section, .guides-section, .principles-section, .site-footer { width: min(1220px, calc(100% - 40px)); margin-left: auto; margin-right: auto; }
.help-section { padding: 110px 0 96px; scroll-margin-top: 20px; }
.section-intro { display: grid; grid-template-columns: 1fr minmax(280px, 430px); align-items: end; gap: 40px; }
.section-intro h2, .local-copy h2, .safety-section h2, .principles-section > h2 { margin: 0; font-family: "Fraunces", "Noto Sans JP", serif; font-size: clamp(42px, 6vw, 70px); line-height: 1; letter-spacing: -.045em; }
html[lang="ja"] .section-intro h2, html[lang="ja"] .local-copy h2, html[lang="ja"] .safety-section h2, html[lang="ja"] .principles-section > h2 { line-height: 1.2; }
.section-intro > p { margin: 0 0 5px; color: var(--ink-soft); line-height: 1.65; }
.help-search { margin-top: 42px; }
.help-search label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 800; }
.help-search > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; max-width: 740px; border: 1px solid var(--border); border-radius: 18px; background: var(--white); padding: 0 17px; box-shadow: 0 7px 22px rgba(23,59,69,.05); }
.help-search > div > span { font-size: 25px; transform: rotate(-15deg); }
.help-search input { width: 100%; height: 58px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; }
.help-search input::placeholder { color: rgba(23,59,69,.48); }
.help-search kbd { border: 1px solid var(--border); border-radius: 6px; background: var(--paper); padding: 3px 8px; font: inherit; font-size: 11px; font-weight: 700; }
.search-status { margin: 9px 2px 0; color: var(--ink-soft); font-size: 12px; }
.topic-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 19px; }
.topic-filters button { border: 1px solid var(--border); border-radius: 999px; background: transparent; padding: 9px 14px; font-size: 12px; font-weight: 800; cursor: pointer; }
.topic-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.help-card { position: relative; min-height: 238px; border: 1px solid var(--border); border-radius: 25px; background: var(--white); padding: 18px; display: grid; grid-template-columns: 1fr auto; align-content: space-between; gap: 22px; text-align: left; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.help-card:nth-child(4n+1) { background: var(--mint); }
.help-card:nth-child(4n+2) { background: #f6df88; }
.help-card:nth-child(4n+3) { background: var(--blue); }
.help-card:nth-child(4n+4) { background: var(--lavender); }
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-number { font-size: 10px; font-weight: 800; }
.card-icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(23,59,69,.26); border-radius: 50%; font-family: "Fraunces", "Noto Sans JP", serif; font-weight: 700; }
.help-card > span:nth-child(3) { grid-column: span 1; align-self: end; }
.help-card strong, .help-card small { display: block; }
.help-card strong { font-family: "Fraunces", "Noto Sans JP", serif; font-size: 22px; line-height: 1.1; }
html[lang="ja"] .help-card strong { font-size: 19px; line-height: 1.4; }
.help-card small { margin-top: 8px; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.help-card > span:last-child { align-self: end; font-size: 19px; }
.empty-state { border: 1px dashed var(--border); border-radius: 20px; background: var(--white); padding: 28px; text-align: center; }

.answer-dialog { width: min(820px, calc(100% - 28px)); max-height: min(800px, calc(100vh - 40px)); margin: auto; border: 0; border-radius: 32px; background: var(--ink); color: #fff; padding: 0; box-shadow: 0 30px 90px rgba(13,35,41,.34); }
.answer-dialog::backdrop { background: rgba(13,35,41,.55); backdrop-filter: blur(5px); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,.15); padding: 18px 22px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dialog-top button { border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: transparent; color: #fff; padding: 7px 11px; font-size: 11px; font-weight: 700; cursor: pointer; }
.answer-body { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; padding: clamp(25px, 5vw, 50px); }
.answer-body .eyebrow { color: var(--mint); }
.answer-body h2 { margin: 0; font-family: "Fraunces", "Noto Sans JP", serif; font-size: clamp(38px, 6vw, 58px); line-height: 1; letter-spacing: -.04em; }
html[lang="ja"] .answer-body h2 { line-height: 1.25; }
.answer-body .answer-summary { color: rgba(255,255,255,.7); line-height: 1.65; }
.answer-steps { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: steps; }
.answer-steps li { position: relative; margin-top: 13px; padding-left: 33px; color: rgba(255,255,255,.86); line-height: 1.5; counter-increment: steps; }
.answer-steps li::before { content: counter(steps); position: absolute; left: 0; top: 1px; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--mint); color: var(--ink); font-size: 10px; font-weight: 900; }
.phrase-card { align-self: start; border-radius: 24px; background: var(--white); color: var(--ink); padding: 23px; }
.phrase-card > span { display: block; color: #9b4e3e; font-size: 10px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.phrase-card strong { display: block; margin-top: 17px; font-family: "Noto Sans JP", sans-serif; font-size: clamp(24px, 4vw, 34px); line-height: 1.5; }
.phrase-card p { margin: 10px 0 20px; color: var(--ink-soft); line-height: 1.55; }
.phrase-card button, .phrase-card a { display: flex; width: 100%; justify-content: space-between; align-items: center; border: 0; border-radius: 999px; background: var(--coral); color: var(--ink); padding: 12px 16px; font-weight: 800; text-decoration: none; cursor: pointer; }
.phrase-card button + a, .phrase-card p + a { margin-top: 9px; background: var(--paper); }
.copied-status { margin: 10px 0 0 !important; font-size: 12px; }

.essentials-section { padding: 108px 0; border-top: 1px solid var(--border); }
.journey-tabs { display: flex; gap: 8px; margin: 40px 0 18px; }
.journey-tabs button { flex: 1; border: 1px solid var(--border); border-radius: 15px; background: transparent; padding: 14px 10px; font-weight: 800; cursor: pointer; }
.journey-tabs button[aria-selected="true"] { background: var(--coral); }
.journey-panel { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: 28px; overflow: hidden; background: var(--white); }
.journey-panel article { min-height: 300px; padding: 30px; }
.journey-panel article + article { border-left: 1px solid var(--border); }
.journey-panel article > span { font-size: 11px; font-weight: 900; }
.journey-panel h3 { margin: 54px 0 12px; font-family: "Fraunces", "Noto Sans JP", serif; font-size: 28px; line-height: 1.15; }
html[lang="ja"] .journey-panel h3 { font-size: 22px; line-height: 1.45; }
.journey-panel p { color: var(--ink-soft); line-height: 1.6; }
.journey-panel a { display: inline-block; margin-top: 7px; font-size: 13px; font-weight: 800; text-underline-offset: 4px; }

.guides-section { padding: 108px 0; border-top: 1px solid var(--border); scroll-margin-top: 20px; }
.guide-stage-key { display: flex; flex-wrap: wrap; gap: 18px; margin: 34px 0 18px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.guide-stage-key span { display: inline-flex; align-items: center; gap: 7px; }
.stage-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
.stage-dot--here { background: #5f7ea1; }
.guide-library { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: 30px; overflow: hidden; background: var(--white); }
.guide-card { min-height: 280px; padding: 25px; display: flex; flex-direction: column; text-decoration: none; transition: background .18s ease, box-shadow .18s ease; }
.guide-card:not(:nth-child(3n+1)) { border-left: 1px solid var(--border); }
.guide-card:nth-child(n+4) { border-top: 1px solid var(--border); }
.guide-card:hover { position: relative; background: #fff9e9; box-shadow: inset 0 -4px var(--coral); }
.guide-card-top { display: flex; align-items: center; justify-content: space-between; }
.guide-card-top b { font-size: 11px; letter-spacing: .08em; }
.guide-card-top i { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--border); border-radius: 50%; font-family: "Fraunces", "Noto Sans JP", serif; font-style: normal; font-weight: 700; }
.guide-card > strong { margin: 46px 0 10px; font-family: "Fraunces", "Noto Sans JP", serif; font-size: 25px; line-height: 1.15; }
html[lang="ja"] .guide-card > strong { font-size: 21px; line-height: 1.4; }
.guide-card > small { color: var(--ink-soft); line-height: 1.55; }
.stage-tag { width: max-content; margin-top: auto; border-radius: 999px; padding: 6px 9px; background: #fce4de; color: #71372c; font-size: 10px; font-weight: 800; }
.stage-tag--here { background: #e0ebf2; color: #294b61; }
.guide-library-note { max-width: 780px; margin: 20px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }

.local-section { width: min(1220px, calc(100% - 40px)); margin: 0 auto 110px; border-radius: 42px; background: var(--mint); padding: clamp(34px, 6vw, 72px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(38px, 7vw, 90px); align-items: center; }
.local-copy > p:not(.eyebrow) { max-width: 530px; color: var(--ink-soft); line-height: 1.7; }
.local-legend { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 28px; font-size: 11px; font-weight: 700; }
.local-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.dot--event { background: var(--coral); }
.dot--guide { background: #5f7ea1; }
.pilot-card { border-radius: 28px; background: var(--white); padding: clamp(25px, 4vw, 40px); box-shadow: 12px 14px 0 rgba(23,59,69,.09); transform: rotate(1deg); }
.pilot-card > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink-soft); font-size: 11px; font-weight: 800; }
.pilot-label { border: 1px solid var(--border); border-radius: 999px; padding: 6px 9px; color: var(--ink); text-transform: uppercase; letter-spacing: .08em; }
.pilot-card h3 { margin: 29px 0 10px; font-family: "Fraunces", "Noto Sans JP", serif; font-size: 38px; line-height: 1.05; }
html[lang="ja"] .pilot-card h3 { font-size: 30px; line-height: 1.4; }
.pilot-card > p { color: var(--ink-soft); line-height: 1.6; }
.pilot-card ul { margin: 25px 0; padding: 0; list-style: none; }
.pilot-card li { display: grid; grid-template-columns: 94px 1fr; gap: 10px; border-top: 1px solid var(--border); padding: 12px 0; color: var(--ink-soft); font-size: 12px; }
.pilot-card li span { color: var(--ink); font-weight: 800; }
.pilot-card button { width: 100%; display: flex; justify-content: space-between; border: 0; border-radius: 999px; background: var(--ink); color: #fff; padding: 13px 17px; font-weight: 800; cursor: pointer; }
.pilot-note { margin-bottom: 0; border-radius: 13px; background: #fff5d4; padding: 11px 13px; color: var(--ink) !important; font-size: 12px; }

.safety-section { width: min(1220px, calc(100% - 40px)); margin: 0 auto 110px; border-radius: 42px; background: var(--ink); color: #fff; padding: clamp(36px, 6vw, 72px); }
.safety-section > div:first-child { display: grid; grid-template-columns: 1fr minmax(290px, 430px); gap: 40px; align-items: end; }
.safety-section .eyebrow { color: var(--mint); }
.safety-section > div:first-child > p:last-child { margin: 0; color: rgba(255,255,255,.68); line-height: 1.65; }
.safety-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 40px 0 20px; }
.safety-cards a { min-height: 210px; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; padding: 23px; display: flex; flex-direction: column; text-decoration: none; }
.safety-cards a:hover { background: rgba(255,255,255,.06); }
.safety-cards span { color: var(--mint); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.safety-cards strong { margin: auto 0 8px; font-family: "Fraunces", serif; font-size: clamp(34px, 5vw, 55px); line-height: 1; }
.safety-cards a:last-child strong { font-size: clamp(24px, 3.2vw, 38px); }
.safety-cards small { color: rgba(255,255,255,.64); line-height: 1.5; }
.official-safety-link { display: inline-block; margin-top: 5px; color: var(--mint); font-size: 13px; font-weight: 800; text-underline-offset: 5px; }

.principles-section { padding: 0 0 105px; }
.principles-section > h2 { max-width: 900px; }
.principles-section > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.principles-section article { border-top: 2px solid var(--ink); padding-top: 18px; }
.principles-section article > span { font-size: 11px; font-weight: 900; }
.principles-section h3 { margin: 28px 0 9px; font-family: "Fraunces", "Noto Sans JP", serif; font-size: 27px; }
.principles-section p { margin: 0; color: var(--ink-soft); line-height: 1.6; }

.site-footer { border-top: 1px solid var(--border); padding: 48px 0 35px; display: grid; grid-template-columns: 2fr 1fr 1.35fr 1fr; gap: 35px; font-size: 12px; }
.brand--footer { margin-bottom: 14px; }
.site-footer p { max-width: 270px; margin: 0; color: var(--ink-soft); line-height: 1.55; }
.site-footer > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer > div > strong { margin-bottom: 5px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer > div > a:not(.brand) { text-underline-offset: 3px; }
.footer-note { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 18px; color: var(--ink-soft); }
.policy-page { width: min(820px, calc(100% - 40px)); min-height: 65vh; margin: 65px auto 100px; }
.policy-page h1 { margin: 0; font-family: "Fraunces", "Noto Sans JP", serif; font-size: clamp(45px, 7vw, 75px); line-height: 1; letter-spacing: -.045em; }
html[lang="ja"] .policy-page h1 { line-height: 1.2; }
.policy-lead { margin: 28px 0 55px; color: var(--ink-soft); font-size: 18px; line-height: 1.7; }
.policy-page section { border-top: 1px solid var(--border); padding: 30px 0; }
.policy-page h2 { margin: 0 0 16px; font-family: "Fraunces", "Noto Sans JP", serif; font-size: 30px; }
.policy-page li, .policy-page section p { line-height: 1.7; }
.policy-date { color: var(--ink-soft); font-size: 12px; }

.guide-header { grid-template-columns: 1fr auto 1fr; }
.guide-header .language-link { justify-self: end; }
.guide-index-link { justify-self: center; font-size: 13px; font-weight: 800; text-underline-offset: 5px; }
.guide-main { width: min(1120px, calc(100% - 40px)); margin: 30px auto 110px; }
.breadcrumbs { margin-bottom: 24px; color: var(--ink-soft); font-size: 12px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; opacity: .5; }
.breadcrumbs a { text-underline-offset: 3px; }
.guide-hero { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 42px; background: var(--white); padding: clamp(38px, 7vw, 78px); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.guide-hero::after { content: ""; position: absolute; z-index: 0; width: 300px; height: 300px; right: -130px; top: -145px; border-radius: 50%; background: var(--yellow); }
.guide-hero > * { position: relative; z-index: 1; }
.guide-hero h1 { max-width: 780px; margin: 0; font-family: "Fraunces", "Noto Sans JP", serif; font-size: clamp(48px, 7vw, 82px); line-height: .98; letter-spacing: -.045em; }
html[lang="ja"] .guide-hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.22; }
.guide-summary { max-width: 720px; margin: 25px 0 18px; color: var(--ink-soft); font-size: 19px; line-height: 1.65; }
.guide-date { margin: 0; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.guide-mark { display: grid; width: clamp(90px, 12vw, 140px); height: clamp(90px, 12vw, 140px); place-items: center; border-radius: 50%; background: var(--mint); font-family: "Fraunces", "Noto Sans JP", serif; font-size: clamp(31px, 5vw, 54px); font-weight: 700; transform: rotate(5deg); }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(38px, 7vw, 84px); padding: 70px clamp(0px, 3vw, 30px) 20px; }
.guide-intro { margin: 0 0 70px; color: var(--ink-soft); font-size: 21px; line-height: 1.75; }
.guide-content section { border-top: 1px solid var(--border); padding: 45px 0 55px; }
.guide-content section h2 { margin: 0 0 25px; font-family: "Fraunces", "Noto Sans JP", serif; font-size: 38px; line-height: 1.18; }
.guide-checklist, .guide-bullets { margin: 0; padding: 0; list-style: none; counter-reset: guide-steps; }
.guide-checklist li { position: relative; min-height: 52px; margin-top: 11px; border-radius: 14px; background: var(--white); padding: 15px 18px 15px 58px; line-height: 1.55; counter-increment: guide-steps; }
.guide-checklist li::before { content: counter(guide-steps); position: absolute; left: 16px; top: 14px; display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: var(--coral); font-size: 11px; font-weight: 900; }
.guide-bullets li { position: relative; margin-top: 17px; padding-left: 25px; line-height: 1.65; }
.guide-bullets li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: #5f7ea1; }
.guide-phrase { border: 0 !important; border-radius: 28px; background: var(--ink); color: #fff; padding: 36px !important; }
.guide-phrase .eyebrow { color: var(--mint); }
.guide-phrase p:not(.eyebrow) { margin: 0; font-family: "Noto Sans JP", sans-serif; font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.55; }
.guide-phrase small { display: block; margin-top: 15px; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.6; }
.guide-aside { align-self: start; position: sticky; top: 24px; }
.guide-aside section { border: 1px solid var(--border); border-radius: 22px; background: var(--white); padding: 23px; }
.guide-aside section + section { margin-top: 12px; }
.guide-aside h2 { margin: 0 0 16px; font-size: 14px; }
.guide-aside ul { margin: 0; padding: 0; list-style: none; }
.guide-aside li + li { border-top: 1px solid var(--border); }
.guide-aside li a { display: block; padding: 13px 0; font-size: 12px; font-weight: 700; line-height: 1.45; text-underline-offset: 3px; }
.guide-aside section > p { margin: 14px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.6; }
.guide-aside .limit-note { background: #fff4d4; }
.guide-aside .limit-note p { color: var(--ink); font-size: 12px; }
.guide-aside > .primary-button { width: 100%; justify-content: space-between; margin-top: 16px; }
.related-guides { border-top: 1px solid var(--border); margin-top: 85px; padding-top: 60px; }
.related-guides > h2 { margin: 0 0 28px; font-family: "Fraunces", "Noto Sans JP", serif; font-size: 42px; }
.related-guides > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-card { min-height: 210px; border: 1px solid var(--border); border-radius: 22px; background: var(--white); padding: 22px; display: flex; flex-direction: column; text-decoration: none; }
.related-card:hover { background: #fff9e9; }
.related-card > span { font-size: 10px; font-weight: 800; }
.related-card strong { margin: auto 0 9px; font-family: "Fraunces", "Noto Sans JP", serif; font-size: 22px; line-height: 1.25; }
.related-card small { color: var(--ink-soft); line-height: 1.5; }
.guide-footer { grid-template-columns: 2fr 1fr 1fr; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .menu-button { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero-board { width: min(520px, 100%); transform: none; }
  .help-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-library { grid-template-columns: repeat(2, 1fr); }
  .guide-card:not(:nth-child(3n+1)) { border-left: 0; }
  .guide-card:nth-child(n+4) { border-top: 0; }
  .guide-card:nth-child(even) { border-left: 1px solid var(--border); }
  .guide-card:nth-child(n+3) { border-top: 1px solid var(--border); }
  .local-section { grid-template-columns: 1fr; }
  .safety-cards { grid-template-columns: 1fr; }
  .safety-cards a { min-height: 150px; }
  .site-footer { grid-template-columns: 2fr 1fr 1.2fr; }
  .site-footer > div:nth-child(4) { grid-column: 2; }
}

@media (max-width: 700px) {
  .utility-bar > div { width: min(100% - 28px, 1220px); justify-content: center; gap: 11px; }
  .utility-bar span { display: none; }
  .site-header, .hero, .help-section, .essentials-section, .guides-section, .local-section, .safety-section, .principles-section, .site-footer { width: calc(100% - 28px); }
  .site-header { min-height: 74px; }
  .language-link { display: none; }
  .mobile-nav { top: 66px; }
  .hero { min-height: auto; padding: 42px 25px; border-radius: 30px; }
  .hero::before { width: 260px; height: 260px; right: -100px; top: -110px; }
  .hero h1 { font-size: clamp(48px, 15vw, 66px); }
  html[lang="ja"] .hero h1 { font-size: clamp(39px, 11vw, 53px); }
  .hero-board { padding: 8px; }
  .trust-strip { width: calc(100% - 54px); grid-template-columns: 1fr; }
  .trust-strip div + div { border-left: 0; border-top: 1px solid var(--border); }
  .help-section { padding: 85px 0 75px; }
  .section-intro, .safety-section > div:first-child { grid-template-columns: 1fr; gap: 18px; }
  .help-search { margin-top: 30px; }
  .help-search kbd { display: none; }
  .help-grid { grid-template-columns: 1fr; }
  .help-card { min-height: 190px; }
  .guide-library { grid-template-columns: 1fr; }
  .guide-card, .guide-card:nth-child(even), .guide-card:nth-child(n+3) { min-height: 235px; border-left: 0; border-top: 1px solid var(--border); }
  .guide-card:first-child { border-top: 0; }
  .guide-card > strong { margin-top: 32px; }
  .answer-body { grid-template-columns: 1fr; }
  .journey-tabs { overflow-x: auto; padding-bottom: 4px; }
  .journey-tabs button { min-width: 145px; }
  .journey-panel { grid-template-columns: 1fr; }
  .journey-panel article { min-height: 240px; }
  .journey-panel article + article { border-left: 0; border-top: 1px solid var(--border); }
  .local-section, .safety-section { margin-bottom: 82px; border-radius: 30px; }
  .pilot-card { transform: none; }
  .principles-section > div { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > div:first-child, .site-footer > div:nth-child(3) { grid-column: 1 / -1; }
  .site-footer > div:nth-child(4) { grid-column: 2; }
  .guide-header { grid-template-columns: 1fr auto; }
  .guide-header .guide-index-link { display: none; }
  .guide-main { width: calc(100% - 28px); margin-top: 18px; }
  .guide-hero { grid-template-columns: 1fr; padding: 40px 26px; border-radius: 30px; }
  .guide-mark { width: 74px; height: 74px; }
  .guide-layout { grid-template-columns: 1fr; padding-top: 50px; }
  .guide-intro { margin-bottom: 50px; font-size: 18px; }
  .guide-aside { position: static; }
  .related-guides > div { grid-template-columns: 1fr; }
  .guide-footer { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .topic-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
  .topic-filters button { white-space: nowrap; }
  .answer-dialog { border-radius: 24px; }
  .pilot-card li { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > div, .site-footer > div:first-child, .site-footer > div:nth-child(3), .site-footer > div:nth-child(4) { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Keep the two-colour focus ring visible on light, dark and coloured surfaces. */
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--ink); }
