/* Flico IT Kids School — Landing Page Styles
   Sunshine Pop palette × やわらかフォント */

:root {
  --color-yellow: #FFD93D;
  --color-coral: #FF6B6B;
  --color-turquoise: #4ECDC4;
  --color-teal: #1A535C;
  --color-bg: #FFF9EE;
  --color-bg-cream: #FCF6E8;
  --color-bg-accent: #1A535C;
  --color-text: #1f2933;
  --color-text-soft: #5b6b78;
  --color-line: #e8e1d0;
  --color-white: #ffffff;

  --font-display: 'Zen Maru Gothic', 'Yomogi', 'Klee One', 'Hiragino Sans', sans-serif;
  --font-body: 'Zen Maru Gothic', 'Hiragino Sans', sans-serif;
  --font-accent: 'Yomogi', 'Zen Kurenaido', cursive;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(26, 83, 92, 0.08);
  --shadow-md: 0 6px 24px rgba(26, 83, 92, 0.12);
  --shadow-pop: 4px 4px 0 var(--color-teal);

  --max-w: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.7; }
ul { list-style: none; padding: 0; margin: 0; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 238, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.header__logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  color: var(--color-teal);
  letter-spacing: 0.02em;
}
.header__nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}
.header__nav a { color: var(--color-text-soft); }
.header__nav a:hover { color: var(--color-coral); opacity: 1; }
.header__nav-cta { display: none; }

.header__burger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  width: 44px;
  height: 44px;
  position: relative;
}
.header__nav-close { display: none; }
.header__burger span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 3px;
  background: var(--color-teal);
  border-radius: 2px;
  transition: transform 0.25s, top 0.25s, opacity 0.2s;
}
.header__burger span:nth-child(1) { top: 14px; }
.header__burger span:nth-child(2) { top: 21px; }
.header__burger span:nth-child(3) { top: 28px; }
.header__burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-coral);
  color: var(--color-white);
  box-shadow: var(--shadow-pop);
}
.btn--primary:hover {
  opacity: 1;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--color-teal);
}
.btn--small { padding: 8px 16px; font-size: 13px; }
.btn--lg { padding: 18px 36px; font-size: 17px; }
.btn--xl { padding: 22px 48px; font-size: 19px; }

.btn--primary::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
  margin-left: 4px;
  transition: transform 0.15s;
}
.btn--primary:hover::after { transform: translateX(3px); }
.btn--primary.btn--lg::after,
.btn--primary.btn--xl::after {
  border-top-width: 7px;
  border-bottom-width: 7px;
  border-left-width: 11px;
  margin-left: 6px;
}

/* Section common */
.section {
  padding: 80px 24px;
  position: relative;
}
.section--bg-cream { background: var(--color-bg-cream); }
.section--bg-accent {
  background: var(--color-bg-accent);
  color: var(--color-white);
}
.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 36px);
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.4;
}
.section__title-sub {
  font-size: 0.6em;
  color: var(--color-text-soft);
  font-weight: 500;
}
.section__lead {
  text-align: center;
  color: var(--color-text-soft);
  margin: 0 0 48px;
  font-size: 16px;
}
.accent {
  background: linear-gradient(transparent 60%, var(--color-yellow) 60%);
  padding: 0 4px;
}

/* 01: FV */
.fv {
  position: relative;
  padding: 80px 24px 100px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 217, 61, 0.35), transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(78, 205, 196, 0.25), transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(255, 107, 107, 0.18), transparent 60%),
    var(--color-bg);
}
.fv__inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.fv__pre {
  font-family: var(--font-accent);
  color: var(--color-text-soft);
  font-size: 15px;
  margin: 0 0 18px;
  letter-spacing: 0.04em;
}
.fv__h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.3;
  margin: 0 0 18px;
  color: var(--color-teal);
}
.squiggle {
  width: 120px;
  height: 12px;
  display: block;
  margin: 14px auto 18px;
}
.fv__brand {
  font-family: var(--font-accent);
  font-size: clamp(20px, 3vw, 28px);
  color: var(--color-coral);
  margin: 0 0 24px;
  font-weight: 400;
}
.fv__sub {
  font-size: 16px;
  color: var(--color-text);
  margin: 0 0 28px;
  line-height: 1.9;
}
.fv__tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
}
.tag {
  display: inline-block;
  background: var(--color-white);
  border: 2px solid var(--color-teal);
  color: var(--color-teal);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.fv__deco {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}
.fv__deco--1 {
  top: 10%; left: 8%;
  width: 80px; height: 80px;
  background: var(--color-yellow);
  opacity: 0.5;
  animation: floatY 6s ease-in-out infinite;
}
.fv__deco--2 {
  top: 60%; right: 6%;
  width: 110px; height: 110px;
  background: var(--color-turquoise);
  opacity: 0.4;
  animation: floatY 8s ease-in-out infinite reverse;
}
.fv__deco--3 {
  bottom: 8%; left: 12%;
  width: 60px; height: 60px;
  background: var(--color-coral);
  opacity: 0.5;
  animation: floatY 7s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* 02: Features */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.feature {
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 3px solid var(--color-teal);
  background: var(--color-white);
  box-shadow: var(--shadow-pop);
  transition: transform 0.2s;
}
.feature:hover { transform: translateY(-4px); }
.feature--yellow { background: #FFF8DC; }
.feature--coral { background: #FFE5E5; }
.feature--turquoise { background: #E0F5F2; }
.feature__icon {
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-white);
  border: 3px solid var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  margin: 0 0 12px;
  color: var(--color-teal);
}
.feature__desc {
  font-size: 14px;
  color: var(--color-text);
  margin: 0;
  line-height: 1.8;
}

/* 03: Courses */
.courses__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.course {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 3px solid var(--color-teal);
  box-shadow: var(--shadow-pop);
  transition: transform 0.2s;
}
.course:hover { transform: translateY(-4px); }
.course__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px 8px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.course__badge-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}
.course--programming .course__badge { background: var(--color-yellow); color: var(--color-teal); }
.course--creative .course__badge { background: var(--color-coral); color: var(--color-white); }
.course__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  margin: 0 0 20px;
  line-height: 1.4;
  color: var(--color-teal);
}
.course__list { margin: 0 0 24px; }
.course__list li {
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 1px dashed var(--color-line);
}
.course__list li:last-child { border-bottom: none; }
.course__meta {
  background: var(--color-bg-cream);
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.8;
}
.course__meta p { margin: 0 0 4px; }
.course__meta p:last-child { margin: 0; }

/* 04: Flow */
.flow__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  margin: 40px 0 32px;
}
.flow__step {
  background: var(--color-white);
  border: 3px solid var(--color-turquoise);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
}
.flow__time {
  display: inline-block;
  background: var(--color-turquoise);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 900;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  margin-bottom: 12px;
}
.flow__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--color-teal);
}
.flow__step p {
  font-size: 13px;
  color: var(--color-text-soft);
  margin: 0;
  line-height: 1.7;
}
.flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 28px;
  height: 28px;
}
.flow__arrow::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 14px solid var(--color-coral);
}
.flow__note {
  text-align: center;
  background: var(--color-yellow);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  margin: 32px auto 0;
  max-width: 600px;
}

/* Gallery */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.gallery__item { margin: 0; text-align: center; }
.gallery__img {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-coral) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  border: 3px solid var(--color-teal);
  box-shadow: var(--shadow-pop);
  position: relative;
  overflow: hidden;
}
.gallery__img::after {
  content: 'SAMPLE';
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-teal);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.gallery__item:nth-child(2) .gallery__img { background: linear-gradient(135deg, var(--color-turquoise) 0%, var(--color-yellow) 100%); }
.gallery__item:nth-child(3) .gallery__img { background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-turquoise) 100%); }
.gallery__item:nth-child(4) .gallery__img { background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-turquoise) 100%); }
.gallery__item figcaption {
  margin-top: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-teal);
}

/* 05: Price */
.price__card {
  max-width: 600px;
  margin: 32px auto 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 3px solid var(--color-teal);
  box-shadow: var(--shadow-pop);
}
.price__main {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 2px dashed var(--color-line);
  margin-bottom: 24px;
}
.price__label {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text-soft);
  margin: 0 0 8px;
}
.price__amount {
  margin: 0 0 8px;
  font-family: var(--font-display);
  color: var(--color-coral);
}
.price__num { font-size: 64px; font-weight: 900; }
.price__unit { font-size: 24px; font-weight: 700; margin-left: 4px; }
.price__tax { font-size: 14px; color: var(--color-text-soft); margin-left: 8px; }
.price__note { margin: 0; color: var(--color-text-soft); font-size: 14px; }
.price__list { margin: 0 0 24px; }
.price__list li { padding: 8px 0; font-size: 15px; }
.check {
  display: inline-block;
  position: relative;
  background: var(--color-turquoise);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}
.check::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 11px;
  border-right: 2.5px solid var(--color-white);
  border-bottom: 2.5px solid var(--color-white);
  transform: rotate(45deg);
}
.price__campaign {
  background: var(--color-yellow);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  margin-bottom: 16px;
}
.price__campaign-tag {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 4px;
  font-size: 13px;
}
.price__campaign-text {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-teal);
}
.price__campaign-text strong { color: var(--color-coral); font-size: 1.2em; }
.price__sibling {
  background: var(--color-bg-cream);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 16px;
  font-size: 14px;
}
.price__sibling p { margin: 0; }
.price__small {
  font-size: 12px;
  color: var(--color-text-soft);
  margin: 0;
  text-align: center;
}

/* 06: Teacher */
.teacher__card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 3px solid var(--color-teal);
  box-shadow: var(--shadow-pop);
  margin-top: 32px;
}
.teacher__photo {
  aspect-ratio: 1;
  background: var(--color-bg-cream);
  border-radius: 50%;
  border: 3px dashed var(--color-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--color-text-soft);
}

.teacher__role { font-size: 13px; color: var(--color-text-soft); margin: 0 0 4px; }
.teacher__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  color: var(--color-teal);
  margin: 0 0 16px;
}
.teacher__catch {
  font-family: var(--font-accent);
  font-size: 20px;
  color: var(--color-coral);
  margin: 0 0 16px;
}
.teacher__profile { font-size: 14px; color: var(--color-text); margin: 0; line-height: 1.9; }
.teacher__link-row { margin: 16px 0 0; font-size: 14px; }
.teacher__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-teal);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s ease;
}
.teacher__link::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid currentColor;
}
.teacher__link:hover { opacity: 0.7; }

/* 07: Venue */
.venue__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}
.venue__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  margin: 0 0 16px;
  color: var(--color-teal);
}
.venue__addr { font-size: 14px; margin: 0 0 8px; line-height: 1.8; }
.venue__desc { font-size: 14px; color: var(--color-text-soft); margin: 16px 0 0; }
.venue__map-placeholder {
  aspect-ratio: 4/3;
  background: var(--color-bg-cream);
  border: 3px dashed var(--color-line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-text-soft);
}
.venue__map-placeholder p:first-child { font-size: 56px; margin: 0; }
.venue__map-placeholder p { margin: 0; font-size: 13px; text-align: center; line-height: 1.6; }
.venue__map-placeholder iframe {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
}

/* 08: Trial CTA */
.trial { text-align: center; }
.trial__pre { font-family: var(--font-accent); color: var(--color-yellow); font-size: 16px; margin: 0 0 16px; }
.trial__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 42px);
  margin: 0 0 12px;
  color: var(--color-white);
}
.trial__lead { font-size: 16px; color: rgba(255, 255, 255, 0.85); margin: 0 0 48px; }
.trial__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 720px;
  margin: 0 auto 40px;
}
.trial__step {
  flex: 1;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  color: var(--color-teal);
  position: relative;
  z-index: 1;
}
.trial__num {
  width: 48px;
  height: 48px;
  background: var(--color-coral);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.trial__step h3 {
  font-family: var(--font-display);
  font-weight: 900;
  margin: 0 0 4px;
  font-size: 16px;
}
.trial__sub { margin: 0; font-size: 12px; color: var(--color-text-soft); }
.trial__connector { width: 32px; height: 3px; background: var(--color-yellow); flex-shrink: 0; }
.trial__small { margin: 12px 0 0; font-size: 12px; color: rgba(255, 255, 255, 0.7); }

/* 09: FAQ */
.faq__list { max-width: 760px; margin: 32px auto 0; }
.faq__item {
  background: var(--color-white);
  border: 2px solid var(--color-line);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq__item[open] { border-color: var(--color-coral); }
.faq__q {
  padding: 18px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  list-style: none;
  padding-right: 56px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before {
  content: 'Q';
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--color-coral);
  color: var(--color-white);
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-weight: 900;
  margin-right: 12px;
  font-size: 14px;
}
.faq__q::after {
  content: '＋';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--color-coral);
  transition: transform 0.2s;
}
.faq__item[open] .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a {
  padding: 0 24px 20px 64px;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.9;
}

/* Final CTA */
.final-cta {
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255, 217, 61, 0.4), transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(78, 205, 196, 0.3), transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
    url('img/final_cta01.jpeg') center / cover no-repeat,
    var(--color-bg);
  padding: 80px 24px 100px;
}
.final-cta__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 40px);
  color: var(--color-teal);
  margin: 0 0 16px;
  line-height: 1.4;
}
.final-cta__lead { color: var(--color-text-soft); margin: 0 0 36px; font-size: 16px; }

/* Footer */
.footer { background: var(--color-teal); color: var(--color-white); padding: 48px 24px 24px; }
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.footer__logo { font-family: var(--font-display); font-weight: 900; font-size: 20px; margin: 0 0 8px; }
.footer__tag { font-size: .9rem; font-family: var(--font-accent); color: var(--color-yellow); margin: 0 1rem 12px; }
.footer__company { font-size: 13px; margin: 0; opacity: 0.8; }
.footer__links { display: flex; gap: 20px; font-size: 14px; }
.footer__contact { font-size: 13px; line-height: 1.9; opacity: 0.85; }
.footer__contact p { margin: 0; }
.footer__copy {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 12px;
  opacity: 0.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .header__inner { padding: 12px 16px; gap: 12px; }
  .header__logo { font-size: 15px; }
  .header__cta { display: none; }
  .header__burger { display: block; }

  /* nav 展開中はヘッダーの backdrop-filter を切る（fixed の包含ブロック化を回避） */
  body.nav-open .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    font-size: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 90;
    padding: 88px 24px 40px;
    margin-left: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .header__nav.is-open { transform: translateX(0); }

  .header__nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border: 2px solid var(--color-teal);
    border-radius: 50%;
    color: var(--color-teal);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    padding: 0;
  }
  .header__nav-close:hover { background: var(--color-coral); color: var(--color-white); border-color: var(--color-coral); }
  .header__nav-close:hover .icon-close::before,
  .header__nav-close:hover .icon-close::after { background: var(--color-white); }
  .icon-close {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
  }
  .icon-close::before,
  .icon-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: var(--color-teal);
    border-radius: 2px;
    transform-origin: center;
  }
  .icon-close::before { transform: translateY(-50%) rotate(45deg); }
  .icon-close::after { transform: translateY(-50%) rotate(-45deg); }
  .header__nav a {
    color: var(--color-teal);
    font-family: var(--font-display);
    font-weight: 700;
  }
  .header__nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--color-coral);
    color: var(--color-white) !important;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-pop);
    margin-top: 12px;
    font-size: 16px;
  }
  .header__nav-cta::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid currentColor;
  }
  body.nav-open { overflow: hidden; }

  .section { padding: 56px 16px; }

  .fv { padding: 56px 20px 72px; }
  .fv__h1 { font-size: 32px; }

  .features__grid,
  .courses__grid { grid-template-columns: 1fr; gap: 16px; }

  .flow__steps { grid-template-columns: 1fr; gap: 12px; }
  .flow__arrow { justify-self: center; }
  .flow__arrow::before { transform: rotate(90deg); }

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

  .teacher__card { grid-template-columns: 1fr; text-align: center; padding: 24px; }
  .teacher__photo { width: 160px; margin: 0 auto; }

  .venue__grid { grid-template-columns: 1fr; gap: 16px; }

  .trial__steps { flex-direction: column; gap: 12px; }
  .trial__connector { width: 3px; height: 24px; }

  .footer__inner { grid-template-columns: 1fr; gap: 24px; }

  .price__num { font-size: 52px; }
}

/* ============================================
   フローティングボタン（LINE・TOPに戻る）
   ============================================ */

.float-line {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: #06C755;
  color: #fff;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(6, 199, 85, 0.35);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.float-line:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(6, 199, 85, 0.5);
}
.float-line__icon {
  width: 30px;
  height: 30px;
}
.float-line__label {
  font-size: 10px;
  letter-spacing: 0.03em;
}

.float-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--color-teal);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(26, 83, 92, 0.25);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.float-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.float-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 83, 92, 0.4);
}
.float-top__arrow {
  font-size: 14px;
}
.float-top__label {
  font-size: 9px;
  letter-spacing: 0.08em;
}

/* ============================================================
   FV直下：3ステップ表示
   ============================================================ */
.fv-steps {
  background: var(--color-white);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.fv-steps__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 24px;
}
.fv-steps__lead {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-teal);
  margin: 0 0 20px;
}
.fv-steps__lead strong {
  font-size: 20px;
  color: var(--color-coral);
}
.fv-steps__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.fv-steps__item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  background: var(--color-bg-cream);
  border: 2px solid var(--color-teal);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  box-shadow: var(--shadow-pop);
  min-width: 0;
}
.fv-steps__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-coral);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.fv-steps__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.fv-steps__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-teal);
  line-height: 1.3;
}
.fv-steps__sub {
  font-size: 12px;
  color: var(--color-text-soft);
  line-height: 1.4;
}
.fv-steps__sep {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fv-steps__sep::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 14px solid var(--color-coral);
}
@media (max-width: 720px) {
  .fv-steps__inner { padding: 24px 16px; }
  .fv-steps__lead { font-size: 14px; }
  .fv-steps__lead strong { font-size: 18px; }
  .fv-steps__list {
    flex-direction: column;
    gap: 10px;
  }
  .fv-steps__item { padding: 12px 14px; }
  .fv-steps__sep { transform: rotate(90deg); }
}

/* ============================================================
   体験会：日程サンプル
   ============================================================ */
.trial__schedule {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px auto 24px;
  max-width: 520px;
  text-align: left;
  color: var(--color-white);
}
.trial__schedule-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  text-align: center;
  color: var(--color-yellow);
}
.trial__schedule-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 12px;
}
.trial__schedule-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.trial__schedule-day {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-white);
}
.trial__schedule-time {
  color: var(--color-yellow);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.trial__schedule-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 480px) {
  .trial__schedule { padding: 16px; }
  .trial__schedule-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}

/* ============================================================
   SP固定CTA（スマホのみ表示）
   ============================================================ */
.sp-fixed-cta {
  display: none;
}
@media (max-width: 720px) {
  .sp-fixed-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 249, 238, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-line);
    box-shadow: 0 -4px 16px rgba(26, 83, 92, 0.12);
  }
  .sp-fixed-cta__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    background: var(--color-coral);
    color: var(--color-white);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-pop);
    text-decoration: none;
    line-height: 1.2;
  }
  .sp-fixed-cta__label {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 17px;
    letter-spacing: 0.04em;
  }
  .sp-fixed-cta__sub {
    font-size: 11px;
    margin-top: 2px;
    opacity: 0.95;
  }
  /* SP時、ページ下部のフロートボタンと重ならないよう底部余白を確保 */
  body { padding-bottom: 84px; }
  .float-line { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .float-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
