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

:root {
  --navy: #1A2744;
  --navy-deep: #0F1A30;
  --teal: #0891B2;
  --teal-mid: #0E7490;
  --teal-light: #CFFAFE;
  --coral: #F97316;
  --coral-light: #FFF7ED;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-800: #1E293B;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Header ─────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  height: 64px;
  display: flex; align-items: center;
}
.header-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800; font-size: 1.4rem;
  color: var(--navy);
  letter-spacing: 0.05em;
  text-decoration: none;
}
.logo span { color: var(--teal); }
nav { display: flex; gap: 36px; align-items: center; }
nav a {
  font-size: 0.82rem; font-weight: 500; color: var(--gray-600);
  text-decoration: none; letter-spacing: 0.05em;
  transition: color .2s;
}
nav a:hover, nav a.active { color: var(--navy); }
nav a.active { font-weight: 700; border-bottom: 2px solid var(--teal); padding-bottom: 2px; }
.nav-cta {
  background: var(--coral); color: var(--white) !important;
  padding: 8px 20px; border-radius: 6px; font-weight: 700 !important;
  font-size: 0.8rem !important;
}
.nav-cta:hover { background: #ea6c10 !important; }

/* ── Hero ────────────────────────────────────── */
.page-hero {
  margin-top: 64px;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
  padding: 100px 40px 80px;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(8,145,178,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(249,115,22,0.12) 0%, transparent 60%);
}
.page-hero::after {
  content: 'ABOUT';
  position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  font-family: 'Outfit', sans-serif;
  font-size: 14rem; font-weight: 800; color: rgba(255,255,255,0.03);
  letter-spacing: -0.05em; line-height: 1;
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 1;
}
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--gray-400); font-size: 0.78rem; text-decoration: none; }
.breadcrumb span { color: var(--gray-400); font-size: 0.78rem; }
.breadcrumb .current { color: var(--teal-light); }
.page-hero h1 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900; color: var(--white);
  line-height: 1.15; letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.page-hero h1 span {
  display: block; font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 400; color: var(--teal-light); letter-spacing: 0.15em;
  margin-bottom: 10px; font-family: 'Outfit', sans-serif;
}
.page-hero p {
  color: rgba(255,255,255,0.7); font-size: 1rem; max-width: 560px;
}

/* ── Section Tabs ────────────────────────────── */
.section-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky; top: 64px; z-index: 50;
}
.section-nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px;
  display: flex; gap: 0; overflow-x: auto;
}
.section-nav a {
  display: block; padding: 16px 28px;
  font-size: 0.83rem; font-weight: 500;
  color: var(--gray-600); text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all .2s;
}
.section-nav a:hover { color: var(--navy); border-bottom-color: var(--gray-300); }
.section-nav a.active { color: var(--teal); font-weight: 700; border-bottom-color: var(--teal); }

/* ── Common layout ───────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

section { padding: 100px 0; }
section:nth-child(even) { background: var(--off-white); }

.section-label {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--teal); text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 900; color: var(--navy);
  line-height: 1.2; letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.section-lead {
  font-size: 1rem; color: var(--gray-600);
  max-width: 600px; line-height: 1.8;
}

/* ── Philosophy ──────────────────────────────── */
#philosophy {
  background: var(--navy-deep);
  position: relative; overflow: hidden;
}
#philosophy::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 90% 30%, rgba(8,145,178,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 5% 70%, rgba(249,115,22,0.1) 0%, transparent 55%);
}
.philosophy-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.philosophy-text .section-label { color: var(--teal-light); }
.philosophy-text .section-title { color: var(--white); }
.philosophy-text p { color: rgba(255,255,255,0.75); font-size: 0.97rem; line-height: 1.9; }
.philosophy-cards { display: flex; flex-direction: column; gap: 20px; }
.phil-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 28px 32px;
  transition: transform .3s, background .3s;
}
.phil-card:hover { transform: translateX(8px); background: rgba(255,255,255,0.09); }
.phil-card-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--teal-light); margin-bottom: 10px;
}
.phil-card h3 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.15rem; font-weight: 700; color: var(--white);
  margin-bottom: 8px;
}
.phil-card p { font-size: 0.86rem; color: rgba(255,255,255,0.65); line-height: 1.7; }

/* ── CEO Message ─────────────────────────────── */
.ceo-grid {
  display: grid; grid-template-columns: 340px 1fr; gap: 80px;
  align-items: start;
}
.ceo-img-wrap {
  position: relative;
}
.ceo-img-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.ceo-img-placeholder::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(to top, rgba(26,39,68,0.6), transparent);
}
.ceo-img-label {
  font-size: 0.78rem; color: var(--gray-400);
  position: absolute; bottom: 20px; left: 20px;
  color: var(--white); font-weight: 500;
}
.photo-icon {
  font-size: 3rem; color: var(--gray-400);
}
.ceo-name-plate {
  margin-top: 20px; text-align: center;
}
.ceo-name-plate .role { font-size: 0.78rem; color: var(--teal); font-weight: 600; letter-spacing: 0.1em; }
.ceo-name-plate h3 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.4rem; font-weight: 900; color: var(--navy); margin-top: 4px;
}
.ceo-name-plate .name-en { font-family: 'Outfit', sans-serif; font-size: 0.85rem; color: var(--gray-400); }

.ceo-message { }
.ceo-message .big-quote {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900; color: var(--navy);
  line-height: 1.3; letter-spacing: -0.01em;
  margin-bottom: 36px; padding-bottom: 36px;
  border-bottom: 2px solid var(--gray-200);
  position: relative;
}
.ceo-message .big-quote::before {
  content: '"';
  font-family: 'Outfit', sans-serif;
  font-size: 6rem; color: var(--teal-light);
  position: absolute; top: -20px; left: -20px;
  line-height: 1; pointer-events: none;
}
.ceo-message p {
  font-size: 0.96rem; color: var(--gray-600); line-height: 2;
  margin-bottom: 20px;
}
.ceo-signature {
  margin-top: 36px; display: flex; align-items: center; gap: 16px;
}
.ceo-signature-line { flex: 1; height: 1px; background: var(--gray-200); }
.ceo-signature span { font-size: 0.85rem; color: var(--gray-400); white-space: nowrap; }

/* ── History ─────────────────────────────────── */
#history { background: var(--off-white); }
.history-grid {
  display: grid; grid-template-columns: 240px 1fr; gap: 0;
}
.history-side {
  position: relative; padding-right: 40px;
}
.history-side::after {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--navy));
}
.history-side-label {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem; font-weight: 800; color: var(--navy);
  line-height: 1; opacity: 0.08; position: absolute; top: 0; left: 0;
}
.history-main { padding-left: 40px; }

.timeline { position: relative; }
.timeline-item {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 0; margin-bottom: 0;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute; left: 120px; top: 10px; bottom: -10px; width: 1px;
  background: var(--gray-200);
}
.timeline-item:last-child::before { display: none; }
.timeline-year {
  padding: 10px 24px 32px 0; text-align: right;
}
.timeline-year span {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem; font-weight: 700; color: var(--teal);
}
.timeline-content {
  padding: 4px 0 32px 24px; position: relative;
}
.timeline-content::before {
  content: '';
  position: absolute; left: -5px; top: 12px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal); border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--teal-light);
}
.timeline-content.major::before {
  background: var(--coral); box-shadow: 0 0 0 3px rgba(249,115,22,0.2);
  width: 14px; height: 14px; left: -7px; top: 10px;
}
.timeline-content h4 {
  font-weight: 700; font-size: 0.97rem; color: var(--navy);
  margin-bottom: 4px;
}
.timeline-content p { font-size: 0.86rem; color: var(--gray-600); }
.milestone-badge {
  display: inline-block;
  background: var(--coral); color: var(--white);
  font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 4px;
  margin-bottom: 6px; letter-spacing: 0.05em;
}

/* ── Overview Table ──────────────────────────── */
#overview { }
.overview-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.overview-table { border-collapse: collapse; width: 100%; }
.overview-table tr { border-bottom: 1px solid var(--gray-200); }
.overview-table tr:first-child { border-top: 1px solid var(--gray-200); }
.overview-table th {
  width: 160px; padding: 18px 0; vertical-align: top;
  font-size: 0.82rem; font-weight: 600; color: var(--teal);
  letter-spacing: 0.05em; text-align: left;
}
.overview-table td {
  padding: 18px 0 18px 20px;
  font-size: 0.9rem; color: var(--gray-700); vertical-align: top;
}
.overview-table td strong { color: var(--navy); font-weight: 700; }

/* ── Access ──────────────────────────────────── */
#access { background: var(--off-white); }
.access-grid {
  display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: start;
}
.map-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--gray-400);
  flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
}
.map-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 20px, rgba(0,0,0,0.02) 20px, rgba(0,0,0,0.02) 21px
  );
}
.map-icon { font-size: 2.5rem; }

.access-info { }
.access-info h3 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 20px;
}
.access-route {
  background: var(--white); border-radius: 12px; padding: 24px;
  margin-bottom: 16px; border: 1px solid var(--gray-200);
}
.access-route .transport {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; color: var(--teal);
  letter-spacing: 0.08em; margin-bottom: 8px;
}
.transport-icon {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--teal); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.access-route p { font-size: 0.9rem; color: var(--gray-700); }
.access-address {
  background: var(--navy); color: var(--white);
  border-radius: 12px; padding: 24px;
}
.access-address p { font-size: 0.9rem; opacity: 0.85; line-height: 1.8; }
.access-address strong { display: block; font-size: 0.75rem; color: var(--teal-light); letter-spacing: 0.1em; margin-bottom: 4px; }

/* ── CTA Banner ──────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 100% 50%, rgba(8,145,178,0.3) 0%, transparent 60%);
}
.cta-inner {
  position: relative; z-index: 1;
  text-align: center;
}
.cta-inner h2 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900; color: var(--white); margin-bottom: 16px;
}
.cta-inner p { color: rgba(255,255,255,0.7); font-size: 0.97rem; margin-bottom: 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--coral); color: var(--white);
  font-weight: 700; font-size: 0.92rem;
  padding: 16px 36px; border-radius: 8px;
  text-decoration: none; transition: all .2s;
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: #ea6c10; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,0.4); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid rgba(255,255,255,0.4); color: var(--white);
  font-weight: 600; font-size: 0.92rem;
  padding: 14px 34px; border-radius: 8px;
  text-decoration: none; transition: all .2s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.arrow { font-size: 1.1rem; }

/* ── Footer ──────────────────────────────────── */
footer {
  background: var(--navy-deep);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {}
.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem; font-weight: 800; color: var(--white);
  letter-spacing: 0.05em; margin-bottom: 16px; display: block;
}
.footer-logo span { color: var(--teal); }
.footer-brand p { font-size: 0.83rem; color: rgba(255,255,255,0.45); line-height: 1.8; max-width: 260px; }
.footer-nav h4 {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em;
  color: var(--teal-light); text-transform: uppercase; margin-bottom: 16px;
}
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a {
  font-size: 0.83rem; color: rgba(255,255,255,0.55);
  text-decoration: none; transition: color .2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 0.75rem; color: rgba(255,255,255,0.35); text-decoration: none; }

/* ---- モバイル対応（追加） ---- */
@media (max-width: 768px) {
  .page-hero { padding: 90px 20px 50px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .philosophy-inner, .ceo-grid, .history-grid, .overview-grid, .access-grid { grid-template-columns: 1fr !important; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section-nav-inner { overflow-x: auto; }
}
