:root {
  --bg: #f9f7f3;
  --card: #ffffff;
  --text-main: #2b2b2b;
  --text-muted: #777777;
  --accent: #c9a36b;
  --border-soft: #e3ded3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "Segoe UI", sans-serif;
  /* Subtle floral backdrop with a soft white veil for可読性 */
  background: linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
    url("images/24946686_l.jpg") center/cover fixed no-repeat;
  color: var(--text-main);
  line-height: 1.7;
}

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

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

/* Layout */

.page {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 18px 64px;
}

header.hero {
  padding: 24px 0 32px;
}

.hero-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hero-layout {
  display: grid;
  gap: 24px;
}

.hero-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
}

.hero-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1ece1;
  color: #6e5a36;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-subtle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.btn-subtle:hover {
  border-color: var(--accent);
  color: #8b6a3c;
}

.btn-ghost {
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 2px;
}

.hero-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

.hero-note.hero-note-lg {
  font-size: 13px;
}

.hero-image {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #f3eee4;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sections */

section {
  margin-top: 32px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-lead {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.card {
  background: var(--card);
  border-radius: 20px;
  padding: 18px 16px;
  border: 1px solid var(--border-soft);
}

.card + .card {
  margin-top: 12px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3eee6;
  color: #5e4e33;
}

.benefit-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.benefit-list li {
  font-size: 14px;
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}

.benefit-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.support-image {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border-soft);
}

/* Slider */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  margin-bottom: 12px;
  background: #fff;
}

.slides {
  display: flex;
  transition: transform 0.3s ease;
  touch-action: pan-y;
}

.slide {
  min-width: 100%;
}

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

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 6px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid var(--text-muted);
  background: transparent;
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--text-muted);
}

/* Flow */

.flow-grid {
  display: grid;
  gap: 12px;
}

.flow-item-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

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

/* Teacher */

.teacher {
  display: grid;
  gap: 16px;
  align-items: flex-start;
}

.teacher-photo {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #f3eee4;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.teacher-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.teacher-title {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Voices */

.voices {
  display: grid;
  gap: 12px;
}

.voice-tag {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.voice-quote {
  font-size: 13px;
}

/* Price */

.price-main {
  font-size: 22px;
  font-weight: 600;
}

.price-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.price-compare {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

.installments {
  margin-top: 10px;
  font-size: 13px;
}

.installments span {
  display: inline-block;
  margin-right: 8px;
}

.pricing-grid {
  display: grid;
  gap: 16px;
}

.plan {
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}

.plan-name {
  font-weight: 600;
  margin-bottom: 6px;
}

.plan-price {
  margin-bottom: 8px;
}

.plan-price-current {
  font-size: 20px;
  font-weight: 600;
}

.plan-price-note {
  font-size: 12px;
  color: var(--text-muted);
}

.plan-list {
  list-style: none;
  padding-left: 0;
  margin: 8px 0;
}

.plan-list li {
  font-size: 13px;
  margin-bottom: 4px;
}

.plan-note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 8px 0 12px;
}

.plan-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}

.plan-detail-note {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.6;
}

@media (max-width: 540px) {
  .plan-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .plan-actions .btn-primary,
  .plan-actions .btn-subtle {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (min-width: 720px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* FAQ */

.faq {
  display: grid;
  gap: 8px;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background: #fbfaf7;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question span {
  flex: 1;
  padding-right: 12px;
}

.faq-toggle {
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 14px;
  font-size: 13px;
  color: var(--text-muted);
  transition: max-height 0.25s ease;
}

.faq-answer-inner {
  padding-bottom: 10px;
}

.faq-item.is-open .faq-answer {
  max-height: 200px;
}

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

/* Final CTA */

.final-cta {
  text-align: center;
  margin-top: 24px;
}

.final-cta-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

footer {
  margin-top: 40px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive */

@media (min-width: 720px) {
  .hero-layout {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    align-items: center;
  }

  .hero-title {
    font-size: 28px;
  }

  .teacher {
    grid-template-columns: auto minmax(0, 1fr);
  }

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

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

@media (max-width: 719px) {
  /* Place hero visual above text on mobile */
  .hero-layout {
    display: flex;
    flex-direction: column-reverse;
  }
}

/* Schedule */
.schedule {
  display: grid;
  gap: 16px;
}

.day {
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
}

.day-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.slot {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--border-soft);
}

.slot:first-of-type {
  border-top: none;
  padding-top: 0;
}

.slot-time {
  font-size: 13px;
  color: var(--text-muted);
}

.slot-title {
  font-weight: 600;
}

.slot-detail {
  font-size: 13px;
  color: var(--text-muted);
}

@media (min-width: 720px) {
  .schedule {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .page {
    max-width: 1200px;
    padding: 0 32px 80px;
  }

  header.hero {
    padding: 40px 0 48px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 32px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-image {
    min-height: 360px;
  }

  .card {
    padding: 24px 22px;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .section-lead {
    font-size: 16px;
  }

  .plan-price-current {
    font-size: 22px;
  }

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

  .video-embed-vert {
    max-width: 360px;
    margin: 12px auto 32px;
  }

  .video-embed-title {
    font-size: 18px;
    margin: 28px auto 8px;
  }
}

/* vertical video embed for price section */
.video-embed-vert {
  margin: 8px auto 28px;
  max-width: 300px;
  width: 100%;
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 38px rgba(15, 23, 42, 0.15);
}
.video-embed-title {
  text-align: center;
  font-weight: 700;
  font-size: 17px;
  margin: 24px auto 6px;
  color: #1f2937;
}
.video-embed-vert iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
