/*
 * 全年齢向けLPだけのスタイル
 * 色・フォントは shared/css/base.css の CSS 変数を使う。
 */

/* ---------- ナビ ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 56px;
  box-sizing: border-box;
  padding: 0 8px 0 16px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.site-nav__name {
  font-weight: 900;
  font-size: 16px;
  color: var(--color-text-blue);
}

.site-nav__tagline {
  font-size: 10px;
  color: var(--color-text-sub);
}

/* ページ内リンク。スマホではメニューボタンで開くパネル、PCではナビに横並び */
.site-nav__links {
  display: none;
}

.site-nav__links.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0;
  padding: 8px 16px 20px;
  list-style: none;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 12px 24px rgba(19, 50, 74, .12);
  animation: menu-open .2s ease-out;
}

.site-nav__links.is-open a:not(.button) {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav__links.is-open .site-nav__cta {
  margin-top: 16px;
}

@keyframes menu-open {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav__links.is-open {
    animation: none;
  }
}

/* セクションへ移動したとき、見出しが上のナビに隠れないようにする */
section[id] {
  scroll-margin-top: 56px;
}

.menu-button[aria-expanded="true"] .menu-button__open,
.menu-button:not([aria-expanded="true"]) .menu-button__close {
  display: none;
}

.menu-button {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--color-text-blue);
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  background: var(--color-primary);
  overflow: hidden;
}

.hero__visual {
  position: relative;
  padding: 20px 16px 46px;
  overflow: hidden;
}

/* 写真2枚をずらして重ねる。子どもの写真を左上、少し小さい大人の写真を右下に置く。
 * 2枚とも同じ白い枠と影を付けてそろえる。
 * 大人の写真は通常の配置にして、上の余白（%＝幅に比例）で下へずらす。
 * こうすると画面幅が変わっても、2枚の上端・下端が常に上下にずれ、写真部分の高さも幅に合わせて伸び縮みする */
.hero__photo {
  position: absolute;
  overflow: hidden;
  box-sizing: border-box;
  border: 4px solid var(--color-white);
  background: var(--color-bg-light);
  box-shadow: 0 8px 20px rgba(19, 50, 74, .25);
}

.hero__photo--kid {
  left: 16px;
  top: 20px;
  width: 56%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
}

.hero__photo--adult {
  position: relative;
  z-index: 1;
  width: 54%;
  margin: 22% 0 0 auto;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

/* AIで作った写真なので、実際の生徒の写真と誤解されないように書いておく（子どもの写真の左上に重ねる） */
.hero__note {
  position: absolute;
  left: 24px;
  top: 28px;
  margin: 0;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--color-text-blue);
  color: var(--color-white);
  font-size: 11px;
}

.hero__bubble--1 { left: 12%; bottom: 40px; width: 14px; height: 14px; }
.hero__bubble--2 { left: 30%; bottom: 30px; width: 8px; height: 8px; animation-delay: 1.6s; }
.hero__bubble--3 { left: 74%; bottom: 36px; width: 16px; height: 16px; animation-delay: .8s; }
.hero__bubble--4 { left: 88%; bottom: 30px; width: 10px; height: 10px; animation-delay: 2.6s; }

.hero__waves {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 44px;
  overflow: hidden;
  z-index: 3;
}

.hero__wave {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  color: var(--color-primary);
}

.hero__wave--back {
  bottom: 6px;
  opacity: .6;
  color: var(--color-water);
}

.hero__body {
  padding: 10px 20px 30px;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__area {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hero__title {
  margin: 0;
  font-weight: 900;
  font-size: 30px;
  line-height: 1.45;
}

.hero__catch {
  align-self: flex-end;
  margin-top: 4px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-text);
  font-weight: 900;
  font-size: 15px;
  transform: rotate(-4deg);
}

/* ---------- ボタン ---------- */
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  text-decoration: none;
}

.button--primary,
.button--primary:hover {
  color: var(--color-text);
}

.button--primary {
  gap: 8px;
  height: 56px;
  background: var(--color-accent);
  font-weight: 900;
  font-size: 16px;
}

.button--outline,
.button--outline:hover {
  color: var(--color-text-blue);
}

.button--outline {
  height: 50px;
  border: 1.5px solid var(--color-text-blue);
  font-weight: 700;
  font-size: 15px;
}

.cta-bar {
  padding: 16px 16px 0;
  display: flex;
  background: var(--color-bg);
}

.cta-bar > .button {
  flex-grow: 1;
}

/* PC表示用の予約ボタン（スマホでは.cta-bar を使う） */
.hero__cta {
  display: none;
}

/* ---------- セクション共通 ---------- */
.section {
  position: relative;
  display: flex;
  flex-direction: column;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-heading--inset {
  padding: 0 4px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-text-blue);
  display: flex;
  align-items: center;
}

.eyebrow--badge {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-text);
}

.section-title {
  margin: 0;
  font-weight: 900;
  font-size: 23px;
  line-height: 1.5;
}

.text {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: var(--color-text-muted);
}

.text--small {
  font-size: 14px;
  line-height: 1.8;
}

.photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ---------- レッスンについて ---------- */
.about {
  padding: 48px 20px 44px;
  gap: 16px;
}

/* PC で右カラムにまとめるための枠。スマホでは枠がないのと同じ扱い */
.about__text,
.contact__main {
  display: contents;
}

.about__photo {
  aspect-ratio: 1 / 1;
  object-position: 50% 22%;
}

/* ---------- どなたでも通えます ---------- */
.targets {
  padding: 56px 16px 48px;
  background: var(--color-bg-light);
  gap: 16px;
}

.target-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.target-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-blue);
}

.target-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.target-card__title {
  font-weight: 900;
  font-size: 17px;
}

.target-card__note {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-sub);
  margin-left: 8px;
}

/* ---------- コーチ紹介 ---------- */
.coach {
  padding: 60px 20px 48px;
  gap: 20px;
}

.coach__photo {
  aspect-ratio: 4 / 5;
  object-position: 50% 15%;
}

.coach__profile {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.coach__name {
  font-weight: 900;
  font-size: 24px;
}

.coach__meta {
  font-size: 13px;
  color: var(--color-text-sub);
}

.coach__block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.coach__subtitle {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text-blue);
}

.info-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
}

.info-list__item {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}

.info-list__item--row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.info-list__label {
  color: var(--color-text-sub);
}

.info-list__value {
  font-weight: 700;
  text-align: right;
}

/* ---------- Instagram ---------- */
/* PC で写真の帯を左へ流す（中身の半分ずつ動かして、継ぎ目なく繰り返す） */
@keyframes insta-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 読み込み中の四角に、右から左へ光を流す */
@keyframes insta-shimmer {
  from { background-position: 0 0; }
  to { background-position: 100% 0; }
}

.insta {
  padding: 56px 16px 48px;
  background: var(--color-bg-light);
  gap: 16px;
}

.insta__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

/* 一時停止ボタンは、写真が横に流れる PC 表示でだけ出す */
.insta__pause {
  display: none;
}

.insta__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.insta__list[hidden] {
  display: none;
}

.insta__item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-border);
}

/* 読み込み中の四角。光の帯（中央）は、背景の幅を3倍にして右の外から左の外へ動かす */
.insta__item--loading {
  background: linear-gradient(90deg, var(--color-border) 40%, var(--color-bg) 50%, var(--color-border) 60%);
  background-size: 300% 100%;
  animation: insta-shimmer 1.6s ease-in-out infinite;
}

.insta__error {
  margin: 0;
  color: var(--color-text-muted);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .insta__item--loading {
    animation: none;
  }
}

/* 複製は PC で横に流すときだけ使う */
.insta__item--clone {
  display: none;
}

.insta__item a {
  display: block;
  height: 100%;
}

.insta__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 予約できる日時 ---------- */
.schedule {
  padding: 56px 16px 48px;
  gap: 16px;
}

/* .section の display: flex より hidden を優先する（JavaScript が動かない環境では出さない） */
.schedule[hidden],
.schedule__list[hidden],
.schedule__message[hidden] {
  display: none;
}

/* このセクションを出しているときは、次の「ご予約・お問い合わせ」の波をこのセクションの背景色にする */
.schedule:not([hidden]) + .contact > .wave-divider {
  color: var(--color-bg);
}

.schedule__note {
  padding: 0 4px;
  text-wrap: pretty;
}

/* 翌月の予約を受け付け始める日。いつ予約できる日が増えるかが目に入るよう、太字の青にしてアイコンを付ける
   （カレンダーの使い方ではないので、読み込めないときも出す） */
.schedule__release {
  margin: 0;
  padding: 0 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 900;
  color: var(--color-text-blue);
  text-wrap: pretty;
}

.schedule__release-icon {
  flex: none;
}

/* カレンダーの使い方なので、カレンダーを出さないとき（読み込めない）は出さない */
.schedule[data-state="error"] .schedule__note {
  display: none;
}

.schedule__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 1日分のカード。左に日付、右にその日の枠 */
.schedule__day {
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  display: flex;
  align-items: baseline;
  gap: 16px;
}

/* 読み込み中の行。Instagram の読み込み中の四角と同じ光を流す */
.schedule__day--loading {
  height: 56px;
  box-sizing: border-box;
  background: linear-gradient(90deg, var(--color-border) 40%, var(--color-bg) 50%, var(--color-border) 60%);
  background-size: 300% 100%;
  animation: insta-shimmer 1.6s ease-in-out infinite;
}

.schedule__date {
  flex: none;
  min-width: 6.5em;
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  color: var(--color-text-blue);
}

.schedule__slots {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 1枠。予約ボタンがあるときは、枠全体が予約メールのリンク（schedule__book）になる */
.schedule__slot,
.schedule__book {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}

/* 押せる範囲を広げつつ、見た目の位置は変えない（padding と同じだけ margin を引く） */
.schedule__book {
  flex: 1 1 auto;
  margin: -6px -8px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  color: inherit;
  text-decoration: none;
}

.schedule__book:hover {
  background: var(--color-bg);
  color: inherit;
}

.schedule__mail-icon {
  flex: none;
  margin-left: auto;
  color: var(--color-text-blue);
}

.schedule__time {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.schedule__area {
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-light);
  color: var(--color-text-blue);
  font-size: 12px;
  font-weight: 700;
}

.schedule__message {
  margin: 0;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  /* 2行になるとき、最後の行に1〜2文字だけ残らないよう、行の長さをそろえる */
  text-wrap: balance;
}

/* 1か月のカレンダーと、選んだ日の枠を縦に並べる（PC では横） */
.schedule-cal,
.schedule-cal__side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.schedule-cal[hidden] {
  display: none;
}

.schedule-cal__card {
  padding: 16px 12px 12px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
}

/* 月の名前と、前の月・次の月の矢印 */
.schedule-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.schedule-cal__month {
  flex: 1 1 auto;
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: var(--color-text-blue);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.schedule-cal__nav {
  flex: none;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-bg-light);
  color: var(--color-text-blue);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.schedule-cal__nav:hover {
  background: var(--color-border);
}

.schedule-cal__nav:focus-visible {
  outline: 2px solid var(--color-text-blue);
  outline-offset: 2px;
}

/* 今月より前・1年より先には送れない */
.schedule-cal__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.schedule-cal__nav:disabled:hover {
  background: var(--color-bg-light);
}

.schedule-cal__weekdays,
.schedule-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.schedule-cal__weekdays {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-sub);
  text-align: center;
}

/* 1日分のマス。空きのない日は数字だけ、期間の外の日は空けておく */
.schedule-cal__cell {
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: var(--radius-md);
  color: var(--color-text-sub);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

/* 空きのある日。押すと、その日の枠が下に出る */
.schedule-cal__cell--open {
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--color-bg-light);
  color: var(--color-text-blue);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

/* 今日より前の日（押せない日なので薄くする） */
.schedule-cal__cell--past {
  opacity: 0.45;
}

.schedule-cal__cell--open:hover {
  background: var(--color-border);
}

.schedule-cal__cell--open:focus-visible {
  outline: 2px solid var(--color-text-blue);
  outline-offset: 2px;
}

.schedule-cal__cell--open[aria-pressed="true"] {
  background: var(--color-text-blue);
  color: var(--color-white);
}

.schedule-cal__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
}

/* 読み込み中の、日付のマスのところ（5週分の高さ）。枠の読み込み中の行と同じ光を流す */
.schedule-cal__loading {
  grid-column: 1 / -1;
  height: 256px;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, var(--color-border) 40%, var(--color-bg) 50%, var(--color-border) 60%);
  background-size: 300% 100%;
  animation: insta-shimmer 1.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .schedule__day--loading,
  .schedule-cal__loading {
    animation: none;
  }
}

/* ---------- ご予約・お問い合わせ ---------- */
.contact {
  padding: 56px 16px 48px;
  background: var(--color-primary);
  color: var(--color-white);
  gap: 16px;
}

.contact__title {
  margin-top: 6px;
  font-size: 24px;
  color: var(--color-white);
}

.contact__card {
  padding: 20px;
  border-radius: 18px;
  background: var(--color-white);
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* メールアプリが開かない人向けに、アドレスを文字で見せてコピーできるようにする */
.mail-address {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 13px;
}

.mail-address__label {
  color: var(--color-text-sub);
}

.mail-address__value {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.mail-address__copy {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--color-text-blue);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-text-blue);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.mail-address__copy[hidden] {
  display: none;
}


/* ---------- レッスン会場 ---------- */
.access {
  padding: 56px 16px 40px;
  gap: 14px;
}

.access__note {
  padding: 0 4px;
}

/* ---------- フッター ---------- */
.site-footer {
  padding: 20px 16px 28px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 11px;
  color: var(--color-text-sub);
}

/* ---------- 404ページ（404.html） ---------- */
.site-nav__brand--link {
  text-decoration: none;
}

.not-found {
  flex-grow: 1;
  gap: 20px;
  min-height: 60vh;
  padding: 48px 20px 64px;
}

/* ==========================================================
 * PC表示（画面幅960px以上）
 * 背景と波は画面いっぱい、中身は最大1080px の2カラムにする。
 * ========================================================== */
@media (min-width: 960px) {
  .site-nav,
  .hero,
  .section,
  .site-footer {
    padding-left: max(40px, calc((100% - 1080px) / 2));
    padding-right: max(40px, calc((100% - 1080px) / 2));
  }

  /* ナビ */
  .site-nav {
    height: 68px;
  }

  .site-nav__name {
    font-size: 20px;
  }

  .site-nav__tagline {
    font-size: 11px;
  }

  section[id] {
    scroll-margin-top: 68px;
  }

  /* スマホでメニューを開いたまま画面を広げても、横並びの表示にする */
  .site-nav__links,
  .site-nav__links.is-open {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    animation: none;
    align-items: center;
    gap: clamp(16px, 2vw, 28px);
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    font-weight: 700;
  }

  .site-nav__links a:not(.button),
  .site-nav__links.is-open a:not(.button) {
    min-height: 0;
    border: 0;
    font-size: inherit;
    text-decoration: none;
  }

  .site-nav__links.is-open .site-nav__cta {
    margin-top: 0;
  }

  .site-nav__cta {
    height: 44px;
    padding: 0 20px;
    font-size: 14px;
  }

  .menu-button {
    display: none;
  }

  /* ヒーロー：左に文言、右に写真 */
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 64px;
  }

  /* 写真2枚を右側の枠いっぱいに大きく重ねる */
  .hero__visual {
    order: 2;
    height: 530px;
    padding: 0;
  }

  .hero__photo {
    border-width: 5px;
  }

  .hero__photo--kid {
    left: 0;
    top: 0;
    width: 62%;
    border-radius: 24px;
  }

  .hero__photo--adult {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 54%;
    margin: 0;
    border-radius: 20px;
  }

  .hero__note {
    left: 12px;
    top: 12px;
    font-size: 12px;
  }

  .hero__waves {
    display: none;
  }

  .hero__body {
    padding: 0;
    gap: 18px;
  }

  .hero__area {
    font-size: 15px;
    padding: 6px 16px;
  }

  .hero__title {
    font-size: clamp(34px, 3.4vw, 44px);
    line-height: 1.4;
  }

  .hero__catch {
    align-self: flex-start;
    margin: 4px 0 0 12px;
    font-size: 17px;
    padding: 10px 22px;
  }

  .hero__cta {
    display: flex;
    align-self: flex-start;
    margin-top: 16px;
    padding: 0 40px;
    height: 60px;
    font-size: 17px;
  }

  .cta-bar {
    display: none;
  }

  /* セクション共通 */
  .section-heading--inset {
    padding: 0;
  }

  .section-title {
    font-size: 30px;
  }

  .contact__title {
    font-size: 30px;
  }

  .eyebrow {
    font-size: 13px;
  }

  /* レッスンについて：左に写真、右に見出しと本文（縦中央） */
  .about {
    display: grid;
    grid-template-columns: 5fr 7fr;
    grid-template-rows: 1fr auto auto 1fr;
    column-gap: 64px;
    row-gap: 0;
    padding-top: 104px;
    padding-bottom: 96px;
  }

  .about__photo {
    grid-column: 1;
    grid-row: 1 / 5;
  }

  .about > .section-heading {
    grid-column: 2;
    grid-row: 2;
    margin-bottom: 24px;
  }

  .about__text {
    grid-column: 2;
    grid-row: 3;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* どなたでも通えます：カードを3列 */
  .targets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding-top: 104px;
    padding-bottom: 96px;
  }

  .targets > .section-heading {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }

  .target-card {
    flex-direction: column;
    padding: 28px;
  }

  /* コーチ紹介：左に写真、右にプロフィール */
  .coach {
    display: grid;
    grid-template-columns: 5fr 7fr;
    column-gap: 64px;
    row-gap: 24px;
    align-items: start;
    padding-top: 104px;
    padding-bottom: 96px;
  }

  .coach__photo {
    grid-column: 1;
    grid-row: 1 / span 4;
  }

  .coach > :not(.coach__photo):not(.wave-divider) {
    grid-column: 2;
  }

  .coach__name {
    font-size: 28px;
  }

  /* Instagram：写真の帯は画面いっぱいに広げ、左へ流し続ける */
  .insta {
    padding-top: 104px;
    padding-bottom: 96px;
    padding-left: 0;
    padding-right: 0;
    gap: 32px;
  }

  .insta__head {
    margin-left: max(40px, calc((100% - 1080px) / 2));
    margin-right: max(40px, calc((100% - 1080px) / 2));
  }

  .insta__pause {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1.5px solid var(--color-text-blue);
    border-radius: var(--radius-pill);
    background: var(--color-white);
    color: var(--color-text-blue);
    cursor: pointer;
  }

  /* 写真が並ぶまでは一時停止ボタンを出さない */
  .insta:not(:has(.insta__marquee[data-state="ready"])) .insta__pause,
  .insta__pause[hidden],
  .insta__pause[aria-pressed="true"] .insta__pause-icon,
  .insta__pause:not([aria-pressed="true"]) .insta__play-icon {
    display: none;
  }

  .insta__marquee {
    overflow: hidden;
  }

  /* 投稿6件＋複製18件を横一列に並べ、半分（12件分）動かしたら最初に戻す。
     継ぎ目がずれないよう、間隔は gap ではなく各写真の右の余白で取る。読み込み中は流さない */
  .insta__list {
    display: flex;
    gap: 0;
    width: max-content;
  }

  .insta__marquee[data-state="ready"] .insta__list {
    animation: insta-marquee 60s linear infinite;
  }

  .insta__item,
  .insta__item--clone {
    display: block;
    flex: none;
    width: 220px;
    margin-right: 16px;
    border-radius: var(--radius-md);
  }

  /* マウスを乗せる・Tab で選ぶ・一時停止ボタンを押すと止まる */
  .insta__marquee:hover .insta__list,
  .insta__marquee:focus-within .insta__list,
  .insta__marquee.is-paused .insta__list {
    animation-play-state: paused;
  }

  .insta__more {
    align-self: center;
    width: 320px;
  }

  /* 動きを減らす設定のときは流さず、ほかのセクションと同じ幅に投稿6件を1列で並べる */
  @media (prefers-reduced-motion: reduce) {
    .insta__marquee {
      margin-left: max(40px, calc((100% - 1080px) / 2));
      margin-right: max(40px, calc((100% - 1080px) / 2));
    }

    .insta__list,
    .insta__marquee[data-state="ready"] .insta__list {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 16px;
      width: auto;
      animation: none;
    }

    .insta__item {
      width: auto;
      margin: 0;
    }

    .insta__item--clone,
    .insta__pause {
      display: none;
    }
  }

  /* 予約できる日時：カレンダーと、選んだ日の枠を横に並べる */
  .schedule {
    padding-top: 104px;
    padding-bottom: 96px;
    gap: 24px;
  }

  .schedule__note {
    padding: 0;
    font-size: 16px;
  }

  .schedule__release {
    padding: 0;
    font-size: 16px;
  }

  /* PC では1行に収まるので、スマホ用の改行を消す */
  .schedule__br {
    display: none;
  }

  .schedule__day {
    padding: 20px 24px;
  }

  .schedule__day--loading {
    height: 64px;
  }

  .schedule__message {
    padding: 28px;
    font-size: 16px;
  }

  .schedule-cal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
  }

  .schedule-cal__card {
    padding: 20px 20px 16px;
  }

  .schedule-cal__cell {
    min-height: 56px;
    font-size: 15px;
  }

  .schedule-cal__loading {
    height: 296px;
  }

  .schedule-cal__cell--open {
    font-size: 16px;
  }

  /* ご予約・お問い合わせ */
  .contact {
    padding-top: 104px;
    padding-bottom: 96px;
    gap: 24px;
  }

  .contact__card {
    flex-direction: row;
    gap: 56px;
    padding: 40px 48px;
    border-radius: 24px;
  }

  .contact__main {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
  }

  .contact__main .text {
    font-size: 16px;
  }

  .contact__main .button--primary {
    height: 64px;
    font-size: 18px;
  }

  /* レッスン会場 */
  .access {
    gap: 24px;
    padding-top: 104px;
    padding-bottom: 88px;
  }

  .access__note {
    padding: 0;
    font-size: 16px;
  }

  .site-footer {
    font-size: 12px;
  }
}
