@charset "UTF-8";
/* ============================================================
   エアコンのガス漏れ・修理 LP
   カラー・タイポグラフィ・レイアウトは docs/design.md に準拠
============================================================ */

:root {
  /* Primary */
  --red: #e23b50; /* Alert Red: 緊急性・行動喚起 */
  --navy: #1e3c8c; /* Trust Navy: 見出し・基調色 */
  --blue: #1d50a5; /* Vivid Blue: アイコン・補助色 */
  /* Secondary */
  --pink: #e8386d; /* CTA Pink: コンバージョン専用 */
  --yellow: #ffe438; /* Highlight Yellow: マーカー・視線誘導 */
  --gold: #b9962c; /* Laurel Gold: 実績訴求 */
  /* Semantic */
  --error: #d7263d;
  --text: #333333;
  --gray: #767676; /* 白背景でWCAG AA（4.5:1）を満たすグレー */
  --bg-blue: #eaf2fa;
  --white: #ffffff;
  --border-blue: #d8e4f0;
  --shadow: 0 2px 12px rgba(30, 60, 140, 0.08);
  /* Spacing scale (8px基準) */
  --sp-xs: 8px;
  --sp-sm: 16px;
  --sp-md: 24px;
  --sp-lg: 40px;
  --sp-xl: 64px;
}

/* ---------- リセット・ベース ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* 動きの低減設定を尊重する */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}

/* スクリーンリーダー向けの非表示見出し */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

body {
  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  /* 追従CTAバーの高さ分の余白 */
  padding-bottom: 160px;
}

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

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
}

.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

section {
  padding: 40px 0;
}

/* 線画アイコン共通 */
.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 見出し ---------- */
.section-title {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-align: center;
  margin-bottom: var(--sp-md);
}

/* 見出し下のイエローバーでアイキャッチを強化
   （＼ ／装飾のaccent-titleは::afterを「／」に使うため除外） */
.section-title:not(.accent-title)::after {
  content: "";
  display: block;
  width: 64px;
  height: 6px;
  background: var(--yellow);
  border-radius: 3px;
  margin: 10px auto 0;
}

/* ＼ ／ 付きの見出し */
.accent-title::before,
.accent-title::after {
  color: var(--blue);
  font-weight: 900;
  margin: 0 0.5em;
}

.accent-title::before {
  content: "＼";
}
.accent-title::after {
  content: "／";
}

/* ---------- ボタン ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--pink);
  color: var(--white);
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  border: none;
  border-radius: 40px;
  padding: 16px 40px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    filter 0.2s;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232, 56, 109, 0.35);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  color: var(--pink);
  font-size: 14px;
  flex-shrink: 0;
}

.btn-small {
  font-size: 15px;
  padding: 10px 20px;
  gap: 8px;
}

/* ============================================================
   ヘッダー
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-sm);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(30, 60, 140, 0.12);
  padding: 10px 16px;
}

.site-header-title {
  font-size: 14px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.4;
}

.site-header-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-shrink: 0;
}

.header-phone {
  display: none; /* SPでは非表示（追従バーに電話ボタンがあるため） */
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
  line-height: 1.2;
}

.header-phone .icon {
  width: 22px;
  height: 22px;
}

/* ============================================================
   1. ファーストビュー（ヒーロー）
============================================================ */
.hero {
  position: relative; /* PCで強みバッジを画面右端（背景写真上）に配置するための基準 */
  /* 人物写真をセクション全体の背景に表示。
     白グラデーションは全端末幅で共通に表示し、テキストの可読性を確保する */
  /* 参照は軽量化したJPEG版（原本: images/hero-woman.png） */
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.72) 35%,
      rgba(255, 255, 255, 0.42) 65%,
      rgba(255, 255, 255, 0.08) 100%
    ),
    url("../images/hero-woman.jpg") right center / cover no-repeat;
  overflow: hidden;
}

/* 背景画像は.heroで全幅表示し、コンテンツは他セクションの.innerと同じ1200pxに揃える */
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 32px;
}

/* 帯（シンプルな長方形） */
.ribbon {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  /* 320px幅でもはみ出さないよう可変サイズ（黄地×赤文字はAA大文字基準3:1を太字で担保） */
  font-size: clamp(15px, 4.9vw, 19px);
  font-weight: 900;
  padding: 8px 20px;
  margin-bottom: var(--sp-sm);
}

.ribbon-keyword {
  background: var(--yellow);
  color: var(--red);
  padding: 2px 8px;
  margin-right: 4px;
}

.hero-subcopy {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: var(--sp-sm);
}

.hero-subcopy strong {
  color: var(--red);
  font-size: 1.2em;
  /* イエローマーカーで強調 */
  background: linear-gradient(transparent 68%, var(--yellow) 68%);
  padding: 0 2px;
}

/* メインコピー */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--sp-md);
  line-height: 1.3;
}

.hero-title-line1 {
  font-size: 34px;
  font-weight: 900;
  color: var(--blue);
  /* ステッカー風の白フチ＋落ち影で立体感を出す */
  text-shadow:
    3px 3px 0 var(--white),
    -2px 2px 0 var(--white),
    2px -2px 0 var(--white),
    -2px -2px 0 var(--white),
    6px 6px 12px rgba(30, 60, 140, 0.2);
}

.hero-title-line2 {
  font-size: 36px;
  font-weight: 900;
  color: var(--blue);
  background: var(--yellow);
  padding: 2px 12px;
  box-decoration-break: clone;
  transform: rotate(-1deg);
  box-shadow: 4px 4px 0 rgba(29, 80, 165, 0.2);
}

.hero-title-line3 {
  font-size: 34px;
  font-weight: 900;
  color: var(--white);
  background: var(--red);
  padding: 4px 16px;
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15);
}

/* 手書き風アクセント（ゆっくり上下に浮遊させて目を引く） */
@keyframes gentle-float {
  0%,
  100% {
    transform: rotate(-4deg) translateY(0);
  }
  50% {
    transform: rotate(-4deg) translateY(-5px);
  }
}

.hero-note {
  display: inline-block;
  font-family: "Yusei Magic", cursive;
  font-size: 17px;
  color: var(--blue);
  background: var(--white);
  padding: 6px 14px;
  transform: rotate(-4deg);
  box-shadow: var(--shadow);
  margin-bottom: var(--sp-md);
  animation: gentle-float 3s ease-in-out infinite;
}

/* 価格訴求カード */
/* 常に横一列で表示する。clamp()による可変サイズで、どの画面幅でも折り返さずに収める。
   モバイル（〜767px）は全幅カードを活かす急な拡大係数、768px以上は緩やかな係数（768pxブロックで上書き） */
.price-card {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 1.8vw, 14px);
  width: 100%; /* モバイルは横幅いっぱい（768px以上でfit-content） */
  background: var(--white);
  border: 3px solid var(--yellow); /* イエローの縁取りで価格を目立たせる */
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(30, 60, 140, 0.18);
  padding: clamp(10px, 2.6vw, 20px) clamp(10px, 3vw, 24px);
}

.price-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(44px, 13vw, 96px);
  height: clamp(44px, 13vw, 96px);
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  font-size: clamp(9px, 2.6vw, 15px);
  font-weight: 900;
  text-align: center;
  line-height: 1.4;
}

.price-before {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 700;
  white-space: nowrap;
}

.price-before-label {
  font-size: clamp(9px, 2.7vw, 15px);
}

.price-before-value {
  font-size: clamp(12px, 3.7vw, 24px);
}

.price-before-value del {
  color: var(--gray);
}

.price-arrow {
  color: var(--pink);
  font-size: clamp(11px, 3.2vw, 20px);
  line-height: 1;
}

.price-arrow::before {
  content: "▶";
}

.price-after {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}

.price-after-value {
  font-size: clamp(20px, 7.4vw, 54px);
  font-weight: 900;
  color: var(--pink);
  line-height: 1.1;
  /* イエローのアンダーライン */
  background: linear-gradient(transparent 72%, var(--yellow) 72%);
  padding: 0 4px;
}

.price-unit {
  font-size: clamp(11px, 3.6vw, 27px);
}

.price-tax {
  font-size: clamp(9px, 2.6vw, 15px);
  font-weight: 700;
}

/* 強みバッジ */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-xs);
  margin-top: var(--sp-md);
}


.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  padding: 14px; /* 円の縁とテキストの間の余白 */
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
}

.hero-badge .icon {
  width: 26px;
  height: 26px;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.hero-badge-title {
  font-size: 15px;
  font-weight: 900;
}

.hero-badge-sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================================
   実績エンブレム（月桂樹・ヒーロー内に表示）
============================================================ */
.emblem-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-sm);
  width: 100%;
  margin-top: var(--sp-md);
}

/* モバイルではヒーロー内の実績バッジを隠し、直下の専用セクションで表示する */
.hero .emblem-list {
  display: none;
}

.results-mobile {
  background: var(--bg-blue);
  padding: 32px 0;
}

.results-mobile .emblem-list {
  margin-top: 0;
}

.results-mobile .section-title {
  margin-bottom: var(--sp-sm);
}

.emblem {
  /* 背景写真に重なっても読めるよう半透明の白円を敷く */
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  padding: 4px;
}

.emblem-img {
  display: block;
  /* 320px幅でも2つ横並びできるよう可変サイズ（画像は正方形なので高さは自動追従） */
  width: clamp(128px, 40vw, 160px);
  height: auto;
}

/* ============================================================
   2. 症状チェックリスト
============================================================ */
.symptoms {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 12px;
  overflow: hidden;
}

.symptoms-title {
  background: var(--navy);
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  padding: 12px 16px;
}

.symptoms-body {
  padding: var(--sp-md);
}

.symptoms-list li {
  position: relative;
  padding-left: 38px;
  margin-bottom: var(--sp-sm);
}

/* 赤チェックボックス */
.symptoms-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid var(--red);
  border-radius: 4px;
  color: var(--red);
  font-size: 15px;
  line-height: 1;
}

.symptom-name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.symptom-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-top: 2px;
}

.symptoms-illust {
  margin-top: var(--sp-sm);
}

.symptoms-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
}

/* ============================================================
   2-2. 2027年問題とは？
============================================================ */
.problem-2027 {
  background: var(--bg-blue);
}

.problem-lead {
  max-width: 800px;
  margin: 0 auto var(--sp-md);
}

.problem-lead strong {
  color: var(--red);
}

.problem-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-sm);
}

.problem-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: var(--sp-md);
  text-align: center;
}

.problem-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}

.problem-icon .icon {
  width: 28px;
  height: 28px;
}

.problem-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
}

.problem-desc {
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
}

.problem-note {
  font-size: 12px;
  color: var(--gray);
  text-align: center;
  margin-top: var(--sp-sm);
}

/* ============================================================
   3. 当社が選ばれる理由
============================================================ */
.reasons-section {
  /* 前後（紺CTA・薄青の流れ）とのコントラストを保つため白背景 */
  background: var(--white);
}

.reason-list {
  display: grid;
  grid-template-columns: 1fr; /* モバイルは1カラム */
  gap: var(--sp-md);
  counter-reset: reason;
}

.reason-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border-blue);
  border-radius: 12px;
  overflow: hidden;
  padding: 0 0 var(--sp-md);
  text-align: center;
  counter-increment: reason;
}

/* カード左上の連番（01〜04）でリズムを付ける */
.reason-card::before {
  content: "0" counter(reason);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background: var(--navy);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  padding: 10px 16px;
  border-radius: 0 0 12px 0;
}

.reason-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.reason-card:hover .reason-photo {
  transform: scale(1.06);
}

.reason-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  padding: 4px 20px 0;
}

.reason-desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  text-align: left;
  padding: 0 20px;
}

/* ============================================================
   7. お問い合わせフォーム（サイト末尾）
============================================================ */
.contact {
  background: var(--bg-blue);
  scroll-margin-top: 80px; /* 固定ヘッダーの高さ分 */
}

.contact-form {
  max-width: 760px;
  margin: 0 auto;
}

.form-row {
  margin-bottom: var(--sp-sm);
}

.form-row label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 17px;
  color: var(--text);
  background: var(--white);
  border: 1px solid #cccccc;
  border-radius: 6px;
  padding: 12px 16px;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #aaaaaa;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 80, 165, 0.15);
}

.contact-form .btn-primary {
  display: flex;
  width: 100%;
  max-width: 400px;
  margin: var(--sp-md) auto 0;
}

.form-message {
  color: var(--navy);
  font-weight: 700;
  text-align: center;
  margin-top: var(--sp-sm);
}

.form-note {
  font-size: 13px;
  color: var(--gray);
  margin-top: var(--sp-md);
  text-align: center;
}

/* フォーム下の電話ボタン */
.contact-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-xs);
  margin-top: var(--sp-lg);
}

.contact-tel-lead {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.contact-tel .phone-box {
  width: min(100%, 440px);
}

.form-note a {
  color: var(--blue);
}

/* ============================================================
   4. CTA（電話・フォーム）
============================================================ */
.phone-cta {
  /* 紺2トーンの斜めストライプで勢いを出す */
  background: repeating-linear-gradient(
    -45deg,
    var(--navy) 0 16px,
    #234494 16px 32px
  );
}

.phone-cta .section-title {
  color: var(--white);
  margin-bottom: var(--sp-xs);
}

.phone-cta-lead {
  color: var(--white);
  text-align: center;
  font-size: 15px;
  margin-bottom: var(--sp-md);
}

.phone-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
}

/* 電話・フォームの2ボタンは横幅を揃える */
.phone-cta-actions > * {
  width: min(100%, 440px);
}

/* 電話ボックス（紺背景に白で浮かせる） */
.phone-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  color: var(--red);
  border-radius: 12px;
  padding: 16px 32px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.phone-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.phone-box .icon {
  width: 26px;
  height: 26px;
  margin-right: 8px;
}

.phone-number {
  display: inline-flex;
  align-items: center;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.phone-hours {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

/* フォームCTA（電話ボックスと同じ角丸ブロック形状に揃える） */
.btn-cta-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  color: var(--white);
  border-radius: 12px;
  padding: 16px 32px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.2s,
    filter 0.2s;
}

.btn-cta-form:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.form-cta-label {
  font-size: 14px;
  font-weight: 700;
}

.form-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.3;
}

.form-cta-sub {
  font-size: 13px;
  font-weight: 500;
}

/* CTAボタンを目立たせるパルス（波紋）アニメーション */
@keyframes cta-pulse {
  0% {
    box-shadow:
      0 4px 16px rgba(0, 0, 0, 0.2),
      0 0 0 0 rgba(255, 255, 255, 0.55);
  }
  70% {
    box-shadow:
      0 4px 16px rgba(0, 0, 0, 0.2),
      0 0 0 18px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow:
      0 4px 16px rgba(0, 0, 0, 0.2),
      0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.phone-box,
.btn-cta-form {
  animation: cta-pulse 2s ease-out infinite;
}

/* 2つのボタンが交互に波打つよう半周期ずらす */
.btn-cta-form {
  animation-delay: 1s;
}

/* ============================================================
   6. ご依頼の流れ
============================================================ */
.flow {
  background: var(--bg-blue);
}

.step-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: var(--sp-lg) var(--sp-md);
  text-align: center;
}

.step-number {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.step-icon {
  color: var(--blue);
}

.step-icon .icon {
  width: 56px;
  height: 56px;
}

.step-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
}

.step-desc {
  font-size: 16px;
  line-height: 1.7;
}

/* ステップ間の矢印（SPでは下向き） */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 12px 10px 0 10px;
  border-color: var(--blue) transparent transparent transparent;
  z-index: 1;
}

/* ============================================================
   7. 会社概要
============================================================ */
.company-columns {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.company-row {
  display: flex;
  border-bottom: 1px solid var(--border-blue);
  padding: 12px 0;
}

.company-row dt {
  flex-shrink: 0;
  width: 110px;
  font-weight: 700;
  color: var(--navy);
}

.company-map iframe {
  width: 100%;
  height: 240px;
  border: none;
  border-radius: 12px;
  display: block;
}

.btn-map {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  padding: 10px 24px;
  margin-top: var(--sp-sm);
}

.btn-map:hover {
  filter: brightness(1.15);
}

.copyright {
  font-size: 13px;
  color: var(--gray);
  text-align: center;
  margin-top: var(--sp-lg);
}

/* ============================================================
   8. フッター（追従CTAバー）
   design/button-design.jpg 準拠：受付中テキスト＋赤グラデーションの大型電話ボタン
============================================================ */
.cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 -4px 16px rgba(30, 60, 140, 0.18);
  padding: 8px 16px 12px;
  text-align: center;
}

.cta-bar-note {
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 6px;
}

.cta-bar-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 620px);
  margin: 0 auto;
  /* 上が明るく下が深い赤の立体グラデーション */
  background: linear-gradient(180deg, #ef5b64 0%, var(--red) 55%, #c52a3d 100%);
  border-radius: 14px;
  box-shadow: 0 5px 0 #a81f30;
  padding: 8px 20px 12px;
  text-decoration: none;
}

.cta-bar-catch {
  color: var(--yellow);
  font-size: clamp(14px, 3.8vw, 20px);
  font-weight: 900;
  line-height: 1.4;
}

.cta-bar-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: clamp(28px, 8vw, 46px);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.cta-bar-number .icon {
  width: 0.7em;
  height: 0.7em;
  stroke-width: 2;
}

/* タップを促す指カーソル */
.cta-bar-hand {
  position: absolute;
  right: 10px;
  bottom: -8px;
  width: clamp(32px, 9vw, 48px);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

/* ============================================================
   レスポンシブ（Tablet: 768px〜 / PC: 1024px〜）
============================================================ */
@media (min-width: 768px) {
  body {
    font-size: 18px;
    padding-bottom: 180px;
  }

  section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 30px;
    margin-bottom: var(--sp-lg);
  }

  /* ヘッダー */
  .site-header {
    padding: 12px 24px;
  }

  .site-header-title {
    font-size: 16px;
  }

  .header-phone {
    display: inline-flex;
    font-size: 18px;
  }

  .hero-inner {
    /* 右側は背景写真の人物にテキストが重ならないための余白（タブレットは狭め） */
    padding: 56px 280px 56px 16px;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* バッジの配置基準を.hero（画面全幅）にするため、ここでは基準にしない */
    position: static;
  }

  .hero-badges {
    /* 背景写真の構図に合わせて画面右端を基準に配置する */
    position: absolute;
    top: 48px;
    right: 32px;
    flex-direction: column;
    gap: var(--sp-sm);
    margin-top: 0;
  }

  .hero-badge {
    width: 160px;
    height: 160px;
    padding: 16px;
  }

  .hero-badge .icon {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
  }

  .hero-badge-title {
    font-size: 18px;
  }

  .hero-badge-sub {
    font-size: 14px;
  }

  .ribbon {
    font-size: 22px;
  }

  .hero-subcopy {
    font-size: 20px;
  }

  .hero-title-line1 {
    font-size: 40px;
  }
  .hero-title-line2 {
    font-size: 48px;
  }
  .hero-title-line3 {
    font-size: 40px;
  }

  .hero-note {
    font-size: 20px;
  }

  /* 価格カード */
  /* 価格カード：768px以上は右余白があるため緩やかな拡大係数に切り替え */
  .price-card {
    width: fit-content;
    margin-top: var(--sp-sm);
    gap: clamp(8px, 1.4vw, 20px);
    padding: clamp(14px, 2vw, 24px) clamp(16px, 2.5vw, 32px);
  }

  .price-badge {
    width: clamp(54px, 7vw, 100px);
    height: clamp(54px, 7vw, 100px);
    font-size: clamp(11px, 1.5vw, 16px);
  }

  .price-before-label {
    font-size: clamp(11px, 1.6vw, 16px);
  }

  .price-before-value {
    font-size: clamp(14px, 2.2vw, 26px);
  }

  .price-arrow {
    font-size: clamp(12px, 2vw, 22px);
  }

  .price-after-value {
    font-size: clamp(24px, 5vw, 72px);
  }

  .price-unit {
    font-size: clamp(13px, 2.4vw, 34px);
  }

  .price-tax {
    font-size: clamp(10px, 1.5vw, 17px);
  }

  /* 実績バッジ（768px以上はヒーロー内・価格カードの下に表示）
     モバイル以外は折り返さず、常に3つ横並びで表示する */
  .results-mobile {
    display: none;
  }

  .hero .emblem-list {
    display: flex;
  }

  .emblem-list {
    flex-wrap: nowrap;
    gap: clamp(12px, 2.5vw, 40px);
    margin-top: var(--sp-lg);
  }

  .emblem {
    padding: 10px;
  }

  .emblem-img {
    /* コンテンツ幅（右側の写真余白を除く）に3つ収まるよう可変 */
    width: clamp(110px, 16.5vw - 12px, 240px);
    height: auto;
  }

  /* 症状チェックリスト：リストと写真を横並びに */
  .symptoms-title {
    font-size: 26px;
    padding: 14px 16px;
  }

  .symptoms-body {
    display: flex;
    align-items: stretch;
    gap: var(--sp-lg);
    padding: var(--sp-lg);
  }

  .symptoms-list {
    flex: 1;
  }

  .symptoms-list li {
    margin-bottom: var(--sp-md);
  }

  .symptom-name {
    font-size: 20px;
  }

  .symptom-desc {
    font-size: 15px;
  }

  .symptoms-illust {
    flex: 0 0 280px;
    margin-top: 0;
  }

  .symptoms-photo {
    height: 100%;
  }

  /* 2027年問題：3カード横並び */
  .problem-lead {
    text-align: center;
  }

  .problem-list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
  }

  .problem-card {
    padding: var(--sp-lg) var(--sp-md);
  }

  .problem-title {
    font-size: 21px;
  }

  .problem-icon {
    width: 64px;
    height: 64px;
  }

  /* 選ばれる理由：PCは2カラムで大きく表示 */
  .reason-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-lg);
  }

  .reason-photo {
    height: 280px;
  }

  .reason-text {
    font-size: 24px;
    padding: 8px 24px 0;
  }

  .reason-desc {
    font-size: 16px;
    padding: 0 24px;
  }

  /* CTA（電話・フォーム） */
  .phone-cta-lead {
    font-size: 18px;
    margin-bottom: var(--sp-lg);
  }

  .phone-cta-actions {
    flex-direction: row;
    flex-wrap: wrap; /* タブレット幅で収まらない場合は折り返す */
    justify-content: center;
    align-items: stretch;
    gap: var(--sp-md);
  }

  .phone-box {
    padding: 18px 48px;
  }

  .btn-cta-form {
    padding: 18px 48px;
  }

  .form-cta-main {
    font-size: 32px;
  }

  .form-cta-label,
  .form-cta-sub {
    font-size: 14px;
  }

  .form-row {
    margin-bottom: var(--sp-md);
  }

  .phone-number {
    font-size: 40px;
  }

  .phone-hours {
    font-size: 15px;
  }

  /* 流れ（タブレットは縦積みのまま幅を絞って中央寄せ。5列表示は1024px〜） */
  .step-list {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  /* 会社概要 */
  .company-columns {
    flex-direction: row;
    gap: var(--sp-lg);
  }

  .company-table {
    flex: 1;
  }

  .company-map {
    flex: 0 0 360px;
    text-align: center;
  }

  .company-map iframe {
    height: 280px;
  }

  /* 追従CTAバー */
  .cta-bar-note {
    font-size: 17px;
  }

  .cta-bar-btn {
    padding: 10px 24px 14px;
  }
}

/* ============================================================
   レスポンシブ（PC: 1024px〜）
============================================================ */
@media (min-width: 1024px) {
  .section-title {
    font-size: 34px;
  }

  /* ヘッダー */
  .site-header {
    padding: 12px 32px;
  }

  .site-header-title {
    font-size: 18px;
  }

  .header-phone {
    font-size: 22px;
  }

  /* ヒーロー */
  .hero-inner {
    padding-right: 300px;
  }

  .hero-subcopy {
    font-size: 22px;
  }

  .hero-title-line1 {
    font-size: 52px;
  }
  .hero-title-line2 {
    font-size: 62px;
  }
  .hero-title-line3 {
    font-size: 52px;
  }

  /* 症状チェックリスト */
  .symptoms-title {
    font-size: 30px;
  }

  .symptoms-illust {
    flex-basis: 320px;
  }

  /* CTA */
  .phone-cta-actions {
    gap: var(--sp-lg);
  }

  /* 流れ（横並び5列・右向き矢印） */
  .step-list {
    max-width: none;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--sp-sm);
  }

  .step {
    padding: var(--sp-lg) var(--sp-sm);
  }

  .step-title {
    /* 5列時にカード幅へ収まるよう可変（1024pxで17px→1440pxで20px） */
    font-size: clamp(17px, 1.5vw, 20px);
  }

  .step-desc {
    font-size: 15px;
  }

  .step:not(:last-child)::after {
    bottom: auto;
    top: 50%;
    left: auto;
    right: -14px;
    transform: translateY(-50%);
    border-width: 10px 0 10px 12px;
    border-color: transparent transparent transparent var(--blue);
  }

  /* 会社概要 */
  .company-map {
    flex-basis: 420px;
  }
}

/* ============================================================
   プライバシーポリシーページ
============================================================ */
.policy-body {
  padding-bottom: 0; /* 追従CTAバーがないため下余白は不要 */
  background: var(--bg-blue);
}

.policy {
  padding: 40px 0 64px;
}

/* 本文は白カードに載せて読みやすくする */
.policy .inner {
  max-width: 860px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 32px 20px;
}

@media (min-width: 768px) {
  .policy .inner {
    padding: 48px 56px;
  }
}

.policy .section-title {
  margin-bottom: var(--sp-lg);
}

.policy h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  border-left: 4px solid var(--blue);
  padding-left: 12px;
  margin: var(--sp-lg) 0 var(--sp-xs);
}

.policy p,
.policy li {
  font-size: 15px;
  line-height: 1.9;
}

.policy ul {
  list-style: disc;
  padding-left: 1.6em;
}

.policy ol {
  list-style: decimal;
  padding-left: 1.6em;
}

.policy-date {
  margin-top: var(--sp-lg);
  text-align: right;
  color: var(--gray);
  font-size: 14px;
}

.policy-back {
  margin-top: var(--sp-md);
  text-align: center;
}

.policy-back a {
  color: var(--blue);
  font-weight: 700;
}

.site-header-title a {
  text-decoration: none;
}

