/* ===================================
   LP Recruit - サロン採用LP
   Design: Palette-switchable / Warm Beige base
   =================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* パレットカラー（PHPから上書きされる） */
  --color-primary: #b08d57;
  --color-primary-light: #c9a96e;
  --color-primary-pale: #dfc18e;
  --color-primary-dark: #8a6d3b;
  --gradient-primary: linear-gradient(135deg, #b08d57, #c9a96e, #b08d57);
  --gradient-primary-hover: linear-gradient(135deg, #c9a96e, #dfc18e, #c9a96e);
  --shadow-primary: 0 6px 24px rgba(176, 141, 87, 0.2);

  /* 固定カラー */
  --color-bg: #faf9f6;
  --color-bg-white: #ffffff;
  --color-bg-cream: #f5f1eb;
  --color-bg-warm: #f0ece4;
  --color-text: #2c2c2c;
  --color-text-body: #555555;
  --color-text-muted: #888888;
  --color-text-light: #aaaaaa;
  --color-border: #e5e0d8;
  --color-border-light: #eeebe5;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
  --font-heading: 'Noto Serif JP', serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --max-width: 1100px;
  --section-padding: 110px 0;
  --section-padding-mobile: 72px 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-body);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Common --- */
.section {
  padding: var(--section-padding);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
  color: var(--color-text);
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 580px;
  line-height: 1.9;
}

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

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.gold-line {
  width: 40px;
  height: 1px;
  background: var(--color-primary);
  margin-bottom: 24px;
}

.text-center .gold-line {
  margin-left: auto;
  margin-right: auto;
}

/* --- Section Background Image + White Overlay --- */
.has-section-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-overlay {
  position: absolute;
  inset: 0;
  background: #fff;
  pointer-events: none;
  z-index: 0;
}

.has-section-bg > .container {
  position: relative;
  z-index: 1;
}

.has-section-bg > .numbers-bg-deco,
.has-section-bg > .final-cta-bg {
  z-index: 1;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ===================================
   HEADER / NAVIGATION
   =================================== */
.header {
  position: relative;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  background-color: rgba(255, 255, 255, 0.95);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--color-primary);
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.hero-media--sp {
  display: none;
}

@media (max-width: 768px) {
  .hero-media--pc {
    display: none;
  }
  .hero-media--sp {
    display: block;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(176, 141, 87, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(245, 241, 235, 0.8) 0%, transparent 60%);
  z-index: 1;
}

.hero-deco {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(176, 141, 87, 0.12);
  pointer-events: none;
  z-index: 2;
}

.hero-deco--1 {
  width: 500px;
  height: 500px;
  top: -120px;
  right: -100px;
}

.hero-deco--2 {
  width: 300px;
  height: 300px;
  bottom: -60px;
  left: -80px;
  border-color: rgba(176, 141, 87, 0.08);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 130px 24px 90px;
  max-width: 780px;
  margin: 0 auto;
}

.hero-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-title .accent {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text-muted);
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 52px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-bg-white);
  background: var(--gradient-primary);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  letter-spacing: 0.06em;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

.hero-cta:hover {
  background: var(--gradient-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.hero-cta-note {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 16px;
  opacity: 0;
  animation: fadeUp 0.8s 1.0s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-light);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
  z-index: 3;
}

.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--color-primary-light), transparent);
  animation: scrollLine 2s infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ===================================
   PAIN POINTS SECTION
   =================================== */
.pain-points {
  background: var(--color-bg);
}

.pain-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.pain-item {
  padding: 40px 28px;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
  overflow: hidden;
}

.pain-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pain-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  margin-bottom: 20px;
}

.pain-item-visual {
  position: relative;
  overflow: hidden;
  margin: -40px -28px 20px;
  aspect-ratio: 16 / 9;
}

.pain-item-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pain-item-visual .pain-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  margin-bottom: 0;
}

.pain-item h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text);
}

.pain-item p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.85;
}

/* ===================================
   SERVICE / FEATURES SECTION
   =================================== */
.service {
  background: var(--color-bg-white);
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.feature-card {
  padding: 48px 28px 40px;
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
  overflow: hidden;
}

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

.feature-card.has-image {
  padding-top: 0;
}

.feature-card-visual {
  position: relative;
  overflow: visible;
  margin: 0 -28px 16px;
  aspect-ratio: 16 / 9;
}

.feature-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.feature-card-visual .feature-tag {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  margin-bottom: 0;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

.feature-tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: rgba(176, 141, 87, 0.1);
  border-radius: 100px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.85;
}

/* ===================================
   NUMBERS / STATS SECTION
   =================================== */
.numbers {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.numbers-bg-deco {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(176, 141, 87, 0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 44px 24px;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-number .unit {
  font-size: 1rem;
  margin-left: 2px;
  color: var(--color-primary-light);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 12px;
}

/* ===================================
   FACILITY SECTION
   =================================== */
.facility {
  background: var(--color-bg-white);
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.facility-item {
  display: flex;
  flex-direction: column;
}

.facility-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  aspect-ratio: 1 / 1;
  background: var(--color-bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.facility-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--color-text-light);
}

.facility-placeholder-icon {
  font-size: 2rem;
  color: var(--color-primary-light);
  opacity: 0.5;
}

.facility-placeholder span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.facility-caption {
  padding: 16px 4px 0;
}

.facility-caption h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 4px;
}

.facility-caption p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===================================
   STAFF SECTION (スタッフ紹介)
   =================================== */
.staff-section {
  background: var(--color-bg);
  padding-bottom: 140px;
}

/* --- Video Slider (動画スタッフ) --- */
.video-slider {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  max-width: 100%;
}

.video-slider-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.video-slider-captions {
  position: relative;
  min-height: 2em;
  margin-bottom: 8px;
}

.video-slider-track {
  position: relative;
  width: 85vw;
  max-width: 380px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
  box-shadow: var(--shadow-lg);
}

.video-slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.video-slider-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.video-slider-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 2;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.video-slider-caption {
  display: none;
}

.video-slider-caption.is-active {
  display: block;
}

.video-slider-caption p {
  color: var(--color-text-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
}

.staff-career {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-left: 8px;
}

.video-slider-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-bg-white);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}

.video-slider-arrow:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.video-slider-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.video-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.video-slider-dot.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* --- Staff Card Carousel (静止画スタッフ) --- */
.staff-carousel {
  margin-top: 56px;
  position: relative;
}

.staff-carousel-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.staff-carousel-track {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  position: relative;
}

.staff-carousel-strip {
  display: flex;
  column-gap: 20px;
  will-change: transform;
}

/* 少数の場合は中央揃え */
.staff-carousel-strip.is-centered {
  justify-content: center;
}

.staff-carousel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-bg-white);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.staff-carousel-arrow:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.staff-carousel-arrow.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

.staff-carousel-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.staff-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  padding: 0;
}

.staff-carousel-dot.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.staff-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  cursor: default;
  flex: 0 0 calc((100% - 40px) / 3);
}

a.staff-card {
  cursor: pointer;
}

a.staff-card.is-inactive-card {
  pointer-events: none;
}

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

.staff-card-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.staff-card-placeholder {
  color: var(--color-text-light);
  opacity: 0.5;
}

.staff-card-body {
  padding: 16px 20px 20px;
}

.staff-card-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.staff-card-career {
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 8px;
}

.staff-card-comment {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.staff-card-link-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  color: var(--color-primary);
}

/* ===================================
   FLOW / STEPS SECTION
   =================================== */
.flow {
  background: var(--color-bg-white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
  position: relative;
}

.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps--5 { grid-template-columns: repeat(5, 1fr); }

.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 56px;
  right: 56px;
  height: 1px;
  background: var(--color-border);
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-bg-white);
  position: relative;
  z-index: 1;
  transition: background 0.3s, color 0.3s;
}

.step:hover .step-number {
  background: var(--color-primary);
  color: var(--color-bg-white);
}

.step h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.step-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--color-border-light);
}

.step-image img {
  width: 100%;
  display: block;
}

.flow-line-note {
  margin-top: 48px;
  padding: 32px;
  background: var(--color-bg-cream);
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  text-align: center;
}

.flow-line-note-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.flow-line-note-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.flow-line-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: #06C755;
  border-radius: 100px;
  transition: background 0.3s;
}

.flow-line-cta:hover {
  background: #05b34c;
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq {
  background: var(--color-bg);
}

.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border-light);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.3s;
}

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

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-primary);
  transition: transform 0.3s;
}

.faq-icon::before {
  width: 12px;
  height: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.9;
}

/* ===================================
   FINAL CTA SECTION
   =================================== */
.final-cta {
  background: var(--color-bg-white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(176, 141, 87, 0.04) 0%, transparent 50%);
}

.final-cta .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.final-cta .section-title {
  font-size: 2rem;
  margin-bottom: 16px;
}

.final-cta .section-subtitle {
  margin: 0 auto 48px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 56px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-bg-white);
  background: var(--gradient-primary);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  letter-spacing: 0.06em;
}

.cta-button:hover {
  background: var(--gradient-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.cta-note {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-top: 16px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--color-bg-cream);
  border-top: 1px solid var(--color-border-light);
  padding: 48px 0 32px;
  padding-bottom: 100px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.footer-logo span {
  color: var(--color-primary);
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.footer-desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  transition: color 0.3s;
}

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

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.72rem;
  color: var(--color-text-light);
}

/* ===================================
   FIXED BOTTOM CTA BAR
   =================================== */
.fixed-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fixed-cta-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.fixed-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  padding: 14px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
}

.fixed-cta-btn:hover {
  transform: translateY(-1px);
}

.fixed-cta-btn--visit {
  color: var(--color-bg-white);
  background: var(--gradient-primary);
  box-shadow: var(--shadow-primary);
}

.fixed-cta-btn--visit:hover {
  background: var(--gradient-primary-hover);
}

.fixed-cta-btn--line {
  color: #fff;
  background: #06C755;
  box-shadow: 0 4px 16px rgba(6, 199, 85, 0.25);
}

.fixed-cta-btn--line:hover {
  background: #05b34c;
}

.fixed-cta-btn--line svg {
  flex-shrink: 0;
}

/* ===================================
   HIDE reCAPTCHA BADGE
   =================================== */
.grecaptcha-badge {
  visibility: hidden !important;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  .section {
    padding: 88px 0;
  }

  .hero-title {
    font-size: 2.3rem;
  }

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

  .steps--4,
  .steps--5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .section-title {
    font-size: 1.55rem;
  }

  .container {
    padding: 0 16px;
  }

  .hero-content {
    padding: 100px 16px 60px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
  }

  .hero-cta {
    padding: 16px 40px;
    font-size: 0.92rem;
  }

  .hero-scroll {
    display: none;
  }

  .hero-deco { display: none; }

  .pain-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pain-item {
    padding: 28px 24px;
  }

  .pain-item-visual {
    margin: -28px -24px 16px;
  }

  .feature-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 36px 24px 32px;
  }

  .feature-card.has-image {
    padding-top: 0;
  }

  .feature-card-visual {
    margin: 0 -24px 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-item {
    padding: 28px 24px;
  }

  .stat-number {
    font-size: 2.6rem;
  }

  /* Facility: horizontal scroll carousel on SP */
  .facility-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .facility-grid::-webkit-scrollbar {
    display: none;
  }

  .facility-grid .facility-item {
    flex: 0 0 75%;
    scroll-snap-align: start;
  }

  .facility-grid .facility-item.reveal {
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .facility-caption h3 {
    font-size: 0.9rem;
  }

  .facility-caption p {
    font-size: 0.75rem;
  }

  /* Video slider */
  .video-slider-main {
    width: 100%;
    gap: 10px;
  }

  .video-slider-arrow {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .video-slider-arrow svg {
    width: 16px;
    height: 16px;
  }

  .video-slider-track {
    width: auto;
    flex: 1;
    min-width: 0;
    max-width: 380px;
  }

  /* Staff section: narrower padding for wider cards */
  .staff-section > .container {
    padding: 0 8px;
  }

  .staff-carousel-main {
    gap: 8px;
  }

  /* Staff carousel SP */
  .staff-carousel-track {
    overflow: hidden;
  }

  .staff-carousel-strip {
    column-gap: 8px;
  }

  .staff-card {
    flex: 0 0 calc((100% - 8px) / 2);
  }

  .staff-card-photo {
    aspect-ratio: 1 / 1;
  }

  .staff-carousel-arrow {
    width: 24px;
    height: 24px;
  }

  .staff-carousel-arrow svg {
    width: 12px;
    height: 12px;
  }

  .staff-card-body {
    padding: 12px;
  }

  .staff-card-name {
    font-size: 0.92rem;
  }

  .staff-card-comment {
    font-size: 0.75rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .steps::before {
    display: none;
  }

  .step {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    text-align: left;
  }

  .step-number {
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
    margin: 0;
    flex-shrink: 0;
  }

  .step-image {
    flex: 1 1 100%;
    order: -1;
  }

  .step-text h3 {
    margin-bottom: 4px;
  }

  .final-cta {
    padding: 80px 0;
  }

  .final-cta .section-title {
    font-size: 1.6rem;
  }

  .cta-button {
    padding: 18px 40px;
    font-size: 0.95rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* Narrow screens */
@media (max-width: 380px) {
  .fixed-cta-btn--line {
    display: none;
  }

  .fixed-cta-btn--visit {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .staff-carousel-main {
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .staff-carousel-strip {
    column-gap: 0;
  }

  .staff-card-body {
    padding: 12px;
  }

  .staff-card-name {
    font-size: 1rem;
  }

  .staff-card-career {
    font-size: 0.82rem;
  }

  .staff-card-comment {
    font-size: 0.82rem;
  }
}
