:root {
  --ink: #0c315b;
  --muted: #526a82;
  --line: #dbe7e5;
  --paper: #fffefd;
  --ivory: #fbfaf5;
  --green: #087d6b;
  --green-deep: #076856;
  --green-pale: #dff7ed;
  --blue: #176db8;
  --blue-pale: #e3f1ff;
  --amber: #c87818;
  --amber-pale: #fff0cf;
  --violet: #7351b9;
  --violet-pale: #eee6ff;
  --shadow: 0 16px 40px rgba(30, 65, 83, .10);
  --radius: 16px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.tool-icon svg, .topic header > span svg, .topic-icon svg, .update-icon svg { width: 64%; height: 64%; fill: none; stroke: currentColor; stroke-width: 2.15; stroke-linecap: round; stroke-linejoin: round; }
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; color: #fff; background: var(--ink); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(219,231,229,.8); backdrop-filter: blur(14px); }
.header-inner { min-height: 68px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: .72rem; }
.brand-mark { height: 38px; display: flex; align-items: end; gap: 4px; }
.brand-mark i { width: 7px; display: block; border-radius: 2px 2px 0 0; background: var(--green); }
.brand-mark i:nth-child(1) { height: 18px; }
.brand-mark i:nth-child(2) { height: 27px; }
.brand-mark i:nth-child(3) { height: 37px; }
.main-nav { margin-left: auto; display: flex; gap: 24px; font-weight: 700; font-size: .82rem; }
.main-nav a:hover { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.updated { padding: 8px 12px; font-size: .75rem; white-space: nowrap; background: #eef5f2; border-radius: 999px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 48px; padding: 0 24px; color: #fff; font-weight: 800; background: var(--green); border-radius: 999px; }
.button:hover { background: var(--green-deep); transform: translateY(-1px); }
.button-small { min-height: 42px; padding: 0 19px; font-size: .88rem; }
.button-dark { min-width: 270px; background: var(--ink); }

.hero { overflow: hidden; background: radial-gradient(circle at 78% 46%, rgba(211,240,231,.78) 0, rgba(235,248,243,.46) 23%, transparent 47%), linear-gradient(180deg, #fff 0, #fbfdfb 100%); }
.hero-grid { min-height: 360px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; }
.eyebrow { margin: 0 0 8px; color: var(--green); font-weight: 800; letter-spacing: .06em; }
.hero h1 { margin: 0; font-size: clamp(2.45rem, 4.2vw, 3.75rem); line-height: 1.12; letter-spacing: -.045em; }
.hero-lead { margin: 16px 0 20px; color: #294d70; font-size: .96rem; }
.search { min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 19px; background: #fff; border: 2px solid #acd6ce; border-radius: 999px; box-shadow: 0 9px 28px rgba(36, 88, 93, .08); }
.search input { min-width: 0; flex: 1; color: var(--ink); font: inherit; border: 0; outline: 0; }
.search button { min-width: 96px; align-self: stretch; color: #fff; font: inherit; font-weight: 800; background: var(--green); border: 0; border-radius: 999px; cursor: pointer; }
.search-icon { width: 18px; height: 18px; position: relative; display: block; border: 2px solid var(--ink); border-radius: 50%; }
.search-icon::after { content: ""; width: 8px; height: 2px; position: absolute; right: -6px; bottom: -3px; background: var(--ink); transform: rotate(45deg); }
.keywords { margin-top: 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .76rem; }
.keywords a { padding: 5px 10px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; }

.asset { position: relative; overflow: hidden; background-position: center; background-repeat: no-repeat; background-size: cover; }
.asset.is-placeholder::after { content: attr(data-placeholder); position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); padding: 7px 11px; color: #31556a; background: rgba(255,255,255,.9); border: 1px dashed #89afa9; border-radius: 8px; font: 700 .7rem/1.2 ui-monospace, monospace; white-space: nowrap; }
.asset-hero { height: 350px; overflow: visible; background-image: url("./images/hero/hero-navigation-map.webp?v=20260921-2"); background-color: transparent; background-size: contain; background-position: center; border-radius: 0; filter: drop-shadow(0 25px 32px rgba(35,45,42,.14)); transform: scale(1.06); transform-origin: center; }
.asset-hero.is-placeholder::before { content: "?   →   ✓"; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); color: rgba(12,49,91,.34); font-size: 3rem; font-weight: 900; letter-spacing: .2em; }

.section { padding: 30px 0; }
.section-heading { margin-bottom: 20px; }
.section-heading h2 { margin: 0; font-size: clamp(1.55rem, 2.3vw, 1.95rem); line-height: 1.25; letter-spacing: -.025em; }
.section-heading h2::before { content: ""; width: 9px; height: 27px; display: inline-block; margin-right: 11px; vertical-align: -3px; background: var(--green); border-radius: 10px; transform: rotate(-16deg); }
.inline-heading { display: flex; align-items: baseline; gap: 20px; }
.inline-heading p { margin: 0; color: var(--muted); }

.concerns { padding-top: 24px; }
.concern-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.concern-card { min-height: 148px; display: grid; grid-template-columns: 104px 1fr 34px; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px; transition: transform .2s, box-shadow .2s; }
.concern-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.concern-green { background: linear-gradient(135deg, #d9f8eb, #bfeedd); }
.concern-blue { background: linear-gradient(135deg, #e4f3ff, #cbdfff); }
.concern-amber { background: linear-gradient(135deg, #fff3d7, #ffe3ae); }
.concern-symbol { --icon-accent: var(--green); width: 104px; height: 94px; display: grid; place-items: center; background: transparent; }
.concern-symbol svg { width: 100%; height: 100%; overflow: visible; }
.concern-blue .concern-symbol { --icon-accent: #1f8fec; }
.concern-amber .concern-symbol { --icon-accent: #dc871a; }
.concern-card strong { display: block; font-size: 1.44rem; line-height: 1.22; letter-spacing: -.025em; }
.concern-card small { display: block; margin-top: 8px; color: #385774; }
.circle-arrow { width: 32px; height: 32px; display: grid; place-items: center; background: #fff; border-radius: 50%; font-size: 1.55rem; }

.popular { padding-top: 12px; }
.popular-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.popular-card { min-width: 0; overflow: hidden; position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(29,65,84,.08); }
.asset-feature { position: absolute; inset: 0; height: auto; background-position: center; }
.asset-iphone { background-image: url("./images/features/feature-iphone-18-pro.webp?v=20260921-2"), linear-gradient(140deg, #dceae5, #81938b); }
.asset-cashback { background-image: url("./images/features/feature-cashback-yen.webp?v=20260921-2"), linear-gradient(140deg, #fff6d6, #cfb581); }
.asset-running-cost { background-image: url("./images/features/feature-monthly-cost-down.webp?v=20260921-2"), linear-gradient(140deg, #dff5ff, #b9e6df); }
.asset-feature.is-placeholder::before { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(12,49,91,.35); font-size: 3rem; font-weight: 900; }
.asset-iphone.is-placeholder::before { content: "▯  ▯"; }
.asset-cashback.is-placeholder::before { content: "¥  ¥"; }
.asset-running-cost.is-placeholder::before { content: "7,980 → 4,580"; font-size: 2rem; }
.popular-card { min-height: 390px; border: 0; }
.popular-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.90) 42%, rgba(255,255,255,.20) 72%, rgba(255,255,255,0) 100%); pointer-events: none; }
.popular-content { position: relative; z-index: 2; display: flex; flex: 1; flex-direction: column; padding: 24px 22px 16px; }
.tag { align-self: flex-start; margin: 0 0 12px; padding: 6px 12px; color: var(--green-deep); font-size: .72rem; font-weight: 800; background: rgba(255,255,255,.92); border-radius: 999px; box-shadow: 0 5px 14px rgba(30,65,83,.08); }
.popular-content h3 { margin: 0; max-width: 68%; font-size: 1.62rem; line-height: 1.25; letter-spacing: -.035em; }
.popular-content p { max-width: 56%; margin: 10px 0 18px; color: #294d70; font-weight: 600; }
.popular-content a { margin-top: auto; display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 44px; padding: 8px 16px; color: #0c4d9b; font-weight: 800; text-align: center; background: rgba(255,255,255,.96); border: 1px solid rgba(219,231,229,.75); border-radius: 999px; box-shadow: 0 5px 18px rgba(30,65,83,.08); }

.tools-panel { padding: 20px; background: linear-gradient(105deg, #f0faf7, #f6fbff); border-radius: var(--radius); }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool-grid > a { position: relative; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 13px; min-height: 90px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.tool-grid > a:hover { border-color: #8dc3b9; box-shadow: 0 8px 22px rgba(31,77,87,.08); }
.tool-icon { width: 58px; height: 58px; display: grid; place-items: center; color: var(--green); background: var(--green-pale); border-radius: 50%; font-size: 1.8rem; }
.tool-icon svg { width: 70%; height: 70%; stroke-width: 2.35; }
.tool-grid strong, .tool-grid small { display: block; }
.tool-grid small { margin-top: 3px; color: var(--muted); font-size: .78rem; }
.tool-grid b { position: absolute; top: 12px; right: 12px; padding: 3px 8px; color: var(--green); background: #fff4b9; border-radius: 999px; font-size: .65rem; }

.directory { padding-top: 22px; }
.directory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.topic { overflow: hidden; padding: 10px; border-radius: 17px; }
.topic-green { background: #ccefe4; }
.topic-blue { background: #d8eafb; }
.topic-sand { background: #ffedc8; }
.topic-violet { background: #e7dcfb; }
.topic header { min-height: 72px; display: flex; align-items: center; gap: 12px; padding: 5px 7px 12px; }
.topic header > span { width: 52px; height: 52px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-size: 1.4rem; font-weight: 900; }
.topic-blue header > span { background: var(--blue); }
.topic-sand header > span { background: var(--amber); }
.topic-violet header > span { background: var(--violet); }
.topic h3, .topic p { margin: 0; }
.topic h3 { font-size: 1.08rem; }
.topic p { color: var(--muted); font-size: .72rem; }
.topic > a { min-height: 116px; display: grid; grid-template-columns: 42px 1fr 18px; align-items: center; gap: 9px; margin-top: 7px; padding: 11px 9px; background: rgba(255,255,255,.93); border-radius: 11px; }
.topic > a:hover { background: #fff; transform: translateY(-2px); }
.topic-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--green); background: #e8f7f2; border-radius: 50%; font-size: 1.2rem; font-weight: 900; }
.topic-icon svg { width: 68%; height: 68%; stroke-width: 2.3; }
.topic-blue .topic-icon { color: var(--blue); background: var(--blue-pale); }
.topic-sand .topic-icon { color: var(--amber); background: var(--amber-pale); }
.topic-violet .topic-icon { color: var(--violet); background: var(--violet-pale); }
.topic a strong, .topic a small, .topic a em { display: block; }
.topic a strong { font-size: .96rem; line-height: 1.32; }
.topic a small { margin-top: 5px; color: var(--muted); font-size: .7rem; line-height: 1.45; }
.topic a em { margin-top: 5px; color: #4e6984; font-size: .68rem; font-style: normal; }
.topic a b { font-size: 1.4rem; }

.guided { padding: 20px 0 46px; }
.guided-inner { min-height: 180px; position: relative; overflow: hidden; display: grid; grid-template-columns: .8fr 1.4fr; align-items: center; background: linear-gradient(90deg, #eef8fc, #e6f3f5); border-radius: var(--radius); }
.asset-guide { align-self: stretch; background-image: url("./images/guides/guide-route-signpost.webp?v=20260921-2"), linear-gradient(135deg, #dff0e7, #eef8fc); }
.asset-guide.is-placeholder::before { content: "⌖  ⇢  ⇢"; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); color: rgba(12,49,91,.35); font-size: 2.3rem; font-weight: 900; white-space: nowrap; }
.guided-copy { padding: 30px 45px; text-align: center; }
.guided-copy h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.guided-copy p { margin: 8px 0 18px; color: var(--muted); }

.updates { padding-top: 10px; }
.updates-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 12px; }
.updates-grid > a { display: grid; grid-template-columns: 40px 1fr 16px; align-items: center; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.update-icon { width: 42px; height: 42px; display: grid; place-items: center; color: #176db8; background: #e5f2ff; border-radius: 50%; }
.update-icon svg { width: 62%; height: 62%; stroke-width: 2.2; }
.updates-grid strong, .updates-grid small { display: block; }
.updates-grid small { margin-top: 3px; color: var(--muted); font-size: .7rem; }
.trust-list { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 10px 16px; color: var(--muted); font-size: .78rem; }
.trust-list a { margin-top: 4px; color: var(--blue); font-weight: 800; }

.site-footer { margin-top: 28px; padding: 38px 0 22px; background: #f4f8f7; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: 25px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 6px; }
.footer-grid strong { margin-bottom: 5px; font-size: .8rem; }
.footer-grid a:not(.brand) { color: var(--muted); font-size: .72rem; }
.footer-grid a:hover { color: var(--green); }
.copyright { margin-top: 30px; color: #6c8091; font-size: .7rem; }

@media (max-width: 1020px) {
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr .8fr; }
  .directory-grid { grid-template-columns: repeat(2, 1fr); }
  .updates-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 28px, 680px); }
  body { font-size: 16px; }
  .header-inner { min-height: 68px; }
  .brand small, .updated { display: none; }
  .brand strong { font-size: .96rem; }
  .button-small { min-height: 38px; padding: 0 14px; font-size: .78rem; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 44px; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 3.6rem); }
  .hero-lead br { display: none; }
  .asset-hero { height: 300px; margin-inline: -14px; background-size: contain; border-radius: 0; transform: scale(1.02); }
  .search { border-radius: 18px; }
  .search button { min-width: 72px; }
  .keywords span { width: 100%; }
  .section { padding: 34px 0; }
  .inline-heading { display: block; }
  .inline-heading p { margin-top: 6px; }
  .concern-grid, .popular-grid, .tool-grid, .updates-grid { grid-template-columns: 1fr; }
  .concern-card { min-height: 142px; grid-template-columns: 88px 1fr 30px; padding: 16px; }
  .concern-symbol { width: 88px; height: 84px; }
  .concern-card strong { font-size: 1.25rem; }
  .popular-grid { gap: 15px; }
  .popular-card { min-height: 370px; }
  .tools-panel { padding: 20px 14px; }
  .directory-grid { grid-template-columns: 1fr; }
  .topic > a { min-height: 118px; }
  .guided-inner { grid-template-columns: 1fr; }
  .asset-guide { min-height: 160px; }
  .guided-copy { padding: 26px 18px 32px; }
  .button-dark { min-width: 0; width: 100%; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  a, button { transition: color .2s, background-color .2s, border-color .2s, transform .2s, box-shadow .2s; }
}

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