﻿:root {
  color-scheme: dark;
  --navy-950: #050b16;
  --navy-900: #071120;
  --navy-800: #0a1a2f;
  --navy-700: #102b4d;
  --blue: #1a6fc4;
  --blue-2: #48a8ff;
  --gold: #e8c15a;
  --gold-2: #f6d885;
  --green: #22a06b;
  --orange: #ef8b3c;
  --red: #dc3d4b;
  --bg: #f4f7fb;
  --tint: #eaf1f8;
  --surface: #fff;
  --ink: #101a2a;
  --soft: #405064;
  --muted: #6a788b;
  --line: #dbe5f0;
  --on-dark: #f2f7fd;
  --on-dark-soft: #b2c3d8;
  --radius: 14px;
  --shadow: 0 12px 34px rgba(7, 17, 32, .12);
  --shadow-dark: 0 24px 60px rgba(0, 0, 0, .34);
  --font-jp: "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;
  --font-num: "Saira Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-label: "Saira", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #07111f; color: #f8fafc; }
body { margin: 0; font-family: var(--font-jp); background: #07111f; color: #f8fafc; line-height: 1.75; -webkit-font-smoothing: antialiased; }
#root { min-height: 100vh; background: #07111f; color: #f8fafc; }
img, svg { max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(52px, 7vw, 88px) 0; background: var(--bg); color: var(--ink); }
.section--light { background: var(--bg); color: var(--ink); }
.section--tight { padding: clamp(34px, 5vw, 56px) 0; }
.section--dark { background: var(--navy-800); color: var(--on-dark); }
.section--tint { background: var(--tint); color: var(--ink); }

.reveal { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: no-preference) {
  .reveal { transform: translateY(10px); transition: transform .45s ease; }
  .reveal.is-visible { transform: translateY(0); }
}

.eyebrow { margin: 0 0 10px; font-family: var(--font-label); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 9px; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.section-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 36px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 0 0 10px; font-size: clamp(26px, 3.3vw, 40px); line-height: 1.25; letter-spacing: 0; font-weight: 900; }
.section-head p:last-child { margin: 0; max-width: 62ch; color: var(--muted); }
.section--dark .section-head p:last-child { color: var(--on-dark-soft); }
.section--light .section-head h2,
.section--tint .section-head h2 { color: var(--ink); }
.section--light .section-head p:last-child,
.section--tint .section-head p:last-child { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 900; white-space: nowrap; line-height: 1; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--gold { background: var(--gold); color: var(--navy-950); box-shadow: 0 10px 28px rgba(232, 193, 90, .26); }
.btn--ghost { background: rgba(255,255,255,.08); color: var(--on-dark); border-color: rgba(255,255,255,.16); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.hero .btn--outline,
.sub-hero .btn--outline {
  color: #f8fafc;
  background: rgba(7, 17, 31, .62);
  border-color: rgba(255,255,255,.34);
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}
.hero .btn--outline:hover,
.sub-hero .btn--outline:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.58);
}
.source-note, .data-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.hero .source-note { color: var(--on-dark-soft); }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(7, 17, 32, .86); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.1); }
.nav__inner { height: 64px; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--on-dark); text-decoration: none; font-weight: 900; white-space: nowrap; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; background: linear-gradient(145deg, var(--gold-2), var(--gold)); color: var(--navy-900); }
.brand small { display: block; font-family: var(--font-label); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.nav__links { margin-left: auto; display: flex; align-items: center; gap: 6px; min-width: 0; }
.nav__links a { text-decoration: none; color: var(--on-dark-soft); font-weight: 800; font-size: 13px; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.nav__links a:hover { background: rgba(255,255,255,.08); color: var(--on-dark); }
.nav__links .nav__cta { color: var(--navy-950); background: var(--gold); }

.hero { min-height: 680px; position: relative; overflow: hidden; background: #07111f; color: #f8fafc; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,11,22,.95) 0%, rgba(5,11,22,.78) 42%, rgba(5,11,22,.26) 100%), linear-gradient(180deg, rgba(5,11,22,.12), rgba(5,11,22,.72)); }
.hero__inner { position: relative; z-index: 1; min-height: 680px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); align-items: center; gap: clamp(28px, 5vw, 70px); padding: 74px 0 72px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--gold); font-family: var(--font-label); font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 0 0 20px; max-width: 9em; font-size: clamp(42px, 6.3vw, 78px); line-height: 1.05; font-weight: 900; letter-spacing: 0; }
.hero h1 em { color: var(--gold); font-style: normal; display: inline-block; }
.hero__copy > p:not(.hero__kicker):not(.source-note) { margin: 0 0 28px; max-width: 45ch; color: var(--on-dark-soft); font-size: clamp(15px, 1.5vw, 18px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__panel { align-self: center; }

.two-col, .group-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 480px); gap: 28px; align-items: center; }
.group-layout { grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); align-items: start; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.break-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.file-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.goods-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.footer { background: var(--navy-950); color: var(--on-dark-soft); padding: 44px 0 34px; }
.footer__bottom { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding-top: 22px; }
.footer__bottom p { margin: 0; font-size: 12px; }

@media (max-width: 980px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero, .hero__inner { min-height: auto; }
  .hero__inner, .two-col, .group-layout { grid-template-columns: 1fr; }
  .hero__inner { padding-top: 72px; }
  .team-grid, .file-grid { grid-template-columns: 1fr; }
  .goods-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .break-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .guide-grid { grid-template-columns: 1fr; }
  .wrap { width: min(100% - 28px, 1160px); }
  .nav__inner { height: 58px; }
  .brand { font-size: 13px; }
  .brand__mark { width: 30px; height: 30px; }
  .nav__links a:not(.nav__cta) { display: none; }
  .hero__shade { background: linear-gradient(180deg, rgba(5,11,22,.78), rgba(5,11,22,.96) 62%, rgba(5,11,22,.98)); }
  .hero__inner { padding: 58px 0 44px; gap: 24px; }
  .hero h1 { max-width: 8em; font-size: clamp(38px, 12vw, 54px); }
  .hero__cta { display: grid; grid-template-columns: 1fr; max-width: 320px; }
  .btn { width: 100%; }
  .guide-grid, .article-grid { grid-template-columns: 1fr; }
  .goods-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom { display: grid; }
}

@media (max-width: 480px) {
  .break-grid, .goods-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .section--tight { padding: 30px 0; }
}




/* 20260607 readable hero image overlay */
.hero__shade {
  background:
    linear-gradient(90deg, rgba(5,16,36,.82) 0%, rgba(5,16,36,.44) 46%, rgba(5,16,36,.10) 100%),
    linear-gradient(180deg, rgba(5,16,36,.04), rgba(5,16,36,.32)) !important;
}
@media (max-width: 760px) {
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(5,16,36,.50), rgba(5,16,36,.26) 48%, rgba(5,16,36,.72)) !important;
  }
}

/* 20260607 light/dark mode palette */
:root { color-scheme: light dark; }

@media (prefers-color-scheme: light) {
  html, body, #root {
    background: #f4f7fb;
    color: #101a2a;
  }
  .section,
  .section--light,
  .section--tint {
    background: #f4f7fb !important;
    color: #101a2a !important;
  }
  .section--tint {
    background: #eaf1f8 !important;
  }
  .section--dark,
  .wc-section-dark {
    background-color: #07111f !important;
    color: #f8fafc !important;
  }
  .section-head h2,
  .section--light .section-head h2,
  .section--tint .section-head h2 {
    color: #101a2a;
  }
  .section-head p:last-child,
  .section--light .section-head p:last-child,
  .section--tint .section-head p:last-child {
    color: #405064;
  }
}

@media (prefers-color-scheme: dark) {
  html, body, #root {
    background: #07111f !important;
    color: #f8fafc !important;
  }
  .section,
  .section--light,
  .section--tint,
  .section--dark,
  .wc-section-light,
  .wc-section-dark {
    background-color: #07111f !important;
    background-image:
      radial-gradient(circle at 18% 0%, rgba(26,111,196,.12), transparent 30%),
      linear-gradient(180deg, #07111f 0%, #081a2f 58%, #07111f 100%) !important;
    color: #f8fafc !important;
  }
  .section-head h2,
  .section--light .section-head h2,
  .section--tint .section-head h2,
  .section--dark .section-head h2 {
    color: #f8fafc !important;
  }
  .section-head p:last-child,
  .section--light .section-head p:last-child,
  .section--tint .section-head p:last-child,
  .section--dark .section-head p:last-child,
  .source-note,
  .data-note {
    color: #cbd5e1 !important;
  }
  .btn--outline {
    color: #eaf2ff !important;
    border-color: rgba(255,255,255,.18) !important;
    background: rgba(255,255,255,.06) !important;
  }
}

/* 20260608 light mode canvas: keep readable dark feature sections, make page bands white */
@media (prefers-color-scheme: light) {
  html,
  body,
  #root {
    background: #ffffff !important;
    color: #101a2a !important;
  }

  body .section,
  body .section--light,
  body .section--tint,
  body .wc-section-light {
    background: #ffffff !important;
    background-image: none !important;
    color: #101a2a !important;
  }

  body .section--dark,
  body .section--navy,
  body .wc-section-dark,
  body .rating-compare.wc-section-dark,
  body .page-footer.wc-section-dark {
    background-color: #07111f !important;
    color: #f8fafc !important;
  }

  body .section:not(.section--dark):not(.section--navy):not(.wc-section-dark) .section-head h2,
  body .wc-section-light .section-head h2,
  body .wc-section-light h2,
  body .wc-section-light h3 {
    color: #101a2a !important;
  }

  body .section:not(.section--dark):not(.section--navy):not(.wc-section-dark) .section-head p:last-child,
  body .wc-section-light p,
  body .wc-section-light small,
  body .wc-section-light li,
  body .wc-section-light em,
  body .wc-section-light .data-note,
  body .wc-section-light .source-note {
    color: #405064 !important;
  }
}

