@charset "UTF-8";

/* =========================================================
   株式会社神永造園｜デモサイト
   カラーは 13_Web構成.md 第6章（G5選定シート）に準拠。色相は変更していない。
   ========================================================= */

:root {
  /* --- カラー --- */
  --white:        #FFFFFF;
  --ink:          #1A1A1A;
  --green:        #00A97F; /* アクセント（面） */
  --green-deep:   #00795C; /* ボタン面・CTA帯（白文字 5.4:1） */
  --green-text:   #006B52; /* 白地のリンク・強調文字（6.5:1） */
  --green-pale:   #E6F6F2; /* セクション背景 */
  --beige:        #E8DCC8; /* サブ（面） */

  --ink-70:       #4A4A4A;
  --ink-55:       #6B6B6B;
  --line:         #E4E4E4;
  --line-soft:    #EFEFEF;

  /* --- 余白 --- */
  --wrap:         1120px;
  --gut:          24px;
  --sec:          96px;

  /* --- 装飾 --- */
  --radius:       8px;
  --shadow:       0 2px 8px rgba(0, 0, 0, .06);
  --shadow-up:    0 8px 22px rgba(0, 0, 0, .10);

  /* --- 速度（150-200ms / 400-700ms / 1000ms以上 の3種のみ） --- */
  --t-fast:       200ms;
  --t-mid:        600ms;
  --ease-out:     cubic-bezier(.22, .61, .36, 1);
}

@media (max-width: 768px) {
  :root { --gut: 16px; --sec: 64px; }
}

/* =========================================================
   ベース
   ========================================================= */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .02em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

a { color: var(--green-text); }

p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.4em; padding-left: 1.4em; }
li { margin-bottom: .5em; }

h1, h2, h3, h4 {
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .03em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.4; }
h2 { font-size: clamp(24px, 3.2vw, 31px); }
h3 {
  font-size: clamp(19px, 2vw, 21px);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
}

:focus-visible {
  outline: 3px solid var(--green-deep);
  outline-offset: 2px;
  border-radius: 3px;
}

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--green-deep); color: #fff;
  padding: 10px 18px; border-radius: 0 0 var(--radius) var(--radius);
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: top var(--t-fast) var(--ease-out);
}
.skip-link:focus { top: 0; }

/* =========================================================
   レイアウト部品
   ========================================================= */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 840px; }

.section { padding-block: var(--sec); }
.section--pale  { background: var(--green-pale); }
.section--beige { background: var(--beige); }
.section--tight { padding-block: calc(var(--sec) * .66); }

.lede {
  font-size: 18px;
  color: var(--ink-70);
  max-width: 46em;
}

/* 行長：本文の1行は全角40文字程度で折り返す */
.measure { max-width: 40em; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: .18em;
  color: var(--green-text);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; flex: none;
  background: var(--green);
}

.sec-head { margin-bottom: 44px; }
.sec-head--center { text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center .lede { margin-inline: auto; }
.sec-head h2 { margin-bottom: .35em; }

.note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-55);
  margin: 10px 0 0;
}
.note--tight { margin-top: 6px; }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* =========================================================
   ボタン
   ========================================================= */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 30px;
  border: 2px solid transparent; border-radius: var(--radius);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px; font-weight: 700; line-height: 1.5;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
}

.btn--primary { background: var(--green-deep); color: #fff; }
.btn--primary:hover { background: #00674E; }

.btn--outline { background: #fff; color: var(--green-text); border-color: var(--green-deep); }
.btn--outline:hover { background: var(--green-pale); }

.btn--onDark { background: #fff; color: var(--green-text); }
.btn--onDark:hover { background: #F1FBF8; }

.btn--ghostDark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.btn--ghostDark:hover { background: rgba(255, 255, 255, .12); }

.btn--full { width: 100%; }

.btn__ico { width: 22px; height: 22px; flex: none; }
.btn--primary .btn__ico, .btn--ghostDark .btn__ico { filter: brightness(0) invert(1); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* テキストリンクの下線：左から右へ 200ms */
.tlink {
  color: var(--green-text);
  font-weight: 700;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1.5px;
  transition: background-size var(--t-fast) var(--ease-out);
}
.tlink:hover, .tlink:focus-visible { background-size: 100% 1.5px; }
.tlink::after { content: "→"; margin-left: .4em; }

/* =========================================================
   ヘッダー
   ========================================================= */

.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out);
}
.header.is-compact {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 10px rgba(0, 0, 0, .07);
}

.header__inner {
  display: flex; align-items: center; gap: 24px;
  height: 86px;
  transition: height var(--t-fast) var(--ease-out);
}
.header.is-compact .header__inner { height: 66px; }

.brand {
  display: flex; align-items: baseline; gap: 8px;
  text-decoration: none; color: var(--ink);
  flex: none;
}
.brand__mark {
  font-family: "Noto Serif JP", serif;
  font-size: 21px; font-weight: 600; letter-spacing: .06em;
  white-space: nowrap;
}
.brand__sub {
  font-size: 13px; color: var(--ink-55); letter-spacing: .12em;
  white-space: nowrap;
}

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__link {
  display: block; padding: 10px 13px;
  font-size: 15px; font-weight: 700; color: var(--ink);
  text-decoration: none; border-radius: 6px;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.nav__link:hover { color: var(--green-text); background: var(--green-pale); }
.nav__link[aria-current="page"] { color: var(--green-text); box-shadow: inset 0 -2px 0 var(--green); }

.header__tel {
  display: flex; align-items: center; gap: 10px;
  flex: none;
  padding: 10px 18px; border-radius: var(--radius);
  background: var(--green-deep); color: #fff;
  text-decoration: none;
  transition: background-color var(--t-fast) var(--ease-out);
}
.header__tel:hover { background: #00674E; }
.header__tel img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.header__tel span { display: block; line-height: 1.25; }
.header__tel .t1 { font-size: 13px; letter-spacing: .1em; opacity: .95; }
.header__tel .t2 { font-size: 19px; font-weight: 700; letter-spacing: .02em; font-family: "Noto Sans JP", sans-serif; }

.navToggle {
  display: none;
  margin-left: auto;
  width: 48px; height: 48px;
  background: none; border: 1px solid var(--line); border-radius: 6px;
  cursor: pointer; padding: 0;
}
.navToggle span {
  display: block; width: 22px; height: 2px; margin: 4px auto;
  background: var(--ink);
}

@media (max-width: 1080px) {
  .header__inner { height: 72px; gap: 12px; }
  .header.is-compact .header__inner { height: 64px; }
  .navToggle { display: block; order: 3; }
  .nav {
    order: 4; margin-left: 0;
    flex-basis: 100%;
    display: none;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; gap: 0; padding: 8px 0 16px; }
  .nav__link { padding: 14px 4px; font-size: 16px; border-radius: 0; }
  .header__inner { flex-wrap: wrap; height: auto; padding-block: 12px; }
  .header.is-compact .header__inner { height: auto; }
  .header__tel { padding: 8px 14px; }
  .header__tel .t2 { font-size: 17px; }
}

@media (max-width: 560px) {
  .brand__sub { display: none; }
  .brand__mark { font-size: 18px; }
  .header__tel .t1 { display: none; }
}

/* =========================================================
   ヒーロー（トップ）
   ========================================================= */

.hero {
  background: linear-gradient(180deg, var(--green-pale) 0%, #F4FBF9 62%, var(--white) 100%);
  padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 64px);
  position: relative;
  overflow: hidden;
}
.hero__inner { max-width: 900px; }
.hero__kicker {
  display: inline-block;
  font-size: 14px; font-weight: 700; letter-spacing: .12em;
  color: var(--green-text);
  background: #fff;
  border: 1px solid #C6E9DF;
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(32px, 5.4vw, 48px); margin-bottom: .4em; }
.hero h1 .accent { color: var(--green-text); }
.hero__sub { font-size: clamp(17px, 2vw, 20px); color: var(--ink-70); max-width: 34em; margin-bottom: 1.2em; }
.hero__meta {
  font-size: 15px; font-weight: 700; color: var(--ink-70);
  letter-spacing: .04em;
  padding-top: 14px; margin-bottom: 28px;
  border-top: 1px solid #C6E9DF;
  display: inline-block;
}
.hero .btn-row { margin-bottom: 8px; }

.scrollcue {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin-top: 36px;
  font-size: 13px; letter-spacing: .18em; color: var(--green-text);
}
.scrollcue__arrow {
  width: 1px; height: 34px; background: var(--green);
  position: relative;
}
.scrollcue__arrow::after {
  content: ""; position: absolute; left: -4px; bottom: 0;
  width: 9px; height: 9px;
  border-right: 1px solid var(--green); border-bottom: 1px solid var(--green);
  transform: rotate(45deg);
}
.scrollcue { animation: cueBob 1800ms ease-in-out infinite; }
@keyframes cueBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* =========================================================
   主役：ドラッグ比較スライダー
   ========================================================= */

.compare-sec { padding-block: 0 var(--sec); background: var(--white); }

.compare-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-up);
  padding: clamp(14px, 2vw, 22px);
}

.compare {
  --pos: 50%;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ddd;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}
.compare__layer { position: absolute; inset: 0; }
.compare__layer img { width: 100%; height: 100%; object-fit: cover; }

/* 下敷き＝剪定後。上に重ねた剪定前を、つまみより右だけ残す。
   → つまみを右へ動かすほど「片づいた庭」が広がる */
.compare__layer--before { clip-path: inset(0 0 0 var(--pos)); }

.compare__handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos);
  width: 4px; margin-left: -2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
  pointer-events: none;
}
.compare__grip {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff;
  border: 2px solid var(--green-deep);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .28);
  display: grid; place-items: center;
  color: var(--green-text);
  font-size: 15px; letter-spacing: -.06em;
  font-weight: 700;
}
.compare__hint {
  position: absolute; top: 50%; left: calc(var(--pos) + 40px);
  transform: translateY(-50%);
  background: #fff;
  color: var(--green-text);
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  white-space: nowrap;
  padding: 7px 14px; border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease-out);
}
.compare.is-touched .compare__hint { opacity: 0; }

/* 画面が狭い時は、つまみの右ではなく真下に置く（右端で切れるため） */
@media (max-width: 640px) {
  .compare__hint {
    left: 50%;
    transform: translate(-50%, 26px);
    font-size: 13px; padding: 6px 12px;
  }
}

/* キーボード操作用（見た目はハンドルに重ねる） */
.compare__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0; padding: 0;
  opacity: 0;
  cursor: ew-resize;
}
.compare__range:focus-visible { opacity: .001; }
.compare:has(.compare__range:focus-visible) { outline: 3px solid var(--green-deep); outline-offset: 3px; }

.compare-cap {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px;
  margin-top: 14px;
  text-align: center;
}
.compare-cap__text {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
}
.compare-cap.is-done .compare-cap__text {
  color: var(--green-text);
  font-weight: 700;
}
.compare-note { text-align: center; }

/* スライダーがある時だけ出す案内文 */
.only-slider { display: block; }
@media (prefers-reduced-motion: reduce) { .only-slider { display: none; } }
.compare-card.is-static ~ * .only-slider { display: none; }

/* 縦並びフォールバック（reduced motion） */
.compare-stack { display: none; }
.compare-stack figure { margin: 0 0 18px; }
.compare-stack figcaption {
  font-size: 16px; font-weight: 700; margin-top: 10px;
}
.compare-stack figcaption .done { color: var(--green-text); }

@media (prefers-reduced-motion: reduce) {
  .compare, .compare-cap { display: none !important; }
  .compare-stack { display: block; }
  .scrollcue { animation: none; }
}
.compare-card.is-static .compare,
.compare-card.is-static .compare-cap { display: none; }
.compare-card.is-static .compare-stack { display: block; }

/* =========================================================
   カード（困りごと）
   ========================================================= */

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

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

.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
  height: 100%;
}
.card__ico { width: 44px; height: 44px; margin-bottom: 14px; }
.card h3 { margin-bottom: .5em; font-size: 18px; line-height: 1.7; }
.card p { font-size: 16px; line-height: 1.85; color: var(--ink-70); margin: 0; }

/* サービスカード（写真つき） */
.scard {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
}
.scard__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.scard h3 { margin-bottom: .5em; }
.scard p { font-size: 16px; line-height: 1.85; color: var(--ink-70); flex: 1; }
.scard__cta { margin-top: 18px; }

/* 写真のホバーズーム：枠固定・中の画像のみ1.05倍・0.6秒 */
.zoom { overflow: hidden; background: #eee; }
.zoom img {
  width: 100%; display: block;
  transition: transform var(--t-mid) var(--ease-out);
}
.zoom:hover img, a:hover .zoom img { transform: scale(1.05); }

.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-4x3 img { height: 100%; object-fit: cover; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-16x9 img { height: 100%; object-fit: cover; }

figure { margin: 0; }
figcaption { font-size: 13px; color: var(--ink-55); margin-top: 8px; line-height: 1.7; }

/* =========================================================
   流れ（5ステップ）
   ========================================================= */

.flow-band {
  position: relative;
  background: var(--beige);
  padding-block: var(--sec);
}
.flow-band__bg {
  position: absolute; inset: 0;
  overflow: hidden;
}
.flow-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.flow-band__inner { position: relative; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.steps li { margin: 0; }
.step {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px 18px; height: 100%;
  display: flex; flex-direction: column; gap: 10px;
  border-top: 4px solid var(--green);
}
.step__no {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--green-text);
}
.step__ttl { font-size: 17px; font-weight: 700; line-height: 1.7; }
.step__txt { font-size: 15px; line-height: 1.8; color: var(--ink-70); margin: 0; }
.step--last { border-top-color: var(--green-deep); background: #fff; }
.step--last .step__ttl { color: var(--green-text); }

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

/* 縦組みステップ（flow.html） */
.vsteps { list-style: none; margin: 0; padding: 0; }
.vsteps > li { margin: 0 0 40px; }
.vstep {
  display: grid; grid-template-columns: 380px 1fr; gap: 34px; align-items: start;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.vstep__body { padding: 30px 32px 32px; }
.vstep__no {
  display: inline-block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .16em;
  color: #fff; background: var(--green-deep);
  padding: 4px 14px; border-radius: 999px;
  margin-bottom: 14px;
}
.vstep h3 { margin-bottom: .5em; }
.vstep p { font-size: 16px; color: var(--ink-70); margin: 0; }
.vstep figcaption { padding: 0 0 12px 12px; }

@media (max-width: 860px) {
  .vstep { grid-template-columns: 1fr; gap: 0; }
  .vstep__body { padding: 24px 22px 26px; }
}

/* =========================================================
   ページヘッダー（下層）※写真の上に文字は置かない
   ========================================================= */

.phead__img { overflow: hidden; background: #eee; }
.phead__img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 700px) { .phead__img img { aspect-ratio: 16 / 9; } }

.phead__cap { font-size: 13px; color: var(--ink-55); padding-block: 8px 0; margin: 0; }
.phead__body { background: var(--green-pale); padding-block: 44px; }
.phead h1 { margin-bottom: .3em; }
.phead p { margin: 0; color: var(--ink-70); }

.crumbs {
  font-size: 13px; color: var(--ink-55);
  padding-block: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.crumbs a { color: var(--ink-55); text-decoration: none; }
.crumbs a:hover { color: var(--green-text); text-decoration: underline; }
.crumbs span { margin-inline: 8px; }

/* =========================================================
   会社概要
   ========================================================= */

.about {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center;
}
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 28px; } }

.counter {
  display: flex; align-items: baseline; gap: 8px;
  font-family: "Noto Serif JP", serif;
  margin: 18px 0 6px;
}
.counter__num { font-size: clamp(46px, 7vw, 70px); font-weight: 600; color: var(--green-text); line-height: 1; }
.counter__unit { font-size: 20px; font-weight: 600; }
.counter__lbl { font-size: 15px; color: var(--ink-70); font-family: "Noto Sans JP", sans-serif; }

.facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.facts li {
  margin: 0; padding-left: 32px; position: relative;
  font-size: 16px; line-height: 1.8;
}
.facts li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 20px; height: 20px;
  background: url("../images/icon-04.png") center/contain no-repeat;
}

.dl-table { width: 100%; border-collapse: collapse; }
.dl-table th, .dl-table td {
  text-align: left; vertical-align: top;
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 16px; line-height: 1.85;
}
.dl-table th {
  width: 232px; font-weight: 700;
  background: var(--green-pale);
  border-bottom-color: #D4EDE6;
}
.dl-table td ul { margin: 0; padding-left: 1.2em; }
@media (max-width: 700px) {
  .dl-table, .dl-table tbody, .dl-table tr, .dl-table th, .dl-table td { display: block; width: 100%; }
  .dl-table th { border-bottom: 0; padding: 12px 14px; }
  .dl-table td { padding: 12px 14px 20px; }
}

.person {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 26px;
  display: flex; gap: 20px; align-items: flex-start;
}
.person__avatar {
  flex: none; width: 72px; height: 72px; border-radius: 50%;
  background: var(--green-pale);
  display: grid; place-items: center;
}
.person__avatar svg { width: 38px; height: 38px; }
.person__role { font-size: 13px; letter-spacing: .1em; color: var(--green-text); font-weight: 700; }
.person__name { font-family: "Noto Serif JP", serif; font-size: 22px; font-weight: 600; margin: 2px 0 10px; }
.person__lic { list-style: none; margin: 0; padding: 0; font-size: 15px; color: var(--ink-70); }
.person__lic li { margin: 0 0 4px; padding-left: 16px; position: relative; }
.person__lic li::before { content: "・"; position: absolute; left: 0; }

.history { list-style: none; margin: 0; padding: 0; }
.history li {
  display: grid; grid-template-columns: 210px 1fr; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line); margin: 0;
}
.history dt, .history .y { font-weight: 700; color: var(--green-text); }
@media (max-width: 600px) { .history li { grid-template-columns: 1fr; gap: 2px; } }

.map-frame {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  line-height: 0; background: #eee;
}
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }
@media (max-width: 700px) { .map-frame iframe { height: 320px; } }

/* =========================================================
   アコーディオン
   ========================================================= */

.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; text-align: left;
  background: none; border: 0; cursor: pointer;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 24px 8px;
  font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.7; color: var(--ink);
}
.acc__btn:hover { color: var(--green-text); }
.acc__q {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--green-pale); color: var(--green-text);
  display: grid; place-items: center;
  font-size: 15px; font-weight: 700; font-family: "Noto Sans JP", sans-serif;
  margin-top: 2px;
}
.acc__label { flex: 1; }
.acc__mark {
  flex: none; width: 22px; height: 22px; margin-top: 6px; position: relative;
}
.acc__mark::before, .acc__mark::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--green-deep);
  transform: translate(-50%, -50%);
  transition: transform var(--t-fast) var(--ease-out), opacity var(--t-fast) var(--ease-out);
}
.acc__mark::before { width: 18px; height: 2px; }
.acc__mark::after  { width: 2px; height: 18px; }
.acc__btn[aria-expanded="true"] .acc__mark::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.acc__panel { display: none; padding: 0 8px 26px 52px; }
.acc__panel.is-open { display: block; }
.acc__panel p { font-size: 16px; color: var(--ink-70); }

@media (max-width: 560px) {
  .acc__btn { font-size: 17px; padding: 20px 4px; }
  .acc__panel { padding-left: 8px; }
}

/* =========================================================
   施工事例
   ========================================================= */

.case { border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; background: #fff; }
.case__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.case__pair figure { background: #fff; padding: 0 0 14px; }
.case__pair figcaption { padding-inline: 16px; }
.case__pair .tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em;
  padding: 3px 12px; border-radius: 999px; margin-bottom: 6px;
}
.tag--before { background: #F1F1F1; color: var(--ink-70); }
.tag--after  { background: var(--green-pale); color: var(--green-text); }
.case__body { padding: 26px 28px 30px; }
@media (max-width: 700px) { .case__pair { grid-template-columns: 1fr; } .case__body { padding: 22px; } }

.works-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }

/* =========================================================
   フォーム（見た目のみ）
   ========================================================= */

.form { display: grid; gap: 26px; }
.field { display: grid; gap: 8px; }
.field > label, .field > .field__label { font-size: 16px; font-weight: 700; }
.field__hint { font-size: 14px; color: var(--ink-55); }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
  width: 100%;
  font-family: inherit; font-size: 17px; line-height: 1.7; color: var(--ink);
  padding: 14px 16px;
  border: 1px solid #C9C9C9; border-radius: var(--radius);
  background: #fff;
  min-height: 56px;
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(0, 169, 127, .18);
}
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 620px) { .checks { grid-template-columns: 1fr; } }
.check {
  display: flex; align-items: flex-start; gap: 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; cursor: pointer;
  font-size: 16px; line-height: 1.7;
  min-height: 56px;
  transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.check:hover { border-color: var(--green); background: #F7FCFA; }
.check input { width: 22px; height: 22px; margin: 4px 0 0; accent-color: var(--green-deep); flex: none; }

.contact-lead {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
@media (max-width: 760px) { .contact-lead { grid-template-columns: 1fr; } }

.bigtel {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--green-pale);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-decoration: none; color: var(--ink);
  text-align: center;
  transition: background-color var(--t-fast) var(--ease-out);
}
.bigtel:hover { background: #DAF1EB; }
.bigtel img { width: 34px; height: 34px; margin-bottom: 4px; }
.bigtel__lbl { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--green-text); }
.bigtel__num {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(30px, 5vw, 40px); font-weight: 700; letter-spacing: .02em;
  color: var(--green-text); line-height: 1.3;
}
.bigtel__sub { font-size: 14px; color: var(--ink-70); }
.bigtel--mail { background: #fff; border-color: var(--line); }
.bigtel--mail:hover { background: #FAFAFA; }
.bigtel--mail .bigtel__num { font-size: clamp(17px, 2.6vw, 21px); word-break: break-all; }

/* =========================================================
   CTA帯（全ページ共通）
   ========================================================= */

.cta {
  background: var(--green-deep);
  color: #fff;
  padding-block: clamp(48px, 6vw, 68px);
  text-align: center;
}
.cta h2 { color: #fff; margin-bottom: .35em; font-size: clamp(24px, 3.4vw, 33px); }
.cta p { color: rgba(255, 255, 255, .92); font-size: 17px; margin-bottom: 1.6em; }
.cta .btn-row { justify-content: center; }
.cta__tel {
  display: inline-flex; flex-direction: column; align-items: center;
  font-size: 13px; letter-spacing: .1em; color: rgba(255, 255, 255, .9);
  margin-top: 18px;
}
.cta__tel strong {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 26px; letter-spacing: .02em; color: #fff;
}

/* =========================================================
   フッター
   ========================================================= */

.footer { background: #14211D; color: #D9E3DF; padding-block: 60px 34px; font-size: 15px; }
.footer a { color: #D9E3DF; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }

.footer__tagline {
  font-family: "Noto Serif JP", serif;
  font-size: 17px; letter-spacing: .16em; color: #8FD9C4;
  margin-bottom: 6px;
}
.footer__brand {
  font-family: "Noto Serif JP", serif;
  font-size: 23px; font-weight: 600; color: #fff; letter-spacing: .06em;
  margin-bottom: 18px;
}
.footer__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; }
@media (max-width: 780px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

.footer address { font-style: normal; line-height: 1.95; }
.footer__nav { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.footer__nav li { margin: 0 0 10px; break-inside: avoid; }

.footer__bottom {
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 13px; line-height: 1.9; color: #A9B8B3;
}
.footer__demo {
  background: rgba(255, 255, 255, .06);
  border-left: 3px solid #8FD9C4;
  padding: 14px 18px; border-radius: 4px;
  margin-bottom: 16px;
}

/* =========================================================
   404
   ========================================================= */

.nf { text-align: center; padding-block: clamp(64px, 10vw, 120px); }
.nf__code {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(64px, 12vw, 110px); font-weight: 600; line-height: 1;
  color: var(--green-pale);
  margin-bottom: 10px;
}
.nf h1 { margin-bottom: .5em; }

/* =========================================================
   基礎層アニメーション（GSAPで解除。JS無効時は必ず表示）
   ========================================================= */

.anim-on .js-reveal { opacity: 0; will-change: opacity, transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim-on .js-reveal { opacity: 1 !important; transform: none !important; }
  .zoom img { transition: none; }
  .zoom:hover img, a:hover .zoom img { transform: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .header, .cta, .scrollcue { display: none; }
}
