/* ===== KSK DEMO — SHARED STYLESHEET ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;600;700&family=Cormorant+Garamond:wght@400;600&display=swap');

:root {
  --navy: #0d2a4a;
  --blue: #1a4a7a;
  --steel: #3a7abf;
  --sky: #5ba3d9;
  --cream: #f7f9fc;
  --gray: #eef1f6;
  --border: #dde3ed;
  --text: #1e2d3d;
  --text-mid: #445568;
  --text-light: #7a8fa3;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans JP', sans-serif; color: var(--text); background: var(--white); line-height: 1.8; -webkit-font-smoothing: antialiased; }

/* ===== HEADER ===== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0,0,0,0.06);
}
.header-top {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.header-logo { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.header-logo img { height: 34px; }
.header-logo-text { color: var(--navy); line-height: 1.4; }
.header-logo-text strong { display: block; font-size: 0.88rem; font-weight: 700; letter-spacing: 0.03em; color: var(--navy); }
.header-logo-text small { font-size: 0.62rem; color: var(--steel); letter-spacing: 0.05em; }
.header-right { display: flex; align-items: center; gap: 24px; }
.header-tel { text-decoration: none; text-align: right; }
.header-tel strong { display: block; font-size: 1.1rem; font-weight: 700; color: var(--navy); letter-spacing: 0.06em; }
.header-tel small { font-size: 0.6rem; color: var(--text-light); }
.btn-header {
  background: var(--steel); color: var(--white);
  padding: 9px 22px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-decoration: none;
  transition: background 0.2s; white-space: nowrap;
}
.btn-header:hover { background: var(--navy); }

/* GLOBAL NAV */
.global-nav { background: var(--cream); border-top: 1px solid var(--border); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: flex; flex-wrap: nowrap;
}
.nav-inner a {
  color: var(--text-mid); text-decoration: none;
  padding: 9px 16px; font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.04em; border-right: 1px solid var(--border);
  transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.nav-inner a:first-child { border-left: 1px solid var(--border); }
.nav-inner a:hover, .nav-inner a.active { color: var(--navy); background: var(--white); }

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  padding: 160px 40px 60px;
  background: linear-gradient(160deg, var(--navy) 0%, #0f3660 100%);
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(91,163,217,0.1) 0%, transparent 70%);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero-en {
  font-family: 'Cormorant Garamond', serif; font-size: 0.75rem;
  font-weight: 600; letter-spacing: 0.3em; color: var(--sky);
  margin-bottom: 12px; text-transform: uppercase;
}
.page-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700;
  color: var(--white); line-height: 1.5;
}
.page-hero-desc { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-top: 12px; }
.breadcrumb {
  margin-top: 20px; display: flex; gap: 8px; align-items: center;
  font-size: 0.72rem; color: rgba(255,255,255,0.35);
}
.breadcrumb a { color: rgba(255,255,255,0.45); text-decoration: none; }
.breadcrumb a:hover { color: var(--sky); }
.breadcrumb span { color: rgba(255,255,255,0.2); }

/* ===== SECTION ===== */
section { padding: 80px 40px; }
.section-en {
  text-align: center; font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.3em;
  color: var(--steel); margin-bottom: 10px; text-transform: uppercase;
}
.section-title {
  text-align: center; font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem); font-weight: 700;
  color: var(--navy); line-height: 1.6; margin-bottom: 12px;
}
.section-rule { width: 36px; height: 2px; background: var(--steel); margin: 0 auto 40px; }
.section-desc {
  text-align: center; color: var(--text-mid); max-width: 620px;
  margin: 0 auto 48px; font-size: 0.88rem; line-height: 2;
}
.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 900px; margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--steel); color: var(--white);
  padding: 14px 36px; font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.05em; text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--sky); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 14px 36px; font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.05em; text-decoration: none; display: inline-block;
  transition: all 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.btn-outline {
  background: transparent; color: var(--steel);
  border: 1px solid var(--steel);
  padding: 10px 28px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; text-decoration: none; display: inline-block;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--steel); color: var(--white); }

/* ===== STATS ===== */
.stats-bar { background: var(--white); border-bottom: 1px solid var(--border); }
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--border);
}
.stat-item { text-align: center; padding: 28px 20px; border-right: 1px solid var(--border); }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 600; color: var(--blue); line-height: 1; }
.stat-label { font-size: 0.72rem; color: var(--text-light); margin-top: 8px; letter-spacing: 0.04em; }

/* ===== TABLES ===== */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td {
  padding: 13px 22px; font-size: 0.83rem;
  border-bottom: 1px solid var(--gray); text-align: left; vertical-align: top;
}
.data-table th { background: var(--cream); color: var(--navy); font-weight: 700; white-space: nowrap; }
.data-table-head { background: var(--navy); color: var(--white); padding: 13px 22px; font-size: 0.83rem; font-weight: 700; letter-spacing: 0.06em; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(160deg, var(--navy) 0%, #0f3660 100%);
  color: var(--white); text-align: center; padding: 80px 40px;
}
.cta-section h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 700; margin-bottom: 12px;
}
.cta-section p { font-size: 0.86rem; color: rgba(255,255,255,0.55); margin-bottom: 36px; }
.cta-tel { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 600; color: var(--white); letter-spacing: 0.06em; }
.cta-tel-sub { font-size: 0.7rem; color: rgba(255,255,255,0.35); margin: 6px 0 32px; letter-spacing: 0.1em; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer { background: var(--navy); color: rgba(255,255,255,0.38); padding: 40px; text-align: center; }
.footer-logo { filter: brightness(0) invert(1); opacity: 0.28; height: 26px; margin-bottom: 14px; display: block; margin-left: auto; margin-right: auto; }
footer p { font-size: 0.73rem; line-height: 2.2; }
.footer-note { margin-top: 18px; font-size: 0.62rem; color: rgba(255,255,255,0.18); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .header-right .header-tel { display: none; }
}
@media (max-width: 768px) {
  section { padding: 56px 20px; }
  .header-top { padding: 0 20px; }
  .nav-inner { padding: 0 20px; overflow-x: auto; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 140px 20px 48px; }
}
