/* ==========================================================================
 1. VARIABLES & RESET
 ========================================================================== */
:root {
  --primary-color: #e95d8e;
  --primary-light: #ff80ac;
  --primary-soft: #fdeff4;
  --accent-color: #ffd15c;
  --text-main: #3a3238;
  --text-sub: #6e6268;
  --bg-white: #ffffff;
  --bg-pink-light: #f4f3f5;
  --bg-pink-gradient: linear-gradient(135deg, #f4f3f5 0%, #e8e6e9 100%);
  --gradient-btn: linear-gradient(135deg, #ff70a2 0%, #e95d8e 100%);
  --gradient-floating: linear-gradient(135deg, #fc4f8c 0%, #c43164 100%);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
  --shadow-floating: 0 8px 25px rgba(196, 49, 100, 0.32);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --font-main: "Zen Maru Gothic", sans-serif;
  --font-en: "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-pink-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

body.has-bottom-cta {
  padding-bottom: 110px;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ==========================================================================
 2. LOADING SCREEN
 ========================================================================== */
/* ローディング中はページを動かせないようにして、更新後に
   途中の位置へ着地するのを根本から防ぐ */
html.is-loading {
  overflow: hidden;
  overscroll-behavior: none;
}

html.is-loading body {
  position: fixed;
  inset: 0;
  width: 100%;
  overflow: hidden;
}

#loading-screen {
  position: fixed;
  inset: 0;
  background-color: var(--bg-pink-light);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-logo-svg {
  width: 220px;
  height: auto;
  animation: bounceLogo 1s infinite alternate ease-in-out;
}

@keyframes bounceLogo {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-8px) scale(1.02);
  }
}

.loader-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--primary-soft);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1.5s infinite linear;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
 3. MAIN CONTENT WRAPPER
 ========================================================================== */
#main-content {
  opacity: 0;
  transition: opacity 0.8s ease;
}

#main-content.visible {
  opacity: 1;
}

/* ==========================================================================
 4. REUSABLE COMPONENTS & UTILITIES
 ========================================================================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 90px 0;
  position: relative;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

@media (max-width: 858px) {
  .section {
    padding: 50px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
  }
}

/* 見出しは「:: → 英語（大）→ 日本語（小）」の3段構成で全セクション統一 */
.section-title-wrap {
  text-align: center;
  margin-bottom: 52px;
}

.section-mark {
  display: block;
  color: var(--primary-light);
  font-size: 0.85rem;
  letter-spacing: 4px;
  margin-bottom: 12px;
  line-height: 1;
}

.section-subtitle {
  font-family: var(--font-en);
  color: var(--primary-color);
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
  line-height: 1.2;
}

.section-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-sub);
  display: inline-block;
}

@media (max-width: 768px) {
  .section-title-wrap {
    margin-bottom: 40px;
  }
  .section-subtitle {
    font-size: 1.6rem;
  }
  .section-title {
    font-size: 0.85rem;
  }
}

/* Floating Fade-In Animation
   transitionではなくanimationで実装している。カード類は自前のhover用
   transitionを持っており、transitionだと出現アニメーションが上書きされて
   しまうため（例: .feature-card の transition: all 0.3s） */
.fade-in-up {
  opacity: 0;
}

.fade-in-up.is-visible {
  opacity: 1;
  animation: fadeInUp 1.25s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* animationショートハンドがdelayを0に戻すため、.is-visibleより強い指定にする */
.fade-in-up.is-visible.delay-1 {
  animation-delay: 0.2s;
}
.fade-in-up.is-visible.delay-2 {
  animation-delay: 0.4s;
}
.fade-in-up.is-visible.delay-3 {
  animation-delay: 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up.is-visible {
    animation: none;
  }
}

/* ==========================================================================
 5. HEADER & NAVIGATION
 ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  transition: padding 0.4s ease;
  background-color: transparent;
}

.header.scrolled {
  background-color: transparent;
  padding: 8px 0;
  box-shadow: none;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 30px;
  padding-right: 30px;
}

@media (max-width: 530px) {
  .header-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-svg {
  height: 48px;
  width: auto;
  transition: transform 0.3s ease, opacity 0.35s ease;
}

.logo-container:hover .logo-svg {
  transform: scale(1.03);
}

/* スクロール開始と同時に少しだけ透過させ、背後のコンテンツを見せる */
.header.scrolled .logo-svg,
.header.scrolled .hamburger-btn {
  opacity: 0.55;
}

.header.scrolled .logo-container:hover .logo-svg,
.header.scrolled .hamburger-btn:hover {
  opacity: 1;
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid #d0ccd0;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  z-index: 1001;
  color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, background-color 0.2s ease,
    opacity 0.35s ease;
  width: 60px;
}

.hamburger-btn:hover {
  background-color: var(--primary-soft);
  transform: scale(1.03);
}

.hamburger-text {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
  color: var(--primary-color);
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  background-color: #fff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
  padding: 100px 30px 40px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.nav-menu.active {
  right: 0;
}

.nav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.nav-link {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

.nav-link:hover::after {
  width: 100%;
}

/* ==========================================================================
 6. HERO SECTION
 ========================================================================== */
/* 固定ヘッダーの分だけアンカー位置を下げる */
#price {
  scroll-margin-top: 92px;
}

.hero-wrapper {
  position: relative;
  margin-bottom: -20px;
  z-index: 1;
}

/* 配布ビジュアルに合わせ、写真は背面いっぱい・文字は左側に置く */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #e9e9ea 0%, #e7e7e9 100%);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* 人物写真は、ローディングが明けてから文字よりゆっくり浮かび上がらせる */
#main-content.visible .hero-photo {
  animation: heroPhotoRise 2.4s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes heroPhotoRise {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #main-content.visible .hero-photo {
    animation: none;
  }
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 22%;
  display: block;
}

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

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 47vw, 720px);
  padding-top: 118px;
  padding-bottom: 56px;
}

.hero-content {
  max-width: 56%;
  text-align: left;
}

/* 見出し・価格は、ぼかしを晴らしながらじんわり立ち上がる */
.hero-title-main.fade-in-up.is-visible {
  animation: heroRise 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s backwards;
}

.hero-title-sub.fade-in-up.is-visible.delay-1 {
  animation: heroRise 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.65s backwards;
}

/* 価格ピルと「↓click」をまとめて置くための箱 */
.hero-price-wrap {
  position: relative;
  display: inline-block;
}

/* ボタンの真上・中央に置き、上から下へ流れてクリックを誘導する */
.hero-price-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 10px);
  text-align: center;
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1c1c1c;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  text-shadow: 0 0 4px #fff, 0 0 8px #fff;
}

/* 最初は何も無い状態。ボタンの鼓動と同じ拍（0.9秒×3回）で上から下へ流れ、
   下まで来たら消えて上へ戻る。3回終わったらその場に残る */
#main-content.visible .hero-price-note {
  /* ローディングが明けた時点（読み込みから1.2秒）を起点にした値。
     実時間ではボタンと同じ3.0秒に動き出し、4.8秒で止まる */
  animation: heroPriceNoteFall 0.9s ease-in 1.8s 2,
    heroPriceNoteStay 0.45s ease-out 3.6s forwards;
}

/* 1回ぶんの動き。上端で現れ、下へ降りながら消える。
   両端とも不透明度0なので、上へ戻る瞬間は見えない */
@keyframes heroPriceNoteFall {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(6px);
  }
}

/* 3回流れたあと、定位置に現れてそのまま残る */
@keyframes heroPriceNoteStay {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #main-content.visible .hero-price-note {
    opacity: 1;
    animation: none;
  }
}

/* 浮かび上がったあと、明度を上げて戻す鼓動を3回。タップを促す */
.hero-price-link.fade-in-up.is-visible.delay-2 {
  animation: heroRiseTitle 1.7s cubic-bezier(0.22, 1, 0.36, 1) 1.15s backwards,
    heroPriceBeat 0.9s ease-in-out 3s 3;
}

@keyframes heroPriceBeat {
  0% {
    filter: brightness(1);
  }
  38% {
    filter: brightness(1.3);
  }
  72% {
    filter: brightness(0.96);
  }
  100% {
    filter: brightness(1);
  }
}

/* 触ろうとしている間は点滅を止める */
.hero-price-link:hover,
.hero-price-link:focus-visible {
  animation-play-state: paused;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroRiseTitle {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-main.fade-in-up.is-visible,
  .hero-title-sub.fade-in-up.is-visible.delay-1,
  .hero-price-link.fade-in-up.is-visible.delay-2 {
    animation: none;
  }
}

.hero-title {
  margin-bottom: 42px;
  line-height: 1.34;
  letter-spacing: 0.005em;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

/* 1行目：ピンク＋白フチ（text-shadowで縁取り、環境差が出ない書き方） */
.hero-title-main {
  display: block;
  font-size: clamp(1.5rem, 3.9vw, 2.85rem);
  font-weight: 900;
  white-space: nowrap;
  color: #e95d8e;
  text-shadow: -0.055em -0.055em 0 #fff, 0 -0.055em 0 #fff,
    0.055em -0.055em 0 #fff, -0.055em 0 0 #fff, 0.055em 0 0 #fff,
    -0.055em 0.055em 0 #fff, 0 0.055em 0 #fff, 0.055em 0.055em 0 #fff,
    0 0.09em 0.16em rgba(0, 0, 0, 0.07);
}

/* 2行目：濃いグレー */
.hero-title-sub {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.15rem, 2.9vw, 2.3rem);
  font-weight: 900;
  white-space: nowrap;
  color: #4b4b4b;
  text-shadow: -0.04em -0.04em 0 #fff, 0 -0.04em 0 #fff, 0.04em -0.04em 0 #fff,
    -0.04em 0 0 #fff, 0.04em 0 0 #fff, -0.04em 0.04em 0 #fff, 0 0.04em 0 #fff,
    0.04em 0.04em 0 #fff;
}

/* 価格ピル：クリックで料金表へ移動する */
.hero-price-link {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 11px 30px;
  border-radius: 999px;
  /* 予約ボタンと同じ配色・白フチ */
  background: var(--gradient-floating);
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-floating);
  animation: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-price-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(196, 49, 100, 0.55);
}

.hero-price-lead {
  font-size: clamp(0.95rem, 1.35vw, 1.2rem);
  font-weight: 700;
}

.hero-price-yen {
  font-size: clamp(1.35rem, 2.15vw, 1.85rem);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.hero-price-wave {
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  font-weight: 900;
}

.hero-price-tax {
  font-size: clamp(0.78rem, 1.05vw, 0.95rem);
  font-weight: 700;
}

/* スマホ・タブレットは配布ビジュアルの縦版に合わせ、文字の下に写真を置く */
@media (max-width: 900px) {
  .hero {
    background: linear-gradient(180deg, #eceaec 0%, #e7e7e9 100%);
  }

  .hero-photo {
    position: static;
    inset: auto;
  }

  .hero-photo .hero-photo-pc {
    display: none;
  }

  .hero-photo .hero-photo-sp {
    display: block;
    width: 100%;
    height: auto;
  }

  .hero-inner {
    display: block;
    min-height: 0;
    padding-top: 104px;
    padding-bottom: 26px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-title {
    margin-bottom: 38px;
  }

  .hero-title-main {
    font-size: min(2.1rem, 6.9vw);
  }

  .hero-title-sub {
    font-size: min(1.55rem, 5.3vw);
  }

  .hero-price-link {
    padding: 9px 24px;
    gap: 6px;
  }

  /* 指で触る画面では、タップ後にホバー状態が残って浮いたままになるので無効にする */
  .hero-price-link:hover {
    transform: none;
    box-shadow: var(--shadow-floating);
  }

  .hero-price-note {
    font-size: 0.76rem;
  }

  .hero-price-lead {
    font-size: min(1rem, 3.6vw);
  }

  .hero-price-yen {
    font-size: min(1.5rem, 5.4vw);
  }

  .hero-price-wave {
    font-size: min(1.15rem, 4.2vw);
  }

  .hero-price-tax {
    font-size: min(0.85rem, 3.1vw);
  }
}

@media (max-width: 400px) {
  .hero-inner {
    padding-top: 96px;
  }
}


/* ==========================================================================
 6. FEATURE SECTION
 ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--bg-pink-light);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #eae4e7;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  background: #fff;
  border-color: var(--primary-light);
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--primary-color);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
}

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

@media (max-width: 530px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    padding: 20px 14px;
  }
}

/* ==========================================================================
 7. THR HAIR REMOVAL SYSTEM SECTION
 ========================================================================== */
.thr-intro {
  max-width: 800px;
  margin: 0 auto 35px;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.8;
}

.thr-comparison-box {
  background: var(--bg-pink-light);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-bottom: 40px;
}

.thr-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.comp-col {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: #fff;
}

.comp-col.legacy {
  border: 1px solid #e9ecef;
}

.comp-col.thr {
  border: 2px solid var(--primary-light);
  background: #faf3f6;
}

.comp-head {
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid currentColor;
}

.comp-col.legacy .comp-head {
  color: #6c757d;
}
.comp-col.thr .comp-head {
  color: var(--primary-color);
}

.comp-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
}

.thr-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-card {
  background: var(--bg-pink-light);
  padding: 26px 18px;
  border-radius: var(--radius-md);
  text-align: center;
}

.benefit-badge {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

@media (max-width: 858px) {
  .thr-comparison-grid,
  .thr-benefits-grid {
    grid-template-columns: 1fr;
  }
  .thr-comparison-box {
    padding: 16px;
  }
}

/* ==========================================================================
 8. PRICE & SYSTEM SECTION
 ========================================================================== */
.price-tables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 45px;
}

.price-card-box {
  border: 2px solid #e0d6dc;
  border-radius: var(--radius-md);
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.price-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px dashed #e0d6dc;
}

.price-item-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #efecee;
  gap: 8px;
  width: 100%;
}

.price-time {
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.price-num {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary-color);
  font-family: var(--font-en);
  white-space: nowrap;
  text-align: right;
}

.price-num span {
  font-size: 0.8rem;
  font-family: var(--font-main);
  margin-left: 2px;
}

@media (max-width: 900px) {
  .price-tables-grid {
    grid-template-columns: 1fr;
  }
  .price-card-box {
    padding: 20px 16px;
  }
  .price-item {
    padding-left: 80px;
    padding-right: 80px;
  }
}

@media (max-width: 530px) {
  .price-card-box {
    padding: 16px 6px;
  }
  .price-item {
    padding-left: 40px;
    padding-right: 40px;
    gap: 4px;
  }
  .price-time {
    font-size: 0.85rem;
  }
  .price-num {
    font-size: 1.15rem;
  }
  .price-num span {
    font-size: 0.68rem;
  }
}

.step-container {
  margin-top: 50px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  background: var(--bg-pink-light);
  border-radius: var(--radius-sm);
  padding: 22px 14px;
  text-align: center;
}

.step-number {
  font-family: var(--font-en);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  display: block;
}

.step-icon {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--primary-color);
}

.step-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--text-sub);
}

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

@media (max-width: 530px) {
  .step-grid {
    grid-template-columns: 1fr;
  }
  .step-card {
    padding: 16px 10px;
  }
}

/* ==========================================================================
 9. RECOMMEND SECTION
 ========================================================================== */
.recommend-box {
  background: var(--bg-pink-light);
  border-radius: var(--radius-md);
  padding: 35px;
  max-width: 800px;
  margin: 0 auto;
}

.recommend-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recommend-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  font-weight: 500;
  word-break: break-all;
}

.recommend-check {
  width: 26px;
  height: 26px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

@media (max-width: 530px) {
  .recommend-box {
    padding: 20px 14px;
  }
  .recommend-item {
    font-size: 0.95rem;
    gap: 10px;
  }
}

/* ==========================================================================
 10. CTA BANNER SECTION
 ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, #7a6973 0%, #3a3238 100%);
  color: #fff;
  text-align: center;
  padding: 65px 0;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
}

.cta-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
  word-break: break-all;
}

.cta-sub {
  font-size: 1.05rem;
  opacity: 0.95;
}

@media (max-width: 530px) {
  .cta-section {
    padding: 40px 14px;
    border-radius: 20px;
  }
  .cta-title {
    font-size: 1.5rem;
  }
  .cta-sub {
    font-size: 0.9rem;
  }
}

/* ==========================================================================
 12. RESPONSIVE FLOATING CTA
 ========================================================================== */
.fixed-bottom-cta {
  position: fixed;
  z-index: 990;
  transition: bottom 0.2s ease, right 0.3s ease, left 0.3s ease,
    width 0.3s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.fixed-bottom-cta.pc-floating {
  bottom: 30px;
  right: 30px;
  width: 300px;
}

.fixed-bottom-cta.pc-floating .floating-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--gradient-floating);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(196, 49, 100, 0.4);
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: visible;
  animation: floatPulsePC 3s infinite ease-in-out;
  /* ヒーローの価格ボタンと同じ、なめらかに浮き上がる動き */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* マウスが使える広い画面でだけ、ふわふわの影アニメを止めて浮き上がらせる。
   ここを無条件にすると、スマホでタップした時に影のアニメが止まって
   影が薄くなってしまう */
@media (hover: hover) and (min-width: 871px) {
  .fixed-bottom-cta.pc-floating .floating-cta-btn:hover {
    animation: none;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(196, 49, 100, 0.55);
  }
}

.fixed-bottom-cta.pc-floating .floating-badge {
  background: var(--accent-color);
  color: #4a3b43;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 12px;
  border: 1.5px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.fixed-bottom-cta.bottom-full {
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 480px;
}

.fixed-bottom-cta.bottom-full .floating-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gradient-floating);
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 16px;
  border-radius: 50px;
  box-shadow: var(--shadow-floating);
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: visible;
  animation: floatPulseSP 3s infinite ease-in-out;
}

.fixed-bottom-cta.bottom-full .floating-cta-btn:active {
  transform: scale(0.98);
}

.fixed-bottom-cta.bottom-full .floating-badge {
  background: var(--accent-color);
  color: #4a3b43;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1.5px solid #fff;
  position: absolute;
  top: -10px;
  left: 18px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.cta-text-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 530px) {
  .fixed-bottom-cta.bottom-full .floating-cta-btn {
    font-size: 0.9rem;
    padding: 12px 14px;
  }
}

@keyframes floatPulsePC {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(196, 49, 100, 0.4);
  }
  50% {
    box-shadow: 0 16px 40px rgba(196, 49, 100, 0.65);
  }
}

@keyframes floatPulseSP {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(196, 49, 100, 0.4);
  }
  50% {
    box-shadow: 0 12px 35px rgba(196, 49, 100, 0.65);
  }
}

/* ==========================================================================
 13. FOOTER
 ========================================================================== */
.footer {
  background: #3a2f35;
  color: #fff;
  padding: 45px 0 calc(35px + env(safe-area-inset-bottom, 0px));
  font-size: 0.88rem;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 35px;
  flex-wrap: wrap;
  gap: 25px;
}

.footer-logo-wrap {
  margin-bottom: 12px;
}

.footer-logo-svg {
  height: 42px;
  width: auto;
}

.footer-desc {
  color: #aaa;
  max-width: 320px;
  font-size: 0.82rem;
}

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

.footer-links a {
  color: #ddd;
  transition: color 0.3s ease;
}

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

.copyright {
  text-align: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #888;
  font-size: 0.78rem;
}

/* ==========================================================================
 14. 870px以下：予約ボタンを横長にしてコピーライトの下に収める
 ========================================================================== */
@media (max-width: 870px) {
  .fixed-bottom-cta.pc-floating {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .fixed-bottom-cta.pc-floating .floating-cta-btn {
    flex-direction: row;
    gap: 10px;
    font-size: 0.98rem;
    padding: 14px 16px;
    border-radius: 50px;
    box-shadow: var(--shadow-floating);
    animation: floatPulseSP 3s infinite ease-in-out;
  }

  .fixed-bottom-cta.pc-floating .floating-cta-btn:hover {
    transform: none;
    box-shadow: var(--shadow-floating);
  }

  .fixed-bottom-cta.pc-floating .floating-cta-btn:active {
    transform: scale(0.98);
  }

  .fixed-bottom-cta.pc-floating .floating-badge {
    position: absolute;
    top: -10px;
    left: 18px;
    font-size: 0.68rem;
    padding: 2px 8px;
  }

  /* コピーライトの下に横長ボタンが収まるぶんの余白を確保 */
  .footer {
    padding-bottom: calc(81px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 530px) {
  .fixed-bottom-cta.pc-floating .floating-cta-btn {
    font-size: 0.9rem;
    padding: 12px 14px;
  }

  .footer {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==========================================================================
 15. 参考サイト準拠の構成（MESSAGE / 番号付きFEATURE / STRONG POINT / PRICE）
 ========================================================================== */

/* --- MESSAGE：導入文とマーカー強調フレーズ --- */
.message-body {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 26px;
  font-size: 1rem;
  line-height: 2.1;
  color: var(--text-sub);
  font-weight: 500;
}

/* 冒頭の2つの「つぶやき」は、画面幅にかかわらず必ず1つずつ改行し、
   1行分あけて中央に置く */
.message-quote {
  display: block;
  text-align: center;
  /* 行間ちょうど1行分あける */
  margin-bottom: 2em;
}

.message-quote + .message-quote {
  margin-bottom: 2.3em;
}

.message-marks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 720px;
  margin: 44px auto 0;
}

.mark-line {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.08em;
  padding: 2px 14px;
  background: linear-gradient(
    transparent 58%,
    rgba(255, 128, 172, 0.45) 58%
  );
}

@media (max-width: 768px) {
  .message-body {
    font-size: 0.92rem;
    line-height: 2;
    gap: 22px;
  }
  .message-marks {
    margin-top: 34px;
  }
  .mark-line {
    font-size: 1.05rem;
  }
}

/* --- FEATURE：01〜06の番号付きカード --- */
.feature-card {
  padding-top: 34px;
}

.feature-number {
  display: block;
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-light);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.feature-icon-box {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
}

.feature-title {
  display: inline-block;
  letter-spacing: 0.06em;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--primary-light);
  margin-bottom: 12px;
}

/* --- RECOMMEND：2列＋キーワードのマーカー強調 --- */
.recommend-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 34px;
  max-width: 880px;
  margin: 0 auto;
}

.recommend-item {
  align-items: flex-start;
  word-break: normal;
  overflow-wrap: anywhere;
  line-height: 1.9;
}

.recommend-check {
  margin-top: 4px;
}

.recommend-item em {
  font-style: normal;
  font-weight: 700;
  color: var(--text-main);
  padding: 1px 4px;
  background: linear-gradient(
    transparent 60%,
    rgba(255, 128, 172, 0.45) 60%
  );
}

@media (max-width: 768px) {
  .recommend-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* --- STRONG POINT：写真とテキストのジグザグ --- */
.point-section {
  background: var(--bg-pink-light);
}

.point-list {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.point-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

/* 画像を右に送る行は列比も入れ替え、写真の幅を左右で揃える */
.point-row.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.point-row.reverse .point-image {
  order: 2;
}

.point-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
  background: #fff;
}

/* 4枚とも同じ大きさ・同じ比率で並べる。
   写真ごとの見せたい部分は object-position で寄せる */
.point-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 01 店内：4:3そのままなので切れずに全体が映る */
.point-image--room img {
  object-position: 50% 50%;
}

/* 02 ペア：左右が切れるため、二人の顔が中央にくるよう寄せる */
.point-image--pair img {
  object-position: 52% 40%;
}

/* 03 入口ドア：テンキーとドアノブが中央にくるよう寄せる */
.point-image--lock img {
  object-position: 80% 50%;
}

/* 04 スマホ予約：顔とスマートフォンの両方が収まるよう寄せる */
.point-image--phone img {
  object-position: 39% 50%;
}

.point-num {
  display: block;
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-light);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.point-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  line-height: 1.6;
}

.point-text p {
  font-size: 0.95rem;
  line-height: 2.05;
  color: var(--text-sub);
  max-width: 30em;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .point-list {
    gap: 52px;
  }
  .point-row,
  .point-row.reverse {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .point-row.reverse .point-image {
    order: 0;
  }
  /* 幅が狭い時も4枚の比率は同じ。寄せ位置だけ写真ごとに保つ */
  .point-image--pair img {
    object-position: 52% 42%;
  }
  .point-num {
    font-size: 2rem;
  }
  .point-title {
    font-size: 1.2rem;
  }
  .point-text p {
    max-width: none;
  }
}

/* --- THR：インラインstyleから移した見出しと本文 --- */
.thr-comparison-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.benefit-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-top: 6px;
  line-height: 1.9;
}

/* --- PRICE：リード文・初回料金・プランカード --- */
.price-lead {
  text-align: center;
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-sub);
  margin-bottom: 34px;
}

.price-first {
  max-width: 720px;
  margin: 0 auto 40px;
  background: var(--gradient-btn);
  border-radius: var(--radius-md);
  padding: 28px 30px 24px;
  color: #fff;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.price-first-badge {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  background: var(--accent-color);
  color: #4a3b43;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.price-first-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-first-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  text-align: left;
}

.price-first-row:first-child {
  border-top: none;
}

.price-first-label {
  font-size: 1rem;
  font-weight: 700;
}

.price-first-num {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.price-first-num span {
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  margin-left: 2px;
}

.price-first-note {
  font-size: 0.8rem;
  margin-top: 16px;
  opacity: 0.92;
}

.price-card-lead {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 18px;
}

.price-card-box {
  position: relative;
}

.price-card-box--sub {
  background: var(--bg-pink-light);
}

.price-card-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: #4a3b43;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 16px;
  border-radius: 12px;
  border: 1.5px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}

.step-heading {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .price-first {
    padding: 24px 20px 20px;
  }
  .price-first-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .price-first-num {
    font-size: 1.7rem;
  }
  .step-heading {
    font-size: 1.15rem;
  }
}

/* --- FOOTER：英語＋日本語の2段リンク --- */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 32px;
}

.footer-links a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.4;
}

.footer-link-en {
  font-family: var(--font-en);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-link-ja {
  font-size: 0.72rem;
  color: #9a9298;
}

@media (max-width: 768px) {
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
  }
}

/* ==========================================================================
 16. 871px以上：予約ボタンを小さくし、フッターと重ならないよう下に余白を確保
 ========================================================================== */
@media (min-width: 871px) {
  .fixed-bottom-cta.pc-floating {
    right: 22px;
    bottom: 22px;
    width: 232px;
  }

  .fixed-bottom-cta.pc-floating .floating-cta-btn {
    gap: 4px;
    font-size: 0.92rem;
    padding: 13px 16px;
  }

  .fixed-bottom-cta.pc-floating .floating-badge {
    font-size: 0.68rem;
    padding: 2px 10px;
  }

  .fixed-bottom-cta.pc-floating .cta-text-wrap svg {
    width: 17px;
    height: 17px;
  }

  /* ボタンの高さ＋余白ぶんフッター下部を空け、リンクとコピーライトを逃がす */
  .footer {
    padding-bottom: calc(116px + env(safe-area-inset-bottom, 0px));
  }
}

/* 料金の適用条件・税表示の注記 */
.price-terms {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.74rem;
  opacity: 0.85;
  line-height: 1.7;
}

/* ==========================================================================
 17. ご利用方法（トップのバナー ＋ guide.html）
 ========================================================================== */

/* --- トップページのバナー（旧CTAセクションの位置） --- */
.guide-section {
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.guide-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 52px 32px 46px;
  border-radius: var(--radius-lg);
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 18px 40px rgba(196, 49, 100, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(196, 49, 100, 0.36);
}

.guide-mark {
  font-size: 0.85rem;
  letter-spacing: 4px;
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.85;
}

.guide-en {
  font-family: var(--font-en);
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 10px;
}

.guide-heading {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.6;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

.guide-lead {
  font-size: 0.95rem;
  line-height: 2;
  max-width: 30em;
  margin-bottom: 26px;
  opacity: 0.95;
}

.guide-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 30px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.guide-chevron {
  transition: transform 0.3s ease;
}

.guide-banner:hover .guide-chevron {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .guide-banner {
    padding: 40px 20px 36px;
    border-radius: 20px;
  }
  .guide-en {
    font-size: 1.6rem;
  }
  .guide-heading {
    font-size: 1.2rem;
  }
  .guide-lead {
    font-size: 0.88rem;
    line-height: 1.95;
  }
  .guide-action {
    font-size: 0.92rem;
    padding: 12px 24px;
  }
}

/* --- ご利用方法ページ --- */
/* ヘッダーはトップページと同じ挙動。背景を敷かず下地のグレーを見せ、
   スクロール開始で少しだけ透過させる */
.guide-page .header.scrolled .guide-back-link {
  opacity: 0.55;
}

.guide-page .header.scrolled .guide-back-link:hover {
  opacity: 1;
}

.guide-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
  border: 1.5px solid #e0d6dc;
  background: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  transition: background-color 0.2s ease, opacity 0.35s ease;
}

.guide-back-link:hover {
  background: var(--primary-soft);
}

/* 白いパネルを敷かず、下地のグレーで統一する */
.guide-main {
  background: none;
  margin: 96px auto 30px;
  max-width: 1120px;
  padding: 70px 0 80px;
}

.guide-page-head {
  margin-bottom: 28px;
}

.guide-intro {
  text-align: center;
  font-size: 0.98rem;
  line-height: 2.05;
  color: var(--text-sub);
  margin-bottom: 44px;
}

.guide-figure {
  max-width: 760px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border: 6px solid #fff;
}

.guide-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.guide-video {
  margin-top: 80px;
  text-align: center;
}

.guide-video-lead {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-sub);
  margin-bottom: 26px;
}

.guide-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-floating);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 16px 34px;
  border-radius: 50px;
  box-shadow: var(--shadow-floating);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-video-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(196, 49, 100, 0.45);
}

.guide-video-note {
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-top: 14px;
}

.guide-foot-action {
  text-align: center;
  margin-top: 70px;
}

.guide-foot-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-color);
  border-bottom: 1.5px solid var(--primary-light);
  padding-bottom: 3px;
}

@media (max-width: 858px) {
  .guide-main {
    padding: 44px 0 54px;
    margin: 88px auto 20px;
  }
  .guide-intro {
    font-size: 0.9rem;
    margin-bottom: 32px;
  }
  .guide-figure {
    border-width: 4px;
    border-radius: 14px;
  }
  .guide-video {
    margin-top: 56px;
  }
  .guide-video-btn {
    font-size: 0.92rem;
    padding: 14px 26px;
  }
  .guide-foot-action {
    margin-top: 48px;
  }
}


/* このページの見出し（HOW TO USE / MOVIE）は太めにし、
   どの幅でも1行に収める */
.guide-page-head .section-subtitle,
.guide-video .section-subtitle {
  font-weight: 700;
  white-space: nowrap;
}

.guide-page-head .section-title,
.guide-video .section-title {
  white-space: nowrap;
}

@media (max-width: 768px) {
  /* 端末が狭い場合は、はみ出す直前でサイズ側を縮めて改行を防ぐ */
  .guide-page-head .section-subtitle,
  .guide-video .section-subtitle {
    font-size: min(1.6rem, calc(14.3vw - 4.6px));
  }
  .guide-page-head .section-title,
  .guide-video .section-title {
    font-size: min(0.85rem, calc(5.4vw - 1.5px));
  }
}

/* 「トップへ戻る」はロゴと並ぶため、狭い幅でも折り返さないようにする */
.guide-back-link {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 420px) {
  .guide-back-link {
    font-size: 0.78rem;
    padding: 7px 12px;
    gap: 4px;
  }
  .guide-page .logo-svg {
    height: 40px;
  }
}

/* ページ見出し「HOW TO USE」は、トップのヒーローと同じ
   ぼかしを晴らしながらのじんわりした立ち上がりにする
   （MOVIE見出しは標準のまま） */
.guide-page-head.fade-in-up.is-visible {
  animation: heroRise 2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s backwards;
}

/* 見出しがほぼ定まってから導入文が続くよう、開始を後ろにずらす */
.guide-intro.fade-in-up.is-visible.delay-1 {
  animation-delay: 0.95s;
}

/* --- THR「04. 施術例」：写真が主役なので横幅いっぱいに置く --- */
.benefit-card--case {
  grid-column: 1 / -1;
  padding: 28px 24px 24px;
}

/* 施術例：写真と説明文を横並びにし、狭い画面では説明文を下へ回す */
.case-list {
  display: flex;
  flex-direction: column;
  gap: 34px;
  margin-top: 24px;
}

.case-row {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(215px, 1fr);
  align-items: center;
  gap: 26px;
}

/* Before / After はそれぞれ独立した写真として並べる */
.case-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.case-shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 6枚とも5:4に切り揃えてあるが、表示側でも比率を固定して確実に揃える */
.case-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
}

.case-shot:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.case-shot:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}


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

/* 説明文は画像ではなく文字なので、画面が狭くても縮みすぎない */
.case-plan {
  /* 背景は敷かず、カードのグレーをそのまま見せる */
  background: transparent;
  padding: 18px 14px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.9;
  color: var(--text-main);
}

/* 列幅に余裕が出る幅ではもう一段大きく */
@media (min-width: 1100px) {
  .case-plan {
    font-size: 1.25rem;
  }
}

@media (max-width: 900px) {
  .case-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .case-list {
    gap: 40px;
  }
  .case-plan {
    font-size: 0.92rem;
    padding: 16px 12px;
  }
}

@media (max-width: 768px) {
  .benefit-card--case {
    padding: 22px 14px 18px;
  }
  .case-photos {
    gap: 8px;
  }
}

/* --- 写真の拡大表示 --- */
.zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(38, 30, 35, 0.9);
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* hidden属性より .zoom-overlay の display:flex が優先されてしまい、
   閉じている間も透明な膜が画面全体を覆ってクリックを奪っていた */
.zoom-overlay[hidden] {
  display: none;
}

.zoom-overlay.is-open {
  opacity: 1;
}

.zoom-inner {
  max-width: min(1000px, 100%);
  max-height: 100%;
  text-align: center;
}

.zoom-inner img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 130px);
  width: auto;
  margin: 0 auto;
  border-radius: 10px;
  background: var(--bg-pink-light);
}

.zoom-inner figcaption {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 16px;
}

.zoom-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.zoom-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.zoom-close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .zoom-overlay {
    transition: none;
  }
  .case-shot {
    transition: none;
  }
}

/* 料金表の各コースに添える一言 */
.price-desc {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 3px;
  white-space: normal;
  color: var(--text-sub);
}

.price-time,
.price-first-label {
  white-space: normal;
}

/* ヒーローの初回料金カード側で説明文を表示する */
.hero-price-label {
  white-space: normal;
}

/* ピンク地の初回料金カードは説明文を白抜きにする */
.price-first-label {
  white-space: normal;
}

.price-first-label .price-desc {
  color: #fff;
  opacity: 0.92;
}

.price-first-row {
  align-items: flex-start;
}

.hero-price-row {
  align-items: flex-start;
}

.price-item {
  align-items: flex-start;
}

.price-num,
.price-first-num,
.hero-price-num {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .price-desc {
    font-size: 0.72rem;
  }
}

/* 狭い画面ではヒーローの初回料金を「コース名→料金」の縦積みにする。
   横並びのままだと名前と説明が2行に折れて窮屈になるため */
@media (max-width: 530px) {
  .hero-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .hero-price-num {
    align-self: flex-end;
  }

  .hero-price-label .price-desc {
    margin-top: 4px;
  }
}

/* ==========================================================================
 18. 通い方の目安（guide.html／配布資料のデザインを再現）
 ========================================================================== */
.pace-guide {
  margin-top: 80px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.pace-head {
  text-align: center;
  margin-bottom: 22px;
}

.pace-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--primary-color);
}

.pace-sub {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-sub);
  margin-top: 6px;
}

/* 見出し帯 */
.pace-band {
  background: #fce6ee;
  color: var(--primary-color);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 12px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* 白い行 */
.pace-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pace-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.pace-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fdeef4;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pace-icon svg {
  width: 26px;
  height: 26px;
}

.pace-row-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.4;
}

.pace-row-desc {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-main);
  margin-top: 3px;
}

/* 点線の見出し */
.pace-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 34px 0 18px;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
}

.pace-divider::before,
.pace-divider::after {
  content: "";
  flex: 1;
  border-top: 2px dotted var(--primary-light);
}

/* 部位ごとのカード */
.pace-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pace-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px 14px 16px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.pace-face {
  display: block;
  color: var(--primary-light);
  margin-bottom: 6px;
}

.pace-face svg {
  width: 112px;
  height: 100px;
  margin: 0 auto;
}

.pace-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.pace-spec {
  font-size: 0.84rem;
}

.pace-spec > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 2px;
  border-bottom: 1px dotted #ebbccc;
}

.pace-spec > div:last-child {
  border-bottom: none;
}

.pace-spec dt {
  font-weight: 700;
  color: var(--text-sub);
  white-space: nowrap;
}

.pace-spec dd {
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.pace-card-note {
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--text-sub);
  margin-top: 8px;
}

/* 注意書き */
.pace-warn {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fdf6e0;
  border-radius: 16px;
  padding: 18px 20px;
  margin-top: 26px;
}

.pace-warn + .pace-warn {
  margin-top: 14px;
}

.pace-warn-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: #e0a900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pace-warn-icon svg {
  width: 24px;
  height: 24px;
}

.pace-warn-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.45;
}

.pace-warn-text p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-top: 4px;
}

.pace-warn-text p .pace-br-pc {
  display: inline;
}

.pace-closing {
  text-align: center;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--primary-color);
  margin-top: 30px;
}

@media (max-width: 768px) {
  .pace-guide {
    margin-top: 56px;
  }
  .pace-title {
    font-size: 1.5rem;
  }
  .pace-sub {
    font-size: 0.88rem;
  }
  .pace-band {
    font-size: 1rem;
    padding: 11px 14px;
  }
  .pace-row {
    align-items: flex-start;
    gap: 12px;
    padding: 14px 15px;
  }
  .pace-icon {
    width: 44px;
    height: 44px;
  }
  .pace-icon svg {
    width: 22px;
    height: 22px;
  }
  .pace-row-title {
    font-size: 1rem;
  }
  .pace-row-desc {
    font-size: 0.85rem;
  }
  .pace-divider {
    font-size: 1.05rem;
    gap: 10px;
  }
  .pace-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pace-face svg {
    width: 124px;
    height: 110px;
  }
  .pace-warn-text p .pace-br-pc {
    display: none;
  }
  .pace-warn {
    gap: 10px;
    padding: 16px 15px;
  }
  .pace-warn-icon {
    width: 38px;
    height: 38px;
  }
  .pace-warn-icon svg {
    width: 20px;
    height: 20px;
  }
  .pace-warn-text h4 {
    font-size: 0.96rem;
  }
  .pace-warn-text p {
    font-size: 0.82rem;
  }
  .pace-closing {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
 19. 店舗・所在地（ACCESS）
 ========================================================================== */
.access-section {
  background: var(--bg-pink-light);
  scroll-margin-top: 92px;
}

/* 店舗が増えたら .access-store を並べるだけで2列になる */
.access-list {
  display: grid;
  gap: 26px;
}

.access-store {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.15fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.access-store-body {
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.access-store-head {
  margin-bottom: 18px;
}

.access-store-badge {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary-color);
  background: rgba(233, 93, 142, 0.09);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 12px;
}

.access-store-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: 0.01em;
}

.access-info {
  border-top: 1px dashed #e7dfe4;
  padding-top: 16px;
}

.access-info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.access-info-row dt {
  flex-shrink: 0;
  width: 3.5em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
  padding-top: 2px;
}

.access-info-row dd .nowrap {
  white-space: nowrap;
}

.access-info-row dd {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--text-main);
  font-weight: 500;
}

.access-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  align-self: flex-start;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(233, 93, 142, 0.35);
  color: var(--primary-color);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.access-map-link svg {
  width: 15px;
  height: 15px;
}

.access-map-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}

.access-map {
  position: relative;
  min-height: 320px;
  background: #ecebee;
}

.access-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (min-width: 1024px) {
  /* 2店舗目以降が入ったら自動で2列に並ぶ */
  .access-list:has(.access-store:nth-child(2)) {
    grid-template-columns: repeat(2, 1fr);
  }

  .access-list:has(.access-store:nth-child(2)) .access-store {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .access-store {
    grid-template-columns: 1fr;
  }

  .access-store-body {
    padding: 28px 22px 24px;
  }

  .access-store-name {
    font-size: 1.2rem;
  }

  .access-map {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .access-info-row {
    flex-direction: column;
    gap: 4px;
  }

  .access-info-row dt {
    width: auto;
  }

  .access-map {
    aspect-ratio: 1 / 1;
  }
}

/* 料金表の下に置く注意書き（通い方の目安と同じ体裁） */
.price-warn {
  margin-top: 34px;
}

/* とくに強く伝えたい注意書き（体裁は同じまま、赤系で強調する） */
.pace-warn--strong {
  background: #fdeceb;
  border: 2px solid #f0b3ae;
}

.pace-warn--strong .pace-warn-icon {
  color: #d13b30;
}

.pace-warn--strong .pace-warn-text h4 {
  color: #c62f24;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
}

.pace-warn--strong .pace-warn-text h4 em {
  font-style: normal;
  font-weight: 900;
  color: #fff;
  background: #d13b30;
  border-radius: 5px;
  padding: 1px 8px;
  margin: 0 2px;
}

.pace-warn--strong .pace-warn-text p {
  font-weight: 700;
}

@media (max-width: 768px) {
  /* 「トイレの貸し出しはございません。」が2段に折れないよう、
     幅に応じて文字を詰める */
  .pace-warn--strong .pace-warn-text h4 {
    font-size: min(1.05rem, 4.05vw);
    white-space: nowrap;
  }

  .pace-warn--strong .pace-warn-text h4 em {
    padding: 1px 4px;
    margin: 0 1px;
  }
}

@media (max-width: 350px) {
  .pace-warn--strong .pace-warn-text h4 {
    font-size: 3.7vw;
  }
}

/* 画面が広いときは見出しと本文を横に並べて1行に収める */
@media (min-width: 769px) {
  .pace-warn--oneline .pace-warn-text {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 0.5em;
  }

  .pace-warn--oneline .pace-warn-text p {
    margin-top: 0;
  }
}

/* ==========================================================================
 20. 指で触る画面ではホバーの演出をすべて無効にする
     （タップしたあとも効果が残り、押しっぱなしのように見えてしまうため）
 ========================================================================== */
@media (hover: none), (max-width: 900px) {
  .logo-container:hover .logo-svg,
  .hamburger-btn:hover,
  .feature-card:hover,
  .hero-price-link:hover,
  .fixed-bottom-cta.pc-floating .floating-cta-btn:hover,
  .guide-banner:hover,
  .guide-banner:hover .guide-chevron,
  .guide-video-btn:hover,
  .case-shot:hover,
  .access-map-link:hover {
    transform: none;
  }

  .hamburger-btn:hover {
    background-color: #fff;
  }

  .feature-card:hover {
    background: var(--bg-pink-light);
    border-color: #eae4e7;
    box-shadow: none;
  }

  .hero-price-link:hover,
  .guide-video-btn:hover {
    box-shadow: var(--shadow-floating);
  }

  .guide-banner:hover {
    box-shadow: 0 18px 40px rgba(196, 49, 100, 0.28);
  }

  .case-shot:hover {
    box-shadow: none;
  }

  .access-map-link:hover {
    background: #fff;
    border-color: rgba(233, 93, 142, 0.35);
    color: var(--primary-color);
  }

  .nav-link:hover,
  .footer-links a:hover {
    color: inherit;
  }

  .guide-back-link:hover {
    background: none;
  }
}

/* ==========================================================================
 21. ロゴをタップしてトップへ戻るとき、勢いのままロゴとメニューが
     立ち止まらずに画面の上へ抜けていき、少し遅れて戻ってくる
 ========================================================================== */
.header.is-recoil .logo-container {
  animation: headerRecoilUp 2.25s both;
}

.header.is-recoil .hamburger-btn {
  /* ほんの少し遅らせると、2つが機械的に揃わず自然に見える */
  animation: headerRecoilUp 2.25s 0.05s both;
}

@keyframes headerRecoilUp {
  0% {
    transform: translateY(0) rotate(0);
    /* 減速させると画面内で止まって見えるため、抜け切るまでは等速のまま */
    animation-timing-function: linear;
  }
  19.1% {
    transform: translateY(-340%) rotate(-3deg);
    animation-timing-function: linear;
  }
  /* 画面の外にいる時間が約1.3秒になる位置 */
  62.7% {
    transform: translateY(-340%) rotate(-3deg);
    animation-timing-function: cubic-bezier(0.18, 1.4, 0.4, 1);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}

/* 動きを減らす設定の端末では演出しない */
@media (prefers-reduced-motion: reduce) {
  .header.is-recoil .logo-container,
  .header.is-recoil .hamburger-btn {
    animation: none;
  }
}
