@charset "utf-8";

:root {
  --navy-950: #091d3e;
  --navy-900: #0f2c59;
  --navy-800: #17407a;
  --navy-100: #e8f0fa;
  --navy-50: #f4f7fc;
  --orange-700: #b84400;
  --orange-600: #c2410c;
  --orange-500: #ea580c;
  --red-600: #b23f3b;
  --text-900: #0f172a;
  --text-700: #334155;
  --text-500: #475569;
  --border-200: #dbe4f0;
  --bg-page: #ffffff;
  --bg-soft: #f8fafc;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(15, 44, 89, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 44, 89, 0.1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Meiryo", system-ui, -apple-system, sans-serif;
  color: var(--text-900);
  background: var(--bg-page);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  word-break: normal;
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-800);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--orange-700);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: #ffffff;
  padding: 10px 16px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-200);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy-900);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--navy-950), var(--navy-800));
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6b00;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-jp {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-900);
}

.brand-en {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-500);
  letter-spacing: 0.03em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-700);
  padding: 8px 6px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover {
  color: var(--navy-900);
}

.site-nav a.nav-cta {
  background: var(--navy-900);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
}

.site-nav a.nav-cta:hover {
  background: var(--navy-800);
  color: #ffffff;
}

/* Hero */
.hero {
  background: linear-gradient(155deg, #091d3e 0%, #0f2c59 58%, #163d75 100%);
  color: #ffffff;
  padding: 46px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffd7ba;
  background: rgba(255, 107, 0, 0.22);
  border: 1px solid rgba(255, 138, 61, 0.45);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: 27px;
  line-height: 1.35;
  font-weight: 800;
}

.hero-lead {
  margin: 0 0 22px;
  font-size: 15.5px;
  color: #e2ecf8;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: #c2410c;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.btn-primary:hover {
  background: #9a3412;
  color: #ffffff;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.72);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.btn-navy {
  background: var(--navy-900);
  color: #ffffff;
}

.btn-navy:hover {
  background: var(--navy-800);
  color: #ffffff;
}

.btn-soft {
  background: var(--navy-100);
  color: var(--navy-900);
  border: 1px solid #c3d6ef;
}

.btn-soft:hover {
  background: #d8e6f8;
  color: var(--navy-950);
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-card-caption {
  padding: 14px 16px;
  font-size: 13px;
  color: #e2ecf8;
  line-height: 1.55;
}

.hero-card-caption strong {
  display: block;
  color: #ffffff;
  font-size: 14.5px;
  margin-bottom: 3px;
}

/* Facts strip */
.facts-strip {
  background: var(--navy-50);
  border-bottom: 1px solid var(--border-200);
  padding: 20px 0;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fact-item {
  background: #ffffff;
  border: 1px solid var(--border-200);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.fact-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-500);
}

.fact-value {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-900);
  margin-top: 2px;
}

/* Sections */
.section {
  padding: 52px 0;
}

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-200);
  border-bottom: 1px solid var(--border-200);
}

.sec-head {
  margin-bottom: 26px;
}

.sec-en {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--orange-700);
  margin-bottom: 4px;
}

.sec-jp {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.35;
}

.sec-lead {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--text-700);
}

/* Business Cards */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--border-200);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.card-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--navy-900);
  background: var(--navy-100);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--navy-900);
}

.card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-700);
}

/* Featured School Banner */
.school-spotlight {
  margin-top: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  border: 2px solid #bfd3ee;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

.spotlight-logo {
  width: 170px;
  margin-bottom: 10px;
}

.spotlight-title {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 800;
  color: var(--navy-900);
}

.spotlight-desc {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--text-700);
}

.funnel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

.funnel-card {
  background: #ffffff;
  border: 1px solid var(--border-200);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.funnel-card h4 {
  margin: 0;
  font-size: 16px;
  color: var(--navy-900);
}

.funnel-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-700);
}

.funnel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.mini-link {
  font-size: 13.5px;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--border-200);
  border-radius: 8px;
  padding: 8px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--navy-900);
}

.mini-link:hover {
  border-color: var(--navy-800);
  background: var(--navy-50);
}

.note-small {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--text-500);
}

/* Company Table */
.profile-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid var(--border-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.profile-table th,
.profile-table td {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-200);
}

.profile-table th {
  background: var(--navy-50);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy-900);
  border-bottom: none;
  padding-bottom: 4px;
}

.profile-table td {
  font-size: 15px;
  color: var(--text-900);
  padding-top: 4px;
}

.profile-table tr:last-child td {
  border-bottom: none;
}

.purpose-list {
  margin: 4px 0 0;
  padding-left: 20px;
}

.purpose-list li {
  margin-bottom: 4px;
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 3px solid #bfd3ee;
  margin-left: 8px;
}

.timeline li {
  position: relative;
  padding: 0 0 22px 22px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #bfd3ee;
}

.tl-date {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--orange-700);
  margin-bottom: 2px;
}

.tl-body {
  margin: 0;
  font-size: 15px;
  color: var(--text-900);
}

/* Access & Contact */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.contact-box {
  background: var(--navy-900);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.contact-box h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.contact-box p {
  margin: 0 0 14px;
  color: #e2ecf8;
  font-size: 14.5px;
}

.tel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 8px;
}

.tel-link:hover {
  color: #ffd7ba;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: #cbd5e1;
  padding: 36px 0 28px;
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  margin: 0 0 8px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-links a {
  color: #e2ecf8;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.copyright {
  margin: 18px 0 0;
  font-size: 12.5px;
  color: #94a3b8;
}

/* Responsive (Tablet & Desktop) */
@media (min-width: 768px) {
  .hero {
    padding: 64px 0 68px;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .facts-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spotlight-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .funnel-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .profile-table th,
  .profile-table td {
    display: table-cell;
    width: auto;
    padding: 15px 18px;
    border-bottom: 1px solid var(--border-200);
    vertical-align: top;
  }

  .profile-table th {
    width: 220px;
    border-right: 1px solid var(--border-200);
  }

  .two-col {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}
