/* ============================================================
   SIMPLE SYSTEM — Shared Design System
   ============================================================ */
:root {
  --navy:      #08193a;
  --navy-mid:  #0d2554;
  --navy-lite: #153070;
  --blue:      #1558d6;
  --blue-lite: #3d79f5;
  --cyan:      #0baed4;
  --cyan-soft: #a8e6f4;
  --gold:      #e9a030;
  --gold-lite: #f5c96a;
  --white:     #ffffff;
  --bg:        #f3f6fb;
  --text:      #1a2535;
  --text-mid:  #3d4f66;
  --text-lite: #6b7e96;
  --border:    #d4dce8;
  --green:     #18b87a;
  --font-sans:  'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
  --font-mono:  'JetBrains Mono', monospace;
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.07);
  --shadow-md: 0 6px 28px rgba(0,0,0,.11);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
section.mid { background: var(--bg); }
section.dark { background: var(--navy); color: var(--white); }

.eyebrow { font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; display: block; }
.eyebrow.gold { color: var(--gold); }
h1,h2,h3 { font-family: var(--font-serif); line-height: 1.35; }
h1 { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem,3vw,2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading p { font-size: .92rem; color: var(--text-lite); max-width: 500px; margin: 6px auto 0; }
.divider { width: 36px; height: 3px; background: var(--blue); border-radius: 2px; margin: 12px auto 0; }
.divider.gold { background: var(--gold); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-sans); font-size: .9rem; font-weight: 700; padding: 14px 28px; border-radius: 8px; transition: all .2s; cursor: pointer; border: none; white-space: nowrap; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-lite); box-shadow: 0 6px 24px rgba(21,88,214,.4); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-lite); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-line { background: #06C755; color: var(--white); }
.btn-lg { padding: 18px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: .82rem; }

/* Header */
#site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: 64px; background: rgba(8,25,58,.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; }
#site-header .inner { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.site-logo .logo-main { font-family: var(--font-serif); font-size: .95rem; font-weight: 700; color: var(--white); }
.site-logo .logo-sub { font-family: var(--font-mono); font-size: .5rem; letter-spacing: .18em; color: rgba(255,255,255,.35); }
.header-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.header-nav a { font-size: .8rem; color: rgba(255,255,255,.7); transition: color .2s; }
.header-nav a:hover { color: var(--white); }
.header-back { font-family: var(--font-mono); font-size: .7rem; color: var(--cyan); letter-spacing: .1em; }
.header-back:hover { color: var(--cyan-soft); }

/* Footer */
#site-footer { background: var(--navy); color: var(--white); padding: 48px 0 28px; }
.footer-inner { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; gap: 24px; }
.footer-logo-main { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.footer-logo-sub { font-family: var(--font-mono); font-size: .55rem; letter-spacing: .18em; color: rgba(255,255,255,.35); }
.footer-tagline { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: 8px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-links a { font-size: .8rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; }
.footer-copy { font-size: .72rem; color: rgba(255,255,255,.3); }

/* Card */
.card { background: var(--white); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); transition: all .25s; }

/* Check list */
.check-list { display: flex; flex-direction: column; gap: 8px; }
.check-item { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--text-mid); }
.check-item .ck { color: var(--blue); font-weight: 700; flex-shrink: 0; }
.check-item .ck.gold { color: var(--gold); }

/* Step flow */
.step-flow { display: flex; gap: 0; }
.step-flow-item { flex: 1; text-align: center; padding: 0 12px; position: relative; }
.step-flow-item:not(:last-child)::after { content: '→'; position: absolute; right: -8px; top: 28px; font-size: 1rem; color: var(--border); }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--font-mono); font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.step-title { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step-desc { font-size: .8rem; color: var(--text-lite); line-height: 1.6; }

/* Policy page */
.policy-content { max-width: 760px; margin: 0 auto; }
.policy-content h2 { font-size: 1.2rem; color: var(--navy); margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--blue); }
.policy-content h3 { font-size: 1rem; color: var(--navy); margin: 20px 0 8px; }
.policy-content p { font-size: .88rem; color: var(--text-mid); margin-bottom: 12px; line-height: 1.8; }
.policy-content ul { padding-left: 20px; margin-bottom: 12px; }
.policy-content ul li { font-size: .88rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 4px; }
.policy-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.policy-table th { background: var(--bg); padding: 10px 14px; font-size: .83rem; font-weight: 700; text-align: left; border: 1px solid var(--border); width: 140px; }
.policy-table td { padding: 10px 14px; font-size: .85rem; border: 1px solid var(--border); }

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .step-flow { flex-direction: column; gap: 20px; }
  .step-flow-item:not(:last-child)::after { display: none; }
  .footer-top { flex-direction: column; }
}
