@charset "UTF-8";
/* ===========================================================
   有限会社古平園 デモサイト
   配色・タイポグラフィは 13_Web構成.md 第5章の指定に従う
   =========================================================== */

/* ---------- トークン ---------- */
:root {
  --c-base:    #FFFFFF;  /* ベース */
  --c-text:    #1A1A1A;  /* 本文・見出し */
  --c-ink:     #1A1A1A;  /* アクセント面 */
  --c-on-ink:  #FFFFFF;  /* 黒面の上の文字 */
  --c-sub:     #8CC63F;  /* サブ面（上の文字は必ず #1A1A1A） */
  --c-on-sub:  #1A1A1A;  /* 黄緑面の上の文字（白文字は禁止） */
  --c-subtext: #5A8126;  /* 白地に置く緑の文字・リンク */
  --c-soft:    #F4F6EF;  /* 補助面 */
  --c-line:    #E2E2E2;  /* 罫線 */
  --c-muted:   #4A4A4A;  /* 注記の文字（対白 9.0:1） */

  --w-page: 1200px;   /* ページの最大幅 */
  --w-text: 720px;    /* 本文1行の最大幅 */

  --s-section: 96px;  /* セクション間の余白（PC） */
  --s-gap: 32px;

  --radius: 4px;
  --dur-fast: 180ms;  /* 150〜200ms */
  --dur-mid: 600ms;   /* 400〜700ms */
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-in: cubic-bezier(.55,.06,.68,.19);

  --font: "游ゴシック体", "Yu Gothic", YuGothic, "Noto Sans JP",
          "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;      /* 本文 17px（これを下回らない） */
  line-height: 1.9;
  color: var(--c-text);
  background: var(--c-base);
  font-feature-settings: "palt" 1;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--c-subtext); }
a:hover { color: var(--c-text); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--c-subtext);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--c-ink); color: var(--c-on-ink);
  padding: 10px 18px; border-radius: var(--radius);
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 12px; color: var(--c-on-ink); }

/* ---------- 見出し ---------- */
h1, h2, h3 { letter-spacing: .04em; font-weight: 700; }
.h1, h1 { font-size: 34px; line-height: 1.4; }
.h2, h2 { font-size: 26px; line-height: 1.5; }
.h3, h3 { font-size: 19px; line-height: 1.6; }
@media (max-width: 767px) {
  .h1, h1 { font-size: 27px; }
  .h2, h2 { font-size: 22px; }
}

.note { font-size: 14px; line-height: 1.8; color: var(--c-muted); }
.note--onink { color: rgba(255,255,255,.86); }

/* セクション見出し（下線は黄緑） */
.sec-head { margin-bottom: 40px; }
.sec-head__label {
  display: inline-block; font-size: 14px; line-height: 1.8;
  letter-spacing: .12em; color: var(--c-subtext); font-weight: 700;
  margin-bottom: 6px;
}
.sec-head h2 { position: relative; padding-bottom: 14px; }
.sec-head h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 56px; height: 4px; background: var(--c-sub);
}
.sec-head--center { text-align: center; }
.sec-head--center h2::after { left: 50%; transform: translateX(-50%); }
.sec-head__lead { margin-top: 18px; max-width: var(--w-text); }
.sec-head--center .sec-head__lead { margin-left: auto; margin-right: auto; }

/* ---------- レイアウト ---------- */
.wrap { width: min(100% - 40px, var(--w-page)); margin-inline: auto; }
.wrap--text { width: min(100% - 40px, var(--w-text)); margin-inline: auto; }
.section { padding-block: var(--s-section); }
.section--soft { background: var(--c-soft); }
.section--ink { background: var(--c-ink); color: var(--c-on-ink); }
.section--ink h2, .section--ink h3 { color: var(--c-on-ink); }
.section--ink a { color: #C9E88E; }
.section--tight { padding-block: 64px; }
@media (max-width: 767px) {
  :root { --s-section: 64px; }
}

.text-col { max-width: var(--w-text); }
.text-col > * + * { margin-top: 1.2em; }
.stack > * + * { margin-top: 20px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; min-height: 52px; padding: 12px 28px;
  border: 2px solid var(--c-ink); border-radius: var(--radius);
  background: var(--c-ink); color: var(--c-on-ink);
  font-size: 17px; font-weight: 700; line-height: 1.5;
  text-decoration: none; text-align: center;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.btn:hover { background: #000; color: var(--c-on-ink); }
.btn--ghost { background: transparent; color: var(--c-text); }
.btn--ghost:hover { background: var(--c-ink); color: var(--c-on-ink); }
.btn--onink { background: var(--c-on-ink); color: var(--c-ink); border-color: var(--c-on-ink); }
.btn--onink:hover { background: #EDEDED; color: var(--c-ink); }
.btn--lg { min-height: 60px; padding: 14px 36px; font-size: 18px; }
.btn--block { width: 100%; }
.btn__icon { width: 22px; height: 22px; flex: none; }
.btn__icon--light { filter: invert(1); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }

/* 矢印リンク */
.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; text-decoration: none; color: var(--c-subtext);
}
.arrow-link img { width: 20px; height: 20px; }
.arrow-link:hover { color: var(--c-text); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-base);
  border-bottom: 1px solid var(--c-line);
  transition: background var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.site-header__inner {
  width: min(100% - 32px, 1280px); margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
  height: 84px;
  transition: height var(--dur-fast) var(--ease-out);
}
.site-header.is-compact { background: rgba(255,255,255,.92); backdrop-filter: blur(6px); }
.site-header.is-compact .site-header__inner { height: 62px; }
.site-header.is-compact .brand__sub { opacity: 0; }

.brand {
  display: flex; flex-direction: column; text-decoration: none;
  color: var(--c-text); line-height: 1.3; flex: none;
}
.brand__name { font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.brand__sub {
  font-size: 14px; color: var(--c-muted); letter-spacing: .06em;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.gnav { margin-left: auto; }
.gnav__list { display: flex; gap: 22px; }
.gnav__list a {
  position: relative; display: block; padding: 6px 0;
  font-size: 15px; font-weight: 700; color: var(--c-text); text-decoration: none;
}
.gnav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--c-sub);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-out);
}
.gnav__list a:hover::after,
.gnav__list a[aria-current="page"]::after { transform: scaleX(1); }

.header-tel {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 18px; border-radius: var(--radius);
  background: var(--c-ink); color: var(--c-on-ink);
  font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.header-tel img { width: 18px; height: 18px; filter: invert(1); }
.header-tel:hover { background: #000; color: var(--c-on-ink); }

.nav-toggle { display: none; }

@media (max-width: 1023px) {
  .brand { order: 0; }
  .nav-toggle {
    order: 2;
    display: inline-flex; flex-direction: column; justify-content: center;
    gap: 5px; width: 48px; height: 48px; margin-left: 12px;
    background: transparent; border: 1px solid var(--c-line);
    border-radius: var(--radius);
  }
  .nav-toggle span {
    display: block; width: 22px; height: 2px; margin-inline: auto;
    background: var(--c-text); transition: transform var(--dur-fast) var(--ease-out),
                                           opacity var(--dur-fast) var(--ease-out);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .gnav {
    order: 3;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--c-base); border-bottom: 1px solid var(--c-line);
    margin-left: 0; padding: 8px 20px 20px;
    display: none;
  }
  .gnav.is-open { display: block; }
  .gnav__list { flex-direction: column; gap: 0; }
  .gnav__list a { padding: 14px 4px; border-bottom: 1px solid var(--c-line); font-size: 17px; }
  .header-tel { order: 1; margin-left: auto; }
  .brand__sub { display: none; }
}
@media (max-width: 479px) {
  .header-tel span { display: none; }
  .header-tel { padding: 8px 12px; }
  .brand__name { font-size: 17px; }
}

/* ---------- スクロール進捗バー ---------- */
.progress {
  position: fixed; left: 0; top: 0; z-index: 120;
  width: 100%; height: 3px; background: transparent;
}
.progress__bar {
  height: 100%; width: 100%; background: var(--c-sub);
  transform: scaleX(0); transform-origin: left;
}

/* ---------- ファーストビュー ---------- */
.hero { position: relative; background: var(--c-soft); }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; height: clamp(380px, 62vh, 620px); object-fit: cover;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.88) 34%, rgba(255,255,255,.25) 62%, rgba(255,255,255,0) 100%);
}
.hero__inner {
  position: absolute; inset: 0; display: flex; align-items: center;
}
.hero__box { width: min(100% - 40px, var(--w-page)); margin-inline: auto; }
.hero__text { max-width: 620px; }
.hero h1 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.4; }
.hero h1 .accent {
  background: linear-gradient(transparent 62%, rgba(140,198,63,.55) 62%);
}
.hero__lead { margin-top: 20px; max-width: 30em; }
.hero__cta { margin-top: 32px; }
@media (max-width: 767px) {
  .hero__media img { height: 300px; }
  .hero__overlay { background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.55) 100%); }
  .hero__inner { position: static; }
  .hero__box { padding-block: 32px 40px; }
  .hero__inner .hero__box { position: relative; }
  .hero { display: flex; flex-direction: column; }
}

/* スクロール誘導矢印 */
.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 14px; letter-spacing: .14em; color: var(--c-text);
}
.scroll-cue__line {
  display: block; width: 1px; height: 40px; background: var(--c-text);
  transform-origin: top; animation: cue 1800ms var(--ease-out) infinite;
}
@keyframes cue {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(40px); opacity: 0; }
}
@media (max-width: 767px) { .scroll-cue { display: none; } }

/* ---------- 信頼の3点（黒帯） ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.trust__item { padding: 8px 28px; border-left: 1px solid rgba(255,255,255,.22); }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__icon { width: 34px; height: 34px; filter: invert(1); margin-bottom: 12px; }
.trust__title { font-size: 19px; line-height: 1.6; font-weight: 700; }
.trust__desc { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.82); margin-top: 8px; }
@media (max-width: 767px) {
  .trust { grid-template-columns: 1fr; gap: 28px; }
  .trust__item { border-left: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.22); padding-top: 24px; }
  .trust__item:first-child { border-top: 0; padding-top: 0; }
}

/* ---------- カード ---------- */
.cards { display: grid; gap: var(--s-gap); }
.cards--5 { grid-template-columns: repeat(5, 1fr); gap: 24px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1023px) {
  .cards--5, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .cards--5, .cards--4, .cards--3, .cards--2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--c-soft); border: 1px solid var(--c-line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.card--plain { background: var(--c-base); }
.card__body { padding: 20px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.card__no {
  font-size: 14px; letter-spacing: .14em; font-weight: 700;
  color: var(--c-subtext); margin-bottom: 4px;
}
.card__title { font-size: 19px; line-height: 1.6; font-weight: 700; }
.card__text { font-size: 15px; line-height: 1.8; margin-top: 10px; }
.card__foot { margin-top: auto; padding-top: 16px; }

/* 写真の枠（ホバーズームの受け皿） */
.ph { position: relative; overflow: hidden; background: var(--c-line); }
.ph > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--dur-mid) var(--ease-out); }
.ph--wide > img { aspect-ratio: 16 / 9; }
.ph--ogp > img { aspect-ratio: 1.91 / 1; }
.ph-zoom:hover .ph > img,
.ph.ph-zoom:hover > img { transform: scale(1.05); }

/* AI生成の注記 */
.ai-note {
  font-size: 14px; line-height: 1.8; color: var(--c-muted);
  margin-top: 8px;
}
.ai-note--tight { margin-top: 6px; }

/* ---------- 主役層：一つの石が庭になるまで ---------- */
.story { background: var(--c-ink); color: var(--c-on-ink); overflow: hidden; }
.story .sec-head__label { color: var(--c-sub); }
.story h2 { color: var(--c-on-ink); }
.story__pin { padding-block: var(--s-section); }
.story__layout { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.story--pinned .story__layout { grid-template-columns: 92px 1fr; }

/* 進行インジケーター */
.story__nav { display: none; }
.story--pinned .story__nav { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.story__nav li { display: flex; align-items: center; gap: 12px; }
.story__nav button {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 8px 0; background: none; border: 0;
  color: rgba(255,255,255,.5); font-size: 15px; font-weight: 700;
  letter-spacing: .1em; text-align: left;
  transition: color var(--dur-fast) var(--ease-out);
}
.story__nav .bar {
  display: block; width: 34px; height: 3px; background: rgba(255,255,255,.3);
  transform-origin: left;
  transition: background var(--dur-fast) var(--ease-out),
              width var(--dur-fast) var(--ease-out);
}
.story__nav li.is-current button { color: var(--c-sub); }
.story__nav li.is-current .bar { background: var(--c-sub); width: 48px; }

/* 4段階 */
.story__steps { display: grid; gap: 48px; }
.story__step { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center; }
.story__media { border-radius: var(--radius); overflow: hidden; }
.story__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.story__no {
  font-size: 14px; letter-spacing: .2em; font-weight: 700; color: var(--c-sub);
  display: block; margin-bottom: 10px;
}
.story__step h3 { font-size: 26px; line-height: 1.5; color: var(--c-on-ink); }
.story__step p { margin-top: 14px; color: rgba(255,255,255,.88); }

/* ピン留めが有効なとき（PC・reduced-motionオフ）のみ重ね表示にする */
.story--pinned .story__pin {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding-block: 56px;
}
.story--pinned .story__steps {
  display: block; position: relative; min-height: 56vh;
}
.story--pinned .story__step {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 400ms var(--ease-out), visibility 400ms;
}
.story--pinned .story__step.is-active { opacity: 1; visibility: visible; }
.story--pinned .story__steps::after { content: ""; display: block; }

.story__hint { margin-top: 28px; font-size: 14px; color: rgba(255,255,255,.6); }

@media (max-width: 900px) {
  .story--pinned .story__layout { grid-template-columns: 1fr; gap: 24px; }
  .story--pinned .story__nav { flex-direction: row; flex-wrap: wrap; gap: 18px; }
  .story__nav li { width: auto; }
  .story__step { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- 採用帯（黄緑・上の文字は黒） ---------- */
.recruit-band {
  position: relative;
  background: var(--c-ink) center/cover no-repeat;
  padding-block: 88px;
}
.recruit-band::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(26,26,26,.35);
}
.recruit-band__inner { position: relative; }
.recruit-band__card {
  background: var(--c-sub); color: var(--c-on-sub);
  border-radius: var(--radius); padding: 44px 48px;
  max-width: 760px;
}
.recruit-band__card h2 { color: var(--c-on-sub); }
.recruit-band__card h2::after { background: var(--c-on-sub); }
.recruit-band__card p { color: var(--c-on-sub); }
.recruit-band__card .btn { background: var(--c-ink); color: var(--c-on-ink); border-color: var(--c-ink); }
.recruit-band__points { margin-top: 22px; display: grid; gap: 8px; }
.recruit-band__points li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 17px; line-height: 1.9; color: var(--c-on-sub); font-weight: 700;
}
.recruit-band__points img { width: 22px; height: 22px; margin-top: 6px; flex: none; }
@media (max-width: 767px) {
  .recruit-band__card { padding: 28px 22px; }
  .recruit-band { padding-block: 56px; }
}

/* ---------- ページ見出し ---------- */
.page-head {
  position: relative; background: var(--c-ink) center/cover no-repeat;
  color: var(--c-on-ink); padding-block: 76px;
}
.page-head::before { content: ""; position: absolute; inset: 0; background: rgba(26,26,26,.62); }
.page-head__inner { position: relative; }
.page-head h1 { color: var(--c-on-ink); }
.page-head p { margin-top: 14px; color: rgba(255,255,255,.9); max-width: var(--w-text); }
.page-head--plain { background: var(--c-soft); color: var(--c-text); }
.page-head--plain::before { display: none; }
.page-head--plain h1 { color: var(--c-text); }
.page-head--plain p { color: var(--c-text); }

/* パンくず */
.crumbs { font-size: 14px; line-height: 1.8; padding-block: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li::after { content: "／"; margin-left: 8px; color: var(--c-muted); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { text-decoration: none; }

/* ---------- 交互レイアウト（石の仕事） ---------- */
.alt { display: grid; gap: 56px; }
.alt__row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.alt__row:nth-child(even) .alt__media { order: 2; }
.alt__body h3 { margin-bottom: 12px; }
.alt__body > * + * { margin-top: 14px; }
@media (max-width: 767px) {
  .alt__row { grid-template-columns: 1fr; gap: 20px; }
  .alt__row:nth-child(even) .alt__media { order: 0; }
}

/* ---------- タブ（施工事例） ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.tab {
  min-height: 48px; padding: 10px 20px;
  border: 2px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-base); color: var(--c-text);
  font-size: 16px; font-weight: 700; line-height: 1.5;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.tab:hover { border-color: var(--c-sub); }
.tab[aria-selected="true"] {
  background: var(--c-sub); border-color: var(--c-sub); color: var(--c-on-sub);
}
.tabpanel[hidden] { display: none; }

/* ---------- アコーディオン ---------- */
.acc { border-top: 1px solid var(--c-line); }
.acc__item { border-bottom: 1px solid var(--c-line); }
.acc__btn {
  display: flex; align-items: flex-start; gap: 14px; width: 100%;
  padding: 20px 4px; background: none; border: 0; text-align: left;
  font-size: 19px; line-height: 1.6; font-weight: 700;
}
.acc__btn .q { color: var(--c-subtext); flex: none; }
.acc__btn .mark {
  margin-left: auto; flex: none; width: 20px; height: 20px; position: relative;
}
.acc__btn .mark::before, .acc__btn .mark::after {
  content: ""; position: absolute; left: 0; top: 9px; width: 20px; height: 2px;
  background: var(--c-text); transition: transform var(--dur-fast) var(--ease-out);
}
.acc__btn .mark::after { transform: rotate(90deg); }
.acc__btn[aria-expanded="true"] .mark::after { transform: rotate(0deg); }
.acc__panel { padding: 0 4px 22px; max-width: var(--w-text); }
.acc__panel[hidden] { display: none; }
.acc__panel > * + * { margin-top: 12px; }

/* ---------- タイムライン ---------- */
.timeline { border-left: 3px solid var(--c-sub); padding-left: 26px; }
.timeline li { position: relative; padding-block: 12px; }
.timeline li + li { border-top: 1px solid var(--c-line); }
.timeline li::before {
  content: ""; position: absolute; left: -33px; top: 22px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--c-base); border: 3px solid var(--c-sub);
}
.timeline__time {
  display: inline-block; min-width: 76px; font-weight: 700;
  letter-spacing: .04em; color: var(--c-subtext);
}
@media (max-width: 639px) {
  .timeline__time { display: block; }
}

/* ---------- 表 ---------- */
.table-wrap { overflow-x: auto; }
.tbl { font-size: 17px; line-height: 1.9; }
.tbl th, .tbl td {
  border: 1px solid var(--c-line); padding: 16px 20px; text-align: left; vertical-align: top;
}
.tbl th { background: var(--c-soft); font-weight: 700; white-space: nowrap; width: 220px; }
.tbl tbody tr:nth-child(even) td { background: #FBFCF8; }
@media (max-width: 639px) {
  .tbl th, .tbl td { display: block; width: auto; border-bottom: 0; }
  .tbl tr:last-child td { border-bottom: 1px solid var(--c-line); }
}

/* ---------- リスト類 ---------- */
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list img { width: 22px; height: 22px; margin-top: 6px; flex: none; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li {
  font-size: 15px; line-height: 1.6; padding: 6px 14px;
  background: var(--c-soft); border: 1px solid var(--c-line); border-radius: var(--radius);
}

.def-list { display: grid; gap: 18px; }
.def-list__item { padding-left: 16px; border-left: 3px solid var(--c-sub); }
.def-list__term { font-weight: 700; font-size: 19px; line-height: 1.6; }
.def-list__desc { font-size: 15px; line-height: 1.8; margin-top: 4px; color: var(--c-muted); }

.media-list { display: grid; gap: 14px; }
.media-list li {
  padding: 16px 20px; background: var(--c-soft);
  border-left: 3px solid var(--c-sub); border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- 連絡先ブロック ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-gap); }
@media (max-width: 767px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--c-base); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.contact-card img.contact-card__icon { width: 40px; height: 40px; margin-bottom: 14px; }
.contact-card__label { font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--c-muted); }
.tel-big {
  display: inline-block; margin-top: 6px;
  font-size: clamp(28px, 4vw, 36px); font-weight: 700; letter-spacing: .04em;
  color: var(--c-text); text-decoration: none; line-height: 1.3;
}
.tel-big:hover { color: var(--c-subtext); }
.mail-link { font-size: 17px; font-weight: 700; word-break: break-all; }
.fax-text { font-size: 19px; font-weight: 700; letter-spacing: .04em; }
.contact-card__foot { margin-top: auto; padding-top: 14px; }

/* ---------- フォーム ---------- */
.form { display: grid; gap: 24px; max-width: var(--w-text); }
.field label { display: block; font-weight: 700; margin-bottom: 8px; }
.field .req {
  font-size: 14px; font-weight: 700; margin-left: 8px; padding: 2px 8px;
  background: var(--c-sub); color: var(--c-on-sub); border-radius: 2px;
}
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 17px; line-height: 1.7;
  padding: 12px 14px; color: var(--c-text); background: var(--c-base);
  border: 1px solid #B9B9B9; border-radius: var(--radius);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--c-subtext);
}
.field__help { font-size: 14px; line-height: 1.8; color: var(--c-muted); margin-top: 6px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 18px; }
.radio-row label { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 0; }
.radio-row input { width: auto; }

/* ---------- 最終CTA ---------- */
.final-cta { background: var(--c-soft); }
.final-cta__head { text-align: center; margin-bottom: 32px; }
.final-cta__head h2 { font-size: clamp(24px, 3vw, 30px); }
.final-cta__price {
  display: inline-block; margin-bottom: 12px; padding: 6px 18px;
  background: var(--c-sub); color: var(--c-on-sub);
  font-weight: 700; border-radius: var(--radius);
}

/* ---------- フッター ---------- */
.site-footer { background: var(--c-ink); color: var(--c-on-ink); padding-block: 56px 32px; }
.site-footer a { color: #C9E88E; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer__name { font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.site-footer__addr { font-size: 15px; line-height: 1.9; margin-top: 12px; color: rgba(255,255,255,.86); }
.site-footer__addr a { font-weight: 700; }
.site-footer h3 { font-size: 15px; letter-spacing: .1em; color: var(--c-sub); margin-bottom: 12px; }
.site-footer__links li + li { margin-top: 8px; }
.site-footer__links a { font-size: 15px; text-decoration: none; color: rgba(255,255,255,.9); }
.site-footer__links a:hover { color: var(--c-sub); }
.site-footer__orgs li { font-size: 15px; line-height: 1.9; color: rgba(255,255,255,.86); }
.site-footer__bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.22);
}
.demo-note {
  font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.8);
  max-width: 860px;
}
.copyright { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 14px; }

/* ---------- 404 ---------- */
.err { text-align: center; padding-block: 110px; }
.err h1 { margin-bottom: 18px; }
.err p { max-width: 34em; margin-inline: auto; }
.err .btn-row { margin-top: 34px; }

/* ---------- 基礎層アニメーションの初期状態 ----------
   既定は「見えている」状態。JSが読み込めたときだけ html.reveal-on が付き、
   初期状態を隠す。CDNが落ちてもコンテンツが消えないようにするため。 */
.js-reveal { opacity: 1; transform: none; }
html.reveal-on .js-reveal { opacity: 0; transform: translateY(28px); }
html.no-motion .js-reveal { opacity: 1 !important; transform: none !important; }

/* 動きを減らす設定：すべて無効化 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js-reveal { opacity: 1 !important; transform: none !important; }
  .scroll-cue__line { animation: none; }
  .ph > img { transition: none; }
  .ph-zoom:hover .ph > img, .ph.ph-zoom:hover > img { transform: none; }
}
.no-motion .scroll-cue__line { animation: none; }
.no-motion .ph-zoom:hover .ph > img,
.no-motion .ph.ph-zoom:hover > img { transform: none; }

/* 石の仕事ページ：見出しに添えるアイコン */
.alt__h3 { display: flex; align-items: center; gap: 12px; }
.alt__h3 img { width: 30px; height: 30px; flex: none; opacity: .85; }

/* 語の途中で折り返さない */
.nowrap { display: inline-block; white-space: nowrap; }
@media (max-width: 479px) { .nowrap { white-space: normal; } }

/* 帯の背景写真に添えるAI生成の注記（写真の上でも読めるように地を敷く） */
.band-note {
  display: inline-block; margin-top: 14px; padding: 4px 12px;
  background: rgba(26,26,26,.82); color: #FFFFFF; border-radius: var(--radius);
}
