:root {
  --bg: oklch(0.96 0.018 275);
  --bg2: oklch(0.98 0.008 275);
  --card: #ffffff;
  --fg: oklch(0.28 0.02 20);
  --fg-dim: oklch(0.55 0.02 20);
  --pink: oklch(0.63 0.18 18);
  --pink-light: oklch(0.92 0.06 18);
  --pink-mid: oklch(0.82 0.10 18);
  --gold: oklch(0.72 0.14 60);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px oklch(0.63 0.18 18 / 0.08);
  --shadow-hover: 0 8px 36px oklch(0.63 0.18 18 / 0.16);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: oklch(0.96 0.018 275 / 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid oklch(0.90 0.02 275);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 36px;
  width: auto;
  mix-blend-mode: multiply;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--pink); }
.nav-cta {
  background: var(--pink);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 16px oklch(0.63 0.18 18 / 0.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 24px oklch(0.63 0.18 18 / 0.4); }

/* ── HERO (FV) ── */
.hero {
  min-height: 100vh;
  min-height: 100dvh; /* iOS Safari アドレスバー対応 */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Photo background with Ken Burns + Slideshow */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
  transform-origin: center center;
  will-change: transform, opacity;
}
.hero-bg-img.active {
  opacity: 1;
  animation: kenBurns 10s linear forwards;
}
.hero-bg-img.active.leaving {
  opacity: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.18) 0%,
    rgba(0,0,0,0.50) 45%,
    rgba(8,0,4,0.72) 100%
  );
}

@keyframes kenBurns {
  from { transform: scale(1.00); }
  to   { transform: scale(1.10); }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 120px 40px 60px;
}

/* ロゴ: 元色のまま表示、白ボックスはmultiplyで馴染ませる */
.hero-logo-img {
  width: 200px;
  max-width: 52vw;
  margin: 0 auto 28px;
  display: block;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 0 16px rgba(255,255,255,0.5));
  opacity: 0;
  animation: heroLogoIn 1s 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes heroLogoIn {
  from { opacity: 0; transform: scale(0.7) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-title-main {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
  clip-path: inset(0 0 100% 0);
  animation: textReveal 0.75s 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero-tagline {
  font-size: clamp(13px, 2vw, 17px);
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  margin-bottom: 18px;
  clip-path: inset(0 0 100% 0);
  animation: textReveal 0.7s 1.1s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero-body {
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,0.70);
  margin-bottom: 40px;
  clip-path: inset(0 0 100% 0);
  animation: textReveal 0.7s 1.3s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes textReveal {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0% 0); }
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s 1.55s forwards;
}

/* floating badges — glass style */
.hero-float {
  position: absolute;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-weight: 700;
  font-size: 13px;
  color: white;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}
.hero-float.f1 { top: 22%; left: 6%; animation-delay: 0s; }
.hero-float.f2 { top: 30%; right: 5%; animation-delay: 1.2s; }
.hero-float.f3 { bottom: 22%; left: 8%; animation-delay: 0.6s; }
.hero-float .float-num { font-size: 22px; color: white; display: block; line-height: 1; }
.hero-float .float-label { color: rgba(255,255,255,0.72); font-size: 11px; font-weight: 500; }

/* Marquee ticker */
.hero-ticker {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: var(--pink);
  padding: 10px 0;
  overflow: hidden;
}
.hero-ticker-inner {
  display: flex;
  width: max-content;
  animation: tickerScroll 24s linear infinite;
}
.hero-ticker-item {
  font-size: 12px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 32px;
}
.hero-ticker-item .sep { margin: 0 8px; opacity: 0.5; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--pink);
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 20px oklch(0.63 0.18 18 / 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px oklch(0.63 0.18 18 / 0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 15px 36px;
  border-radius: 50px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.7); }

/* ── SECTION BASE ── */
section { position: relative; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.section-eyebrow {
  display: inline-block;
  background: var(--pink-light);
  color: var(--pink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 40px;
  color: var(--fg);
}

/* ── ABOUT ── */
#about { padding: 100px 0; background: var(--bg2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--fg-dim);
  margin-bottom: 16px;
}
.about-photo-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  position: relative;
}
.about-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s ease;
}
.about-photo-card:hover img { transform: scale(1.04); }
.about-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.62));
  padding: 48px 28px 24px;
  color: white;
}
.about-photo-caption blockquote {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
}
.about-photo-caption cite {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
}
.highlight-text {
  color: var(--pink);
  font-weight: 700;
}

/* ── CLASSES ── */
#classes { padding: 100px 0; }
.classes-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 22px;
  border-radius: 50px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 13px;
  font-weight: 700;
  background: white;
  border: 2px solid oklch(0.90 0.02 275);
  color: var(--fg-dim);
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn.active {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
  box-shadow: 0 4px 16px oklch(0.63 0.18 18 / 0.25);
}
.tab-btn:not(.active):hover { border-color: var(--pink-mid); color: var(--pink); }

.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.class-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.class-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.class-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.class-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1.3;
}
.class-badge {
  background: var(--pink-light);
  color: var(--pink);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}
.class-age {
  font-size: 12px;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 12px;
}
.class-desc {
  font-size: 13px;
  line-height: 1.9;
  color: var(--fg-dim);
  margin-bottom: 20px;
}
.class-schedule { display: flex; flex-direction: column; gap: 6px; }
.schedule-row {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.schedule-loc {
  background: oklch(0.96 0.018 275);
  color: var(--pink);
  font-weight: 700;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 50px;
  min-width: 64px;
  text-align: center;
}
.schedule-time { color: var(--fg-dim); }

/* ── PRICING ── */
#pricing { padding: 100px 0; background: var(--bg2); }
.pricing-intro {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.pricing-intro-badge {
  background: white;
  border-radius: var(--radius-sm);
  padding: 16px 28px;
  box-shadow: var(--shadow);
  text-align: center;
}
.pricing-intro-badge .p-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--pink);
  line-height: 1;
}
.pricing-intro-badge .p-label {
  font-size: 11px;
  color: var(--fg-dim);
  margin-top: 4px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pricing-card {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.pricing-card.featured {
  background: var(--pink);
  color: white;
}
.pricing-card.featured .pricing-type,
.pricing-card.featured .pricing-note,
.pricing-card.featured .item-name,
.pricing-card.featured .item-note { color: oklch(1 0 0 / 0.75); }
.pricing-card.featured h3,
.pricing-card.featured .item-price { color: white; }
.pricing-card.featured .pricing-items li { border-color: oklch(1 0 0 / 0.15); }
.pricing-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 8px;
}
.pricing-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 4px;
}
.pricing-note {
  font-size: 12px;
  color: var(--fg-dim);
  margin-bottom: 28px;
}
.pricing-items { list-style: none; }
.pricing-items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid oklch(0.92 0.01 275);
  font-size: 14px;
}
.pricing-items li:last-child { border-bottom: none; }
.item-name { color: var(--fg-dim); }
.item-price { font-size: 18px; font-weight: 800; color: var(--fg); }
.item-note { font-size: 11px; font-weight: 400; }
.discount-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.discount-chip {
  background: oklch(0.92 0.06 18);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
}

/* ── INSTRUCTOR ── */
#instructor { padding: 100px 0; }
.instructor-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}
.instructor-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.instructor-img-area {
  aspect-ratio: 3/4;
  background: var(--pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.instructor-card-footer {
  padding: 20px 24px;
}
.instructor-card-footer h3 { font-size: 22px; font-weight: 800; }
.instructor-card-footer p { font-size: 12px; color: var(--fg-dim); margin-top: 4px; }

.instructor-info .section-title { margin-bottom: 16px; }
.instructor-bio {
  font-size: 14px;
  line-height: 2;
  color: var(--fg-dim);
  margin-bottom: 36px;
  background: white;
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow);
}
.credits-section h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.credit-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.credit-list li {
  font-size: 13px;
  color: var(--fg-dim);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: white;
  line-height: 1.6;
  transition: background 0.15s;
}
.credit-list li:hover { background: var(--pink-light); }
.credit-list li .fa-star { color: var(--gold); margin-right: 6px; font-size: 11px; }

/* ── TESTIMONIALS ── */
#testimonials { padding: 100px 0; background: var(--bg2); }
.testimonials-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.t-group h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.t-cards { display: flex; flex-direction: column; gap: 12px; }
.t-card {
  background: white;
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.9;
  color: var(--fg);
  transition: transform 0.2s;
  position: relative;
}
.t-card:hover { transform: translateX(4px); }
.t-card::before {
  content: '"';
  font-size: 40px;
  color: var(--pink-light);
  font-family: Georgia, serif;
  position: absolute;
  top: 8px;
  left: 14px;
  line-height: 1;
}
.t-card p { padding-left: 20px; }

/* ── GALLERY ── */
#gallery { padding: 100px 0; }
.gallery-grid {
  columns: 3;
  column-gap: 12px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: oklch(0.63 0.18 18 / 0);
  transition: background 0.3s;
}
.gallery-item:hover::after { background: oklch(0.63 0.18 18 / 0.1); }

/* ── ACCESS ── */
#access { padding: 100px 0; background: var(--bg2); }
.access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.access-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.access-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.access-dot {
  width: 48px;
  height: 48px;
  background: var(--pink-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.access-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.access-card .address { font-size: 13px; color: var(--fg-dim); line-height: 1.8; margin-bottom: 12px; }
.access-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pink-light);
  color: var(--pink);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
}
.access-note {
  margin-top: 28px;
  background: oklch(0.98 0.01 60);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  font-size: 13px;
  color: var(--fg-dim);
  border-left: 4px solid var(--gold);
}

/* ── FLOW ── */
#flow { padding: 100px 0; background: var(--bg2); }
.flow-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
}
.flow-step {
  flex: 1;
  background: white;
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  text-align: center;
}
.flow-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--pink-light);
  line-height: 1;
  margin-bottom: 8px;
}
.flow-icon { font-size: 32px; margin-bottom: 12px; }
.flow-step h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.flow-step p { font-size: 13px; line-height: 1.9; color: var(--fg-dim); }
.flow-arrow {
  font-size: 28px;
  color: var(--pink-mid);
  padding: 0 16px;
  flex-shrink: 0;
}
.flow-note {
  display: block;
  text-align: center;
  font-size: 14px;
  color: var(--fg-dim);
  background: white;
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  box-shadow: var(--shadow);
}

/* ── FAQ ── */
#faq { padding: 100px 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: var(--shadow-hover); }
.faq-item summary {
  padding: 20px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--fg);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--pink);
  font-weight: 400;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 28px 20px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--fg-dim);
}

/* ── CONTACT ── */
#contact { padding: 100px 0; }
.contact-hero {
  text-align: center;
  background: white;
  border-radius: var(--radius);
  padding: 64px 56px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '♡';
  position: absolute;
  font-size: 180px;
  color: var(--pink-light);
  right: -12px;
  bottom: -32px;
  line-height: 1;
  pointer-events: none;
}
.contact-hero .section-eyebrow { margin-bottom: 14px; }
.contact-hero .section-title { margin-bottom: 10px; }
.contact-hero > p {
  font-size: 15px;
  color: var(--fg-dim);
  margin-bottom: 36px;
}
.contact-line-primary {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

/* ベーススタイル（Instagram・Mail） */
.contact-btn {
  background: white;
  border: 2px solid var(--pink-mid);
  color: var(--fg);
  border-radius: var(--radius);
  padding: 18px 28px;
  text-align: center;
  text-decoration: none;
  display: block;
  min-width: 160px;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  box-shadow: var(--shadow);
}
.contact-btn:hover { background: var(--pink-light); transform: translateY(-2px); }
.contact-btn .icon { font-size: 30px; margin-bottom: 8px; color: var(--pink); }
.contact-btn h4 { font-size: 14px; font-weight: 800; color: var(--fg); margin-bottom: 2px; }
.contact-btn p { font-size: 12px; color: var(--fg-dim); margin: 0; }

/* LINE ボタン（ベースを上書き） */
.contact-btn.contact-btn-line {
  background: #06C755;
  border-color: #06C755;
  min-width: 300px;
}
.contact-btn.contact-btn-line .icon { color: white; font-size: 30px; }
.contact-btn.contact-btn-line h4 { color: white; font-size: 15px; }
.contact-btn.contact-btn-line p { color: rgba(255,255,255,0.82); }
.contact-btn.contact-btn-line:hover { background: #05b44d; border-color: #05b44d; transform: translateY(-2px); }
.contact-cta { position: relative; z-index: 1; margin-bottom: 20px; }
.contact-note {
  font-size: 12px;
  color: var(--fg-dim);
  background: var(--pink-light);
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  display: inline-block;
  position: relative;
  z-index: 1;
}

/* ── MAP LINK ── */
.map-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--pink);
  text-decoration: none;
}
.map-link:hover { text-decoration: underline; }

/* ── LIGHTBOX ── */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lb-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.lb-img-wrap {
  max-width: min(90vw, 1000px);
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img-wrap img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 10px;
  transition: opacity 0.18s ease;
  display: block;
}
.lb-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  font-size: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(8px);
}
.lb-close:hover { background: rgba(255,255,255,0.24); }
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  font-size: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
}
.lb-arrow:hover { background: rgba(255,255,255,0.24); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover { transform: translateY(-50%) translateX(-2px); }
.lb-next:hover { transform: translateY(-50%) translateX(2px); }
.lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .lb-arrow { width: 40px; height: 40px; font-size: 14px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-img-wrap { max-width: 92vw; }
}

/* ── FOOTER ── */
footer {
  padding: 40px;
  text-align: center;
  background: var(--bg2);
  border-top: 1px solid oklch(0.90 0.02 275);
}
.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--pink);
  margin-bottom: 8px;
}
footer p { font-size: 12px; color: var(--fg-dim); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform, opacity;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto; /* アニメーション完了後に解放 */
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── MOBILE FLOAT CTA ── */
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(220,50,80,0.45), 0 0 0 0 rgba(220,50,80,0.18); }
  50%       { box-shadow: 0 6px 28px rgba(220,50,80,0.55), 0 0 0 8px rgba(220,50,80,0); }
}
.mobile-cta-float {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 16px;
  right: 16px;
  z-index: 200;
  background: linear-gradient(120deg, #e8456a 0%, #c8284f 100%);
  color: white;
  text-align: center;
  padding: 18px 20px;
  border-radius: 50px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  will-change: transform, opacity;
}
.mobile-cta-float.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  animation: ctaGlow 2.4s ease-in-out infinite;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .mobile-cta-float { display: block; transform: translateZ(0) translateY(12px); }
  nav { padding: 12px 20px; backdrop-filter: blur(8px); }
  .nav-links { display: none; }
  .hero-content { padding: 100px 20px 60px; }
  .hero-float { display: none; }
  .container { padding: 0 20px; }
  .about-grid,
  .pricing-grid,
  .instructor-grid,
  .testimonials-split { grid-template-columns: 1fr; gap: 24px; }
  .class-grid { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .flow-steps { flex-direction: column; }
  .flow-arrow { padding: 8px 0; transform: rotate(90deg); }
  #about, #flow, #classes, #pricing, #instructor, #faq, #testimonials, #access, #contact, #gallery { padding: 60px 0; }
  .instructor-card { position: static; }
  .contact-hero { padding: 44px 24px; }
  .contact-btn.contact-btn-line { min-width: unset; width: 100%; max-width: 340px; }
  .contact-grid { grid-template-columns: 1fr; max-width: 340px; }
  .contact-grid { gap: 10px; }
  .contact-btn { padding: 16px 20px; }
  .contact-cta a { font-size: 15px !important; padding: 18px 32px !important; }
  .pricing-intro { flex-direction: column; }
  footer { padding: 40px 20px 100px; }
  .gallery-grid { columns: 2; column-gap: 8px; }
  .gallery-item { margin-bottom: 8px; }
  .hero-logo-img { width: 140px; }
}
