:root {
  --ink: #17324d;
  --green: #46b58b;
  --green-dark: #2e9b72;
  --mint: #cfe9d9;
  --coral: #ff856e;
  --coral-soft: #ffd0c7;
  --cream: #fffaf2;
  --paper: #ffffff;
  --muted: #6f7f8d;
  --line: #e8ecef;
  --shadow: 0 14px 40px rgba(41, 68, 84, .09);
  --radius-xl: 42px;
  --radius-lg: 28px;
  --radius-md: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.75;
  letter-spacing: .02em;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(23,50,77,.06);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 34px; height: 40px; position: relative; display: inline-block; }
.brand-mark i { position: absolute; display: block; width: 14px; height: 24px; border-radius: 80% 10% 80% 10%; transform-origin: bottom center; }
.brand-mark i:nth-child(1) { background: var(--green); left: 0; top: 0; transform: rotate(-30deg); }
.brand-mark i:nth-child(2) { background: #65c894; right: 1px; top: 1px; transform: scaleX(-1) rotate(-30deg); }
.brand-mark i:nth-child(3) { background: var(--coral); width: 8px; height: 21px; left: 13px; bottom: 0; border-radius: 8px; transform: rotate(8deg); }
.brand-copy strong { display: block; font-size: 19px; letter-spacing: .05em; line-height: 1.25; }
.brand-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; letter-spacing: .16em; }
.global-nav { margin-left: auto; display: flex; gap: 27px; font-size: 13px; font-weight: 700; }
.global-nav a { position: relative; }
.global-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--green); transition: .25s; }
.global-nav a:hover::after { width: 100%; }
.header-actions { display: flex; gap: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: linear-gradient(135deg, #45b989, #34a979); color: #fff; box-shadow: 0 10px 24px rgba(53,169,121,.25); }
.btn-outline { border: 2px solid var(--green); color: var(--green-dark); background: #fff; }
.btn-small { min-height: 44px; padding-inline: 22px; font-size: 13px; }
.btn-large { min-width: 390px; min-height: 64px; font-size: 20px; }
.btn small { font-size: 12px; }

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #fff9ef 0%, #fffdf8 48%, #f9fbf8 100%);
}
.hero-inner { min-height: 570px; display: grid; grid-template-columns: .92fr 1.3fr; align-items: center; gap: 50px; padding: 52px 0 42px; position: relative; z-index: 2; }
.hero-copy { padding-left: 22px; }
.handwrite { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-style: italic; letter-spacing: .08em; }
.kicker { margin: 0 0 25px; font-size: 20px; line-height: 1.6; transform: rotate(-4deg); display: inline-block; position: relative; }
.kicker::after { content: ""; display: block; width: 165px; height: 2px; margin-top: 8px; background: var(--green); transform: rotate(-6deg); }
.hero h1 { margin: 0 0 24px; font-size: clamp(28px, 5vw, 64px); line-height: 1.16; letter-spacing: .02em; }
.hero h1 span { color: var(--green-dark); }
.hero-lead { margin: 0; font-size: 16px; line-height: 2; font-weight: 600; color: #40546a; }
.hero-visual { position: relative; border-radius: 48% 0 42% 45% / 42% 0 52% 52%; overflow: hidden; box-shadow: var(--shadow); min-height: 455px; }
.hero-visual img { width: 100%; height: 455px; object-fit: cover; object-position: 55% center; }
.photo-note { position: absolute; margin: 0; color: #fff; font-weight: 800; font-size: 17px; line-height: 1.5; text-shadow: 0 2px 8px rgba(0,0,0,.15); transform: rotate(-7deg); }
.note-a { top: 18%; left: 17%; }
.note-b { top: 25%; right: 4%; transform: rotate(8deg); }
.hero-blob { position: absolute; border-radius: 999px; opacity: .9; }
.hero-blob-a { width: 190px; height: 260px; background: #b7dfbf; top: -70px; left: 39%; transform: rotate(28deg); }
.hero-blob-b { width: 160px; height: 230px; background: #ff9d85; right: -60px; bottom: -70px; transform: rotate(28deg); }
.hero-accent { position: absolute; width: 130px; height: 170px; border-radius: 50%; }
.hero-accent-left { left: -78px; bottom: -54px; background: #ffb1a0; }
.hero-accent-right { right: -58px; top: 115px; background: #ff9b80; }

.question-nav { background: var(--cream); padding: 34px 0 42px; border-top: 1px solid #f1ece3; }
.section-heading-center { text-align: center; }
.section-heading h2 { margin: 0 0 28px; font-size: 34px; letter-spacing: .04em; }
.section-heading h2 span { color: var(--coral); font-size: 1.4em; }
.eyebrow { margin: 0 0 5px; color: var(--green-dark); font-size: 12px; letter-spacing: .18em; font-weight: 800; }
.question-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.question-card { min-height: 112px; display: grid; grid-template-columns: 68px 56px 1fr 34px; align-items: center; gap: 10px; padding: 18px 18px; border-radius: 18px; background: #fff; box-shadow: 0 7px 25px rgba(29,65,81,.05); }
.question-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.question-card { transition: .25s; }
.question-number { color: var(--green); font: 800 34px/1 Georgia, serif; }
.question-card.warm .question-number, .question-card.warm .question-icon { color: var(--coral); }
.question-icon { color: var(--green); font-weight: 900; font-size: 25px; text-align: center; }
.question-card strong { font-size: 17px; line-height: 1.55; }
.arrow { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #e8f6ef; color: var(--green-dark); font-size: 28px; line-height: 1; }
.question-card.warm .arrow { background: #fff0ec; color: var(--coral); }

.faq-block { background: #fff; }
.faq-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 74px; padding: 42px 0; min-height: 360px; }
.faq-row-reverse .faq-copy { order: 2; }
.faq-row-reverse .faq-photo { order: 1; }
.question-label { color: var(--green-dark); font-size: 12px; font-weight: 900; letter-spacing: .14em; margin: 0 0 8px; }
.warm-text { color: var(--coral); }
.faq-copy h3 { margin: 0 0 14px; font-size: 27px; line-height: 1.45; }
.faq-copy p { color: #4f6071; font-size: 15px; margin: 0 0 22px; }
.text-btn { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; padding: 0 22px; border: 1.5px solid var(--green); border-radius: 999px; color: var(--green-dark); font-weight: 800; }
.warm-border { border-color: var(--coral); color: var(--coral); }
.round-photo { position: relative; overflow: hidden; border-radius: 44px 44px 64px 44px; min-height: 250px; }
.round-photo img { width: 100%; height: 250px; object-fit: cover; }
.school-photo img { object-position: center 52%; }
.teacher-photo img { object-position: 70% 45%; }
.scribble { position: absolute; right: 15px; top: 18px; display: inline-block; padding: 9px 13px; background: rgba(255,255,255,.9); border-radius: 14px; font: 700 14px/1.5 "Yu Mincho", serif; transform: rotate(5deg); }
.scribble.light { left: 15px; right: auto; bottom: 16px; top: auto; color: #fff; background: rgba(43,65,55,.46); transform: rotate(-5deg); }
.scribble.dark { color: var(--ink); }

.cta { position: relative; overflow: hidden; min-height: 205px; border-top: 1px solid rgba(0,0,0,.04); }
.cta-bg { position: absolute; inset: 0; background: linear-gradient(rgba(235,248,255,.6), rgba(246,252,249,.75)), url('assets/hero.PNG') center 45% / cover no-repeat; filter: saturate(.85) brightness(1.12); }
.cta-inner { min-height: 205px; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 160px; align-items: center; gap: 34px; }
.cta-kicker { margin: 0 0 4px; font-size: 17px; transform: rotate(-3deg); display: inline-block; }
.cta h2 { margin: 0; font-size: 20px; }
.cta-badge { width: 150px; height: 150px; border-radius: 50%; background: #ff927b; color: #fff; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 14px; line-height: 1.5; border: 3px solid rgba(255,255,255,.8); box-shadow: 0 10px 28px rgba(255,133,110,.25); }

.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-inner { min-height: 112px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 38px; }
.footer-nav { display: flex; justify-content: center; gap: 30px; font-size: 12px; font-weight: 700; }
.copyright { font-size: 10px; color: var(--muted); line-height: 1.7; text-align: right; }

@media (max-width: 1100px) {
  .global-nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: .9fr 1.1fr; gap: 28px; }
  .faq-row { gap: 42px; }
}

@media (max-width: 820px) {
  .wrap { width: min(100% - 28px, 720px); }
  .header-inner { width: calc(100% - 24px); min-height: 68px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { display: none; }
  .header-actions .btn-outline { display: none; }
  .btn-small { min-height: 40px; padding-inline: 16px; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; padding: 36px 0 28px; gap: 28px; }
  .hero-copy { padding: 0 8px; }
  .hero h1 { font-size: clamp(42px, 11vw, 62px); }
  .hero-visual { min-height: 360px; border-radius: 34px; }
  .hero-visual img { height: 360px; object-position: 62% center; }
  .hero-blob-a { left: 65%; top: -90px; }
  .question-grid { grid-template-columns: 1fr; }
  .faq-row, .faq-row-reverse { grid-template-columns: 1fr; gap: 22px; padding: 34px 0; }
  .faq-row-reverse .faq-copy, .faq-row-reverse .faq-photo { order: initial; }
  .faq-copy h3 { font-size: 23px; }
  .cta-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 26px 0; gap: 18px; }
  .btn-large { min-width: min(100%, 360px); }
  .cta-badge { width: 124px; height: 124px; font-size: 12px; }
  .footer-inner { grid-template-columns: 1fr; padding: 28px 0; justify-items: center; }
  .footer-nav { flex-wrap: wrap; gap: 14px 20px; }
  .copyright { text-align: center; }
}

@media (max-width: 520px) {
  .brand-mark { width: 28px; height: 34px; }
  .brand-copy strong { font-size: 14px; }
  .question-card { grid-template-columns: 54px 40px 1fr 28px; padding: 14px 12px; }
  .question-number { font-size: 29px; }
  .question-card strong { font-size: 14px; }
  .hero-visual img { height: 310px; }
  .hero-visual { min-height: 310px; }
  .photo-note { font-size: 14px; }
  .desktop-only { display: none; }
  .round-photo, .round-photo img { min-height: 220px; height: 220px; }
}

/* Compact campus comparison table */
.campus-mini-table {
  margin: 22px 0 24px;
  overflow: hidden;
  border: 1px solid #e7e9e5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(40, 62, 80, .055);
}
.campus-mini-row {
  display: grid;
  grid-template-columns: 110px 1fr 1.15fr;
  align-items: stretch;
}

.campus-mini-row > * {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.55;
  border-bottom: 1px solid #edf0ec;
}
.campus-mini-row > * + * { border-left: 1px solid #edf0ec; }
.campus-mini-row:last-child > * { border-bottom: 0; }
.campus-mini-head {
  background: #f3f8f5;
  color: #397b61;
  font-weight: 700;
}
.campus-mini-row strong {
  color: #1f3654;
  background: #fbfcfb;
  font-weight: 700;
}
.campus-mini-table.two-columns .campus-mini-row {
  grid-template-columns: 140px minmax(0, 1fr);

}
@media (max-width: 768px) {
  .campus-mini-table { overflow-x: auto; border-radius: 14px; }
  .campus-mini-row { min-width: 80vw; grid-template-columns: 100px 1fr 1.15fr; }
  .campus-mini-row > * { padding: 11px 12px; font-size: 12.5px; }
}
