/* ==========================================================
   くらしリフォーム — サンプルサイト共通CSS
   /web-production/reform/ 専用（Technovarge本体には影響しません）
   ========================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --main:        #879E62;
  --main-dark:   #6E8450;
  --sub:         #C99A63;
  --accent:      #E7AD49;
  --white:       #FFFFFF;
  --ivory:       #FBF8F2;
  --beige:       #F6F0E7;
  --heading:     #4B382C;
  --body:        #5F5B55;
  --muted:       #8B847C;
  --border:      rgba(75, 56, 44, 0.12);
  --border-light:rgba(75, 56, 44, 0.07);

  --shadow-xs: 0 1px 6px rgba(75, 56, 44, 0.05);
  --shadow-sm: 0 4px 18px rgba(75, 56, 44, 0.08);
  --shadow-md: 0 10px 32px rgba(75, 56, 44, 0.10);

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;

  --max-w: 1180px;
  --header-h: 82px;
  --header-h-mobile: 64px;
  --sticky-cta-h: 64px;
  --demo-bar-h: 40px;

  --font-heading: "Shippori Mincho", "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Montserrat", sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--demo-bar-h)); }
@media (max-width: 1180px) { html { scroll-padding-top: calc(var(--header-h-mobile) + var(--demo-bar-h)); } }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.8;
  padding-top: calc(var(--header-h) + var(--demo-bar-h));
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
@media (max-width: 1180px) {
  body { padding-top: calc(var(--header-h-mobile) + var(--demo-bar-h)); }
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--heading); font-weight: 700; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 960px) { .container { padding: 0 32px; } }
@media (max-width: 600px) { .container { padding: 0 20px; } }

.pc-only { display: block; }
@media (max-width: 768px) {
  .pc-only { display: none; }
}

/* ==========================================================
   セクション共通
   ========================================================== */
.section { padding: 76px 0; }
.section-ivory { background: var(--ivory); }
.section-beige { background: var(--beige); }
@media (max-width: 768px) { .section { padding: 60px 0; } }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.55;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 0.95rem;
  color: var(--body);
  line-height: 1.9;
}

/* ページ共通ヒーロー（サブページ用の小さいタイトルバー） */
.page-hero {
  background: var(--ivory);
  padding: 56px 0 44px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.page-hero-eyebrow {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--sub);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.page-hero-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}
.page-hero-desc {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--body);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.breadcrumb {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--main-dark); }
.breadcrumb a:hover { text-decoration: underline; }

/* ページヒーロー（画像あり・2カラム版：下層ページ用） */
.page-hero-split { background: var(--ivory); overflow: hidden; }
.page-hero-split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  min-height: 380px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.page-hero-split-text { text-align: left; }
.page-hero-split-text .page-hero-title { text-align: left; }
.page-hero-split-text .page-hero-desc { text-align: left; margin: 16px 0 0; max-width: 460px; }
.page-hero-split-text .breadcrumb { text-align: left; margin-top: 22px; }
.page-hero-split-img {
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  min-height: 300px;
  max-height: 380px;
  box-shadow: var(--shadow-sm);
}
.page-hero-split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .page-hero-split .container { grid-template-columns: minmax(0, 1fr); gap: 24px; min-height: 560px; padding-top: 40px; padding-bottom: 40px; }
  .page-hero-split-img { order: -1; min-height: 260px; max-height: 320px; }
}

/* ページヒーロー：写真の代わりにロゴを見せるパネル（会社案内など） */
.page-hero-logo-panel {
  width: 100%;
  height: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(75, 56, 44, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.page-hero-logo-panel img {
  width: 100%;
  max-width: 320px;
  min-width: 280px;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 860px) {
  .page-hero-logo-panel { padding: 32px; }
  .page-hero-logo-panel img { max-width: 240px; min-width: 0; }
}

/* ==========================================================
   デモ案内バー
   ========================================================== */
.demo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 210;
  height: var(--demo-bar-h);
  background: var(--heading);
}
.demo-bar-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  min-height: var(--demo-bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (max-width: 960px) { .demo-bar-inner { padding: 0 24px; } }
@media (max-width: 600px) { .demo-bar-inner { padding: 0 16px; } }

.demo-bar-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-bar-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  opacity: 0.85;
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 1px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.demo-bar-link:hover { opacity: 1; border-color: rgba(255, 255, 255, 0.6); }
.demo-bar-label-short,
.demo-bar-link-short { display: none; }
@media (max-width: 600px) {
  .demo-bar-label { font-size: 11px; }
  .demo-bar-link { font-size: 11px; }
  .demo-bar-label-full,
  .demo-bar-link-full { display: none; }
  .demo-bar-label-short,
  .demo-bar-link-short { display: inline; }
}

/* ==========================================================
   ヘッダー
   ========================================================== */
.site-header {
  position: fixed;
  top: var(--demo-bar-h); left: 0; right: 0;
  z-index: 200;
  background: var(--white);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  box-shadow: none;
}
@media (max-width: 1180px) { .site-header { min-height: var(--header-h-mobile); } }

.header-inner {
  width: 100%;
  max-width: 1280px;
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 213px 1fr auto;
  align-items: center;
  column-gap: 38px;
}
@media (max-width: 1180px) { .header-inner { min-height: var(--header-h-mobile); grid-template-columns: auto 1fr auto; } }
@media (max-width: 960px) { .header-inner { padding: 0 24px; } }
@media (max-width: 600px) { .header-inner { padding: 0 16px; } }

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: var(--header-h);
  overflow: hidden;
}
.header-logo img { display: block; width: 203px; height: auto; max-height: 100%; object-fit: contain; flex-shrink: 0; }
@media (max-width: 1180px) { .header-logo { height: var(--header-h-mobile); } .header-logo img { width: 152px; } }

.header-nav { display: flex; align-items: center; justify-content: center; min-width: 0; }
.header-nav .nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 34px;
}
.header-nav .nav-list a {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.header-nav .nav-list a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--main);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.header-nav .nav-list a:hover { color: var(--main-dark); }
.header-nav .nav-list a:hover::after { transform: scaleX(1); }
@media (max-width: 1240px) { .header-nav .nav-list { gap: 18px; } }

.header-actions { display: flex; align-items: center; gap: 26px; flex-shrink: 0; }
.header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  color: inherit;
  text-decoration: none;
  border: 0;
  box-shadow: none;
  background: none;
}
.header-tel::before,
.header-tel::after { content: none; display: none; }
.header-tel-label {
  font-size: 11px;
  line-height: 1.2;
  color: var(--muted);
  font-weight: 600;
}
.header-tel-number {
  font-family: var(--font-en);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--heading);
  white-space: nowrap;
}
a.header-cta {
  height: 50px;
  padding: 0 30px;
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: none;
  white-space: nowrap;
}
@media (max-width: 1240px) { a.header-cta { min-width: 150px; padding: 0 22px; } }

.header-tel-icon,
.hamburger { display: none; }

@media (max-width: 1180px) {
  .header-nav, .header-actions { display: none; }
  .header-tel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--ivory);
    color: var(--main-dark);
  }
  .header-tel-icon svg { width: 20px; height: 20px; }
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
  }
  .hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--heading);
    margin: 0 auto;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.is-active span:nth-child(2) { opacity: 0; }
  .hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* モバイルナビ（スライドダウン） */
.mobile-nav {
  position: fixed;
  top: calc(var(--header-h-mobile) + var(--demo-bar-h));
  left: 0; right: 0;
  background: var(--white);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 199;
}
.mobile-nav.is-open {
  max-height: 640px;
  border-top: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.mobile-nav ul { padding: 12px 24px; }
.mobile-nav ul li a {
  display: block;
  padding: 14px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading);
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav-cta {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================
   ボタン
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--main); color: var(--white); }
.btn-primary:hover { background: var(--main-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline { background: var(--white); color: var(--main-dark); border-color: var(--main); }
.btn-outline:hover { background: var(--ivory); transform: translateY(-2px); }
.btn-line { background: #06C755; color: var(--white); }
.btn-line:hover { filter: brightness(0.95); transform: translateY(-2px); }
.btn-lg { height: 56px; padding: 0 34px; font-size: 0.96rem; }
.btn-sm { height: 44px; padding: 0 22px; font-size: 0.82rem; }
.btn-block { width: 100%; }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-group.center { justify-content: center; }
@media (max-width: 600px) {
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--main-dark);
  border-bottom: 1px solid var(--main);
  padding-bottom: 2px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.text-link:hover { gap: 10px; color: var(--main); }

/* ==========================================================
   カード共通
   ========================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
}
.card-hover { transition: transform 0.28s ease, box-shadow 0.28s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card-img-wrap {
  overflow: hidden;
  border-radius: var(--r-md) var(--r-md) 0 0;
  aspect-ratio: 4 / 3;
}
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; display: block; }
.card-hover:hover .card-img-wrap img { transform: scale(1.03); }

/* グリッド汎用 */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================
   アニメーション（控えめ）
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.img-reveal {
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.img-reveal.is-visible { opacity: 1; transform: scale(1); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .img-reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .card-hover, .card-img-wrap img, .btn, .header-nav .nav-list a::after {
    transition: none !important;
  }
}

/* ==========================================================
   HERO（トップページ）
   ========================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 720px;
  overflow: hidden;
}
.hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .hero { height: auto; }
  .hero img { height: auto; }
}

.hero-cards {
  margin-top: -56px;
  position: relative;
  z-index: 5;
}
.hero-cards .container:not(.hero-cta-row) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 768px) { .hero-cards .container:not(.hero-cta-row) { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
.hero-card {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--heading);
}
.hero-card-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-dark);
}
.hero-card-icon svg { width: 20px; height: 20px; }

.hero-cta-row {
  max-width: 760px;
  margin: 36px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-cta-row a { flex: 1; max-width: 360px; }
@media (max-width: 768px) {
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 16px; padding: 0 20px; }
  .hero-cta-row a { max-width: 100%; }
}

/* ==========================================================
   実績・安心数字
   ========================================================== */
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 768px) { .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat-item { text-align: center; padding: 20px 12px; }
.stat-label { font-size: 0.8rem; font-weight: 700; color: var(--sub); margin-bottom: 8px; }
.stat-value { font-family: var(--font-en); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; color: var(--heading); }
.stats-note { text-align: center; margin-top: 28px; font-size: 0.72rem; color: var(--muted); }

/* ==========================================================
   導入メッセージ / 代表メッセージ（2カラム）
   ========================================================== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.two-col-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.two-col-text .section-desc + .section-desc,
.two-col-text p + p { margin-top: 16px; }
.signature { margin-top: 24px; font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--heading); }

/* ==========================================================
   リフォームメニュー（トップ4カード）
   ========================================================== */
.menu-card { padding: 28px 26px; text-align: left; display: flex; flex-direction: column; }
.menu-card-title { font-size: 1.05rem; margin-bottom: 10px; }
.menu-card-desc { font-size: 0.85rem; color: var(--body); line-height: 1.8; margin-bottom: 16px; }
.menu-card-price { font-family: var(--font-en); font-size: 1.3rem; font-weight: 700; color: var(--main-dark); margin-top: auto; }
.menu-card-price span { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-left: 4px; }
.section-link-row { text-align: center; margin-top: 40px; }

/* ==========================================================
   施工事例カード
   ========================================================== */
.case-card { overflow: hidden; }
.case-card-body { padding: 22px 22px 24px; }
.case-card-title { font-size: 0.98rem; line-height: 1.6; margin-bottom: 14px; }
.case-card-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 0.76rem; color: var(--muted); }
.case-card-meta span { display: flex; align-items: center; gap: 4px; }
.case-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--main-dark);
  background: var(--ivory);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

/* 画像なし施工事例カード（写真の代わりのビジュアル） */
.case-card-noimg {
  aspect-ratio: 4 / 3;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.case-card-noimg-deco {
  position: absolute;
  top: 50%; left: 50%;
  width: 145%;
  transform: translate(-50%, -50%);
  color: var(--main);
  opacity: 0.07;
  pointer-events: none;
}
.case-card-noimg-deco svg { width: 100%; height: auto; display: block; }
.case-card-noimg-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-dark);
  box-shadow: var(--shadow-xs);
  position: relative;
  z-index: 1;
}
.case-card-noimg-icon svg { width: 25px; height: 25px; }
.case-card-noimg-label {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  position: relative;
  z-index: 1;
}

/* ==========================================================
   選ばれる理由
   ========================================================== */
.reasons-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .reasons-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .reasons-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.reason-item { text-align: center; padding: 26px 16px; }
.reason-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-dark);
}
.reason-icon svg { width: 26px; height: 26px; }
.reason-title { font-size: 0.88rem; font-weight: 700; color: var(--heading); }

/* ==========================================================
   お客様の声
   ========================================================== */
.testimonial-card { padding: 28px 26px; display: flex; flex-direction: column; }
.testimonial-stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.88rem; color: var(--body); line-height: 1.9; margin-bottom: 18px; }
.testimonial-name { font-size: 0.8rem; font-weight: 700; color: var(--heading); margin-top: auto; }
.testimonial-area { font-size: 0.75rem; color: var(--muted); }

/* ==========================================================
   工事の流れ
   ========================================================== */
.flow-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .flow-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .flow-row { grid-template-columns: minmax(0, 1fr); } }
.flow-step { text-align: center; padding: 26px 18px; position: relative; }
.flow-num {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  background: var(--main);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.flow-title { font-size: 0.9rem; font-weight: 700; color: var(--heading); }

/* ==========================================================
   対応エリア
   ========================================================== */
.area-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.area-chip {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--heading);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 24px;
}

/* ==========================================================
   FAQ抜粋 / FAQアコーディオン
   ========================================================== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 52px 20px 22px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--heading);
  position: relative;
  display: flex;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-mark {
  font-family: var(--font-en);
  color: var(--main-dark);
  flex-shrink: 0;
}
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--main-dark);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
  padding: 0 22px 22px 52px;
  font-size: 0.86rem;
  color: var(--body);
  line-height: 1.85;
}
@media (max-width: 600px) {
  .faq-item summary { padding-left: 18px; }
  .faq-item p { padding-left: 18px; }
}

/* FAQアコーディオン（ボタン式・ふんわり開閉：FAQページ専用） */
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 52px 20px 22px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--heading);
  text-align: left;
  position: relative;
  cursor: pointer;
}
.faq-q .q-mark { font-family: var(--font-en); color: var(--main-dark); flex-shrink: 0; }
.faq-toggle-icon { position: absolute; right: 22px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); }
.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: '';
  position: absolute;
  background: var(--main-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.faq-toggle-icon::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq-toggle-icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item.is-open .faq-toggle-icon::after { opacity: 0; transform: rotate(90deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.faq-a-inner { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner p { padding: 0 22px 22px 52px; font-size: 0.86rem; color: var(--body); line-height: 1.85; }
@media (max-width: 600px) {
  .faq-q { padding-left: 18px; }
  .faq-a-inner p { padding-left: 18px; }
}

/* FAQページ カテゴリタブ */
.faq-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.faq-tab {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--heading);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 22px;
  transition: all 0.2s ease;
}
.faq-tab.is-active, .faq-tab:hover { background: var(--main); color: var(--white); border-color: var(--main); }
.faq-category-title {
  font-size: 1.05rem;
  color: var(--heading);
  margin: 48px 0 20px;
  padding-left: 14px;
  border-left: 4px solid var(--main);
}
.faq-category-title:first-of-type { margin-top: 0; }

/* ==========================================================
   最終CTA
   ========================================================== */
.final-cta {
  background: linear-gradient(160deg, var(--main) 0%, var(--main-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}
.final-cta .section-title, .final-cta h2 { color: var(--white); }
.final-cta .section-desc { color: rgba(255,255,255,0.85); }
.final-cta .btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.final-cta .btn-outline:hover { background: rgba(255,255,255,0.12); }
.final-cta .btn-primary { background: var(--white); color: var(--main-dark); }
.final-cta .btn-primary:hover { background: var(--ivory); }

/* ==========================================================
   料金表（メニューページ）
   ========================================================== */
.category-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 48px; }
.category-tab {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--heading);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 26px;
}
.category-tab.is-active { background: var(--main); color: var(--white); border-color: var(--main); }

.price-category { margin-bottom: 72px; }
.price-category:last-child { margin-bottom: 0; }
.price-category-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .price-category-split { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.price-category-cards { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--r-lg); padding: 28px 30px; box-shadow: var(--shadow-xs); }
.price-category-note { font-size: 0.85rem; color: var(--body); line-height: 1.85; margin-top: 18px; }
.price-category-title {
  font-size: 1.2rem;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.price-category-title span {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sub);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.price-category-desc { font-size: 0.85rem; color: var(--muted); margin-bottom: 28px; }

.price-table { width: 100%; border-collapse: collapse; }
.price-table tr { border-bottom: 1px solid var(--border-light); }
.price-table tr:first-child { border-top: 1px solid var(--border-light); }
.price-table td { padding: 18px 12px; font-size: 0.9rem; color: var(--body); }
.price-table td.price-name { font-weight: 700; color: var(--heading); }
.price-table td.price-value { text-align: right; font-family: var(--font-en); font-weight: 700; color: var(--main-dark); white-space: nowrap; }
.price-table td.price-term { text-align: right; font-size: 0.78rem; color: var(--muted); white-space: nowrap; padding-left: 12px; }
@media (max-width: 600px) {
  .price-table td { display: block; padding: 4px 0; }
  .price-table tr { display: block; padding: 16px 4px; }
  .price-table td.price-value, .price-table td.price-term { text-align: left; }
}

.price-highlight-card {
  background: var(--ivory);
  border-radius: var(--r-lg);
  padding: 32px 30px;
  margin-top: 24px;
}
.price-highlight-card .price-table tr:first-child { border-top: none; }

.price-notes {
  max-width: 720px;
  margin: 64px auto 0;
  background: var(--beige);
  border-radius: var(--r-md);
  padding: 28px 30px;
}
.price-notes-title { font-size: 0.9rem; font-weight: 700; color: var(--heading); margin-bottom: 14px; }
.price-notes ul { display: flex; flex-direction: column; gap: 8px; }
.price-notes li { font-size: 0.82rem; color: var(--body); padding-left: 18px; position: relative; }
.price-notes li::before { content: '※'; position: absolute; left: 0; color: var(--sub); }

/* ==========================================================
   施工事例ページ フィルター
   ========================================================== */
.works-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 48px; }
.works-filter-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--heading);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 24px;
  transition: all 0.2s ease;
}
.works-filter-btn.is-active, .works-filter-btn:hover { background: var(--main); color: var(--white); border-color: var(--main); }

/* ==========================================================
   初めての方へ：お約束 / タイムライン / 比較表
   ========================================================== */
.promise-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; max-width: 900px; margin: 0 auto; }
.promise-item { flex: 0 1 260px; text-align: center; padding: 32px 20px; }
@media (max-width: 600px) { .promise-grid { gap: 16px; } .promise-item { flex-basis: calc(50% - 8px); padding: 24px 14px; } }
.promise-num { font-family: var(--font-en); font-size: 0.75rem; font-weight: 700; color: var(--sub); margin-bottom: 10px; }
.promise-title { font-size: 0.85rem; font-weight: 700; color: var(--heading); line-height: 1.6; }

.timeline { max-width: 820px; margin: 0 auto; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 23px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; padding-left: 64px; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-num {
  position: absolute;
  left: 0; top: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--main);
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.timeline-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.timeline-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--main-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-icon svg { width: 15px; height: 15px; }
.timeline-title { font-size: 1rem; font-weight: 700; color: var(--heading); margin-bottom: 0; }
.timeline-desc { font-size: 0.85rem; color: var(--body); line-height: 1.85; }
.timeline-item--media .timeline-body { display: flex; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.timeline-item--media .timeline-text { flex: 1 1 260px; }
.timeline-media { flex: 0 0 220px; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-xs); }
.timeline-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .timeline-item--media .timeline-body { flex-direction: column; align-items: stretch; }
  .timeline-media { flex-basis: auto; width: 100%; max-width: 320px; }
}

.compare-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 760px; margin: 0 auto; }
@media (max-width: 600px) { .compare-list { grid-template-columns: minmax(0, 1fr); } }
.compare-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--heading);
}
.compare-item-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--main-dark);
  font-family: var(--font-en);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================
   会社案内
   ========================================================== */

.info-table-card {
  max-width: 960px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-light);
  padding: 8px 8px;
}
.info-table2 { width: 100%; border-collapse: collapse; }
.info-table2 tr { border-bottom: 1px solid var(--beige); }
.info-table2 tr:last-child { border-bottom: none; }
.info-table2 th, .info-table2 td { padding: 20px 24px; text-align: left; font-size: 0.9rem; vertical-align: top; }
.info-table2 th {
  width: 180px;
  color: var(--main-dark);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.88rem;
}
.info-table2 td { color: var(--heading); font-weight: 500; line-height: 1.85; }
@media (max-width: 640px) {
  .info-table2 th, .info-table2 td { display: block; padding: 4px 24px; }
  .info-table2 th { width: auto; padding-top: 18px; font-size: 0.78rem; color: var(--sub); }
  .info-table2 td { padding-bottom: 18px; }
  .info-table2 tr { display: block; }
}

.staff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .staff-grid { grid-template-columns: minmax(0, 1fr); max-width: 400px; margin: 0 auto; } }
.staff-card {
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  border-color: var(--beige);
  border-radius: 20px;
  box-shadow: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.staff-grid .staff-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-xs); }
.staff-card-body { display: flex; flex-direction: column; flex: 1; }
.staff-desc { margin-top: auto; }
.staff-illust { width: 100%; aspect-ratio: 4 / 3; background: var(--ivory); overflow: hidden; }
.staff-illust--beige { background: var(--beige); }
.staff-illust img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.staff-card-body { padding: 22px 22px 26px; }
.staff-name { font-size: 1.02rem; margin-bottom: 6px; }
.staff-role { font-size: 0.78rem; color: var(--sub); font-weight: 700; margin-bottom: 12px; }
.staff-desc { font-size: 0.83rem; color: var(--body); line-height: 1.8; }

/* ==========================================================
   お問い合わせフォーム
   ========================================================== */
.contact-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 64px; }
@media (max-width: 768px) { .contact-methods { grid-template-columns: minmax(0, 1fr); } }
.contact-method-card { text-align: center; padding: 30px 24px; }
.contact-method-icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-dark);
}
.contact-method-icon svg { width: 24px; height: 24px; }
.contact-method-title { font-size: 0.95rem; margin-bottom: 8px; }
.contact-method-value { font-family: var(--font-en); font-size: 1.1rem; font-weight: 700; color: var(--heading); margin-bottom: 14px; }
.contact-method-desc { font-size: 0.78rem; color: var(--muted); margin-bottom: 16px; }

.contact-form { max-width: 900px; margin: 0 auto; }
.form-group { margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
}
.form-required {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  border-radius: 4px;
  padding: 2px 8px;
}
.form-optional {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--beige);
  border-radius: 4px;
  padding: 2px 8px;
}
.form-control {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--heading);
  transition: border-color 0.2s ease;
}
textarea.form-control { height: auto; padding: 14px 16px; min-height: 140px; resize: vertical; }
.form-control:focus { outline: none; border-color: var(--main); }
select.form-control { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B847C' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 16px center / 16px; }
.form-radio-group, .form-checkbox-group { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.form-radio, .form-checkbox { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--body); cursor: pointer; }
.form-radio input, .form-checkbox input { accent-color: var(--main); width: 16px; height: 16px; }
.form-file {
  border: 1px dashed var(--border);
  border-radius: var(--r-sm);
  padding: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}
.form-privacy {
  background: var(--ivory);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  font-size: 0.8rem;
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 26px;
}
.form-privacy a { color: var(--main-dark); text-decoration: underline; }
.form-submit { text-align: center; margin-top: 32px; }
.form-demo-note { margin-top: 16px; font-size: 0.78rem; color: var(--sub); }

/* ==========================================================
   フッター
   ========================================================== */
.site-footer { background: var(--ivory); border-top: 1px solid var(--border-light); }
.footer-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px 44px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: minmax(0, 1fr); padding: 40px 24px 8px; gap: 32px; } }
.footer-logo { width: 160px; height: auto; display: block; }
.footer-nav-title { font-size: 0.78rem; font-weight: 700; color: var(--sub); letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-nav { display: flex; flex-direction: column; gap: 14px; }
.footer-nav a { font-size: 0.85rem; color: var(--body); line-height: 1.6; }
.footer-nav a:hover { color: var(--main-dark); }
.footer-info p { font-size: 0.82rem; color: var(--body); margin-bottom: 8px; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(75, 56, 44, 0.05);
  padding: 24px 20px 28px;
  text-align: center;
}
.footer-copyright { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; font-family: var(--font-en); }
.footer-disclaimer { font-size: 0.72rem; color: var(--muted); line-height: 1.8; max-width: 640px; margin: 0 auto; }
.footer-back-link { margin-top: 10px; font-size: 0.72rem; }
.footer-back-link a { color: var(--muted); }
.footer-back-link a:hover { color: var(--main-dark); }

/* ==========================================================
   スマホ固定CTA
   ========================================================== */
.mobile-sticky-cta {
  display: none;
}
@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--sticky-cta-h);
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(75, 56, 44, 0.08);
    z-index: 190;
  }
  .mobile-sticky-cta-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--heading);
    border-right: 1px solid var(--border-light);
  }
  .mobile-sticky-cta-item:last-child { border-right: none; }
  .mobile-sticky-cta-item svg { width: 18px; height: 18px; }
  .mobile-sticky-cta-item--line { background: #06C755; color: var(--white); }
  .mobile-sticky-cta-item--primary { background: var(--main); color: var(--white); }
  body { padding-bottom: var(--sticky-cta-h); }
}
