/* =========================================
   0. 共通リセット・レスポンシブ改行・タイポグラフィ
   ========================================= */
.lp-section,
.lp-section *,
.lp-section *::before,
.lp-section *::after {
  box-sizing: border-box;
}

/* PCとスマホで改行位置を切り替えるクラス */
.sp-only {
  display: none;
}
.pc-only {
  display: inline;
}
@media (max-width: 600px) {
  .sp-only {
    display: inline;
  }
  .pc-only {
    display: none;
  }
}

/* =========================================
   1. セクション全体・背景色・見出し・基本テキスト
   ========================================= */
.lp-section {
  padding: 44px 24px;
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  overflow-x: hidden; /* スマホでの横揺れ・端切れを完全防止 */
}
.lp-section h1 {
  font-size: 1.45rem;
  line-height: 1.5;
  color: #222;
  margin: 16px 0;
  text-align: center;
  word-break: auto-phrase;
  text-wrap: balance;
}
.lp-section h2 {
  text-align: center;
  font-size: 1.35rem;
  color: #222;
  margin: 0 0 28px 0;
  padding-bottom: 14px;
  line-height: 1.5;
  border-bottom: 2px solid #d88092;
  word-break: auto-phrase;
  text-wrap: balance;
}
.lp-section h3 {
  font-size: 1.12rem;
  color: #c2596e;
  line-height: 1.5;
  margin: 28px 0 10px 0;
  padding-left: 10px;
  border-left: 4px solid #d88092;
}
.lp-section p {
  font-size: 1rem;
  line-height: 1.85;
  color: #333;
  margin: 0 0 1.2em 0;
  text-wrap: pretty;
}
.lp-section p:last-child {
  margin-bottom: 0;
}
.fv-lead {
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.85;
  margin-top: 16px;
}
.fv-highlight {
  font-size: 1.25rem;
  color: #d32f2f;
  display: inline-block;
  margin: 4px 0;
}

/* 背景色バリエーション */
.bg-white {
  background-color: #ffffff;
}
.bg-gray {
  background-color: #f2efe9; /* 悩み・FAQ：和紙調グレーベージュ */
}
.bg-warm {
  background-color: #fcedf0; /* プロフィール・施術の流れ：薄紅梅（薄い梅色） */
}
.bg-green {
  background-color: #e6f2e8; /* お客様の声：若草・白緑（薄い緑） */
}
.note {
  font-size: 0.85rem !important;
  color: #666 !important;
  line-height: 1.6 !important;
  margin-top: 14px !important;
}

/* =========================================
   2. 仮画像・動画プレースホルダー（FV・説明風景・店舗動画など）
   ========================================= */
.image-placeholder-table {
  width: 100%;
  border: 2px dashed #ccc;
  background: #f9f9f9;
  text-align: center;
  margin: 0 0 20px 0;
  color: #666;
  border-radius: 8px;
}
.image-placeholder-table td {
  padding: 20px 14px;
}
.placeholder-small {
  border: 2px dashed #ccc;
  background: #f9f9f9;
  padding: 30px 10px;
  font-size: 0.8rem;
  color: #666;
  border-radius: 6px;
}
.video-placeholder-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 2px dashed #c86478;
  background-color: #fdfafb;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #c2596e;
  margin: 12px 0 20px;
  padding: 16px;
  text-align: center;
}
.video-placeholder-icon {
  font-size: 2rem;
  margin-bottom: 6px;
  line-height: 1;
}
.video-placeholder-text {
  font-weight: bold;
  font-size: 0.9rem;
  line-height: 1.4;
}
.video-placeholder-sub {
  font-size: 0.78rem;
  color: #888;
  margin-top: 4px;
}

/* =========================================
   3. 上部オファーバナー外枠（3. オファー＆CTA①）
   ========================================= */
.offer-banner {
  max-width: 560px;
  margin: 10px auto 0;
  background: linear-gradient(135deg, #fffdf9 0%, #f7efe1 100%);
  border: 2px solid #c5a059;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.18);
  position: relative;
}
.offer-banner-inner {
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 8px;
  padding: 28px 16px 20px;
  text-align: center;
  background: radial-gradient(circle at top, rgba(255,255,255,0.8) 0%, transparent 70%);
}
.offer-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #b38728 0%, #d4af37 50%, #b38728 100%);
  color: #ffffff;
  font-weight: bold;
  font-size: 0.85rem;
  padding: 4px 20px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  letter-spacing: 1.5px;
  white-space: nowrap;
}
.offer-title {
  color: #8c5a08 !important;
  font-size: 1.3rem !important;
  margin: 0 0 12px 0 !important;
  padding: 0 0 6px 0 !important;
  border-left: none !important;
  border-bottom: 1px dashed #d4af37;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  letter-spacing: 0.5px;
  display: inline-block;
}
.offer-lead {
  font-size: 0.95rem !important;
  color: #444 !important;
  margin: 0 0 16px 0 !important;
  line-height: 1.65 !important;
}

/* =========================================
   3-2. 初回トータルサポート（3ステップ図解枠・PC基本表示）
   ========================================= */
.offer-flow-box {
  background-color: #ffffff;
  border: 2px solid #e2a0ad;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto 18px;
  box-shadow: 0 3px 10px rgba(216, 128, 146, 0.12);
}
.offer-flow-header {
  background: linear-gradient(90deg, #c86478 0%, #df8698 100%);
  color: #ffffff;
  padding: 8px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.flow-header-label {
  font-weight: bold;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
}
.flow-header-badge {
  background-color: #ffffff;
  color: #c2596e;
  font-weight: bold;
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.offer-flow-steps {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 12px 10px;
  background-color: #fdfafb;
  gap: 4px;
}
.flow-step-card {
  flex: 1;
  background-color: #ffffff;
  border: 1px solid #f0d8dd;
  border-radius: 8px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.flow-step-num {
  font-size: 0.65rem;
  font-weight: bold;
  color: #c86478;
  background-color: #fcedf0;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.flow-step-name {
  font-weight: bold;
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 4px;
  line-height: 1.35;
  text-align: center;
}
.flow-step-time {
  font-size: 0.8rem;
  color: #d32f2f;
  font-weight: bold;
  background-color: #fff8f0;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #ffe0b2;
  white-space: nowrap;
  flex-shrink: 0;
}
.flow-step-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #c86478;
  font-size: 1rem;
  padding: 0 2px;
}

/* =========================================
   3-3. バナー下部の赤い誘導カプセル
   ========================================= */
.offer-guide-badge {
  background: linear-gradient(180deg, #e53935 0%, #c62828 100%);
  color: #ffffff;
  font-size: 0.88rem;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 24px;
  display: inline-block;
  max-width: 100%;
  box-shadow: 0 4px 10px rgba(198, 40, 40, 0.25);
  letter-spacing: 0.3px;
}
.offer-guide-badge strong {
  color: #ffeb3b;
  text-decoration: underline;
}
.guide-arrow {
  font-size: 0.8rem;
  margin: 0 2px;
}

/* =========================================
   4. お客様の声（カード型・タイトル中央寄せ・赤線強調）
   ========================================= */
.voice-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 960px;
  margin: 0 auto 20px;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  border: 1px solid #eeeeee;
}
.voice-image {
  flex: 0 0 35%;
  width: 35%;
  text-align: center;
}
.voice-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.voice-text {
  flex: 1;
  width: 65%;
}
/* 2行・中央寄せの患者様属性タイトル */
.voice-title {
  text-align: center !important;
  background-color: #fdf5f7;
  border-top: 1px solid #f0d8dd;
  border-bottom: 1px solid #f0d8dd;
  padding: 8px 10px !important;
  margin: 0 0 14px 0 !important;
  font-size: 1.02rem !important;
  color: #c2596e !important;
  line-height: 1.5 !important;
  border-radius: 4px;
}
/* 赤文字＋黄色マーカー＋赤い太下線による強調表示 */
.highlight-marker {
  color: #c62828;
  font-weight: bold;
  font-size: 1.05em;
  background: linear-gradient(transparent 60%, #fff59d 60%);
  border-bottom: 2px solid #e53935;
  padding-bottom: 2px;
}
.voice-comment-box {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #e0d5d8;
}
.voice-comment-title {
  margin: 0 0 6px 0 !important;
  font-size: 0.95rem !important;
  color: #c2596e !important;
  text-align: left !important;
}
.voice-table {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}
.voice-table td {
  padding: 14px;
  border: 1px solid #e0e0e0;
  vertical-align: middle;
}
.voice-img {
  width: 35%;
  text-align: center;
  background: #f5f5f5;
  color: #666;
  font-size: 0.85rem;
}

/* =========================================
   5. プロフィール ＆ 3つの特徴（左画像・右テキスト）
   ========================================= */
.media-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.media-img {
  flex: 0 0 35%;
  width: 35%;
  max-width: 220px;
  text-align: center;
}
.media-img img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
}
.media-text {
  flex: 1;
}
.media-text p {
  margin: 0 0 10px 0;
  font-size: 0.95rem;
  line-height: 1.75;
}
.media-text p:last-child {
  margin-bottom: 0;
}
.media-text .step-title {
  margin-bottom: 8px !important;
  font-size: 1.05rem !important;
  color: #c2596e !important;
}

/* =========================================
   6. 施術料金カード ＆ 全額返金保証ボックス（10. サービス概要）
   ========================================= */
.price-card {
  max-width: 560px;
  margin: 0 auto 32px;
  border: 2px solid #d88092;
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.price-header {
  background-color: #d88092;
  color: #ffffff;
  text-align: center;
  font-size: 1.15rem;
  font-weight: bold;
  padding: 12px;
  letter-spacing: 1px;
}
.price-body {
  padding: 22px 16px;
  text-align: center;
}
.price-amount {
  font-size: 2.5rem;
  font-weight: bold;
  color: #d32f2f;
  line-height: 1.2;
}
.price-unit {
  font-size: 1.05rem;
  color: #333;
  font-weight: normal;
  margin-left: 4px;
}
.price-note {
  font-size: 0.88rem !important;
  color: #666 !important;
  margin: 8px 0 18px !important;
}
.price-includes {
  text-align: left;
  background-color: #faf8f5;
  padding: 14px 16px;
  border-radius: 8px;
}
.includes-title {
  margin: 0 0 10px 0 !important;
  color: #333 !important;
  font-size: 0.95rem !important;
  text-align: center;
}
.price-includes ul {
  margin: 0;
}
.price-includes ul li {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 8px;
}
.price-includes ul li:last-child {
  margin-bottom: 0;
}
.guarantee-box {
  max-width: 560px;
  margin: 10px auto 0;
  background-color: #fffdf5;
  border: 2px solid #d4af37;
  border-radius: 12px;
  padding: 28px 18px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}
.guarantee-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #d4af37;
  color: #ffffff;
  font-weight: bold;
  font-size: 0.85rem;
  padding: 4px 18px;
  border-radius: 20px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.guarantee-box h3 {
  color: #8c6d1f !important;
  font-size: 1.2rem !important;
  margin: 0 0 12px 0 !important;
  padding-left: 0 !important;
  border-left: none !important;
  text-align: center;
}
.guarantee-box p {
  margin: 0 0 10px 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #444;
  text-align: left;
}

/* =========================================
   7. 中間・下部CTAボックス ＆ FAQボックス
   ========================================= */
.cta-box {
  background: #fff8f0;
  border: 2px solid #ff9800;
  padding: 24px 18px;
  text-align: center;
  border-radius: 10px;
  margin: 0 auto;
  max-width: 600px;
}
.cta-box h3 {
  color: #d32f2f !important;
  margin: 0 0 14px 0 !important;
  padding-left: 0 !important;
  border-left: none !important;
  font-size: 1.2rem !important;
}
.faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.faq-item:last-child {
  margin-bottom: 0;
}
.faq-q {
  color: #c2596e !important;
  font-weight: bold;
  margin-bottom: 8px !important;
  line-height: 1.5 !important;
}
.faq-a {
  margin: 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.75 !important;
}

/* =========================================
   7-2. 営業時間テーブル・ローカル動画・Googleマップ
   ========================================= */
.hours-box, .access-video-box {
  margin: 24px 0;
}
.hours-title {
  margin: 0 0 8px 0 !important;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background-color: #ffffff;
  border: 1px solid #e0d5d8;
  font-size: 0.95rem;
}
.hours-table th, .hours-table td {
  border: 1px solid #e0d5d8;
  padding: 10px 4px;
  vertical-align: middle;
}
.hours-table thead th {
  background-color: #fcedf0;
  color: #333;
  font-weight: bold;
}
.hours-table thead th.sat {
  color: #1976d2;
}
.hours-table thead th.sun {
  color: #d32f2f;
}
.hours-table .time-col {
  background-color: #faf8f5;
  font-weight: bold;
  width: 30%;
  font-size: 0.9rem;
}
.hours-table tbody td {
  color: #c86478;
  font-weight: bold;
}
.hours-table tbody td.sub-time {
  font-size: 0.75rem;
  line-height: 1.2;
  color: #333;
}
.hours-note {
  font-size: 0.82rem !important;
  color: #666 !important;
  margin: 8px 0 0 0 !important;
  line-height: 1.5 !important;
}
/* MP4直置き動画（steps.mp4など）用の角丸コンテナ（横幅崩れ完全防止） */
.local-video-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto 20px !important;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #e2a0ad;
  background-color: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.local-video-container video {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 420px; /* 縦長動画でも画面を占領しすぎないよう高さを制限 */
  object-fit: contain;
  margin: 0 auto !important;
}
.map-container {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0d5d8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.map-container iframe {
  display: block;
  width: 100%;
  height: 300px;
}

/* =========================================
   8. スマホ向けレスポンシブ徹底調整（画面幅600px以下）
   ========================================= */
@media (max-width: 600px) {
  /* --- 8-1. 全体余白・見出し・基本テキスト --- */
  .lp-section {
    padding: 36px 20px;
  }
  .lp-section h1 {
    font-size: 1.28rem;
    line-height: 1.45;
  }
  .lp-section h2 {
    font-size: 1.2rem;
    margin-bottom: 22px;
    padding-bottom: 10px;
    line-height: 1.45;
  }
  .lp-section h3 {
    font-size: 1.05rem;
    margin: 24px 0 8px 0;
  }
  .lp-section p {
    font-size: 0.96rem;
    line-height: 1.8;
    margin-bottom: 1.1em;
  }

  /* --- 8-2. スマホ用：3ステップ図解枠（2行スリム化・中央寄せ・中央幅確保） --- */
  .offer-banner-inner {
    padding: 24px 12px 18px;
  }
  .offer-title {
    font-size: 1.18rem !important;
  }
  .offer-flow-steps {
    flex-direction: column;
    padding: 10px;
    gap: 6px;
  }
  .flow-step-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    gap: 10px;
  }
  .flow-step-num {
    margin-bottom: 0;
    margin-right: 0;
    padding: 4px 6px;
    border-radius: 6px;
    line-height: 1.15;
    text-align: center;
    min-width: 42px;
    flex-shrink: 0;
  }
  .flow-step-name {
    flex: 1;
    flex-grow: 1;
    text-align: center; /* 中央の文字を中央寄せ */
    margin-bottom: 0;
    font-size: 0.92rem;
    line-height: 1.35;
  }
  .flow-step-time {
    padding: 3px 6px;
    line-height: 1.2;
    text-align: center;
    min-width: 52px;
    font-size: 0.78rem;
    flex-shrink: 0;
  }
  .flow-step-plus {
    font-size: 0.8rem;
    line-height: 1;
  }
  .offer-guide-badge {
    font-size: 0.82rem;
    padding: 10px 12px;
    border-radius: 16px;
    width: 100%;
  }

  /* --- 8-3. スマホ用：お客様の声（縦積み表示） --- */
  .voice-card {
    flex-direction: column;
    padding: 18px 16px;
    gap: 14px;
  }
  .voice-image, .voice-text {
    flex: none;
    width: 100%;
  }
  .voice-table, .voice-table tbody, .voice-table tr, .voice-table td {
    display: block;
    width: 100%;
  }
  .voice-table tr {
    margin-bottom: 16px;
  }
  .voice-table td.voice-img {
    border-bottom: none;
    padding: 20px 12px;
  }

  /* --- 8-4. スマホ用：プロフィール＆3つの特徴（縦積み表示） --- */
  .media-card {
    flex-direction: column;
    align-items: center;
    padding: 18px 16px;
    gap: 14px;
  }
  .media-img {
    flex: none;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
  }
  .media-img img {
    width: auto;
    max-width: 220px;
    max-height: 190px;
  }
  .media-text {
    width: 100%;
  }

  /* --- 8-5. スマホ用：営業時間テーブル・マップ --- */
  .hours-table {
    font-size: 0.82rem;
  }
  .hours-table th, .hours-table td {
    padding: 8px 2px;
  }
  .hours-table .time-col {
    width: 33%;
    font-size: 0.78rem;
  }
  .map-container iframe {
    height: 250px;
  }
}
