/* ═══════════════════════════════════════
   J-TAD shared.css — 全ページ共通スタイル
═══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;700;900&family=Noto+Sans+JP:wght@300;400;500;700&family=DM+Mono:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:   #FFFFFF;
  --off:     #F4F2EE;
  --rule:    #D6D1C8;
  --navy:    #0B1F3A;
  --navy2:   #162D50;
  --navy3:   #0a1628;
  --gold:    #9A7B3C;
  --gold-l:  #C9A85C;
  --gold-ll: #E8C97A;
  --ink:     #1A1F2E;
  --mid:     #4A5568;
  --light:   #8A9099;
  --serif:   'Noto Serif JP', serif;
  --sans:    'Noto Sans JP', sans-serif;
  --mono:    'DM Mono', monospace;
  --max:     1080px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  overflow-x: hidden;
}

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.vis { opacity: 1; transform: none; }
.d1{transition-delay:.08s}.d2{transition-delay:.18s}.d3{transition-delay:.28s}.d4{transition-delay:.38s}

/* ── GOV BAND ── */
.gov-band {
  background: var(--navy3); height: 34px; padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(201,168,92,0.35);
}
.gov-band-left { font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,0.35); letter-spacing: 0.15em; text-transform: uppercase; }
.gov-band-right { display: flex; gap: 18px; }
.gov-band-right a { font-size: 10px; color: rgba(255,255,255,0.3); text-decoration: none; letter-spacing: 0.06em; transition: color 0.2s; }
.gov-band-right a:hover { color: var(--gold-l); }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 300;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 12px rgba(11,31,58,0.07);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 5vw;
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.nav-emblem { width: 38px; height: 38px; flex-shrink: 0; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand-ja { font-family: var(--serif); font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: 0.05em; }
.nav-brand-en { font-family: var(--mono); font-size: 9px; color: var(--gold); letter-spacing: 0.22em; text-transform: uppercase; }
.nav-sep { width: 1px; height: 26px; background: var(--rule); }
.nav-links { display: flex; list-style: none; }
.nav-links a {
  display: block; padding: 0 15px; height: 64px; line-height: 64px;
  font-size: 12.5px; font-weight: 500; color: var(--mid);
  text-decoration: none; letter-spacing: 0.03em;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); border-bottom-color: var(--gold-l); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy); color: var(--white);
  border: none; border-radius: 2px; padding: 9px 18px;
  font-size: 12px; font-weight: 700; font-family: var(--sans);
  text-decoration: none; letter-spacing: 0.04em; white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { background: var(--navy2); box-shadow: 0 4px 16px rgba(11,31,58,0.25); }
.nav-burger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:4px; }
.nav-burger span { display:block; width:22px; height:1.5px; background:var(--navy); }
@media(max-width:768px){ .nav-links,.nav-cta,.nav-sep{display:none} .nav-burger{display:flex} }

/* ── PAGE HERO (subpages) ── */
.page-hero {
  background: var(--navy3); padding: 64px 5vw 56px;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, transparent, var(--gold-l) 30%, var(--gold-ll) 50%, var(--gold-l) 70%, transparent) 1;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,92,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; position: relative; }
.page-hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.page-hero-kicker-line { width: 28px; height: 1px; background: rgba(201,168,92,0.5); }
.page-hero-kicker-text { font-family: var(--mono); font-size: 10px; color: rgba(201,168,92,0.7); letter-spacing: 0.2em; text-transform: uppercase; }
.page-hero-title {
  font-family: var(--serif); font-size: clamp(26px, 4vw, 46px);
  font-weight: 900; color: var(--white); line-height: 1.3; margin-bottom: 14px;
}
.page-hero-sub { font-size: 14px; color: rgba(255,255,255,0.5); max-width: 520px; line-height: 1.9; }

/* ── BREADCRUMB ── */
.breadcrumb {
  max-width: var(--max); margin: 0 auto; padding: 12px 5vw;
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; color: var(--light); letter-spacing: 0.06em;
}
.breadcrumb a { color: var(--light); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--rule); }

/* ── SECTION COMMON ── */
.sec { padding: clamp(56px,8vw,100px) 5vw; }
.sec-inner { max-width: var(--max); margin: 0 auto; }
.sec-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.sec-kicker-line { width: 28px; height: 1px; background: var(--gold); }
.sec-kicker-text { font-family: var(--mono); font-size: 10px; color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; }
.sec-title { font-family: var(--serif); font-size: clamp(22px,3vw,34px); font-weight: 700; line-height: 1.4; color: var(--navy); margin-bottom: 14px; }
.sec-lead { font-size: 14px; color: var(--mid); line-height: 2; max-width: 560px; }
.sec-alt { background: var(--off); }

/* ── BUTTONS ── */
.btn-navy {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--navy); color: var(--white);
  border: none; border-radius: 2px; padding: 13px 26px;
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; text-decoration: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-navy:hover { background: var(--navy2); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--navy); border-radius: 2px; padding: 12px 24px;
  font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--navy);
  text-decoration: none; letter-spacing: 0.04em; transition: background 0.2s;
}
.btn-outline:hover { background: var(--off); }
.btn-gold {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--gold), var(--gold-l));
  color: var(--white); border: none; border-radius: 2px;
  padding: 13px 26px; font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(154,123,60,0.35);
  transition: box-shadow 0.2s, transform 0.15s;
}
.btn-gold:hover { box-shadow: 0 6px 24px rgba(154,123,60,0.55); transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  background: var(--navy3);
  border-top: 3px solid;
  border-image: linear-gradient(90deg, transparent, var(--gold-l) 20%, var(--gold-ll) 50%, var(--gold-l) 80%, transparent) 1;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 52px 5vw;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px;
}
@media(max-width:640px){ .footer-inner{grid-template-columns:1fr;gap:32px;} }
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-name { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--white); line-height: 1.2; }
.footer-name-en { font-family: var(--mono); font-size: 9px; color: var(--gold-l); letter-spacing: 0.2em; text-transform: uppercase; display: block; margin-top: 2px; }
.footer-desc { font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.9; max-width: 240px; }
.footer-col-title { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.42); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-l); }
.footer-bottom {
  max-width: var(--max); margin: 0 auto; padding: 16px 5vw;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-copy { font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,0.18); letter-spacing: 0.05em; }
.footer-policy { display: flex; gap: 16px; }
.footer-policy a { font-size: 10px; color: rgba(255,255,255,0.22); text-decoration: none; transition: color 0.2s; }
.footer-policy a:hover { color: var(--gold-l); }

/* ── SHARED NAV/FOOTER SVG ── */
.emblem-svg { flex-shrink: 0; }

/* ── CONTENT BLOCKS ── */
.prose { font-size: 14px; color: var(--mid); line-height: 2.1; max-width: 700px; }
.prose h3 { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--navy); margin: 32px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul { padding-left: 1.4em; margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.prose li { line-height: 1.9; }
.prose a { color: var(--navy); border-bottom: 1px solid rgba(11,31,58,0.2); text-decoration: none; transition: border-color 0.2s; }
.prose a:hover { border-color: var(--gold); }

/* ── REDUCED MOTION ── */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}
