/* ===========================
   CSS Variables & Reset
=========================== */
:root {
  --navy: #0b1a35;
  --navy-mid: #152847;
  --navy-light: #1e3a6a;
  --orange: #e85d26;
  --orange-dark: #c84d1c;
  --blue-mist: #7eb8f7;
  --off-white: #f8f6f3;
  --white: #ffffff;
  --text: #0f1c30;
  --text-mid: #4a5568;
  --text-light: #8898aa;
  --border: rgba(0,0,0,0.08);
  --border-solid: #d6dde8;
  --success: #1d8a4e;
  --font-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --font-en: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 2px 16px rgba(11,26,53,0.10);
  --shadow-md: 0 4px 28px rgba(11,26,53,0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===========================
   Utilities
=========================== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.section { padding: 100px 0; }
.section-sm { padding: 72px 0; }
.text-center { text-align: center; }

.section-en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.9;
  max-width: 520px;
}
.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--orange);
  background: rgba(232,93,38,0.08);
  border: 1px solid rgba(232,93,38,0.2);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

/* ===========================
   Scroll Reveal
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===========================
   Buttons
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  border: 2px solid transparent;
  font-family: var(--font-jp);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  padding: 14px 28px;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(232,93,38,0.35);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,93,38,0.45);
}
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.25);
  padding: 14px 28px;
  font-size: 15px;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  padding: 14px 28px;
  font-size: 15px;
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--orange);
  border: 2px solid #fff;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s var(--ease);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 40px !important; font-size: 16px !important; border-radius: 12px !important; }
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ===========================
   Header
=========================== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
header.scrolled {
  background: rgba(11, 26, 53, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.logo-main {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.logo-main span { color: var(--blue-mist); }
.logo-sub { display: none; }

nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav ul li a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
nav ul li a:hover,
nav ul li a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
nav ul li a.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 8px 18px;
}
nav ul li a.nav-cta:hover { background: var(--orange-dark); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
#mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(11,26,53,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  z-index: 199;
}
#mobile-menu.open { display: block; }
#mobile-menu ul { flex-direction: column; gap: 0; display: flex; }
#mobile-menu ul li a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ===========================
   Page Header (contact, privacy etc.)
=========================== */
.page-header {
  background: linear-gradient(135deg, #060f1e 0%, #0b1a35 45%, #152847 100%);
  padding: 104px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(126,184,247,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126,184,247,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-header-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px; padding: 6px 16px; color: var(--blue-mist);
  font-family: var(--font-en); font-size: 11px; font-weight: 600;
  margin-bottom: 18px; letter-spacing: 0.12em;
  position: relative; z-index: 1; text-transform: uppercase;
}
.page-header h1 {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 900; color: #fff;
  line-height: 1.3; position: relative; z-index: 1;
  margin-bottom: 12px; letter-spacing: -0.02em;
}
.page-header p {
  font-size: 15px; color: rgba(255,255,255,0.6);
  max-width: 480px; margin: 0 auto; line-height: 1.9;
  position: relative; z-index: 1;
}

/* ===========================
   Footer
=========================== */
footer {
  background: #060f1e;
  padding: 56px 0 28px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  margin-bottom: 48px;
}
.footer-brand .logo-main {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.footer-brand .logo-main span { color: var(--blue-mist); }
.footer-brand .logo-sub {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.footer-brand p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-top: 12px;
  line-height: 1.8;
  max-width: 220px;
}
.footer-links h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  font-family: var(--font-en);
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-links ul li a:hover { color: #fff; }
.footer-contact h4 {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-en);
  margin-bottom: 16px;
}
.footer-contact a {
  display: block;
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-mist);
  margin-bottom: 4px;
}
.footer-contact span { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ===========================
   Responsive (Common)
=========================== */
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .footer-top { flex-direction: column; gap: 32px; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { justify-content: center; }
  .section { padding: 72px 0; }
  .container { padding: 0 24px; }
  .page-header { padding: 88px 0 48px; }
  .header-inner { padding: 0 20px; }
}
