@charset "UTF-8";
/* ============================================================
   横山冷熱株式会社 サイトリニューアル
   style.css v3 — DR標準（ai-sumizumi-demo/seizou）のトークンを土台に、
   water-works.tokyo / hitonasu.co.jp / suikoubou.co.jp の実測から型を写した版。

   ・鋼青 #34739f ＋ 生成り #f7f6f2 ＋ 淡い青磁 #a9cac2
   ・Noto Sans JP ＋ Montserrat（英字・数字）
   ・見出しは「英字ラベル＋日本語＋48×3pxの下線」
   ・セクション余白 90px／コンテンツ幅 1140px／角丸 2px
   モバイルファースト
   ============================================================ */

/* ---------- 1. トークン（DR標準に準拠） ---------- */
:root {
  /* ブランド */
  --blue:       #34739f;   /* メイン：鋼青 */
  --blue-dark:  #28567a;
  --blue-deep:  #14283a;   /* ヒーロー覆い・最深部 */
  --sage:       #a9cac2;   /* 淡い青磁：補助 */
  --sage-pale:  #ecf3f1;

  /* サーフェス */
  --bg:        #ffffff;
  --bg-warm:   #f7f6f2;    /* 生成り */
  --line:      #e5e5e5;

  /* テキスト */
  --text:           #333333;
  --text-strong:    #222222;
  --text-secondary: #777777;

  /* 角丸・影 */
  --r-sm: 2px;
  --r-md: 4px;
  --shadow-soft: 0 3px 12px rgba(40, 86, 122, 0.10);
  --shadow-lift: 0 10px 28px rgba(40, 86, 122, 0.16);

  /* フォント */
  --font-en:   "Montserrat", sans-serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;

  /* 余白 */
  --sp-sm: 16px;
  --sp-md: 24px;
  --sp-lg: 32px;
  --sp-xl: 48px;
  --sp-xxl: 64px;
  --sp-section: 56px;      /* SP。PCで90pxへ */

  /* コンテンツ幅 */
  --w-content: 1140px;
  --w-narrow: 800px;
  --pad-x: 24px;

  --bar-h: 62px;           /* SP追従電話バー */
}

/* ---------- 2. リセット・基礎 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.5; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. レイアウト ---------- */
.container {
  width: 100%;
  max-width: var(--w-content);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.container--narrow { max-width: var(--w-narrow); }

.section { padding-block: var(--sp-section); }
.section--warm { background: var(--bg-warm); }
.section--sage { background: var(--sage-pale); }

/* 見出し：英字ラベル＋日本語＋下線（DR標準の型） */
.section__title { text-align: center; margin-bottom: var(--sp-xl); }
.section__title-en {
  display: block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}
.section__title-jp {
  display: block;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--text-strong);
}
.section__title-jp::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--blue);
  margin: 14px auto 0;
}
.section__lead {
  text-align: center;
  margin-top: var(--sp-md);
  color: var(--text-secondary);
  font-size: 15px;
}

/* ---------- 4. ボタン（DR標準） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 30px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  border-radius: var(--r-sm);
  border: 1px solid var(--blue);
  color: var(--blue);
  background: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--blue); color: #fff; }
.btn--solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--solid:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn--wide { width: 100%; }
.btn__icon { width: 19px; height: 19px; flex: none; fill: currentColor; }

/* ---------- 5. ヘッダー ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.header.is-scrolled { box-shadow: 0 2px 14px rgba(40, 86, 122, 0.1); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  transition: min-height 0.25s ease;
}
.header.is-scrolled .header__inner { min-height: 58px; }

.logo { display: flex; align-items: center; gap: 10px; color: var(--text-strong); }
.logo:hover { color: var(--text-strong); }
.logo__mark { width: 36px; height: 36px; flex: none; }
.logo__name { font-size: 17px; font-weight: 700; letter-spacing: 0.06em; line-height: 1.35; }
.logo__sub {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  transition: opacity 0.25s ease;
}
.header.is-scrolled .logo__sub { opacity: 0; height: 0; overflow: hidden; }

.header__tel { display: none; }

.navtoggle {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none; border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.navtoggle__bar,
.navtoggle__bar::before,
.navtoggle__bar::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--text-strong);
  transition: transform 0.25s, opacity 0.2s;
}
.navtoggle__bar { position: relative; }
.navtoggle__bar::before { position: absolute; top: -7px; }
.navtoggle__bar::after { position: absolute; top: 7px; }
.navtoggle[aria-expanded="true"] .navtoggle__bar { background: transparent; }
.navtoggle[aria-expanded="true"] .navtoggle__bar::before { transform: translateY(7px) rotate(45deg); }
.navtoggle[aria-expanded="true"] .navtoggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

.gnav {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 8px var(--pad-x) 20px;
}
.gnav.is-open { display: block; }
.gnav__list { display: grid; }
.gnav__list a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text-strong);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.gnav__list a:hover { color: var(--blue); }

/* ---------- 6. ファーストビュー（DR標準の型） ---------- */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background-color: var(--blue-dark);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
/* 文字可読性のための濃紺グラデーション */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(20, 40, 58, 0.86) 0%,
    rgba(20, 40, 58, 0.66) 50%,
    rgba(20, 40, 58, 0.28) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 52px var(--pad-x) 56px;
}
.hero__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--sp-sm);
}
.hero__title {
  font-size: 29px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: var(--sp-md);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.hero__sub {
  font-size: 14.5px;
  line-height: 2.05;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--sp-lg);
  max-width: 520px;
}
/* ヒーロー内の電話 */
.hero__tel { margin-bottom: var(--sp-md); }
.hero__tel-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--sage);
  border-left: 2px solid var(--sage);
  padding-left: 10px;
  margin-bottom: 6px;
}
.hero__tel-num {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #fff;
}
.hero__tel-num:hover { color: #fff; opacity: 0.85; }
.hero__tel-num svg { width: 28px; height: 28px; fill: currentColor; }
.hero__tel-note { font-size: 12px; color: rgba(255, 255, 255, 0.8); margin-top: 6px; }

.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn { background: transparent; border-color: #fff; color: #fff; }
.hero .btn:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.hero .btn--solid { background: #fff; border-color: #fff; color: var(--blue-dark); }
.hero .btn--solid:hover { background: rgba(255, 255, 255, 0.88); color: var(--blue-dark); }

.hero__cue { display: none; }

/* ---------- 7. サービス早見の帯（ヒーロー直下・DR標準の型） ---------- */
.quicknav { background: var(--blue-dark); }
.quicknav__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.quicknav__item {
  display: block;
  padding: 20px 14px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s;
}
.quicknav__item:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.quicknav__en {
  display: block;
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--sage);
  margin-bottom: 2px;
}
.quicknav__jp { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: 0.04em; }
.quicknav__note { display: block; font-size: 11.5px; color: rgba(255, 255, 255, 0.72); line-height: 1.7; margin-top: 2px; }

/* ---------- 8. 困りごとタイル ---------- */
.trouble { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.trouble__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 118px;
  padding: 18px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--text-strong);
  font-weight: 700;
  font-size: 13.5px;
  text-align: center;
  line-height: 1.6;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.trouble__item:hover {
  color: var(--text-strong);
  border-color: var(--blue);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.trouble__icon {
  width: 54px; height: 54px; padding: 13px;
  border-radius: 50%;
  background: var(--sage-pale);
  stroke: var(--blue-dark);
  fill: none;
  stroke-width: 1.6;
  transition: background 0.25s;
}
.trouble__item:hover .trouble__icon { background: var(--sage); }

/* ---------- 9. 強み 01/02/03（DR標準の型） ---------- */
.strengths { display: grid; gap: 20px; }
.strength {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 22px 24px;
  position: relative;
}
.strength__no {
  display: block;
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 12px;
}
.strength__no::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--sage);
  margin-top: 12px;
}
.strength__title { font-size: 18px; letter-spacing: 0.04em; margin-bottom: 10px; color: var(--text-strong); }
.strength__text { font-size: 14px; color: var(--text-secondary); line-height: 1.95; }

/* ---------- 10. サービスカード ---------- */
.cards { display: grid; gap: 20px; }
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  color: var(--text);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); color: var(--text); }
.card__thumb { display: block; position: relative; aspect-ratio: 3 / 2; background: var(--bg-warm); }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 20px 20px; }
.card__title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--text-strong);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.card__text { display: block; font-size: 14px; line-height: 1.95; color: var(--text-secondary); flex: 1; }
.card__badge {
  display: inline-block;
  align-self: flex-start;
  margin-top: 14px;
  background: var(--sage-pale);
  color: var(--blue-dark);
  border-radius: var(--r-sm);
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.card__more {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}
.card__more::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--blue);
  opacity: 0.35;
  transition: opacity 0.25s;
}
.card:hover .card__more::after { opacity: 1; }

/* ---------- 11. 会社紹介 ---------- */
.about { display: grid; gap: 28px; align-items: center; }
.about__figure { position: relative; margin: 0; }
.about__figure-frame { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.about__figure-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__years {
  position: absolute;
  right: 14px;
  bottom: -18px;
  background: var(--blue-dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  text-align: center;
  line-height: 1.2;
  box-shadow: var(--shadow-soft);
}
.about__years b { display: block; font-family: var(--font-en); font-size: 30px; font-weight: 600; }
.about__years b small { font-size: 14px; margin-left: 2px; font-family: var(--font-sans); }
.about__years span { font-size: 10.5px; letter-spacing: 0.12em; color: var(--sage); }
.about__en {
  display: block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}
.about__title {
  font-size: 22px;
  line-height: 1.65;
  letter-spacing: 0.06em;
  color: var(--text-strong);
  margin-bottom: 18px;
}
.about__text { font-size: 14.5px; color: var(--text-secondary); line-height: 2.05; }

/* ---------- 12. 数字の帯 ---------- */
.band {
  position: relative;
  overflow: hidden;
  background: var(--blue-dark);
  color: #fff;
}
.band__bg { position: absolute; inset: -14% 0; z-index: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.18; }
.band::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(20, 40, 58, 0.92), rgba(40, 86, 122, 0.72));
}
.band__inner { position: relative; z-index: 2; padding-block: 48px; }
.band__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px; text-align: center; }
.band__num {
  display: block;
  font-family: var(--font-en);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  letter-spacing: 0.02em;
}
.band__num small { font-family: var(--font-sans); font-size: 15px; font-weight: 700; margin-left: 3px; color: var(--sage); }
.band__label { font-size: 12px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.82); }

/* ---------- 13. 料金表 ----------
   SPでは横スクロールさせず、1件ずつのカードに積み替える（下の @media 参照）。 */
.pricetable-scroll {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.pricetable { width: 100%; font-size: 14.5px; }
.pricetable th, .pricetable td {
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  text-align: left;
  vertical-align: middle;
}
.pricetable thead th {
  background: var(--bg-warm);
  color: var(--text-strong);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.pricetable tbody tr:last-child td { border-bottom: 0; }
.pricetable tbody tr:hover { background: var(--sage-pale); }
.pricetable td:first-child {
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.6;
}
/* 金額の欄。確定前は「確認中」のバッジで見せる */
.pricetable td.is-price {
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
  font-size: 17px;
}
.pricetable td.is-price .tbd {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
}
.pricetable td:last-child { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

.note { font-size: 12.5px; color: var(--text-secondary); margin-top: 16px; line-height: 1.9; }

/* SP：表を積み替えてカードにする（横スクロールを起こさない） */
@media (max-width: 767px) {
  .pricetable-scroll { border: 0; background: none; }
  .pricetable thead { display: none; }
  .pricetable, .pricetable tbody, .pricetable tr, .pricetable td { display: block; width: 100%; }
  .pricetable tr {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 16px 18px;
    margin-bottom: 12px;
  }
  .pricetable tr:last-child { margin-bottom: 0; }
  .pricetable tr:hover { background: #fff; }
  .pricetable td { border: 0; padding: 0; }
  .pricetable td:first-child {
    font-size: 15.5px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  /* 2列目以降は「見出し：値」の形にする */
  .pricetable td[data-label] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-top: 6px;
  }
  .pricetable td[data-label]::before {
    content: attr(data-label);
    flex: none;
    width: 5.5em;
    font-family: var(--font-sans);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
  }
}

/* ---------- 14. 対応エリア ---------- */
.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.area {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-strong);
}
.area small {
  display: block;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--blue);
  margin-top: 2px;
}

/* ---------- 15. ご依頼の流れ ---------- */
.flow { position: relative; display: grid; gap: 20px; counter-reset: flow; }
.flow::before {
  content: "";
  position: absolute;
  left: 19px; top: 20px; bottom: 20px;
  border-left: 1px dashed var(--sage);
}
.flow__item { position: relative; padding-left: 58px; }
.flow__item::before {
  counter-increment: flow;
  content: "0" counter(flow);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 13px;
}
.flow__title { font-size: 16px; letter-spacing: 0.04em; padding-top: 6px; margin-bottom: 4px; color: var(--text-strong); }
.flow__text { font-size: 13.5px; color: var(--text-secondary); }

/* ---------- 16. よくある質問 ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 18px;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  color: var(--text-strong);
  text-align: left;
  cursor: pointer;
  line-height: 1.7;
}
.faq__q::before {
  content: "Q";
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--blue);
  flex: none;
}
.faq__q::after {
  content: "";
  margin-left: auto;
  flex: none;
  width: 9px; height: 9px;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: rotate(45deg);
  transition: transform 0.25s;
  margin-top: 8px;
}
.faq__q[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 12px; }
.faq__a {
  display: none;
  padding: 0 18px 17px 44px;
  font-size: 14.5px;
  color: var(--text-secondary);
  position: relative;
}
.faq__a::before {
  content: "A";
  position: absolute;
  left: 18px;
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--sage);
}
.faq__a.is-open { display: block; }

/* ---------- 17. 会社概要 ---------- */
.deflist { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.deflist__row { display: grid; grid-template-columns: 96px 1fr; border-bottom: 1px solid var(--line); }
.deflist__row:last-child { border-bottom: 0; }
.deflist__key {
  background: var(--bg-warm);
  padding: 14px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-strong);
}
.deflist__val { padding: 14px 16px; font-size: 14.5px; }

/* ---------- 18. CTAの帯 ---------- */
.cta-band { background: var(--blue); color: #fff; }
.cta-band__inner { padding-block: 52px; text-align: center; }
.cta-band__en {
  display: block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 6px;
}
.cta-band__title { font-size: 22px; letter-spacing: 0.08em; margin-bottom: 14px; }
.cta-band__lead { font-size: 14.5px; color: rgba(255, 255, 255, 0.92); margin-bottom: var(--sp-lg); }
.cta-band__tel { margin-bottom: var(--sp-md); }
.cta-band__tel-num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}
.cta-band__tel-num:hover { color: #fff; opacity: 0.85; }
.cta-band__tel-num svg { width: 30px; height: 30px; fill: currentColor; }
.cta-band__note { font-size: 12px; color: rgba(255, 255, 255, 0.82); line-height: 1.9; margin-top: 8px; }
.cta-band .btn { background: transparent; border-color: #fff; color: #fff; }
.cta-band .btn:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.cta-band .btn--solid { background: #fff; border-color: #fff; color: var(--blue-dark); }
.cta-band .btn--solid:hover { background: rgba(255, 255, 255, 0.88); color: var(--blue-dark); }
.cta-band__buttons { display: grid; gap: 12px; max-width: 420px; margin-inline: auto; }

/* ---------- 19. フッター ---------- */
.footer { background: var(--blue-deep); color: rgba(255, 255, 255, 0.72); padding-block: 44px 24px; font-size: 13.5px; }
.footer a { color: rgba(255, 255, 255, 0.72); }
.footer a:hover { color: #fff; }
.footer__brand { margin-bottom: 26px; }
.footer__name { font-size: 17px; letter-spacing: 0.08em; color: #fff; margin-bottom: 10px; }
.footer__addr { line-height: 2; }
.footer__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 16px; margin-bottom: 26px; }
.footer__nav a { display: block; padding: 7px 0; }
.footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 20. 追従電話バー（SP専用） ---------- */
.telbar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 60% 40%;
  height: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -2px 14px rgba(20, 40, 58, 0.22);
}
.telbar__tel, .telbar__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-weight: 700;
  line-height: 1.25;
}
.telbar__tel { background: var(--blue-dark); color: #fff; }
.telbar__tel:hover { background: var(--blue-deep); color: #fff; }
.telbar__form { background: #fff; color: var(--blue-dark); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.telbar__form:hover { color: var(--blue); }
.telbar__label { font-size: 10.5px; font-weight: 500; opacity: 0.9; letter-spacing: 0.06em; }
.telbar__num { font-family: var(--font-en); font-size: 21px; font-weight: 600; }
.telbar__main { font-size: 13.5px; }

/* 読み進みバーの色 */
.yr-progress { background: linear-gradient(90deg, var(--blue-dark), var(--sage)); }

/* ============================================================
   下層ページ用
   ============================================================ */
.page-hero { position: relative; overflow: hidden; background: var(--blue-dark); color: #fff; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(20, 40, 58, 0.86), rgba(40, 86, 122, 0.72));
}
.page-hero__inner { position: relative; z-index: 2; padding-block: 44px; text-align: center; }
.page-hero__en {
  display: block; font-family: var(--font-en);
  font-size: 12px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 6px;
}
.page-hero__title { font-size: 24px; letter-spacing: 0.08em; }

.breadcrumb { background: var(--bg-warm); border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  padding-block: 11px; font-size: 12.5px; color: var(--text-secondary);
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "›"; color: var(--text-secondary); }

.prose { font-size: 15px; }
.prose h2 {
  font-size: 21px; letter-spacing: 0.06em;
  margin: 44px 0 16px; padding-left: 14px;
  border-left: 4px solid var(--blue); line-height: 1.5; color: var(--text-strong);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 28px 0 10px; color: var(--blue-dark); }
.prose p { margin-bottom: 1.3em; }
.prose > ul { margin-bottom: 1.4em; }
.prose > ul > li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.prose > ul > li::before {
  content: ""; position: absolute; left: 4px; top: 12px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--sage);
}

.symptoms { display: grid; gap: 10px; background: var(--sage-pale); border-radius: var(--r-md); padding: 22px; }
.symptoms__title { font-size: 16px; letter-spacing: 0.06em; margin-bottom: 4px; color: var(--text-strong); }
.symptoms li { position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.8; }
.symptoms li::before {
  content: ""; position: absolute; left: 4px; top: 7px;
  width: 13px; height: 7px;
  border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg);
}

.taglist { display: flex; flex-wrap: wrap; gap: 8px; }
.taglist li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 6px 14px; font-size: 13.5px;
}

.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 6px; }
.form__label { font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.form__req { background: var(--blue); color: #fff; border-radius: var(--r-sm); padding: 1px 7px; font-size: 10.5px; font-weight: 700; }
.form__any { background: var(--bg-warm); color: var(--text-secondary); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1px 7px; font-size: 10.5px; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"],
.form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px;
  color: var(--text); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: 2px solid var(--sage-pale); }
.form__hint { font-size: 12.5px; color: var(--text-secondary); }
.form__agree { background: var(--bg-warm); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; font-size: 13.5px; }
.form__agree label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.notice { background: var(--sage-pale); border: 1px solid var(--sage); border-radius: var(--r-md); padding: 14px 16px; font-size: 13.5px; color: var(--text); }

.servicenav { display: grid; gap: 10px; }
.servicenav a {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px 16px; color: var(--text-strong); font-weight: 700; font-size: 14.5px;
}
.servicenav a:hover { border-color: var(--blue); color: var(--blue); }
.servicenav svg { width: 28px; height: 28px; flex: none; stroke: var(--blue-dark); fill: none; stroke-width: 1.5; }
.servicenav span { margin-left: auto; color: var(--blue); font-family: var(--font-en); font-size: 12px; letter-spacing: 0.16em; }

/* お知らせ */
.newslist { display: grid; gap: 14px; }
.newsitem {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
}
.newsitem__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.newsitem__meta time {
  font-family: var(--font-en);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue);
}
.newsitem__cat {
  background: var(--sage-pale);
  color: var(--blue-dark);
  border-radius: var(--r-sm);
  padding: 2px 11px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.newsitem__title { font-size: 16.5px; line-height: 1.6; letter-spacing: 0.03em; color: var(--text-strong); }
.newsitem__body { margin-top: 10px; font-size: 14px; color: var(--text-secondary); line-height: 1.95; }

/* トップに出す最新のお知らせ（3件） */
.newsbrief { display: grid; gap: 2px; }
.newsbrief a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.newsbrief a:first-child { border-top: 1px solid var(--line); }
.newsbrief a:hover { color: var(--blue); background: var(--sage-pale); }
.newsbrief time {
  font-family: var(--font-en);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--blue); flex: none;
}
.newsbrief .cat {
  background: var(--sage-pale); color: var(--blue-dark);
  border-radius: var(--r-sm); padding: 1px 10px;
  font-size: 11px; font-weight: 700; flex: none;
}
.newsbrief .ttl { font-size: 14.5px; font-weight: 500; }

/* 写真グリッド（対応できる箇所を写真で見せる） */
.placegrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.placegrid__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.placegrid__thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.placegrid__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.placegrid__item:hover .placegrid__thumb img { transform: scale(1.05); }
.placegrid__cap {
  display: block;
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.placegrid__cap small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* 区ごとのアンカーへ飛ぶタイル */
.areajump { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.areajump a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-strong);
}
.areajump a:hover { border-color: var(--blue); background: var(--sage-pale); color: var(--blue-dark); }
.areajump small {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

/* 区ごとの詳細ブロック */
.areasec { scroll-margin-top: 90px; }
.areasec + .areasec { margin-top: 34px; }
.areasec__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--sage-pale);
}
.areasec__name { font-size: 21px; letter-spacing: 0.08em; color: var(--text-strong); }
.areasec__en {
  font-family: var(--font-en);
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--blue);
}
.areasec__count { margin-left: auto; font-size: 12px; color: var(--text-secondary); }
.areasec__note { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 14px; }

/* 対応エリアの区ごとの一覧 */
.arealist { display: grid; gap: 16px; }
.arealist__block { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; }
.arealist__name {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 18px; letter-spacing: 0.06em; color: var(--text-strong);
  margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.arealist__name small {
  font-family: var(--font-en); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue);
}
.arealist__towns { font-size: 13.5px; color: var(--text-secondary); line-height: 2.1; }

/* サイトマップ */
.sitemaplist { display: grid; gap: 26px; }
.sitemaplist__group > a {
  display: block; font-size: 16px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--text-strong); padding-bottom: 9px; border-bottom: 2px solid var(--sage-pale);
}
.sitemaplist__group > a:hover { color: var(--blue); }
.sitemaplist__child { margin-top: 6px; }
.sitemaplist__child a { display: block; position: relative; padding: 8px 0 8px 18px; font-size: 14px; color: var(--text); }
.sitemaplist__child a::before {
  content: ""; position: absolute; left: 2px; top: 20px;
  width: 8px; height: 1px; background: var(--sage);
}
.sitemaplist__child a:hover { color: var(--blue); }

/* 送信ボタン */
.form__submit { max-width: 380px; margin-inline: auto; width: 100%; }

/* 表の下の補足を並べる小さな箱 */
.infobox {
  background: var(--bg-warm); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 20px 22px;
}
.infobox__title { font-size: 15px; letter-spacing: 0.06em; color: var(--text-strong); margin-bottom: 8px; }
.infobox p, .infobox li { font-size: 13.5px; color: var(--text-secondary); line-height: 1.95; }

.notfound { text-align: center; padding-block: 60px; }
.notfound__code { font-family: var(--font-en); font-size: 64px; font-weight: 600; color: var(--sage); line-height: 1; }

/* ============================================================
   タブレット（768px〜）
   ============================================================ */
@media (min-width: 768px) {
  :root { --sp-section: 76px; }

  .section__title-jp { font-size: 28px; }
  .hero { min-height: 520px; }
  .hero__inner { padding-block: 72px; }
  .hero__title { font-size: 38px; }
  .hero__tel-num { font-size: 44px; }
  .hero__buttons { gap: 14px; }

  .quicknav__list { grid-template-columns: repeat(4, 1fr); }
  .quicknav__item { border-bottom: 0; }

  .trouble { grid-template-columns: repeat(3, 1fr); }
  .strengths { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr 1fr; gap: 48px; }
  .about__title { font-size: 26px; }
  .band__stats { grid-template-columns: repeat(4, 1fr); }
  .band__inner { padding-block: 58px; }
  .areas { grid-template-columns: repeat(5, 1fr); }

  .flow { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .flow::before { left: 10%; right: 10%; top: 20px; bottom: auto; border-left: 0; border-top: 1px dashed var(--sage); }
  .flow__item { padding-left: 0; text-align: center; }
  .flow__item::before { position: relative; left: auto; margin-inline: auto; }
  .flow__title { padding-top: 12px; }

  .cta-band__inner { padding-block: 64px; }
  .cta-band__title { font-size: 26px; }
  .cta-band__tel-num { font-size: 48px; }
  .cta-band__buttons { grid-template-columns: 1fr 1fr; max-width: 560px; }
  .footer__nav { grid-template-columns: repeat(4, 1fr); }
  .deflist__row { grid-template-columns: 150px 1fr; }

  .page-hero__inner { padding-block: 60px; }
  .page-hero__title { font-size: 30px; }
  .servicenav { grid-template-columns: repeat(3, 1fr); }
  .prose h2 { font-size: 24px; }
  .arealist { grid-template-columns: repeat(2, 1fr); }
  .sitemaplist { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PC（1024px〜）
   ============================================================ */
@media (min-width: 1024px) {
  :root { --sp-section: 90px; }

  body { padding-bottom: 0; }
  .telbar { display: none; }

  .header__inner { min-height: 76px; }
  .logo__name { font-size: 19px; }
  .navtoggle { display: none; }

  .gnav {
    display: block; position: static; background: none;
    border: 0; box-shadow: none; padding: 0; margin-left: auto;
  }
  .gnav__list { grid-auto-flow: column; gap: 2px; }
  .gnav__list a {
    position: relative;
    padding: 8px 13px; border: 0;
    font-size: 14px; letter-spacing: 0.06em; white-space: nowrap;
  }
  .gnav__list a::after {
    content: ""; position: absolute;
    inset-inline: 13px; bottom: 2px; height: 2px;
    background: var(--blue);
    transform: scaleX(0); transform-origin: 0 50%;
    transition: transform 0.25s;
  }
  .gnav__list a:hover::after { transform: scaleX(1); }

  .header__tel {
    display: block; text-align: right;
    padding-left: 18px; border-left: 1px solid var(--line); margin-left: 14px;
  }
  .header__tel-num {
    display: block;
    font-family: var(--font-en);
    font-size: 22px; font-weight: 600;
    color: var(--blue-dark); line-height: 1.2;
  }
  .header__tel-num:hover { color: var(--blue); }
  .header__tel-note { display: block; font-size: 10.5px; letter-spacing: 0.08em; color: var(--text-secondary); }

  .hero { min-height: 580px; }
  .hero__inner { padding-block: 88px; }
  .hero__title { font-size: 46px; letter-spacing: 0.1em; }
  .hero__sub { font-size: 15px; }
  .hero__tel-num { font-size: 50px; }
  .hero .hero__cue {
    display: inline-flex;
    position: absolute; left: 50%; bottom: 22px;
    transform: translateX(-50%); z-index: 2;
    color: rgba(255, 255, 255, 0.8);
  }

  .trouble { grid-template-columns: repeat(6, 1fr); }
  .cards { grid-template-columns: repeat(4, 1fr); }
}

/* 動きを減らす設定への配慮 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ===== 料金の起点（作業料金 5,000円～） ===== */
.pricelead {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  background: var(--sage-pale);
  border-left: 3px solid var(--blue);
  padding: clamp(18px, 2.2vw, 24px) clamp(18px, 2.6vw, 28px);
  margin-bottom: 26px;
}
.pricelead__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-dark);
}
.pricelead__num {
  font-family: var(--font-en);
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--blue-dark);
}
.pricelead__num small {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  margin-left: 3px;
}
.pricelead__note {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.85;
}
