/* =========================================================
   Oops! English
   Art direction: retro-pop lifestyle magazine
   1. Tokens / Base
   2. Common parts (buttons, kicker, decorations, media)
   3. Header / Nav
   4. Sections (01–07)
   5. Form internals
   6. Footer / Sticky CTA
   ========================================================= */

/* ---------- 1. Tokens / Base ---------- */
:root {
  --blue: #3155d9;
  --blue-dark: #2546be;
  --blue-deep: #1f3aa6;
  --blue-tint: #e9eeff;
  --orange: #ff7945;
  --orange-dark: #f2622b;
  --orange-deep: #d9501c;
  --peach: #ffd9c9;
  --yellow: #ffdf64;
  --yellow-pale: #ffeeb0;
  --cream: #fff8ea;
  --cream-deep: #fbeccd;
  --ink: #252525;
  --ink-soft: #4a4a4a;
  --white: #fff;
  --error: #c62828;

  --font-base: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-display: "Epilogue", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;

  --header-h: 64px;
  --gutter: 20px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-photo: 22px;
  --shadow-photo: 0 14px 32px rgba(37, 37, 37, 0.18);
  --shadow-card: 0 2px 0 rgba(37, 37, 37, 0.05), 0 12px 32px rgba(37, 37, 37, 0.07);
  --shadow-sm: 3px 3px 0 var(--ink);
  --border: 2px solid var(--ink);
  --line: 1.5px solid rgba(37, 37, 37, 0.2);
  --section-py: 72px;
  --wave-h: 28px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-py: 96px; --wave-h: 36px; }
}
@media (min-width: 1024px) {
  :root { --header-h: 76px; --gutter: 48px; --section-py: 112px; --wave-h: 44px; }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  word-break: auto-phrase; /* 日本語の文節で改行（対応ブラウザのみ） */
  overflow-wrap: break-word;
}
body.is-menu-open { overflow: hidden; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 2. Common parts ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 8px 16px; background: var(--ink); color: var(--white);
  border-radius: 8px; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container {
  position: relative;
  z-index: 1; /* 背景の英字グラフィックより前面 */
  width: 100%;
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(800px + var(--gutter) * 2); }
.container--form { max-width: calc(880px + var(--gutter) * 2); }

.section {
  position: relative;
  padding-block: var(--section-py);
  overflow-x: clip; /* 大きな英字・装飾による横スクロール防止 */
}

.section-head { text-align: center; margin-bottom: 40px; }
@media (min-width: 1024px) { .section-head { margin-bottom: 56px; } }

/* 手書き風の英字ラベル */
.kicker {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--orange-deep);
  transform: rotate(-4deg);
}
.kicker::after {
  content: "";
  display: block;
  height: 8px;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6q14-6 29-1t29 0 29 0 29-1' fill='none' stroke='%23FFDF64' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.kicker--light { color: var(--yellow); }
.kicker--light::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6q14-6 29-1t29 0 29 0 29-1' fill='none' stroke='%23FF7945' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}
@media (min-width: 1024px) { .kicker { font-size: 36px; } }

.section-title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.15rem + 2.4vw, 2.875rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}
.section-title--light { color: var(--cream); }
.section-title--xl { font-size: clamp(2.125rem, 1.3rem + 3.2vw, 3.75rem); }

.section-lead {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-soft);
}
.section-lead--light { color: rgba(255, 255, 255, 0.92); }
@media (min-width: 768px) { .section-lead { font-size: 17px; } }

/* 背景の大きな英字グラフィック */
.bgword {
  position: absolute;
  z-index: 0;
  margin: 0;
  font-family: "Epilogue", sans-serif;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.04em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* 手書き文字の添え書き */
.hand {
  position: absolute;
  z-index: 2;
  margin: 0;
  font-family: var(--font-hand);
  font-weight: 700;
  line-height: 1.05;
  pointer-events: none;
  white-space: nowrap;
}

/* 吹き出し */
.bubble {
  position: absolute;
  z-index: 3;
  padding: 10px 18px 12px;
  background: var(--yellow);
  border-radius: 999px;
  font-family: var(--font-hand);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(37, 37, 37, 0.15);
  pointer-events: none;
}
.bubble::after {
  content: "";
  position: absolute;
  top: -10px; left: 22px;
  border-left: 10px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 14px solid var(--yellow);
  transform: rotate(-12deg);
}

/* スターバースト型ステッカー（セクション境界をまたぐ） */
.burst {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.burst svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--yellow); filter: drop-shadow(0 6px 10px rgba(37, 37, 37, 0.18)); }
.burst span {
  position: relative;
  font-family: var(--font-hand);
  font-weight: 700;
  line-height: 0.95;
  text-align: center;
  color: var(--ink);
}

/* Buttons */
.btn {
  --btn-depth: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--btn-depth);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--btn-depth); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--btn-depth); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--orange { --btn-depth: #c94e1d; background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: var(--orange-dark); }
.btn--outline { --btn-depth: rgba(49, 85, 217, 0.3); background: var(--white); color: var(--blue-dark); box-shadow: inset 0 0 0 2px var(--blue), 0 4px 0 var(--btn-depth); }
.btn--outline:hover { box-shadow: inset 0 0 0 2px var(--blue), 0 6px 0 var(--btn-depth); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; box-shadow: 0 3px 0 var(--btn-depth); }
.btn--lg { min-height: 62px; padding: 16px 34px; font-size: 18px; }
.btn--block { width: 100%; }
@media (max-width: 359px) { .btn--lg { padding-inline: 18px; font-size: 16px; } }
.btn__icon {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Photo frame + placeholder（画像未配置時の仮表示） */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-photo);
  background:
    repeating-linear-gradient(-45deg, rgba(37, 37, 37, 0.06) 0 12px, transparent 12px 24px),
    var(--cream-deep);
}
.media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.media.is-missing img { display: none; }
.media.is-missing::after {
  content: "PHOTO\A" attr(data-placeholder);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 12px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: rgba(37, 37, 37, 0.55);
  text-align: center;
  white-space: pre-line;
}

.req {
  display: inline-block;
  margin-left: 8px;
  padding: 0 7px;
  border-radius: 4px;
  background: var(--orange);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  vertical-align: 0.15em;
}

/* 境界の波形（上端：自セクション色が前のセクションへ食い込む） */
.wave-top::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: calc(var(--wave-h) * -1 + 1px);
  height: var(--wave-h);
  background: var(--wave-color) ;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C120 4 240 2 360 18s240 22 360 4 240-22 360-4 240 20 360 2v20z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C120 4 240 2 360 18s240 22 360 4 240-22 360-4 240 20 360 2v20z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}

/* ---------- 3. Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 248, 234, 0.95);
  border-bottom: 1.5px solid rgba(37, 37, 37, 0.12);
  backdrop-filter: saturate(1.4) blur(6px);
}
.site-header__inner {
  height: 100%;
  max-width: calc(1280px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 12px;
}

.logo {
  display: inline-flex; align-items: center;
  margin-right: auto;
  font-family: "Epilogue", sans-serif;
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.logo__oops {
  display: inline-block;
  padding: 5px 8px 3px;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 8px;
  transform: rotate(-4deg);
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.2s ease;
}
.logo:hover .logo__oops { transform: rotate(0); }
.logo__english { margin-left: 6px; color: var(--blue); }
.logo__dot {
  width: 8px; height: 8px; margin: 0 0 -6px 3px;
  border-radius: 50%; background: var(--orange);
}
@media (min-width: 1024px) { .logo { font-size: 26px; } }

.menu-toggle {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 12px;
  cursor: pointer;
}
.menu-toggle__bars { position: relative; width: 20px; height: 14px; }
.menu-toggle__bars span {
  position: absolute; left: 0;
  width: 100%; height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 5.75px; }
.menu-toggle__bars span:nth-child(3) { top: 11.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { top: 5.75px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { top: 5.75px; transform: rotate(-45deg); }

/* SP: ドロワー */
.global-nav {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 8px var(--gutter) 28px;
  background: var(--cream);
  border-bottom: 1.5px solid rgba(37, 37, 37, 0.15);
  box-shadow: 0 16px 32px rgba(37, 37, 37, 0.14);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.global-nav.is-open {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.global-nav__list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px;
  border-bottom: 1.5px solid rgba(37, 37, 37, 0.12);
  font-size: 17px; font-weight: 700;
  text-decoration: none;
}
.global-nav__list a::after {
  content: ""; width: 8px; height: 8px;
  border-top: 2px solid var(--blue); border-right: 2px solid var(--blue);
  transform: rotate(45deg);
}
.global-nav__cta { width: 100%; margin-top: 24px; min-height: 56px; }
.header-cta { display: none; }

@media (min-width: 480px) {
  .header-cta { display: inline-flex; }
}

@media (min-width: 1024px) {
  .menu-toggle, .header-cta { display: none; }
  .global-nav {
    position: static;
    display: flex; align-items: center; gap: 36px;
    max-height: none; overflow: visible;
    padding: 0; background: none; border: 0; box-shadow: none;
    visibility: visible; opacity: 1; transform: none; transition: none;
  }
  .global-nav__list { display: flex; gap: 32px; }
  .global-nav__list a {
    position: relative;
    padding: 6px 0; border: 0;
    font-size: 15px;
  }
  .global-nav__list a::after {
    position: absolute; left: 0; bottom: 0;
    width: 100%; height: 2px;
    border: 0; background: var(--orange);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.2s ease;
  }
  .global-nav__list a:hover { color: var(--blue); }
  .global-nav__list a:hover::after { transform: scaleX(1); }
  .global-nav__cta { width: auto; margin: 0; min-height: 44px; padding: 10px 24px; font-size: 15px; box-shadow: 0 4px 0 var(--btn-depth); }
}

main { padding-top: var(--header-h); }

/* ---------- 4-01. Hero ---------- */
.hero {
  position: relative;
  overflow-x: clip;
  padding-block: 28px 80px;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(37, 37, 37, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
}
.bgword--hero {
  right: -6vw;
  top: 46%;
  font-size: clamp(9rem, 44vw, 30rem);
  color: var(--yellow-pale);
  transform: rotate(-8deg);
}

.hero__grid {
  display: grid;
  grid-template-areas: "copy" "visual" "cta";
  gap: 28px;
}
.hero__copy { grid-area: copy; position: relative; z-index: 3; }
.hero__visual { grid-area: visual; }
.hero__cta { grid-area: cta; position: relative; z-index: 3; }

.hero__eyebrow {
  display: inline-block;
  padding: 7px 18px;
  background: var(--blue);
  color: var(--white);
  border-radius: 999px;
  font-size: 16px; font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.04em;
  transform: rotate(-2deg);
}

.hero__title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 10.1vw, 3.95rem);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.03em;
}
.hero__line { display: block; width: fit-content; }
.hero__line--blue { position: relative; color: var(--blue); }
.hero__underline {
  position: absolute;
  left: -4%; bottom: -0.16em;
  width: 108%; height: 0.32em;
  color: var(--orange);
  z-index: -1;
}

.hero__lead {
  margin-top: 22px;
  font-size: 16px; font-weight: 500;
  line-height: 1.9;
}

.hero__features {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 20px;
}
.hero__features li {
  display: flex; align-items: baseline;
  padding: 7px 16px 6px; /* 数字の字面が上寄りに見えるため上を厚めに */
  border-radius: 999px;
  font-size: 15px; font-weight: 700;
  line-height: 1.5;
  background: var(--white);
  box-shadow: 0 3px 0 rgba(37, 37, 37, 0.08);
}
.hero__features li:nth-child(1) { background: var(--yellow); transform: rotate(-2deg); }
.hero__features li:nth-child(2) { transform: rotate(1.5deg); }
.hero__features li:nth-child(3) { background: var(--peach); transform: rotate(-1deg); }
.hero__features b {
  margin-inline: 3px;
  font-family: "Epilogue", sans-serif;
  font-size: 2em; font-weight: 900;
  line-height: 1.1;
  color: var(--blue);
}

/* SP：ファーストビュー内にCTAを収めるため余白を圧縮 */
@media (max-width: 599px) {
  .hero { padding-top: 18px; }
  .hero__grid { gap: 20px; }
  .hero__title { margin-top: 14px; }
  .hero__lead { margin-top: 14px; line-height: 1.8; }
  .hero__features { margin-top: 14px; gap: 6px; }
  .hero__features li { font-size: 14px; padding: 6px 11px 5px; }
  .hero__features b { font-size: 1.85em; margin-inline: 2px; }
  .hero__visual { aspect-ratio: 1 / 0.84; }
  .hero__photo-sub { width: 34%; border-width: 6px 6px 20px; }
  .hero__cta { padding-top: 26px; }
  .hand--free { font-size: 22px; }
}

/* 写真コラージュ */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 0.92;
}
.hero__visual::before {
  content: "";
  position: absolute;
  right: -2%; top: 8%;
  width: 66%; height: 60%;
  background: var(--blue);
  border-radius: 28px;
  transform: rotate(5deg);
}
.hero__photo-main {
  position: absolute;
  right: 3%; top: 0;
  width: 86%;
  aspect-ratio: 4 / 3;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-photo);
}
/* ハイタッチ写真：正方形のポラロイド風（白枠・下辺厚め・軽い傾き） */
.hero__photo-sub {
  position: absolute;
  left: 0; bottom: 0;
  width: 36%;
  aspect-ratio: 1 / 1.07; /* 下辺の白枠ぶん縦長にし、写真部分をほぼ正方形に保つ */
  border-radius: 6px;
  border: 8px solid var(--white);
  border-bottom-width: 26px;
  transform: rotate(-6deg);
  box-shadow: var(--shadow-photo);
  z-index: 2;
}
.hero__photo-sub img { object-position: 50% 45%; }
.bubble--hero {
  right: 2%; bottom: 10%;
  transform: rotate(6deg);
}

/* CTA + 手書き注釈 */
.hero__cta { padding-top: 34px; text-align: center; }
.hero__cta .btn { width: 100%; }
.hand--free {
  top: 0; right: 4px;
  display: flex; flex-direction: row-reverse; align-items: flex-end; gap: 2px;
  font-size: 26px;
  color: var(--orange-deep);
  transform: rotate(-5deg);
}
.hand__arrow {
  width: 48px; height: 32px;
  color: var(--orange-deep);
  transform: scaleX(-1) rotate(-20deg) translateY(10px);
}

@media (min-width: 600px) {
  .hero__cta { text-align: left; }
  .hero__cta .btn { width: auto; }
  .hand--free { right: auto; left: 300px; top: 14px; }
  .hand__arrow { transform: scaleX(-1) rotate(10deg) translateY(4px); }
}

@media (min-width: 1024px) {
  .hero { padding-block: 64px 120px; }
  .bgword--hero { top: auto; bottom: -4%; right: -4vw; font-size: 26rem; }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    grid-template-areas: "copy visual" "cta visual";
    grid-template-rows: auto 1fr;
    column-gap: 24px; row-gap: 36px;
    align-items: start;
  }
  .hero__copy { padding-top: 24px; }
  .hero__title { font-size: min(5.7rem, 6.25vw); }
  .hero__lead { font-size: 18px; margin-top: 28px; }
  .hero__eyebrow { font-size: 19px; padding: 8px 22px; }
  .hero__features { gap: 14px; }
  .hero__features li { font-size: 17px; padding: 9px 22px 8px; }
  .hero__features b { font-size: 2.2em; }
  .hero__visual { margin-top: 8px; }
  .hero__cta { padding-top: 0; }
  .bubble--hero { font-size: 28px; padding: 14px 22px 16px; }
}

/* ---------- 4-02. About ---------- */
.about {
  --wave-color: var(--blue);
  background-color: var(--blue);
  background-image: radial-gradient(rgba(255, 248, 234, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--white);
  padding-bottom: calc(var(--section-py) + 12px);
}
.burst--about {
  top: -58px; right: max(14px, 5vw);
  width: 96px; height: 96px;
  transform: rotate(10deg);
}
.burst--about span { font-size: 17px; }
@media (min-width: 1024px) {
  .burst--about { top: -76px; width: 138px; height: 138px; }
  .burst--about span { font-size: 25px; }
}

.bgword--about {
  left: -2vw; bottom: -4%;
  font-size: clamp(7rem, 34vw, 24rem);
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 248, 234, 0.2);
  transform: rotate(-7deg);
}

.about__grid {
  display: grid;
  grid-template-areas: "head" "collage" "features";
  gap: 40px;
}
.about__head { grid-area: head; }
.about__collage { grid-area: collage; }
.about__features { grid-area: features; }

.about__text { margin-top: 16px; color: rgba(255, 255, 255, 0.94); }
.about__text + .about__text { margin-top: 18px; }

.about__collage {
  --bleed: var(--gutter);
  position: relative;
  aspect-ratio: 1 / 1.02;
}
/* 教室全体の写真：画面左端まで裁ち落として大胆に */
.about__photo-wide {
  position: absolute;
  left: calc(var(--bleed) * -1); top: 0;
  width: calc(100% + var(--bleed) - 6%);
  aspect-ratio: 16 / 10;
  border-radius: 0 28px 28px 0;
  box-shadow: 0 18px 36px rgba(10, 20, 70, 0.35);
}
.about__photo-wide img { object-position: 50% 38%; }
.about__photo-main {
  position: absolute;
  right: 0; top: 50%;
  width: 58%;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--yellow);
  transform: rotate(4deg);
  box-shadow: 0 18px 36px rgba(10, 20, 70, 0.35);
  z-index: 1;
}
/* 教材の手元写真：ポラロイド風の白枠（元4:3のまま教材が切れないように） */
.about__photo-sub {
  position: absolute;
  left: 0; bottom: 2%;
  width: 46%;
  aspect-ratio: 1.18;
  border-radius: 6px;
  border: 8px solid var(--white);
  border-bottom-width: 28px;
  transform: rotate(-7deg);
  box-shadow: 0 18px 36px rgba(10, 20, 70, 0.35);
  z-index: 2;
}
.about__photo-sub img { object-position: 50% 50%; }
.hand--about {
  display: none;
  right: 2%; bottom: -4%;
  font-size: 32px;
  color: var(--yellow);
  text-align: right;
  transform: rotate(-6deg);
}


.about__features { display: grid; border-top: 1.5px dashed rgba(255, 255, 255, 0.35); }
.feature {
  display: flex; gap: 16px; align-items: flex-start;
  padding-block: 20px;
  border-bottom: 1.5px dashed rgba(255, 255, 255, 0.35);
}
.feature__num {
  flex: none;
  min-width: 3rem;
  font-family: "Epilogue", sans-serif;
  font-size: 34px; font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  color: var(--yellow);
  transform: rotate(-6deg);
}
.feature:nth-child(2) .feature__num { color: var(--peach); transform: rotate(4deg); }
.feature__title { font-size: 21px; font-weight: 900; line-height: 1.45; letter-spacing: 0.01em; }
.feature__title em {
  font-style: normal;
  color: var(--yellow);
  background: linear-gradient(transparent 84%, rgba(255, 223, 100, 0.45) 84%);
}
.feature__text { margin-top: 10px; font-size: 15px; line-height: 1.8; color: rgba(255, 255, 255, 0.88); }
@media (min-width: 1024px) {
  .feature { padding-block: 24px; gap: 20px; }
  .feature__num { font-size: 40px; }
  .feature__title { font-size: 25px; }
  .feature__text { font-size: 16px; }
}

@media (min-width: 768px) {
  .hand--about { display: block; }
}
@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-areas: "collage head" "collage features";
    grid-template-rows: auto 1fr;
    column-gap: 72px; row-gap: 32px;
    align-items: start;
  }
  .about__collage { --bleed: max(var(--gutter), (100vw - 1200px) / 2); }
  .about__head { padding-top: 40px; }
  .about__text { font-size: 17px; }
}

/* ---------- 4-03. Teachers & Lessons ---------- */
.teachers { padding-top: calc(var(--section-py) + 8px); }

.teachers__head { max-width: 640px; }
.hand--nice {
  position: static;
  display: inline-block;
  margin-top: 14px;
  font-size: 30px;
  color: var(--blue);
  transform: rotate(-4deg);
}

.teachers__list {
  display: grid;
  gap: 72px;
  margin-top: 56px;
}
.teacher { position: relative; }
.teacher__visual {
  position: relative;
  width: 84%;
}
.teacher--emma .teacher__visual { margin-left: auto; }
.teacher__visual::before {
  content: "";
  position: absolute;
  inset: 8% -6% -3% 12%;
  background: var(--orange);
  border-radius: 28px;
  transform: rotate(5deg);
}
.teacher--emma .teacher__visual::before {
  inset: 10% 12% -4% -7%;
  background: var(--yellow);
  transform: rotate(-6deg);
}
.teacher__photo {
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-photo);
}
.teacher--emma .teacher__photo { transform: rotate(3deg); }
/* 元画像3:4を4:5枠へ。頭上の余白を残しつつ主に下側をトリミング */
.teacher__photo img { object-position: 50% 12%; }

/* 講師名：大胆なタイポグラフィ。Alexは写真の右下、Emmaは左上に重ねる */
.teacher__name {
  position: absolute;
  z-index: 2;
  bottom: -0.42em;
  right: -10%;
  font-family: "Epilogue", sans-serif;
  font-size: clamp(4.5rem, 2.6rem + 7vw, 8.25rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  color: var(--blue);
  -webkit-text-stroke: 8px var(--cream);
  paint-order: stroke fill;
  transform: rotate(-5deg);
}
.teacher--emma .teacher__name {
  bottom: auto; top: -0.62em;
  right: auto; left: -8%;
  color: var(--orange-deep);
  transform: rotate(-3deg);
}

/* 吹き出し（写真を小さくせず、写真に重ねて配置） */
.teacher__body {
  position: relative;
  z-index: 3;
  margin-top: 52px;
  width: 88%;
  max-width: 340px;
  margin-left: auto;
}
.teacher--emma .teacher__body { margin: -56px 0 0; }
.teacher__origin {
  display: inline-block;
  position: relative;
  z-index: 1;
  margin-left: 18px;
  margin-bottom: -14px;
  padding: 3px 14px;
  background: var(--blue);
  color: var(--white);
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  transform: rotate(-3deg);
}
.teacher--emma .teacher__origin { background: var(--orange-deep); }
.teacher__message {
  position: relative;
  padding: 26px 22px 20px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(37, 37, 37, 0.14);
}
.teacher__hobby { font-size: 17px; font-weight: 900; line-height: 1.6; }
.teacher__policy-label {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1.5px dashed rgba(37, 37, 37, 0.2);
  font-size: 13px; font-weight: 700;
  line-height: 1.5;
  color: var(--blue);
}
.teacher--emma .teacher__policy-label { color: var(--orange-deep); }
.teacher__policy { margin-top: 4px; font-size: 15px; font-weight: 500; line-height: 1.8; }
.teacher__message::before {
  content: "";
  position: absolute; top: -12px; right: 36px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 14px solid var(--white);
}
.teacher--emma .teacher__message::before { right: auto; left: 64%; }

.teachers__support {
  display: flex; align-items: center; gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin: 56px auto 0;
  padding: 14px 24px 14px 16px;
  background: var(--yellow);
  border-radius: 24px;
  transform: rotate(-1.5deg);
}
.teachers__support-icon {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
}
.teachers__support-icon svg {
  width: 24px; height: 24px;
  fill: none; stroke: var(--white); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
}
.teachers__support-title { font-size: 20px; font-weight: 900; line-height: 1.4; }
.teachers__support-text { margin-top: 2px; font-size: 15px; font-weight: 700; line-height: 1.6; }

@media (min-width: 600px) {
  .teachers__list { grid-template-columns: 1fr 1fr; gap: 40px; }
  .teacher--emma { margin-top: 96px; }
  .teacher__visual { width: 90%; }
  .teachers__support { padding: 16px 32px 16px 18px; gap: 16px; }
  .teachers__support-icon { width: 52px; height: 52px; }
  .teachers__support-title { font-size: 24px; }
  .teachers__support-text { font-size: 16px; }
}
@media (min-width: 1024px) {
  /* 見出しブロック：左に見出し、右に本文と手書き文字を置き右側の空きを解消 */
  .teachers__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 72px;
    align-items: end;
    max-width: none;
    margin-inline: 4% 2%;
  }
  .teachers__head .kicker { grid-column: 1; grid-row: 1; justify-self: start; }
  .teachers__head .section-title { grid-column: 1; grid-row: 2 / span 2; }
  .teachers__head .section-lead { grid-column: 2; grid-row: 2; margin-top: 0; max-width: 460px; }
  .hand--nice { grid-column: 2; grid-row: 3; justify-self: start; }
  .teachers__list { gap: 64px; margin-top: 64px; }
  .teacher { padding-bottom: 72px; }
  .teacher__visual { width: min(372px, 76%); }
  .teacher--emma { margin-top: 150px; }
  .teacher--emma .teacher__visual { margin-right: 2%; }
  /* PCは吹き出しを写真の横に重ねる（写真は主役のまま大きく） */
  .teacher__body {
    position: absolute;
    width: 318px;
    margin: 0;
  }
  .teacher--alex .teacher__body { left: calc(min(372px, 76%) - 56px); top: 16%; }
  .teacher--emma .teacher__body { right: calc(min(372px, 76%) + 2% - 56px); top: 54%; margin: 0; }
  .teacher__message::before {
    top: 34px; right: auto; left: -12px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 0;
    border-right: 14px solid var(--white);
  }
  .teacher--emma .teacher__message::before {
    left: auto; right: -12px;
    border-right: 0;
    border-left: 14px solid var(--white);
  }
  .teachers__support { margin-top: 8px; }
}

/* Lessons */
.lessons {
  display: grid;
  gap: 40px;
  margin-top: 72px;
}
.lessons__visual {
  position: relative;
  padding: 30px 6% 0 2%;
}
.lessons__visual::before {
  content: "";
  position: absolute;
  inset: 22% -2% -5% 18%;
  background: var(--blue);
  border-radius: 28px;
  transform: rotate(-4deg);
}
.lessons__photo-pair {
  aspect-ratio: 4 / 3;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-photo);
}
.bubble--q {
  left: 0; top: 0;
  background: var(--white);
  font-size: 20px;
  transform: rotate(-5deg);
}
.bubble--q::after { top: auto; bottom: -10px; border-bottom: 0; border-top: 14px solid var(--white); }
.bubble--a {
  right: 0; bottom: 10%;
  font-size: 24px;
  transform: rotate(6deg);
}
.bubble--a::after { left: auto; right: 26px; }
@media (min-width: 1024px) {
  .bubble--q { font-size: 26px; padding: 14px 22px 16px; left: -4%; }
  .bubble--a { font-size: 30px; padding: 14px 24px 16px; right: -2%; }
}

.lessons__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2rem);
  font-weight: 900;
  line-height: 1.4;
}
.lessons__label {
  display: block;
  width: fit-content;
  margin-bottom: 6px;
  font-family: var(--font-hand);
  font-size: 30px; font-weight: 700;
  color: var(--blue);
  transform: rotate(-4deg);
}
.lessons__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 18px;
  margin-top: 26px;
}
.lesson-topic {
  display: grid;
  align-content: start;
}
.lesson-topic__icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
  background: var(--yellow);
  transform: rotate(-6deg);
}
.lesson-topic--travel .lesson-topic__icon { background: var(--blue); transform: rotate(5deg); }
.lesson-topic--travel .lesson-topic__icon img { filter: brightness(0) invert(1); }
.lesson-topic--chat .lesson-topic__icon { background: var(--orange); transform: rotate(4deg); }
.lesson-topic--hobby .lesson-topic__icon { background: var(--peach); transform: rotate(-4deg); }
.lesson-topic__icon img { width: 32px; height: 32px; }
.lesson-topic__title {
  margin-top: 12px;
  font-size: 17px; font-weight: 900;
  line-height: 1.4;
}
.lesson-topic__title::after {
  content: "";
  display: block;
  width: 28px; height: 4px;
  margin-top: 6px;
  border-radius: 2px;
  background: var(--yellow);
}
.lesson-topic--travel .lesson-topic__title::after { background: var(--blue); }
.lesson-topic--chat .lesson-topic__title::after { background: var(--orange); }
.lesson-topic--hobby .lesson-topic__title::after { background: var(--peach); }
.lesson-topic__text { margin-top: 8px; font-size: 14px; line-height: 1.75; color: var(--ink-soft); }

@media (max-width: 379px) {
  .lessons__list { grid-template-columns: 1fr; gap: 20px; }
  .lesson-topic { grid-template-columns: 60px 1fr; column-gap: 14px; }
  .lesson-topic__icon { grid-row: span 2; width: 56px; height: 56px; }
  .lesson-topic__title { margin-top: 0; }
}
@media (min-width: 768px) {
  .lesson-topic__icon { width: 76px; height: 76px; }
  .lesson-topic__icon img { width: 38px; height: 38px; }
  .lesson-topic__title { font-size: 19px; margin-top: 14px; }
  .lesson-topic__text { font-size: 15px; }
}
@media (min-width: 1024px) {
  .lessons {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
    margin-top: 80px;
  }
}

/* ---------- 4-04. Pricing ---------- */
.pricing {
  background: var(--cream-deep);
}

.plans { display: grid; gap: 18px; }
.plan {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name name" "count price" "desc desc";
  align-items: end;
  gap: 4px 12px;
  padding: 20px 20px 18px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}
.plan__name {
  grid-area: name;
  justify-self: start;
  padding: 2px 14px;
  border-radius: 999px;
  background: var(--white);
  font-size: 15px; font-weight: 900;
  line-height: 1.7;
}
/* ライト・アクティブは白地＋上部ライン・ラベルでアクセント */
.plan--light { box-shadow: inset 0 6px 0 var(--yellow), var(--shadow-card); }
.plan--light .plan__name { background: var(--yellow); }
.plan--active { box-shadow: inset 0 6px 0 var(--orange), var(--shadow-card); }
.plan--active .plan__name { background: var(--orange); }
.plan__count {
  grid-area: count;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 900;
  line-height: 1.2;
}
.plan__count b { font-family: "Epilogue", sans-serif; font-size: 2em; margin-inline: 2px; }
.plan__price {
  grid-area: price;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}
.plan__yen {
  font-family: "Epilogue", sans-serif;
  font-size: 36px; font-weight: 900;
  letter-spacing: -0.01em;
  margin-right: 2px;
}
.plan__price small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.plan__desc {
  grid-area: desc;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1.5px dashed rgba(37, 37, 37, 0.2);
  font-size: 14px;
  line-height: 1.6;
}
.plan--recommended {
  margin-block: 14px 4px;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(49, 85, 217, 0.32);
}
.plan--recommended .plan__name { background: var(--yellow); color: var(--ink); }
.plan--recommended .plan__count b,
.plan--recommended .plan__yen { color: var(--white); }
.plan--light .plan__count b { color: #9a6b00; }
.plan--active .plan__count b { color: var(--orange-deep); }
.plan--recommended .plan__price small { color: rgba(255, 255, 255, 0.82); }
.plan--recommended .plan__desc { border-top-color: rgba(255, 255, 255, 0.35); }
.plan__badge {
  position: absolute; top: -30px; right: -6px;
  display: grid; place-items: center;
  width: 78px; height: 78px;
  transform: rotate(12deg);
}
.plan__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--yellow); filter: drop-shadow(0 4px 8px rgba(37, 37, 37, 0.2)); }
.plan__badge span { position: relative; font-size: 13px; font-weight: 900; color: var(--ink); }

@media (min-width: 768px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
  .plan {
    grid-template-columns: 1fr;
    grid-template-areas: "name" "count" "price" "desc";
    grid-template-rows: auto auto auto 1fr;
    align-items: start;
    gap: 8px;
    padding: 34px 24px 28px;
    text-align: center;
  }
  .plan__name { justify-self: center; }
  .plan__count { font-size: 20px; margin-top: 8px; }
  .plan__price { text-align: center; margin-top: 8px; }
  .plan__yen { font-size: 40px; }
  .plan__desc { margin-top: 12px; padding-top: 16px; }
  .plan--recommended { margin: 0; transform: translateY(-14px) rotate(-1.5deg); }
  .plan__badge { top: -38px; right: -18px; width: 90px; height: 90px; }
  .plan__badge span { font-size: 14px; }
}
@media (min-width: 1024px) {
  .plan__yen { font-size: 54px; }
}

.plans-common {
  margin-top: 36px;
  padding: 22px 20px;
  border: 2px dashed rgba(37, 37, 37, 0.22);
  border-radius: 22px;
}
.plans-common__title { font-size: 18px; font-weight: 900; line-height: 1.4; }
.plans-common__list {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 14px;
}
.plans-common__list li {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 8px;
  background: var(--white);
  border-radius: 999px;
  font-size: 15px; font-weight: 700;
  line-height: 1.5;
}
.plans-common__list li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 15px no-repeat;
}
@media (min-width: 768px) {
  .plans-common { display: flex; align-items: center; gap: 28px; padding: 24px 32px; }
  .plans-common__title { flex: none; font-size: 20px; }
  .plans-common__list { margin-top: 0; gap: 12px; }
  .plans-common__list li { font-size: 16px; }
}

/* 入会金：月額とは別の初期費用として独立表示 */
.plans-extra { display: grid; gap: 14px; margin-top: 36px; }
.plans-extra .plans-common { margin-top: 0; }
.plans-fee {
  padding: 18px 22px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}
.plans-fee__label {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px; font-weight: 700;
  line-height: 1.6;
}
.plans-fee__price { margin-top: 8px; font-size: 17px; font-weight: 900; line-height: 1.3; white-space: nowrap; }
.plans-fee__price b { margin-inline: 2px; font-family: "Epilogue", sans-serif; font-size: 1.7em; font-weight: 900; }
.plans-fee__price small { font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.plans-fee__note { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
@media (min-width: 1024px) {
  .plans-extra { grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: stretch; }
}

.section-cta { margin-top: 44px; text-align: center; }
.section-cta .btn { width: 100%; }
@media (min-width: 600px) { .section-cta .btn { width: auto; } }

/* ---------- 4-05. FAQ ---------- */
.bgword--faq {
  right: 2vw; top: 24px;
  font-size: clamp(12rem, 52vw, 30rem);
  color: var(--yellow-pale);
  transform: rotate(14deg);
}
.accordion { border-top: 2px solid var(--ink); }
.accordion__item { border-bottom: var(--line); }
.accordion__item:last-child { border-bottom: 2px solid var(--ink); }
.accordion__trigger {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  padding: 20px 4px;
  background: none; border: 0;
  text-align: left;
  font-size: 16px; font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
}
.accordion__trigger:hover .accordion__question { color: var(--blue); }
.accordion__q, .accordion__a {
  display: inline-grid; place-items: center; flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-family: "Epilogue", sans-serif;
  font-size: 17px; font-weight: 900;
  line-height: 1;
}
.accordion__q { background: var(--blue); color: var(--white); }
.accordion__a { background: var(--yellow); color: var(--ink); }
.accordion__question { flex: 1; transition: color 0.15s ease; }
.accordion__icon {
  position: relative; flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(37, 37, 37, 0.5);
}
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon { background: var(--yellow); box-shadow: none; }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.3s ease, visibility 0s linear 0.3s;
}
.accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.3s ease;
}
.accordion__inner { overflow: hidden; }
/* Aの丸はパネル内（overflow: hidden）に収め、本文1行目と中心を揃える */
.accordion__inner p {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 2px 4px 24px;
  font-size: 15px;
  line-height: 1.9;
}
.accordion__answer { flex: 1; min-width: 0; padding-top: 0.18em; }
@media (min-width: 768px) {
  .accordion__trigger { font-size: 18px; padding: 24px 8px; }
  .accordion__inner p { font-size: 16px; padding-inline: 8px; }
}

/* ---------- 4-06. Access ---------- */
.access { background: var(--cream-deep); padding-bottom: calc(var(--section-py) + var(--wave-h)); }
.access__grid { display: grid; gap: 48px; }
.access__media { position: relative; }
.access__map { position: relative; z-index: 1; }
/* 元画像3:2のまま全体を表示（駅名・教室名・ルート・注記を切らない） */
.access__map-img {
  aspect-ratio: 3 / 2;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-photo);
}
.access__map-img img { object-fit: contain; }
.access__map-note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}
/* マスキングテープ */
.access__media::before,
.access__media::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 96px; height: 28px;
  background: rgba(255, 223, 100, 0.85);
  pointer-events: none;
}
.access__media::before { top: -8px; left: 8%; transform: rotate(-24deg); }
.access__media::after { top: -2px; right: 6%; transform: rotate(18deg); background: rgba(255, 121, 69, 0.7); }
/* SP：地図内の文字を読みやすくするため画面幅いっぱいに */
@media (max-width: 599px) {
  .access__map-img { margin-inline: calc(var(--gutter) * -1 + 6px); border-radius: 12px; }
}
.hand--access {
  position: static;
  margin-top: 14px;
  text-align: right;
  font-size: 28px;
  color: var(--blue);
  transform: rotate(-3deg);
}

.access__info .section-title { margin-top: 14px; }
.access__walk {
  display: inline-block;
  padding-inline: 4px;
  background: linear-gradient(transparent 64%, var(--yellow) 64%);
}
.access__walk b {
  margin-inline: 2px;
  font-family: "Epilogue", sans-serif;
  font-size: 1.45em; font-weight: 900;
  line-height: 1;
  color: var(--blue);
}

.info-list { margin-top: 28px; border-top: 2px solid var(--ink); }
.info-list__row {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 12px;
  padding-block: 16px;
  border-bottom: var(--line);
}
.info-list dt { font-size: 14px; font-weight: 700; color: var(--ink-soft); line-height: 1.9; }
.info-list dd { font-weight: 700; }
@media (min-width: 1024px) {
  .access__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
  .access__media { margin-top: 12px; }
}

/* ---------- 4-07. Trial & Booking ---------- */
.trial {
  --wave-color: var(--blue);
  background-color: var(--blue);
  background-image: radial-gradient(rgba(255, 248, 234, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--white);
}
.bgword--trial {
  left: -2vw; top: 32px;
  font-size: clamp(5rem, 22vw, 17rem);
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 248, 234, 0.18);
  transform: rotate(-5deg);
}

.trial__catch {
  margin-top: 18px;
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
  font-weight: 900;
  line-height: 1.5;
  color: var(--yellow);
}
.trial .section-lead { margin-top: 10px; }
@media (max-width: 599px) { .trial .section-lead br { display: none; } }
.nowrap { display: inline-block; white-space: nowrap; }
@media (max-width: 399px) { .trial__catch { font-size: 19px; } }

/* 体験の内容（3ステップ） */
.trial-steps {
  display: grid;
  gap: 0;
  max-width: 880px;
  margin-inline: auto;
}
.trial-step {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1.5px dashed rgba(255, 248, 234, 0.35);
}
.trial-step:last-child { border-bottom: 1.5px dashed rgba(255, 248, 234, 0.35); }
.trial-step__num {
  grid-row: span 2;
  width: 52px;
  font-family: "Epilogue", sans-serif;
  font-size: 40px; font-weight: 900;
  line-height: 1;
  color: var(--yellow);
}
.trial-step:nth-child(2) .trial-step__num { color: var(--peach); }
.trial-step__title { font-size: 18px; font-weight: 900; line-height: 1.5; }
.trial-step__time {
  display: inline-block;
  margin-left: 8px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px; font-weight: 700;
  line-height: 1.7;
  vertical-align: 0.15em;
}
.trial-step__text { margin-top: 6px; font-size: 15px; line-height: 1.8; color: rgba(255, 255, 255, 0.9); }
.trial__note {
  margin-top: 22px;
  text-align: center;
  font-size: 15px; font-weight: 700;
  color: var(--yellow);
}
@media (min-width: 768px) {
  .trial-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .trial-step { grid-template-columns: 1fr; padding: 22px 0 0; border-bottom: 0 !important; border-top-width: 2px; }
  .trial-step__num { grid-row: auto; width: auto; font-size: 48px; }
  .trial-step__title { margin-top: 12px; font-size: 19px; }
  .trial-step__time { display: table; margin: 6px 0 0; }
  .trial__note { margin-top: 28px; font-size: 16px; }
}

.booking {
  margin-top: 40px;
  padding: 28px 18px 32px;
  background: var(--white);
  color: var(--ink);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(10, 20, 70, 0.35);
}
.booking:focus { outline: none; }
@media (min-width: 768px) { .booking { padding: 48px 56px 52px; margin-top: 56px; } }

.booking__title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  font-weight: 900;
  line-height: 1.4;
}

/* ---------- 5. Form internals ---------- */
.booking__demo {
  margin-top: 10px;
  text-align: center;
  font-size: 14px; font-weight: 500;
  line-height: 1.7;
  color: var(--ink-soft);
}

.form-step {
  margin: 32px 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.form-step + .form-step { margin-top: 36px; padding-top: 32px; border-top: 1.5px solid rgba(37, 37, 37, 0.14); }
.form-step__legend {
  float: left; /* fieldset枠線上への配置を避ける */
  width: 100%;
  margin-bottom: 16px; /* floatのため後続要素のmarginは効かない。間隔はここで取る */
  display: flex; align-items: center; flex-wrap: wrap;
  padding: 0;
  font-size: 19px; font-weight: 900;
  line-height: 1.5;
}
.form-step__num {
  margin-right: 12px;
  padding: 3px 10px;
  background: var(--blue);
  color: var(--white);
  border-radius: 6px;
  font-family: "Epilogue", sans-serif;
  font-size: 13px; font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.06em;
}
.form-step__legend + * { clear: both; }
@media (min-width: 768px) { .form-step__legend { font-size: 21px; } }

/* 小見出し（候補 ／ または 日付・時間を指定） */
.form-subhead { font-size: 15px; font-weight: 700; line-height: 1.5; }
.form-subhead--or {
  display: flex; align-items: center; gap: 10px;
  margin-top: 24px;
}
.form-subhead--or span {
  flex: none;
  padding: 1px 12px;
  border-radius: 999px;
  background: var(--cream-deep);
  font-size: 13px; font-weight: 700;
  color: var(--ink-soft);
}

/* 入力系の共通形状 */
.quick-slot__box,
.input,
.select select {
  background: var(--white);
  border: 2px solid rgba(37, 37, 37, 0.28);
  border-radius: 12px;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

/* 日時候補 */
.quick-slots { display: grid; gap: 10px; margin-top: 10px; }
@media (min-width: 640px) { .quick-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quick-slot { position: relative; display: block; cursor: pointer; }
.quick-slot input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.quick-slot__box {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  height: 100%;
  min-height: 52px;
  padding: 12px 16px;
}
.quick-slot__tag {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--cream-deep);
  font-size: 12px; font-weight: 700;
  line-height: 1.7;
}
.quick-slot__date { font-weight: 700; font-size: 16px; line-height: 1.5; }
.quick-slot__date b { font-family: "Epilogue", "Noto Sans JP", sans-serif; font-size: 1.1em; margin-left: 4px; }
.quick-slot:hover .quick-slot__box { border-color: var(--blue); }
.quick-slot input:focus-visible + .quick-slot__box { outline: 3px solid var(--orange); outline-offset: 2px; }
.quick-slot input:checked + .quick-slot__box {
  border-color: var(--blue);
  background: var(--blue-tint);
  box-shadow: 0 0 0 1px var(--blue);
}
.quick-slot input:checked + .quick-slot__box .quick-slot__tag { background: var(--blue); color: var(--white); }

/* 個別選択 */
.date-time {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.field { margin-top: 20px; }
.form-step__legend + .field { margin-top: 0; }
.date-time .field { margin-top: 0; }
.field__label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.date-time .field__label { font-size: 14px; color: var(--ink-soft); }

.input, .select select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font-size: 16px; /* iOSズーム防止 */
  line-height: 1.4;
}
.input::placeholder { color: rgba(37, 37, 37, 0.45); }
.input:focus, .select select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(49, 85, 217, 0.22); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; }
.select select:disabled { background: #f4f2ee; color: rgba(37, 37, 37, 0.5); cursor: not-allowed; }
.select::after {
  content: "";
  position: absolute; right: 15px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
[aria-invalid="true"] { border-color: var(--error) !important; background-color: #fff6f5; }

.selected-slot {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f4f2ee;
  font-size: 15px; font-weight: 700;
  color: var(--ink-soft);
}
.selected-slot.is-selected { background: var(--blue-tint); color: var(--blue-dark); }

.field__error {
  margin-top: 6px;
  font-size: 14px; font-weight: 700;
  color: var(--error);
  line-height: 1.5;
}
.field__error:empty { display: none; }
.field__error::before { content: "！ "; }

.booking-form > .btn { margin-top: 36px; }

/* 完了画面 */
.complete { text-align: center; padding-block: 12px; }
.complete__en {
  display: inline-block;
  font-family: "Epilogue", sans-serif;
  font-size: clamp(2.5rem, 1.8rem + 3vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--blue);
  transform: rotate(-3deg);
}
.complete__en:focus { outline: none; }
.complete__title { margin-top: 12px; font-size: 20px; font-weight: 900; }
.complete__slot {
  margin: 24px auto 0;
  max-width: 420px;
  padding: 18px;
  background: var(--yellow);
  border-radius: 20px;
  transform: rotate(-1deg);
}
.complete__slot dt { font-size: 13px; font-weight: 700; }
.complete__slot dd { margin-top: 4px; font-size: 20px; font-weight: 900; line-height: 1.5; }
.complete__note { margin-top: 20px; font-size: 14px; color: var(--ink-soft); }
.complete .btn { margin-top: 24px; }


/* ---------- 6. Footer / Sticky CTA ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: 64px 40px;
  background: var(--ink);
  color: var(--cream);
}
.site-footer::before {
  content: "Oops!";
  position: absolute;
  right: -2vw; bottom: -0.18em;
  font-family: "Epilogue", sans-serif;
  font-size: clamp(6rem, 26vw, 18rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 248, 234, 0.05);
  pointer-events: none;
}
.site-footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.logo--footer { margin-right: 0; }
.logo--footer .logo__english { color: var(--cream); }
.logo--footer .logo__oops { border-color: var(--cream); box-shadow: 2px 2px 0 var(--orange); }
.footer-nav ul {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 4px 20px;
  margin-top: 28px;
}
.footer-nav a {
  display: inline-block;
  padding: 6px 2px;
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  color: rgba(255, 248, 234, 0.88);
}
.footer-nav a:hover { color: var(--yellow); text-decoration: underline; }
.site-footer__disclaimer {
  max-width: 640px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 248, 234, 0.2);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 248, 234, 0.78);
  text-align: left;
}
@media (min-width: 768px) { .site-footer__disclaimer { text-align: center; } }
.site-footer__copy { margin-top: 16px; font-size: 12px; color: rgba(255, 248, 234, 0.7); }

.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 248, 234, 0.97);
    border-top: 1.5px solid rgba(37, 37, 37, 0.12);
    box-shadow: 0 -8px 24px rgba(37, 37, 37, 0.12);
    transform: translateY(110%);
    transition: transform 0.25s ease;
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta__btn { flex: 1; min-height: 52px; padding: 10px 18px; font-size: 16px; }
}

/* 極小幅（〜399px）：日本語サポート見出しの不自然な改行を防ぐ */
@media (max-width: 399px) {
  .teachers__support { padding: 12px 18px 12px 12px; gap: 12px; }
  .teachers__support-icon { width: 38px; height: 38px; }
  .teachers__support-title { font-size: 17px; }
  .teachers__support-text { font-size: 14px; }
}
