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

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo",
    sans-serif;
  color: #1f2933;
  background: #ffffff;
  line-height: 1.7;
  padding-bottom: 56px;
}

:root {
  --green: #2f8f4e;
  --green-dark: #25733f;
  --accent: #ff8a00;
  --accent-dark: #e57a00;
  --soft-bg: #f6faf7;
  --text-subtle: #667085;
  --border: #e6efe9;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.site-header.site-header--scroll-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}

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

.logo {
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--green);
}

.nav {
  display: none;
  gap: 16px;
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.hero {
  padding: 0 0 24px;
}

.hero-inner {
  display: grid;
  gap: 0;
}

/* スマホ: 画像を最上部に、その下にキャッチを重ねる */
.hero-visual {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  left: 0;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-catch {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 16px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  color: #ffffff;
}

.hero-catch__main {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-catch__sub {
  font-size: 0.95rem;
  margin: 0 0 16px;
  opacity: 0.95;
  line-height: 1.5;
}

.hero-catch__cta {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-catch__cta:hover {
  background: var(--accent-dark);
}

/* スマホ: キャッチの下に詳細テキスト（折りたたみ的） */
.hero-copy {
  padding: 20px 0 0;
}

.badge {
  display: inline-block;
  background: #e7f5ec;
  color: var(--green);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero h1 {
  font-size: 1.8rem;
  line-height: 1.4;
  margin: 16px 0 0;
  color: var(--green-dark);
}

.lead {
  font-size: 1rem;
  margin: 16px 0 0;
  color: var(--text-subtle);
  line-height: 1.8;
}

.hero-points {
  padding-left: 18px;
  margin: 16px 0;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.image-placeholder {
  background: #eef7f1;
  color: #7a8a82;
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
}

.announcement {
  background: #fff4d6;
  color: #7a4b00;
  padding: 12px 0;
  font-weight: 600;
}

.section {
  padding: 64px 0;
}

.section h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #267F26;
  background-color: #F8FFF8;
  border: 2px dotted #AADEAA;
  padding: 14px 20px;
  box-sizing: border-box;
}

.section h2.text-light {
  color: #ffffff;
  background-color: transparent;
  border: none;
  padding: 0;
}

/* メイン見出しマーク（h1:縦カプセル／h2:丸み付き縦2本線・左やや太め・折返し時はアイコンも縦に伸長／h3:丸。アイコンと文字を縦中央揃え） */
.hero h1,
main .section h2,
main .feature h3,
main h3.pricing-detail__h,
main .card--blog h3 {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.hero h1::before {
  content: "";
  flex-shrink: 0;
  width: 0.34em;
  min-width: 5px;
  max-width: 8px;
  height: 1.08em;
  border-radius: 999px;
  background: var(--accent);
}

/* h2: 左線をやや太く、stroke-linecap で丸みのある縦2本線（SVG）。折返しで h2 が高くなると align-self: stretch でアイコン領域も追従 */
main .section h2::before {
  content: "";
  flex-shrink: 0;
  align-self: stretch;
  width: 0.58em;
  min-width: 15px;
  max-width: 22px;
  min-height: 1em;
  height: auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 24' preserveAspectRatio='none'%3E%3Cline x1='3.25' y1='3' x2='3.25' y2='21' stroke='%232f8f4e' stroke-width='3.25' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3Cline x1='11' y1='3' x2='11' y2='21' stroke='%232f8f4e' stroke-width='2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
}

main .section h2.text-light::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 24' preserveAspectRatio='none'%3E%3Cline x1='3.25' y1='3' x2='3.25' y2='21' stroke='%23ffffff' stroke-opacity='0.95' stroke-width='3.25' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3Cline x1='11' y1='3' x2='11' y2='21' stroke='%23ffffff' stroke-opacity='0.95' stroke-width='2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
}

main .feature h3::before,
main h3.pricing-detail__h::before,
main .card--blog h3::before {
  content: "";
  flex-shrink: 0;
  width: 0.44em;
  height: 0.44em;
  min-width: 7px;
  max-width: 11px;
  min-height: 7px;
  max-height: 11px;
  border-radius: 50%;
  background: var(--accent);
}

.bg-soft {
  background: var(--soft-bg);
}

.bg-dark {
  background: #40835f;
  color: #ffffff;
}

.text-light {
  color: #ffffff;
}

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

.card {
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  font-weight: 600;
}

.feature-grid {
  display: grid;
  gap: 20px;
}

.feature {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.bg-soft .feature {
  background: #ffffff;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--green-dark);
}

.feature p {
  margin: 0;
  color: var(--text-subtle);
  font-size: 0.95rem;
  line-height: 1.7;
}

.feature ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.feature ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.feature ul li:last-child {
  margin-bottom: 0;
}

.section-intro {
  font-size: 1rem;
  margin-bottom: 24px;
  text-align: center;
  color: var(--text-subtle);
}

.feature-grid--4col {
  display: grid;
  gap: 16px;
}

.section--compact {
  padding-top: 40px;
  padding-bottom: 40px;
}

.section--compact .container > h2 {
  margin-bottom: 12px;
}

.section-intro--compact {
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.note--compact {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 0.85rem;
}

.section--noncognitive .noncognitive-lead {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 16px;
  text-align: left;
}

.noncognitive-lead__figure {
  margin: 0;
  flex-shrink: 0;
  width: 100%;
  max-width: min(100%, 540px);
  align-self: center;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(31, 41, 51, 0.06);
  background: #ffffff;
  line-height: 0;
}

.noncognitive-lead__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: contrast(1.04) saturate(1.03);
}

.noncognitive-lead__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-subtle);
  max-width: 52ch;
  align-self: center;
}

.noncognitive-lead__text strong {
  color: #1f2933;
  font-weight: 700;
}

.noncognitive-hint {
  margin: 0 0 14px;
  font-size: 0.8rem;
  color: var(--text-subtle);
  text-align: center;
}

.noncognitive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.nc-item {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(31, 41, 51, 0.06);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nc-item:hover {
  border-color: rgba(47, 143, 78, 0.28);
  box-shadow: 0 4px 14px rgba(47, 143, 78, 0.1);
}

.nc-item[open] {
  border-color: rgba(255, 138, 0, 0.35);
  box-shadow: 0 4px 16px rgba(255, 138, 0, 0.12);
}

.nc-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  min-height: 72px;
}

.nc-item summary::-webkit-details-marker {
  display: none;
}

.nc-item summary::marker {
  content: "";
}

.nc-item__art {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f0faf3 0%, #e8f4fc 100%);
  border-radius: 12px;
  border: 1px solid rgba(47, 143, 78, 0.12);
}

.nc-item__art svg {
  display: block;
}

.nc-item__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.nc-item__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.25;
}

.nc-item__open-hint {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.nc-item[open] .nc-item__open-hint {
  color: var(--accent-dark);
}

.nc-item__body {
  margin: 0;
  padding: 10px 14px 14px;
  padding-left: calc(14px + 64px + 14px);
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-subtle);
  border-top: 1px dashed rgba(102, 112, 133, 0.25);
}

.nc-item summary:focus {
  outline: none;
}

.nc-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 12px;
}

@media (min-width: 520px) {
  .noncognitive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .nc-item__body {
    padding-right: 16px;
  }
}

@media (min-width: 720px) {
  .section--noncognitive .noncognitive-lead {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
    gap: clamp(20px, 3.5vw, 36px);
  }

  .noncognitive-lead__figure {
    flex: 0 1 clamp(300px, 40%, 440px);
    max-width: none;
    width: auto;
    align-self: flex-start;
  }

  .noncognitive-lead__figure img {
    aspect-ratio: auto;
    object-fit: contain;
    max-height: min(420px, 70vh);
  }

  .noncognitive-lead__text {
    max-width: none;
    flex: 1;
    min-width: 0;
    align-self: stretch;
    padding-top: 2px;
  }
}

@media (min-width: 900px) {
  .noncognitive-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .nc-item__body {
    padding-right: 18px;
  }
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.split {
  display: grid;
  gap: 20px;
  align-items: center;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 12px;
}

.step-list li {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border);
}

/* 無料体験の流れ：番号＋縦線で一連のフロー表示 */
.step-list--flow {
  counter-reset: flow-step;
  gap: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.step-list--flow li {
  position: relative;
  padding: 16px 18px 20px 58px;
  margin: 0;
  border-radius: 0;
  border: 1px solid var(--border);
  border-bottom: none;
  box-shadow: none;
}

.step-list--flow li:first-child {
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.step-list--flow li:last-child {
  border-bottom: 1px solid var(--border);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

.step-list--flow li::before {
  counter-increment: flow-step;
  content: counter(flow-step);
  position: absolute;
  left: 14px;
  top: 18px;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(145deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(37, 115, 63, 0.25);
  z-index: 2;
}

.step-list--flow li::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 54px;
  bottom: 0;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--green) 0%, rgba(47, 143, 78, 0.35) 70%, rgba(47, 143, 78, 0.12) 100%);
  z-index: 0;
}

.step-list--flow li:last-child::after {
  display: none;
}

.step-list--flow li + li {
  border-top: none;
  margin-top: -1px;
}

.note {
  font-size: 0.9rem;
  color: var(--text-subtle);
}

.faq details {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.section-cta {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.card-date {
  color: var(--text-subtle);
  font-size: 0.85rem;
  margin: 0 0 8px;
}

.card-text {
  font-weight: 400;
  margin: 0;
}

.section-intro--blog {
  text-align: center;
  margin: -8px auto 20px;
  max-width: 560px;
  font-size: 0.9rem;
  color: var(--text-subtle);
}

.blog-news__status {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-subtle);
  margin: 0 0 16px;
}

.blog-news__status[hidden] {
  display: none;
}

.card--blog .card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.card--blog .card__link:hover h3 {
  color: var(--green);
}

.card--blog .card-date {
  margin: 0 0 8px;
}

.card--blog h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  line-height: 1.45;
}

.card--blog .card-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-subtle);
}

.card--blog-fallback .card-text {
  font-weight: 400;
}

.card--blog-fallback a {
  color: var(--green-dark);
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 16px;
  max-width: 520px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d0d5dd;
  font-size: 1rem;
}

.curved-top {
  position: relative;
  overflow: visible;
}

.curved-top::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -10%;
  width: 120%;
  height: 40px;
  background: var(--soft-bg);
  border-bottom-left-radius: 50% 100%;
  border-bottom-right-radius: 50% 100%;
}

.curved-top .container {
  position: relative;
  z-index: 1;
}

.section-text {
  margin-top: 16px;
}

.teacher-title {
  font-weight: 700;
  margin: 0 0 12px;
}

.teacher-message {
  margin: 0 0 20px;
}

/* ----- 保護者の声セクション（落ち着いた柔らかさ・明るいトーン） ----- */
.section--voices-parents {
  position: relative;
  background: linear-gradient(180deg, #f8faf8 0%, #f0f5f0 50%, #f5f9f5 100%);
  overflow: hidden;
}

.voices-parents-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.6) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(230, 245, 235, 0.5) 0%, transparent 45%);
  pointer-events: none;
}

.section--voices-parents .container {
  position: relative;
  z-index: 1;
}

.voices-parents-lead {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-subtle);
  margin: -8px 0 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.voice-grid--parents {
  display: grid;
  gap: 20px;
}

.voice-card--parent {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 24px 24px 28px;
  border: 1px solid rgba(230, 239, 233, 0.8);
  box-shadow:
    0 2px 8px rgba(37, 115, 63, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.voice-card--parent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--green) 0%, #6ba87a 100%);
  opacity: 0.85;
}

.voice-card--parent:hover {
  box-shadow:
    0 8px 24px rgba(37, 115, 63, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.04);
  border-color: rgba(47, 143, 78, 0.2);
}

.voice-card__meta {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.voice-card__quote {
  margin: 0;
  padding: 0;
  border: none;
}

.voice-card__quote p {
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.85;
  color: #2d3748;
  margin: 0;
}

@media (min-width: 768px) {
  .voice-grid--parents {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .voice-card--parent {
    padding: 28px 28px 28px 32px;
  }

  .voice-card__quote p {
    font-size: 1rem;
  }
}

/* ----- 会員の声（手書き画像）・共通 ----- */
.voice-grid {
  display: grid;
  gap: 16px;
}

.voice-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.voice-grid--images {
  gap: 16px;
}

.voice-card--image {
  padding: 12px;
}

.voice-figure {
  margin: 0;
  background: #fdfdf2;
  border-radius: 12px;
  border: 1px solid #e4e0c8;
  padding: 10px;
}

.voice-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.voice-meta {
  color: var(--text-subtle);
  font-size: 0.9rem;
  margin: 0 0 8px;
}

.info-grid {
  display: grid;
  gap: 16px;
}

.info-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.info-card summary {
  cursor: pointer;
  font-weight: 600;
}

/* ----- 料金・コース詳細（教室のご案内内） ----- */
.info-card--pricing details[open] summary {
  margin-bottom: 16px;
}

.pricing-detail {
  padding-top: 8px;
}

.pricing-detail__h {
  font-size: 1.05rem;
  margin: 20px 0 12px;
  color: var(--green-dark);
}

.pricing-detail__h:first-child {
  margin-top: 0;
}

.pricing-detail__lead {
  font-size: 0.9rem;
  color: var(--text-subtle);
  margin: 0 0 12px;
}

.pricing-note {
  margin-top: 8px;
}

.pricing-source {
  margin-top: 16px;
  font-size: 0.85rem;
}

.pricing-source a {
  color: var(--green-dark);
  text-decoration: underline;
}

.pricing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.pricing-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.9rem;
}

.pricing-table thead th {
  background: var(--soft-bg);
  color: var(--green-dark);
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 2px solid var(--border);
  vertical-align: middle;
}

.pricing-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
  word-break: break-word;
}

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

.pricing-table--entry {
  min-width: 280px;
}

.pricing-table--entry th:nth-child(1),
.pricing-table--entry td:nth-child(1) {
  width: 40%;
}

.pricing-table--entry th:nth-child(2),
.pricing-table--entry td:nth-child(2) {
  width: 60%;
}

/* 教室のご案内（概要表） */
.pricing-table--info {
  min-width: 100%;
  width: 100%;
  table-layout: fixed;
}

.pricing-table--info thead th:nth-child(1) {
  width: 40%;
}

.pricing-table--info thead th:nth-child(2) {
  width: 60%;
}

.pricing-table--info tbody th[scope="row"] {
  width: 40%;
  background: rgba(246, 250, 247, 0.85);
  font-weight: 600;
  color: var(--green-dark);
  text-align: left;
  border-right: 1px solid var(--border);
}

.pricing-table--info tbody td {
  width: 60%;
}

.info-card--summary {
  width: 100%;
  grid-column: 1 / -1;
}

.info-card--summary .pricing-table-wrap {
  width: 100%;
  max-width: 100%;
  background: #ffffff;
}

.info-card--summary .pricing-table {
  min-width: 0;
  width: 100%;
}

/* 月謝3カラム共通：1列目コース名広め / 2列目学習日20% / 3列目月謝 */
.pricing-table--yo th:nth-child(1),
.pricing-table--yo td:nth-child(1) {
  width: 50%;
}

.pricing-table--yo th:nth-child(2),
.pricing-table--yo td:nth-child(2) {
  width: 20%;
}

.pricing-table--yo th:nth-child(3),
.pricing-table--yo td:nth-child(3) {
  width: 30%;
  text-align: right;
  white-space: nowrap;
}

.pricing-table--sho th:nth-child(1),
.pricing-table--sho td:nth-child(1) {
  width: 50%;
}

.pricing-table--sho th:nth-child(2),
.pricing-table--sho td:nth-child(2) {
  width: 20%;
}

.pricing-table--sho th:nth-child(3),
.pricing-table--sho td:nth-child(3) {
  width: 30%;
  text-align: right;
  white-space: nowrap;
}

.pricing-table--chu th:nth-child(1),
.pricing-table--chu td:nth-child(1) {
  width: 50%;
}

.pricing-table--chu th:nth-child(2),
.pricing-table--chu td:nth-child(2) {
  width: 20%;
}

.pricing-table--chu th:nth-child(3),
.pricing-table--chu td:nth-child(3) {
  width: 30%;
  text-align: right;
  white-space: nowrap;
}

.pricing-footnotes {
  margin: 12px 0 0;
  padding-left: 1.2em;
  font-size: 0.85rem;
  color: var(--text-subtle);
  line-height: 1.6;
}

.pricing-footnotes li {
  margin-bottom: 4px;
}

/* タブ（ラジオ＋ラベル・CSSのみ） */
.fee-tab__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fee-tabs__labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.fee-tabs__label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-subtle);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fee-tabs__label:hover {
  border-color: rgba(47, 143, 78, 0.35);
  color: var(--green-dark);
}

.fee-panel {
  display: none;
}

#fee-tab-yo:checked ~ .fee-tabs__labels label[for="fee-tab-yo"],
#fee-tab-sho:checked ~ .fee-tabs__labels label[for="fee-tab-sho"],
#fee-tab-chu:checked ~ .fee-tabs__labels label[for="fee-tab-chu"] {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}

#fee-tab-yo:checked ~ .fee-panel--yo,
#fee-tab-sho:checked ~ .fee-panel--sho,
#fee-tab-chu:checked ~ .fee-panel--chu {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  padding: 32px 0 20px;
  background: #1b3b2a;
  color: #d6e4dc;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  margin: 16px 0 0;
}

.sticky-cta {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.55s,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-cta--idle-visible,
.sticky-cta--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta {
    transition-duration: 0.18s;
  }

  .sticky-cta:not(.sticky-cta--idle-visible):not(.sticky-cta--open) {
    transform: translateY(0);
  }
}

.sticky-cta__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.sticky-cta--open .sticky-cta__buttons {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sticky-cta__buttons[hidden] {
  display: none !important;
}

.sticky-cta__phone,
.sticky-cta__web {
  padding: 12px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.sticky-cta__phone {
  background: var(--green);
  color: #ffffff;
}

.sticky-cta__web {
  background: var(--accent);
  color: #ffffff;
}

.sticky-cta__trigger {
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(255, 138, 0, 0.4);
  transition: box-shadow 0.2s ease, transform 0.1s ease;
}

.sticky-cta__trigger:hover {
  box-shadow: 0 4px 16px rgba(255, 138, 0, 0.45);
}

.sticky-cta__trigger:active {
  transform: scale(0.98);
}

.sticky-cta__trigger[aria-expanded="true"] {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .nav {
    display: inline-flex;
  }

  .hero h1 {
    font-size: 2.4rem;
    justify-content: flex-start;
  }

  .lead {
    font-size: 1.1rem;
  }

  .section h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 32px;
    justify-content: center;
  }

  .section h2:not(.text-light) {
    padding: 16px 24px;
  }

  .section h2.text-light {
    justify-content: center;
  }

  .section-intro {
    font-size: 1.1rem;
  }

  .hero {
    padding: 64px 0 36px;
  }

  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 32px;
  }

  .hero-visual {
    width: auto;
    max-width: none;
    margin-left: 0;
  }

  .hero-visual img {
    aspect-ratio: auto;
    border-radius: 16px;
  }

  .hero-catch {
    display: none;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-cta {
    flex-direction: row;
  }

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

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

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

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

  .split {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .info-card--pricing {
    grid-column: 1 / -1;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .sticky-cta {
    display: none;
  }
}

@media (min-width: 1024px) {
  .feature-grid--4col {
    grid-template-columns: repeat(4, 1fr);
  }

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