/* =====================================================================
   きぼう建設｜老人ホーム建設ページ
   Design System — 優しく温かみのあるグリーン基調
   ===================================================================== */

:root {
  /* ---- Color ---- */
  --green:       #68BD82;  /* メイングリーン（ロゴ） */
  --green-dark:  #3F8A5A;  /* 見出し・テキスト */
  --green-deep:  #2C6B43;  /* 濃い背景 */
  --green-soft:  #A4D8B5;  /* 淡いライン */
  --green-pale:  #EEF7EF;  /* 温かみの薄緑背景 */
  --green-mist:  #F4F9F3;  /* さらに淡い背景 */

  --accent:      #FCC65A;  /* ロゴの星・イエロー */
  --accent-deep: #EBA92E;  /* イエローの濃い側 */
  --accent-soft: #FFE7B0;

  --beige:       #FAF6EE;  /* セクション背景 */
  --ivory:       #FFFBF2;  /* カード背景 */
  --white:       #FFFFFF;

  --text:        #3A3A3A;  /* 濃テキスト（真っ黒を避ける） */
  --text-light:  #7A7A7A;  /* 補足文 */
  --text-faint:  #A7A29A;

  --line:        #E7E0D2;  /* ベージュ寄りの罫線 */
  --line-green:  #D8EBDD;

  /* ---- Radius（大きめ・柔らかく） ---- */
  --r-sm:  14px;
  --r:     22px;
  --r-lg:  32px;
  --r-xl:  44px;
  --r-pill: 999px;

  /* ---- Shadow（柔らかい影） ---- */
  --sh-sm: 0 4px 18px rgba(63, 138, 90, 0.07);
  --sh:    0 14px 40px rgba(63, 138, 90, 0.10);
  --sh-lg: 0 24px 60px rgba(44, 107, 67, 0.14);
  --sh-warm: 0 18px 50px rgba(186, 150, 70, 0.14);

  /* ---- Type ---- */
  --font-display: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  --font-body:    'Noto Sans JP', sans-serif;

  /* ---- Layout ---- */
  --maxw: 1200px;          /* サイト内コンテンツの最大幅 */
  --content: 1200px;
  --gutter: 40px;
  /* 全幅セクションの中でコンテンツを中央寄せにする横パディング */
  --pad-x: max(var(--gutter), calc((100% - var(--content)) / 2));
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);      /* 全幅サイト：外側ステージは廃止 */
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* 子テーマ style.css の `h2, h3 { font-family: "Shuei NijimiMGo B" !important; }`
   （サイト全体の旧デザイン向け指定）がトップページの見出しにも掛かってしまうため、
   新デザイン範囲（#kibou-front）内だけ明示的に上書きする */
#kibou-front h1,
#kibou-front h2,
#kibou-front h3,
#kibou-front h4 {
  font-family: var(--font-display) !important;
}

/* ===== ページコンテナ（全幅） ===== */
.page {
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--white);
  overflow: hidden;
  position: relative;
}

/* =====================================================================
   共通パーツ
   ===================================================================== */

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.sec {
  padding: 92px var(--pad-x);
  position: relative;
}
.sec-white { background: var(--white); }
.sec-pale  { background: var(--green-pale); }
.sec-beige { background: var(--beige); }
.sec-mist  { background: var(--green-mist); }

.sec-head { text-align: center; margin-bottom: 54px; position: relative; z-index: 2; }
.sec-head .eyebrow { justify-content: center; }
.sec-head h2 {
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 700;
  color: var(--green-deep);
  margin-top: 14px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
/* 見出しの手描き風アンダーライン */
.sec-head h2 .mark {
  position: relative;
  display: inline-block;
}
.sec-head h2 .mark::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px; bottom: 2px;
  height: 11px;
  background: var(--accent-soft);
  border-radius: 6px;
  z-index: -1;
  opacity: .85;
}
.sec-head .lead {
  font-size: 15px;
  color: var(--text-light);
  margin-top: 16px;
  line-height: 1.95;
}

/* 番号付きセクションのキッカー（明朝/丸文字の大きな番号は装飾CSSで） */

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--r-pill);
  cursor: pointer;
  border: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-green {
  background: var(--green);
  color: #fff;
  padding: 14px 30px;
  font-size: 15px;
  box-shadow: 0 10px 24px rgba(104, 189, 130, 0.34);
}
.btn-green:hover { background: var(--green-dark); box-shadow: 0 14px 30px rgba(104, 189, 130, 0.42); }
.btn-accent {
  background: var(--accent);
  color: var(--green-deep);
  padding: 22px 40px;
  font-size: 20px;
  box-shadow: 0 12px 26px rgba(252, 198, 90, 0.4);
}
.btn-accent:hover { background: var(--accent-deep); color:#fff; }
.btn-ghost,
.btn-outline {
  background: transparent;
  color: var(--green-deep);
  padding: 16px 34px;
  font-size: 15px;
  border: 1.5px solid var(--green);
}
.btn-ghost:hover,
.btn-outline:hover { background: rgba(104,189,130,.10); }
.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ヒーロー内ボタン */
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

/* =====================================================================
   装飾モチーフ（葉・ドット・波線・有機シェイプ）
   ===================================================================== */

/* セクション間の波形ディバイダ */
.wave {
  display: block;
  width: 100%;
  height: 56px;
  line-height: 0;
}
.wave svg { width: 100%; height: 100%; display: block; }

/* 浮遊する有機ブロブ（背景装飾） */
.blob {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
}

/* ドット散らし */
.dots {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  color: var(--green-soft);
  opacity: .55;
}

/* 葉っぱアイコン共通 */
.leaf { color: var(--green); }

/* 装飾OFF（Tweaks） */
[data-decoration="off"] .blob,
[data-decoration="off"] .dots,
[data-decoration="off"] .deco-leaf,
[data-decoration="off"] .hero-leaf,
[data-decoration="off"] .wave { display: none !important; }
[data-decoration="off"] .sec-head h2 .mark::after,
[data-decoration="off"] .hero h1 .hl::after { opacity: 0; }
[data-decoration="off"] .lead-sec .emphasis { background-image: none; }

/* スクロール出現アニメ（既定は表示。アニメ可能な環境でのみ html.anim が付与され隠す） */
.reveal { will-change: opacity, transform; }
html.anim .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .75s ease,
    transform .75s cubic-bezier(.22, 1, .36, 1);
}
html.anim .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
html.anim .reveal.d1 { transition-delay: .08s; }
html.anim .reveal.d2 { transition-delay: .16s; }
html.anim .reveal.d3 { transition-delay: .24s; }
html.anim .reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.anim .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 画像プレースホルダ（淡いグリーンの控えめ枠） */
.ph {
  background:
    repeating-linear-gradient(135deg, rgba(104,189,130,0.05) 0 14px, rgba(104,189,130,0.0) 14px 28px),
    var(--green-mist);
  border: 1.5px dashed var(--green-soft);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--green-dark);
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
  line-height: 1.7;
  letter-spacing: .02em;
}
.ph svg { opacity: .55; }
.ph small { color: var(--text-faint); font-size: 11px; font-weight: 400; }

/* =====================================================================
   ヘッダー
   ===================================================================== */
.header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 90;
}
.header-top {
  padding: 14px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.h-logo { display: flex; align-items: center; gap: 13px; }
.h-logo-img { height: 80px; width: 300px; object-fit: contain; display: block; }
.h-logo-badge {
  width: 50px; height: 50px;
  border-radius: 15px;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(104,189,130,.3);
  flex-shrink: 0;
}
.h-logo-text { font-family: var(--font-display); font-size: 23px; font-weight: 700; color: var(--green-deep); letter-spacing: .06em; line-height:1.1; }
.h-logo-sub  { font-size: 10px; color: var(--text-faint); letter-spacing: .02em; margin-top:2px; }
.h-contact { display: flex; align-items: center; gap: 22px; }
.h-tel-label { font-size: 10px; color: var(--text-faint); text-align: right; letter-spacing:.04em; }
.h-tel-num {
  font-family: var(--font-display);
  font-size: 27px; font-weight: 700; color: var(--green-dark);
  letter-spacing: .03em; display:flex; align-items:center; gap:7px;
  white-space: nowrap;
}
.h-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 0 var(--pad-x);
  border-top: 1px solid var(--line-green);
}
.h-nav a {
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
  position: relative;
}
.h-nav a:hover { color: var(--green-dark); }
.h-nav a.active {
  color: var(--green-dark);
  border-bottom-color: var(--green);
  font-weight: 700;
}
.h-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.h-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.h-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.h-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.h-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.h-nav-backdrop { display: none; }

/* ===== パンくず ===== */
.breadcrumb {
  background: var(--green-mist);
  padding: 11px var(--pad-x);
  font-size: 11.5px;
  color: var(--text-faint);
  display: flex; align-items: center; gap: 9px;
}
.breadcrumb .sep { color: var(--green-soft); }
.breadcrumb .current { color: var(--green-dark); font-weight: 700; }

/* =====================================================================
   ページヒーロー
   ===================================================================== */
/* ヒーロー＋波形を包むラッパー：写真背景はここに */
.hero-wrap {
  position: relative;
  background: url("../img/renewal-design/hero-bg.jpg") center 72% / cover no-repeat;
  margin-top: -1px;
}

.hero {
  position: relative;
  background: transparent;
  padding: 86px var(--pad-x) 96px;
  overflow: hidden;
}
.hero-grain {
  display: none;
}

/* ---- フローティングバブル ---- */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}
.hero-bubbles {
  position: absolute;
  bottom: 80px;
  left: var(--pad-x);
  display: flex;
  align-items: flex-end;
  gap: 0;
  z-index: 2;
  pointer-events: none;
}
.hero-bubble {
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 20px 48px rgba(44,107,67,.18), 0 6px 16px rgba(0,0,0,.10);
  overflow: hidden;
  flex-shrink: 0;
  animation: heroFloat 4.2s ease-in-out infinite;
}
.hero-bubble img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hb1 { width: 228px; height: 228px; animation-delay: 0s;    margin-bottom: 18px; }
.hb2 { width: 212px; height: 212px; animation-delay: -1.4s; margin-bottom: 52px; margin-left: -18px; }
.hb3 { width: 222px; height: 222px; animation-delay: -0.7s; margin-bottom: 10px; margin-left: -18px; }
@media (prefers-reduced-motion: reduce) {
  .hero-bubble { animation: none; }
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.hero-copy .eyebrow { color: var(--green-dark); }
.hero-copy .eyebrow::before { background: var(--green-dark); }
.hero h1 {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.45;
  margin: 18px 0 20px;
  letter-spacing: .03em;
}
.hero h1 .hl {
  position: relative;
  color: var(--green-deep);
}
.hero h1 .hl::after {
  content:'';
  position:absolute; left:-2px; right:-2px; bottom:6px; height:14px;
  background: rgba(252,198,90,.34);
  border-radius:7px; z-index:-1;
}
.hero p { color: var(--text); font-size: 15.5px; line-height: 2.05; max-width: 540px; }
.hero-photo {
  position: relative;
  border-radius: var(--r-lg);
  height: 290px;
  background: rgba(255,255,255,0.07);
  border: 1.5px dashed rgba(255,255,255,0.28);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,.7);
  font-size: 12.5px; text-align: center; line-height: 1.7;
  box-shadow: 0 30px 60px rgba(0,0,0,.18);
}
.hero-photo svg { opacity:.7; }
/* ヒーロー右下の有機シェイプ */
.hero-leaf { position: absolute; bottom: -10px; right: -10px; opacity:.9; }

/* =====================================================================
   01. リード文
   ===================================================================== */
.lead-sec {
  background: var(--ivory);
  text-align: center;
  padding: 96px var(--pad-x) 0;
  position: relative;
}
.lead-sec .quote-mark {
  font-family: Georgia, serif;
  font-size: 90px; line-height: .6;
  color: var(--green-soft);
  opacity:.45;
}
.lead-sec p {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--text);
  line-height: 2.25;
  max-width: 800px;
  margin: 22px auto 0;
  font-weight: 500;
  letter-spacing:.01em;
}
.lead-sec .emphasis {
  color: var(--green-dark);
  white-space: nowrap;
  background-image: linear-gradient(var(--accent-soft), var(--accent-soft));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 9px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* =====================================================================
   02. 強み ×3
   ===================================================================== */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  position: relative; z-index: 2;
}
.st-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 38px 30px 34px;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line-green);
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.st-card:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.st-card-top { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom: 20px; }
.st-num {
  font-family: var(--font-display);
  font-size: 46px; font-weight: 700;
  color: var(--green-soft);
  line-height: .9;
  letter-spacing: .02em;
}
.st-ico {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark);
}
.st-card h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700; color: var(--green-deep);
  line-height: 1.55; margin-bottom: 14px;
}
/* グリーンのドット下線 */
.st-card h3::after {
  content:''; display:block; margin-top:13px;
  height: 5px; width: 56px;
  background-image: radial-gradient(circle, var(--green-soft) 2px, transparent 2.4px);
  background-size: 12px 5px;
  background-repeat: repeat-x;
}
.st-card p { font-size: 18px; color: var(--text-light); line-height: 1.95; }

/* =====================================================================
   03. 建設の流れ
   ===================================================================== */
.flow {
  max-width: 880px; margin: 0 auto;
  position: relative; z-index: 2;
}
.fd-item {
  display: flex;
  gap: 30px;
  padding: 0 0 38px;
  position: relative;
}
.fd-item:last-child { padding-bottom: 0; }
/* ドットの縦コネクタ */
.fd-rail { position: relative; flex-shrink: 0; width: 78px; display:flex; flex-direction:column; align-items:center; }
.fd-step-circle {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green);
  color: var(--green-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.1;
  box-shadow: 0 8px 20px rgba(104,189,130,.22);
  z-index: 2;
}
.fd-step-circle .step-label { font-size: 9px; letter-spacing:.18em; color: var(--green); font-weight:700; }
.fd-step-circle .step-num { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.fd-connector {
  flex: 1;
  width: 0; border-left: 3px dotted var(--green-soft);
  margin: 8px 0;
}
.fd-item:last-child .fd-connector { display: none; }
.fd-body {
  flex: 1;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 28px;
  margin-bottom: 4px;
  box-shadow: var(--sh-sm);
}
.fd-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--green-deep); margin-bottom: 8px; }
.fd-body p { font-size: 18px; color: var(--text-light); line-height: 1.9; margin-bottom: 14px; }
.fd-period {
  display: inline-flex; align-items:center; gap:7px;
  font-size: 12px; font-weight: 700;
  background: var(--green-pale); color: var(--green-dark);
  padding: 6px 16px; border-radius: var(--r-pill);
}

/* =====================================================================
   04. 設計のこだわり ×4
   ===================================================================== */
.design-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  position: relative; z-index: 2;
}
.dg-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.dg-card:hover { transform: translateY(-6px); box-shadow: var(--sh-warm); }
.dg-img { height: 168px; border: none; border-radius: 0; }
.dg-body { padding: 20px 20px 26px; }
.dg-body h4 { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; color: var(--green-deep); margin-bottom: 9px; display:flex; align-items:center; gap:8px; }
.dg-body p { font-size: 18px; color: var(--text-light); line-height: 1.85; }

/* =====================================================================
   05. グループ連携
   ===================================================================== */
.group-flow {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  position: relative; z-index: 2;
}
.g-box {
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--line-green);
  padding: 28px 18px 24px;
  text-align: center;
  width: 196px;
  box-shadow: var(--sh-sm);
  transition: transform .3s ease;
}
.g-box:hover { transform: translateY(-5px); }
.g-ico {
  width: 64px; height: 64px; border-radius: 22px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.g-box.c1 .g-ico { background: var(--green); }
.g-box.c2 .g-ico { background: #E78AA0; }
.g-box.c3 .g-ico { background: var(--accent-deep); }
.g-box.c4 .g-ico { background: #6FB0C9; }
.g-box h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--green-deep); margin-bottom: 4px; }
.g-box p  { font-size: 18px; color: var(--text-faint); }
.g-arrow { display:flex; align-items:center; color: var(--green-soft); flex-shrink:0; }

/* グループ図解 */
.group-diagram {
  max-width: 760px;
  margin: 44px auto 0;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-green);
  box-shadow: var(--sh-sm);
  padding: 32px;
}
.group-diagram svg { width: 100%; height: auto; display: block; }

/* ===== きぼうグループ 新レイアウト ===== */
.kibou-diagram-inner {
  position: relative;
  min-height: 824px;
  margin-top: 48px;
}
.kibou-left {
  position: absolute;
  left: 0;
  top: 190px;
  width: 320px;
  z-index: 5;
}
.kibou-circle {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--sh);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 38px;
}
.kibou-circle::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(from 150deg, var(--green) 0deg 118deg, transparent 118deg 218deg, var(--accent) 218deg 258deg, transparent 258deg 360deg);
  z-index: -1;
}
.kibou-circle-mark {
  width: 50px; height: 50px;
  margin: 0 auto 12px;
  border-radius: 50% 50% 50% 14px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
}
.kibou-circle-en {
  margin: 0 0 5px;
  color: var(--green-dark);
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em;
}
.kibou-circle h2 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--green-deep);
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: .04em;
}
.kibou-circle-lead {
  margin: 14px 0 0;
  padding-top: 13px;
  border-top: 1px solid rgba(104,189,130,.34);
  color: var(--text);
  font-size: 12px; font-weight: 600;
  line-height: 1.9;
}
.kibou-left-copy {
  position: relative;
  z-index: 6;
  margin: 36px 0 0 18px;
  padding: 14px 18px;
  background: rgba(238,247,239,.7);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  line-height: 2;
}
.kibou-svg-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.k-line {
  position: absolute;
  left: 0;
  width: 240px;
  height: 2px;
  transform-origin: left center;
}
.k-line::before {
  content: "";
  position: absolute;
  left: -5px; top: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}
.k-line::after {
  content: "";
  position: absolute;
  right: -6px; top: 50%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}
.k-line-top    { top: 148px; background: var(--green); color: var(--green); transform: rotate(-30deg); }
.k-line-middle { top: 320px; background: var(--accent); color: var(--accent); }
.k-line-bottom { top: 490px; background: var(--green); color: var(--green); transform: rotate(30deg); }
.kibou-right {
  position: relative;
  margin-left: 440px;
  display: grid;
  gap: 40px;
  z-index: 3;
}
.kibou-row {
  position: relative;
  min-height: 176px;
  padding: 30px 40px 30px 196px;
  border-radius: 999px;
  overflow: hidden;
}
.row-green  { background: linear-gradient(90deg, var(--white) 0%, var(--green-pale) 100%); border: 1px solid rgba(104,189,130,.2); }
.row-purple { background: linear-gradient(90deg, var(--white) 0%, #EDE8F7 100%); border: 1px solid rgba(150,120,210,.18); }
.row-blue   { background: linear-gradient(90deg, var(--white) 0%, #E7F0FA 100%); border: 1px solid rgba(74,144,217,.18); }
.row-pink   { background: linear-gradient(90deg, var(--white) 0%, #FDEEF3 100%); border: 1px solid rgba(220,130,160,.18); }
.kibou-photo {
  position: absolute;
  left: 16px; top: 50%;
  width: 164px; height: 164px;
  margin: 0;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 8px solid var(--white);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  z-index: 2;
}
.kibou-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kibou-photo-ph {
  width: 100%; height: 100%;
  background: var(--green-pale);
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}
.kibou-service-icon {
  position: absolute;
  left: 188px; top: 50%;
  width: 80px; height: 80px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700;
}
.row-purple .kibou-service-icon { background: #8B6DD4; color: #fff; }
.row-blue   .kibou-service-icon { background: #4A90D9; color: #fff; }
.row-pink   .kibou-service-icon { background: #E07090; color: #fff; }
.kibou-text h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--green-dark);
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: .04em;
}
.row-purple .kibou-text h3 { color: #6B4DB5; }
.kibou-sub {
  margin: 2px 0 14px;
  font-family: var(--font-display);
  color: var(--green-dark);
  font-size: 16px; font-weight: 700;
  letter-spacing: .05em;
}
.row-purple .kibou-sub { color: #6B4DB5; }
.row-blue   .kibou-sub { color: #2E6CB0; }
.row-pink   .kibou-sub { color: #C04878; }
.kibou-desc {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(104,189,130,.34);
  color: var(--text-light);
  font-size: 14px; font-weight: 500;
  line-height: 1.9;
}
.row-purple .kibou-desc { border-top-color: rgba(150,120,210,.35); }
.row-blue   .kibou-text h3 { color: #2E6CB0; }
.row-blue   .kibou-desc   { border-top-color: rgba(74,144,217,.35); }
.row-pink   .kibou-text h3 { color: #C04878; }
.row-pink   .kibou-desc   { border-top-color: rgba(220,130,160,.35); }

@media (max-width: 1099px) {
  .kibou-diagram-inner { min-height: auto; display: grid; gap: 30px; }
  .kibou-left { position: static; width: 100%; }
  .kibou-circle { margin: 0 auto; }
  .kibou-left-copy { margin: 24px 0 0; text-align: center; }
  .kibou-svg-lines { display: none; }
  .kibou-right { margin-left: 0; gap: 20px; }
}
@media (max-width: 767px) {
  .kibou-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 14px;
    min-height: auto;
    padding: 20px;
    border-radius: 22px;
  }
  .kibou-photo { position: static; width: 80px; height: 80px; transform: none; border-width: 4px; grid-row: 1 / span 2; }
  .kibou-service-icon { display: none; }
  .kibou-text h3 { font-size: 20px; }
  .kibou-sub { font-size: 13px; margin-bottom: 8px; }
  .kibou-desc { font-size: 13px; padding-top: 8px; }
}

.synergy-note {
  position: relative;
  background: var(--white);
  border-radius: var(--r);
  padding: 40px 52px 40px 72px;
  margin: 56px auto 0;
  max-width: 1000px;
  font-size: 20px;
  color: var(--text);
  line-height: 2.05;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line-green);
}
.synergy-note::before {
  content: '';
  position: absolute; left: 0; top: 16px; bottom: 16px;
  width: 5px; border-radius: 5px;
  background: linear-gradient(var(--green), var(--green-soft));
}
.synergy-note .lead-line { font-family: var(--font-display); font-size: 20px; font-weight:700; color: var(--green-dark); display:block; margin-bottom: 10px; }

/* =====================================================================
   06. 施工実績
   ===================================================================== */
.works-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; position: relative; z-index: 2; }
.wd-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.wd-card:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.wd-img { height: 230px; border:none; border-radius:0; position: relative; }
.wd-tag {
  position: absolute; left: 18px; top: 18px;
  display: inline-flex; align-items:center; gap:6px;
  font-size: 11.5px; font-weight: 700;
  background: var(--green); color: #fff;
  padding: 7px 15px; border-radius: var(--r-pill);
  box-shadow: 0 6px 16px rgba(44,107,67,.25);
}
.wd-tag.t-build { background: var(--accent-deep); }
.wd-tag.t-plan  { background: #8AA0AC; }
.wd-body { padding: 24px 26px 26px; }
.wd-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--green-deep); margin-bottom: 16px; }
.wd-spec { display: grid; grid-template-columns: 86px 1fr; row-gap: 9px; font-size: 18px; border-top: 1px dashed var(--line); padding-top: 16px; }
.wd-spec dt { color: var(--green-dark); font-weight: 700; }
.wd-spec dd { color: var(--text-light); }

/* =====================================================================
   07. 対応エリア
   ===================================================================== */
.area-row { display: flex; gap: 48px; align-items: center; position: relative; z-index: 2; }
.area-map { width: 400px; flex-shrink: 0; }
.area-map svg { width: 100%; height: auto; }
.area-body { flex: 1; }
.area-body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--green-deep); margin-bottom: 14px; }
.area-current {
  display: inline-flex; align-items:center; gap:9px;
  background: var(--green); color: #fff;
  padding: 10px 24px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(104,189,130,.3);
}
.area-body > p { font-size: 18px; color: var(--text-light); line-height: 2; max-width: 680px; }
.area-future { margin-top: 26px; padding-top: 24px; border-top: 1px dashed var(--line); }
.area-future h4 { font-size: 12.5px; color: var(--text-faint); margin-bottom: 12px; letter-spacing:.04em; font-weight:700; }
.area-future-tags { display: flex; gap: 12px; }
.area-tag {
  background: var(--beige); color: var(--green-dark);
  padding: 8px 18px; border: 1.5px dashed var(--green-soft);
  border-radius: var(--r-pill); font-size: 13px; font-weight: 600;
  display:flex; align-items:center; gap:7px;
}

/* =====================================================================
   08. FAQ
   ===================================================================== */
.faq-list { max-width: 860px; margin: 0 auto; position: relative; z-index: 2; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line-green);
  border-radius: var(--r);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: box-shadow .3s ease;
}
.faq-item.open { box-shadow: var(--sh); }
.faq-q {
  width: 100%;
  border: 0;
  padding: 22px 26px;
  display: flex; align-items: center; gap: 18px;
  font-family: var(--font-display);
  font-weight: 700; color: var(--green-deep); font-size: 16px;
  text-align: left;
  cursor: pointer; user-select: none;
  background: var(--white);
  transition: background .25s;
}
.faq-q:hover { background: var(--green-mist); }
.faq-mark {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; flex-shrink: 0;
  background: var(--green); color: #fff;
}
.faq-q .q-text { flex: 1; line-height: 1.55; text-align: left; }
.faq-toggle {
  width: 30px; height: 30px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}
.faq-item.open .faq-toggle { color: var(--green-dark); }
.faq-item.open .faq-toggle svg { transform: scaleY(-1); }
.faq-a-wrap {
  display: none;
  overflow: hidden;
}
.faq-item.open .faq-a-wrap { display: block; }
.faq-a {
  padding: 4px 26px 24px 82px;
  font-size: 18px; color: var(--text-light); line-height: 2;
  display: flex; gap: 16px; align-items: flex-start;
}
.faq-a .a-mark {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  background: var(--accent); color: var(--green-deep);
  margin-left: -64px;
}

/* =====================================================================
   09. CTA
   ===================================================================== */
.cta {
  position: relative;
  background: radial-gradient(120% 140% at 20% 0%, #3c8f5b 0%, var(--green-deep) 50%, #234f33 100%);
  padding: 92px var(--pad-x);
  text-align: center;
  overflow: hidden;
}
.cta-grain {
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.4px);
  background-size: 22px 22px; opacity:.6; pointer-events:none;
}
.cta-inner { position: relative; z-index: 2; }
.cta .eyebrow { color: var(--accent); justify-content:center; }
.cta .eyebrow::before { background: var(--accent); }
.cta h2 {
  font-family: var(--font-display);
  font-size: 34px; color: #fff; margin: 16px 0 14px; font-weight: 700; line-height: 1.55;
  letter-spacing:.02em;
}
.cta p { font-size: 18px; color: rgba(255,255,255,.78); margin-bottom: 38px; line-height: 1.95; }
.cta-row { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; align-items: center; }
.cta-row svg {
  display: block;
  width: auto;
  height: auto;
  flex-shrink: 0;
}
.cta-tel {
  background: #fff; color: var(--green-deep);
  padding: 22px 40px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  letter-spacing:.03em; display:inline-flex; align-items:center; gap:12px;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
  white-space: nowrap; text-decoration: none;
  transition: transform .25s ease;
}
.cta-tel:hover { transform: translateY(-2px); }
.cta-tel > span { white-space: nowrap; }
.cta-tel .sm { font-size: 11px; font-weight: 500; opacity: .65; display:block; letter-spacing:.04em; }

/* =====================================================================
   フッター
   ===================================================================== */
.footer {
  background: var(--green-mist);
  padding: 60px var(--pad-x) 0;
  color: var(--text-light);
  font-size: 12.5px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; padding-bottom: 44px; }
.footer-brand { max-width: 360px; }
.footer-brand .h-logo { margin-bottom: 16px; }
.footer-brand .h-logo-text { color: var(--green-deep); }
.footer-brand .h-logo-sub { color: var(--text-faint); }
.footer-brand p { line-height: 2; }
.footer-links { display: flex; gap: 48px; }
.footer-links h5 { color: var(--green-dark); font-size: 11px; margin-bottom: 12px; font-weight: 700; letter-spacing:.08em; }
.footer-links ul li { line-height: 2.1; }
.footer-links ul li a:hover { color: var(--green-dark); }
.footer-copy {
  text-align: center; padding: 18px 0;
  border-top: 1px solid var(--line-green);
  font-size: 11px; color: var(--text-faint);
}

/* =====================================================================
   サイド固定CTA
   ===================================================================== */
.side-fix {
  position: fixed; right: 0; top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex; flex-direction: column; gap: 4px;
}
.side-fix a {
  display: flex; align-items: center; gap: 10px;
  writing-mode: vertical-rl;
  padding: 20px 12px;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: .12em;
  border-radius: 16px 0 0 16px;
  box-shadow: -6px 0 20px rgba(44,107,67,.18);
  transition: padding .25s ease;
}
.side-fix a svg { transform: rotate(0deg); }
.side-fix a.s-contact { background: var(--green); color: #fff; }
.side-fix a.s-contact:hover { background: var(--green-dark); padding-right: 16px; }
.side-fix a.s-doc { background: var(--accent); color: var(--green-deep); }
.side-fix a.s-doc:hover { background: var(--accent-deep); color:#fff; padding-right: 16px; }

/* スマホ表示時に下部固定バーへ */
.mobile-bar { display: none; }

/* =====================================================================
   レスポンシブ
   ===================================================================== */
@media (max-width: 1099px) {
  :root { --gutter: 36px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { max-width: 480px; }
  .design-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  :root { --gutter: 22px; }
  body { font-size: 15px; }
  .sec { padding: 60px var(--gutter); }

  .header-top { flex-wrap: nowrap; gap: 12px; }
  .h-contact { gap: 12px; }
  .h-contact a[href^="tel:"] { display: none; }
  .h-nav-toggle { display: flex; }

  .h-nav {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 78%;
    max-width: 320px;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 88px 0 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: none;
    box-shadow: -10px 0 40px rgba(0,0,0,.18);
    z-index: 150;
  }
  .h-nav a {
    white-space: normal;
    padding: 16px 26px;
    border-bottom: 1px solid var(--line-green);
  }
  body.h-nav-open .h-nav { display: flex; }
  body.h-nav-open { overflow: hidden; }
  .h-nav-backdrop { display: none; }
  body.h-nav-open .h-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(20,30,25,.45);
    z-index: 140;
  }

  .hero-wrap { background-position: 70% 75%; }
  .hero { height: 800px !important; padding: 0 var(--gutter) 24px; }
  .hero h1 { font-size: 30px; }
  .hero-photo { height: 220px; }
  .hero-actions { margin-top: 24px; }

  .hero-copy {
    position: relative;
    z-index: 3;
    padding: 22px 18px 22px;
    margin: 0 calc(var(--gutter) * -1);
  }
  .hero-copy::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 70%, rgba(255,255,255,.7) 100%);
    border-radius: 0 0 28px 28px;
    z-index: -1;
  }

  .hero-bubbles {
    position: static;
    justify-content: center;
    margin: 28px 0 0;
  }
  .hb1, .hb2, .hb3 { width: 132px; height: 132px; margin-bottom: 0; }
  .hb2, .hb3 { margin-left: -18px; }

  .lead-sec { padding: 60px var(--gutter); }
  .lead-sec p { font-size: 17px; line-height: 2.05; }
  .lead-sec .emphasis { white-space: normal; }

  .synergy-note { padding: 28px 24px !important; max-width: 100% !important; }

  .sec-head h2 { font-size: 25px; }

  .strength-grid { grid-template-columns: 1fr; gap: 18px; }
  .design-grid { grid-template-columns: 1fr; gap: 18px; }
  .works-detail { grid-template-columns: 1fr; gap: 20px; }

  .fd-item { gap: 16px; }
  .fd-rail { width: 60px; }
  .fd-step-circle { width: 60px; height: 60px; }
  .fd-step-circle .step-num { font-size: 21px; }
  .fd-body { padding: 18px 18px; }

  .group-flow { flex-direction: column; align-items: center; }
  .g-box { width: 100%; max-width: 320px; }
  .g-arrow { transform: rotate(90deg); }

  .area-row { flex-direction: column; gap: 28px; }
  .area-map { width: 100%; max-width: 360px; }

  .faq-a { padding-left: 26px; }
  .faq-a .a-mark { margin-left: 0; }

  .cta h2 { font-size: 25px; }
  .cta-tel { font-size: 22px; }
  .cta-row { flex-direction: column; }

  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-links { flex-wrap: wrap; gap: 28px; }

  /* サイド縦CTAは隠して下部固定バーに */
  .side-fix { display: none; }
  .mobile-bar {
    display: flex;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    box-shadow: 0 -6px 20px rgba(44,107,67,.16);
  }
  .mobile-bar a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 0; font-family: var(--font-display); font-weight: 700; font-size: 14px;
  }
  .mobile-bar a.m-tel { background: var(--green); color: #fff; }
  .mobile-bar a.m-contact { background: var(--accent); color: var(--green-deep); }
  .page { padding-bottom: 0; }
  body { padding-bottom: 54px; }
}
