﻿:root {
  --navy: #0d2a52;
  --blue: #226fbd;
  --sky: #e9f6ff;
  --sky-2: #d6ecfb;
  --ink: #152238;
  --muted: #5b6a7e;
  --line: #dce7f2;
  --white: #ffffff;
  --soft: #f7fbff;
  --warm: #fff7ef;
  --green: #11a64a;
  --gold: #f7c948;
  --shadow: 0 18px 40px rgba(13, 42, 82, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 230px; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; flex: 0 0 auto; }
.brand small, .brand strong { display: block; line-height: 1.08; }
.brand small { color: var(--blue); font-size: 11px; font-weight: 900; }
.brand strong { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 24px; letter-spacing: 0; }
.global-nav { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 13px; font-weight: 900; }
.global-nav a { padding: 8px 8px; border-radius: 8px; white-space: nowrap; }
.global-nav a:hover, .global-nav a[aria-current="page"] { color: var(--blue); background: var(--sky); }
.menu-button { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.menu-button span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--navy); }
.global-nav a.nav-event { color: var(--navy); background: var(--gold); }
.global-nav a.nav-event:hover, .global-nav a.nav-event[aria-current="page"] { color: var(--navy); background: var(--gold); }

.hero {
  background:
    linear-gradient(135deg, rgba(233, 246, 255, 0.92), rgba(255, 255, 255, 0.95) 48%, rgba(255, 247, 239, 0.95)),
    var(--soft);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 46px;
  align-items: center;
  min-height: 590px;
  padding: 72px 0 58px;
}
.eyebrow, .section-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 14px;
  padding: 4px 12px;
  color: var(--blue);
  background: var(--sky);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
h1, h2, h3, p { letter-spacing: 0; }
h1 { margin: 0; color: var(--navy); font-size: 42px; line-height: 1.25; }
h2 { margin: 0; color: var(--navy); font-size: 31px; line-height: 1.35; }
h3 { margin: 0; color: var(--navy); font-size: 21px; line-height: 1.4; }
p { margin: 14px 0 0; color: var(--muted); font-weight: 700; }
.hero-copy p { max-width: 680px; font-size: 17px; }
.hero-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 8px solid var(--white);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 58%, rgba(13, 42, 82, 0.64));
  pointer-events: none;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-photo figcaption {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 16px;
  padding: 10px 14px;
  color: var(--white);
  background: rgba(13, 42, 82, 0.72);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.55;
}
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  max-width: 100%;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}
.button.primary { color: var(--white); background: var(--green); box-shadow: 0 12px 24px rgba(17, 166, 74, 0.22); }
.button.secondary { color: var(--navy); background: var(--white); border-color: var(--blue); }
.button.ghost { color: var(--navy); background: var(--sky); border-color: var(--sky-2); }

.breadcrumb { margin: 20px 0; color: var(--muted); font-size: 13px; font-weight: 800; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--blue); }

.section { padding: 70px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 780px; margin-bottom: 26px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 30px;
  align-items: start;
}
.feature-list, .check-list { margin: 0; padding: 0; list-style: none; }
.feature-list {
  display: grid;
  gap: 12px;
  padding: 26px;
  background: var(--warm);
  border: 1px solid #f3dfc8;
  border-radius: 8px;
}
.feature-list li, .check-list li { position: relative; padding-left: 30px; color: var(--ink); font-weight: 800; }
.feature-list li::before, .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 14px;
  height: 14px;
  background: var(--blue);
  border-radius: 4px;
  transform: translateY(-50%);
}
.check-list.compact { display: grid; gap: 8px; margin-top: 18px; }

.table-wrap { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.price-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.price-table th, .price-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.price-table th { color: var(--white); background: var(--navy); font-size: 15px; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:first-child { color: var(--blue); font-weight: 900; }
.price-table td strong { color: var(--navy); font-size: 25px; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.link-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(13, 42, 82, 0.08);
}
.link-card p { flex: 1; }
.link-card a { display: inline-flex; margin-top: 18px; color: var(--blue); font-weight: 900; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.teacher-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.teacher-card { padding: 26px; background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--blue); border-radius: 8px; box-shadow: 0 12px 26px rgba(13, 42, 82, 0.08); }
.teacher-avatar { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 16px; color: var(--blue); background: var(--sky); border-radius: 50%; font-size: 24px; font-weight: 900; }
.teacher-card h3 { margin-bottom: 12px; }
.teacher-card .check-list { display: grid; gap: 8px; }

.teacher-credit { margin: 0; padding: 42px 0 0; color: var(--muted); font-size: 14px; font-weight: 800; line-height: 1.8; text-align: center; }
.related-links { padding-top: 42px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.related-grid a { min-height: 56px; padding: 14px 16px; color: var(--navy); background: var(--soft); border: 1px solid var(--line); border-radius: 8px; font-weight: 900; }

.line-cta { padding: 68px 0; background: linear-gradient(135deg, var(--navy), #1d5e9e); color: var(--white); }
.line-cta h2, .line-cta p, .line-cta li { color: var(--white); }
.line-cta .section-label { color: var(--navy); background: var(--gold); }
.line-cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 34px; align-items: center; }
.qr-card { padding: 18px; color: var(--navy); text-align: center; background: var(--white); border-radius: 8px; box-shadow: var(--shadow); scroll-margin-top: 96px; }
.qr-frame { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden; background: repeating-linear-gradient(45deg, #f3f8ff, #f3f8ff 10px, #e6f1fb 10px, #e6f1fb 20px); border: 1px dashed var(--sky-2); border-radius: 8px; }
.qr-frame img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; background: var(--white); }
.qr-fallback { position: absolute; z-index: 1; color: var(--muted); font-weight: 900; line-height: 1.5; }
.qr-frame.is-missing img { display: none; }
.qr-card strong { display: block; margin-top: 12px; color: var(--green); }
.qr-card .qr-caption { margin: 8px 0 0; color: var(--muted); font-size: 13px; font-weight: 800; line-height: 1.6; }

.narrow { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 24px rgba(13, 42, 82, 0.07); }
.faq-list summary { padding: 18px 20px; color: var(--navy); font-size: 18px; font-weight: 900; cursor: pointer; }
.faq-list p { padding: 0 20px 20px; margin: 0; }
.contact-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-methods a { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 24px rgba(13, 42, 82, 0.07); }
.contact-methods span { display: block; color: var(--blue); font-weight: 900; }
.contact-methods strong { display: block; margin-top: 8px; color: var(--navy); font-size: 20px; overflow-wrap: anywhere; }

.site-footer { padding: 44px 0 26px; background: var(--navy); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr); gap: 32px; align-items: start; }
.site-footer .brand strong, .site-footer .brand small, .site-footer p { color: var(--white); }
.site-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.site-footer nav a { color: var(--white); font-weight: 800; opacity: 0.92; }
.copyright { display: block; width: min(1120px, calc(100% - 40px)); margin: 28px auto 0; color: rgba(255, 255, 255, 0.75); text-align: center; }

.event-banner { padding: 16px 0; color: var(--navy); background: var(--gold); }
.event-banner-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; text-align: center; font-weight: 900; }
.event-banner strong { font-size: 16px; }
.event-banner span { font-size: 14px; }
.event-banner a { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 16px; color: var(--white); background: var(--navy); border-radius: 999px; font-size: 13px; white-space: nowrap; }
@media (max-width: 640px) {
  .event-banner { padding: 12px 0; }
  .event-banner-inner { font-size: 13px; }
}

.schedule-note { margin-top: 16px; color: var(--muted); font-weight: 700; font-size: 14px; }
.flyer-figure { max-width: 320px; margin: 26px auto 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.flyer-figure img { width: 100%; height: auto; }
.flyer-figure figcaption { padding: 10px 14px; color: var(--muted); font-size: 13px; font-weight: 800; text-align: center; }

@media (max-width: 1120px) {
  .menu-button { display: block; }
  .global-nav { position: absolute; top: 74px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .global-nav.is-open { display: flex; }
  .global-nav a { padding: 12px; }
}
@media (max-width: 900px) {
  .hero-grid, .story-grid, .line-cta-grid, .footer-grid, .contact-methods { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; padding: 54px 0 42px; }
  .hero-photo { max-width: 680px; }
  .card-grid, .related-grid, .teacher-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qr-card { max-width: 260px; }
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
}
@media (max-width: 640px) {
  .container, .header-inner { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 66px; }
  .global-nav { top: 66px; }
  .brand { min-width: 0; }
  .brand-logo { width: 40px; height: 40px; }
  .brand strong { font-size: 19px; }
  .hero-grid { padding: 42px 0 34px; gap: 28px; }
  .hero-photo { aspect-ratio: 4 / 3; border-width: 6px; }
  h1 { font-size: 29px; }
  h2 { font-size: 24px; }
  .section { padding: 50px 0; }
  .button { width: 100%; }
  .feature-list { padding: 20px; }
  .card-grid, .related-grid, .site-footer nav, .teacher-grid { grid-template-columns: 1fr; }
  .price-table { table-layout: auto; }
  .price-table thead { display: none; }
  .price-table tr { display: grid; gap: 4px; padding: 16px; border-bottom: 1px solid var(--line); }
  .price-table td { display: block; padding: 0; border-bottom: 0; }
  .price-table td:first-child { font-size: 18px; }
}

.success-header { gap: 14px; }
.success-header .global-nav { flex: 1; justify-content: center; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.header-phone {
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}
.header-phone::before {
  content: "TEL ";
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(17, 166, 74, 0.2);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
}
.success-hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
}
.success-hero-photo {
  position: absolute;
  inset: 0;
}
.success-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 42, 82, 0.78), rgba(13, 42, 82, 0.28) 48%, rgba(13, 42, 82, 0.08)),
    linear-gradient(0deg, rgba(13, 42, 82, 0.68), transparent 46%);
}
.success-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.success-hero-copy {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 82px;
}
.success-hero-copy .eyebrow {
  color: var(--navy);
  background: var(--gold);
}
.success-hero-copy h1 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.16;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}
.success-hero-copy p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 18px;
}
.home-intro { background: var(--white); }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.intro-grid p {
  margin-top: 46px;
  font-size: 17px;
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.image-tile {
  display: grid;
  grid-template-rows: minmax(260px, 0.86fr) auto;
  overflow: hidden;
  min-height: 560px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.image-tile img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.image-tile div { padding: 28px; }
.image-tile span,
.column-grid a::before {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}
.image-tile h3 {
  margin-top: 6px;
  font-size: 24px;
}
.image-tile a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.concept-band {
  padding: 76px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 42, 82, 0.92), rgba(34, 111, 189, 0.88)),
    var(--navy);
}
.concept-band h2,
.concept-band p,
.concept-band li { color: var(--white); }
.concept-band .section-label {
  color: var(--navy);
  background: var(--gold);
}
.concept-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.76fr);
  gap: 34px;
  align-items: center;
}
.concept-band .feature-list {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.28);
}
.concept-band .feature-list li::before { background: var(--gold); }
.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: center;
}
.access-photo {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.access-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.column-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.column-grid a {
  min-height: 126px;
  padding: 22px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(13, 42, 82, 0.08);
  font-size: 17px;
  font-weight: 900;
}
.column-grid a::before {
  content: "Column";
  display: block;
  margin-bottom: 8px;
}
.feature-gallery { overflow: hidden; }
.feature-gallery .section-label,
.feature-gallery h2 { margin-left: calc((100% - min(1120px, calc(100% - 40px))) / 2); }
.feature-gallery h2 {
  max-width: 680px;
  margin-bottom: 28px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.86fr 0.86fr;
  gap: 18px;
  align-items: stretch;
}
.gallery-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.gallery-grid img:first-child { height: 440px; }

@media (max-width: 1120px) {
  .success-header .global-nav { justify-content: flex-start; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 900px) {
  .success-hero { min-height: 610px; }
  .success-hero-copy { padding: 84px 0 64px; }
  .intro-grid,
  .tile-grid,
  .concept-grid,
  .access-grid { grid-template-columns: 1fr; }
  .intro-grid p { margin-top: 0; }
  .image-tile { min-height: 0; grid-template-rows: auto auto; }
  .column-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid img,
  .gallery-grid img:first-child { height: 300px; }
  .gallery-grid img:first-child { grid-column: 1 / -1; height: 360px; }
}
@media (max-width: 760px) {
  .header-phone { display: none; }
  .header-cta { min-height: 40px; padding: 9px 12px; font-size: 12px; }
}
@media (max-width: 640px) {
  .success-hero { min-height: 620px; align-items: end; }
  .success-hero-photo::after {
    background:
      linear-gradient(180deg, rgba(13, 42, 82, 0.14), rgba(13, 42, 82, 0.84) 66%),
      linear-gradient(90deg, rgba(13, 42, 82, 0.35), rgba(13, 42, 82, 0.12));
  }
  .success-hero-photo img { object-position: center top; }
  .success-hero-copy {
    width: min(100% - 28px, 1120px);
    padding: 250px 0 44px;
  }
  .success-hero-copy h1 { font-size: 32px; }
  .success-hero-copy p { font-size: 16px; }
  .tile-grid { gap: 16px; }
  .image-tile img { aspect-ratio: 4 / 3; }
  .image-tile div { padding: 22px; }
  .concept-band { padding: 54px 0; }
  .access-photo { aspect-ratio: 4 / 3; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img,
  .gallery-grid img:first-child { height: auto; aspect-ratio: 4 / 3; }
  .feature-gallery .section-label,
  .feature-gallery h2 { margin-left: 14px; }
}
@media (max-width: 460px) {
  .header-actions { display: none; }
}
