@charset "UTF-8";
/* ============================================================
   植木屋 庭番（niwaban） / 株式会社アクア
   モバイルファースト。min-width のメディアクエリで広げていく。
   色は tools/svglib.py の C と揃えること。
   ============================================================ */

/* ---------------------------------------------------------- トークン */
:root {
  --sumi: #1b1e1a;
  --sumi-70: #4a4d47;
  --gray: #8c8a83;
  --gray-line: #e2ded1;

  --midori-900: #12301f;
  --midori-700: #1e5136;
  --midori-500: #2f7c52;
  --midori-300: #7bb393;
  --midori-100: #dce8de;

  --kinari: #f6f3ea;
  --washi: #fbfaf5;
  --white: #fff;

  --ki: #8a6a46;
  --ki-dark: #5e472f;
  --kincha: #b8893a;

  --shu: #c1462c;
  --shu-dark: #a63a22;
  --shu-light: #e0674a;

  --mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Noto Sans JP", sans-serif;

  --pad: 20px;
  --maxw: 1160px;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(27, 30, 26, .06), 0 12px 30px rgba(27, 30, 26, .05);
  --shadow-lg: 0 6px 20px rgba(27, 30, 26, .10), 0 24px 56px rgba(27, 30, 26, .09);

  /* スマホ下部の固定CTA分の余白 */
  --cta-h: 62px;
}

@media (min-width: 768px) {
  :root { --pad: 32px; --cta-h: 0px; }
}

/* ---------------------------------------------------------- リセット */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.85;
  color: var(--sumi);
  background: var(--washi);
  font-feature-settings: "palt" 1;
  overflow-wrap: break-word;
  padding-bottom: var(--cta-h);
}

img, svg, video { max-width: 100%; height: auto; display: block; }
/* figure はブラウザ既定で margin:1em 40px が付く。グリッド内の写真が縮む原因になる */
figure { margin: 0; }
a { color: var(--midori-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--midori-500); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--mincho); font-weight: 600; line-height: 1.4; margin: 0; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .4em; }

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

/* 未確定値（先方から実データをもらうまでの点線表示） */
.tbd {
  border-bottom: 1.5px dotted currentColor;
  opacity: .72;
}

/* ---------------------------------------------------------- レイアウト */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 820px; }
.section { padding-block: 56px; }
@media (min-width: 768px) { .section { padding-block: 88px; } }
.section--kinari { background: var(--kinari); }
.section--midori { background: var(--midori-900); color: var(--washi); }
.section--midori h2, .section--midori h3 { color: var(--washi); }

.stack > * + * { margin-top: 1em; }
.center { text-align: center; }

/* ---------------------------------------------------------- 見出し */
.sec-head { margin-bottom: 32px; }
@media (min-width: 768px) { .sec-head { margin-bottom: 48px; } }

.sec-head__en {
  display: block;
  font-family: var(--gothic);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--kincha);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.sec-head__ttl {
  font-size: clamp(23px, 5.6vw, 36px);
  letter-spacing: .02em;
  color: var(--midori-900);
}
.section--midori .sec-head__ttl { color: var(--washi); }
.sec-head__sub {
  margin-top: 14px;
  font-size: 15px;
  color: var(--sumi-70);
  line-height: 1.9;
}
.section--midori .sec-head__sub { color: var(--midori-100); }
.sec-head--c { text-align: center; }
.sec-head--c .sec-head__sub { margin-inline: auto; max-width: 640px; }

/* 見出しの下の松葉飾り */
.leafline { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 16px; }
.leafline::before, .leafline::after {
  content: ""; height: 1px; background: var(--gray-line); flex: 1; max-width: 90px;
}
.leafline span { width: 7px; height: 7px; border-radius: 50%; background: var(--kincha); }

/* ---------------------------------------------------------- ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-family: var(--gothic); font-weight: 700; font-size: 16px;
  text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  min-height: 52px; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--tel {
  background: var(--shu); color: #fff; box-shadow: 0 6px 18px rgba(193, 70, 44, .28);
}
.btn--tel:hover { background: var(--shu-dark); color: #fff; }
.btn--form {
  background: var(--midori-700); color: #fff; box-shadow: 0 6px 18px rgba(30, 81, 54, .24);
}
.btn--form:hover { background: var(--midori-500); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--midori-700); color: var(--midori-700); }
.btn--ghost:hover { background: var(--midori-700); color: #fff; }
.btn--white { background: #fff; color: var(--midori-900); }
.btn--white:hover { background: var(--kinari); color: var(--midori-900); }
.btn--lg { font-size: 17px; padding: 18px 32px; min-height: 60px; width: 100%; }
@media (min-width: 560px) { .btn--lg { width: auto; } }
.btn svg { width: 20px; height: 20px; flex: none; }

/* 電話ボタン（番号を大きく見せる型） */
.telbtn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--shu); color: #fff; text-decoration: none;
  border-radius: var(--radius); padding: 13px 24px;
  box-shadow: 0 8px 22px rgba(193, 70, 44, .3);
  transition: transform .15s ease, background-color .15s ease;
}
.telbtn:hover { background: var(--shu-dark); color: #fff; transform: translateY(-2px); }
.telbtn__lbl {
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
  display: flex; align-items: center; gap: 6px;
}
.telbtn__lbl::before, .telbtn__lbl::after {
  content: ""; width: 14px; height: 1px; background: rgba(255,255,255,.55);
}
.telbtn__num {
  font-size: clamp(25px, 6.4vw, 33px); font-weight: 700; letter-spacing: .02em;
  line-height: 1.15; font-family: var(--gothic); white-space: nowrap;
}
.telbtn__note { font-size: 11.5px; opacity: .9; }

/* ---------------------------------------------------------- ヘッダー */
.hd {
  --header-height: 63px;
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 250, 245, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-line);
}
.hd__in {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 62px;
  max-width: 1440px;
}
.hd__logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.hd__logo svg { height: 40px; width: auto; }
@media (min-width: 768px) { .hd { --header-height: 79px; } .hd__logo svg { height: 48px; } .hd__in { min-height: 78px; } }

.hd__nav { display: none; }
.hd__cta { display: none; }
.hd__tel { display: none; }

/* 1000px〜：ナビと見積りボタン。電話はまだ出さない（横幅が足りない） */
@media (min-width: 1000px) {
  .hd__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 15px; min-width: 0; padding-block: 8px; }
  .hd__nav a {
    text-decoration: none; color: var(--midori-900); font-size: 13.5px; font-weight: 500;
    padding: 6px 0; position: relative; white-space: nowrap;
  }
  .hd__nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--kincha); transform: scaleX(0); transition: transform .2s ease;
  }
  .hd__nav a:hover::after, .hd__nav a[aria-current="page"]::after { transform: scaleX(1); }
  .hd__cta { display: flex; flex-shrink: 0; align-items: center; gap: 12px; }
  .hd__cta .btn { white-space: nowrap; padding-inline: 20px; font-size: 14.5px; }
}

/* 1360px〜：電話番号まで収まる幅で全項目を並べる */
@media (min-width: 1360px) {
  .hd__nav { column-gap: 21px; }
  .hd__nav a { font-size: 14.5px; }
  .hd__tel { display: block; text-decoration: none; text-align: right; line-height: 1.25; }
  .hd__tel small { display: block; font-size: 10.5px; color: var(--kincha); font-weight: 700; letter-spacing: .1em; white-space: nowrap; }
  .hd__tel strong { font-size: 21px; color: var(--midori-900); font-weight: 700; white-space: nowrap; }
  .hd__cta .btn { padding-inline: 26px; font-size: 16px; }
}

/* ハンバーガー */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  flex-shrink: 0; width: 46px; height: 46px; padding: 0 11px; background: none; border: 0;
}
@media (min-width: 1000px) { .burger { display: none; } }
.burger span {
  display: block; height: 2px; background: var(--midori-900); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  /* ヘッダーの backdrop-filter 内でも、画面の残りの高さを確保する。 */
  position: absolute; top: 100%; left: 0; right: 0; z-index: 55;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  background: var(--washi);
  padding: 22px var(--pad) calc(40px + var(--cta-h) + env(safe-area-inset-bottom, 0px));
  overflow-y: auto; overscroll-behavior-y: contain;
  transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.drawer[data-open="true"] { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
@media (min-width: 1000px) { .drawer { display: none; } }
.drawer a.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; border-bottom: 1px solid var(--gray-line);
  text-decoration: none; color: var(--midori-900); font-size: 17px; font-weight: 500;
}
.drawer a.drawer__link::after { content: "→"; color: var(--kincha); }
.drawer__cta { margin-top: 24px; display: grid; gap: 12px; }

/* ---------------------------------------------------------- スマホ固定CTA */
.fixcta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 1px;
  background: var(--gray-line);
  box-shadow: 0 -4px 16px rgba(27, 30, 26, .12);
}
@media (min-width: 768px) { .fixcta { display: none; } }
.fixcta a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; padding: 8px 4px; text-decoration: none; min-height: 62px;
}
.fixcta__tel { background: var(--shu); color: #fff; }
.fixcta__form { background: var(--midori-700); color: #fff; }
.fixcta small { font-size: 10px; letter-spacing: .06em; opacity: .95; }
.fixcta strong { font-size: 19px; font-weight: 700; line-height: 1.1; }
.fixcta__form strong { font-size: 15px; }

/* ---------------------------------------------------------- FV */
.fv { position: relative; background: var(--midori-900); overflow: hidden; }
.fv::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 15% 0%, rgba(47, 124, 82, .42), transparent 60%),
    radial-gradient(100% 70% at 100% 100%, rgba(184, 137, 58, .22), transparent 55%);
}
.fv__in { position: relative; padding-block: 40px 0; }
@media (min-width: 900px) {
  .fv__in {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center;
    padding-block: 68px 72px;
  }
}
.fv__copy { color: var(--washi); }
.fv__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(251, 250, 245, .12); border: 1px solid rgba(251, 250, 245, .3);
  color: var(--washi); border-radius: 999px; padding: 7px 15px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; margin-bottom: 18px;
}
.fv__badge b { color: var(--kincha); }
.fv h1 {
  font-size: clamp(29px, 8.2vw, 54px);
  line-height: 1.32; letter-spacing: .01em; color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .18);
}
.fv h1 .em {
  background: linear-gradient(transparent 62%, rgba(184, 137, 58, .55) 62%);
  padding-inline: 2px;
}
.fv h1 .sm { display: block; font-size: .52em; margin-top: 14px; opacity: .92; letter-spacing: .04em; }
.fv__lead { margin-top: 20px; font-size: 15.5px; line-height: 2; color: var(--midori-100); }

.fv__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.fv__chip {
  background: rgba(251, 250, 245, .1); border: 1px solid rgba(251, 250, 245, .26);
  border-radius: 8px; padding: 8px 13px; font-size: 13px; font-weight: 700; color: var(--washi);
  display: flex; align-items: center; gap: 7px;
}
.fv__chip svg { width: 17px; height: 17px; color: var(--kincha); flex: none; }

.fv__cta { margin-top: 26px; display: grid; gap: 12px; }
@media (min-width: 560px) { .fv__cta { grid-template-columns: auto auto; justify-content: start; align-items: center; } }
.fv__note { margin-top: 14px; font-size: 12.5px; color: var(--midori-300); }

/* FV の写真（before/after を重ねる） */
.fv__vis { position: relative; margin-top: 34px; padding-bottom: 34px; }
@media (min-width: 900px) { .fv__vis { margin-top: 0; padding-bottom: 0; } }
.fv__vis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fv__ph { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.fv__ph img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.fv__ph span {
  position: absolute; top: 9px; left: 9px; z-index: 2;
  background: rgba(18, 48, 31, .82); color: #fff; font-size: 10.5px; font-weight: 700;
  letter-spacing: .12em; padding: 4px 9px; border-radius: 5px;
}
.fv__ph--after span { background: var(--shu); }
.fv__vis-cap {
  margin-top: 12px; font-size: 12px; color: var(--midori-100); text-align: center; opacity: .85;
}

/* 波型の切り替え */
.wave { display: block; width: 100%; height: 34px; }
@media (min-width: 768px) { .wave { height: 52px; } }

/* ---------------------------------------------------------- お悩み */
.probs { display: grid; gap: 16px; }
@media (min-width: 760px) { .probs { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.prob {
  background: var(--white); border-radius: var(--radius); padding: 26px 22px;
  box-shadow: var(--shadow); position: relative; border-top: 4px solid var(--midori-300);
}
.prob__ic {
  width: 54px; height: 54px; border-radius: 50%; background: var(--midori-100);
  display: grid; place-items: center; color: var(--midori-700); margin-bottom: 14px;
}
.prob__ic svg { width: 30px; height: 30px; }
.prob__cat { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: var(--kincha); }
.prob__ttl { font-size: 19px; margin-top: 6px; color: var(--midori-900); }
.prob__voice {
  margin-top: 12px; font-size: 14px; color: var(--sumi-70); line-height: 1.85;
  padding-top: 12px; border-top: 1px dashed var(--gray-line);
}
.probs-out {
  margin-top: 30px; text-align: center; font-family: var(--mincho);
  font-size: clamp(19px, 4.6vw, 27px); color: var(--midori-900); line-height: 1.6;
}
.probs-out b { color: var(--shu); }

/* ---------------------------------------------------------- 3つの約束 */
.promises { display: grid; gap: 22px; }
@media (min-width: 900px) { .promises { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.promise {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.promise__hd {
  background: var(--midori-700); color: #fff; padding: 20px 22px 18px; position: relative;
}
.promise__no {
  font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--kincha);
  display: block; margin-bottom: 4px;
}
.promise__label {
  display: inline-block; background: var(--kincha); color: #fff; font-size: 12.5px;
  font-weight: 700; padding: 3px 12px; border-radius: 999px; margin-bottom: 10px;
}
.promise__ttl { font-size: 20px; color: #fff; line-height: 1.45; }
.promise__ic {
  position: absolute; right: 16px; top: 16px; width: 46px; height: 46px;
  color: rgba(255, 255, 255, .3);
}
.promise__ic svg { width: 100%; height: 100%; }
.promise__bd { padding: 20px 22px 24px; flex: 1; }
.promise__lead { font-weight: 700; color: var(--midori-900); font-size: 15px; margin-bottom: 12px; }
.promise__body { font-size: 14.2px; color: var(--sumi-70); line-height: 1.95; margin: 0; }

/* ---------------------------------------------------------- 施工事例 */
.works { display: grid; gap: 30px; }
@media (min-width: 860px) { .works { gap: 44px; } }
.work {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.work__ba { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--gray-line); position: relative; }
.work__ph { position: relative; background: var(--kinari); }
.work__ph img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.work--land .work__ph img { aspect-ratio: 4 / 3; }
.work__ph span {
  position: absolute; top: 10px; left: 10px;
  background: rgba(18, 48, 31, .85); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .14em; padding: 5px 11px; border-radius: 5px;
}
.work__ph--after span { background: var(--shu); }
.work__arrow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--kincha); color: #fff;
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); z-index: 3;
}
.work__arrow svg { width: 24px; height: 24px; }
.work__bd { padding: 22px var(--pad) 26px; }
@media (min-width: 860px) { .work__bd { padding: 28px 32px 32px; } }
.work__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.work__cat {
  background: var(--midori-700); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 3px 11px; border-radius: 999px;
}
.work__area { font-size: 12.5px; color: var(--gray); display: flex; align-items: center; gap: 4px; }
.work__area svg { width: 14px; height: 14px; }
.work__ttl { font-size: clamp(19px, 4.4vw, 25px); color: var(--midori-900); margin-bottom: 16px; }
.work__rows { display: grid; gap: 14px; }
@media (min-width: 860px) { .work__rows { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.work__row dt {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--kincha);
  margin-bottom: 5px; display: flex; align-items: center; gap: 6px;
}
.work__row dt::before { content: ""; width: 14px; height: 2px; background: var(--kincha); }
.work__row dd { margin: 0; font-size: 14px; line-height: 1.9; color: var(--sumi-70); }
.work__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.work__tag {
  font-size: 11.5px; background: var(--kinari); color: var(--midori-700);
  border: 1px solid var(--midori-100); padding: 3px 10px; border-radius: 999px;
}

/* ---------------------------------------------------------- サービス */
.svcs { display: grid; gap: 16px; }
@media (min-width: 640px) { .svcs { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 980px) { .svcs { grid-template-columns: repeat(4, 1fr); } }
.svc {
  background: var(--white); border-radius: var(--radius); padding: 24px 20px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  border-bottom: 3px solid transparent; transition: border-color .2s ease, transform .2s ease;
  text-decoration: none; color: inherit;
}
.svc:hover { border-bottom-color: var(--kincha); transform: translateY(-3px); color: inherit; }
.svc--big { grid-column: span 1; }
@media (min-width: 980px) { .svcs--3 { grid-template-columns: repeat(3, 1fr); } }
.svc__ic {
  width: 56px; height: 56px; border-radius: 14px; background: var(--midori-100);
  display: grid; place-items: center; color: var(--midori-700); margin-bottom: 14px;
}
.svc__ic svg { width: 32px; height: 32px; }
.svc__name {
  font-size: 20px; color: var(--midori-900);
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.svc__name small { font-family: var(--gothic); font-size: 11px; color: var(--gray); font-weight: 400; }
.svc__lead { font-size: 14px; color: var(--sumi-70); margin: 10px 0 0; line-height: 1.85; flex: 1; }
.svc__price {
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--gray-line);
  font-size: 15px; font-weight: 700; color: var(--shu);
}
.svc__price small { font-size: 11.5px; color: var(--gray); font-weight: 400; display: block; }

/* サービス詳細（/service/） */
.svcdetail { display: grid; gap: 34px; }
.svcrow {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; padding: 28px var(--pad);
}
@media (min-width: 860px) {
  .svcrow { display: grid; grid-template-columns: 210px 1fr; gap: 32px; padding: 34px 36px; align-items: start; }
}
.svcrow__side { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
@media (min-width: 860px) { .svcrow__side { flex-direction: column; align-items: flex-start; margin-bottom: 0; } }
.svcrow__ic {
  width: 72px; height: 72px; border-radius: 18px; background: var(--midori-100);
  display: grid; place-items: center; color: var(--midori-700); flex: none;
}
.svcrow__ic svg { width: 42px; height: 42px; }
.svcrow__name { font-size: 25px; color: var(--midori-900); }
.svcrow__name small { display: block; font-family: var(--gothic); font-size: 11.5px; color: var(--gray); font-weight: 400; letter-spacing: .1em; }
.svcrow__price {
  background: var(--kinari); border-radius: 10px; padding: 10px 14px; width: 100%;
  font-size: 17px; font-weight: 700; color: var(--shu);
}
.svcrow__price small { display: block; font-size: 11px; color: var(--gray); font-weight: 400; }
.svcrow__lead { font-family: var(--mincho); font-size: clamp(17px, 3.8vw, 21px); color: var(--midori-700); margin-bottom: 12px; line-height: 1.6; }
.svcrow__desc { font-size: 14.5px; color: var(--sumi-70); line-height: 2; }
.svcrow__pts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; }
.svcrow__pts li { display: flex; gap: 9px; font-size: 14px; color: var(--sumi); margin: 0; }
.svcrow__pts li::before {
  content: "✓"; color: var(--midori-500); font-weight: 700; flex: none;
}

/* ---------------------------------------------------------- 料金 */
.pricebox {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px var(--pad); text-align: center;
}
@media (min-width: 768px) { .pricebox { padding: 40px; } }
.pricebox__lbl { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--kincha); }
.pricebox__main {
  font-family: var(--mincho); font-weight: 600;
  font-size: clamp(30px, 8vw, 50px); color: var(--midori-900); line-height: 1.2; margin: 8px 0;
}
.pricebox__main small { font-size: .42em; }
.pricebox__main .yen { color: var(--shu); }
.pricebox__note {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  background: var(--kinari); border-radius: 999px; padding: 9px 18px;
  font-size: 13.5px; font-weight: 700; color: var(--midori-700);
}
.pricebox__note svg { width: 18px; height: 18px; flex: none; }

.ptable { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ptable th, .ptable td { padding: 14px 12px; border-bottom: 1px solid var(--gray-line); text-align: left; }
.ptable th { font-weight: 700; color: var(--midori-900); width: 46%; }
.ptable td { color: var(--shu); font-weight: 700; text-align: right; white-space: nowrap; }
.ptable td small { display: block; font-weight: 400; color: var(--gray); font-size: 11.5px; }
.ptable tr:last-child th, .ptable tr:last-child td { border-bottom: 0; }

.pnote {
  background: var(--kinari); border-left: 4px solid var(--kincha);
  border-radius: 0 10px 10px 0; padding: 18px 20px; font-size: 14px; color: var(--sumi-70);
}
.pnote strong { color: var(--midori-900); }

/* ---------------------------------------------------------- 流れ */
.flow { display: grid; gap: 0; counter-reset: f; }
@media (min-width: 980px) { .flow { grid-template-columns: repeat(5, 1fr); gap: 14px; } }
.flowstep { position: relative; padding: 0 0 26px 54px; }
@media (min-width: 980px) { .flowstep { padding: 0; text-align: center; } }
.flowstep::before {
  content: ""; position: absolute; left: 21px; top: 6px; bottom: -6px; width: 2px;
  background: var(--midori-100);
}
@media (min-width: 980px) {
  .flowstep::before { left: auto; right: -7px; top: 22px; bottom: auto; width: 14px; height: 2px; }
}
.flowstep:last-child::before { display: none; }
.flowstep__ic {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--midori-700); color: #fff; display: grid; place-items: center; z-index: 2;
}
@media (min-width: 980px) { .flowstep__ic { position: static; margin: 0 auto 14px; width: 54px; height: 54px; } }
.flowstep__ic svg { width: 24px; height: 24px; }
@media (min-width: 980px) { .flowstep__ic svg { width: 28px; height: 28px; } }
.flowstep__no { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--kincha); }
.flowstep__ttl { font-size: 18px; color: var(--midori-900); margin: 3px 0 8px; }
.flowstep__desc { font-size: 13.5px; color: var(--sumi-70); line-height: 1.85; margin: 0; }
.flowstep__note {
  display: inline-block; margin-top: 10px; font-size: 11.5px; font-weight: 700;
  color: var(--shu); background: rgba(193, 70, 44, .08); padding: 3px 10px; border-radius: 999px;
}

/* ---------------------------------------------------------- エリア */
.area__map { background: var(--white); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.area__list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.area__list span {
  font-size: 13px; background: var(--white); border: 1px solid var(--gray-line);
  padding: 5px 12px; border-radius: 999px; color: var(--sumi-70);
}
.area__list span.is-main {
  background: var(--midori-700); color: #fff; border-color: var(--midori-700); font-weight: 700;
}

/* ---------------------------------------------------------- FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden;
}
.faq summary {
  display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px;
  font-weight: 700; font-size: 15.5px; color: var(--midori-900); cursor: pointer;
  list-style: none; position: relative; padding-right: 48px; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; font-family: var(--mincho); color: var(--kincha); font-size: 19px;
  line-height: 1.35; flex: none;
}
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 24px; width: 11px; height: 11px;
  border-right: 2px solid var(--midori-500); border-bottom: 2px solid var(--midori-500);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 27px; }
.faq__a {
  padding: 0 20px 20px 51px; font-size: 14.5px; color: var(--sumi-70); line-height: 1.95; margin: 0;
}

/* ---------------------------------------------------------- CTA帯 */
.ctaband { background: var(--midori-900); color: var(--washi); position: relative; overflow: hidden; }
.ctaband::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 120% at 80% 10%, rgba(47, 124, 82, .5), transparent 60%);
}
.ctaband__in { position: relative; padding-block: 48px; text-align: center; }
@media (min-width: 768px) { .ctaband__in { padding-block: 68px; } }
.ctaband__ttl { font-size: clamp(22px, 5.4vw, 34px); color: #fff; line-height: 1.5; }
.ctaband__sub { margin-top: 14px; font-size: 15px; color: var(--midori-100); line-height: 1.9; }
.ctaband__box {
  margin-top: 26px; display: grid; gap: 14px; justify-items: center;
}
@media (min-width: 700px) { .ctaband__box { grid-template-columns: auto auto; justify-content: center; align-items: center; } }
.ctaband__hours { margin-top: 16px; font-size: 12.5px; color: var(--midori-300); }

/* ---------------------------------------------------------- フッター */
.ft { background: var(--midori-900); color: var(--midori-100); border-top: 1px solid rgba(255,255,255,.08); }
.ft__in { padding-block: 40px 28px; display: grid; gap: 28px; }
@media (min-width: 860px) { .ft__in { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; } }
.ft__logo svg { height: 52px; width: auto; }
.ft__addr { margin-top: 16px; font-size: 13.5px; line-height: 1.9; }
.ft__addr .tel { font-size: 20px; font-weight: 700; color: #fff; text-decoration: none; display: inline-block; margin-top: 4px; }
.ft h3 { font-size: 14px; color: #fff; letter-spacing: .08em; margin-bottom: 12px; }
.ft ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ft ul a { color: var(--midori-100); text-decoration: none; font-size: 13.5px; }
.ft ul a:hover { color: #fff; text-decoration: underline; }
.ft__btm {
  border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 16px;
  font-size: 12px; color: var(--midori-300); display: flex; flex-wrap: wrap;
  gap: 8px; justify-content: space-between;
}

/* ---------------------------------------------------------- ページ見出し */
.phead { background: var(--midori-900); color: var(--washi); position: relative; overflow: hidden; }
.phead::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(100% 90% at 10% 0%, rgba(47, 124, 82, .45), transparent 62%);
}
.phead__in { position: relative; padding-block: 36px 40px; }
@media (min-width: 768px) { .phead__in { padding-block: 56px 62px; } }
.phead__en { font-size: 11px; font-weight: 700; letter-spacing: .24em; color: var(--kincha); }
.phead__ttl { font-size: clamp(26px, 6.4vw, 42px); color: #fff; margin-top: 8px; }
.phead__sub { margin-top: 14px; font-size: 15px; color: var(--midori-100); max-width: 700px; line-height: 1.9; }

.crumbs { font-size: 12px; color: var(--gray); padding-block: 12px; }
.crumbs a { color: var(--gray); text-decoration: none; }
.crumbs a:hover { color: var(--midori-700); text-decoration: underline; }
.crumbs span { margin-inline: 6px; }

/* ---------------------------------------------------------- 記事 */
.postgrid { display: grid; gap: 18px; }
@media (min-width: 620px) { .postgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .postgrid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.pcard {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.pcard__img { aspect-ratio: 16 / 9; background: var(--midori-100); }
.pcard__img img, .pcard__img svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard__bd { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.pcard__cat {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--kincha);
}
.pcard__ttl { font-size: 17px; line-height: 1.55; color: var(--midori-900); margin: 7px 0 9px; flex: 1; }
.pcard__ex { font-size: 13px; color: var(--sumi-70); line-height: 1.8; margin: 0; }
.pcard__date { margin-top: 12px; font-size: 11.5px; color: var(--gray); }

.article { font-size: 16px; line-height: 2.05; }
.article h2 {
  font-size: clamp(21px, 5vw, 28px); color: var(--midori-900); margin: 48px 0 18px;
  padding-bottom: 12px; border-bottom: 2px solid var(--midori-100); position: relative;
}
.article h2::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 70px; height: 2px; background: var(--kincha);
}
.article h3 {
  font-size: clamp(18px, 4.2vw, 22px); color: var(--midori-700); margin: 34px 0 14px;
  padding-left: 14px; border-left: 4px solid var(--midori-500);
}
.article p { margin: 0 0 1.5em; }
.article ul, .article ol { margin: 0 0 1.6em; padding-left: 1.4em; }
.article li { margin-bottom: .6em; }
.article strong { color: var(--midori-900); font-weight: 700; background: linear-gradient(transparent 66%, rgba(184,137,58,.28) 66%); }
.article a { color: var(--midori-500); }
.article img, .article svg { border-radius: 10px; margin: 24px 0; }
.article table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 24px 0; }
.article th, .article td { border: 1px solid var(--gray-line); padding: 10px 12px; text-align: left; }
.article th { background: var(--kinari); font-weight: 700; color: var(--midori-900); }
.article blockquote {
  margin: 24px 0; padding: 18px 20px; background: var(--kinari);
  border-left: 4px solid var(--midori-300); border-radius: 0 10px 10px 0; font-size: 15px;
}
.article blockquote p:last-child { margin-bottom: 0; }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; }
.tablewrap table { margin: 0; min-width: 520px; }

.callout {
  background: var(--white); border: 2px solid var(--midori-100); border-radius: var(--radius);
  padding: 22px; margin: 28px 0;
}
.callout__ttl {
  font-family: var(--mincho); font-size: 18px; color: var(--midori-900); margin-bottom: 10px;
  display: flex; align-items: center; gap: 9px;
}
.callout__ttl::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--kincha); }
.callout p:last-child { margin-bottom: 0; }

.toc {
  background: var(--kinari); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 36px;
}
.toc__ttl { font-family: var(--mincho); font-size: 17px; color: var(--midori-900); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.3em; font-size: 14.5px; }
.toc li { margin-bottom: .5em; }
.toc a { color: var(--sumi-70); text-decoration: none; }
.toc a:hover { color: var(--midori-500); text-decoration: underline; }

.postmeta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 12.5px; color: var(--gray); }
.postmeta .cat {
  background: var(--midori-700); color: #fff; font-weight: 700; padding: 3px 11px; border-radius: 999px; font-size: 11.5px;
}

.relposts { display: grid; gap: 14px; }
@media (min-width: 700px) { .relposts { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------- 会社概要テーブル */
.deftable { width: 100%; border-collapse: collapse; font-size: 15px; }
.deftable th, .deftable td { padding: 16px 6px; border-bottom: 1px solid var(--gray-line); text-align: left; vertical-align: top; }
.deftable th { width: 32%; font-weight: 700; color: var(--midori-900); white-space: nowrap; }
@media (max-width: 560px) {
  .deftable th, .deftable td { display: block; width: 100%; }
  .deftable th { border-bottom: 0; padding-bottom: 2px; }
  .deftable td { padding-top: 0; }
}

/* ---------------------------------------------------------- フォーム */
.form { display: grid; gap: 20px; }
.field label { display: block; font-weight: 700; font-size: 14.5px; color: var(--midori-900); margin-bottom: 7px; }
.field .req { background: var(--shu); color: #fff; font-size: 10.5px; padding: 2px 7px; border-radius: 4px; margin-left: 7px; vertical-align: 2px; }
.field .opt { background: var(--gray-line); color: var(--sumi-70); font-size: 10.5px; padding: 2px 7px; border-radius: 4px; margin-left: 7px; vertical-align: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px; border: 1.5px solid var(--gray-line); border-radius: 10px;
  font: inherit; font-size: 16px; background: var(--white); color: var(--sumi);
}
.field input:focus, .field select, .field textarea:focus { border-color: var(--midori-500); }
.field textarea { min-height: 150px; resize: vertical; }
.field__help { font-size: 12.5px; color: var(--gray); margin-top: 6px; }

/* ---------------------------------------------------------- 汎用 */
.figure { margin: 0; }
.figure img, .figure svg { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.figure figcaption { margin-top: 10px; font-size: 12.5px; color: var(--gray); text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.grid2 { display: grid; gap: 24px; }
@media (min-width: 860px) { .grid2 { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; } }

.note-sm { font-size: 12.5px; color: var(--gray); line-height: 1.8; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 印刷 */
@media print {
  .hd, .fixcta, .drawer, .ctaband, .btn { display: none !important; }
  body { padding-bottom: 0; background: #fff; }
}

/* ============================================================
   ここから下：装飾とアニメーション（にぎやかさ）
   ・動きは全部 prefers-reduced-motion で止まるようにしてある
   ・reveal 系は JS が付ける .is-in で発火。JS が無くても
     .no-js 経由で最初から見える（下の noscript 対策を参照）
   ============================================================ */

:root {
  --wakaba: #8cc63f;      /* 若葉：差し色 */
  --yamabuki: #e8a33d;    /* 山吹：差し色 */
  --sakura: #e39aa4;      /* 桜：ごく少量 */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------------------------------------------------------- スクロール表示 */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
/* 横ずらしは、コンテナの外側に32px以上の余白がある幅でだけ使う。
   それ未満で使うと画面右がはみ出して横スクロールが出る（実際に踏んだ） */
.reveal--l, .reveal--r { transform: translateY(28px); }
@media (min-width: 1300px) {
  .reveal--l { transform: translateX(-32px); }
  .reveal--r { transform: translateX(32px); }
}
.reveal--zoom { transform: scale(.94); }
.reveal--l.is-in, .reveal--r.is-in, .reveal--zoom.is-in { transform: none; }

/* 子要素を順番に出す */
.stagger > * { opacity: 0; transform: translateY(26px); }
.stagger.is-in > * {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.stagger.is-in > *:nth-child(1) { transition-delay: .05s; }
.stagger.is-in > *:nth-child(2) { transition-delay: .16s; }
.stagger.is-in > *:nth-child(3) { transition-delay: .27s; }
.stagger.is-in > *:nth-child(4) { transition-delay: .38s; }
.stagger.is-in > *:nth-child(5) { transition-delay: .49s; }
.stagger.is-in > *:nth-child(6) { transition-delay: .60s; }
.stagger.is-in > *:nth-child(7) { transition-delay: .71s; }
.stagger.is-in > *:nth-child(8) { transition-delay: .82s; }

/* ---------------------------------------------------------- 舞い落ちる葉 */
.leaves {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1;
}
.leaves i {
  position: absolute; top: -50px; display: block; width: 26px; height: 26px;
  background-repeat: no-repeat; background-size: contain;
  animation: fall linear infinite;
  opacity: .75;
}
@keyframes fall {
  0%   { transform: translate3d(0, -60px, 0) rotate(0deg); opacity: 0; }
  8%   { opacity: .8; }
  100% { transform: translate3d(var(--dx, 40px), var(--fallto, 780px), 0) rotate(var(--rot, 420deg)); opacity: 0; }
}
.leaves i:nth-child(1) { left: 4%;  width: 30px; height: 30px; animation-duration: 15s; animation-delay: 0s;    --dx: 60px;  --rot: 380deg; }
.leaves i:nth-child(2) { left: 17%; width: 20px; height: 20px; animation-duration: 19s; animation-delay: -4s;   --dx: -50px; --rot: -300deg; }
.leaves i:nth-child(3) { left: 29%; width: 26px; height: 26px; animation-duration: 13s; animation-delay: -8s;   --dx: 34px;  --rot: 500deg; }
.leaves i:nth-child(4) { left: 43%; width: 17px; height: 17px; animation-duration: 22s; animation-delay: -2s;   --dx: -70px; --rot: 260deg; }
.leaves i:nth-child(5) { left: 56%; width: 28px; height: 28px; animation-duration: 16s; animation-delay: -11s;  --dx: 48px;  --rot: -430deg; }
.leaves i:nth-child(6) { left: 68%; width: 22px; height: 22px; animation-duration: 20s; animation-delay: -6s;   --dx: -38px; --rot: 350deg; }
.leaves i:nth-child(7) { left: 80%; width: 32px; height: 32px; animation-duration: 14s; animation-delay: -15s;  --dx: 56px;  --rot: -280deg; }
.leaves i:nth-child(8) { left: 91%; width: 19px; height: 19px; animation-duration: 18s; animation-delay: -9s;   --dx: -44px; --rot: 460deg; }
.leaves i:nth-child(9) { left: 10%; width: 24px; height: 24px; animation-duration: 24s; animation-delay: -13s;  --dx: 72px;  --rot: 320deg; }
.leaves i:nth-child(10){ left: 36%; width: 21px; height: 21px; animation-duration: 17s; animation-delay: -18s;  --dx: -60px; --rot: -390deg; }
.leaves i:nth-child(11){ left: 62%; width: 18px; height: 18px; animation-duration: 21s; animation-delay: -3s;   --dx: 30px;  --rot: 410deg; }
.leaves i:nth-child(12){ left: 85%; width: 25px; height: 25px; animation-duration: 15s; animation-delay: -20s;  --dx: -52px; --rot: -340deg; }

/* 葉の絵柄を順に割り当てる。CSS からの相対URLなので配置場所に依存しない */
.leaves i:nth-child(6n+1) { background-image: url(../svg/leaf/leaf0.svg); }
.leaves i:nth-child(6n+2) { background-image: url(../svg/leaf/leaf1.svg); }
.leaves i:nth-child(6n+3) { background-image: url(../svg/leaf/leaf2.svg); }
.leaves i:nth-child(6n+4) { background-image: url(../svg/leaf/leaf3.svg); }
.leaves i:nth-child(6n+5) { background-image: url(../svg/leaf/leaf4.svg); }
.leaves i:nth-child(6n)   { background-image: url(../svg/leaf/leaf5.svg); }

/* ---------------------------------------------------------- 背景の和柄 */
.pat { position: relative; }
.pat::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: .07;
}
.pat > * { position: relative; z-index: 1; }
.pat--seigaiha::before { background: url(../svg/pattern-seigaiha.svg) repeat; background-size: 72px 36px; }
.pat--asanoha::before  { background: url(../svg/pattern-asanoha.svg) repeat;  background-size: 74px 85px; }
.pat--matsuba::before  { background: url(../svg/pattern-matsuba.svg) repeat;  background-size: 150px 150px; opacity: .10; }
.pat--dot::before      { background: url(../svg/pattern-dot.svg) repeat;      background-size: 20px 20px; }

/* ---------------------------------------------------------- 波形の区切り */
.wavecut { position: relative; line-height: 0; }
.wavecut svg { display: block; width: 100%; height: 56px; }
@media (min-width: 768px) { .wavecut svg { height: 96px; } }
.wavecut--washi { color: var(--washi); }
.wavecut--kinari { color: var(--kinari); }
.wavecut--midori { color: var(--midori-900); }
.wavecut--flip svg { transform: rotate(180deg); }

/* ---------------------------------------------------------- 見出しの装飾 */
.sec-head { position: relative; }
.sec-head--c { z-index: 1; }

/* 背景に薄く敷く大きな英字 */
.sec-head__wm {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -58%);
  font-family: var(--gothic); font-weight: 700; letter-spacing: .04em;
  font-size: clamp(52px, 13vw, 128px); line-height: 1; white-space: nowrap;
  color: var(--midori-700); opacity: .042; pointer-events: none; z-index: 0;
  text-transform: uppercase;
}
.sec-head > *:not(.sec-head__wm) { position: relative; z-index: 1; }
.section--midori .sec-head__wm { color: #fff; opacity: .07; }

/* 筆風の下線（スクロールで左から伸びる） */
.sec-head__brush {
  display: block; width: 190px; max-width: 62%; margin: 12px auto 0;
  color: var(--kincha);
  clip-path: inset(0 100% 0 0);
}
.sec-head--c .sec-head__brush { margin-inline: auto; }
.is-in .sec-head__brush, .sec-head.is-in .sec-head__brush {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-out) .2s;
}

/* 英字ラベルにきらめきを添える */
.sec-head__en { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.sec-head__en::before, .sec-head__en::after {
  content: ""; width: 18px; height: 1.5px; background: currentColor; opacity: .6;
}
.sec-head--c .sec-head__en { justify-content: center; }

/* ---------------------------------------------------------- バッジ・リボン */
.badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: var(--midori-900); border: 2px solid var(--midori-100);
  border-radius: 999px; padding: 9px 17px; font-size: 13.5px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(27,30,26,.07);
  transition: transform .2s var(--ease-out), border-color .2s;
}
.badge:hover { transform: translateY(-3px); border-color: var(--kincha); }
.badge svg { width: 18px; height: 18px; color: var(--midori-500); flex: none; }
.badge--shu { background: var(--shu); color: #fff; border-color: var(--shu); }
.badge--shu svg { color: #fff; }
.badge--gold { background: var(--kincha); color: #fff; border-color: var(--kincha); }
.badge--gold svg { color: #fff; }

/* 丸いスタンプ風 */
.stamp {
  position: absolute; z-index: 5; display: grid; place-items: center; text-align: center;
  width: 114px; height: 114px; border-radius: 50%;
  background: var(--shu); color: #fff; font-weight: 700; line-height: 1.35;
  font-size: 11.5px; padding: 10px;
  box-shadow: 0 8px 24px rgba(193,70,44,.36);
  border: 2.5px dashed rgba(255,255,255,.55);
  transform: rotate(-11deg);
  animation: stampin .7s var(--ease-out) both;
}
.stamp b { display: block; font-size: 18px; margin-top: 2px; letter-spacing: .02em; }
.stamp--gold { background: var(--kincha); box-shadow: 0 8px 24px rgba(184,137,58,.36); }
@keyframes stampin {
  0% { transform: rotate(-11deg) scale(1.7); opacity: 0; }
  100% { transform: rotate(-11deg) scale(1); opacity: 1; }
}

/* ---------------------------------------------------------- CTA を目立たせる */
.telbtn { position: relative; overflow: hidden; }
.telbtn::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.34), transparent);
  transform: skewX(-22deg);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine {
  0%, 62% { left: -75%; }
  86%, 100% { left: 135%; }
}
.telbtn__num { position: relative; z-index: 1; }

/* 電話アイコンが小さく揺れる */
@keyframes ring {
  0%, 88%, 100% { transform: rotate(0); }
  90% { transform: rotate(-13deg); }
  92% { transform: rotate(11deg); }
  94% { transform: rotate(-9deg); }
  96% { transform: rotate(7deg); }
}
.ringing { animation: ring 3.4s ease-in-out infinite; transform-origin: 50% 60%; }

/* 固定CTAにも脈 */
.fixcta__tel { position: relative; overflow: hidden; }
.fixcta__tel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: translateX(-100%) skewX(-20deg);
  animation: sweep 3.6s ease-in-out infinite;
}
@keyframes sweep {
  0%, 60% { transform: translateX(-100%) skewX(-20deg); }
  90%, 100% { transform: translateX(200%) skewX(-20deg); }
}

/* ---------------------------------------------------------- 実績の数字帯 */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(255,255,255,.16); border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--midori-900); padding: 24px 12px; text-align: center; position: relative;
}
.stat__lbl { font-size: 12px; color: var(--midori-300); font-weight: 700; letter-spacing: .08em; }
.stat__num {
  font-family: var(--mincho); font-weight: 600; color: #fff; line-height: 1.05;
  font-size: clamp(34px, 8vw, 54px); margin: 6px 0 2px;
  display: flex; align-items: baseline; justify-content: center; gap: 2px;
}
.stat__num small { font-size: .4em; color: var(--kincha); }
.stat__sub { font-size: 12px; color: var(--midori-100); opacity: .85; }
.stat__ic {
  position: absolute; right: 10px; top: 10px; width: 26px; height: 26px;
  color: #fff; opacity: .13;
}

/* ---------------------------------------------------------- カードの動き */
.prob, .promise, .svc, .pcard, .work, .flowstep, .badge { will-change: transform; }

.prob { transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out); overflow: hidden; }
.prob::after {
  content: ""; position: absolute; right: -34px; bottom: -34px;
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--midori-100); opacity: .5; transition: transform .4s var(--ease-out);
}
.prob:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prob:hover::after { transform: scale(1.35); }
.prob > * { position: relative; z-index: 1; }
.prob__ic { transition: transform .35s var(--ease-out); }
.prob:hover .prob__ic { transform: rotate(-8deg) scale(1.1); }

.promise { transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out); }
.promise:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.promise__hd { overflow: hidden; }
.promise__hd::after {
  content: ""; position: absolute; left: -20px; bottom: -46px;
  width: 130px; height: 130px; border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.promise__ic { transition: transform .4s var(--ease-out); }
.promise:hover .promise__ic { transform: rotate(10deg) scale(1.12); }

.svc { position: relative; overflow: hidden; }
.svc::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--kincha), var(--wakaba));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.svc:hover::before { transform: scaleX(1); }
.svc__ic { transition: transform .35s var(--ease-out), background-color .3s; }
.svc:hover .svc__ic { transform: translateY(-4px) rotate(-6deg); background: var(--kincha); color: #fff; }

.work { transition: box-shadow .3s var(--ease-out); }
.work:hover { box-shadow: var(--shadow-lg); }
.work__ph img { transition: transform .6s var(--ease-out); }
.work__ph:hover img { transform: scale(1.05); }
.work__arrow { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(1.14); }
}

.pcard__img { overflow: hidden; }
.pcard__img img { transition: transform .6s var(--ease-out); }
.pcard:hover .pcard__img img { transform: scale(1.07); }

.flowstep__ic { transition: transform .3s var(--ease-out); }
.flowstep:hover .flowstep__ic { transform: scale(1.12) rotate(-7deg); }

/* 流れの線が伸びる */
.flow.is-in .flowstep::before { animation: growline .7s var(--ease-out) both; }
@keyframes growline {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.flowstep::before { transform-origin: top; }
@media (min-width: 980px) {
  .flowstep::before { transform-origin: left; }
  @keyframes growline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------------------------------------------------------- FV の追加装飾 */
.fv { isolation: isolate; }
.fv__rays {
  position: absolute; right: -170px; top: -190px; width: 620px; height: 620px;
  color: var(--kincha); opacity: .05; z-index: 0;
  animation: spin 90s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

.fv__in { position: relative; z-index: 2; }

.fv h1 .em { position: relative; display: inline-block; }
.fv h1 .em::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: .12em; height: .34em;
  background: linear-gradient(90deg, rgba(184,137,58,.75), rgba(140,198,63,.5));
  z-index: -1; border-radius: 3px;
  transform: scaleX(0); transform-origin: left;
  animation: marker .8s var(--ease-out) .5s both;
}
@keyframes marker { to { transform: scaleX(1); } }
.fv h1 .em { background: none !important; }

/* スクロール誘導 */
.scrollcue {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 6px;
  color: var(--midori-100); font-size: 10.5px; letter-spacing: .18em; z-index: 3;
}
@media (min-width: 900px) { .scrollcue { display: flex; } }
.scrollcue span {
  width: 1px; height: 40px; background: linear-gradient(var(--kincha), transparent);
  animation: cue 1.9s ease-in-out infinite;
}
@keyframes cue {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* FV の写真に飾り枠 */
.fv__ph::after {
  content: ""; position: absolute; inset: 0; border-radius: 12px;
  border: 2px solid rgba(255,255,255,.28); pointer-events: none;
}
.fv__vis { position: relative; }

/* ---------------------------------------------------------- 吹き出し */
.fukidashi {
  position: relative; background: #fff; border: 2px solid var(--midori-100);
  border-radius: 14px; padding: 16px 18px; font-size: 14px; color: var(--sumi-70);
  box-shadow: var(--shadow);
}
.fukidashi::before, .fukidashi::after {
  content: ""; position: absolute; left: 32px; width: 0; height: 0; border-style: solid;
}
.fukidashi::before {
  bottom: -14px; border-width: 14px 11px 0 11px;
  border-color: var(--midori-100) transparent transparent transparent;
}
.fukidashi::after {
  bottom: -11px; border-width: 11px 9px 0 9px;
  border-color: #fff transparent transparent transparent;
}

/* ---------------------------------------------------------- 帯（斜めストライプ） */
.stripe {
  background: repeating-linear-gradient(-45deg,
    var(--midori-700) 0 14px, var(--midori-500) 14px 28px);
  color: #fff; padding: 12px 0; overflow: hidden;
}
.marquee { display: flex; gap: 40px; white-space: nowrap; animation: flowx 26s linear infinite; }
.marquee span {
  font-weight: 700; font-size: 14px; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 9px;
}
.marquee span::before { content: "◆"; color: var(--kincha); font-size: 11px; }
@keyframes flowx { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------- 角飾り */
.cornered { position: relative; }
.cornered::before, .cornered::after {
  content: ""; position: absolute; width: 44px; height: 44px;
  border: 2.5px solid var(--kincha); opacity: .55;
}
.cornered::before { left: -8px; top: -8px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.cornered::after { right: -8px; bottom: -8px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }

/* ---------------------------------------------------------- きらめき */
.sparkle {
  position: absolute; width: 22px; height: 22px; color: var(--kincha);
  animation: twinkle 2.6s ease-in-out infinite; pointer-events: none;
}
@keyframes twinkle {
  0%, 100% { transform: scale(.55) rotate(0deg); opacity: .35; }
  50%      { transform: scale(1) rotate(24deg); opacity: 1; }
}

/* ---------------------------------------------------------- ヘッダーの変化 */
.hd { transition: box-shadow .3s, background-color .3s; }
.hd.is-stuck { box-shadow: 0 4px 20px rgba(27,30,26,.10); background: rgba(251,250,245,.98); }
.hd__cta .btn { position: relative; overflow: hidden; }
.hd__cta .btn::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); animation: shine 5s ease-in-out infinite;
}

/* ---------------------------------------------------------- FAQ の開閉 */
.faq details { transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow-lg); }
.faq__a { animation: openin .35s var(--ease-out) both; }
@keyframes openin {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.faq summary { transition: background-color .2s; }
.faq summary:hover { background: var(--kinari); }

/* ---------------------------------------------------------- 記事本文の装飾 */
.article h2 { position: relative; padding-left: 4px; }
.article h2::before {
  content: ""; position: absolute; left: -14px; top: .28em; width: 6px; height: 1em;
  background: linear-gradient(var(--kincha), var(--wakaba)); border-radius: 3px;
}
@media (max-width: 640px) { .article h2::before { display: none; } }

.callout { position: relative; overflow: hidden; }
.callout::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 100px; height: 100px;
  border-radius: 50%; background: var(--midori-100); opacity: .45;
}
.callout > * { position: relative; z-index: 1; }

/* ---------------------------------------------------------- 動きを止める設定 */
@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; }
  .sec-head__brush { clip-path: none !important; }
  .leaves, .fv__rays, .sparkle { display: none !important; }
  .telbtn::after, .fixcta__tel::after, .hd__cta .btn::after { display: none !important; }
  .marquee { animation: none !important; }
}

/* JS が動かない環境でも中身は見える */
.no-js .reveal, .no-js .stagger > * { opacity: 1; transform: none; }
.no-js .sec-head__brush { clip-path: none; }

/* ---------------------------------------------------------- 上へ戻る */
.totop {
  position: fixed; right: 14px; bottom: calc(var(--cta-h) + 14px); z-index: 65;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--midori-700); color: #fff;
  display: grid; place-items: center; text-decoration: none;
  box-shadow: 0 6px 18px rgba(27,30,26,.22);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .28s var(--ease-out), transform .28s var(--ease-out), visibility .28s;
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--midori-500); color: #fff; }
.totop svg { width: 22px; height: 22px; }
@media (min-width: 768px) { .totop { right: 22px; bottom: 22px; width: 52px; height: 52px; } }

/* ---------------------------------------------------------- 実績帯の周り */
.statsband { background: var(--midori-900); position: relative; overflow: hidden; }
.statsband::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 20% 0%, rgba(47,124,82,.5), transparent 60%);
}
.statsband__in { position: relative; padding-block: 40px 46px; }
.statsband__ttl {
  text-align: center; color: #fff; font-size: clamp(19px, 4.6vw, 26px); margin-bottom: 22px;
}
.statsband__ttl b { color: var(--kincha); }

/* ---------------------------------------------------------- ページ見出しの装飾 */
.phead { overflow: hidden; }
.phead__rays {
  position: absolute; left: -220px; bottom: -300px; width: 560px; height: 560px;
  color: var(--kincha); opacity: .06; z-index: 0; pointer-events: none;
  animation: spin 110s linear infinite reverse;
}
.phead__wm {
  position: absolute; right: 2%; top: 50%; transform: translateY(-50%);
  font-family: var(--gothic); font-weight: 700; text-transform: uppercase;
  font-size: clamp(56px, 13vw, 150px); line-height: 1; color: #fff; opacity: .06;
  pointer-events: none; z-index: 0; white-space: nowrap; letter-spacing: .03em;
}
.phead__in { z-index: 2; }
.phead .leaves i { opacity: .5; }

/* CTA 帯 */
.ctaband { overflow: hidden; }
.ctaband__rays {
  position: absolute; right: -180px; top: -260px; width: 540px; height: 540px;
  color: var(--kincha); opacity: .07; z-index: 0; pointer-events: none;
  animation: spin 100s linear infinite;
}
.ctaband__in { z-index: 2; }
.ctaband__ttl { position: relative; display: inline-block; }
.ctaband__ttl::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -12px; width: 74px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--kincha), var(--wakaba));
}

/* 波形は前後のセクションと隙間ができないように */
.wavecut + section, section + .wavecut { margin-top: -1px; }

/* ---------------------------------------------------------- サービスごとに色を変える */
.svcs .svc:nth-child(8n+1) .svc__ic { background: #dce8de; color: #1e5136; }
.svcs .svc:nth-child(8n+2) .svc__ic { background: #f0e4cc; color: #8a6421; }
.svcs .svc:nth-child(8n+3) .svc__ic { background: #f4dcd6; color: #a63a22; }
.svcs .svc:nth-child(8n+4) .svc__ic { background: #e2efd4; color: #4e7a1f; }
.svcs .svc:nth-child(8n+5) .svc__ic { background: #d9e7ee; color: #2f5e7c; }
.svcs .svc:nth-child(8n+6) .svc__ic { background: #e8e3d3; color: #6b5a2e; }
.svcs .svc:nth-child(8n+7) .svc__ic { background: #dfe9dd; color: #2f7c52; }
.svcs .svc:nth-child(8n)   .svc__ic { background: #eee0e2; color: #a05159; }
.svcs .svc:hover .svc__ic { background: var(--kincha); color: #fff; }

.svcs .svc:nth-child(8n+1)::before { background: linear-gradient(90deg, #1e5136, #7bb393); }
.svcs .svc:nth-child(8n+2)::before { background: linear-gradient(90deg, #b8893a, #e8c07a); }
.svcs .svc:nth-child(8n+3)::before { background: linear-gradient(90deg, #c1462c, #e0674a); }
.svcs .svc:nth-child(8n+4)::before { background: linear-gradient(90deg, #4e7a1f, #8cc63f); }
.svcs .svc:nth-child(8n+5)::before { background: linear-gradient(90deg, #2f5e7c, #7ba7bf); }
.svcs .svc:nth-child(8n+6)::before { background: linear-gradient(90deg, #6b5a2e, #b3a066); }
.svcs .svc:nth-child(8n+7)::before { background: linear-gradient(90deg, #2f7c52, #a8d0b6); }
.svcs .svc:nth-child(8n)::before   { background: linear-gradient(90deg, #a05159, #d79aa1); }

/* サービス詳細ページのアイコンにも同じ配色を回す */
.svcdetail .svcrow:nth-child(8n+1) .svcrow__ic { background: #dce8de; color: #1e5136; }
.svcdetail .svcrow:nth-child(8n+2) .svcrow__ic { background: #f0e4cc; color: #8a6421; }
.svcdetail .svcrow:nth-child(8n+3) .svcrow__ic { background: #f4dcd6; color: #a63a22; }
.svcdetail .svcrow:nth-child(8n+4) .svcrow__ic { background: #e2efd4; color: #4e7a1f; }
.svcdetail .svcrow:nth-child(8n+5) .svcrow__ic { background: #d9e7ee; color: #2f5e7c; }
.svcdetail .svcrow:nth-child(8n+6) .svcrow__ic { background: #e8e3d3; color: #6b5a2e; }
.svcdetail .svcrow:nth-child(8n+7) .svcrow__ic { background: #dfe9dd; color: #2f7c52; }
.svcdetail .svcrow:nth-child(8n)   .svcrow__ic { background: #eee0e2; color: #a05159; }
.svcdetail .svcrow { position: relative; overflow: hidden; }
.svcdetail .svcrow::after {
  content: ""; position: absolute; right: -46px; bottom: -46px;
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--kinari); opacity: .7; z-index: 0;
}
.svcdetail .svcrow > * { position: relative; z-index: 1; }

/* お悩みカードも色を変える */
.probs .prob:nth-child(1) { border-top-color: var(--shu); }
.probs .prob:nth-child(2) { border-top-color: var(--kincha); }
.probs .prob:nth-child(3) { border-top-color: var(--wakaba); }
.probs .prob:nth-child(1) .prob__ic { background: #f4dcd6; color: #a63a22; }
.probs .prob:nth-child(2) .prob__ic { background: #f0e4cc; color: #8a6421; }
.probs .prob:nth-child(3) .prob__ic { background: #e2efd4; color: #4e7a1f; }

/* 3つの約束にも差をつける */
.promises .promise:nth-child(2) .promise__hd { background: var(--ki-dark); }
.promises .promise:nth-child(3) .promise__hd { background: var(--shu-dark); }
.promises .promise:nth-child(2) .promise__label { background: var(--kincha); }
.promises .promise:nth-child(3) .promise__label { background: var(--kincha); }
