:root {
  --blue-900: #0d2c5c;
  --blue-700: #1a4fb4;
  --blue-600: #2563d6;
  --blue-50: #eef3fc;
  --ink: #1b2430;
  --ink-soft: #4a5568;
  --paper: #ffffff;
  --line: #e2e8f0;
  --font-serif: 'Shippori Mincho', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
ul, ol { list-style: none; }

.section-eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--blue-600);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-eyebrow.light { color: #bcd2fb; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.5;
}
.section-title.light { color: #fff; }
.section-lead { margin-top: 14px; color: var(--ink-soft); font-size: 15px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }

.fade-in { opacity: 1; }

/* Demo badge */
.demo-badge {
  position: fixed;
  z-index: 999;
  bottom: 14px;
  left: 14px;
  background: rgba(13,44,92,0.92);
  color: #fff;
  font-size: 11px;
  padding: 7px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.0);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 16px rgba(13,44,92,0.08);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-900);
}
.site-header:not(.scrolled) .logo-main,
.site-header:not(.scrolled) .logo-sub { color: #fff; }
.logo-sub { font-size: 10px; letter-spacing: 0.1em; color: var(--ink-soft); }

.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
.site-header:not(.scrolled) .nav-desktop a { color: #fff; }
.nav-desktop a.nav-cta {
  background: var(--blue-700);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); transition: all .25s ease; margin: 0 auto;
}
.site-header:not(.scrolled) .hamburger span { background: #fff; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-header.scrolled .hamburger.active span { background: var(--ink); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  padding: 10px 24px 20px;
  box-shadow: 0 8px 20px rgba(13,44,92,0.1);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.nav-mobile a.nav-cta { color: var(--blue-700); font-weight: 700; border-bottom: none; }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,25,55,0.55) 0%, rgba(10,25,55,0.35) 40%, rgba(8,20,48,0.88) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; padding: 0 24px 70px; max-width: 1120px; margin: 0 auto; width: 100%; }
.hero-eyebrow { font-size: 13px; letter-spacing: 0.2em; color: #bcd2fb; margin-bottom: 14px; font-weight: 500; }
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5.4vw, 54px);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 20px;
}
.hero-name { font-size: 22px; font-weight: 700; margin-bottom: 26px; }
.hero-name span { font-size: 13px; font-weight: 400; margin-left: 10px; color: #cdddfa; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px rgba(37,99,214,0.4); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { border: 1.5px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--blue-900); }
.btn-light { display: inline-block; background: #fff; color: var(--blue-900); padding: 15px 34px; border-radius: 999px; font-weight: 700; font-size: 15px; }
.btn-light:hover { transform: translateY(-2px); }

.hero-sns { display: flex; gap: 16px; }
.hero-sns img { width: 30px; height: 30px; opacity: 0.9; }
.hero-sns a:hover img { opacity: 1; }

.scroll-cue {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,0.7); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: #fff; border-radius: 2px;
  animation: scrollcue 1.8s infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 22px; }
}

/* Greeting */
.greeting { padding: 110px 0; background: #fff; }
.greeting-inner { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.greeting-photo img { border-radius: 10px; box-shadow: 0 16px 40px rgba(13,44,92,0.14); }
.greeting-text p { margin-bottom: 18px; color: var(--ink); }
.greeting-sign { font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--blue-900); margin-top: 28px; }

/* Policy */
.policy { padding: 110px 0; background: var(--blue-50); }
.policy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.policy-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(13,44,92,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.policy-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(13,44,92,0.14); }
.policy-img { height: 200px; overflow: hidden; }
.policy-img img { width: 100%; height: 100%; object-fit: cover; }
.policy-body { padding: 26px 28px 30px; position: relative; }
.policy-num { font-family: var(--font-serif); font-size: 13px; color: var(--blue-600); font-weight: 700; letter-spacing: 0.1em; }
.policy-body h3 { font-size: 19px; color: var(--blue-900); margin: 8px 0 12px; font-weight: 700; }
.policy-body p { font-size: 14.5px; color: var(--ink-soft); }

/* Region */
.region { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: #fff; }
.region-media { overflow: hidden; min-height: 420px; }
.region-media img { width: 100%; height: 100%; object-fit: cover; }
.region-content { padding: 90px 60px; display: flex; flex-direction: column; justify-content: center; }
.region-content p { color: var(--ink-soft); margin-top: 18px; }
.region-photo { margin-top: 28px; position: relative; border-radius: 10px; overflow: hidden; }
.region-photo img { width: 100%; height: 220px; object-fit: cover; }
.region-photo-cap {
  position: absolute; left: 0; bottom: 0; right: 0;
  background: linear-gradient(0deg, rgba(10,25,55,0.75), transparent);
  color: #fff; font-size: 12.5px; padding: 28px 16px 12px;
}

/* Profile */
.profile { padding: 110px 0; background: var(--blue-50); }
.profile-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; }
.profile-card {
  background: #fff; border-radius: 14px; padding: 32px;
  box-shadow: 0 10px 30px rgba(13,44,92,0.08); height: fit-content;
}
.profile-card h3 { font-family: var(--font-serif); color: var(--blue-900); font-size: 19px; margin-bottom: 20px; }
.profile-meta li { display: flex; gap: 14px; font-size: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.profile-meta li:last-child { border-bottom: none; }
.profile-meta li span { color: var(--blue-600); font-weight: 700; min-width: 64px; }

.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 32px 24px; }
.timeline li::before {
  content: ''; position: absolute; left: -24px; top: 4px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--blue-600);
}
.t-year { display: block; font-family: var(--font-serif); font-weight: 700; color: var(--blue-900); font-size: 15px; }
.t-text { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 14.5px; }

/* Download */
.download { padding: 90px 0; background: #fff; }
.download-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.download-text p { color: var(--ink-soft); margin-top: 14px; }
.download-card {
  display: flex; align-items: center; gap: 20px;
  background: var(--blue-50); border: 1px solid #d6e3fa; border-radius: 14px; padding: 26px;
  transition: border-color .2s ease, transform .2s ease;
}
.download-card:hover { border-color: var(--blue-600); transform: translateY(-2px); }
.download-icon img { width: 44px; height: 44px; }
.download-title { font-weight: 700; color: var(--blue-900); margin-bottom: 4px; }
.download-note { font-size: 12.5px; color: var(--ink-soft); }
.download-arrow { margin-left: auto; font-size: 20px; color: var(--blue-600); }

/* Support CTA */
.support {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  text-align: center;
}
.support-inner { max-width: 600px; margin: 0 auto; }
.support-lead { color: #dde8fc; margin: 20px 0 32px; font-size: 15px; }

/* SNS follow */
.sns-follow { padding: 90px 0; text-align: center; background: #fff; }
.sns-grid { display: flex; justify-content: center; gap: 48px; margin-top: 30px; flex-wrap: wrap; }
.sns-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sns-item img { width: 46px; height: 46px; transition: transform .2s ease; }
.sns-item:hover img { transform: translateY(-3px); }
.sns-item span { font-size: 13px; color: var(--ink-soft); font-weight: 500; }

/* Footer */
.site-footer { background: #0d1a33; color: #cfd9ee; padding: 56px 0 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-name { font-family: var(--font-serif); color: #fff; font-size: 17px; margin-bottom: 8px; }
.footer-addr { font-size: 13px; color: #9fb0d1; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 13.5px; color: #cfd9ee; }
.footer-bottom { padding: 20px 24px 64px; }
.footer-bottom p { font-size: 11.5px; color: #7c8cae; line-height: 1.7; }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-700); color: #fff; border: none;
  font-size: 18px; cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  box-shadow: 0 8px 20px rgba(13,44,92,0.3);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--blue-600); }

/* Responsive */
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .greeting-inner { grid-template-columns: 1fr; }
  .greeting-photo { max-width: 280px; margin: 0 auto 36px; }
  .policy-grid { grid-template-columns: 1fr; }
  .region { grid-template-columns: 1fr; }
  .region-media { min-height: 280px; }
  .region-content { padding: 60px 24px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-card { max-width: 420px; }
  .download-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .greeting, .policy, .profile { padding: 70px 0; }
  .download, .support, .sns-follow { padding: 64px 0; }
  .support-lead br { display: none; }
  .hero-buttons { flex-direction: column; }
  .btn { text-align: center; }
  .sns-grid { gap: 32px; }
}
