@charset "utf-8";
/* =========================================================
   株式会社K-OFFICE 札幌支店 外構工事サイト
   design/HANDOFF.md のデザイントークンをそのまま変数化している
   ========================================================= */

/* ---------- tokens ---------- */
:root {
  --c-text: #1F3D36;
  --c-body: #4F6B63;
  --c-sub: #5B7A70;
  --c-green: #1A8A6E;
  --c-line: #06C755;
  --c-line-dark: #06A548;
  --c-orange: #FF8A3D;
  --c-orange-dark: #E9732A;
  --c-marker: #FFE07A;

  --bg-mint: #F3F9F1;
  --bg-cream: #FFFBEF;
  --bg-chip: #E7F4EC;
  --bg-chip-2: #DCEFE0;
  --bd-1: #CFE0D6;
  --bd-2: #E3EDE7;
  --bd-3: #DCE7E1;
  --bd-dash: #E1EBE5;

  --grad-head: linear-gradient(135deg, #EDF7EB 0%, #FFFBEF 100%);
  --grad-line: linear-gradient(135deg, #EAF8EE 0%, #F8FCF2 100%);

  --ff-jp: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', system-ui, sans-serif;
  --ff-en: 'Nunito', var(--ff-jp);

  --gutter: clamp(20px, 4vw, 40px);
  --wrap: 1240px;
  --section-y: clamp(80px, 10vw, 120px);
  --page-y: clamp(72px, 9vw, 104px);

  --sh-card: 0 8px 24px rgba(31, 61, 54, .07);
  --sh-soft: 0 6px 18px rgba(31, 61, 54, .05);
  --sh-line: 0 8px 20px rgba(6, 199, 85, .28);

  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--c-text);
  font-family: var(--ff-jp);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: .82; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -200px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 0 0 14px 14px;
  background: var(--c-green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

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

.wrap { max-width: var(--wrap); margin-inline: auto; }
.section { padding: var(--section-y) var(--gutter); }
.section--mint { background: var(--bg-mint); }
.section--cream { background: var(--bg-cream); }
.section--page { padding: var(--page-y) var(--gutter); }
.stack { display: flex; flex-direction: column; }

/* ---------- type ---------- */
.en-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-en);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--c-green);
}
.en-label::before {
  content: "";
  width: 4px; height: 16px;
  border-radius: 2px;
  background: currentColor;
}
.en-label--plain { display: block; }
.en-label--plain::before { content: none; }

.mark { display: inline-block; background: linear-gradient(transparent 64%, var(--c-marker) 64%); }

h1, h2, h3 { margin: 0; font-weight: 800; }

.h-lead { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.5; }
.h-page { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.4; }
.h-sub { font-size: clamp(24px, 3vw, 32px); line-height: 1.5; }

.lead { margin: 0; font-size: 15px; line-height: 2; color: var(--c-body); }
.lead--narrow { max-width: 640px; }
.note { font-size: 12px; line-height: 1.9; color: var(--c-sub); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.section-head__text { display: flex; flex-direction: column; gap: 12px; }
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  font-family: var(--ff-jp);
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-line {
  padding: 15px 26px 15px 15px;
  background: var(--c-line);
  color: #fff;
  font-size: 15px;
  box-shadow: var(--sh-line);
}
.btn-line--sm { padding: 10px 22px 10px 12px; font-size: 14px; box-shadow: 0 6px 16px rgba(6, 199, 85, .28); }
.btn-line--lg { padding: 18px 30px 18px 16px; font-size: 17px; box-shadow: 0 10px 24px rgba(6, 199, 85, .3); }
.btn-line--block { width: 100%; padding: 18px; }
.btn-line:hover { background: var(--c-line-dark); }

.line-badge {
  padding: 5px 8px;
  border-radius: 8px;
  background: #fff;
  color: var(--c-line);
  font: 900 11px/1 var(--ff-en);
  letter-spacing: .02em;
}
.line-badge--sm { padding: 4px 7px; border-radius: 7px; font-size: 10px; }

.btn-tel {
  padding: 10px 20px;
  background: var(--c-green);
  color: #fff;
  font-size: 14px;
}
.btn-tel:hover { background: #15735c; }

.btn-ghost {
  padding: 12px 22px;
  border: 1.5px solid var(--bd-1);
  background: transparent;
  color: var(--c-green);
  font-size: 14px;
}
.btn-ghost:hover { background: var(--bg-chip); opacity: 1; }
.btn-ghost--white { background: #fff; }
.btn-ghost--lg { padding: 15px 24px; font-size: 15px; }

.btn-outline-w {
  padding: 16px 24px;
  border: 2px solid rgba(255, 255, 255, .5);
  color: #fff;
  font-size: 16px;
}
.btn-outline-w:hover { background: rgba(255, 255, 255, .12); opacity: 1; }

.btn-submit {
  margin-top: 6px;
  padding: 18px;
  background: var(--c-orange);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 8px 18px rgba(255, 138, 61, .3);
}
.btn-submit:hover { background: var(--c-orange-dark); }
.btn-submit[disabled] { opacity: .6; cursor: progress; transform: none; }

.free-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-orange-dark);
  white-space: nowrap;
}
.free-note::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-orange);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #E6EFE9;
}
.site-header__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 14px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.site-header__logo { display: flex; align-items: center; flex: none; }
.site-header__logo img { height: 26px; width: auto; }

.gnav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; font-weight: 700; }
.gnav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  white-space: nowrap;
}
.gnav__bar {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--c-green);
  opacity: 0;
}
/* 現在ページの下線。body[data-page] と nav の data-nav を突き合わせる */
body[data-page="top"]      .gnav__link[data-nav="top"]      .gnav__bar,
body[data-page="service"]  .gnav__link[data-nav="service"]  .gnav__bar,
body[data-page="price"]    .gnav__link[data-nav="price"]    .gnav__bar,
body[data-page="flow"]     .gnav__link[data-nav="flow"]     .gnav__bar,
body[data-page="qa"]       .gnav__link[data-nav="qa"]       .gnav__bar,
body[data-page="company"]  .gnav__link[data-nav="company"]  .gnav__bar,
body[data-page="line"]     .gnav__link[data-nav="line"]     .gnav__bar { opacity: 1; }

.site-header__cta { display: flex; flex-wrap: wrap; gap: 10px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1.5px solid var(--bd-1);
  border-radius: 999px;
  background: #fff;
  color: var(--c-green);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.nav-toggle__bars {
  position: relative;
  width: 18px; height: 12px;
  flex: none;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s, opacity .25s;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1179px) {
  .site-header__inner { gap: 12px; }
  .nav-toggle { display: inline-flex; }
  .site-header__nav {
    order: 3;
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 4px;
    border-top: 1px solid #E6EFE9;
    margin-top: 6px;
  }
  .site-header__nav.is-open { display: flex; }
  .gnav { flex-direction: column; gap: 0; font-size: 15px; }
  .gnav__link {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 4px;
    border-bottom: 1px dashed var(--bd-dash);
  }
  .gnav__bar { width: 8px; height: 8px; border-radius: 50%; }
  .site-header__cta { width: 100%; padding-top: 12px; }
  .site-header__cta .btn { flex: 1 1 160px; justify-content: center; }
}
@media (max-width: 420px) {
  .site-header__logo img { height: 22px; }
  .nav-toggle { padding: 9px 13px; }
  /* LINE・電話の2ボタンを1行に収める（縦積みにするとヒーローが大きく押し下げられる） */
  .site-header__cta { gap: 8px; }
  .site-header__cta .btn { flex: 1 1 130px; font-size: 13px; }
  .site-header__cta .btn-line--sm { padding: 10px 15px 10px 9px; gap: 8px; }
  .site-header__cta .btn-tel { padding: 10px 14px; }
}

/* ---------- hero ---------- */
.hero { padding: 12px clamp(12px, 2vw, 20px) 0; }
.hero__frame {
  position: relative;
  max-width: 1400px;
  margin-inline: auto;
  height: clamp(620px, 84vh, 800px);
  border-radius: 40px;
  overflow: hidden;
  background: #DDE8E1;
}
.hero__media { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.4s ease;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; }
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 7s linear;
}
.hero__slide.is-active img { transform: scale(1.06); }
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 45, 38, .28) 0%, rgba(20, 45, 38, 0) 28%);
  pointer-events: none;
}
.hero__topbar {
  position: absolute;
  top: 24px; left: 24px; right: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  pointer-events: none;
}
.hero__area {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  font-size: 13px;
  font-weight: 800;
  color: var(--c-green);
}
.hero__ctrl {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  pointer-events: auto;
}
.hero__cap { font-size: 12px; font-weight: 700; white-space: nowrap; }
.hero__count {
  font: 900 13px var(--ff-en);
  color: var(--c-green);
  white-space: nowrap;
}
.hero__count span { color: #9BB3AA; }
.hero__arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--bd-1);
  background: #fff;
  color: var(--c-green);
  font: 800 14px var(--ff-en);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.hero__arrow:hover { background: var(--bg-chip); }
.hero__arrow--next { border: 0; background: var(--c-green); color: #fff; }
.hero__arrow--next:hover { background: #15735c; }

/* パネルの地色。backdrop-filter が使える環境でだけ半透明にする（下の @supports） */
:root { --hero-panel-bg: #fff; }

.hero__panel {
  position: absolute;
  left: 0; bottom: 0;
  width: min(660px, 100%);
  background: var(--hero-panel-bg);
  border-radius: 0 48px 0 0;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 52px) clamp(28px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* 写真へ溶け込ませる逆R角 */
.hero__panel::before,
.hero__panel::after {
  content: "";
  position: absolute;
  width: 48px; height: 48px;
  background: radial-gradient(circle at 100% 0, transparent 47.5px, var(--hero-panel-bg) 48px);
}

/* 写真を透かす。ぼかしを併用しないと文字の下に写真の細部が出て可読性が落ちるので、
   backdrop-filter が効く環境に限定する。非対応ブラウザは不透明な白のまま。

   alpha = .72 は本人が見た目を優先して選んだ値（2026-10-19）。
   パネルの文字を隠して背景を撮影し、文字が乗る領域の「最も暗いピクセル」に対する
   コントラスト比を測った実測値（1440px・スライド1 / スライド2）:

     alpha   見出し#1F3D36   本文#4F6B63    緑#1A8A6E     注記#E9732A
     1.00     11.80           5.81  ✓       4.28  ✗      3.02  ✗   ← 透過なし
     0.90      9.63           4.78  ✓       3.52  ✗      2.52  ✗   ← 本文がAAを保てる限界
     0.82      8.08           3.99  ✗       2.93  ✗      2.16  ✗
     0.72   6.38 / 6.29    3.17 / 3.43 ✗  2.34 / 2.41 ✗  1.76 / 1.83 ✗  ← 現在値

   **本文 #4F6B63 は AA（4.5）を満たしていない。** 見た目を優先した意図的な選択で、
   見落としではない。基準に戻すなら alpha を .90 に上げるか、本文の色を濃くする
   （#3A524B 程度まで濃くすれば .82 でも 4.5 を超えられる）。
   緑と注記は透過前から基準未達（HANDOVER「既知の課題」を見ること）。
   ぼかし量は 22px と 80px で差が0.1未満だったので、負荷の低い 22px にしている。 */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --hero-panel-bg: rgba(255, 255, 255, .72); }
  .hero__panel {
    -webkit-backdrop-filter: blur(22px) saturate(1.08);
    backdrop-filter: blur(22px) saturate(1.08);
  }
  /* 逆R角は mask で形を切り、パネルと同じぼかしを掛ける（ここだけ素通しだと角が浮く） */
  .hero__panel::before,
  .hero__panel::after {
    background: var(--hero-panel-bg);
    -webkit-backdrop-filter: blur(22px) saturate(1.08);
    backdrop-filter: blur(22px) saturate(1.08);
    -webkit-mask: radial-gradient(circle at 100% 0, transparent 47.5px, #000 48px);
    mask: radial-gradient(circle at 100% 0, transparent 47.5px, #000 48px);
  }
}
.hero__panel::before { left: 0; bottom: 100%; }
.hero__panel::after { left: 100%; bottom: 0; }

.hero__progress { display: flex; gap: 6px; }
.hero__progress span {
  height: 4px;
  width: 16px;
  border-radius: 2px;
  background: var(--bd-3);
  transition: width .5s, background .5s;
}
.hero__progress span.is-active { width: 40px; background: var(--c-green); }

.hero__title {
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.42;
  letter-spacing: .02em;
}
.hero__title .is-green { color: var(--c-green); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

@media (max-width: 760px) {
  .hero { padding: 10px 12px 0; }
  .hero__frame { height: auto; border-radius: 28px; background: #fff; }
  .hero__media {
    position: relative;
    height: clamp(280px, 48vh, 400px);
    border-radius: 28px;
    overflow: hidden;
    background: #DDE8E1;
  }
  .hero__topbar { top: 14px; left: 14px; right: 14px; }
  .hero__cap { display: none; }
  .hero__panel {
    position: static;
    width: 100%;
    border-radius: 0;
    padding: 26px 4px 0;
    /* スマホではパネルが写真の下に積まれる。透かす相手が無いので不透明に戻す */
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .hero__panel::before, .hero__panel::after { content: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__cta .free-note { flex: 1 1 100%; justify-content: center; }
}

/* ---------- feature strip ---------- */
.features { border-bottom: 1px solid #EEF3F0; padding: 40px var(--gutter); }
.features__grid {
  max-width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
}
.feature { display: flex; align-items: center; gap: 14px; }
.feature__icon {
  width: 52px; height: 52px;
  flex: none;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
}
.feature__icon--snow { background: var(--bg-chip); color: var(--c-green); }
.feature__icon--car { background: #FFF1E6; color: var(--c-orange-dark); }
.feature__icon--garden { background: #EEF6DF; color: #5E8F1E; }
.feature__icon--line { background: #E2F8EA; color: var(--c-line-dark); font: 900 12px var(--ff-en); }
.feature__text { display: flex; flex-direction: column; gap: 2px; }
.feature__title { font-size: 15px; font-weight: 800; }
.feature__desc { font-size: 12px; color: var(--c-sub); }

/* ---------- service picker ---------- */
.svc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}
.svc__stage {
  position: relative;
  min-height: 520px;
  border-radius: 32px;
  overflow: hidden;
  background: #E4EEE8;
}
.svc__shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.svc__shot.is-active { opacity: 1; }
.svc__shot img { width: 100%; height: 100%; object-fit: cover; }
.svc__tag {
  position: absolute;
  left: 20px; bottom: 20px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  pointer-events: none;
}
.svc__tag b { font-family: var(--ff-en); color: var(--c-green); margin-right: 14px; }
.svc__list { display: flex; flex-direction: column; gap: 8px; }
.svc__btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 0;
  border-radius: 18px;
  background: #F3F8F4;
  color: var(--c-text);
  font: 800 15px var(--ff-jp);
  text-align: left;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.svc__btn:hover { background: var(--bg-chip); }
.svc__btn[aria-selected="true"] { background: var(--c-green); color: #fff; }
.svc__btn[aria-selected="true"]:hover { background: var(--c-green); }
.svc__num {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--bg-chip-2);
  color: var(--c-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 900 13px var(--ff-en);
}
.svc__btn[aria-selected="true"] .svc__num { background: #fff; }
.svc__name { flex: 1; }

@media (max-width: 880px) {
  .svc__stage { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- cards: works ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
}
.work-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sh-card);
  transition: transform .25s, box-shadow .25s;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(31, 61, 54, .12); opacity: 1; }
.work-card__shot { aspect-ratio: 4 / 3; overflow: hidden; }
.work-card__shot img { width: 100%; height: 100%; object-fit: cover; }
.work-card__body {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.work-card__title { font-size: 15px; font-weight: 800; }
.chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-chip);
  color: var(--c-green);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- cards: price ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}
.price-grid--plan { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.price-card {
  position: relative;
  padding: 12px 12px 24px;
  border-radius: 28px;
  border: 1.5px solid var(--bd-2);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.price-card--plan { padding-bottom: 28px; gap: 16px; }
.price-card--pick { border: 2px solid var(--c-green); }
.price-card__badge {
  position: absolute;
  top: -14px; right: 24px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--c-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.price-card__shot { aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; }
.price-card--plan .price-card__shot { aspect-ratio: 4 / 3; }
.price-card__shot img { width: 100%; height: 100%; object-fit: cover; }
.price-card__body {
  padding-inline: 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.price-card__body--plan {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.price-card__name { font-size: 16px; font-weight: 800; }
.price-card__name small { display: block; margin-top: 3px; font-size: 12px; font-weight: 700; color: var(--c-sub); }
.price-card__body > .price-card__name { flex: 1 1 auto; min-width: 0; }
/* 工事名が長い「費用の目安」カードは、名前と金額を縦に重ねて折り返しを防ぐ */
.price-grid:not(.price-grid--plan) .price-card__body {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
@media (min-width: 701px) {
  .price-grid:not(.price-grid--plan) .price-card { gap: 14px; }
}
.plan-tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-chip);
  color: var(--c-green);
  font: 900 12px var(--ff-en);
  letter-spacing: .1em;
}
.plan-desc { margin: 0; font-size: 13px; line-height: 1.9; color: var(--c-body); }
.yen { font: 900 30px var(--ff-en); color: var(--c-green); white-space: nowrap; }
.yen--lg { font-size: 38px; }
.yen--sm { font-size: 22px; }
.yen span { font: 800 13px var(--ff-jp); }
.yen--lg span { font-size: 14px; }
.yen--sm span { font-size: 12px; }

.price-list {
  background: #fff;
  border-radius: 28px;
  padding: 12px clamp(16px, 3vw, 32px);
  display: flex;
  flex-direction: column;
}
.price-list__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  border-bottom: 1.5px dashed var(--bd-dash);
  font-size: 15px;
  font-weight: 700;
}
.price-list__row:last-child { border-bottom: 0; }

.point-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}
.point-card {
  padding: 28px 24px;
  border-radius: 24px;
  background: var(--bg-cream);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.point-card--mint { background: var(--bg-mint); }
.point-card__num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 900 16px var(--ff-en);
}
.point-card--mint .point-card__num { background: var(--c-green); }
.point-card__title { font-size: 16px; font-weight: 800; }
.point-card__desc { font-size: 13px; line-height: 1.9; color: var(--c-body); }

/* ---------- flow ---------- */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 16px;
}
.flow-card {
  padding: 28px 22px;
  border-radius: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  box-shadow: var(--sh-soft);
}
.flow-card__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 900 18px var(--ff-en);
}
.flow-card--last .flow-card__num { background: var(--c-orange); }
.flow-card__title { font-size: 16px; font-weight: 800; }
.flow-card__desc { font-size: 13px; color: var(--c-sub); }

.flow-step {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  padding: 28px clamp(20px, 3vw, 36px);
  border-radius: 28px;
  background: var(--bg-mint);
  align-items: flex-start;
}
.flow-step--last { background: #FFF4EA; }
.flow-step__num {
  width: 64px; height: 64px;
  flex: none;
  border-radius: 50%;
  background: var(--c-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 900 24px var(--ff-en);
}
.flow-step--last .flow-step__num { background: var(--c-orange); }
.flow-step__body { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
.flow-step__title { font-size: 21px; font-weight: 800; }

/* ---------- LINE section ---------- */
.line-sec { background: var(--grad-line); }
.line-sec__grid {
  max-width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.line-sec__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.line-sec__title {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.45;
}
.line-sec__title--page { font-size: clamp(34px, 4.8vw, 52px); line-height: 1.42; }
.line-sec__title .is-line { color: var(--c-line); }
.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
}
.checklist li { display: flex; gap: 10px; }
.checklist li::before { content: "✓"; color: var(--c-line); }

.line-card {
  background: #fff;
  border: 2px solid #C4EBD1;
  border-radius: 32px;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 16px 40px rgba(6, 199, 85, .08);
}
.line-card__head { display: flex; align-items: center; gap: 18px; }
.line-card__icon {
  width: 64px; height: 64px;
  flex: none;
  border-radius: 20px;
  background: var(--c-line);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 900 17px var(--ff-en);
}
.line-card__headtext { display: flex; flex-direction: column; gap: 4px; }
.line-card__title { font-size: 22px; font-weight: 800; }
.line-card__sub { font-size: 13px; color: var(--c-sub); }
.line-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  counter-reset: lstep;
}
.line-steps li { display: flex; gap: 14px; counter-increment: lstep; }
.line-steps li::before {
  content: counter(lstep) ".";
  font: 900 17px var(--ff-en);
  color: var(--c-line);
}
.line-steps__body { display: flex; flex-direction: column; gap: 4px; }
.line-steps__title { font-size: 16px; font-weight: 800; }
.line-steps__desc { font-size: 14px; color: var(--c-body); }
.line-sample {
  padding: 20px 22px;
  border-radius: 20px;
  background: #F1FAF3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.line-sample__label { font-size: 14px; font-weight: 800; color: var(--c-line-dark); }
.line-sample__text { font-size: 14px; line-height: 1.9; }

/* ---------- Q&A ---------- */
.qa-list { display: flex; flex-direction: column; gap: 12px; }
.qa {
  border-radius: 20px;
  background: var(--bg-mint);
}
.qa > summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  font-size: 16px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
  border-radius: 20px;
}
.qa > summary::-webkit-details-marker { display: none; }
.qa__q, .qa__a {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 900 15px var(--ff-en);
}
.qa__q { background: var(--c-green); }
.qa__a { background: var(--c-orange); }
.qa__label { flex: 1; }
.qa__plus {
  color: var(--c-green);
  font: 900 22px var(--ff-en);
  transition: transform .3s;
}
.qa[open] .qa__plus { transform: rotate(45deg); }
.qa__body {
  display: flex;
  gap: 16px;
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-body);
}

/* ---------- page header ---------- */
.page-head {
  background: var(--grad-head);
  padding: clamp(56px, 7vw, 88px) var(--gutter);
}
.page-head__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
}
.anchor-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid #DCE9E1;
  white-space: nowrap;
}
.anchor-nav a:hover { background: var(--bg-chip); opacity: 1; }

/* ---------- service detail ---------- */
.svc-detail {
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 8vw, 104px);
  padding: clamp(72px, 9vw, 112px) var(--gutter);
}
.svc-item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  scroll-margin-top: 100px;
}
.svc-item__shot { aspect-ratio: 4 / 3; border-radius: 32px; overflow: hidden; }
.svc-item__shot img { width: 100%; height: 100%; object-fit: cover; }
.svc-item__body { display: flex; flex-direction: column; gap: 18px; }
.svc-item__num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--c-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 900 18px var(--ff-en);
}
.svc-item__title { font-size: 28px; }
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-green);
}
.tag-row span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-chip);
}
/* 奇数番は写真が左、偶数番は写真が右（1カラムでは必ず写真が先） */
.svc-item--rev .svc-item__shot { order: 2; }
@media (max-width: 899px) {
  .svc-item--rev .svc-item__shot { order: 0; }
}

/* ---------- company ---------- */
.media-split {
  max-width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.framed-shot {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: 0 20px 40px rgba(31, 61, 54, .1);
  border-radius: 32px;
}
.framed-shot--tl { border-radius: 120px 32px 32px 32px; }
.framed-shot--tr { border-radius: 32px 120px 32px 32px; }
.framed-shot img { width: 100%; height: 100%; object-fit: cover; }

.profile {
  margin: 0;
  background: #fff;
  border-radius: 28px;
  padding: 12px clamp(16px, 3vw, 36px);
  display: flex;
  flex-direction: column;
}
.profile__row {
  display: grid;
  grid-template-columns: minmax(80px, 160px) minmax(0, 1fr);
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1.5px dashed var(--bd-dash);
  font-size: 15px;
}
.profile__row:last-child { border-bottom: 0; }
.profile dt { color: var(--c-green); font-weight: 800; }
.profile dd { margin: 0; font-weight: 500; line-height: 1.8; }
.profile dd.is-tel { font: 800 18px var(--ff-en); }
@media (max-width: 520px) {
  .profile__row { grid-template-columns: 1fr; gap: 6px; }
}

.map-frame {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 28px;
}

/* ---------- contact + footer ---------- */
.contact {
  background: var(--c-green);
  color: #fff;
  padding: clamp(72px, 9vw, 112px) var(--gutter);
}
.contact__grid {
  max-width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.contact__copy { display: flex; flex-direction: column; gap: 24px; }
.contact__label {
  font: 800 13px var(--ff-en);
  letter-spacing: .2em;
  color: var(--c-marker);
}
.contact__title { font-size: clamp(30px, 4vw, 44px); line-height: 1.5; }
.contact__lead { margin: 0; font-size: 15px; line-height: 2; color: #E2F3EC; }
.contact__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
}
.contact__actions .btn-line { padding: 18px 24px; font-size: 16px; box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.contact__tel-num { font-family: var(--ff-en); font-size: 19px; letter-spacing: .04em; }
.contact__hours { font-size: 12px; color: #CDEBDF; text-align: center; }

.cform {
  background: #fff;
  color: var(--c-text);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}
.cform__title { font-size: 22px; }
.cform label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}
.cform__lbl { display: block; }
.cform .req {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #FFF1E6;
  color: var(--c-orange-dark);
  font-size: 11px;
}
.cform input,
.cform select,
.cform textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--bd-3);
  border-radius: 14px;
  font: 500 15px var(--ff-jp);
  color: var(--c-text);
  background: #FAFCFB;
  width: 100%;
}
.cform textarea { resize: vertical; }
.cform input:focus, .cform select:focus, .cform textarea:focus {
  border-color: var(--c-green);
  background: #fff;
}
.cform__honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__msg {
  margin: 0;
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 700;
}
.cform__msg--err { background: #FFF1E6; color: var(--c-orange-dark); }
.cform__msg--ok { background: var(--bg-chip); color: var(--c-green); }
.cform__msg a { text-decoration: underline; }

.site-footer {
  background: #1C3D36;
  color: #B9CFC8;
  padding: 48px var(--gutter) 56px;
  font-size: 13px;
  line-height: 2;
}
.site-footer__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 10px; }
.site-footer__brand img { height: 24px; width: auto; filter: invert(1); }
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: #E2EEEA;
  font-weight: 700;
}
.site-footer__copy { font-family: var(--ff-en); }

/* ---------- utilities ----------
   セクション内の縦ギャップ。design/*.dc.html のインライン値をそのまま並べている。
   新しい値が必要になったら design 側の実値を確認してから足すこと。 */
.gap-16 { gap: 16px; }
.gap-28 { gap: 28px; }
.gap-32 { gap: 32px; }
.gap-36 { gap: 36px; }
.gap-40 { gap: 40px; }
.gap-44 { gap: 44px; }
.self-center { align-self: center; }

.hero__count b { font: inherit; color: inherit; }

/* Q&Aページのカテゴリ見出し */
.qa-group { display: flex; flex-direction: column; gap: 14px; }
.qa-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
}
.qa-cat::before {
  content: "";
  width: 6px; height: 22px;
  flex: none;
  border-radius: 3px;
  background: var(--c-green);
}

/* ---------- 404 ---------- */
.nf {
  padding: clamp(80px, 12vw, 140px) var(--gutter);
  background: var(--grad-head);
  text-align: center;
}
.nf__inner {
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.nf__code { font: 900 clamp(64px, 12vw, 110px) var(--ff-en); color: var(--c-green); line-height: 1; }
.nf__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- narrow screens ----------
   長いCTAは 320px 幅で入りきらない。字送りを詰め、それでも足りなければ折り返す。
   （トークンの white-space:nowrap より、横スクロールを出さないことを優先） */
@media (max-width: 480px) {
  .btn-line--lg {
    padding: 15px 20px 15px 12px;
    font-size: 15px;
    white-space: normal;
    text-align: center;
  }
  .btn-line--block { white-space: normal; text-align: center; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero__slide.is-active img { transform: none; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .hero__ctrl, .contact, .nav-toggle { display: none !important; }
  body { color: #000; }
}

/* 対応エリア */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.area-chips .chip { font-size: 13px; padding: 7px 14px; }
.area-lead { text-align: center; }
/* 工事別の目安：補足つきの行 */
.price-list__row > span:first-child { display: block; }
.price-list__row small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-sub);
}

/* LINE 友だち追加QR */
.line-qr {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 20px;
  background: var(--bg-mint);
}
.line-qr img {
  flex: none;
  width: 104px;
  height: 104px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
}
.line-qr__text { font-size: 13px; line-height: 1.8; font-weight: 700; color: var(--c-body); }
