:root {
  --ivory: #F7F3EC;
  --navy: #1B2B4B;
  --text: #2C2C2C;
  --muted: #5A5A5A;
  --accent: #E0883C;
  --white: #FFFFFF;
  --shadow: 0 6px 20px rgba(0,0,0,.06);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow { width: min(840px, calc(100% - 40px)); }

.section {
  padding: 56px 0;
}

.section-white { background: var(--white); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(27,43,75,.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-family: "Noto Serif JP", serif;
  font-size: 1.35rem;
}

.brand-name,
.brand-sub { display: block; line-height: 1.15; }

.brand-name {
  font-family: "Noto Serif JP", serif;
  font-size: 1.2rem;
}

.brand-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .08em;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  display: grid;
  gap: 2px;
  padding: 16px 20px 24px;
  background: rgba(255,255,255,.96);
  border-top: 1px solid rgba(27,43,75,.08);
  box-shadow: var(--shadow);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.menu-open .site-nav {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-nav a {
  padding: 12px;
  color: var(--navy);
  font-weight: 700;
}

.nav-cta {
  margin-top: 6px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white) !important;
  text-align: center;
}

.hero {
  padding-top: 112px;
}

.hero-grid,
.access-grid,
.image-section {
  display: grid;
  gap: 32px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
}

h1,
.section-title {
  margin: 0;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  line-height: 1.35;
}

h1 {
  font-size: clamp(2rem, 6vw, 2.7rem);
}

.section-title {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(1.85rem, 8vw, 3rem);
}

.section-lead,
.hero-lead {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-lead { max-width: 34em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 28px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.btn:hover,
.nav-cta:hover,
.mobile-fixed-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(27,43,75,.16);
}

.btn-primary { background: var(--navy); color: var(--white); }
.btn-accent { width: 100%; background: var(--accent); color: var(--white); }

.hero-image img,
.wide-image {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-grid,
.course-grid,
.fee-grid {
  display: grid;
  gap: 16px;
}

.card,
.course-card,
.fee-card,
.message,
.contact-form,
.achievement {
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.card {
  padding: 26px;
}
.card-img {
  display: block;
  width: calc(100% + 52px);
  height: 170px;
  margin: -26px -26px 20px;
  border-radius: 14px 14px 0 0;
  object-fit: cover;
}

.card-number,
.course-card span,
.fee-card span {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
}

.card h3 {
  margin: 10px 0 12px;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: 1.22rem;
  line-height: 1.45;
}

.card p { margin: 0; color: var(--muted); }

.course-card,
.fee-card {
  padding: 22px;
  display: grid;
  gap: 6px;
}

.course-card strong,
.fee-card strong {
  color: var(--navy);
  font-size: 1.15rem;
}

.note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .94rem;
}

.achievement {
  padding: 32px;
  text-align: center;
}

.years {
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
}

.years .count {
  font-size: clamp(4.2rem, 22vw, 7rem);
  line-height: 1;
}

.years span:last-child { font-size: 1.6rem; }
.achievement p { margin: 12px 0 0; color: var(--muted); }

.result-text {
  margin: 24px 0 0;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: 1.25rem;
  line-height: 1.8;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-top: 28px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.tab {
  flex: 0 0 auto;
  border: 1px solid rgba(27,43,75,.18);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  padding: 10px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tab.is-active {
  background: var(--navy);
  color: var(--white);
}

.price-panel {
  margin-top: 20px;
}

.price-panel h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: .92rem;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(27,43,75,.09);
  text-align: right;
  white-space: nowrap;
}

th:first-child,
td:first-child {
  text-align: left;
}

thead th {
  background: var(--navy);
  color: var(--white);
}

tbody th {
  color: var(--navy);
  font-weight: 700;
}

.fee-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 22px;
}

.fee-card {
  text-align: center;
}

.wide-image { aspect-ratio: 16 / 10; }

.message {
  position: relative;
  margin: 0;
  padding: 30px;
}

.message::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 20px;
  width: 4px;
  height: calc(100% - 40px);
  border-radius: 99px;
  background: var(--accent);
}

.message p,
.message cite {
  display: block;
  margin-left: 18px;
}

.message p:first-child { margin-top: 0; }
.message p { color: var(--muted); }
.message cite {
  margin-top: 18px;
  color: var(--navy);
  font-style: normal;
  font-weight: 700;
  text-align: right;
}

.info-list {
  margin: 0;
  display: grid;
  gap: 14px;
}

.info-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(27,43,75,.14);
}

.info-list dt {
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
}

.info-list dd {
  margin: 4px 0 0;
  color: var(--navy);
  font-weight: 700;
}

.map-frame iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 14px;
  background: #ebe4d8;
  box-shadow: var(--shadow);
}

.contact-form {
  margin-top: 28px;
  padding: 24px;
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(27,43,75,.18);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
}

textarea { resize: vertical; }
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(224,136,60,.25);
  border-color: var(--accent);
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.footer {
  padding: 36px 0 96px;
  background: var(--navy);
  color: rgba(255,255,255,.82);
}

.footer-grid {
  display: grid;
  gap: 14px;
}

.footer .brand { color: var(--white); }
.footer .brand-mark { background: var(--white); color: var(--navy); }
.footer .brand-sub { color: rgba(255,255,255,.72); }
.footer p { margin: 0; font-size: .92rem; }

.mobile-fixed-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: grid;
  place-items: center;
  min-height: 52px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.reveal,
.slide-title {
  opacity: 0;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal { transform: translateY(24px); }
.slide-title { transform: translateX(-24px); }
.is-visible { opacity: 1; transform: translate(0,0); }

@media (min-width: 760px) {
  .section { padding: 96px 0; }
  .hero { padding-top: 150px; }
  .hero-grid {
    grid-template-columns: 1fr 1.02fr;
    align-items: center;
    gap: 56px;
  }
  .card-grid.three,
  .course-grid { grid-template-columns: repeat(3, 1fr); }
  .course-card:last-child { grid-column: span 3; }
  .fee-grid { grid-template-columns: repeat(4, 1fr); }
  .image-section {
    grid-template-columns: .72fr 1.28fr;
    align-items: center;
    gap: 48px;
  }
  .access-grid {
    grid-template-columns: .86fr 1.14fr;
    align-items: start;
    gap: 48px;
  }
  .contact-form { padding: 32px; }
}

@media (min-width: 980px) {
  .site-header { padding: 0 36px; }
  .menu-toggle { display: none; }
  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a { padding: 8px 0; font-size: .92rem; }
  .nav-cta {
    margin: 0 0 0 4px;
    padding: 10px 18px !important;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  }
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
  .course-grid { grid-template-columns: repeat(4, 1fr); }
  .course-card:last-child { grid-column: auto; }
  .mobile-fixed-cta { display: none; }
  .footer { padding-bottom: 44px; }
  .footer-grid {
    grid-template-columns: 1.1fr 1.8fr .8fr .6fr;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .reveal,
  .slide-title {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 写真バンド（全幅・上品なフェードイン） */
.photo-band {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
}
.photo-band img {
  display: block;
  width: 100%;
  height: clamp(200px, 32vw, 400px);
  object-fit: cover;
}
.nw { white-space: nowrap; }

/* 対象カード：コンパクト＆「料金へ」リンク */
.course-grid { grid-template-columns: 1fr 1fr; }
.course-card {
  padding: 16px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
a.course-card { text-decoration: none; color: inherit; cursor: pointer; }
.course-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.10); }

/* スマホでは写真バンドを全幅に */
.swipe-hint { display: none; }
.price-panel table { table-layout: fixed; }
.price-panel th:first-child, .price-panel td:first-child { width: 26%; white-space: normal; }
.price-panel thead th:not(:first-child),
.price-panel tbody td:not(:first-child) { text-align: center; }

@media (max-width: 759px) {
  .photo-band { width: 100%; border-radius: 0; }
  .swipe-hint { display: block; text-align: center; color: var(--accent); font-size: .82rem; font-weight: 700; margin: 0 0 10px; }
}

/* 全幅バナー型ヒーロー */
.hero-banner {
  position: relative;
  min-height: clamp(360px, 46vh, 420px);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(18,28,52,.82) 0%, rgba(18,28,52,.55) 60%, rgba(18,28,52,.42) 100%);
  z-index: 1;
}
.hero-banner-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 104px;
  padding-bottom: 40px;
}
.hero-banner .eyebrow { color: #f2b277; }
.hero-banner h1 { color: #fff; }
.hero-banner .hero-lead { color: rgba(255,255,255,.92); max-width: 30em; }
.hero-banner .btn { width: auto; align-self: flex-start; }
@media (max-width: 559px) { .hero-banner .btn { width: 100%; } }
