/* =====================================================
   ENCHANT LP(care.php) スタイル
   ===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* FANCL-inspired color palette for scalp care */
  --color-primary: #d37583;
  --color-primary-light: #ec4899;
  --color-primary-dark: #b85968;
  --color-secondary: #d4af37;
  --color-secondary-light: #efece5;
  --color-accent: #4caf50;

  /* Neutral colors */
  --color-bg-cream: #fafaf5;
  --color-bg-beige: #f5f0e8;
  --color-bg-white: #ffffff;
  --color-text-dark: #222222;
  --color-text-medium: #555555;
  --color-text-light: #666666;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 60px;
  --spacing-xxl: 80px;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-medium);
  background: var(--color-bg-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* ========================================
           Main Container
           ======================================== */
.main {
  padding-top: 70px;
}

.section {
  padding: var(--spacing-xxl) 0;
}

@media (max-width: 768px) {
  .section {
    padding: var(--spacing-xl) 0;
  }
}

.inner {
  max-width: 1200px;
  margin: -60px auto;
  padding: 0 var(--spacing-sm);
}

.inner-narrow {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 calc(var(--spacing-sm) + 10px);
}

/* ========================================
           Typography
           ======================================== */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  text-transform: uppercase;
  padding: 2px 20px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-full);
  background: rgba(211, 117, 131, 0.05);
  margin-bottom: var(--spacing-sm);
  margin-left: 25px
}

.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-dark);
  text-align: center;
  line-height: 1.5;
  margin-top: var(--spacing-sm);
}

.section-title.serif {
  font-family: var(--font-serif);
}

.section-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-medium);
  text-align: center;
  margin-top: var(--spacing-sm);
  line-height: 1.8;
}

.section-lead {
  font-size: 15px;
  line-height: 1.95;
  color: var(--color-text-medium);
  text-align: center;
  margin-top: var(--spacing-md);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 24px;
  }

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

/* ========================================
           Buttons
           ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 30px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: white;
  box-shadow: 0 10px 25px rgba(211, 117, 131, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(211, 117, 131, 0.45);
  opacity: 1;
}

#problem .btn-primary {
  background: linear-gradient(135deg, #7592d3 0%, #48ceec 100%);
  color: white;
  box-shadow: 0 10px 25px rgba(130, 143, 163, 0.35);
}

#problem .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(117, 200, 211, 0.45);
  opacity: 1;
}

/* ------------------------------
           CTA button "shine" effect (only when .btn-sparkle is set)
           ------------------------------ */
.btn-primary.btn-sparkle {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary.btn-sparkle::after {
  content: "";
  position: absolute;
  top: -70%;
  left: -60%;
  /* 少し左から入れる */
  width: 35%;
  /* 20%→35%（見切れ防止） */
  height: 240%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), transparent);
  opacity: 0;
  pointer-events: none;

  /* ★傾きは skew で固定、移動は translateX だけ（真左→真右） */
  transform: skewX(-18deg) translateX(-140%);
  transform-origin: center;
  animation: enchant-shine 3.6s ease-in-out infinite;
}

@keyframes enchant-shine {

  0%,
  64% {
    transform: skewX(-18deg) translateX(-140%);
    opacity: 0;
  }

  70% {
    opacity: 0.95;
  }

  84% {
    transform: skewX(-18deg) translateX(520%);
    opacity: 0;
  }

  /* 460→520で右まで抜ける */
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary.btn-sparkle::after {
    animation: none;
  }
}

.btn-secondary {
  background: white;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: white;
  opacity: 1;
}

.btn-dashed-wrapper {
  display: inline-block;
  padding: 8px;
  border: 2px dashed var(--color-accent);
  border-radius: calc(var(--radius-full) + 8px);
  background: transparent;
  transition: border-color 0.3s ease;
}

.btn-dashed-wrapper:hover {
  border-color: var(--color-primary);
}

.btn-dashed-wrapper .btn {
  margin: 0;
}

/* ========================================
           Hero Section (KV)
           ======================================== */
.section-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: radial-gradient(600px 600px at 0% 0%, rgba(111, 245, 255, 0.85) 0%, rgba(231, 245, 252, 0) 70%),
    radial-gradient(650px 650px at 100% 100%, rgba(122, 206, 255, 0.65) 0%, rgba(231, 247, 252, 0) 72%),
    linear-gradient(135deg, var(--color-bg-beige) 0%, var(--color-bg-cream) 100%);
  overflow: hidden;
  padding: var(--spacing-xxl) 0;
}

.section-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.75;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: -25px auto;
  padding: 0 var(--spacing-sm);
}

.hero-catchcopy {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 600;
  color: var(--color-text-dark);
  letter-spacing: 0.08em;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-text-medium);
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-lg);
}

.section-hero .hero-catchcopy,
.section-hero .hero-subtitle {
  /* Stronger glow + subtle dark edge to keep text readable on photos */
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 0 6px rgba(0, 0, 0, 0.35),
    0 2px 12px rgba(255, 255, 255, 1),
    0 0 28px rgba(255, 255, 255, 0.95),
    0 0 22px rgba(185, 199, 108, 0.35);
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin: 0 var(--spacing-lg) 0;
  padding-top: 250px;
}

.hero-feature {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  position: relative;
  background: rgba(250, 252, 244, 0.7);
  border: 3px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
  text-align: center;
  line-height: 1.3;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-feature::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  padding: 3px;  
  background: linear-gradient(135deg,#f9f9f0, #c7ab4e);
  /* -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0); */
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.hero-badge {
  display: inline-block;
  padding: 12px 50px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: var(--spacing-md) 0;
  box-shadow: var(--shadow-sm);
}

.hero-note {
  font-size: 12px;
  color: #25241a;
  line-height: 1.8;
  margin-top: var(--spacing-md);
  text-shadow:
    0 2px 10px rgba(255, 255, 255, 0.75),
    0 0 18px rgba(175, 211, 29, 0.25);
}

.hero-note li {
  list-style: none;
  margin: 6px 0;
}

@media (max-width: 768px) {
  .section-hero {
    min-height: 500px;
  }

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

  .hero-subtitle {
    font-size: 16px;
    color: white;
  }

  .hero-feature {
    width: 80px;
    height: 80px;
    font-size: 12px;
  }
}

@media (max-width: 550px) {
  .section-hero::before {
    right: -470px;
  }
}

/* ========================================
           Trial Section
           ======================================== */
.section-trial {
  background: white;
}

.trial-label {
  text-align: center;
  font-size: 21px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.trial-catchcopy {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--spacing-lg);
}

.trial-card {
  max-width: 700px;
  margin: 0 auto;

  background: linear-gradient(135deg, #f9f1e3 0%, #f9f9eb 100%);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.trial-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0 -20px var(--spacing-sm);
}

.trial-price {
  font-size: 30px;
  font-weight: 800;
  color: var(--color-primary);
  margin: var(--spacing-md) 0;
}

.trial-price-note {
  font-size: 28px;
  color: var(--color-text-medium);
  margin-bottom: var(--spacing-md);
}

.trial-content-btn {
  display: inline-block;
  padding: 8px 20px;
  border: 2px dashed var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin: var(--spacing-sm) 0;
  transition: all 0.3s ease;
}

.trial-content-btn:hover {
  background: var(--color-primary);
  color: white;
  opacity: 1;
}

.trial-cta {
  margin-top: var(--spacing-md);
}

#trial .text-center {
  text-align: center;
}

#trial ul.trial-notes {
  display: inline-block;
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: var(--spacing-md);
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.8;
}

#trial ul.trial-notes li {
  position: relative;
  margin: 6px 8px;
  padding-left: 1.6em;
}

#trial ul.trial-notes li::before {

  content: "▶";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.2em;
  text-align: center;
}

/* ========================================
           Program Cards Section
           ======================================== */
.program-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

@media (max-width: 768px) {
  .program-cards {
    grid-template-columns: 1fr;
  }
}

.program-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.program-card-label {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: white;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.program-card-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: var(--spacing-sm) 0;
}

.program-card-price {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-primary);
  margin: var(--spacing-sm) 0;
}

.program-card-satisfaction {
  margin: var(--spacing-md) 0;
}

.satisfaction-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--spacing-sm);
  border-radius: 50%;
  border: 8px solid var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 900;
  color: var(--color-secondary);
  position: relative;
}

.satisfaction-circle::after {
  content: '%';
  font-size: 16px;
  position: absolute;
  right: 20px;
  bottom: 30px;
}

.satisfaction-circle p {
  display: inline-block;
  transform: translateX(-6px);
}

/* ------------------------------
           Satisfaction circle draw (on view)
           ------------------------------ */
.satisfaction-circle.has-arc {
  border-color: transparent;
}

.satisfaction-circle .satisfaction-svg {
  position: absolute;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  z-index: 1;
  transform: rotate(-90deg);
  pointer-events: none;
}

.satisfaction-circle .satisfaction-svg circle {
  fill: none;
  stroke-width: 8;
}

.satisfaction-circle .satisfaction-svg .track {
  stroke: var(--color-secondary);
  opacity: .25;
}

.satisfaction-circle .satisfaction-svg .progress {
  /* stroke: var(--color-secondary); */
  stroke: url(#sat-grad);
  stroke-linecap: round;
}

.satisfaction-circle p {
  position: relative;
  z-index: 2;
}

.satisfaction-circle::after {
  z-index: 3;
}

.satisfaction-label {
  font-size: 12px;
  color: var(--color-text-light);
}

/* To be continued in next part... */

/* ========================================
           Concept Section
           ======================================== */
.section-concept {
  background: linear-gradient(135deg, var(--color-bg-beige) 0%, var(--color-bg-cream) 50%, var(--color-bg-beige) 100%);
}

.concept-content {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  margin-top: var(--spacing-lg);
}

@media (max-width: 768px) {
  .concept-content {
    grid-template-columns: 1fr;
  }
}

.concept-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--spacing-sm);
}

.concept-text p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--color-text-medium);
  margin: var(--spacing-sm) 0;
}

.concept-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.concept-closing {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-top: var(--spacing-lg);
  font-style: italic;
}

/* ========================================
           Features Grid
           ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-sm);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary-light) 0%, white 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--color-secondary);
}

.feature-card-media {
  width: 100%;
  max-width: 360px;
  margin: 12px auto var(--spacing-sm);
  border-radius: 14px;
  display: block;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.feature-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--spacing-xs);
}

.feature-card-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-medium);
}

/* ========================================
           Voice/Review Section
           ======================================== */
.voice-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  margin-top: var(--spacing-lg);
}

.voice-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.voice-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-bg-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-secondary);
}

.voice-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 60px;
  display: none;
}

.voice-header.has-photo .voice-photo {
  display: block;
}

.voice-header.has-photo .voice-avatar {
  display: none;
}

.voice-info {
  flex: 1;
}

.voice-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.voice-meta {
  font-size: 13px;
  color: var(--color-text-light);
}

.voice-text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-medium);
  margin-top: var(--spacing-sm);
}

.voice-highlight {
  background: linear-gradient(transparent 60%, rgba(211, 117, 131, 0.2) 60%);
  font-weight: 700;
  display: inline;
}

/* ========================================
           Detail Section
           ======================================== */
.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
  margin-top: var(--spacing-lg);
}

@media (max-width: 768px) {
  .detail-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
}

.detail-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--spacing-sm);
}

.detail-text p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--color-text-medium);
  margin: var(--spacing-sm) 0;
}

.detail-text ul {
  margin: var(--spacing-sm) 0;
  padding-left: 20px;
}

.detail-text li {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-medium);
  margin: 8px 0;
}

.detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.detail-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
  flex-wrap: wrap;
}

.detail-link {
  font-size: 14px;
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}

.detail-link:hover {
  color: var(--color-primary-dark);
  opacity: 1;
}

/* ========================================
           Pricing Section
           ======================================== */
.section-pricing {
  background: linear-gradient(135deg, rgba(232, 205, 145, 0.3) 0%, rgba(212, 175, 55, 0.2) 50%, rgba(232, 205, 145, 0.3) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

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

.pricing-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 3px solid var(--color-primary);
  position: relative;
}

.pricing-card.featured::before {
  content: 'おすすめ';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

.pricing-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--spacing-sm);
}

.pricing-price {
  font-size: 32px;
  font-weight: 900;
  color: var(--color-primary);
  margin: var(--spacing-sm) 0;
}

.pricing-note {
  font-size: 13px;
  color: var(--color-text-light);
  margin: var(--spacing-xs) 0;
}

.pricing-card {
  text-align: center;
}

.pricing-card ul.pricing-features {
  display: inline-block;
  text-align: left;
  list-style: none;
  padding: 0 10px;
  margin: var(--spacing-md) auto;
  max-width: 16em;
  width: 100%;
}

.pricing-card ul.pricing-features li {
  position: relative;
  padding-left: 1.6em;
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-medium);
}

/* marker */
.pricing-card ul.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.2em;
  text-align: center;
  color: var(--color-accent);
  font-weight: 700;
}

@media (max-width: 376px) {
  .pricing-card ul.pricing-features {
    padding: 0 0;
  }

  .pricing-card ul.pricing-features li {
    margin: 8px -15px;
  }
}

/* ========================================
           FAQ Section
           ======================================== */
.faq-list {
  max-width: 900px;
  margin: var(--spacing-lg) auto 0;
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: var(--spacing-md);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: rgba(211, 117, 131, 0.08);
}

.faq-question span:last-child {
  font-size: 24px;
  color: var(--color-primary);
  font-weight: 900;
}

.faq-answer {
  padding: 0 var(--spacing-md);
  max-height: 0;
  overflow: hidden;
  transition: all 0.28s ease;
}

.faq-answer.active {
  padding: 0 var(--spacing-md) var(--spacing-md);
  max-height: 700px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-medium);
}

/* ========================================
           Reserve/Contact Section
           ======================================== */
.section-reserve {
  background: linear-gradient(135deg, var(--color-bg-beige) 0%, var(--color-bg-cream) 100%);
}

.reserve-form {
  max-width: 700px;
  margin: var(--spacing-lg) auto 0;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--spacing-xs);
}

.form-label.required::after {
  content: '必須';
  margin-left: 8px;
  font-size: 11px;
  color: white;
  background: var(--color-primary);
  padding: 2px 8px;
  border-radius: 4px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-sans);
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-error {
  background: #fee;
  border: 1px solid #fcc;
  border-radius: var(--radius-sm);
  padding: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  color: #c33;
  font-size: 14px;
}

.form-success {
  background: #efe;
  border: 1px solid #cfc;
  border-radius: var(--radius-sm);
  padding: var(--spacing-md);
  color: #363;
  font-size: 15px;
  text-align: center;
}

.form-submit {
  width: 100%;
  margin-top: var(--spacing-md);
}

.form-note {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-top: var(--spacing-sm);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-section h3 {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.footer-section p,
.footer-section li {
  font-size: 14px;
  line-height: 1.8;
  margin: 8px 0;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
  opacity: 1;
}

/* ========================================
           Utilities
           ======================================== */
.text-center {
  text-align: center;
  margin-top: 28px;
}

.text-left {
  text-align: left;
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mt-xl {
  margin-top: var(--spacing-xl);
}

.note-list {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-top: var(--spacing-md);
  padding-left: 0;
  list-style: none;
}

.note-list li {
  margin: 6px 0;
}

/* ========================================
           Animations
           ======================================== */

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* About Theater */

/* ===============================
        About Theater：位置・文字サイズ調整（つまみ）
        =============================== */
.about-theater {
  /* セクション上端からの余白（タイトル全体を上下させる） */
  --theater-pad-top: 22px;
  /* ↑小さくすると上に詰まる */
  --theater-pad-btm: 14px;

  /* タイトル文字サイズ */
  --theater-title-size: clamp(28px, 3.2vw, 30px);
  /* PC/SP自動 */
  --theater-title-lh: 1.2;

  /* 1行目（ピンク）の微調整（必要なら） */
  --theater-pink-size: 1.25em;
  /* 0.95em などに変更可 */

  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-cream);
  background-image: url('../images/bg.webp'), linear-gradient(180deg, var(--color-bg-cream) 0%, #f0ebe0 50%, var(--color-bg-cream) 100%);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  padding: 0;
  min-height: 100vh;
  min-height: 100svh;
}

.about-theater .inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  padding-top: var(--theater-pad-top);
  padding-bottom: var(--theater-pad-btm);
}

.about-theater .theater-footer {
  margin-top: auto;
  padding-top: 1px;
  padding-bottom: 10px;
}

.about-theater .theater-footer .scene-dots {
  margin-top: 0;
}

.about-theater .theater-footer .about-scroller {
  margin-top: 12px;
}

@media (min-width: 769px) {

  /* 通常幅: about-theater表示中だけ theater-footer を画面下端に固定 */
  body.enchant-theater-footer-fixed .about-theater .theater-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;

    /* PCでも .inner と同じ横幅/余白感に寄せる（必要最小限） */
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
  }

  /* footerでコンテンツが隠れないように下に“逃げ”を作る */
  body.enchant-theater-footer-fixed .about-theater .inner {
    /* padding-bottom: 92px; */
    padding-bottom: calc(var(--theater-pad-btm) + var(--theater-footer-h, 92px));
  }

  #about_theater>.inner>.text-center {
    margin: 80px 0 -50px;
  }

}

.about-theater .section-label {
  opacity: 0;
  animation-fill-mode: forwards;
  animation-duration: 1.2s;
  animation-timing-function: ease;
}

.about-theater .section-label.anim-start {
  animation-name: basic_in_anime;
}

.about-theater .theater-heading {
  min-height: 140px;
  position: relative;
}

.about-theater .theater-heading .scene {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  animation-fill-mode: forwards;
  animation-duration: 0.8s;
  animation-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
}

.about-theater .theater-txt {
  margin-top: 24px;
  position: relative;
  min-height: 200px;
}

.about-theater .theater-txt .scene {
  position: absolute;
  left: 0;
  right: 0;
  top: -50px;
  opacity: 0;
  animation-fill-mode: forwards;
  animation-duration: 0.6s;
  animation-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
}

.about-theater .theater-img {
  position: relative;
  min-height: 300px;
  margin-top: 40px;
}

.about-theater .theater-img .fig {
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  transition: all 1.2s cubic-bezier(0.33, 1, 0.68, 1);
  text-align: center;
  width: 100%;
  max-width: 500px;
}

.about-theater .theater-img .fig .fig-icon {
  width: 320px;
  height: 320px;

  margin: 130px auto -100px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;

  transition: all 0.8s cubic-bezier(0.33, 1, 0.68, 1);
  position: relative;
}

/* =========================
   About Theater overlays (scene_1 - scene_4)
   - scene_0 は現状維持（overlayは出さない）
   - data-scene="N" の時だけ fig_N の overlay を表示
   ========================= */
/* overlay共通（デフォは非表示：scene_0も含めて出ない） */
.about-theater .theater-img .theater-ov {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}

/* sceneごとに表示（scene_0は何もしない＝出ない） */
.about-theater[data-scene="1"] .theater-img .fig_1 .theater-ov-1 {
  opacity: 1;
}

.about-theater[data-scene="2"] .theater-img .fig_2 .theater-ov-2 {
  opacity: 1;
}

.about-theater[data-scene="3"] .theater-img .fig_3 .theater-ov-3 {
  opacity: 1;
}

.about-theater[data-scene="4"] .theater-img .fig_4 .theater-ov-4 {
  opacity: 1;
}

/* ===== 共通パーツ ===== */

/* 白丸バッジ共通 */
.about-theater .theater-img .ov-badge {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  border-radius: 999px;
  box-sizing: border-box;
  font-weight: 700;
  line-height: 1.05;
  padding: 10px;
}

.about-theater .theater-img .ov-badge-txt {
  font-size: clamp(12px, 2.4vw, 20px);
  padding: 30px 0;
  line-height: 1.5;
}

/* 背景なしの文字（基本は濃色） */
.about-theater .theater-img .ov-note {
  position: absolute;
  color: var(--color-text-dark);
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  font-size: clamp(12px, 2.2vw, 15px);
}

/* 小さな注釈（※など） */
.about-theater .theater-img .ov-note-mini {
  font-size: 0.75em;
  display: inline;
  vertical-align: super;
  line-height: 1;
}

/* 共通：scene_2 / scene_3 / scene_4 の ov-note（背景なしテキスト） */
.about-theater .theater-img .ov-note-2,
.about-theater .theater-img .ov-note-3,
.about-theater .theater-img .ov-note-4 {
  text-align: center;
  color: #333;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  font-size: clamp(12px, 2.2vw, 14px);
  line-height: 1.7;
}

/* ===== scene_1（中央テキスト群） ===== */
.about-theater .theater-img .fig_1 .ov1-wrap {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  text-align: center;
  color: var(--color-text-dark);
}

.about-theater .theater-img .fig_1 .ov1-top {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: clamp(14px, 2.4vw, 18px);
  letter-spacing: 0.06em;
  margin-bottom: 8px;

  position: relative;
  display: inline-block;
  padding: 6px 18px;
  border-radius: 0;
  z-index: 1;
}

.about-theater .theater-img .fig_1 .ov1-main {
  font-weight: 700;
  font-size: clamp(18px, 3.2vw, 24px);
  margin-bottom: 6px;
}

.about-theater .theater-img .fig_1 .ov1-x {
  font-weight: 700;
  font-size: clamp(18px, 3.0vw, 22px);
  opacity: .7;
  margin-bottom: 6px;
}

.about-theater .theater-img .fig_1 .ov1-sub {
  font-weight: 700;
  font-size: clamp(16px, 3.0vw, 22px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.about-theater .theater-img .fig_1 .ov1-tag {
  display: inline-block;
  background: var(--color-secondary);
  color: #fff;
  padding: 0 12px;
  border-radius: 4px;
  font-size: 0.6em;
  letter-spacing: 0.04em;
}

.about-theater .theater-img .fig_1 .ov1-note {
  font-size: 0.62em;
  opacity: .7;
}

/* 「コアブースト（ov1-top）」：四角背景 + 左右がフェードして消える帯 */
/* 背景帯（左右が透明にフェード） */
.about-theater .theater-img .fig_1 .ov1-top::before {
  content: "";
  position: absolute;

  top: 0;
  bottom: 0;
  left: -45px;
  right: -45px;
  z-index: -1;
  background: linear-gradient(90deg,
      rgba(242, 237, 216, 0) 0%,
      rgba(242, 237, 216, 0.82) 18%,
      rgba(242, 237, 216, .82) 82%,
      rgba(242, 237, 216, 0) 100%);
}

/* ===== scene_2（右上白丸＋左下テキスト） ===== */

/* 共通：ov-badge（白丸）サイズ（丸を維持） */
.about-theater .theater-img .ov-badge-2,
.about-theater .theater-img .ov-badge-3a,
.about-theater .theater-img .ov-badge-3b,
.about-theater .theater-img .ov-badge-4 {
  aspect-ratio: 1 / 1;
}

/* scene_2：右上に白丸 */
.about-theater .theater-img .fig_2 .ov-badge-2 {
  right: 12%;

  width: clamp(110px, 50%, 165px);
  line-height: 22px;
}

/* scene_2：左下の背景なしテキスト（バブル上なので白文字＋影） */
.about-theater .theater-img .fig_2 .ov-note-2 {
  left: 8%;
  bottom: -10%;
}

/* ===== scene_3（白丸2つ＋左上テキスト） ===== */
.about-theater .theater-img .fig_3 .ov-badge-3a,
.about-theater .theater-img .fig_3 .ov-badge-3b {
  width: clamp(110px, 50%, 160px);
}

.about-theater .theater-img .fig_3 .ov-note-3 {
  top: 25%;
  z-index: 1;
}

.about-theater .theater-img .fig_3 .ov-badge-3a {
  top: -8%;
  left: 56%;
  transform: translateX(-50%);
}

.about-theater .theater-img .fig_3 .ov-badge-3b {
  right: 5%;
  bottom: -16%;
}

/* ===== scene_4（左上白丸＋右下テキスト） ===== */
.about-theater .theater-img .fig_4 .ov-badge-4 {
  top: -40%;
  left: -15%;
  width: clamp(110px, 50%, 165px);
  z-index: -2;
}

.about-theater .theater-img .fig_4 .ov-note-4 {
  right: 18%;
  bottom: -15%;
}

/* 「有効成分」ラベル（ov-note-k）だけに薄い白の丸角背景 */
.about-theater .theater-img .ov-note .ov-note-k {
  display: inline-block;
  background: rgba(255, 255, 255, .78);
  border-radius: 999px;
  padding: 4px 10px;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.about-theater .theater-img .ov-note-k {
  font-size: 0.92em;
  opacity: 0.95;
}

.fig-icon-img {
  width: 350px;
  height: 350px;
  display: block;
  object-fit: contain;
}

.about-theater .theater-img .fig .fig-icon picture {
  display: block;
}

.about-theater .theater-img .buble {
  position: absolute;
  border-radius: 1000px;
  background-color: rgba(212, 175, 55, 0.08);
  aspect-ratio: 1 / 1;
  z-index: -1;
  filter: blur(80px);
  width: 300px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* SCROLL indicator */
.about-scroller {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--color-secondary);
  margin-top: 30px;
  opacity: 0.6;
  animation: scroller_anime 2s infinite;
}

@keyframes scroller_anime {
  0% {
    transform: translateY(-8px);
    opacity: 0.6;
  }

  50% {
    transform: translateY(4px);
    opacity: 1;
  }

  100% {
    transform: translateY(-8px);
    opacity: 0.6;
  }
}

/* Keyframes */
@keyframes basic_in_anime {
  0% {
    transform: scale(1.02) translateY(60px);
    opacity: 0;
  }

  100% {
    transform: scale(1) translateY(0px);
    opacity: 1;
  }
}

@keyframes scene_fade_in {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes scene_fade_out {
  0% {
    transform: translateY(0px);
    opacity: 1;
  }

  100% {
    transform: translateY(-30px);
    opacity: 0;
  }
}

/* Scene control via data-scene attribute */
/* Scene 0 (cluster) */
.about-theater[data-scene="0"] .theater-heading .scene_0 {
  animation-name: scene_fade_in;
}

.about-theater[data-scene="0"] .theater-heading :is(.scene_1, .scene_2, .scene_3, .scene_4) {
  animation-name: scene_fade_out;
}

.about-theater[data-scene="0"] .theater-txt .scene_0 {
  animation-delay: 0.3s;
  animation-name: scene_fade_in;
}

.about-theater[data-scene="0"] .theater-txt :is(.scene_1, .scene_2, .scene_3, .scene_4) {
  animation-name: scene_fade_out;
}

/* Show all 4 bubbles as a cluster */
.about-theater[data-scene="0"] .theater-img .fig {
  opacity: 1;
}

.about-theater[data-scene="0"] .theater-img .fig_1 {
  left: 56%;
  top: 6%;
  transform: translate(-45%, -45%) scale(0.4);
}

.about-theater[data-scene="0"] .theater-img .fig_2 {
  left: 35%;
  top: 45%;
  transform: translate(-45%, -45%) scale(0.45);
}

.about-theater[data-scene="0"] .theater-img .fig_3 {
  left: 86%;
  top: 54%;
  transform: translate(-50%, -50%) scale(0.48);
}

.about-theater[data-scene="0"] .theater-img .fig_4 {
  left: 62%;
  top: 98%;
  transform: translate(-50%, -50%) scale(0.60);
}

/* Scene 1 */
.about-theater[data-scene="1"] .theater-heading .scene_1 {
  animation-name: scene_fade_in;
}

.about-theater[data-scene="1"] .theater-heading .scene_2 {
  animation-name: scene_fade_out;
}

.about-theater[data-scene="1"] .theater-txt .scene_1 {
  animation-delay: 0.3s;
  animation-name: scene_fade_in;
}

.about-theater[data-scene="1"] .theater-txt :is(.scene_2, .scene_3, .scene_4) {
  animation-name: scene_fade_out;
}

.about-theater[data-scene="1"] .theater-img .fig_1 {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Scene 2 */
.about-theater[data-scene="2"] .theater-heading .scene_1 {
  animation-name: scene_fade_out;
}

.about-theater[data-scene="2"] .theater-heading .scene_2 {
  animation-delay: 0.3s;
  animation-name: scene_fade_in;
}

.about-theater[data-scene="2"] .theater-txt .scene_2 {
  animation-delay: 0.3s;
  animation-name: scene_fade_in;
}

.about-theater[data-scene="2"] .theater-txt :is(.scene_1, .scene_3, .scene_4) {
  animation-name: scene_fade_out;
}

.about-theater[data-scene="2"] .theater-img .fig_2 {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Scene 3 */
.about-theater[data-scene="3"] .theater-heading :is(.scene_1, .scene_2, .scene_4) {
  animation-name: scene_fade_out;
}

.about-theater[data-scene="3"] .theater-heading .scene_3 {
  animation-delay: 0.3s;
  animation-name: scene_fade_in;
}

.about-theater[data-scene="3"] .theater-txt .scene_3 {
  animation-delay: 0.3s;
  animation-name: scene_fade_in;
}

.about-theater[data-scene="3"] .theater-txt :is(.scene_1, .scene_2, .scene_4) {
  animation-name: scene_fade_out;
}

.about-theater[data-scene="3"] .theater-img .fig_3 {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Scene 4 */
.about-theater[data-scene="4"] .theater-heading :is(.scene_1, .scene_2, .scene_3) {
  animation-name: scene_fade_out;
}

.about-theater[data-scene="4"] .theater-heading .scene_4 {
  animation-delay: 0.3s;
  animation-name: scene_fade_in;
}

.about-theater[data-scene="4"] .theater-txt .scene_4 {
  animation-delay: 0.3s;
  animation-name: scene_fade_in;
}

.about-theater[data-scene="4"] .theater-txt :is(.scene_1, .scene_2, .scene_3) {
  animation-name: scene_fade_out;
}

.about-theater[data-scene="4"] .theater-img .fig_4 {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Exit directions (forward scroll) - per request
           Scene1 -> Scene2 : fig_1 fades out to left-top
           Scene2 -> Scene3 : fig_2 fades out to right-top
           Scene3 -> Scene4 : fig_3 fades out to left-bottom
           (Only affects the outgoing figure; others keep the existing off-state) */
.about-theater[data-scene="2"] .theater-img .fig_1 {
  opacity: 0;
  transform: translate(-50%, -50%) translate(-132px, -132px) scale(0.6);
}

.about-theater[data-scene="3"] .theater-img .fig_2 {
  opacity: 0;
  transform: translate(-50%, -50%) translate(132px, -132px) scale(0.6);
}

.about-theater[data-scene="4"] .theater-img .fig_3 {
  opacity: 0;
  transform: translate(-50%, -50%) translate(-132px, 132px) scale(0.6);
}

/* About Theater：タイトル1行目だけピンク */
.about-theater .theater-title-pink {
  color: var(--color-primary);
  font-weight: 700;
  display: inline-block;

  font-size: var(--theater-pink-size);
  padding-bottom: 18px;
}

/* Scene progress dots */
.scene-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.scene-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-secondary);
  opacity: 0.25;
  transition: all 0.4s ease;
}

.scene-dot.active {
  opacity: 1;
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

/* Theater layout for desktop */
.theater-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2px;
  align-items: center;
  min-height: 700px;
}

.theater-left {
  position: relative;
}

.theater-right {
  position: relative;
}

/* タイトル（section-title / theater-heading の実体に合わせて調整） */
.about-theater .theater-heading .section-title,
.about-theater .theater-heading h2 {
  font-size: var(--theater-title-size);
  line-height: var(--theater-title-lh);
  margin-top: -65px;
  text-align: left;
}

/* =========================================
            About Theater : inline style をCSSへ集約
            ========================================= */

.about-theater .theater-txt .scene .section-lead {
  text-align: left;
  margin: 0;
}

.about-theater .theater-txt .scene .section-lead small {
  opacity: 0.8;
}

.about-theater .note-mark {
  font-size: 0.6em;
  vertical-align: super;
  line-height: 1;
  display: inline;
  margin: 0;
  color: inherit;
}

.about-theater .note-keep {
  white-space: nowrap;
  display: inline-block;
  font-size: inherit;
  color: inherit;
  margin: 0;
}

@media (max-width: 768px) {
  .about-theater {
    background-image: url('../images/bg-sp.webp'), linear-gradient(180deg, var(--color-bg-cream) 0%, #f0ebe0 50%, var(--color-bg-cream) 100%);
  }

  /* about-theater表示中だけ、theater-footer を画面下端に固定 */
  body.enchant-theater-footer-fixed .about-theater .theater-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    /* iPhoneのホームインジケータ対策 */
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }

  /* footerでコンテンツが隠れないように下に“逃げ”を作る */
  body.enchant-theater-footer-fixed .about-theater .inner {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  #about_theater>.inner>.text-center {
    margin: 50px 0 -30px;
  }

  /* SP(<=768px)だけ：見出し→画像→テキスト の順にする */
  .theater-left {
    display: contents;
  }

  .theater-body {
    grid-template-columns: 1fr;
    grid-template-areas:
      "theater_heading"
      "theater_image"
      "theater_text";
    min-height: auto;
  }

  .about-theater .theater-heading {
    grid-area: theater_heading;
    min-height: 100px;
  }

  .about-theater .theater-right {
    grid-area: theater_image;
  }

  .about-theater .theater-txt {
    grid-area: theater_text;
    min-height: 180px;
    margin-top: 12px;
  }

  .about-theater .theater-img {
    min-height: 100px;
    margin-top: 140px;
  }

  .about-theater .theater-img .fig .fig-icon {
    width: 230px;
    height: 230px;
    font-size: 36px;
  }

  /* SP(<=768px)：overlay微調整 */
  .about-theater .theater-img .fig_2 .ov-badge-2 {
    width: clamp(90px, 30vw, 130px);
    height: clamp(90px, 30vw, 130px);
  }

  .about-theater .theater-img .fig_4 .ov-badge-4 {
    width: clamp(90px, 30vw, 130px);
    height: clamp(90px, 30vw, 130px);
    border-radius: 50%;
    top: -50%;
    left: -30%;
  }

  .about-theater .theater-img .fig_3 .ov-note-3 {
    top: 32%;
    left: 10%;
  }

  /* SP(<=768px)：scene_4（fig_4）だけ少し上へ */
  .about-theater[data-scene="4"] .theater-img .fig_4 {
    transform: translate(-50%, -50%) translateX(40px) translateY(-30px) scale(1);
  }

  .about-theater .theater-img .fig_3 .ov-badge-3b {
    right: -6%;
  }

  .about-theater .theater-title-pink {
    font-size: 22px;
    padding: 40px 0 20px;
  }

  .about-theater .theater-heading .section-title,
  .about-theater .theater-heading h2 {
    font-size: 22px;
    margin-top: -10px;
  }

  /* SP(<=768px)だけ theater-right 側のビジュアルを全体縮小 */
  .about-theater .theater-right .theater-img {
    transform: scale(0.7);
    transform-origin: top center;
  }

  /* SPだけ fig内の画像(元が350px固定)を枠サイズに合わせてはみ出し防止 */
  .about-theater .theater-img .fig .fig-icon picture,
  .about-theater .theater-img .fig .fig-icon .fig-icon-img {
    width: 100%;
    height: 100%;
  }

  .about-theater .theater-txt .scene .section-lead {
    padding-top: 90px;
  }

  /* SP(<=768px)：scene_2 の成分3行だけ行間を詰める */
  .about-theater .theater-txt .scene_2 .section-lead .scene2-factors {
    display: block;
    font-size: 11px;
    line-height: 1.6;
  }

  /* SP(<=768px)：scene_2 のときだけテキスト領域の高さを増やして、下の画像と被らないようにする */
  .about-theater[data-scene="2"] .theater-txt {
    min-height: 280px;
  }

  /* SP(<=768px)：scene_0 の4つのfig位置（クラスター） */
  .about-theater[data-scene="0"] .theater-img .fig_1 {
    left: 43%;
    top: -100%;
    transform: translate(-45%, -45%) scale(0.35);
  }

  .about-theater[data-scene="0"] .theater-img .fig_2 {
    left: 30%;
    top: 5%;
    transform: translate(-45%, -45%) scale(0.43);
  }

  .about-theater[data-scene="0"] .theater-img .fig_3 {
    left: 80%;
    top: -25%;
    transform: translate(-50%, -50%) scale(0.48);
  }

  .about-theater[data-scene="0"] .theater-img .fig_4 {
    left: 60%;
    top: 55%;
    transform: translate(-50%, -50%) scale(0.54);
  }

  /* SP(<=768px)：scene_1 のとき fig_1 だけ少し縮小 */
  .about-theater[data-scene="1"] .theater-img .fig_1 {
    transform: translate(-50%, -50%) scale(0.8);
  }

  /* SP(<=768px)：fig-icon 内の picture 微調整 */
  .about-theater .theater-img .fig_1 .fig-icon picture {
    transform: translateY(16px);
  }

  .about-theater .theater-img .fig_4 .fig-icon picture {
    transform: translateX(-16px) translateY(-22px);
  }
}

@media (max-width: 430px) {
  .about-theater .theater-img .fig_3 .ov-badge-3b {
    right: -20%;
  }

  .about-theater .theater-img .fig_4 .theater-under-4 .ov-badge-4 {
    top: -42%;
    left: -15%;
  }
}

.about-theater .theater-img .fig.fig_2 .fig-icon picture {
  position: relative;
  bottom: 140px;
}

/* scene_4：badgeだけ picture の後ろ（underレイヤー）にする */
/* underはデフォ非表示（scene_0維持） */
.about-theater .theater-img .fig_4 .theater-under-4 {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* pictureより後ろ */
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}

/* scene_4のときだけ表示 */
.about-theater[data-scene="4"] .theater-img .fig_4 .theater-under-4 {
  opacity: 1;
}

/* pictureはunderより前 */
.about-theater .theater-img .fig_4 .fig-icon picture {
  position: relative;
  z-index: 2;
}

/* End About Theater */


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Hamburger (open) */
.menu.js-menu-open {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.menu.js-menu-open::before,
.menu.js-menu-open::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-text-dark);
  border-radius: 2px;
}

.menu.js-menu-open::before {
  top: 0;
  box-shadow: 0 9px 0 var(--color-text-dark);
}

.menu.js-menu-open::after {
  bottom: 0;
}

@media (max-width: 768px) {
  .menu.js-menu-open {
    display: inline-block;
  }
}

.js-menu#mmenu {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  max-width: 88vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateX(105%);
  transition: transform .28s ease;
  z-index: 2500;
}

.js-menu#mmenu nav ul {
  list-style: none;
  padding: 0;
  margin: -15px 0 0;
  display: grid;
  gap: 2px;
}

.js-menu#mmenu nav a {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-dark);
}

/* Close button */
.menu.js-menu-close {
  width: 32px;
  height: 32px;
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  margin-left: auto;
}

.menu.js-menu-close::before,
.menu.js-menu-close::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 2px;
  background: var(--color-text-dark);
  border-radius: 2px;
  transform-origin: center;
}

.menu.js-menu-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu.js-menu-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Close（×）が二重になるのを防ぐ：擬似要素の×を無効化 */
#mmenu>div>.menu.js-menu-close::before,
#mmenu>div>.menu.js-menu-close::after {
  content: none !important;
}

/* to-top (from care.php) */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, #a39769 0%, #d6ccb0 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.45);
}

@media (max-width:768px) {
  .to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}

/* snow effect (from care.php) */
.snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 1500;
}

.snowflake {
  position: absolute;
  top: -10px;
  color: rgba(245, 230, 175, 0.95);
  font-size: 10px;
  animation-name: snowDown;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  text-shadow: 0 0 4px rgba(0, 0, 0, .5);
  pointer-events: none;
}

@keyframes snowDown {
  0% {
    transform: translate3d(0, -100%, 0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  40% {
    transform: translate3d(10px, 40vh, 0) rotate(180deg);
    opacity: 0;
  }

  100% {
    transform: translate3d(20px, 110vh, 0) rotate(360deg);
    opacity: 0;
  }
}

/* ========================================
           Header / Menu (care3 spec, scoped)
           ======================================== */
#header {
  position: fixed;
  z-index: 1000;
  top: 0;
  width: 100%;
  background-color: #fff;
  filter: drop-shadow(0 0 0.25rem rgba(0, 0, 0, 0.1));
}

#header>div {
  position: relative;
  height: 14rem;
}

@media only screen and (max-width: 800px) {
  #header>div {
    height: 10rem;
  }
}

#header>div>.menu {
  position: absolute;
  top: calc(50% - 2rem);
  left: 4rem;
  width: 4rem;
  height: 4rem;
  cursor: pointer;
  background-image: url('../images/icon_menu.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

@media only screen and (max-width: 800px) {
  #header>div>.menu {
    top: calc(50% - 1.5rem);
    left: 1rem;
    width: 3rem;
    height: 3rem;
  }
}

#header>div>.logo {
  position: absolute;
  top: 2rem;
  left: calc(50% - 10rem);
  width: 20rem;
}

@media only screen and (max-width: 800px) {
  #header>div>.logo {
    left: calc(50% - 6rem);
    width: 12rem;
  }
}

#header>div>.reserve {
  line-height: 3rem;
  position: absolute;
  top: calc(50% - 1.5rem);
  right: 4rem;
  height: 3rem;
  padding: 0 5rem;
  transition: filter .5s ease;
  letter-spacing: .5rem;
  border: solid 1px #333;
  background: #fff;
  color: #333;
}

#header>div>.reserve:hover {
  filter: drop-shadow(0 0 1rem rgba(0, 0, 0, 0.25));
}

@media only screen and (max-width: 800px) {
  #header>div>.reserve {
    font-size: 12px;
    right: 1rem;
    padding: 0 1rem;
    letter-spacing: .1rem;
  }
}

.js-header {
  transition: transform .5s ease;
}

.js-header.is-active {
  transform: translate3d(0, -100%, 0);
}

@media (max-width: 768px) {

  /* SP: about-theater中は上スクロールでもヘッダーを降ろさない */
  body.enchant-theater-lock-header .js-header {
    transform: translate3d(0, -100%, 0) !important;
  }
}

/* Menu drawer (care3 spec) */
#mmenu {
  position: fixed;
  z-index: 1100;
  top: 0;
  width: 90%;
  max-width: 24rem;
  height: 100%;
  background-color: #fff;
  filter: drop-shadow(0 0 1rem rgba(0, 0, 0, 0.1));
  -webkit-overflow-scrolling: touch;
}

#mmenu>div {
  position: relative;
  padding-top: 15.5rem;
}

@media only screen and (max-width: 800px) {
  #mmenu>div {
    padding-top: 11.5rem;
  }

  .js-menu#mmenu {
    width: 200px;
  }
}

#mmenu>div>.menu {
  position: absolute;
  top: 5rem;
  left: 4rem;
  width: 4rem;
  height: 4rem;
  cursor: pointer;
  background-image: url('../images/icon_menu_close.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

@media only screen and (max-width: 800px) {
  #mmenu>div>.menu {
    top: 3rem;
    left: 2rem;
    width: 3rem;
    height: 3rem;
  }
}

#mmenu>div>nav>ul>li {
  padding: 2rem 3rem;
  border-top: solid 1px #eee;
}

@media only screen and (max-width: 800px) {
  #mmenu>div>nav>ul>li {
    padding: 1.5rem;
  }
}

#mmenu>div>nav>ul>li>a {
  font-size: 16px;
  transition: color .25s ease;
  letter-spacing: .1rem;
  color: var(--color-text-dark);
}

#mmenu>div>nav>ul>li>a:hover {
  color: var(--color-primary);
}

.js-menu {
  visibility: hidden;
  transition: visibility .5s ease, transform .5s ease, opacity .5s ease;
  transform: translate3d(-100%, 0, 0);
  opacity: 0;
}

.js-menu.is-active {
  visibility: visible;
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* Reserve overlay (care3 spec) */
.overlay {
  position: fixed;
  z-index: 1500;
  top: 0;
  visibility: hidden;
  overflow: auto;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .75);
}

.overlay>div {
  display: table;
  width: 100%;
  height: 100%;
}

.overlay>div>div {
  display: table-cell;
  padding: 1rem;
  vertical-align: middle;
}

.overlay>div>div>div {
  position: relative;
  width: 48rem;
  max-width: 48rem;
  margin: 0 auto;
  border-radius: .5rem;
  background-color: #fff;
}

@media only screen and (max-width: 800px) {
  .overlay>div>div>div {
    width: auto;
  }
}

.overlay>div>div>div>span {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 4rem;
  height: 4rem;
  cursor: pointer;
  background-image: url('../images/icon_close.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.overlay .reserve {
  padding: 22px;
}

.overlay .reserve h2 {
  font-size: 20px;
  margin-bottom: 14px;
  color: var(--color-text-dark);
}

.overlay .reserve a {
  display: block;
  border: 1px solid rgba(0, 0, 0, .15);
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: 10px;
  color: var(--color-text-dark);
}

.overlay .reserve a:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, .10);
}

.overlay .reserve a span {
  display: block;
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 4px;
}

.js-overlay-open {
  cursor: pointer;
}

.js-overlay-overlay {
  visibility: hidden;
  transition: visibility .5s ease, opacity .5s ease;
  opacity: 0;
}

.js-overlay-overlay.is-active {
  visibility: visible;
  opacity: 1;
}

.js-overlay-hidden-data {
  display: none !important;
}

/* Main padding (match care3 header height) */
.main {
  padding-top: 14rem;
}

@media only screen and (max-width: 800px) {
  .main {
    padding-top: 10rem;
  }
}

/* ========================================
           Footer (care3 spec)
           ======================================== */
footer {
  background: #2c2c2c;
  color: #fff;
  padding: 60px 40px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-section h3 {
  font-size: 16px;
  margin-bottom: 20px;
  color: #d4af37;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  color: #aaa;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  line-height: 1.8;
}

.footer-section a:hover {
  color: #d4af37;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #444;
  color: #777;
  font-size: 12px;
}

@media (max-width: 768px) {
  footer {
    padding: 50px 20px 26px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

/* =========================================================
   Header (care3 structure) - care9 safe overrides
   - Show hamburger icon (.menu js-menu-open)
   - Reduce header height & logo size to match care9
   ========================================================= */
#header.js-header>div {
  position: relative;
  height: 140px;
}

#header.js-header>div>.menu {
  position: absolute;
  left: 4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4rem;
  height: 4rem;
  cursor: pointer;
  display: block;
  background-image: url('../images/icon_menu.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#header.js-header>div>.logo {
  position: absolute;
  left: 50%;
  top: 15px;
  transform: translateX(-50%);
  width: 200px;
}

#header.js-header>div>.logo h1 {
  margin: 0;
  padding: 0;
  line-height: 1;
}

#header.js-header>div>.logo img {
  width: 100%;
  height: auto;
  display: block;
}

#header.js-header>div>.reserve {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  height: 32px;
  line-height: 32px;
  font-size: 14px;
  cursor: pointer;
}

@media (max-width: 800px) {
  #header.js-header>div {
    height: 91px;
  }

  #header.js-header>div>.menu {
    width: 30px;
    height: 30px;
    left: 20px;
  }

  #header.js-header>div>.logo {
    width: 130px;
    top: 8px;
  }

  #header.js-header>div>.reserve {
    right: 15px;
    font-size: 13px;
  }
}

/* =========================================================
           FIX: use ENCHANT7 default mobile menu behavior (same as index.php / care3.php)
           - common.js toggles .is-active on .js-menu
           - style.min.css expects menu to slide from LEFT
           This override only touches the menu; other sections are untouched.
           ========================================================= */
#header>div>.menu.js-menu-open {
  display: block;
  /* cancel display:none in older LP overrides */
}

#header>div>.menu.js-menu-open::before,
#header>div>.menu.js-menu-open::after {
  content: none !important;
  box-shadow: none !important;
}

.js-menu#mmenu {
  left: 0;
  right: auto;
  transform: translate3d(-100%, 0, 0);
}

.js-menu#mmenu.is-active {
  transform: translate3d(0, 0, 0);
}

#program>.inner {
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-lg);
}

@media (min-width: 1024px) {
  #program>.inner {
    padding-left: var(--spacing-xl);
    padding-right: var(--spacing-xl);
  }
}

/* =========================================
           (merged) care3-sections-css
           ========================================= */

.care3-sections .lp-section {
  padding: 80px 15px;
}

.care3-sections .lp-container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.care3-sections .lp-cta-row {
  text-align: center;
}

/* Hero text in glass card */

.care3-sections .hero-copy h2 {
  margin: 20px 0 30px 0;
  line-height: 1.25;
}

.care3-sections .hero-copy p {
  margin: 14px;
  line-height: 1.25;
  font-size: 2rem;
}

@media only screen and (max-width: 600px) {

  .care3-sections .hero-copy h2 {
    font-size: 1.8rem;
    margin: 5px 0 20px 0;
    line-height: 1.75;
  }

  .care3-sections .hero-copy p {
    font-size: 1.25rem;
    line-height: 1.25;
  }
}

/* Keep legacy hero layout (table) and center the glass card */

.care3-sections .lp-kicker {

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  text-transform: uppercase;
  padding: 2px 20px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-full);
  background: rgba(211, 117, 131, 0.05);
  margin-bottom: var(--spacing-sm);
  display: block;
  width: fit-content;
  margin: 0 30px 14px;
}

/* 中央寄せセクションだけ */

.care3-sections .lp-title {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #222;
  text-align: center;
  line-height: 1.5;
}

@media (max-width:768px) {
  .care3-sections .lp-title {
    font-size: 22px;
  }
}

.care3-sections .lp-lead {
  margin-top: 18px;
  line-height: 1.95;
  color: #555;
  font-size: 15px;
  text-align: center;
}

.care3-sections .lp-lead strong {
  font-weight: 800;
  text-align: center;
}

.care3-sections .lp-note {
  margin-top: 14px;
  color: #666;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
  padding-left: 0;
  list-style: none;
}

.care3-sections .lp-note li {
  margin: 6px 0;
  margin-bottom: 20px;
}

/* FANCL-style dashed border CTA wrapper */
.care3-sections .lp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 18px;
}

@media (max-width:900px) {
  .care3-sections .lp-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
        FLOW arrows (between lp-cards)
        - Wide: 01→02→03 ↓ 04←05←06 （04と06を入れ替え表示）
        - Small: 縦並び（↓）
        ========================= */
.care3-sections #flow .lp-flow-grid {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.care3-sections #flow .lp-flow-grid .flow-arrow {
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.care3-sections #flow .lp-flow-grid .flow-arrow::before {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
}

.care3-sections #flow .lp-flow-grid .flow-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(11, 61, 145, .85);
  border-bottom: 2px solid rgba(11, 61, 145, .85);
  transform: translate(-50%, -50%) rotate(45deg);
}

.care3-sections #flow .lp-flow-grid .flow-arrow::before {
  position: absolute;
  top: var(--flow-arrow-y, 50%);
  left: 50%;
  transform: translate(-50%, -50%);
}

.care3-sections #flow .lp-flow-grid .flow-arrow::after {
  top: var(--flow-arrow-y, 50%);
}

@media (min-width:901px) {
  .care3-sections #flow .lp-flow-grid {
    display: grid;
    grid-template-columns: 1fr 56px 1fr 56px 1fr;
    grid-template-rows: auto 56px auto;
    column-gap: 10px;
    row-gap: 16px;
    align-items: stretch;
    grid-template-areas:
      "c1 a12 c2 a23 c3"
      ". . . . a34"
      "c6 a56 c5 a45 c4";
  }

  .care3-sections #flow .flow-c1 {
    grid-area: c1;
  }

  .care3-sections #flow .flow-c2 {
    grid-area: c2;
  }

  .care3-sections #flow .flow-c3 {
    grid-area: c3;
  }

  .care3-sections #flow .flow-c4 {
    grid-area: c4;
  }

  .care3-sections #flow .flow-c5 {
    grid-area: c5;
  }

  .care3-sections #flow .flow-c6 {
    grid-area: c6;
  }

  .care3-sections #flow .flow-a12 {
    grid-area: a12;
  }

  .care3-sections #flow .flow-a23 {
    grid-area: a23;
  }

  .care3-sections #flow .flow-a34 {
    grid-area: a34;
  }

  .care3-sections #flow .flow-a45 {
    grid-area: a45;
  }

  .care3-sections #flow .flow-a56 {
    grid-area: a56;
  }

  .care3-sections #flow .lp-flow-grid .flow-arrow {
    height: auto;
    min-height: 56px;
  }

  .care3-sections #flow .lp-card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .care3-sections #flow .lp-card .bd {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  /* 白背景(p)も伸ばして揃える */
  .care3-sections #flow .lp-card .bd>p {
    flex: 1;
  }

  /* 画像は最下部に揃える（既にあれば不要） */
  .care3-sections #flow .lp-card .bd .bd-media {
    margin-top: auto;
  }

  /* directions (wide) */
  /* Force directions in wide (avoid being overridden by other generic rules)
        - only 03→04 is ↓, .care3-sections others are → / ← */
  .care3-sections #flow .flow-a12::after,
  .care3-sections #flow .flow-a23::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
  }

  /* → */

  .care3-sections #flow .flow-a34::after {
    transform: translate(-50%, -50%) rotate(45deg) !important;
  }

  /* ↓ */

  .care3-sections #flow .flow-a45::after,
  .care3-sections #flow .flow-a56::after {
    transform: translate(-50%, -50%) rotate(135deg) !important;
  }

  /* ← */
}

.care3-sections .reveal {
  opacity: 1;
  transform: none;
}

/* =========================
           CARE3 lp- media polish
           (trouble / flow only)
           ========================= */
.care3-sections #trouble .lp-card .bd-media,
.care3-sections #flow .lp-card .bd-media {
  margin-top: 12px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .08);
}

.care3-sections #trouble .lp-card .bd-media img,
.care3-sections #flow .lp-card .bd-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Text just above the image */
.care3-sections #trouble .lp-card .bd>p,
.care3-sections #flow .lp-card .bd>p {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, .70);
  color: var(--color-text-dark);
  font-weight: 300;
  line-height: 1.85;
}

.care3-sections #trouble .lp-card .bd>p::before,
.care3-sections #flow .lp-card .bd>p::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 3px;
  background: rgba(4, 100, 91, .55);
  vertical-align: middle;
  transform: translateY(-1px);
}

.hd {
  font-size: 18px;
  text-align: center;
  padding-bottom: 10px;
}

/* =========================
           PROBLEM section polish (scoped)
           - Only affects #problem inside .care3-sections
           ========================= */
.care3-sections #problem .lp-container {
  margin-top: 10px;
  padding: 34px 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .10);
}

.care3-sections #problem .lp-kicker {

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #4ab5c7;
  text-transform: uppercase;
  padding: 2px 20px;
  border: 1px solid #75bcd3;
  border-radius: var(--radius-full);
  background: rgba(117, 175, 211, 0.05);
  margin-bottom: var(--spacing-sm);
  display: block;
  width: fit-content;
  margin: 0 30px 14px;
}

.care3-sections #problem .lp-title {
  position: relative;
  display: block;
  font-family: var(--font-serif);
  width: 100%;
  padding-bottom: 14px;
}

.care3-sections #problem .lp-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 3px;
  width: calc(45%);
  max-width: none;
  border-radius: 999px;
  background: rgba(4, 100, 91, .55);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform .35s ease;
}

/* revealで表示されたら伸びる */
.care3-sections #problem .lp-container.reveal.is-visible .lp-title::after {
  transform: translateX(-50%) scaleX(1);
}

.care3-sections #problem .lp-lead {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  line-height: 1.95;
}

.care3-sections #problem .lp-note {
  margin-top: 16px;
  text-align: center;
  padding: 0;
  list-style: none;
}

.care3-sections #problem .lp-note li {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .65);
  border: 1px solid rgba(0, 0, 0, .06);
  color: rgba(0, 0, 0, .62);
}

.care3-sections #problem .lp-card {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .08);
  transform: translateY(0);
  transition: transform .25s ease, box-shadow .25s ease;
}

.care3-sections #problem .lp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .12);
}

.care3-sections #problem .lp-card .hd {
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(0, 0, 0, .82);
  background: linear-gradient(180deg, rgba(18, 168, 148, .25), rgba(255, 255, 255, 0));
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  text-align: center;
}

.care3-sections #problem .lp-card .bd {
  padding: 14px 10px 16px;
}

.care3-sections #problem .lp-card .bd ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.care3-sections #problem .lp-card .bd li {
  position: relative;
  padding-left: 42px;
  margin: 0 0 10px;
  line-height: 1.85;
  color: rgba(0, 0, 0, .75);
}

/* problemセクション内の箇条書きだけ、画像アイコンにする */
.care3-sections #problem .lp-card .bd li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.15em;
  width: 30px;
  height: 30px;
  background: url('../images/problem-check.png') no-repeat center / contain;
  /* background: rgba(4, 100, 91, .45); */
  /* border-radius: 3px; */
}

@media (max-width:768px) {
  .care3-sections .lp-section {
    padding: 60px 10px;
  }

  .care3-sections #problem .lp-container {
    padding: 26px 10px;
    border-radius: 18px;
  }

  .care3-sections section#problem {
    justify-content: center;
  }

  .care3-sections section#problem.lp-section {
    padding-left: 0;
    padding-right: 0;
  }

  .care3-sections section#problem>.lp-container {
    max-width: 1100px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }

  .care3-sections #problem .lp-card .bd {
    padding: 14px 5px 16px;
  }

  .inner-narrow {
    padding: 0 calc(var(--spacing-sm) + 4px);
  }

  .voice-card {
    padding: var(--spacing-md);
  }
}

/* #trouble の .bd 高さを揃える（最大のものに合わせる） */
.care3-sections #trouble .lp-grid {
  align-items: stretch;
}

.care3-sections #trouble .lp-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.care3-sections #trouble .lp-card .bd {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 画像を下端に揃える（テキスト量が違っても位置が揃う） */
.care3-sections #trouble .lp-card .bd .bd-media {
  margin-top: auto;
}

/* 03施術の【1】〜【3】だけ整列 */
.care3-sections #flow .flow-c3 .flow-list {
  display: block;
  margin-top: 10px;
}

.care3-sections #flow .flow-c3 .flow-item {
  display: grid;
  grid-template-columns: 2em 1fr;
  column-gap: 8px;
  margin: 6px 0 0 -8px;
}

.care3-sections #flow .flow-c3 .flow-mark {
  text-align: right;
  white-space: nowrap;
  color: #04645b;
}

.care3-sections #flow .flow-c3 .flow-text {
  min-width: 0;
}

.section-hero .hero-copy {
  width: 100%;
  margin-inline: auto;
  text-align: center;
  align-self: center;
}

.section-concept .section-title {
  text-indent: -1.5em;
}

@media (max-width: 639px) {

  .section-concept .section-title {
    text-indent: 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .section-label {
    margin-left: 0;
  }

  .care3-sections #problem .lp-kicker {
    margin-left: 0;
  }

  .care3-sections .lp-kicker {
    margin-left: 0;
  }
}

.br-sp {
  display: none;
}

.br-pc {
  display: inline;
}

/* SPのみ改行切替 */
@media (max-width: 768px) {
  .br-sp {
    display: inline;
  }

  .br-pc {
    display: none;
  }
}

/* 1190px以上：1行（brを無効化） */
.theater-title-pink br.only-under-1190 {
  display: none;
}

/* 1189px以下：2行（brを有効化） */
@media (max-width: 1189px) {
  .theater-title-pink br.only-under-1190 {
    display: inline;
  }
}

@media (min-width: 1190px) {
  .about-theater .theater-heading .scene_3 .theater-title-pink {
    white-space: nowrap;
  }
}

/* =========================================
           (merged) enchant-privacy-dialog
           ========================================= */
/* =========================================
   ENCHANT - Privacy Policy Dialog (stylish)
   ========================================= */
#enchantPrivacyDialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(980px, calc(100vw - 20px));
  max-width: 980px;
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: rgba(255, 255, 255, .96);
  color: #111;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .32);
  backdrop-filter: saturate(120%);
  opacity: 0;
  transform: translateY(14px) scale(.985);
  transition: opacity .22s ease, transform .22s ease;
}

#enchantPrivacyDialog[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
  max-height: 86vh;
}

@media (prefers-reduced-motion: reduce) {
  #enchantPrivacyDialog {
    transition: none;
  }
}

#enchantPrivacyDialog::backdrop {
  background: rgba(10, 10, 12, .58);
  backdrop-filter: blur(6px);
}

#enchantPrivacyDialog li {
  display: flex;
  align-items: baseline;
  gap: .6em;
}

#enchantPrivacyDialog ::selection {
  background: #0b3d91;
  color: #fff;
}

#enchantPrivacyDialog ::-moz-selection {
  background: #0b3d91;
  color: #fff;
}

#enchantPrivacyDialog li a[href^="tel:"] {
  display: inline;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

#enchantPrivacyDialog .privacy-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .60));
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

#enchantPrivacyDialog .privacy-title {
  font-weight: 800;
  letter-spacing: .06em;
  font-size: 14px;
}

#enchantPrivacyDialog .privacy-close {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .10);
  color: inherit;
  border-radius: 999px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  font-size: 18px;
}

#enchantPrivacyDialog .privacy-close:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .40);
}

#enchantPrivacyDialog .privacy-close:focus {
  outline: 2px solid rgba(255, 255, 255, .55);
  outline-offset: 2px;
}

#enchantPrivacyDialog .privacy-body {
  padding: 18px 18px 22px;
  overflow: auto;
  max-height: calc(86vh - 58px);
  background: radial-gradient(900px 400px at 20% -10%, rgba(0, 0, 0, .04), transparent 55%), #fff;
}

#enchantPrivacyDialog .tip {
  opacity: .75;
}

/* ---- Embedded content typography ---- */
#enchantPrivacyDialog .privacy-body {
  font-size: 14px;
  line-height: 1.9;
}

#enchantPrivacyDialog .privacy-body h1,
#enchantPrivacyDialog .privacy-body h2 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 10px;
}

#enchantPrivacyDialog .privacy-body h3 {
  font-size: 15px;
  margin: 22px 0 8px;
  padding-left: 10px;
  border-left: 3px solid rgba(0, 0, 0, .30);
}

#enchantPrivacyDialog .privacy-body p {
  margin: 0 0 10px;
}

#enchantPrivacyDialog .privacy-body ul,
#enchantPrivacyDialog .privacy-body ol {
  margin: 0 0 12px 1.2em;
  padding: 0;
}

#enchantPrivacyDialog .privacy-body li {
  margin: 4px 0;
}

#enchantPrivacyDialog .privacy-body hr {
  border: 0;
  height: 1px;
  background: rgba(0, 0, 0, .10);
  margin: 16px 0;
}


/* =========================================
   Inline styles extracted from body
   (auto-generated to remove style="..." attributes)
   Prefix: u-c99-30-
   ========================================= */

.u-c99-30-accent-bold {
  font-weight: 700 !important;
  color: var(--color-primary) !important;
}

.u-c99-30-bg-white {
  background: white !important;
}

.u-c99-30-dir-ltr {
  direction: ltr !important;
}

.u-c99-30-dir-rtl {
  direction: rtl !important;
}

.u-c99-30-div {
  max-width: 700px !important;
  margin: var(--spacing-xl) auto 0 !important;
  text-align: center !important;
}

.u-c99-30-fas {
  background: linear-gradient(135deg, #6cd437 0%, #91e8a4 50%, #2e8a76 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block !important;
}

.u-c99-30-fas-2 {
  background: linear-gradient(135deg, #6dc321 0%, #91e8dc 50%, #2e748a 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block !important;
}

.u-c99-30-fas-3 {
  background: linear-gradient(135deg, #d4b537 0%, #e8db91 50%, #e8ac34 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block !important;
}

.u-c99-30-fas-4 {
  background: linear-gradient(135deg, #d47037 0%, #e891b4 50%, #8a2e45 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block !important;
}

.u-c99-30-h3 {
  font-family: var(--font-serif) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--color-text-dark) !important;
  margin-bottom: var(--spacing-sm) !important;
}

.u-c99-30-hero-note {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 0 6px rgba(0, 0, 0, 0.35), 0 2px 12px rgba(255, 255, 255, 1), 0 0 28px rgba(255, 255, 255, 0.95), 0 0 22px rgba(185, 199, 108, 0.35) !important;
}

.u-c99-30-icon-35 {
  font-size: 35px !important;
}

.u-c99-30-id-customervoice {
  background: var(--color-bg-beige) !important;
}

.u-c99-30-img {
  height: 38px !important;
}

.u-c99-30-mt-md {
  margin-top: var(--spacing-md) !important;
}

.u-c99-30-note-sm {
  font-size: 14px !important;
  color: var(--color-text-medium) !important;
  margin-top: var(--spacing-sm) !important;
}

.u-c99-30-p {
  font-size: 15px !important;
  color: #01131e !important;
  max-width: 600px !important;
  margin: var(--spacing-md) auto !important;
  line-height: 1.9 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 0 6px rgba(0, 0, 0, 0.35), 0 2px 12px rgba(255, 255, 255, 1), 0 0 28px rgba(255, 255, 255, 0.95), 0 0 22px rgba(185, 199, 108, 0.35) !important;
}

.u-c99-30-p-2 {
  font-size: 14px !important;
  color: var(--color-text-medium) !important;
  margin: var(--spacing-sm) 0 !important;
}

.u-c99-30-p-3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}

.u-c99-30-p-4 {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--color-primary) !important;
  margin: var(--spacing-sm) 0 !important;
}

.u-c99-30-p-5 {
  font-size: 14px !important;
  color: var(--color-text-medium) !important;
}

.u-c99-30-p-6 {
  font-size: 14px !important;
  color: var(--color-text-medium) !important;
  margin-top: var(--spacing-xs) !important;
}

.u-c99-30-span {
  display: inline !important;
  font-size: 18px !important;
  font-weight: 400 !important;
}

.u-c99-30-tag {
  color: var(--color-primary) !important;
}

.u-c99-30-text-center {
  margin: 28px -8px 0 !important;
}

.u-c99-30-trial-price-note {
  text-decoration: line-through !important;
  color: var(--color-text-light) !important;
}

.u-c99-30-w100 {
  width: 100% !important;
}