@charset "utf-8";

/* =========================================================
   橋間塗装店 公式サイト
   base -> layout -> components -> sections -> responsive
   モバイルファースト。768px=タブレット / 1024px=PC
   ========================================================= */

/* ---------- design tokens ---------- */
:root {
  --navy: #143a5c;
  --navy-deep: #0d2840;
  --navy-soft: #2b5a83;
  --accent: #cf5f2c;
  --accent-deep: #b04d1f;
  --accent-pale: #fbeee5;
  --line-green: #06c755;
  --line-green-deep: #05a948;
  --cream: #faf7f2;
  --cream-deep: #f2ece2;
  --white: #ffffff;
  --ink: #22272d;
  --ink-soft: #4d5761;
  --muted: #6d7883;
  --border: #e2dbd0;
  --border-strong: #cfc5b6;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(20, 40, 60, .07);
  --shadow: 0 6px 24px rgba(20, 40, 60, .1);
  --shadow-lg: 0 16px 48px rgba(13, 40, 64, .18);

  --header-h: 60px;
  --sp-cta-h: 66px;
  /* iPhoneのホームバー分も含めた下部固定CTAの実高さ */
  --sp-cta-total: calc(66px + env(safe-area-inset-bottom));

  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
          "Yu Gothic", "YuGothic", "Meiryo", system-ui, -apple-system, sans-serif;
  --font-num: "Helvetica Neue", Arial, var(--font);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }
h1, h2, h3, h4 { line-height: 1.45; margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 18px;
}

.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;
}

/* skip link */
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px;
  border-radius: 0 0 8px 8px; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* =========================================================
   イントロ演出（初回訪問のみ）
   PC（1024px〜）＝横位置動画＋コピー
   スマホ（〜767px）＝縦位置動画のみ（タップでスキップ）
   ========================================================= */
.intro {
  position: fixed; inset: 0; z-index: 300;
  display: none;
  background: #08192a;
  color: #fff;
  align-items: center; justify-content: center;
  overflow: hidden;
}
.intro-active .intro { display: flex; }
.intro-active body { overflow: hidden; }

.intro-media { position: absolute; inset: 0; }
.intro-media video,
.intro-media .intro-fv {
  position: absolute; inset: 0;
  /* iPhoneのsafe areaも含めて画面いっぱいに敷く */
  width: 100%; height: 100%;
  object-fit: cover;
  background: #08192a;
}
/* 動画のあとに重ねるFV背景画像 */
.intro-media .intro-fv {
  opacity: 0;
  transition: opacity .55s ease;
}
.intro-media .intro-fv.is-shown { opacity: 1; }

/* 映像の上に敷くスクリーン。ローラーの軌跡を残しつつ文字を読ませる */
.intro-media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 50%, rgba(8, 25, 42, .5) 0%, rgba(8, 25, 42, .78) 70%, rgba(8, 25, 42, .9) 100%);
}

/* --- スマホ --- */
.intro-sp .intro { cursor: pointer; }
.intro-sp .intro-copy-pc { display: none; }
/* 動画の再生中はスクリーンなし。コピーが出るタイミングで敷く */
.intro-sp .intro-media::after {
  opacity: 0;
  transition: opacity .55s ease;
  background: linear-gradient(180deg, rgba(8, 25, 42, .55) 0%, rgba(8, 25, 42, .72) 55%, rgba(8, 25, 42, .84) 100%);
}
.intro-sp .intro.is-copy .intro-media::after { opacity: 1; }

/* --- PC --- */
.intro-pc .intro-copy-sp { display: none; }

.intro-copy {
  position: relative; z-index: 2;
  text-align: center;
  padding: 24px;
}
.intro-line {
  margin: 0 0 .55em;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s ease, transform .9s ease;
  letter-spacing: .12em;
}
.intro-line.is-shown { opacity: 1; transform: translateY(0); }
.intro-line-1 { font-size: 18px; color: #f0d8c4; }
.intro-line-2 { font-size: 30px; font-weight: 700; }
.intro-line-3 {
  font-size: 40px; font-weight: 700;
  letter-spacing: .2em;
  border-top: 1px solid rgba(255, 255, 255, .35);
  padding-top: .5em;
  margin-top: .3em;
}
.intro-line-3 small {
  display: block;
  font-size: 14px; font-weight: 400;
  letter-spacing: .18em;
  color: #d8e2ea;
  margin-top: .6em;
}

/* スマホ用コピー。狭い画面でも読める大きさに抑える */
.intro-copy-sp { padding: 24px 22px; }
.intro-copy-sp .intro-line {
  margin: 0 0 1em;
  letter-spacing: .06em;
  line-height: 1.6;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
.intro-copy-sp .intro-line:last-child { margin-bottom: 0; }
.intro-line-a {
  font-size: 24px; font-weight: 700;
  padding-bottom: .6em;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
}
.intro-line-b { font-size: 19px; color: #f0d8c4; }
.intro-line-c { font-size: 24px; font-weight: 700; }

.intro-skip {
  position: absolute; z-index: 3;
  right: calc(20px + env(safe-area-inset-right));
  bottom: calc(24px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
  font-size: 13px; letter-spacing: .08em;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s;
}
.intro-skip:hover { background: rgba(255, 255, 255, .26); }
/* スマホは画面のどこをタップしてもスキップできるので、表示は控えめにする */
.intro-sp .intro-skip {
  left: 50%; right: auto; transform: translateX(-50%);
  font-size: 12px; padding: 8px 20px;
  background: rgba(255, 255, 255, .16);
}

.intro.is-closing { opacity: 0; transition: opacity .28s ease; pointer-events: none; }

/* =========================================================
   ボタン
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  font-size: 15px; font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn .btn-sub {
  display: block;
  font-size: 11px; font-weight: 500;
  letter-spacing: .02em;
  opacity: .9;
  margin-top: 2px;
}
.btn-stack { flex-direction: column; gap: 0; padding-block: 11px; }

.btn-tel   { background: var(--accent); color: #fff; }
.btn-tel:hover { background: var(--accent-deep); }
.btn-line  { background: var(--line-green); color: #fff; }
.btn-line:hover { background: var(--line-green-deep); }
.btn-mail  { background: var(--navy); color: #fff; }
.btn-mail:hover { background: var(--navy-deep); }
.btn-ghost {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy); box-shadow: none;
}
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 17px 30px; font-size: 17px; width: 100%; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--navy);
}
/* シンボルマーク。スマホ40px／PC52pxで表示する */
.brand-logo {
  height: 40px; width: auto; flex: none;
  display: block;
}
.brand-text strong { display: block; font-size: 18px; letter-spacing: .04em; }
.brand-text small {
  /* スマホはロゴ＋店名だけに絞る */
  display: none;
  font-size: 10.5px; line-height: 1.4;
  color: var(--muted); letter-spacing: .01em;
}

.gnav { display: none; }
.header-cta { display: none; }

.menu-toggle {
  width: 44px; height: 44px; flex: none;
  /* place-content: center を付けないと行が引き伸ばされ、×印がずれる */
  display: grid; place-items: center; place-content: center; gap: 5px;
  background: transparent; border: 0; cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 14px 18px 22px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.drawer[hidden] { display: none; }
.drawer-nav { display: grid; gap: 2px; margin-bottom: 16px; }
.drawer-nav a {
  padding: 12px 6px;
  border-bottom: 1px solid var(--cream-deep);
  text-decoration: none; font-weight: 700; font-size: 15px;
}
.drawer-nav a[aria-disabled="true"] { color: var(--muted); font-weight: 500; }
.drawer-nav .soon {
  font-size: 11px; font-weight: 400; color: var(--muted);
  margin-left: 6px;
}
.drawer-cta { display: grid; gap: 9px; }

/* =========================================================
   PC右側 固定サイドCTA
   ========================================================= */
.side-cta { display: none; }

/* =========================================================
   スマホ下部 固定CTA
   ========================================================= */
.sp-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  box-shadow: 0 -4px 18px rgba(20, 40, 60, .14);
  padding-bottom: env(safe-area-inset-bottom);
}
.sp-cta a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  min-height: var(--sp-cta-h);
  text-decoration: none; color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.sp-cta a .icon { width: 20px; height: 20px; }
.sp-cta .c-tel  { background: var(--accent); }
.sp-cta .c-line { background: var(--line-green); }
.sp-cta .c-form { background: var(--navy); }
body { padding-bottom: var(--sp-cta-total); }

/* =========================================================
   ファーストビュー
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--navy-deep); }
.hero-media { position: absolute; inset: 0; }
.hero-media picture,
.hero-media .hero-slide {
  position: absolute; inset: 0;
  display: block;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 42%;
}
.hero-media .hero-slide { opacity: 0; transition: opacity 1.6s ease; }
.hero-media .hero-slide.is-active,
.hero-media picture { opacity: 1; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 30, 50, .74) 0%, rgba(10, 30, 50, .52) 45%, rgba(10, 30, 50, .82) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  color: #fff;
  padding-top: 22px;
  /* 下部固定CTAに文字が押されないよう、下に逃げ幅を確保する */
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
  min-height: 72vh;
  display: flex; flex-direction: column; justify-content: center;
}
/* iPhone Safariのアドレスバー表示時でも下が欠けないよう svh を使う */
@supports (height: 100svh) {
  .hero-inner { min-height: calc(100svh - var(--header-h)); }
}
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}
.hero-badges span {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0;
  white-space: nowrap;
}
.hero-badges .is-accent { background: var(--accent); border-color: var(--accent); }
/* スマホ専用の改行。PC・タブレットでは効かせない */
.br-sp { display: none; }
.hero h1 {
  font-size: 30px;
  line-height: 1.38;
  letter-spacing: .01em;
  margin-bottom: 14px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.hero h1 .em {
  color: #ffd9b8;
}
.hero h1 .hero-sub {
  display: block;
  font-size: 15px; font-weight: 700;
  letter-spacing: .06em;
  color: #ffd9b8;
  margin-bottom: 8px;
}
.hero-lead {
  font-size: 14px;
  line-height: 1.8;
  color: #eaf0f5;
  margin-bottom: 18px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .4);
}
.hero-points {
  display: grid;
  gap: 6px 10px;
  margin-top: 18px;
}
/* CTAは下部固定バーに集約するため、スマホではFV内のボタンを出さない。
   .hero-points より後に書かないと display が上書きされる */
.hero-actions { display: none; }
.hero-points-pc { display: none; }
/* スマホの安心訴求は1列。薄いパネルを敷いて読みやすくする */
.hero-points-sp {
  gap: 9px;
  background: rgba(9, 27, 45, .42);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  padding: 14px 16px;
}
.hero-points li {
  position: relative;
  padding-left: 24px;
  font-size: 13.5px; font-weight: 700;
  line-height: 1.5;
  color: #fff;
}
.hero-points li::before {
  content: "";
  position: absolute; left: 0; top: .28em;
  width: 17px; height: 17px;
  background: var(--accent);
  border-radius: 50%;
}
.hero-points li::after {
  content: "";
  position: absolute; left: 5px; top: .58em;
  width: 6px; height: 3px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* 下部固定CTAへの誘導文 */
.hero-cta-note {
  display: flex; align-items: center; gap: 7px;
  margin: 14px 0 0;
  font-size: 13px; font-weight: 700;
  letter-spacing: .01em;
  color: #ffd9b8;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.hero-cta-note::after {
  content: "";
  width: 9px; height: 9px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  animation: ctaBounce 1.6s ease-in-out infinite;
}
@keyframes ctaBounce {
  0%, 100% { transform: translateY(-4px) rotate(45deg); }
  50%      { transform: translateY(1px) rotate(45deg); }
}

/* 電話直通バー（FV直下） */
.tel-bar { background: var(--navy-deep); color: #fff; }
.tel-bar-inner {
  display: grid; gap: 10px;
  padding-block: 16px 18px;
  text-align: center;
}
.tel-bar .tel-label {
  font-size: 12.5px; letter-spacing: .04em; color: #c8d8e4; margin: 0;
}
.tel-bar .tel-num {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-num);
  font-size: 30px; font-weight: 700; letter-spacing: .02em;
  color: #fff; text-decoration: none;
  margin: 0;
}
.tel-bar .tel-note { font-size: 11.5px; color: #b9cad8; margin: 0; }

/* =========================================================
   セクション共通
   ========================================================= */
.section { padding: 46px 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: #fff; }

.section-label {
  display: block;
  font-family: var(--font-num);
  font-size: 11px; font-weight: 700; letter-spacing: .22em;
  color: var(--accent);
  margin: 0 0 6px;
}
.section-navy .section-label { color: #ffc79c; }
.section-head { margin-bottom: 24px; }
.section-head.is-center { text-align: center; }
.section-head h2 {
  font-size: 22px;
  letter-spacing: .01em;
  margin-bottom: 10px;
}
.section-head h2 .em {
  background: linear-gradient(transparent 62%, var(--accent-pale) 62%);
}
.section-navy .section-head h2 .em { background: none; color: #ffd9b8; }
.section-head p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}
.section-navy .section-head p { color: #d6e2ec; }

.note {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
  margin: 12px 0 0;
}

/* 横スライダー（スマホ） */
.scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  margin-inline: -18px;
  padding-inline: 18px;
  scrollbar-width: thin;
}
.scroller > * { scroll-snap-align: start; }

/* =========================================================
   信頼バー
   ========================================================= */
.trust { background: var(--cream); border-bottom: 1px solid var(--border); }
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-block: 20px;
  text-align: center;
}
.trust-grid > div { padding: 0 4px; }
.trust-num {
  display: block;
  font-family: var(--font-num);
  font-size: 27px; font-weight: 700; line-height: 1.2;
  color: var(--navy);
}
.trust-num small { font-size: 13px; margin-left: 2px; }
.trust-cap { display: block; font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; }

/* =========================================================
   症状チェック
   ========================================================= */
.check-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
  box-shadow: var(--shadow-sm);
}
.check-card h3 {
  font-size: 15.5px;
  color: var(--navy);
  margin-bottom: 7px;
  padding-left: 26px;
  position: relative;
}
.check-card h3::before {
  content: "";
  position: absolute; left: 0; top: .15em;
  width: 18px; height: 18px;
  border: 2px solid var(--accent);
  border-radius: 4px;
}
.check-card h3::after {
  content: "";
  position: absolute; left: 4px; top: .38em;
  width: 9px; height: 5px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}
.check-card p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* 代表的な症状の実例写真 */
.check-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
.check-photos figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.check-photos img { width: 100%; height: auto; }
.check-photos figcaption {
  padding: 9px 11px 11px;
  font-size: 12px; line-height: 1.6;
  color: var(--ink-soft);
}
.check-photos figcaption strong { display: block; color: var(--navy); font-size: 13.5px; }

.check-alert {
  margin-top: 20px;
  background: var(--accent-pale);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 16px 18px;
}
.check-alert h3 { font-size: 15.5px; color: var(--accent-deep); margin-bottom: 8px; }
.check-alert p { font-size: 13.5px; margin-bottom: 14px; }
.check-alert .btn { width: 100%; }

/* =========================================================
   選ばれる理由
   ========================================================= */
.reason-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.reason-photo img { width: 100%; height: auto; }

/* ご相談の流れの導入写真 */
.flow-photo {
  margin: 0 0 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.flow-photo img { width: 100%; height: auto; }
.reason-lead {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.75;
}
.reason-list { display: grid; gap: 12px; margin-top: 20px; }
.reason-list article {
  display: flex; gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 15px 16px;
}
.reason-list .no {
  flex: none;
  font-family: var(--font-num);
  font-size: 20px; font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}
.reason-list h3 { font-size: 15px; color: var(--navy); margin-bottom: 5px; }
.reason-list p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* 代表あいさつ */
.greeting {
  margin-top: 24px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 18px;
}
.greeting h3 { font-size: 17px; margin-bottom: 12px; color: #ffd9b8; }
.greeting p { font-size: 13.5px; color: #e3ecf3; }
.greeting .sign {
  display: block;
  text-align: right;
  font-size: 13px;
  color: #fff;
  margin: 14px 0 0;
}
.greeting .sign strong { font-size: 17px; margin-left: 6px; letter-spacing: .06em; }

/* =========================================================
   施工内容
   ========================================================= */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-card .body { padding: 15px 15px 18px; flex: 1; display: flex; flex-direction: column; }
.service-card .en {
  font-family: var(--font-num);
  font-size: 10px; letter-spacing: .18em; color: var(--accent); font-weight: 700;
}
.service-card h3 { font-size: 17px; color: var(--navy); margin: 4px 0 8px; }
.service-card p { font-size: 13px; color: var(--ink-soft); margin: 0 0 12px; }
.service-card ul { display: grid; gap: 4px; margin-top: auto; }
.service-card li {
  font-size: 12px; color: var(--ink-soft);
  padding-left: 14px; position: relative;
}
.service-card li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}

/* =========================================================
   料金
   ========================================================= */
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.is-featured { border: 2px solid var(--accent); }
.price-card .tag {
  display: inline-block;
  align-self: center;
  background: var(--cream-deep); color: var(--navy);
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 10px;
}
.price-card.is-featured .tag { background: var(--accent); color: #fff; }
.price-card h3 { font-size: 16px; color: var(--navy); margin-bottom: 10px; }
.price-num {
  font-family: var(--font-num);
  font-size: 34px; font-weight: 700; line-height: 1.1;
  color: var(--accent);
  margin: 0 0 4px;
}
.price-num .unit { font-size: 14px; font-family: var(--font); color: var(--ink); margin-left: 2px; }
.price-card .from { font-size: 11.5px; color: var(--muted); margin: 0 0 12px; }
.price-card ul {
  display: grid; gap: 5px;
  text-align: left;
  border-top: 1px dashed var(--border-strong);
  padding-top: 12px;
  margin-bottom: 12px;
}
.price-card li {
  font-size: 12.5px; color: var(--ink-soft);
  padding-left: 15px; position: relative;
}
.price-card li::before {
  content: "";
  position: absolute; left: 1px; top: .5em;
  width: 8px; height: 4px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price-card .card-note {
  margin: auto 0 0;
  font-size: 11px; color: var(--muted);
  background: var(--cream); border-radius: 8px; padding: 7px 8px;
}

.price-include {
  margin-top: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
}
.price-include h3 { font-size: 15.5px; color: var(--navy); margin-bottom: 8px; }
.price-include p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* 塗料テーブル */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-inline: -18px;
  padding-inline: 18px;
}
.paint-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 13px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.paint-table th, .paint-table td {
  border: 1px solid var(--border);
  padding: 11px 12px;
  text-align: left;
  vertical-align: middle;
}
.paint-table thead th {
  background: var(--navy); color: #fff;
  font-size: 12.5px; font-weight: 700;
  white-space: nowrap;
}
.paint-table tbody th { background: var(--cream); color: var(--navy); white-space: nowrap; }
.paint-table tbody tr:nth-child(even) td { background: #fcfaf7; }
.table-hint { font-size: 11.5px; color: var(--muted); margin: 8px 0 0; }

/* =========================================================
   施工イメージ（カルーセル）
   ========================================================= */
.works-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
/* ビフォーアフター画像はスマホ＝縦組み／PC＝横組みの別素材。
   切れると意味がなくなるため、比率は素材そのままに表示する */
.works-card img { width: 100%; height: auto; }
.works-card .body { padding: 13px 14px 16px; }
.works-card h3 { font-size: 15px; color: var(--navy); margin-bottom: 5px; }
.works-card p { font-size: 12.5px; color: var(--ink-soft); margin: 0; }

.carousel { position: relative; }
.carousel-nav { display: none; }
/* カルーセル内は全幅で横スライドを維持する（.scrollerのグリッド化を打ち消す） */
.carousel .scroller {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: 78%;
  overflow-x: auto;
  /* 説明文の行数が違ってもカードの高さを揃える */
  align-items: stretch;
  /* 位置はドットで示すため、スクロールバーは隠す */
  scrollbar-width: none;
}
.carousel .scroller::-webkit-scrollbar { display: none; }
.carousel-dots {
  display: flex; justify-content: center; gap: 7px;
  margin-top: 4px;
}
.carousel-dots button {
  width: 8px; height: 8px; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: width .2s, background .2s;
}
.carousel-dots button.is-active { width: 22px; border-radius: 4px; background: var(--accent); }

.disclaimer {
  background: var(--cream-deep);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

/* =========================================================
   流れ
   ========================================================= */
.flow-list { display: grid; gap: 10px; }
.flow-list article {
  position: relative;
  display: flex; gap: 13px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px;
}
.flow-list .step {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy); color: #fff;
  font-family: var(--font-num);
  font-size: 15px; font-weight: 700;
}
.flow-list h3 { font-size: 15px; color: var(--navy); margin-bottom: 4px; }
.flow-list p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* =========================================================
   口コミ
   ========================================================= */
.review-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.review-box .stars {
  font-size: 22px; color: #f5a623; letter-spacing: .1em;
  margin: 0 0 6px;
}
.review-box h3 { font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.review-box p { font-size: 13.5px; color: var(--ink-soft); }

/* =========================================================
   エリア / 会社概要
   ========================================================= */
.area-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.area-tags span {
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 12.5px; font-weight: 700;
  color: var(--navy);
}
.company-table {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.company-table > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  border-bottom: 1px solid var(--border);
}
.company-table > div:last-child { border-bottom: 0; }
.company-table dt {
  background: var(--cream);
  padding: 11px 12px;
  font-size: 12.5px; font-weight: 700; color: var(--navy);
}
.company-table dd { padding: 11px 12px; font-size: 13px; }
.company-table dd a { color: var(--navy); }

.map-frame {
  margin-top: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--cream-deep);
}
.map-frame iframe { display: block; width: 100%; height: 260px; border: 0; }
.map-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px; font-weight: 700;
  color: var(--navy);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { display: grid; gap: 9px; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 44px 14px 40px;
  position: relative;
  font-size: 14.5px; font-weight: 700; color: var(--navy);
  line-height: 1.6;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: "Q";
  position: absolute; left: 14px; top: 13px;
  font-family: var(--font-num);
  font-size: 15px; font-weight: 700; color: var(--accent);
}
.faq-list summary::after {
  content: "";
  position: absolute; right: 18px; top: 20px;
  width: 10px; height: 10px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
  transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); top: 24px; }
.faq-list .answer {
  padding: 0 16px 15px 40px;
  position: relative;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}
.faq-list .answer::before {
  content: "A";
  position: absolute; left: 14px; top: 0;
  font-family: var(--font-num);
  font-size: 15px; font-weight: 700; color: var(--navy-soft);
}

/* =========================================================
   CTA帯 / 最終CTA
   ========================================================= */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  padding: 34px 0;
}
.cta-band h2 { font-size: 20px; margin-bottom: 8px; }
.cta-band h2 .em { color: #ffd9b8; }
.cta-band p { font-size: 13.5px; color: #dbe6ee; margin-bottom: 18px; }
.cta-band .cta-actions { display: grid; gap: 9px; }
.cta-tel-block {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  margin-bottom: 12px;
}
.cta-tel-block .label { font-size: 12px; color: #cfdde8; margin: 0 0 2px; }
.cta-tel-block .num {
  display: inline-block;
  font-family: var(--font-num);
  font-size: 28px; font-weight: 700; color: #fff;
  text-decoration: none;
  margin: 0;
}
.cta-tel-block .sub { font-size: 11.5px; color: #bed0dd; margin: 2px 0 0; }

/* =========================================================
   フッター
   ========================================================= */
.footer { background: var(--navy-deep); color: #cfdae4; padding: 34px 0 0; }
.footer a { color: #cfdae4; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 26px; }
.footer-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
/* フッターは背景が紺のため、ロゴを白い台紙に載せる */
.footer-logo {
  flex: none;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  background: #fff;
  border-radius: 11px;
}
.footer-logo img { height: 38px; width: auto; }
.footer-brand strong { color: #fff; font-size: 17px; letter-spacing: .04em; }
.footer-about p { font-size: 12.5px; line-height: 1.8; }
.footer h3 {
  font-size: 13px; color: #fff;
  letter-spacing: .06em;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  margin-bottom: 12px;
}
.footer-nav ul { display: grid; gap: 8px; }
.footer-nav a { font-size: 12.5px; }
.footer-nav .soon { font-size: 10.5px; color: #8ea3b5; margin-left: 5px; }
.footer-contact .f-tel {
  display: inline-block;
  font-family: var(--font-num);
  font-size: 24px; font-weight: 700; color: #fff;
  text-decoration: none;
  margin-bottom: 4px;
}
.footer-contact p { font-size: 12.5px; }
.footer-bottom {
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding: 14px 0;
}
.footer-bottom .container {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; justify-content: space-between;
}
.footer-bottom small { font-size: 11.5px; }

/* =========================================================
   下層ページ共通（ページヘッダー）
   ========================================================= */
.page-head {
  background: var(--navy);
  color: #fff;
  padding: 26px 0;
}
.page-head .section-label { color: #ffc79c; }
.page-head h1 { font-size: 23px; margin-bottom: 8px; }
.page-head p { font-size: 13.5px; color: #d6e2ec; margin: 0; }

.breadcrumb {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--muted);
  padding: 9px 0;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li::after { content: "›"; margin-left: 6px; color: var(--border-strong); }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb a { color: var(--navy); }

/* =========================================================
   プライバシーポリシーなどの規約ページ
   ========================================================= */
.legal { max-width: 780px; }
.legal-intro {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 14px;
  margin-bottom: 30px;
}
.legal-block { margin-bottom: 30px; }
.legal-block:last-of-type { margin-bottom: 22px; }
.legal-block h2 {
  font-size: 17px;
  color: var(--navy);
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--cream-deep);
}
.legal-block p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: .9em;
}
.legal-block p:last-child { margin-bottom: 0; }
.legal-list {
  display: grid; gap: 6px;
  margin: 0 0 .9em;
}
.legal-list li {
  position: relative;
  padding-left: 17px;
  font-size: 14px;
  color: var(--ink-soft);
}
.legal-list li::before {
  content: "";
  position: absolute; left: 2px; top: .68em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.legal .company-table { margin-top: 14px; }
.legal-date {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .legal-intro { padding: 20px 22px; font-size: 15px; }
  .legal-block h2 { font-size: 19px; }
  .legal-block p, .legal-list li { font-size: 15px; }
}

/* =========================================================
   お問い合わせフォーム
   ========================================================= */
.contact-lead {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
}
.contact-lead p { font-size: 13.5px; margin: 0 0 12px; }
.contact-lead p:last-child { margin-bottom: 0; }

.contact-choice { display: grid; gap: 10px; margin-bottom: 30px; }
.choice-card {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .2s;
}
.choice-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.choice-icon {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
}
.choice-icon .icon { width: 21px; height: 21px; }
.choice-tel  { background: var(--accent); }
.choice-line { background: var(--line-green); }
.choice-card h3 { font-size: 15px; color: var(--navy); margin-bottom: 3px; }
.choice-card .big {
  font-family: var(--font-num);
  font-size: 22px; font-weight: 700; color: var(--accent);
  line-height: 1.2;
  margin: 0 0 2px;
}
.choice-card p { font-size: 12px; color: var(--ink-soft); margin: 0; }

.form-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px 24px;
  box-shadow: var(--shadow-sm);
}
.form-field { margin-bottom: 20px; }
.form-field > label,
.form-field > .label {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 14px; font-weight: 700; color: var(--navy);
  margin-bottom: 7px;
}
.req, .any {
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  border-radius: 4px;
  padding: 2px 7px;
}
.req { background: var(--accent); color: #fff; }
.any { background: var(--cream-deep); color: var(--ink-soft); }
.form-help { font-size: 11.5px; color: var(--muted); margin: 0 0 7px; }

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px; /* iOSズーム防止 */
  line-height: 1.6;
  color: var(--ink);
  background: #fdfcfa;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 13px;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%),
                    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: right 18px center, right 13px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(20, 58, 92, .12);
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #d13b3b; background: #fdf5f5; }

.error-text {
  display: none;
  font-size: 12px; font-weight: 700; color: #c62b2b;
  margin: 6px 0 0;
}
.form-field.has-error .error-text { display: block; }

.radio-group { display: grid; gap: 8px; }
.radio-group.is-inline { grid-template-columns: repeat(2, 1fr); }
.radio-group label {
  display: flex; align-items: center; gap: 9px;
  background: #fdfcfa;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.radio-group input { accent-color: var(--navy); width: 18px; height: 18px; flex: none; }
.radio-group label:has(input:checked) {
  border-color: var(--navy);
  background: #f2f6fa;
  font-weight: 700;
}

.consent {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 18px;
}
.consent label {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px;
  cursor: pointer;
}
.consent input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--navy); }
.consent a { color: var(--navy); font-weight: 700; }
.consent .error-text { margin-left: 30px; }
.consent.has-error { background: #fdf5f5; }
.consent.has-error .error-text { display: block; }

.form-submit { display: grid; gap: 10px; }
.form-submit .btn[disabled] { opacity: .6; cursor: progress; }
.form-note { font-size: 11.5px; color: var(--muted); text-align: center; margin: 12px 0 0; }

.form-message {
  border-radius: var(--radius);
  padding: 16px;
  font-size: 13.5px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.form-message[hidden] { display: none; }
.form-message.is-ok { background: #eef8f0; border: 1px solid #9fd3ab; color: #1d6b32; }
.form-message.is-ng { background: #fdf1f1; border: 1px solid #e3a5a5; color: #a52121; }
.form-message strong { display: block; font-size: 15px; margin-bottom: 4px; }
.form-message a { color: inherit; font-weight: 700; }

/* =========================================================
   スマホ専用の調整
   縦位置素材はそのまま置くと画面を占有しすぎるため、高さを抑える
   ========================================================= */
/* スマホでは電話・LINEの導線をフォームより先に見せる */
@media (max-width: 1023px) {
  .contact-layout { display: flex; flex-direction: column; }
  .contact-side { display: contents; }
  .contact-choice { order: -1; }
}

@media (max-width: 767px) {
  .reason-photo img,
  .flow-photo img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 40%;
  }

  /* --- FVの見せ方 ---
     文字が乗る左だけを読みやすくし、右の職人・ローラー・外壁は見せる */
  .hero-media::after {
    background:
      linear-gradient(
        90deg,
        rgba(10, 31, 51, 0.74) 0%,
        rgba(10, 31, 51, 0.54) 45%,
        rgba(10, 31, 51, 0.24) 70%,
        rgba(10, 31, 51, 0.06) 100%
      ),
      linear-gradient(
        180deg,
        rgba(10, 31, 51, 0.04) 0%,
        rgba(10, 31, 51, 0.18) 55%,
        rgba(10, 31, 51, 0.44) 100%
      );
  }
  /* 職人の顔とローラーが右側に見える位置に合わせる */
  .hero-media img { object-position: 64% 44%; }

  /* ヘッダー直下から自然に始める。上部の余白を削る */
  .hero-inner {
    justify-content: flex-start;
    padding-top: clamp(24px, 5svh, 42px);
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  /* --- 文字サイズの階層 ---
     信頼タグ < 補足文 < サブコピー < メインコピー の順に強くする */

  /* 信頼タグ：小さく、透過ピル型、目立たせすぎない */
  .hero-badges { gap: 6px; margin-bottom: 12px; }
  .hero-badges span {
    font-size: 11px;
    padding: 6px 9px;
    line-height: 1;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .38);
  }
  .hero-badges .is-accent {
    background: rgba(207, 95, 44, .8);
    border-color: rgba(207, 95, 44, .9);
  }

  /* サブコピー：タグから余白を空けて、メインコピーへの導入として置く */
  .hero h1 .hero-sub {
    font-size: clamp(13px, 3.4vw, 15px);
    font-weight: 700;
    letter-spacing: .08em;
    color: #e9d3a8;
    margin-top: 20px;
    margin-bottom: 14px;
    padding-left: 22px;
    position: relative;
  }
  .hero h1 .hero-sub::before {
    content: "";
    position: absolute; left: 0; top: .62em;
    width: 14px; height: 1.5px;
    background: #e9d3a8;
  }

  /* メインコピー：FV内で最も大きく。3行構成を保てる上限まで拡大する */
  .br-sp { display: inline; }
  .hero h1 {
    font-size: clamp(34px, 9.4vw, 44px);
    line-height: 1.12;
    letter-spacing: .01em;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 24px;
    text-shadow: 0 3px 20px rgba(6, 20, 34, .55);
  }
  /* 「塗装」だけさらに大きく、アクセントカラーで見せる */
  .hero h1 .em {
    color: #e8753a;
    font-size: 1.35em;
    line-height: .9;
    display: inline-block;
  }

  /* 補足文：メインコピーから余白を空ける。主張しすぎない */
  .hero-lead {
    margin-top: 22px;
    margin-bottom: 24px;
    font-size: clamp(14px, 3.8vw, 16px);
    line-height: 1.85;
    max-width: 88%;
    color: #e7eef4;
  }

  /* 安心訴求：左半分程度に収め、背景の職人を隠さない */
  .hero-points-sp {
    width: fit-content;
    max-width: 64%;
    gap: 6px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 14px;
    padding: 12px 14px;
    margin-top: 26px;
    backdrop-filter: blur(4px);
  }
  .hero-points-sp li {
    font-size: 12px;
    line-height: 1.65;
    font-weight: 700;
    white-space: nowrap;
    padding-left: 20px;
  }
  .hero-points-sp li::before { width: 13px; height: 13px; top: .32em; }
  .hero-points-sp li::after { left: 4px; top: .55em; width: 5px; height: 2.5px; border-width: 2px; }

  /* CTA誘導文：人物の腰から下あたり、下部固定CTAの少し上に置く */
  .hero-cta-note {
    position: absolute;
    left: 20px;
    bottom: calc(96px + env(safe-area-inset-bottom));
    margin: 0;
    z-index: 2;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .02em;
    opacity: .9;
    color: #fff;
    text-shadow: 0 1px 8px rgba(6, 20, 34, .55);
  }
  .hero-cta-note::after { content: none; }
}

/* 画面の低い端末（iPhone SE など）は要素間を詰め、
   誘導文を通常フローに戻して下部固定CTAとの重なりを防ぐ */
@media (max-width: 767px) and (max-height: 719px) {
  .hero-inner {
    padding-top: 20px;
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }
  .hero h1 .hero-sub { margin-top: 14px; margin-bottom: 10px; }
  .hero h1 { margin-bottom: 16px; }
  .hero-lead { margin-top: 14px; margin-bottom: 16px; }
  .hero-points-sp { margin-top: 16px; }
  .hero-cta-note {
    position: static;
    margin-top: 14px;
  }
}

/* =========================================================
   タブレット（768px〜）
   ========================================================= */
@media (min-width: 768px) {
  body { font-size: 15.5px; }
  .container { padding-inline: 28px; }
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 27px; }
  .section-head p { font-size: 15px; }

  .hero h1 { font-size: 38px; }
  .hero h1 .hero-sub { font-size: 18px; }
  .hero-lead { font-size: 15px; }
  .hero-points-sp { grid-template-columns: repeat(3, 1fr); gap: 10px 18px; }

  .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .flow-list { grid-template-columns: repeat(2, 1fr); }

  .scroller {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
  }
  .scroller.scroller-2 { grid-template-columns: repeat(2, 1fr); }
  .carousel .scroller { grid-auto-columns: 46%; gap: 16px; }

  .brand-logo { height: 46px; }
  .brand-text small { display: block; }

  .trust-grid { padding-block: 26px; }
  .trust-num { font-size: 34px; }
  .trust-cap { font-size: 12.5px; }

  .check-alert { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
  .check-alert .txt p { margin-bottom: 0; }
  .check-alert .btn { width: auto; white-space: nowrap; }

  .table-wrap { margin-inline: 0; padding-inline: 0; }
  .paint-table { min-width: 0; font-size: 14px; }

  .cta-band { padding: 46px 0; }
  .cta-band h2 { font-size: 25px; }
  .cta-band-inner { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: center; }
  .cta-band .cta-actions { align-content: center; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-about { grid-column: 1 / -1; }

  .page-head { padding: 40px 0; }
  .page-head h1 { font-size: 30px; }

  .contact-choice { grid-template-columns: repeat(2, 1fr); }
  .form-block { padding: 30px 28px 34px; }
  .form-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
  .radio-group.is-inline { grid-template-columns: repeat(4, 1fr); }
  .form-submit { grid-template-columns: 320px; justify-content: center; }

  .greeting { padding: 30px 28px; }
}

/* =========================================================
   PC（1024px〜）
   ========================================================= */
@media (min-width: 1024px) {
  :root { --header-h: 84px; }

  body { font-size: 16px; padding-bottom: 0; }
  .container { padding-inline: 32px; }
  .section { padding: 84px 0; }
  .section-head h2 { font-size: 32px; }

  /* スマホ専用UIを隠す */
  .sp-cta { display: none; }
  .menu-toggle { display: none; }
  .drawer { display: none !important; }
  .sp-only { display: none !important; }

  /* ヘッダー。中身が多いのでコンテンツ幅より少し広く使う */
  .site-header .container { max-width: 1340px; }
  .header-inner { min-height: var(--header-h); gap: 18px; }
  .brand-logo { height: 52px; }
  .brand-text strong { font-size: 21px; }
  .brand-text small { display: block; font-size: 11.5px; }

  .gnav { display: block; margin-left: auto; }
  .gnav ul { display: flex; gap: 15px; }
  .gnav a {
    position: relative;
    font-size: 13.5px; font-weight: 700;
    white-space: nowrap;
    text-decoration: none; color: var(--navy);
    padding-bottom: 3px;
  }
  .gnav a::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 2px; background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform .2s;
  }
  .gnav a:hover::after { transform: scaleX(1); }
  .gnav a[aria-disabled="true"] { color: var(--muted); font-weight: 500; cursor: default; }
  .gnav a[aria-disabled="true"]::after { content: none; }

  .header-cta {
    display: flex; align-items: center; gap: 10px;
    padding-left: 14px;
    border-left: 1px solid var(--border);
    flex: none;
  }
  .header-tel { text-align: right; text-decoration: none; display: block; white-space: nowrap; }
  .header-tel .label {
    display: block;
    font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
    color: var(--white); background: var(--navy);
    border-radius: 3px;
    padding: 1px 6px;
    margin-bottom: 2px;
  }
  .header-tel .num {
    display: flex; align-items: center; gap: 5px;
    font-family: var(--font-num);
    font-size: 23px; font-weight: 700; line-height: 1.1;
    color: var(--navy);
    white-space: nowrap;
  }
  .header-tel .num .icon { width: 19px; height: 19px; flex: none; }
  .header-tel .sub { display: block; font-size: 10.5px; color: var(--muted); }
  .header-cta .btn { padding: 10px 15px; font-size: 13px; white-space: nowrap; }
  .brand-text small { white-space: nowrap; }

  /* 右側固定CTA */
  .side-cta {
    display: grid;
    gap: 8px;
    position: fixed;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    z-index: 80;
  }
  .side-cta a {
    display: grid; place-items: center; gap: 5px;
    width: 74px;
    padding: 14px 6px 13px;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    font-size: 12px; font-weight: 700; letter-spacing: .04em;
    line-height: 1.35;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform .18s ease, filter .18s ease;
  }
  .side-cta a:hover { transform: translateX(-4px); filter: brightness(1.07); }
  .side-cta .icon { width: 24px; height: 24px; }
  .side-cta .s-tel  { background: var(--accent); }
  .side-cta .s-line { background: var(--line-green); }
  .side-cta .s-form { background: var(--navy); }
  .side-cta .s-top {
    background: var(--white); color: var(--navy);
    border: 1px solid var(--border-strong);
    padding: 10px 6px; font-size: 11px;
  }

  /* FV */
  .hero-inner {
    padding-block: 76px 68px;
    min-height: calc(100vh - var(--header-h));
    max-height: 760px;
    display: flex; flex-direction: column; justify-content: center;
  }
  .hero-badges { gap: 8px; margin-bottom: 20px; }
  .hero-badges span { font-size: 13px; padding: 5px 16px; }
  .hero h1 { font-size: 52px; line-height: 1.32; margin-bottom: 20px; max-width: 20em; }
  .hero h1 .hero-sub { font-size: 21px; margin-bottom: 12px; }
  .hero-lead { font-size: 16.5px; max-width: 40em; margin-bottom: 28px; }
  /* PCはFV内にCTAを置く。スマホ向けの安心パネルと誘導文は出さない */
  .hero-points-sp,
  .hero-cta-note { display: none; }
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 240px));
    gap: 12px;
  }
  .hero-points-pc {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    gap: 8px 26px;
    margin-top: 28px;
  }
  .hero-points li { font-size: 14px; padding-left: 20px; }
  .hero-points li::before { width: 13px; height: 13px; top: .45em; }
  .hero-points li::after { left: 4px; top: .72em; width: 5px; height: 2.5px; }

  .tel-bar-inner {
    display: flex; align-items: center; justify-content: center; gap: 22px;
    padding-block: 20px;
    text-align: left;
  }
  .tel-bar .tel-num { font-size: 40px; }
  .tel-bar .tel-note { font-size: 13px; }

  /* レイアウト */
  .grid-2 { gap: 26px; }
  .grid-3 { gap: 24px; }
  .grid-6 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .scroller { gap: 24px; }
  .carousel .scroller { grid-auto-columns: 32%; gap: 24px; }
  .flow-list { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .two-col {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: start;
  }
  .two-col.is-reverse { grid-template-columns: 1.15fr 1fr; }
  .reason-photo { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 24px); }
  .reason-lead { font-size: 18px; }
  .reason-list article { padding: 20px 22px; gap: 16px; }
  .reason-list .no { font-size: 26px; }
  .reason-list h3 { font-size: 17px; }
  .reason-list p { font-size: 14px; }

  .service-card .body { padding: 22px 22px 26px; }
  .service-card h3 { font-size: 20px; }
  .service-card p, .service-card li { font-size: 14px; }

  .price-card { padding: 28px 22px 24px; }
  .price-card h3 { font-size: 18px; }
  .price-num { font-size: 42px; }
  .price-card li { font-size: 13.5px; }
  .price-include { padding: 26px; }

  .works-card .body { padding: 18px 20px 22px; }
  .works-card h3 { font-size: 17px; }
  .works-card p { font-size: 13.5px; }

  /* カルーセル矢印（PCのみ） */
  .carousel-nav {
    display: block;
    position: absolute; top: 32%;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, .95);
    color: var(--navy);
    font-size: 20px; line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background .2s;
  }
  .carousel-nav:hover { background: var(--navy); color: #fff; }
  .carousel-nav.prev { left: -18px; }
  .carousel-nav.next { right: -18px; }

  .flow-list article { padding: 22px 20px; }
  .flow-list h3 { font-size: 16.5px; }

  .company-table > div { grid-template-columns: 130px 1fr; }
  .company-table dt, .company-table dd { padding: 14px 18px; font-size: 14px; }
  .map-frame iframe { height: 340px; }

  .faq-list summary { font-size: 16px; padding: 18px 52px 18px 48px; }
  .faq-list summary::before { left: 18px; top: 17px; font-size: 17px; }
  .faq-list .answer { font-size: 14.5px; padding: 0 24px 20px 48px; }
  .faq-list .answer::before { left: 18px; font-size: 17px; }

  .cta-band { padding: 62px 0; }
  .cta-band h2 { font-size: 32px; }
  .cta-band p { font-size: 15.5px; }
  .cta-band-inner { grid-template-columns: 1fr 380px; gap: 56px; }
  .cta-tel-block .num { font-size: 36px; }

  .review-box { padding: 34px; }
  .review-box h3 { font-size: 21px; }

  .greeting { padding: 34px 36px; }
  .greeting h3 { font-size: 20px; }
  .greeting p { font-size: 15px; }

  .footer { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.3fr; gap: 40px; }
  .footer-about { grid-column: auto; }

  .page-head { padding: 52px 0; }
  .page-head h1 { font-size: 34px; }
  .page-head p { font-size: 15px; }

  .contact-layout { display: grid; grid-template-columns: 1fr 330px; gap: 44px; align-items: start; }
  .contact-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 14px; }
  .contact-choice { grid-template-columns: 1fr; margin-bottom: 0; }
  .form-block { padding: 38px 36px 42px; }

  .intro-line-1 { font-size: 22px; }
  .intro-line-2 { font-size: 40px; }
  .intro-line-3 { font-size: 58px; }
}

/* 右側固定CTA（幅74px＋余白）が本文に重ならないよう、
   左右の余白に収まらない画面幅では本文側に逃げ幅を確保する */
@media (min-width: 1024px) and (max-width: 1379px) {
  .container { padding-right: 104px; }
  .site-header .container,
  .footer .container { padding-right: 32px; }
}

/* ヘッダーは横並びの要素が多いため、画面幅に応じて段階的に情報を絞る */
@media (min-width: 1024px) and (max-width: 1279px) {
  .brand-text small { display: none; }
  .gnav ul { gap: 11px; }
  .gnav a { font-size: 12.5px; }
  .header-cta .btn-mail { display: none; }
  .header-tel .num { font-size: 21px; }
  .header-tel .sub { display: none; }
}

@media (min-width: 1400px) {
  .gnav ul { gap: 20px; }
  .gnav a { font-size: 14px; }
  .header-cta { gap: 14px; padding-left: 20px; }
  .header-tel .num { font-size: 26px; }
  .header-cta .btn { padding: 11px 18px; font-size: 13.5px; }
}

@media (min-width: 1280px) {
  .hero h1 { font-size: 58px; }
}

/* PC専用要素はデフォルト非表示 */
.pc-only { display: none; }
@media (min-width: 1024px) {
  .pc-only { display: block; }
}

/* =========================================================
   モーション設定
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* スクロールフェードイン */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   印刷
   ========================================================= */
@media print {
  .site-header, .sp-cta, .side-cta, .intro, .cta-band { display: none !important; }
  body { padding-bottom: 0; }
}
