/* ================================
   THEME TOKENS（添付の色味に寄せたパレット）
   ================================ */
:root {
  /* テラコッタ系オレンジ（ボタン等で使用可） */
  --brand: #C9642B;
  --brand-strong: #A65220;

  /* 生成り〜薄ピーチ（背景/カードアクセント） */
  --bg: #FFF8F1;
  /* ページ地 */
  --paper: #FFFFFF;
  /* カード地 */
  --soft: #FFF2E6;
  /* セクション薄面 */
  --peach: #FCE8D8;
  /* バッジ/帯 */
  --accent: #F1C693;
  /* 見出し下線の差し色 */

  /* 罫線/文字 */
  --text: #3A3029;
  --muted: #6C5B4E;
  --line: #F0E1D6;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 6px 16px rgba(0, 0, 0, .06);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, .08);

  --container: min(1080px, 92vw);
}

/* Base */
* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  letter-spacing: .02em;
}

a {
  color: inherit;
  text-decoration: none
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px
}

.center {
  text-align: center
}

.strong {
  font-weight: 700
}

.m0 {
  margin: 0
}

.m0-5 {
  margin: .5em 0 0
}

.mt8 {
  margin-top: 8px
}

.mt12 {
  margin-top: 12px
}

.mt14 {
  margin-top: 14px
}

.mt16 {
  margin-top: 16px
}

.mt24 {
  margin-top: 24px
}

/* Placeholders */
.ph {
  background: linear-gradient(135deg, #F1ECE7, #FBF7F3);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(0, 0, 0, .02) 0 12px, transparent 12px 24px);
  pointer-events: none;
}

/* Card */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

/* Type scale */
h1,
h2,
h3 {
  margin: .35em 0 .2em
}

h1 {
  text-align: center;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  letter-spacing: .02em;
}

h2 {
  text-align: center;
  font-size: clamp(18px, 2.3vw, 22px);
  font-weight: 800;
  position: relative;
  padding-bottom: .4em;
}

h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: .5em auto 0;
  background: linear-gradient(90deg, var(--accent), #F6D9AC);
  border-radius: 2px;
}

h3 {
  font-size: 16px;
  font-weight: 800
}

.lead {
  color: var(--muted)
}

/* Hero（ヒーロー帯や見出し周りのみ残す） */
.hero {
  margin-top: 8px
}

.hero .visual {
  height: clamp(160px, 28vw, 240px);
  background: linear-gradient(120deg, var(--soft), #FFF6EC);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.breadcrumbs {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}

/* Local nav chips */
.localnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 14px 0;
}

.localnav a {
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  background: #fff;
}

.localnav a:hover {
  background: var(--soft);
  color: var(--brand-strong)
}

/* Services overview */
#overview {
  margin-top: 28px
}

.grid {
  display: grid;
  gap: 16px
}

.services-overview {
  grid-template-columns: repeat(3, 1fr)
}

.service {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid var(--line);
  background: #fff;
}

.service:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md)
}

.ico {
  background: var(--soft);
  height: 44px;
  border-radius: 10px;
  border: 1px dashed #E6D6C8;
}

.service h3 {
  color: var(--brand-strong);
  margin: 0
}

/* Detail blocks */
.detail {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 18px
}

.detail .img {
  height: 160px;
  background: linear-gradient(135deg, #F3EAE2, #FFF7EF);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  margin: 8px 0
}

.chip {
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand-strong);
  font-weight: 700;
}

dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 14px;
  margin: 8px 0 0
}

dt {
  color: #2b2b2b;
  font-weight: 700
}

dd {
  margin: 0;
  color: #444
}

ul.tight {
  margin: 6px 0 0;
  padding-left: 18px
}

/* Steps */
.steps {
  counter-reset: s;
  margin: .6em 0 0;
  padding: 0
}

.steps li {
  list-style: none;
  position: relative;
  padding-left: 34px;
  margin: 10px 0;
}

.steps li::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--peach);
  color: #7b502d;
  text-align: center;
  font-size: 12px;
  line-height: 24px;
  font-weight: 800;
  border: 1px solid #E9D5C1;
}

/* Feature wrapper */
.feature {
  border: 1px solid var(--line);
  padding: 18px;
  margin-top: 24px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

/* Case */
.case-tag {
  display: inline-block;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  margin: 4px 0 10px;
  color: var(--brand-strong);
}

.figure-ba {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius)
}

.figure-ba .badge,
.figure-ba .label {
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-sm);
}

.figure-ba .label {
  top: auto;
  bottom: 10px
}

/* Voice */
.voice {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 12px;
}

.voice .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--soft);
  border: 1px solid #E6D6C8;
}

.voice .quote {
  margin: 0
}

.voice .meta {
  font-size: 13px;
  color: #6a6a6a;
  margin: 6px 0 0
}

/* CTA */
.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  border: 2px dashed #E7D4C3;
  padding: 14px;
  border-radius: var(--radius);
  background: #fff;
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(201, 100, 43, .22);
  transition: filter .2s ease, transform .02s ease;
}

.btn:hover {
  filter: brightness(1.05)
}

.btn:active {
  transform: translateY(1px)
}

.btn:focus {
  outline: 2px solid #000;
  outline-offset: 2px
}

/* Equip block */
.card--bar {
  display: flex;
  gap: 16px;
  align-items: center;
  border-left: 6px solid var(--peach)
}

.icon-60 {
  width: 60px;
  height: 60px
}

.bar {
  width: 100%;
  height: 10px;
  margin-bottom: 10px
}

.equip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center
}

.equip__item {
  flex: 1 1 260px;
  max-width: 280px
}

.equip__img {
  width: 100%;
  height: 120px;
  border-radius: 8px
}

.equip__link {
  font-size: 13px;
  text-align: center;
  margin: .4em 0 0
}

.equip__link a {
  text-decoration: underline;
  color: var(--brand-strong)
}

.note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px
}

/* Sticky inquiry */
.sticky-inquiry {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1000
}

.sticky-inquiry .btn {
  padding: 14px 18px
}

/* Responsive */
@media(max-width:960px) {
  .services-overview {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:768px) {
  .services-overview {
    grid-template-columns: 1fr
  }

  .detail {
    grid-template-columns: 1fr
  }

  dl {
    grid-template-columns: 1fr
  }

  .cta {
    grid-template-columns: 1fr
  }
}

/* ---------- Theme tokens ---------- */
:root {
  --brand: #C9642B;
  --brand-strong: #A65220;

  --bg: #FFF8F1;
  /* ページ全体の生成り */
  --paper: #FFFFFF;
  /* カード/タイル地 */
  --line: #F0E1D6;

  --ink-blue: #1E6FBF;
  /* アイコンフレーム青 */
  --muted: #6C5B4E;

  --radius: 16px;
  --container: min(1080px, 92vw);
}

/* ---------- Layout utils ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

h2 {
  text-align: center;
  font-size: clamp(18px, 2.3vw, 22px);
  font-weight: 800;
  margin: 0 0 18px;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: .6em auto 0;
  background: linear-gradient(90deg, #F1C693, #F6D9AC);
  border-radius: 2px;
}

/* ---------- Section background (full width) ---------- */
.svc-bg {
  background: #FDF7F1;
  /* 横幅いっぱいの背景色 */
  padding: 44px 0;
  /* 上下余白 */
}

/* ---------- Grid (3列→2列→1列) ---------- */
.svc-grid {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-items: center;
  /* 各アイテム中央 */
}

@media (max-width: 960px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Item ---------- */
.svc {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc__link {
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  text-align: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  padding: 10px 8px;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform, box-shadow;
}



/* ---------- Title & Description ---------- */
.svc__title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.3;
}

.svc__desc {
  margin: 0;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  max-width: 22em;
  /* 1〜2行で収まる幅 */
}

/* ---------- Icon tile (大きめ) ---------- */
.svc__icon {
  --size: 140px;
  /* アイコン枠の基準サイズ */
  width: var(--size);
  height: var(--size);
  border-radius: var(--radius);
  background: var(--paper);
  display: grid;
  place-items: center;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, .05),
    inset 0 0 0 8px rgba(30, 111, 191, .08);
  /* ほんのり青縁 */
}

.svc__icon img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: contrast(1.1) saturate(1.08) drop-shadow(0 1px 0 rgba(0, 0, 0, .14));
}

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  .svc__link {
    transition: none;
  }
}

/* === Tokens（既存トークンに合わせて使用） === */
:root{
  --bg:#FFF8F1;
  --paper:#FFFFFF;
  --text:#3A3029;
  --muted:#6C5B4E;
  --line:#F0E1D6;
  --brand:#C9642B;
  --brand-strong:#A65220;
  --accent:#F1C693;

  --radius-lg:16px;
  --radius-md:12px;

  --shadow-sm:0 6px 16px rgba(0,0,0,.06);
}

/* === Section === */
.detail-section{
  background: linear-gradient(180deg, #FFF8F1 0%, #FFFDFC 100%);
  padding: clamp(32px, 6vw, 64px) 0;
  color: var(--text);
}

.detail-heading{
  text-align:center;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: .01em;
  margin: 0 auto clamp(20px, 3.6vw, 36px);
}
.detail-heading::after{
  content:"";
  display:block;
  width: 84px; height: 3px;
  margin: .6em auto 0;
  background: linear-gradient(90deg, var(--accent), #F6D9AC);
  border-radius: 2px;
}

/* === Row（1サービス） === */
.detail-row{
  display:grid;
  grid-template-columns: minmax(300px, 38%) 1fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: start;

  padding: clamp(18px, 3.2vw, 30px) 0;
  border-top: 1px solid color-mix(in oklab, var(--line) 68%, transparent);
}
.detail-row:first-of-type{ border-top:none; }

/* === Media（16:9推奨・画像/PH切替） === */
.detail-media{
  border-radius: var(--radius-lg);
  overflow: clip;
  background: #FFFDF8;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
}
.detail-media img{
  display:block;
  width:100%; height:100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* === Body === */
.detail-body{
  display:flex; flex-direction:column;
  gap: clamp(10px, 1.6vw, 16px);
}
.detail-header{
  display:flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}

/* 上の小見出し（視線誘導） */
.detail-kicker{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #7B6B5D;
  text-transform: uppercase;
  padding: 4px 8px;
  background: #FFF2E0;
  border: 1px solid var(--accent);
  border-radius: 999px;
}

/* タイトル */
.detail-title{
  margin: 0;
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 900;
  color: var(--brand-strong);
  letter-spacing: .01em;
}

/* リード文：少し大きめで行間広め */
.detail-lead{
  margin: 2px 0 0;
  color: var(--text);
  line-height: 1.85;
}

/* チップ：ボタン化しない・視認性重視 */
.chips{
  display:flex; flex-wrap:wrap; gap: 8px; margin-top: 2px;
  padding: 0; list-style: none;
}
.chip{
  padding: 6px 10px;
  background: #FFF2E0;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 12px;
  color: var(--brand-strong);
  font-weight: 800;
  letter-spacing: .01em;
}

/* 定義リスト：1行=2カラムで横並び、罫線は控えめ */
.detail-meta{
  display:grid; gap: 8px; margin: 6px 0 0;
}
.meta-row{
  display:grid; grid-template-columns: 112px 1fr; gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed color-mix(in oklab, var(--line) 78%, transparent);
}
.meta-row:last-child{ border-bottom:none; }
.detail-meta dt{
  margin:0; color:#4b423b; font-weight: 800;
}
.detail-meta dd{
  margin:0; color:#51453E;
}

/* 箇条書き：読みやすい行間 */
.detail-points{
  margin: 0; padding-left: 1.2em; color:#5A514A; line-height:1.7;
}
.detail-points li{ margin:.2em 0; }

/* === Responsive === */
@media (max-width: 1040px){
  .detail-row{ grid-template-columns: minmax(260px, 40%) 1fr; }
}
@media (max-width: 960px){
  .detail-row{ grid-template-columns: 1fr; }
  .detail-media{ order:0; }
  .detail-body{ order:1; }
}
/* =========================
   施工事例（#examples）- 横幅いっぱいに拡張
   ========================= */
   #examples{
    --ex-bg: #FDF7F1;
    --ex-paper:#fff;
    --ex-line:#F0E1D6;
    --ex-brand:#C9642B;
    --ex-muted:#6C5B4E;
    --ex-shadow: 0 10px 26px rgba(0,0,0,.08);
    --ex-radius:16px;
    --ex-elevate: translateY(-3px);
  }
  
  /* 横幅いっぱいに広げる */
  #examples.feature {
    /* .containerの制約を解除して全幅に */
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: max(20px, calc(50vw - 540px));
    padding-right: max(20px, calc(50vw - 540px));
    padding-top: clamp(32px, 4.5vw, 44px);
    padding-bottom: clamp(32px, 4.5vw, 44px);
    
    background: linear-gradient(180deg, #FDF7F1 0%, #FFF8F1 100%);
    border: none;
    border-top: 1px solid rgba(240, 225, 214, 0.6);
    border-bottom: 1px solid rgba(240, 225, 214, 0.6);
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
  }
  
  /* 内部コンテンツを中央寄せ */
  #examples.feature > * {
    max-width: min(1080px, 92vw);
    margin-left: auto;
    margin-right: auto;
  }
  
  /* 見出し */
  #examples h2{
    margin: 0 0 clamp(20px, 3vw, 28px);
    text-align: center;
    font-size: clamp(18px, 2.3vw, 22px);
    font-weight: 800;
  }
  
  #examples .case-tag{
    display:inline-block;
    margin-top: 8px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 900;
    border-radius: 999px;
    background: #fff;
    color: var(--ex-brand);
    border: 1px solid var(--ex-line);
  }
  
  /* before/after グリッド */
  #examples .grid.detail{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 3vw, 28px);
  }
  @media (max-width: 720px){
    #examples .grid.detail{ grid-template-columns: 1fr; }
  }
  
  /* 事例カード（画像枠） */
  #examples .figure-ba{
    position: relative;
    overflow: hidden;
    border-radius: var(--ex-radius);
    background: var(--ex-paper);
    border: 1px solid var(--ex-line);
    box-shadow: 0 4px 14px rgba(0,0,0,.04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  
  /* 画像 */
  #examples .figure-ba .img,
  #examples .figure-ba img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    background: repeating-linear-gradient(45deg, #f3efe9 0 12px, #faf6f2 12px 24px);
  }
  
  /* ラベル */
  #examples .figure-ba .badge,
  #examples .figure-ba .label{
    position:absolute;
    left:10px;
    top:10px;
    z-index:2;
    font-size:12px;
    font-weight:800;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid color-mix(in oklab, var(--ex-line) 80%, transparent);
    background: rgba(255,255,255,.94);
    color:#2b2b2b;
    box-shadow: 0 6px 16px rgba(0,0,0,.06);
  }
  #examples .figure-ba .label{ top:auto; bottom:10px; }
  
  /* 角のめくれ風 */
  #examples .figure-ba::after{
    content:"";
    position:absolute;
    right:-1px; bottom:-1px;
    width: 62px; height: 62px;
    background: linear-gradient(135deg, rgba(0,0,0,.05), rgba(0,0,0,0)) border-box;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    opacity:.12;
  }
  
  /* hover/focus */
  @media (hover:hover){
    #examples .figure-ba:hover{
      transform: var(--ex-elevate);
      box-shadow: var(--ex-shadow);
      border-color: color-mix(in oklab, var(--ex-line) 40%, var(--ex-brand) 60%);
    }
  }
  #examples .figure-ba:focus-within{
    outline: 3px solid #0B63C5; 
    outline-offset: 2px;
  }
  
  /* お客様の声 */
  #examples .voice{
    display:grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    align-items: start;
    border: 1px solid var(--ex-line);
    border-radius: var(--ex-radius);
    background:#fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.04);
    padding: 16px;
    margin-top: 10px;
  }
  #examples .voice .avatar{
    width:64px; 
    height:64px; 
    border-radius:50%;
    border: 1px solid var(--ex-line);
    background: linear-gradient(135deg, #F3EAE2, #FFF7EF);
  }
  #examples .voice .quote{
    margin:0;
    font-size: 15px;
    line-height:1.7;
  }
  #examples .voice .quote strong{
    color: var(--ex-brand);
  }
  #examples .voice .meta{
    margin: 6px 0 0;
    font-size: 14px;
    color: var(--ex-muted);
    line-height:1.8;
  }
  
  /* セクション末尾のリード */
  #examples .lead{
    color: var(--ex-muted);
    margin-top: clamp(24px, 4vw, 40px);
    font-size: clamp(15px, 1.8vw, 17px);
    font-weight: 700;
  }
  
/* ================================
   太陽光セクション - 要素デザイン強化版
   ================================ */

/* === セクション全体 === */
#solar.feature {
  --solar-brand: #C9642B;
  --solar-brand-dark: #A65220;
  --solar-accent: #F1C693;
  --solar-bg-soft: #FFF6ED;
  --solar-line: #EEDFD0;
  --solar-shadow: 0 10px 28px rgba(0,0,0,.08);
  
  position: relative;
  padding: clamp(44px, 8vw, 72px) clamp(24px, 4vw, 40px);
  margin-top: clamp(32px, 6vw, 56px);
  margin-bottom: clamp(32px, 6vw, 56px);
  border-radius: 24px;
  
  /* 目立つグラデーション背景 - より濃く華やか */
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(252, 232, 216, 0.5) 0%, transparent 45%),
    radial-gradient(ellipse 70% 100% at 100% 100%, rgba(241, 198, 147, 0.4) 0%, transparent 45%),
    linear-gradient(135deg, #FFF3E8 0%, #FFF8F1 50%, #FFFBF5 100%);
  
  /* より太く目立つボーダー */
  border: 3px solid var(--solar-brand);
  box-shadow: 
    0 20px 50px rgba(201, 100, 43, 0.18),
    0 8px 20px rgba(201, 100, 43, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.95);
}

/* 左上の装飾アクセント */
#solar.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 0% 0%, rgba(241, 198, 147, 0.3) 0%, transparent 65%);
  border-radius: 24px 0 0 0;
  pointer-events: none;
}

/* 右下の装飾アクセント */
#solar.feature::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: 
    linear-gradient(135deg, transparent 45%, rgba(201, 100, 43, 0.08) 45%);
  border-radius: 0 0 24px 0;
  pointer-events: none;
}

/* === セクション見出し === */
#solar h2 {
  text-align: center;
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 32px);
  color: var(--solar-brand);
  margin: 0 0 clamp(28px, 5vw, 44px);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(201, 100, 43, 0.12);
}

#solar h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 5px;
  margin: 0.8em auto 0;
  background: linear-gradient(90deg, var(--solar-brand) 0%, var(--solar-accent) 50%, #F6D9AC 100%);
  border-radius: 4px;
  box-shadow: 
    0 3px 12px rgba(201, 100, 43, 0.3),
    0 1px 3px rgba(201, 100, 43, 0.2);
}

/* === バー付きインフォカード（上段の強調カード） === */
#solar .card--bar {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: center;
  border: 3px solid var(--solar-brand);
  border-left: 8px solid var(--solar-brand);
  border-radius: 18px;
  padding: 22px;
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 241, 0.9) 100%);
  box-shadow: 
    0 16px 40px rgba(201, 100, 43, 0.16),
    inset 0 2px 0 rgba(255, 255, 255, 1);
  transition: all 0.3s ease;
}

#solar .card--bar:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 24px 56px rgba(201, 100, 43, 0.24),
    inset 0 2px 0 rgba(255, 255, 255, 1);
  border-color: var(--solar-brand-dark);
}

#solar .card--bar .icon-60 {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FFF9F0 0%, #FFFFFF 100%);
  box-shadow: 
    0 0 0 4px rgba(241, 198, 147, 0.4),
    0 10px 28px rgba(201, 100, 43, 0.2);
  display: grid;
  place-items: center;
}

#solar .card--bar h3 {
  margin: 0;
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 900;
  color: var(--solar-brand-dark);
}

#solar .card--bar p {
  margin: 6px 0 0;
  color: #51453E;
  line-height: 1.8;
  font-size: clamp(14px, 1.6vw, 16px);
}

/* === 2カラム情報カード（おすすめ／設置の流れ） === */
#solar > .grid.mt12 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 32px);
  margin-top: clamp(20px, 3.6vw, 28px);
}

#solar > .grid.mt12 .card {
  border: 2px solid var(--solar-accent);
  border-radius: 18px;
  background: 
    linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 252, 248, 0.98) 100%);
  padding: clamp(20px, 3.4vw, 28px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* カードの左上に装飾 */
#solar > .grid.mt12 .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at 0% 0%, rgba(241, 198, 147, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

#solar > .grid.mt12 .card:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 20px 50px rgba(201, 100, 43, 0.16),
    0 0 0 3px var(--solar-brand);
  border-color: var(--solar-brand);
}

/* カード内見出し */
#solar > .grid.mt12 .card h3 {
  margin: 0 0 16px;
  font-weight: 900;
  font-size: clamp(17px, 2.1vw, 20px);
  color: var(--solar-brand-dark);
  position: relative;
  padding-bottom: 12px;
}

#solar > .grid.mt12 .card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, var(--solar-brand), var(--solar-accent));
  border-radius: 2px;
}

/* リスト装飾 - 見やすさ向上 */
#solar .tight {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.9;
  color: #51453E;
}

#solar .tight li {
  margin: 0;
  padding: 14px 18px;
  position: relative;
  background: rgba(255, 248, 241, 0.5);
  border-left: 4px solid var(--solar-accent);
  border-radius: 8px;
  font-size: clamp(14px, 1.6vw, 16px);
  transition: all 0.2s ease;
}

#solar .tight li:not(:last-child) {
  margin-bottom: 10px;
}

#solar .tight li:hover {
  background: rgba(255, 248, 241, 0.8);
  border-left-color: var(--solar-brand);
  transform: translateX(4px);
}

/* リスト後の説明文 */
#solar > .grid.mt12 .card > p:last-child {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--solar-line);
  color: var(--solar-brand-dark);
  font-weight: 600;
  font-size: clamp(14px, 1.6vw, 15px);
}

/* ステップリスト（番号付き） - 見やすさ向上 */
#solar .steps {
  counter-reset: solar-step;
  margin: 0;
  padding: 0;
}

#solar .steps li {
  list-style: none;
  position: relative;
  padding: 16px 20px 16px 56px;
  margin: 0;
  line-height: 1.8;
  
  font-size: clamp(14px, 1.6vw, 16px);
  transition: all 0.2s ease;
}

#solar .steps li:not(:last-child) {
  margin-bottom: 12px;
}

#solar .steps li::before {
  counter-increment: solar-step;
  content: counter(solar-step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--solar-brand) 0%, var(--solar-brand-dark) 100%);
  color: white;
  text-align: center;
  line-height: 32px;
  font-weight: 900;
  font-size: 15px;
  border: 3px solid white;
  box-shadow: 0 4px 14px rgba(201, 100, 43, 0.25);
}

#solar .steps li:hover {
  background: rgba(255, 248, 241, 0.8);
  border-left-color: var(--solar-brand);
  transform: translateX(4px);
}


/* === 単体カード（費用・補助金） === */
#solar > .card {
  border: 1px solid var(--solar-line);
  border-radius: 16px;
  background: 
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 252, 248, 0.95) 100%);
  padding: clamp(18px, 3vw, 24px);
  margin-top: clamp(18px, 3.5vw, 28px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
}

#solar > .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(201, 100, 43, 0.12);
}

#solar > .card h3 {
  margin: 0 0 10px;
  font-weight: 900;
  color: var(--solar-brand-dark);
  font-size: clamp(16px, 1.9vw, 18px);
}
/* 費用カード内の強調メッセージ */
#solar .card-highlight {
  margin-top: 20px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(201, 100, 43, 0.08) 0%, rgba(241, 198, 147, 0.12) 100%);
  border-radius: 10px;
  color: var(--solar-brand-dark);
  font-weight: 700;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.7;
  box-shadow: 0 2px 8px rgba(201, 100, 43, 0.1);
}

/* 画像付きカードのレイアウト */
#solar .card-with-image .card-content-wrapper {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

#solar .card-image {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
}

#solar .card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  #solar .card-with-image .card-content-wrapper {
    grid-template-columns: 1fr;
  }
  
  #solar .card-image {
    margin: 0 auto;
  }
}
/* === 施工例グリッド === */
#solar .grid.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 32px);
  margin-top: clamp(20px, 3.6vw, 28px);
}



/* 施工例画像 - 実際の縦横比で全体表示 */
#solar .img.tall {
  width: 100%;
  height: auto;
  max-height: 320px;
  background: #ffff;
  border: none;
  box-shadow: none;
  margin-bottom: 0;
  overflow: hidden;
  display: block;
}

/* カードの画像エリア */
#solar .grid.detail .card {
  display: flex;
  flex-direction: column;
}

/* テキスト部分 */
#solar .grid.detail .card h3 {
  margin: 0;
  padding: 18px 20px 10px;
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 900;
  color: var(--solar-brand-dark);
  line-height: 1.5;
}

#solar .grid.detail .card p {
  margin: 0;
  padding: 0 20px 20px;
  font-size: clamp(13px, 1.5vw, 15px);
  color: #6C5B4E;
  line-height: 1.8;
}

/* レスポンシブ */
@media (max-width: 960px) {
  #solar .grid.detail {
    grid-template-columns: 1fr;
  }
}
/* === 取り扱い機器セクション === */
#solar .equip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 16px;
}

#solar .equip__item {
  flex: 1 1 280px;
  max-width: 340px;
  border: 1px solid var(--solar-line);
  border-radius: 14px;
  background: white;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
  text-align: center;
}

#solar .equip__item:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 16px 40px rgba(201, 100, 43, 0.12),
    0 0 0 2px var(--solar-accent);
}

#solar .equip__img {
  width: 100%;
  margin-bottom: 14px;
  object-fit: contain;
  display: block;
  padding: 12px;
}

#solar .equip__item strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: var(--solar-brand-dark);
  margin-bottom: 6px;
}

#solar .equip__link {
  margin-top: 10px;
}

#solar .equip__link a {
  color: var(--solar-brand);
  text-decoration: underline;
  font-weight: 700;
  font-size: 14px;
  transition: color 0.2s ease;
}

#solar .equip__link a:hover {
  color: var(--solar-brand-dark);
}

/* === CTA（アクションボタン） === */
#solar .cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  margin-top: clamp(32px, 5.5vw, 48px);
  border: 3px solid var(--solar-brand);
  border-radius: 20px;
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 248, 241, 0.95) 100%);
  padding: clamp(22px, 3.6vw, 32px);
  box-shadow: 
    0 14px 40px rgba(201, 100, 43, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 1);
  position: relative;
  overflow: hidden;
}

#solar .cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(241, 198, 147, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

#solar .cta h3 {
  margin: 0 0 8px;
  font-weight: 900;
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--solar-brand-dark);
}

#solar .cta p {
  margin: 0;
  color: #6C5B4E;
  line-height: 1.7;
  font-size: clamp(14px, 1.6vw, 16px);
}

#solar .btn {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--solar-brand) 0%, var(--solar-brand-dark) 100%);
  color: white;
  font-weight: 900;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 17px;
  box-shadow: 
    0 12px 32px rgba(201, 100, 43, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  white-space: nowrap;
}

#solar .btn:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 18px 48px rgba(201, 100, 43, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.35);
  filter: brightness(1.1);
}

#solar .btn:active {
  transform: translateY(-1px);
}

/* === 装飾バー === */
#solar .bar {
  width: 100%;
  height: 10px;
  margin: 4px 0 12px;
  background: linear-gradient(90deg, #FCE8D8, #FFF2E6, #F6D9AC);
  border-radius: 8px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* === 注釈テキスト === */
#solar .note {
  font-size: 13px;
  color: var(--muted, #6C5B4E);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}

/* === レスポンシブ === */
@media (max-width: 960px) {
  #solar > .grid.mt12,
  #solar .grid.detail {
    grid-template-columns: 1fr;
  }
  
  #solar .cta {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  #solar .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  #solar.feature::before {
    font-size: 12px;
    padding: 5px 16px;
  }
  
  #solar .card--bar {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  #solar .card--bar .icon-60 {
    margin: 0 auto;
  }
}

/* ---------- Section background (full width) ---------- */
.svc-bg {
  background: linear-gradient(180deg, #FDF7F1 0%, #FFF8F1 100%);
  /* 横幅いっぱいの背景色 - やや濃いめの生成り */
  padding: 44px 0;
  /* 上下余白 */
  border-bottom: 1px solid rgba(240, 225, 214, 0.6);
}

/* === Section === */
.detail-section{
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFBF7 100%);
  /* サービス詳細は白ベースで対比 */
  padding: clamp(32px, 6vw, 64px) 0;
  color: var(--text);
}

/* ================================
   ご相談〜施工の流れ セクション
   ================================ */
   #flow {
    margin-top: clamp(48px, 8vw, 80px);
    margin-bottom: clamp(48px, 8vw, 80px);
  }
  
  #flow h2 {
    text-align: center;
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 800;
    color: var(--brand-strong);
    margin: 0 0 clamp(32px, 5vw, 48px);
  }
  
  #flow h2::after {
    content: "";
    display: block;
    width: 84px;
    height: 3px;
    margin: 0.6em auto 0;
    background: linear-gradient(90deg, var(--accent), #F6D9AC);
    border-radius: 2px;
  }
  
  /* ステップリスト */
  #flow .steps {
    counter-reset: flow-step;
    margin: 0;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
  }
  
  #flow .steps li {
    list-style: none;
    position: relative;
    padding: 20px 24px 20px 80px;
    margin: 0;
    background: white;
    border: 2px solid var(--line);
    border-radius: 14px;
    font-size: clamp(15px, 1.7vw, 17px);
    font-weight: 600;
    color: var(--text);
    line-height: 1.6;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
  }
  
  #flow .steps li:not(:last-child) {
    margin-bottom: 16px;
  }
  
  /* 番号バッジ */
  #flow .steps li::before {
    counter-increment: flow-step;
    content: counter(flow-step);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
    color: white;
    text-align: center;
    line-height: 44px;
    font-weight: 900;
    font-size: 18px;
    border: 4px solid white;
    box-shadow: 0 4px 16px rgba(201, 100, 43, 0.3);
  }
  
  /* ステップ間の接続線 */
  #flow .steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 41px;
    bottom: -18px;
    width: 2px;
    height: 18px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--line) 100%);
    z-index: -1;
  }
  
  /* ホバーエフェクト */
  #flow .steps li:hover {
    transform: translateX(8px);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(201, 100, 43, 0.12);
  }
  
  /* レスポンシブ */
  @media (max-width: 640px) {
    #flow .steps li {
      padding: 18px 20px 18px 70px;
    }
    
    #flow .steps li::before {
      left: 16px;
      width: 38px;
      height: 38px;
      line-height: 38px;
      font-size: 16px;
    }
    
    #flow .steps li:not(:last-child)::after {
      left: 34px;
    }
  }

  /* ================================
   よくある質問 セクション
   ================================ */
#faq {
  margin-top: clamp(48px, 8vw, 80px);
  margin-bottom: clamp(48px, 8vw, 80px);
}

#faq h2 {
  text-align: center;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  color: var(--brand-strong);
  margin: 0 0 clamp(32px, 5vw, 48px);
}

#faq h2::after {
  content: "";
  display: block;
  width: 84px;
  height: 3px;
  margin: 0.6em auto 0;
  background: linear-gradient(90deg, var(--accent), #F6D9AC);
  border-radius: 2px;
}

/* details要素 */
#faq details {
  background: white;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}

#faq details:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

#faq details[open] {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(201, 100, 43, 0.12);
}

/* summary要素（質問） */
#faq summary {
  padding: 20px 60px 20px 24px;
  font-size: clamp(15px, 1.7vw, 17px);
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.6;
  transition: all 0.3s ease;
}

#faq summary::-webkit-details-marker {
  display: none;
}

/* Q マーク */
#faq summary::before {
  content: "Q";
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent) 0%, #F6D9AC 100%);
  color: var(--brand-strong);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  margin-right: 12px;
}

#faq summary {
  padding-left: 68px;
}

/* 開閉アイコン */
#faq summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: var(--soft);
  color: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 24px;
  transition: all 0.3s ease;
}

#faq details[open] summary::after {
  content: "−";
  background: var(--brand);
  color: white;
  transform: translateY(-50%) rotate(180deg);
}

#faq summary:hover {
  color: var(--brand);
}

/* 回答部分 */
#faq details p {
  padding: 0 24px 24px 68px;
  margin: 0;
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--muted);
  line-height: 1.8;
  border-top: 1px dashed var(--line);
  padding-top: 20px;
}

/* A マーク */
#faq details[open] p::before {
  content: "A";
  display: inline-block;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: white;
  border-radius: 6px;
  text-align: center;
  line-height: 32px;
  font-weight: 900;
  font-size: 16px;
  margin-right: 12px;
  margin-left: -44px;
  float: left;
}

/* レスポンシブ */
@media (max-width: 640px) {
  #faq summary {
    padding: 18px 50px 18px 60px;
  }
  
  #faq summary::before {
    left: 16px;
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
  #faq summary::after {
    right: 16px;
    width: 28px;
    height: 28px;
    font-size: 20px;
  }
  
  #faq details p {
    padding: 16px 16px 20px 56px;
  }
  
  #faq details[open] p::before {
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 14px;
    margin-left: -40px;
  }
}

/* ================================
   お問い合わせ CTA セクション
   ================================ */
   #contact.cta {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 28px;
    margin-top: clamp(56px, 10vw, 96px);
    margin-bottom: clamp(56px, 10vw, 96px);
    border: 3px solid var(--brand);
    border-radius: 20px;
    background: 
      radial-gradient(ellipse 80% 100% at 0% 50%, rgba(252, 232, 216, 0.3) 0%, transparent 50%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 241, 0.95) 100%);
    padding: clamp(28px, 4vw, 40px);
    box-shadow: 
      0 16px 48px rgba(201, 100, 43, 0.15),
      inset 0 2px 0 rgba(255, 255, 255, 1);
    position: relative;
    overflow: hidden;
  }
  
  #contact.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at 0% 0%, rgba(241, 198, 147, 0.2) 0%, transparent 70%);
    pointer-events: none;
  }
  
  #contact.cta h3 {
    margin: 0 0 10px;
    font-weight: 900;
    font-size: clamp(19px, 2.4vw, 24px);
    color: var(--brand-strong);
    line-height: 1.4;
  }
  
  #contact.cta p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: clamp(14px, 1.6vw, 16px);
  }
  
  #contact.cta .btn {
    padding: 16px 28px;
    font-size: clamp(15px, 1.8vw, 17px);
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
    color: white;
    font-weight: 900;
    border-radius: 999px;
    box-shadow: 
      0 12px 32px rgba(201, 100, 43, 0.3),
      inset 0 2px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
  }
  
  #contact.cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 
      0 16px 42px rgba(201, 100, 43, 0.4),
      inset 0 2px 0 rgba(255, 255, 255, 0.35);
    filter: brightness(1.1);
  }
  
  #contact.cta .btn:active {
    transform: translateY(-1px);
  }
  
  /* ================================
     固定フローティングボタン
     ================================ */
  .sticky-inquiry {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    animation: float-up 0.6s ease-out;
  }
  
  @keyframes float-up {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .sticky-inquiry .btn {
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
    color: white;
    border-radius: 999px;
    box-shadow: 
      0 8px 24px rgba(201, 100, 43, 0.35),
      0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
  }
  
  .sticky-inquiry .btn:hover {
    transform: translateY(-4px);
    box-shadow: 
      0 14px 36px rgba(201, 100, 43, 0.45),
      0 6px 16px rgba(0, 0, 0, 0.2);
    filter: brightness(1.15);
  }
  
  .sticky-inquiry .btn:active {
    transform: translateY(-2px);
  }
  
  /* スクロール時に少し小さく表示（オプション） */
  @media (max-height: 600px) {
    .sticky-inquiry {
      bottom: 12px;
      right: 12px;
    }
    
    .sticky-inquiry .btn {
      padding: 12px 18px;
      font-size: 14px;
    }
  }
  
  /* レスポンシブ */
  @media (max-width: 960px) {
    #contact.cta {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 20px;
    }
    
    #contact.cta .btn {
      width: 100%;
    }
  }
  
  @media (max-width: 640px) {
    .sticky-inquiry {
      right: 16px;
      bottom: 16px;
    }
    
    .sticky-inquiry .btn {
      padding: 14px 20px;
      font-size: 14px;
    }
  
  
  /* ================================
   お問い合わせ CTA セクション
   ================================ */
#contact.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  margin-top: clamp(56px, 10vw, 96px);
  margin-bottom: clamp(56px, 10vw, 96px);
  border: 3px solid var(--brand);
  border-radius: 20px;
  background: 
    radial-gradient(ellipse 80% 100% at 0% 50%, rgba(252, 232, 216, 0.3) 0%, transparent 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 241, 0.95) 100%);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 
    0 16px 48px rgba(201, 100, 43, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 1);
  position: relative;
  overflow: hidden;
}

#contact.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at 0% 0%, rgba(241, 198, 147, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

#contact.cta h3 {
  margin: 0 0 10px;
  font-weight: 900;
  font-size: clamp(19px, 2.4vw, 24px);
  color: var(--brand-strong);
  line-height: 1.4;
}

#contact.cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: clamp(14px, 1.6vw, 16px);
}

#contact.cta .btn {
  padding: 16px 28px;
  font-size: clamp(15px, 1.8vw, 17px);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: white;
  font-weight: 900;
  border-radius: 999px;
  box-shadow: 
    0 12px 32px rgba(201, 100, 43, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}

#contact.cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 16px 42px rgba(201, 100, 43, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.35);
  filter: brightness(1.1);
}

#contact.cta .btn:active {
  transform: translateY(-1px);
}

/* タブレット対応 */
@media (max-width: 960px) {
  #contact.cta {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  
  #contact.cta .btn {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* スマートフォン対応 */
@media (max-width: 640px) {
  #contact.cta {
    padding: clamp(24px, 6vw, 32px);
    border-width: 2px;
    border-radius: 16px;
    gap: 20px;
    margin-top: clamp(40px, 8vw, 56px);
    margin-bottom: clamp(40px, 8vw, 56px);
  }
  
  #contact.cta h3 {
    font-size: clamp(17px, 5vw, 20px);
    margin-bottom: 8px;
  }
  
  #contact.cta p {
    font-size: clamp(13px, 4vw, 15px);
    line-height: 1.6;
  }
  
  #contact.cta .btn {
    padding: 14px 24px;
    font-size: 15px;
    white-space: normal;
    line-height: 1.4;
  }
  
  #contact.cta::before {
    width: 60px;
    height: 60px;
  }
}

/* 極小画面対応 */
@media (max-width: 400px) {
  #contact.cta {
    padding: 20px 16px;
  }
  
  #contact.cta .btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}}

/* 固定ボタンの吹き出し装飾 */
.sticky-inquiry {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  animation: float-up 0.6s ease-out;
}

.sticky-bubble {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: auto;
  margin-bottom: -20px;
  pointer-events: none;
  animation: bubble-float 2s ease-in-out infinite;
}

@keyframes bubble-float {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

@keyframes float-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sticky-inquiry .btn {
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: white;
  border-radius: 999px;
  box-shadow: 
    0 8px 24px rgba(201, 100, 43, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.sticky-inquiry .btn:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 14px 36px rgba(201, 100, 43, 0.45),
    0 6px 16px rgba(0, 0, 0, 0.2);
  filter: brightness(1.15);
}

/* レスポンシブ */
@media (max-width: 640px) {
  .sticky-bubble {
    width: 110px;
    margin-bottom: -16px;
  }
  
  .sticky-inquiry {
    right: 16px;
    bottom: 16px;
  }
  
  .sticky-inquiry .btn {
    padding: 14px 20px;
    font-size: 14px;
  }
}

/* ヒーローは最小限の陰影＆面で落ち着き */
.hero{
  padding:clamp(44px,6vw,80px) 0;
  border-radius:var(--radius);
  background:
    linear-gradient(180deg, var(--soft), #fff 65%);
  border:1px solid var(--border);
}

/* 1) 主役：冒頭メッセージ（強調は“線”のみで潔く） */
.primary-message{
  display:inline-block;
  font-weight:900;
  line-height:1.25;
  font-size:clamp(22px,3.2vw,36px);
  color:var(--ink);
  padding:0 .1em .15em;               /* 文字に寄せる */
  border-bottom:4px solid var(--brand);/* シンプルな太下線だけで主役感 */
}

/* 2) 以降の文章：軽やか＆読みやすい幅 */
.lead.center{
  margin:14px auto 0;
  max-width:66ch;
  text-align:center;
  color:var(--ink);
  font-size:clamp(15px,1.6vw,18px);
  line-height:1.9;
}
.sub-message{ color:var(--muted); margin-top:8px }

/* スマホ改行の制御 */
.sp-br{display:none}
@media (max-width:640px){ .sp-br{display:inline} }

/* 3) ベネフィット：余白と行間で“間”を作る（影なし・枠のみ） */
.benefit-box{
  margin:clamp(18px,3vw,28px) auto 0;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:8px 14px;
  align-items:start;
  max-width:720px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  padding:clamp(10px,2.2vw,16px) clamp(12px,3vw,20px);
}
.benefit-icon{
  grid-row:1 / span 2;
  width:32px; height:32px;
  display:grid; place-items:center;
  font-weight:800; color:#0e7a2f;
  border:1px solid #dbeafe;
  border-radius:8px;
  background:#f0f9ff;
}
.key-point{ margin:0; font-weight:700; line-height:1.7 }

/* 4) ローカルナビ：余白＋下線のみ（ボタン化しない） */
.localnav{
  margin-top:clamp(18px,3.5vw,28px);
  display:flex; flex-wrap:wrap; gap:12px;
  justify-content:center;
}
.localnav a{
  font-size:14px; color:var(--brand);
  text-decoration:underline;
  text-underline-offset:3px;
  padding:4px 2px; border-radius:6px;
}
.localnav a:hover{ background:#f1f5f9 }

/* 動きは極力なし（好みでコメント解除） */
/*
@media (prefers-reduced-motion:no-preference){
  .localnav a{ transition:background-color .12s ease }
}
*/
