@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy:      #1a2d6b;
  --navy-dark: #141f4d;
  --navy-mid:  #213080;
  --white:     #ffffff;
  --off-white: #f4f6fb;
  --light-blue:#e8edf8;
  --muted:     #5a6a8a;
  --text:      #1a2340;
  --border:    #dde3f0;
  --nav-h:     62px;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top:0; left:0; right:0; z-index:100;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-brand-logo {
  height: 46px;
  width: 46px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-brand-logo-footer {
  height: 38px;
  width: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.nav-brand-text { line-height: 1.2; }
.nav-brand-name {
  font-size: 20px; font-weight: 700;
  color: var(--navy); letter-spacing: -0.01em;
  display: block;
}
.nav-brand-sub {
  font-size: 11px; color: var(--muted);
  font-weight: 400; letter-spacing: 0.02em;
  display: block;
}
.nav-center {
  display: flex; gap: 0; list-style: none;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-center a {
  display: block; padding: 0 18px; height: var(--nav-h);
  line-height: var(--nav-h);
  font-size: 13px; font-weight: 500; color: var(--muted);
  text-decoration: none; letter-spacing: 0.02em;
  transition: color 0.2s; position: relative;
}
.nav-center a:hover,
.nav-center a.active { color: var(--navy); }
.nav-center a.active::after {
  content:''; position:absolute; bottom:0; left:18px; right:18px;
  height:2px; background:var(--navy); border-radius:2px;
}
.nav-dropdown { position:relative; }
.dropdown-menu {
  display:none; position:absolute; top:var(--nav-h); left:0;
  background:var(--white); min-width:200px;
  border:1px solid var(--border); border-top:2px solid var(--navy);
  box-shadow: 0 8px 24px rgba(26,45,107,0.1);
  border-radius: 0 0 8px 8px;
}
.nav-dropdown:hover .dropdown-menu { display:block; }
.dropdown-menu a {
  height:auto; line-height:1; padding:13px 18px;
  border-bottom:1px solid var(--border);
  color:var(--text); font-size:13px;
}
.dropdown-menu a:last-child { border-bottom:none; }
.dropdown-menu a:hover { background:var(--light-blue); color:var(--navy); }
.nav-cta {
  display: inline-flex; align-items: center;
  padding: 11px 24px;
  background: var(--navy); color: var(--white);
  border-radius: 50px; font-size: 13px; font-weight: 600;
  text-decoration: none; letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--navy-dark); transform: translateY(-1px); }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  margin-top: var(--nav-h);
  background: var(--navy);
  padding: 36px 5vw 32px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  opacity:0.6;
}
.page-hero-content { position:relative; z-index:1; max-width:640px; }
.page-hero-label {
  display:inline-block; padding:4px 12px;
  background:rgba(255,255,255,0.12); border-radius:20px;
  font-size:11px; font-weight:600; color:rgba(255,255,255,0.8);
  letter-spacing:0.12em; text-transform:uppercase; margin-bottom:20px;
}
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px); font-weight: 800;
  color: var(--white); line-height: 1.1; letter-spacing: -0.02em;
}
.page-hero h1 span { color: rgba(255,255,255,0.55); font-weight: 300; }

/* ─── SECTIONS ─── */
.section { padding: 88px 5vw; }
.section-navy { background: var(--navy); }
.section-light { background: var(--off-white); }

.section-tag {
  display:inline-block; padding:4px 12px; border-radius:20px;
  background: var(--light-blue); color:var(--navy);
  font-size:11px; font-weight:700; letter-spacing:0.12em;
  text-transform:uppercase; margin-bottom:16px;
}
.section-navy .section-tag {
  background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9);
}
h2 {
  font-size: clamp(28px, 3.5vw, 42px); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.02em; color: var(--text);
}
.section-navy h2 { color: var(--white); }
.section-lead {
  font-size: 16px; line-height: 1.8; color: var(--muted); margin-top:16px; max-width:600px;
}
.section-navy .section-lead { color: rgba(255,255,255,0.65); }

/* ─── BUTTONS ─── */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 28px; border-radius:50px;
  font-size:13px; font-weight:600; letter-spacing:0.02em;
  text-decoration:none; cursor:pointer; border:none;
  transition:all 0.2s; font-family:inherit;
}
.btn-navy { background:var(--navy); color:var(--white); }
.btn-navy:hover { background:var(--navy-dark); transform:translateY(-2px); box-shadow:0 6px 20px rgba(26,45,107,0.25); }
.btn-white { background:var(--white); color:var(--navy); }
.btn-white:hover { background:var(--off-white); transform:translateY(-2px); }
.btn-outline { border:2px solid rgba(255,255,255,0.4); color:var(--white); background:none; }
.btn-outline:hover { border-color:var(--white); background:rgba(255,255,255,0.1); }

/* ─── FOOTER ─── */
footer { background: var(--navy-dark); }
.footer-main {
  padding: 60px 5vw 40px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap:48px;
}
.footer-brand .nav-brand-name { color:var(--white); }
.footer-brand .nav-brand-sub { color:rgba(255,255,255,0.4); }
.footer-tagline { font-size:13px; color:rgba(255,255,255,0.4); line-height:1.8; margin-top:16px; max-width:240px; }
.footer-col h4 {
  font-size:11px; font-weight:700; letter-spacing:0.15em; text-transform:uppercase;
  color:rgba(255,255,255,0.5); margin-bottom:20px;
  padding-bottom:10px; border-bottom:1px solid rgba(255,255,255,0.08);
}
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:10px; }
.footer-col ul a { font-size:13px; color:rgba(255,255,255,0.45); text-decoration:none; transition:color 0.2s; }
.footer-col ul a:hover { color:var(--white); }
.footer-col address { font-style:normal; font-size:13px; color:rgba(255,255,255,0.4); line-height:1.9; }
.footer-bottom {
  padding:20px 5vw; border-top:1px solid rgba(255,255,255,0.07);
  display:flex; justify-content:space-between; align-items:center;
}
.footer-bottom p { font-size:12px; color:rgba(255,255,255,0.25); }

/* ─── REVEAL ─── */
.reveal { opacity:0; transform:translateY(20px); transition:opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity:1; transform:none; }

/* ─── RESPONSIVE ─── */
@media(max-width:900px){
  .nav-center { display:none; }
  .footer-main { grid-template-columns:1fr 1fr; }
}
@media(max-width:520px){
  .footer-main { grid-template-columns:1fr; }
}
