/* ==========================================================================
   福島まもり工務店 デモサイト — スタイルシート

   目次
   ----
   1.  カスタムプロパティ（デザイントークン）
   2.  リセット / ベース
   3.  共通ユーティリティ（コンテナ・背景色・sr-only 等）
   4.  共通見出し・ボタン・写真まわりの共通スタイル
   5.  ヘッダー
   6.  ファーストビュー
   7.  信頼指標
   8.  悩み喚起
   9.  選ばれる理由
   10. サービス
   11. 施工事例（中間CTA含む）
   12. 診断レポート
   13. 料金目安
   14. 相談の流れ
   15. 会社案内・スタッフ紹介
   16. 保証・点検
   17. FAQ
   18. 最終CTA
   19. フッター
   20. アニメーション・インタラクション（スクロールリビール／ホバー）
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap");

/* --------------------------------------------------------------------------
   1. カスタムプロパティ（デザイントークン）
   -------------------------------------------------------------------------- */
:root {
  /* カラー */
  --navy: #16324a;
  --navy-dark: #0e2233;
  --white: #ffffff;
  --beige: #f3ede2;
  --beige-dark: #e8dfcc;
  --gray-light: #f4f5f6;
  --gray-border: #e2e5e8;
  --text-main: #2a2f36;
  --text-sub: #5b636c;
  --gold: #b7924f;

  /* 共通トークン */
  --radius: 8px;
  --shadow: 0 4px 16px rgba(22, 50, 74, 0.08);
  --gap: 24px;

  /* レイアウト */
  --header-height: 76px;
  --max-width: 1160px;

  /* フォント */
  --font-base: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

/* --------------------------------------------------------------------------
   2. リセット / ベース
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
table,
th,
td {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

body {
  font-family: var(--font-base);
  color: var(--text-main);
  line-height: 1.8;
  font-size: 16px;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

section {
  scroll-margin-top: var(--header-height);
}

/* --------------------------------------------------------------------------
   3. 共通ユーティリティ
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 380px) {
  .container {
    padding: 0 16px;
  }
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius);
  z-index: 2000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
}

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

.bg-white {
  background: var(--white);
}
.bg-gray {
  background: var(--gray-light);
}
.bg-beige {
  background: var(--beige);
}
.bg-navy {
  background: var(--navy);
  color: var(--white);
}

.section-pad {
  padding: 88px 0;
}
@media (max-width: 768px) {
  .section-pad {
    padding: 56px 0;
  }
}

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

/* --------------------------------------------------------------------------
   4. 共通見出し・ボタン・写真まわりの共通スタイル
   -------------------------------------------------------------------------- */
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-lead {
  font-size: 15px;
  color: var(--text-sub);
  max-width: 640px;
}

.section-head {
  text-align: center;
  margin: 0 auto 48px;
  max-width: 720px;
}
.section-head .section-lead {
  margin: 0 auto;
}
@media (max-width: 768px) {
  .section-head {
    margin-bottom: 32px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-on-navy {
  background: var(--white);
  color: var(--navy);
}
.btn-block {
  width: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--navy-dark);
    box-shadow: 0 6px 18px rgba(22, 50, 74, 0.28);
    transform: translateY(-1px);
  }
  .btn-outline:hover {
    background: var(--navy);
    color: var(--white);
  }
  .btn-on-navy:hover {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  }
}

/* 画像プレースホルダー（実写真に差し替わっていない箇所のフォールバック表示） */
.img-placeholder {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--beige-dark) 0%, var(--gray-light) 100%);
  overflow: hidden;
}
.img-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(22, 50, 74, 0.05) 0 2px, transparent 2px 18px);
}
.img-placeholder::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--navy);
  opacity: 0.55;
}
.img-placeholder.tone-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}
.img-placeholder.tone-navy::after {
  color: var(--white);
  opacity: 0.7;
}

/* 実写真（img要素）共通スタイル */
.hero__bg,
.reasons__thumb,
.service__thumb,
.staff__photo,
.works__photo-img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: var(--radius);
}

/* 自作アイコン（線幅統一のSVGラッパー） */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

/* --------------------------------------------------------------------------
   5. ヘッダー
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  transition: box-shadow 0.25s ease;
}
.header.is-scrolled {
  box-shadow: 0 2px 16px rgba(22, 50, 74, 0.1);
}

.header__inner {
  max-width: 1360px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  flex-shrink: 0;
}
.header__logo-main {
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
}
.header__logo-sub {
  font-size: 11px;
  color: var(--text-sub);
  letter-spacing: 0.05em;
}

.header__nav {
  margin-left: auto;
}
.header__nav ul {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
}
.header__nav a {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.header__tel {
  text-align: right;
  line-height: 1.3;
}
.header__tel-number {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}
.header__tel-time {
  display: block;
  font-size: 10px;
  color: var(--text-sub);
}
.header__cta {
  padding: 11px 20px;
  font-size: 13px;
}

.header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}
.header__menu-btn span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.header__menu-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}
.header__menu-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (hover: hover) and (pointer: fine) {
  .header__nav a:hover {
    color: var(--navy);
  }
  .header__nav a:hover::after {
    width: 100%;
  }
}

/* 1180px以下: ナビをハンバーガーメニューに切り替え */
@media (max-width: 1180px) {
  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
    transition: max-height 0.25s ease;
  }
  .header__nav.is-open {
    max-height: 70vh;
    overflow-y: auto;
  }
  .header__nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
  }
  .header__nav li {
    border-bottom: 1px solid var(--gray-border);
  }
  .header__nav a {
    display: block;
    padding: 14px 0;
  }
  .header__tel-time {
    display: none;
  }
  .header__menu-btn {
    display: flex;
  }
}
/* 560px以下: 電話タップ発信を優先し、CTAボタンは非表示 */
@media (max-width: 560px) {
  .header__cta {
    display: none;
  }
  .header__inner {
    padding: 0 16px;
  }
}

/* --------------------------------------------------------------------------
   6. ファーストビュー
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
/* このセクションのみ .container の中央寄せを解除し、テキストを左寄せにする */
.hero > .container {
  margin: 0;
  width: 100%;
}

.hero__bg {
  position: absolute;
  inset: 0;
  border-radius: 0;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    92deg,
    rgba(10, 26, 40, 0.94) 0%,
    rgba(10, 26, 40, 0.86) 28%,
    rgba(10, 26, 40, 0.55) 52%,
    rgba(10, 26, 40, 0.22) 72%,
    rgba(10, 26, 40, 0.06) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 660px;
  padding: 120px 24px 80px clamp(24px, 7vw, 96px);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-bottom: 24px;
  padding: 9px 20px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  backdrop-filter: blur(2px);
}

.hero__title {
  font-size: clamp(34px, 5.6vw, 54px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.hero__title-accent {
  color: var(--gold);
}

.hero__lead {
  font-size: 16px;
  line-height: 1.95;
  max-width: 520px;
  opacity: 0.92;
  margin-bottom: 36px;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero__buttons .btn {
  border-radius: 999px;
  padding: 17px 34px;
  font-size: 15.5px;
}
.hero__buttons .btn-primary::after {
  border-color: var(--white);
}
.hero__btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}
@media (hover: hover) and (pointer: fine) {
  .hero__btn-outline:hover {
    background: var(--white);
    color: var(--navy);
  }
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  font-size: 13px;
  max-width: 560px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.hero__badges li {
  position: relative;
  padding-left: 20px;
  opacity: 0.88;
}
.hero__badges li:first-child {
  padding-left: 0;
}
.hero__badges li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%);
}
.hero__badges li:first-child::before {
  display: none;
}

/* 次のセクションへのスクロール誘導（縦線を光が流れるアニメーション） */
.hero__scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  width: 1px;
  height: 48px;
  transform: translateX(-50%);
}
.hero__scroll-cue span {
  position: relative;
  display: block;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}
.hero__scroll-cue span::after {
  content: "";
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: hero-cue 2.2s infinite ease-in-out;
}
@keyframes hero-cue {
  0% {
    top: -100%;
  }
  60% {
    top: 100%;
  }
  100% {
    top: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-cue span::after {
    animation: none;
    top: 0;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 80vh;
  }
  .hero__inner {
    padding: 100px 20px 56px 24px;
  }
  .hero__veil {
    background: linear-gradient(
      180deg,
      rgba(10, 26, 40, 0.55) 0%,
      rgba(10, 26, 40, 0.88) 55%,
      rgba(10, 26, 40, 0.96) 100%
    );
  }
  .hero__scroll-cue {
    display: none;
  }
  .hero__eyebrow {
    font-size: 12px;
    padding: 7px 14px;
  }
  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__buttons .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   7. 信頼指標
   -------------------------------------------------------------------------- */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.trust__card {
  padding: 28px 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}
.trust__number {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.trust__number-unit {
  font-size: 15px;
  font-weight: 700;
  margin-left: 2px;
}
.trust__label {
  font-size: 13px;
  opacity: 0.8;
}
.trust__note {
  text-align: center;
  font-size: 12px;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 420px) {
  .trust__grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   8. 悩み喚起
   -------------------------------------------------------------------------- */
.worry__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.worry__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  font-size: 14.5px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
}
.worry__icon {
  width: 26px;
  height: 26px;
  color: var(--navy);
}
.worry__bridge {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  color: var(--text-sub);
  padding-top: 24px;
  border-top: 1px solid var(--gray-border);
}

@media (max-width: 640px) {
  .worry__list {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   9. 選ばれる理由
   -------------------------------------------------------------------------- */
.reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.reasons__card {
  padding: var(--gap);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.reasons__thumb {
  height: 120px;
  margin-bottom: 16px;
}
.reasons__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
}
.reasons__card h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 10px;
}
.reasons__card p:not(.reasons__num) {
  font-size: 14px;
  color: var(--text-sub);
}

@media (max-width: 900px) {
  .reasons__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .reasons__grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   10. サービス
   -------------------------------------------------------------------------- */
.service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: 32px;
}
.service__card {
  padding: var(--gap);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.service__thumb {
  height: 140px;
  margin-bottom: 18px;
}
.service__card h3 {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 6px;
}
.service__for {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}
.service__card > p:not(.service__for) {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 16px;
}
.service__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-border);
}
.service__meta dt {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 2px;
}
.service__meta dd {
  font-size: 13px;
  color: var(--text-main);
}

.service__sub {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.service__sub li {
  padding: 8px 20px;
  font-size: 13px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 999px;
}

@media (max-width: 900px) {
  .service__grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   11. 施工事例（中間CTA含む）
   -------------------------------------------------------------------------- */
.works__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 40px;
}
.works__card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--gap);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.works__photos {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.works__photos .img-placeholder,
.works__photos .works__photo-img {
  flex: 1;
  height: 140px;
  min-height: 140px;
  border-radius: 0;
}
.works__body {
  padding: 28px 28px 28px 0;
}
.works__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 4px;
}
.works__body h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 16px;
}
.works__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.works__meta div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  font-size: 13.5px;
}
.works__meta dt {
  font-weight: 700;
  color: var(--navy);
}
.works__meta dd {
  color: var(--text-main);
}
.works__voice {
  padding: 16px 18px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-sub);
  background: var(--gray-light);
  border-radius: var(--radius);
}
.works__voice span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

/* 中間CTA（施工事例・料金目安の後に挿入するリード文＋ボタン） */
.mid-cta {
  margin-top: 8px;
  padding: 32px;
  text-align: center;
  background: var(--gray-light);
  border: 1px dashed var(--gray-border);
  border-radius: var(--radius);
}
.mid-cta p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 16px;
}
.bg-beige .mid-cta {
  background: var(--beige);
}

@media (max-width: 800px) {
  .works__card {
    grid-template-columns: 1fr;
  }
  .works__photos {
    flex-direction: row;
  }
  .works__photos .img-placeholder,
  .works__photos .works__photo-img {
    height: 160px;
    min-height: 160px;
  }
  .works__body {
    padding: 24px;
  }
}
@media (max-width: 480px) {
  .works__photos {
    flex-direction: column;
  }
  .works__meta div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .works__meta dt {
    font-size: 12px;
  }
}

/* --------------------------------------------------------------------------
   12. 診断レポート
   -------------------------------------------------------------------------- */
.report__sheet {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.report__sheet-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 28px;
}
.report__checks {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 12px;
}
.report__check-head {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 6px;
}
.report__check-head span:first-child {
  font-weight: 700;
  color: var(--navy);
}
.report__check-sub {
  font-size: 12.5px;
  color: var(--text-sub);
}
.report__bar {
  height: 8px;
  overflow: hidden;
  background: var(--gray-light);
  border-radius: 999px;
}
.report__bar span {
  display: block;
  height: 100%;
  width: 0; /* JSでdata-barの値まで幅を伸ばす */
  background: linear-gradient(90deg, var(--navy), var(--gold));
  border-radius: 999px;
  transition: width 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.report__note {
  font-size: 11px;
  color: var(--text-sub);
  opacity: 0.7;
  margin: 12px 0 20px;
}
.report__comment {
  padding-top: 20px;
  border-top: 1px dashed var(--gray-border);
}
.report__comment-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.report__comment p {
  font-size: 14px;
  color: var(--text-main);
}

@media (prefers-reduced-motion: reduce) {
  .report__bar span {
    transition: none;
  }
}
@media (max-width: 600px) {
  .report__sheet {
    padding: 24px;
  }
}

/* --------------------------------------------------------------------------
   13. 料金目安
   -------------------------------------------------------------------------- */
.price__table-wrap {
  overflow-x: auto;
  margin-bottom: 40px;
}
.price__table {
  min-width: 480px;
  overflow: hidden;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
}
.price__table th,
.price__table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14.5px;
}
.price__table thead th {
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
}
.price__table tbody tr:nth-child(odd) {
  background: var(--gray-light);
}
.price__table tbody th,
.price__table tbody td {
  border-bottom: 1px solid var(--gray-border);
}

.price__note-area {
  padding: 28px;
  margin-bottom: 32px;
  background: var(--beige);
  border-radius: var(--radius);
}
.price__note-area h3 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 14px;
}
.price__factors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.price__factors li {
  padding: 7px 16px;
  font-size: 13px;
  color: var(--navy);
  background: var(--white);
  border-radius: 999px;
}
.price__assurance {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 10px;
}
.price__footnote {
  font-size: 12px;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   14. 相談の流れ
   -------------------------------------------------------------------------- */
.flow__list {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}
.flow__list li {
  padding: 20px 10px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
}
.flow__item--highlight {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
}
.flow__item--highlight .flow__num {
  color: var(--white);
  background: var(--gold);
}
.flow__item--highlight .flow__label {
  font-weight: 700;
  color: var(--white);
}
.flow__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 auto 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
}
.flow__label {
  display: block;
  font-size: 12.5px;
}

@media (max-width: 900px) {
  .flow__list {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 560px) {
  .flow__list {
    grid-template-columns: 1fr;
  }
  .flow__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    padding: 14px 18px;
  }
  .flow__num {
    margin: 0;
    flex-shrink: 0;
  }
}

/* --------------------------------------------------------------------------
   15. 会社案内・スタッフ紹介
   -------------------------------------------------------------------------- */
.staff {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}
.staff__card {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
}
.staff__card--lead {
  grid-template-columns: 220px 1fr;
  background: var(--gray-light);
}
.staff__photo {
  aspect-ratio: 1 / 1;
}
.staff__role {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.staff__body h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}
.staff__body p:not(.staff__role) {
  font-size: 14px;
  color: var(--text-sub);
}

.company__table-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.company__table-title {
  font-size: 16px;
  text-align: center;
  color: var(--navy);
  margin-bottom: 16px;
}
.company__table {
  overflow: hidden;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
}
.company__table th,
.company__table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 13.5px;
  border-bottom: 1px solid var(--gray-border);
}
.company__table th {
  width: 160px;
  font-weight: 700;
  color: var(--navy);
  background: var(--gray-light);
}
.company__table tr:last-child th,
.company__table tr:last-child td {
  border-bottom: none;
}
.company__table-note {
  font-size: 11px;
  text-align: center;
  color: var(--text-sub);
  opacity: 0.8;
  margin-top: 12px;
}

@media (max-width: 640px) {
  .staff__card,
  .staff__card--lead {
    grid-template-columns: 96px 1fr;
    padding: 16px;
  }
}
@media (max-width: 480px) {
  .staff__card,
  .staff__card--lead {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .staff__photo {
    width: 120px;
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .company__table th,
  .company__table td {
    display: block;
    width: 100%;
  }
  .company__table th {
    padding-bottom: 4px;
    border-bottom: none;
  }
  .company__table td {
    padding-top: 0;
  }
}

/* --------------------------------------------------------------------------
   16. 保証・点検
   -------------------------------------------------------------------------- */
.warranty__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  text-align: center;
}
.warranty__grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
}
.warranty__icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
}

@media (max-width: 768px) {
  .warranty__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   17. FAQ
   -------------------------------------------------------------------------- */
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq__item {
  border-bottom: 1px solid var(--gray-border);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
}
.faq__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform 0.2s ease;
}
.faq__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}
.faq__icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}
.faq__item.is-open .faq__icon::after {
  transform: translateX(-50%) scaleY(0);
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq__a p {
  padding: 0 4px 22px;
  font-size: 14.5px;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   18. 最終CTA
   -------------------------------------------------------------------------- */
.final-cta__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.final-cta__title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 18px;
}
.final-cta__lead {
  font-size: 14.5px;
  opacity: 0.85;
  margin-bottom: 32px;
}
.final-cta__btn {
  padding: 16px 40px;
  font-size: 16px;
  margin-bottom: 32px;
}
.final-cta__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  opacity: 0.85;
}
.final-cta__tel a {
  font-weight: 700;
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   19. フッター
   -------------------------------------------------------------------------- */
.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding: 56px 24px 32px;
}
.footer__name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer__catch {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 14px;
}
.footer__brand p {
  font-size: 13px;
  line-height: 1.9;
  opacity: 0.85;
}
.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__nav a {
  font-size: 13.5px;
  opacity: 0.85;
}
.footer__disclaimer {
  text-align: center;
  font-size: 11.5px;
  opacity: 0.6;
  padding: 18px 24px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (hover: hover) and (pointer: fine) {
  .footer__nav a:hover {
    opacity: 1;
  }
}
@media (max-width: 600px) {
  .footer__inner {
    flex-direction: column;
    gap: 28px;
    padding: 40px 20px 24px;
  }
}

/* --------------------------------------------------------------------------
   20. アニメーション・インタラクション
   -------------------------------------------------------------------------- */

/* ---- スクロールリビール（ライズ演出） ----
   HTML側で class="reveal" を付与した要素を、JSのIntersectionObserverが
   画面に入ったタイミングで class="is-visible" を追加して表示する。
   カード1枚ずつではなく、グリッド/リスト単位でまとめて .reveal を
   付与することで、グループ全体が一斉にライズする（相談の流れのみ例外）。 */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 相談の流れのみ、隣接する項目を0.08s刻みで軽くずらす */
.flow__list li:nth-child(2) {
  transition-delay: 0.08s;
}
.flow__list li:nth-child(3) {
  transition-delay: 0.16s;
}
.flow__list li:nth-child(4) {
  transition-delay: 0.24s;
}
.flow__list li:nth-child(5) {
  transition-delay: 0.32s;
}
.flow__list li:nth-child(6) {
  transition-delay: 0.4s;
}
.flow__list li:nth-child(7) {
  transition-delay: 0.48s;
}
.flow__list li:nth-child(8) {
  transition-delay: 0.56s;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- ホバー時にふわっと浮き上がる演出 ----
   ライズ演出は transform(translateY) を使うため、ホバーは別プロパティ
   （translate / scale）を使うことでスクロール演出の遅いtransitionと
   干渉させず、常に軽快に反応させる。
   タップで :hover が固定されてしまうタッチ端末では発生させない。 */
@media (hover: hover) and (pointer: fine) {
  .reasons__card,
  .service__card,
  .staff__card {
    transition: translate 0.3s ease, box-shadow 0.3s ease;
  }
  .reasons__card:hover,
  .service__card:hover,
  .staff__card:hover {
    translate: 0 -6px;
    box-shadow: 0 16px 32px rgba(22, 50, 74, 0.14);
  }

  .reasons__thumb,
  .service__thumb,
  .staff__photo,
  .works__photo-img {
    transition: scale 0.35s ease;
  }
  .reasons__card:hover .reasons__thumb,
  .service__card:hover .service__thumb,
  .staff__card:hover .staff__photo {
    scale: 1.06;
  }
  .works__photo-img:hover {
    scale: 1.05;
  }

  @media (prefers-reduced-motion: reduce) {
    .reasons__card:hover,
    .service__card:hover,
    .staff__card:hover {
      translate: 0 0;
      box-shadow: var(--shadow);
    }
    .reasons__card:hover .reasons__thumb,
    .service__card:hover .service__thumb,
    .staff__card:hover .staff__photo,
    .works__photo-img:hover {
      scale: 1;
    }
  }
}
