/*
 * LUNA SCHOOL — Manus Design CSS
 * Style: Luxury Modern Korean Boutique / Elegant Salon
 * Palette: #2A2118 (dark), #5A4A40 (text), #9B7E6E (brown), #D4AF37 (gold), #D4A5A5 (pink), #F2EDE7 (cream), #E8E0D8 (border)
 * Fonts: Cormorant Garamond (EN), Noto Serif JP (JP heading), Noto Sans JP (body)
 */

/* ── RESET & BASE ──────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  color: #5A4A40;
  background-color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  line-height: 1.4;
  color: #2A2118;
}

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

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

/* ── CONTAINER ─────────────────────────────────────────────────── */
.manus-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .manus-container { padding: 0 2rem; }
}

@media (min-width: 1024px) {
  .manus-container { padding: 0 3rem; }
}

/* ── COMMON COMPONENTS ─────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9B7E6E;
  border: 1px solid #9B7E6E;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.sec-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2A2118;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .sec-heading { font-size: 1.875rem; }
}

.sec-divider {
  width: 48px;
  height: 1px;
  background-color: #D4A5A5;
  margin: 0 auto 2rem;
}

.sec-divider--brown { background-color: #9B7E6E; }
.sec-divider--gold { background-color: #D4AF37; }

.display-en {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ── FADE-IN ANIMATION ─────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ── CARD HOVER ────────────────────────────────────────────────── */
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(155, 126, 110, 0.12);
}

/* ── HEADER / NAV ──────────────────────────────────────────────── */
.manus-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.manus-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.manus-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

/* Logo + Sub */
.manus-header-logo-wrap {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.manus-header-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  line-height: 1.2;
}

.manus-header-sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.625rem;
  color: #D4AF37;
  letter-spacing: 0.12em;
  transition: color 0.3s ease;
  line-height: 1.4;
}

.manus-header.scrolled .manus-header-logo {
  color: #9B7E6E;
}

.manus-header.scrolled .manus-header-sub {
  color: #D4AF37;
}

/* Desktop nav */
.manus-nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .manus-nav-desktop { display: flex; }
}

.manus-nav-desktop a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
}

.manus-header.scrolled .manus-nav-desktop a {
  color: #5A4A40;
}

.manus-nav-desktop a:hover {
  color: #D4AF37;
}

/* ── Hamburger (luna- prefix, 独自実装) ────────────────────────── */
.luna-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  gap: 6px;
}

@media (min-width: 768px) {
  .luna-hamburger { display: none; }
}

.luna-hamburger-line {
  display: block;
  width: 26px;
  height: 2px;
  background-color: #FFFFFF;
  transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.manus-header.scrolled .luna-hamburger-line {
  background-color: #5A4A40;
}

/* Hamburger → X animation */
.luna-hamburger.is-active .luna-hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.luna-hamburger.is-active .luna-hamburger-line:nth-child(2) {
  opacity: 0;
}

.luna-hamburger.is-active .luna-hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── Mobile nav overlay (luna- prefix, 独自実装) ──────────────── */
.luna-mobile-nav {
  position: fixed;
  inset: 0;
  background-color: rgba(42, 33, 24, 0.96);
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.luna-mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.luna-mobile-nav-inner {
  text-align: center;
}

.luna-mobile-nav-link {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 1rem 0;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.luna-mobile-nav-link:hover {
  color: #D4AF37;
}

/* ── HERO ──────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
}

.hero-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 33, 24, 0.7), rgba(42, 33, 24, 0.2) 50%, transparent);
}

.hero-overlay-right {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(42, 33, 24, 0.4), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-bottom: 7rem;
  max-width: 100%;
  text-align: left;
  margin: 0;
}

.hero-content .hero-content-inner {
  max-width: 560px;
}

@media (min-width: 768px) {
  .hero-content { padding-bottom: 9rem; }
}

.hero-content .section-tag {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .hero-title { font-size: 4.5rem; }
}

.hero-subtitle {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.5rem; }
}

.hero-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .hero-desc { font-size: 1rem; }
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-btns { flex-direction: row; }
}

.hero-btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: 999px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.hero-btn--primary {
  background-color: #FFFFFF;
  color: #9B7E6E;
}

.hero-btn--primary:hover {
  background-color: #F2EDE7;
}

.hero-btn--outline {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  z-index: 10;
}

.hero-scroll-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 0.15em;
}

.hero-scroll-arrow {
  animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* ── LEARN BY DOING ────────────────────────────────────────────── */
.sec-learn {
  padding: 6rem 0 6rem;
  background-color: #FFFFFF;
}

@media (min-width: 768px) {
  .sec-learn { padding: 8rem 0 8rem; }
}

.sec-learn-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.sec-learn-text {
  font-size: 0.875rem;
  color: #5A4A40;
  line-height: 2;
}

@media (min-width: 768px) {
  .sec-learn-text { font-size: 1rem; }
}

/* ── ABOUT ─────────────────────────────────────────────────────── */
.sec-about {
  padding: 6rem 0;
  background-color: #F2EDE7;
}

@media (min-width: 768px) {
  .sec-about { padding: 8rem 0; }
}

.sec-about-inner { max-width: 1000px; margin: 0 auto; }

.sec-about-header { text-align: center; margin-bottom: 3rem; }

.sec-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .sec-about-grid { grid-template-columns: 1fr 1fr; }
}

.sec-about-text {
  font-size: 0.875rem;
  color: #5A4A40;
  line-height: 2;
}

@media (min-width: 768px) {
  .sec-about-text { font-size: 1rem; }
}

.sec-about-text p + p { margin-top: 1rem; }

.sec-about-gold {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #D4AF37;
  margin: 1rem 0;
}

@media (min-width: 768px) {
  .sec-about-gold { font-size: 1.875rem; }
}

.sec-about-photo {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.sec-about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── BENEFIT ───────────────────────────────────────────────────── */
.sec-benefit {
  padding: 6rem 0;
  background: linear-gradient(to bottom, #FBF7F2, #F5EDE4);
}

@media (min-width: 768px) {
  .sec-benefit { padding: 8rem 0; }
}

.sec-benefit-header { text-align: center; margin-bottom: 4rem; }

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
}

.benefit-card {
  background: #FFFFFF;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #E8E0D8;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(155, 126, 110, 0.12);
}

.benefit-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 176px;
  background-color: #FAF8F5;
  padding: 1.5rem;
}

.benefit-card-icon img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.benefit-card-body {
  padding: 1.5rem;
  text-align: center;
}

.benefit-num {
  display: inline-block;
  background-color: #F2EDE7;
  color: #9B7E6E;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.benefit-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #2A2118;
  margin-bottom: 0.75rem;
}

.benefit-text {
  font-size: 0.875rem;
  color: #5A4A40;
  line-height: 1.8;
}

.benefit-text + .benefit-text {
  margin-top: 0.5rem;
}

/* ── COURSE ────────────────────────────────────────────────────── */
.sec-course {
  padding: 6rem 0;
  background-color: #FFFFFF;
}

@media (min-width: 768px) {
  .sec-course { padding: 8rem 0; }
}

.sec-course-header { text-align: center; margin-bottom: 4rem; }

.course-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.course-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #E8E0D8;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 768px) {
  .course-card { flex-direction: row; }
  .course-card--reverse { flex-direction: row-reverse; }
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(155, 126, 110, 0.12);
}

.course-card-photo {
  position: relative;
  flex-shrink: 0;
  height: 224px;
}

@media (min-width: 768px) {
  .course-card-photo {
    width: 256px;
    height: auto;
  }
}

@media (min-width: 1024px) {
  .course-card-photo { width: 320px; }
}

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

.course-card-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(42, 33, 24, 0.6), transparent);
  padding: 1rem;
}

.course-card-instructor {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: #FFFFFF;
}

.course-card-body {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .course-card-body { padding: 2.5rem; }
}

.course-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #2A2118;
  line-height: 1.6;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .course-card-title { font-size: 1.25rem; }
}

.course-card-divider {
  width: 32px;
  height: 1px;
  background-color: #D4A5A5;
  margin-bottom: 1rem;
}

.course-card-desc {
  font-size: 0.875rem;
  color: #5A4A40;
  line-height: 1.8;
}

/* ── CURRICULUM ────────────────────────────────────────────────── */
.sec-curriculum {
  padding: 6rem 0;
  background: linear-gradient(to bottom, #FBF7F2, #F5EDE4);
}

@media (min-width: 768px) {
  .sec-curriculum { padding: 8rem 0; }
}

.sec-curriculum-header { text-align: center; margin-bottom: 4rem; }

.sec-curriculum-sub {
  font-size: 0.875rem;
  color: #5A4A40;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .curriculum-grid { grid-template-columns: 1fr 1fr; }
}

.curriculum-card {
  background: #FFFFFF;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #E8E0D8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.curriculum-card-num {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.curriculum-num-circle {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid;
  flex-shrink: 0;
}

.curriculum-num-circle--gold {
  border-color: #D4AF37;
}

.curriculum-num-circle--gold span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #D4AF37;
}

.curriculum-num-circle--pink {
  border-color: #D4A5A5;
}

.curriculum-num-circle--pink span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #D4A5A5;
}

.curriculum-card-num h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2A2118;
}

.curriculum-card-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.curriculum-meta-item { text-align: center; }

.curriculum-meta-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.875rem;
  font-weight: 600;
}

.curriculum-meta-val--brown { color: #9B7E6E; }
.curriculum-meta-val--pink { color: #D4A5A5; }

.curriculum-meta-unit {
  font-size: 0.75rem;
  color: #8A7A70;
  margin-left: 0.25rem;
}

.curriculum-meta-sep {
  width: 1px;
  background-color: #E8E0D8;
}

.curriculum-card-text {
  font-size: 0.875rem;
  color: #5A4A40;
  line-height: 1.8;
}

.curriculum-card-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #9B7E6E;
  font-weight: 500;
}

/* ── SCHEDULE ──────────────────────────────────────────────────── */
.sec-schedule {
  padding: 6rem 0;
  background-color: #FFFFFF;
}

@media (min-width: 768px) {
  .sec-schedule { padding: 8rem 0; }
}

.sec-schedule-header { text-align: center; margin-bottom: 3rem; }

.schedule-calendar-wrap {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #E8E0D8;
  background: #FFFFFF;
}

.schedule-calendar-wrap iframe,
.schedule-calendar-iframe {
  width: 100%;
  height: 500px;
  border: 0;
}

/* ── INSTRUCTOR ────────────────────────────────────────────────── */
.sec-instructor {
  padding: 6rem 0;
  background: linear-gradient(to bottom, #FBF7F2, #F5EDE4);
}

@media (min-width: 768px) {
  .sec-instructor { padding: 8rem 0; }
}

.sec-instructor-header { text-align: center; margin-bottom: 4rem; }

.instructor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .instructor-grid { grid-template-columns: repeat(3, 1fr); }
}

.instructor-card {
  text-align: center;
  transition: transform 0.2s ease;
}

.instructor-card:hover {
  transform: translateY(-4px);
}

.instructor-card-photo {
  width: 144px;
  height: 144px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #F2EDE7;
}

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

.instructor-card-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2A2118;
  margin-bottom: 0.25rem;
}

.instructor-card-role {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9B7E6E;
  border: 1px solid #9B7E6E;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.instructor-card-course {
  font-size: 0.75rem;
  color: #9B7E6E;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.instructor-card-divider {
  width: 32px;
  height: 1px;
  background-color: #D4A5A5;
  margin: 0 auto 1rem;
}

.instructor-card-bio {
  font-size: 0.875rem;
  color: #5A4A40;
  line-height: 1.8;
}

/* ── FLOW ──────────────────────────────────────────────────────── */
.sec-flow {
  padding: 6rem 0;
  background-color: #FFFFFF;
}

@media (min-width: 768px) {
  .sec-flow { padding: 8rem 0; }
}

.sec-flow-header { text-align: center; margin-bottom: 4rem; }

.flow-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 640px;
  margin: 0 auto;
}

.flow-card {
  background: #FFFFFF;
  border-radius: 1rem;
  border: 2px solid #E8E0D8;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.3s ease;
}

.flow-card:hover {
  border-color: #D4AF37;
}

.flow-card-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37, #9B7E6E);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 1.5rem;
}

.flow-card-num span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.flow-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2A2118;
  line-height: 1.6;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .flow-card-title { font-size: 1.5rem; }
}

.flow-card-desc {
  font-size: 1rem;
  color: #5A4A40;
  line-height: 2;
}

/* ── VIDEO ─────────────────────────────────────────────────────── */
.sec-video {
  padding: 6rem 0;
  background-color: #FFFFFF;
}

@media (min-width: 768px) {
  .sec-video { padding: 8rem 0; }
}

.sec-video-header { text-align: center; margin-bottom: 4rem; }

.video-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.video-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-caption {
  text-align: center;
  font-size: 0.875rem;
  color: #6A6A6A;
  margin-top: 1.5rem;
}

/* ── FAQ ───────────────────────────────────────────────────────── */
.sec-faq {
  padding: 6rem 0;
  background: linear-gradient(to bottom, #FBF7F2, #F5EDE4);
}

@media (min-width: 768px) {
  .sec-faq { padding: 8rem 0; }
}

.sec-faq-header { text-align: center; margin-bottom: 4rem; }

.faq-list {
  max-width: 640px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 1rem;
  border: 1px solid #E8E0D8;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .faq-list { padding: 0 2.5rem; }
}

/* FAQ item styles — compatible with createQaHtml() output:
   <dl class="qa">
     <div class="qa-item">
       <dt class="qa-q">Q text <span class="qa-icon"></span></dt>
       <dd class="qa-a">A text</dd>
     </div>
   </dl>
   common.js toggles .is-open on dt.qa-q
*/
.faq-list .qa {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-list .qa-item {
  border-bottom: 1px solid #E8E0D8;
}

.faq-list .qa-item:last-child {
  border-bottom: none;
}

.faq-list .qa-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  cursor: pointer;
  gap: 1rem;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2A2118;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .faq-list .qa-q { font-size: 1rem; }
}

/* Chevron icon (▼) */
.faq-list .qa-icon {
  flex-shrink: 0;
  display: inline-block;
  width: 18px;
  height: 18px;
  position: relative;
  transition: transform 0.3s ease;
}

.faq-list .qa-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #9B7E6E;
  border-bottom: 2px solid #9B7E6E;
  transform: translate(-50%, -60%) rotate(45deg);
  transition: transform 0.3s ease;
}

.faq-list .qa-q.is-open .qa-icon::before {
  transform: translate(-50%, -30%) rotate(-135deg);
}

/* Answer (dd) — hidden by default, shown via is-open on dt */
.faq-list .qa-a {
  overflow: hidden;
  max-height: 0;
  padding: 0 0 0 0;
  font-size: 0.875rem;
  color: #5A4A40;
  line-height: 1.8;
  transition: max-height 0.3s ease, padding-bottom 0.3s ease;
}

.faq-list .qa-q.is-open + .qa-a {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

/* ── ACCESS ────────────────────────────────────────────────────── */
.sec-access {
  padding: 4rem 0 2rem;
  background-color: #FFFFFF;
}

@media (min-width: 768px) {
  .sec-access { padding: 5rem 0 2rem; }
}

.sec-access-header { text-align: center; margin-bottom: 4rem; }

.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .access-grid { grid-template-columns: 1fr 1fr; }
}

.access-map {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #E8E0D8;
  height: 288px;
}

@media (min-width: 768px) {
  .access-map { height: 384px; }
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.access-info {
  background: #FFFFFF;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #E8E0D8;
}

.access-info-block {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.access-info-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.access-info-label {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  color: #2A2118;
  margin-bottom: 0.5rem;
}

.access-info-text {
  font-size: 0.875rem;
  color: #5A4A40;
  line-height: 1.8;
}

.access-info-sep {
  width: 100%;
  height: 1px;
  background-color: #E8E0D8;
  margin: 1.5rem 0;
}

.access-routes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.access-route {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.access-route-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.access-route-dot--brown { background-color: #9B7E6E; }
.access-route-dot--pink { background-color: #D4A5A5; }

.access-route p {
  font-size: 0.875rem;
  color: #5A4A40;
}

/* ── CONTACT ───────────────────────────────────────────────────── */
.sec-contact {
  padding: 5rem 0;
  background-color: #FFFFFF;
}

@media (min-width: 768px) {
  .sec-contact { padding: 6rem 0; }
}

.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 1rem;
  border: 1px solid #E0E0E0;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .contact-form-wrap { padding: 3rem; }
}

/* ── Contact Tabs ─────────────────────────────────────────────── */
.contact-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.contact-tab {
  flex: 1;
  max-width: 280px;
  padding: 1rem 1.5rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  background: #F5EDE4;
  color: #9B7E6E;
  border: 1px solid #E8E0D8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-tab:first-child {
  border-radius: 999px 0 0 999px;
  border-right: none;
}

.contact-tab:last-child {
  border-radius: 0 999px 999px 0;
}

.contact-tab.active {
  background: #9B7E6E;
  color: #FFFFFF;
  border-color: #9B7E6E;
}

.contact-tab:hover:not(.active) {
  background: #EDE5DC;
}

/* ── Contact Panels ──────────────────────────────────────────── */
.contact-panel {
  display: none;
  background: #FFFFFF;
  border: 1px solid #E8E0D8;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-panel { padding: 3rem; }
}

.contact-panel.active {
  display: block;
}

.contact-panel-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-panel-header .section-tag {
  color: #9B7E6E;
}

.contact-panel-header .sec-heading {
  font-size: 1.25rem;
}

.contact-panel-header .sec-divider {
  margin: 0 auto 1.5rem;
}

/* Contact Form 7 styling */
.contact-panel .wpcf7 input[type="text"],
.contact-panel .wpcf7 input[type="email"],
.contact-panel .wpcf7 input[type="tel"],
.contact-panel .wpcf7 textarea,
.contact-panel .wpcf7 select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #FFFFFF;
  border: 1px solid #E8E0D8;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #2A2118;
  font-family: 'Noto Sans JP', sans-serif;
  transition: border-color 0.2s ease;
}

.contact-panel .wpcf7 input:focus,
.contact-panel .wpcf7 textarea:focus,
.contact-panel .wpcf7 select:focus {
  outline: none;
  border-color: #9B7E6E;
}

.contact-panel .wpcf7 input[type="submit"] {
  width: 100%;
  padding: 1rem;
  background-color: #9B7E6E;
  color: #FFFFFF;
  font-size: 0.875rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contact-panel .wpcf7 input[type="submit"]:hover {
  background-color: #8A6D5D;
}

.contact-panel .wpcf7 label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #8A7A70;
  margin-bottom: 0.5rem;
  font-family: 'Noto Sans JP', sans-serif;
}

.contact-panel .wpcf7 p {
  margin-bottom: 1.25rem;
}

.contact-panel .wpcf7-response-output {
  text-align: center;
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* ── FOOTER ────────────────────────────────────────────────────── */
.manus-footer {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(to bottom, #F9F9F9, #E8E0D8);
}

.manus-footer-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 2.5rem;
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid #E0E0E0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.manus-footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #9B7E6E;
  margin-bottom: 0.25rem;
}

.manus-footer-sub {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #6A6A6A;
  margin-bottom: 1.5rem;
}

.manus-footer-desc {
  font-size: 0.75rem;
  color: #6A6A6A;
  margin-bottom: 0.5rem;
}

.manus-footer-divider {
  width: 32px;
  height: 1px;
  background-color: #D4A5A5;
  margin: 1.5rem auto;
}

.manus-footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #6A6A6A;
}

.manus-footer-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.manus-footer-info-item svg {
  flex-shrink: 0;
}

.manus-footer-info-item a {
  transition: color 0.2s ease;
}

.manus-footer-info-item a:hover {
  color: #9B7E6E;
}

.manus-footer-sep {
  width: 100%;
  height: 1px;
  background-color: #E8E0D8;
  margin: 1.5rem 0;
}

.manus-footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.manus-footer-nav a {
  font-size: 0.75rem;
  color: #8A7A70;
  transition: color 0.2s ease;
}

.manus-footer-nav a:hover {
  color: #9B7E6E;
}

.manus-footer-copy {
  font-size: 10px;
  color: #C0B4AC;
}

/* ── FLOATING CTA ──────────────────────────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
}

.floating-cta-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #D4AF37;
  color: #FFFFFF;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.floating-cta-btn:hover {
  background-color: #C49E2E;
  transform: translateY(-2px);
}

/* ── PC-ONLY / SP-ONLY HELPERS ─────────────────────────────────── */
.pc-only {
  display: none;
}

@media (min-width: 768px) {
  .pc-only { display: inline; }
}

.sp-only {
  display: inline;
}

@media (min-width: 768px) {
  .sp-only { display: none; }
}

/* ── SCROLLBAR ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F5EDE4; }
::-webkit-scrollbar-thumb { background: #D4A5A5; border-radius: 3px; }
