/* ============================================
   まなびの森 - 知育教室
   Dusty Mauve + Rose + Sage
   Warm, Child-friendly Design
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #9B7068;
  --rose: #D4A5A5;
  --sage: #A8B5A2;
  --bg: #FDF6F4;
  --surface: #fff;
  --surface2: #F9EFEC;
  --text: #4A3833;
  --muted: #8B7570;
  --accent: #C28B7A;
  --font-en: 'Quicksand', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ── Petal Fall Animation ── */
.petal-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ── Cursor Trail ── */
.cursor-dot {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  opacity: 0;
  transition: opacity .3s;
  mix-blend-mode: multiply;
}

/* ── Sample Banner ── */
.sample-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(155, 112, 104, .92);
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
  z-index: 99999;
  letter-spacing: .5px;
  backdrop-filter: blur(4px);
}

/* ── Header ── */
.header {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 14px 0;
  transition: all .4s;
}

.header.scrolled {
  background: rgba(253, 246, 244, .95);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(155, 112, 104, .1);
  padding: 10px 0;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--sage), var(--rose));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.logo-text {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  line-height: 1.2;
}

.logo-text small {
  display: block;
  font-size: .6rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 2px;
  font-family: var(--font-jp);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .3s;
  text-decoration: none;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rose);
  border-radius: 2px;
  transition: width .3s;
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  color: var(--primary);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(155, 112, 104, .25);
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: .3s;
  display: block;
  border-radius: 2px;
}

@media (max-width: 840px) {
  .hamburger {
    display: flex;
  }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: .4s;
    z-index: 9999;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
  }
  .nav a {
    font-size: 1.1rem;
  }
  .nav a::after {
    display: none;
  }
  .header-inner {
    padding: 0 20px;
  }
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 20px 80px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(253, 246, 244, .35) 0%,
    rgba(253, 246, 244, .65) 40%,
    rgba(253, 246, 244, .88) 70%,
    rgba(253, 246, 244, .98) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-label {
  font-family: var(--font-en);
  font-size: .8rem;
  color: var(--sage);
  letter-spacing: 4px;
  margin-bottom: 20px;
  display: inline-block;
  font-weight: 600;
  background: rgba(168, 181, 162, .15);
  padding: 6px 20px;
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.hero h1 span {
  display: block;
  font-size: .5em;
  font-weight: 400;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 1px;
}

.hero-desc {
  font-size: .95rem;
  color: var(--muted);
  line-height: 2;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: var(--radius);
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-jp);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 6px 24px rgba(155, 112, 104, .3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(155, 112, 104, .4);
}

.btn-outline-warm {
  border: 2px solid var(--rose);
  color: var(--primary);
  background: transparent;
}

.btn-outline-warm:hover {
  background: var(--rose);
  color: #fff;
  transform: translateY(-3px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── Wave Divider ── */
.wave-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.wave-divider-top svg {
  top: 0;
  bottom: auto;
  transform: rotate(180deg);
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--surface);
  padding: 56px 0;
  position: relative;
  z-index: 1;
}

.trust-items {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 0 20px;
}

.trust-item {
  text-align: center;
}

.trust-num {
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.trust-unit {
  font-size: .8rem;
  color: var(--primary);
  font-weight: 500;
}

.trust-label {
  display: block;
  font-size: .72rem;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 1px;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--rose);
  opacity: .4;
  align-self: center;
}

@media (max-width: 600px) {
  .trust-items {
    gap: 24px;
  }
  .trust-divider {
    display: none;
  }
  .trust-num {
    font-size: 1.8rem;
  }
}

/* ── Sections ── */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-alt {
  background: var(--surface);
}

.section-sage {
  background: rgba(168, 181, 162, .08);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-family: var(--font-en);
  font-size: .75rem;
  color: var(--sage);
  letter-spacing: 4px;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text);
}

.section-line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--sage));
  margin: 18px auto 0;
  border-radius: 3px;
}

.section-sub {
  font-size: .9rem;
  color: var(--muted);
  margin-top: 18px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 2;
}

/* ── About (まなびの森のこと) ── */
.about-block {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 0 40px;
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.about-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform .6s;
}

.about-img:hover img {
  transform: scale(1.03);
}

.about-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--sage), #8BA885);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(168, 181, 162, .4);
}

.about-badge .num {
  font-family: var(--font-en);
  font-size: 1.6rem;
  line-height: 1;
}

.about-badge .unit {
  font-size: .65rem;
  margin-top: 2px;
}

.about-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--primary);
}

.about-text p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 2.2;
  margin-bottom: 14px;
}

.about-features {
  display: flex;
  gap: 20px;
  margin-top: 28px;
}

.about-feat {
  flex: 1;
  background: var(--surface2);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
}

.about-feat-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.about-feat h4 {
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.about-feat p {
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .about-block {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 32px;
  }
  .about-img img {
    height: 260px;
  }
  .about-features {
    flex-direction: column;
  }
}

/* ── Course Cards (クラスのご案内) ── */
.course-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0 40px;
}

.course-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .5s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 4px 20px rgba(155, 112, 104, .08);
  position: relative;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(155, 112, 104, .18);
}

.course-card-img {
  position: relative;
  overflow: hidden;
}

.course-card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .6s;
}

.course-card:hover .course-card-img img {
  transform: scale(1.08);
}

.course-age-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary);
}

.course-card-body {
  padding: 28px;
}

.course-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.course-card p {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 20px;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(155, 112, 104, .1);
  padding-top: 16px;
}

.course-price {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.course-price small {
  font-size: .7rem;
  font-weight: 400;
  color: var(--muted);
}

.course-detail {
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 840px) {
  .course-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
    max-width: 480px;
  }
}

/* ── Philosophy Ribbon ── */
.philosophy-ribbon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 64px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.philosophy-ribbon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,.08) 0%, transparent 70%);
  animation: shiftGlow 8s ease-in-out infinite;
}

@keyframes shiftGlow {
  0%, 100% { transform: translateX(-20%); }
  50% { transform: translateX(20%); }
}

.philosophy-text {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  line-height: 1.8;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.philosophy-text small {
  display: block;
  font-size: .85rem;
  font-weight: 400;
  opacity: .8;
  margin-top: 12px;
  font-family: var(--font-en);
  letter-spacing: 2px;
}

/* ── Reasons (選ばれる理由) ── */
.reasons-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0 40px;
}

.reason-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  transition: all .5s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 2px 12px rgba(155, 112, 104, .06);
  position: relative;
  overflow: hidden;
}

.reason-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rose), var(--sage));
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: opacity .3s;
}

.reason-card:hover::before {
  opacity: 1;
}

.reason-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(155, 112, 104, .15);
}

.reason-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
}

.reason-icon-1 { background: rgba(212, 165, 165, .2); }
.reason-icon-2 { background: rgba(168, 181, 162, .2); }
.reason-icon-3 { background: rgba(194, 139, 122, .2); }
.reason-icon-4 { background: rgba(155, 112, 104, .15); }

.reason-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.reason-card p {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.9;
}

@media (max-width: 840px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .reasons-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Testimonials (ママ・パパの声) ── */
.testimonial-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 0 40px;
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .4s;
  box-shadow: 0 4px 16px rgba(155, 112, 104, .06);
  position: relative;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 28px;
  width: 32px;
  height: 24px;
  background: var(--rose);
  opacity: .15;
  border-radius: 4px;
  clip-path: polygon(0 100%, 15% 0, 45% 0, 30% 100%, 55% 100%, 70% 0, 100% 0, 85% 100%);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(155, 112, 104, .12);
}

.testimonial-stars {
  color: #E8B86D;
  font-size: .85rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: .88rem;
  line-height: 2;
  margin-bottom: 24px;
  color: var(--text);
  padding-top: 8px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(155, 112, 104, .1);
  padding-top: 18px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
}

.testimonial-avatar-1 { background: linear-gradient(135deg, var(--rose), var(--primary)); }
.testimonial-avatar-2 { background: linear-gradient(135deg, var(--sage), #7A9B72); }
.testimonial-avatar-3 { background: linear-gradient(135deg, var(--accent), var(--primary)); }

.testimonial-author-info strong {
  display: block;
  font-size: .85rem;
}

.testimonial-author-info span {
  font-size: .72rem;
  color: var(--muted);
}

@media (max-width: 840px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
    max-width: 520px;
  }
}

/* ── Director Message (教室長より) ── */
.director-block {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: center;
  padding: 0 40px;
}

.director-img {
  position: relative;
}

.director-img img {
  border-radius: var(--radius);
  width: 100%;
  height: 380px;
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(155, 112, 104, .15);
}

.director-img::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 2px solid var(--rose);
  border-radius: calc(var(--radius) - 4px);
  opacity: .3;
  pointer-events: none;
}

.director-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.director-msg {
  font-size: .9rem;
  line-height: 2.3;
  margin-bottom: 28px;
  color: var(--text);
}

.director-sign {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.director-sign strong {
  font-size: 1.15rem;
  color: var(--text);
}

.director-sign span {
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .director-block {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 32px;
  }
  .director-img img {
    height: 280px;
  }
}

/* ── Schedule (一日の流れ) ── */
.schedule-flow {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.schedule-flow::before {
  content: '';
  position: absolute;
  left: calc(40px + 40px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--rose), var(--sage));
  border-radius: 2px;
}

.schedule-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 20px 0;
  position: relative;
}

.schedule-time {
  min-width: 60px;
  font-family: var(--font-en);
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary);
  text-align: right;
  padding-top: 2px;
}

.schedule-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--rose);
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.schedule-content h4 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.schedule-content p {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .schedule-flow {
    padding: 0 20px;
  }
  .schedule-flow::before {
    left: calc(20px + 40px);
  }
}

/* ── FAQ ── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-item {
  border: 1px solid rgba(155, 112, 104, .1);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--surface);
  transition: box-shadow .3s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(155, 112, 104, .08);
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: color .3s;
}

.faq-q:hover {
  color: var(--primary);
}

.faq-q span:first-child {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--rose);
  font-size: 1rem;
  min-width: 28px;
}

.faq-q h3 {
  flex: 1;
  font-size: .92rem;
  font-weight: 600;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--rose);
  transition: transform .3s;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  display: flex;
  gap: 16px;
  padding: 0 24px;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 24px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a span {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--sage);
  font-size: 1rem;
  min-width: 28px;
}

.faq-a p {
  font-size: .85rem;
  color: var(--muted);
  line-height: 2;
}

/* ── Trial CTA (体験のご案内) ── */
.trial-section {
  background: linear-gradient(135deg, var(--surface2), rgba(168, 181, 162, .1));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.trial-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.trial-box h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.trial-box .trial-lead {
  font-size: .92rem;
  color: var(--muted);
  line-height: 2;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.trial-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.trial-info-item {
  background: var(--surface);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(155, 112, 104, .06);
}

.trial-info-item .icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.trial-info-item h4 {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.trial-info-item p {
  font-size: .78rem;
  color: var(--muted);
}

.trial-contact {
  margin-top: 36px;
}

.trial-tel {
  margin-bottom: 8px;
}

.trial-tel span {
  font-size: .78rem;
  color: var(--muted);
  margin-right: 8px;
}

.trial-tel a {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.trial-hours {
  font-size: .8rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .trial-info-grid {
    grid-template-columns: 1fr;
  }
  .trial-box {
    padding: 0 20px;
  }
}

/* ── Contact Form ── */
.contact-box {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-form {
  display: grid;
  gap: 16px;
  background: var(--surface);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(155, 112, 104, .08);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid rgba(155, 112, 104, .12);
  border-radius: 14px;
  font-size: .9rem;
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--text);
  transition: border-color .3s, box-shadow .3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(212, 165, 165, .15);
}

/* ── Access ── */
.access-block {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.access-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.access-detail {
  font-size: .88rem;
  color: var(--muted);
  line-height: 2.2;
}

.access-detail strong {
  color: var(--text);
  display: inline-block;
  min-width: 80px;
}

.access-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.access-map iframe {
  width: 100%;
  height: 320px;
  border: none;
}

@media (max-width: 768px) {
  .access-block {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}

/* ── Footer ── */
.footer {
  background: #3D2B1F;
  color: rgba(255, 255, 255, .6);
  padding: 64px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: .8rem;
  line-height: 1.9;
}

.footer h4 {
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 10px;
}

.footer li a {
  font-size: .82rem;
  transition: color .3s;
}

.footer li a:hover {
  color: var(--rose);
}

.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 20px 40px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  font-size: .75rem;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .footer-bottom {
    padding: 20px 20px 0;
  }
}

/* ── Color Bloom Effect ── */
.bloom-circle {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: .12;
  animation: bloomFloat 20s ease-in-out infinite;
}

.bloom-1 {
  width: 400px;
  height: 400px;
  background: var(--rose);
  top: 10%;
  right: -100px;
  animation-delay: 0s;
}

.bloom-2 {
  width: 350px;
  height: 350px;
  background: var(--sage);
  bottom: 20%;
  left: -80px;
  animation-delay: -7s;
}

.bloom-3 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: 50%;
  right: 20%;
  animation-delay: -14s;
}

@keyframes bloomFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(.9); }
}

/* ── Scroll Animation Base ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Bounce on Hover for Cards ── */
@keyframes softBounce {
  0% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
  50% { transform: translateY(-4px); }
  70% { transform: translateY(-6px); }
  100% { transform: translateY(-6px); }
}

.course-card:hover,
.reason-card:hover {
  animation: softBounce .5s ease forwards;
}
