@charset "utf-8";

/* =========================================================
   みなみ造園 デモサイト
   配色・書体・余白は 13_Web構成.md 第5章のとおり
   ========================================================= */

:root {
  /* 配色（G5選定シート／色相は変更していない） */
  --c-base:      #FFFFFF;
  --c-accent:    #121E61;
  --c-accent-lt: #2C3C96;
  --c-pale:      #F2F4F8;
  --c-line:      #DBDDE6;
  --c-text:      #1A1A1A;
  --c-cta:       #8E5320;  /* CTAボタンと料金バッジのみ */
  --c-cta-hover: #75431A;

  /* レイアウト */
  --maxw: 1120px;
  --pad: 80px;
  --section-gap: 120px;
  --radius: 4px;

  /* 速度は 150〜200ms / 400〜700ms / 1000ms以上 の3種類のみ */
  --t-fast: 200ms;
  --t-mid: 600ms;
  --t-slow: 1600ms;
}

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

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

body {
  margin: 0;
  background: var(--c-base);
  color: var(--c-text);
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 400;
}

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

a { color: var(--c-accent-lt); }

/* ---------- 見出し（Zen Old Mincho・h1 > h2 > h3） ---------- */
h1, h2, h3, h4 {
  font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: var(--c-accent);
  font-weight: 600;
  line-height: 1.55;
  margin: 0 0 24px;
  letter-spacing: 0.02em;
}
h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }
h4 { font-size: 19px; }

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

/* ---------- 補助クラス ---------- */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: var(--section-gap); }
.section--pale { background: var(--c-pale); }
.section--tight { padding-block: 88px; }
.lead { font-size: 19px; }
.note {
  font-size: 14px;
  line-height: 1.8;
  color: #55585F;
  margin: 8px 0 0;
}
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head p:last-child { margin-bottom: 0; }
.eyebrow {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--c-accent-lt);
  margin: 0 0 16px;
}
.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: 0; top: -60px; z-index: 200;
  background: var(--c-accent); color: #fff; padding: 12px 20px;
  transition: top var(--t-fast) ease-out;
}
.skip-link:focus { top: 0; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--c-accent-lt);
  outline-offset: 2px;
}

/* ---------- テキストリンク（下線が左から右へ 200ms） ---------- */
.tlink {
  position: relative;
  color: var(--c-accent-lt);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  padding: 10px 0;
  min-height: 44px;
}
.tlink::after {
  content: "";
  position: absolute; left: 0; bottom: 8px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-fast) ease-out;
}
.tlink:hover::after, .tlink:focus-visible::after { transform: scaleX(1); }
.tlink .arw { margin-left: 8px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  min-width: 44px;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--t-fast) ease-out, color var(--t-fast) ease-out, border-color var(--t-fast) ease-out;
}
.btn--cta { background: var(--c-cta); color: #fff; }
.btn--cta:hover { background: var(--c-cta-hover); }
.btn--outline { background: transparent; color: var(--c-accent); border-color: var(--c-accent); }
.btn--outline:hover { background: var(--c-accent); color: #fff; }
.btn--navy { background: var(--c-accent); color: #fff; }
.btn--navy:hover { background: var(--c-accent-lt); }
.btn--onnavy { background: #fff; color: var(--c-accent); }
.btn--onnavy:hover { background: var(--c-pale); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}
.site-header.is-shrunk { background: rgba(255, 255, 255, 0.94); }
/* ロゴ＋連絡先を1段目、サイト内ナビを2段目に置く（1120px幅に1行では収まらないため） */
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0 24px;
  padding-block: 14px;
  transition: padding-block var(--t-fast) ease-out;
}
.site-header.is-shrunk .header-inner { padding-block: 6px; }
.site-header.is-shrunk .gnav { margin-top: 4px; }
.logo {
  font-family: "Zen Old Mincho", serif;
  font-size: 24px; font-weight: 600; color: var(--c-accent);
  text-decoration: none; letter-spacing: 0.1em; white-space: nowrap;
  display: inline-flex; align-items: center; min-height: 44px;
}
.gnav {
  order: 3; width: 100%; min-width: 0;
  margin-top: 10px; border-top: 1px solid var(--c-line);
  overflow-x: auto; transition: margin-top var(--t-fast) ease-out;
}
.gnav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.gnav a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 8px 14px; font-size: 15px; color: var(--c-text);
  text-decoration: none; border-radius: var(--radius);
  transition: color var(--t-fast) ease-out, background-color var(--t-fast) ease-out;
  white-space: nowrap;
}
.gnav a:hover { color: var(--c-accent-lt); background: var(--c-pale); }
.gnav a[aria-current="page"] { color: var(--c-accent); font-weight: 700; box-shadow: inset 0 -2px 0 var(--c-accent); }
.gnav a { flex-shrink: 0; }
.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo { flex-shrink: 0; }
.header-tel {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 4px 6px;
  font-size: 19px; font-weight: 700; color: var(--c-accent);
  text-decoration: none; white-space: nowrap; letter-spacing: 0.02em;
}
.header-tel:hover { color: var(--c-accent-lt); }
.header-tel img { width: 20px; height: 20px; }
.header-cta .btn { min-height: 46px; padding: 10px 20px; font-size: 15px; }
.nav-toggle { display: none; }

/* ---------- ファーストビュー ---------- */
.hero { position: relative; border-bottom: 1px solid var(--c-line); }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px;
  min-height: 620px; padding-block: 72px;
}
.hero-copy { max-width: 560px; }
.hero h1 { font-size: 48px; line-height: 1.45; margin-bottom: 20px; }
.hero-sub { font-size: 19px; margin-bottom: 28px; }
.price-badge {
  display: inline-flex; align-items: baseline; gap: 10px;
  background: var(--c-cta); color: #fff;
  padding: 10px 22px; border-radius: var(--radius);
  margin-bottom: 32px; font-weight: 700;
}
.price-badge .num { font-size: 26px; letter-spacing: 0.02em; }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--c-line); }
.hero-lottie {
  position: absolute; right: -12px; bottom: -16px;
  width: 120px; height: 170px; pointer-events: none; opacity: 0.55;
}

/* スクロール誘導矢印 */
.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding-bottom: 28px; color: var(--c-accent);
  font-size: 13px; letter-spacing: 0.14em;
}
.scroll-cue span { animation: cueBob var(--t-slow) ease-in-out infinite; }
@keyframes cueBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---------- ページヒーロー（下層・トップの素材を流用） ---------- */
.page-hero { background: var(--c-accent); color: #fff; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: url("../images/hero-main.jpg") center / cover no-repeat;
  opacity: 0.22;
}
.page-hero .container { position: relative; z-index: 1; padding-block: 88px; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #E6E9F2; margin: 0; }
.breadcrumb { font-size: 14px; margin: 0 0 20px; color: #C9CFE4; }
.breadcrumb a {
  position: relative; display: inline-block;
  color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5);
}
.breadcrumb a:hover { border-bottom-color: #fff; }
/* 見た目を変えずにタップ領域を44px確保する */
.breadcrumb a::before {
  content: ""; position: absolute; left: -8px; right: -8px;
  top: 50%; transform: translateY(-50%); height: 44px;
}

/* ---------- 図版・写真 ---------- */
.figure { margin: 0; }
.frame {
  overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--c-line); background: var(--c-pale);
}
.frame img { width: 100%; transition: transform var(--t-mid) ease-out; }
.frame:hover img { transform: scale(1.05); }
.img-note { font-size: 13px; color: #55585F; margin: 8px 0 0; }

/* ---------- ドラッグ比較（主役層） ---------- */
.compare-block { max-width: 900px; margin-inline: auto; }
.compare-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px;
  border-bottom: 1px solid var(--c-line); padding-bottom: 4px;
}
.compare-tabs button {
  min-height: 48px; padding: 10px 22px;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius) var(--radius) 0 0;
  font-family: "Noto Sans JP", sans-serif; font-size: 16px; font-weight: 500;
  color: var(--c-text); cursor: pointer;
  transition: color var(--t-fast) ease-out, background-color var(--t-fast) ease-out;
}
.compare-tabs button:hover { background: var(--c-pale); color: var(--c-accent-lt); }
.compare-tabs button[aria-selected="true"] {
  color: var(--c-accent); font-weight: 700;
  background: var(--c-pale); box-shadow: inset 0 -3px 0 var(--c-accent);
}
.compare {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-pale); touch-action: pan-y; user-select: none;
}
.compare img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none; -webkit-user-drag: none;
}
.compare .compare-after { clip-path: inset(0 0 0 50%); }
.compare-label {
  position: absolute; top: 14px; z-index: 3;
  background: rgba(18, 30, 97, 0.86); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  padding: 5px 14px; border-radius: var(--radius);
}
.compare-label--before { left: 14px; }
.compare-label--after { right: 14px; }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 4;
  width: 44px; margin-left: -22px; padding: 0;
  background: transparent; border: 0; cursor: ew-resize;
  display: flex; align-items: center; justify-content: center;
}
.compare-handle::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; margin-left: -1px; background: #fff;
}
.compare-knob {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--c-line);
  display: grid; place-items: center; color: var(--c-accent);
}
.compare-hint { font-size: 14px; color: #55585F; margin: 12px 0 0; }

/* ---------- カード ---------- */
.card-grid { display: grid; gap: 24px; list-style: none; margin: 0; padding: 0; }
.card-grid--5 { grid-template-columns: repeat(5, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  display: flex; flex-direction: column; gap: 12px; height: 100%;
  padding: 28px 24px; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  text-decoration: none; color: var(--c-text);
  transition: border-color var(--t-fast) ease-out;
}
.card:hover { border-color: var(--c-accent-lt); }
.card .icon { width: 48px; height: 48px; }
.card h3 { font-size: 22px; margin: 0; }
.card p { font-size: 15px; line-height: 1.8; margin: 0; color: #44474E; }
.card .arw-txt { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--c-accent-lt); }

/* ---------- 2カラム ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.duo h3 { margin-bottom: 16px; }
.plainlist { list-style: none; margin: 0 0 20px; padding: 0; }
.plainlist li {
  padding: 12px 0 12px 22px; border-bottom: 1px solid var(--c-line);
  position: relative; font-size: 16px;
}
.plainlist li::before {
  content: ""; position: absolute; left: 2px; top: 22px;
  width: 8px; height: 1px; background: var(--c-accent-lt);
}

/* ---------- 帯 ---------- */
.band { position: relative; color: #fff; overflow: hidden; }
.band::before {
  content: ""; position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.band::after { content: ""; position: absolute; inset: 0; background: rgba(18, 30, 97, 0.78); }
.band--materials::before { background-image: url("../images/band-materials.jpg"); }
.band--garden::before { background-image: url("../images/band-divider-garden.jpg"); }
.band .container { position: relative; z-index: 1; }
.band h2 { color: #fff; }
.band p { color: #E6E9F2; }

/* ---------- 料金 ---------- */
.price-focus { text-align: center; }
.price-figure {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700; font-size: 32px; color: var(--c-cta);
  display: inline-flex; align-items: baseline; gap: 12px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 20px 40px; margin: 0 0 24px;
}
.price-figure .label { font-size: 19px; color: var(--c-text); font-weight: 700; }
.price-hero-num {
  font-family: "Noto Sans JP", sans-serif; font-weight: 700; font-size: 32px;
  color: #fff; background: var(--c-cta); border-radius: var(--radius);
  display: inline-block; padding: 18px 36px; margin-bottom: 28px;
}

/* ---------- 表 ---------- */
.info-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--c-line); }
.info-table th, .info-table td {
  text-align: left; vertical-align: top; padding: 18px 8px;
  border-bottom: 1px solid var(--c-line); font-size: 16px;
}
.info-table th { width: 190px; color: var(--c-accent); font-weight: 700; }
.info-table a {
  color: var(--c-accent-lt);
  display: inline-block; padding: 10px 0; min-height: 44px;
}

/* ---------- アコーディオン ---------- */
.acc { border-top: 1px solid var(--c-line); }
.acc-item { border-bottom: 1px solid var(--c-line); }
.acc-btn {
  width: 100%; min-height: 64px; padding: 18px 44px 18px 4px;
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: transparent; border: 0; cursor: pointer; position: relative;
  font-family: "Noto Sans JP", sans-serif; font-size: 17px; font-weight: 700;
  color: var(--c-accent); line-height: 1.7;
  transition: color var(--t-fast) ease-out;
}
.acc-btn:hover { color: var(--c-accent-lt); }
.acc-btn::after,
.acc-btn::before {
  content: ""; position: absolute; right: 12px; top: 50%;
  background: currentColor; transition: transform var(--t-fast) ease-out, opacity var(--t-fast) ease-out;
}
.acc-btn::before { width: 16px; height: 2px; margin-top: -1px; }
.acc-btn::after { width: 2px; height: 16px; margin-top: -8px; margin-right: 7px; }
.acc-btn[aria-expanded="true"]::after { opacity: 0; transform: rotate(90deg); }
/* JSが動かない環境では開いたまま読めるようにし、初期化できたときだけたたむ */
.acc-panel-wrap {
  display: grid; grid-template-rows: 1fr;
  transition: grid-template-rows var(--t-fast) ease-in;
}
.acc-panel { overflow: hidden; min-height: 0; }   /* 0fr で行を潰すために必須 */
.acc-panel > div { padding: 0 4px 24px; font-size: 16px; }
.acc--ready .acc-item:not(.is-open) .acc-panel-wrap { grid-template-rows: 0fr; }
.acc--ready .acc-item.is-open .acc-panel-wrap { transition-timing-function: ease-out; }

/* ---------- 施工イメージ ---------- */
.works-group { padding-top: 8px; }
.works-group + .works-group { margin-top: 96px; padding-top: 96px; border-top: 1px solid var(--c-line); }
.works-tag {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--c-accent-lt); background: var(--c-pale);
  padding: 4px 14px; border-radius: var(--radius); margin-bottom: 14px;
}
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.works-pair { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ---------- Instagram（枠のみ） ---------- */
.ig-frame {
  border: 1px dashed var(--c-line); border-radius: var(--radius);
  background: var(--c-pale); padding: 48px 24px; text-align: center;
}
.ig-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 560px; margin: 0 auto 24px; }
.ig-tile { aspect-ratio: 1 / 1; background: #E4E8F0; border: 1px solid var(--c-line); border-radius: var(--radius); }

/* ---------- フォーム（見た目のみ） ---------- */
.form-note {
  background: var(--c-pale); border-left: 3px solid var(--c-accent);
  padding: 16px 20px; margin-bottom: 32px; font-size: 16px;
}
.field { margin-bottom: 24px; }
.field label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; color: var(--c-accent); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  font-family: inherit; font-size: 17px; line-height: 1.8; color: var(--c-text);
  background: #fff; transition: border-color var(--t-fast) ease-out;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--c-accent-lt); outline: 2px solid var(--c-accent-lt); outline-offset: 1px; }
.field .hint { font-size: 14px; color: #55585F; margin: 6px 0 0; }

/* ---------- 連絡先ブロック ---------- */
.contact-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.contact-card {
  border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 32px; background: #fff; text-align: center;
}
.contact-card img { width: 40px; height: 40px; margin: 0 auto 12px; }
.contact-card .big {
  font-family: "Noto Sans JP", sans-serif; font-weight: 700; font-size: 30px;
  color: var(--c-accent); text-decoration: none; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; min-height: 52px; word-break: break-all;
}
.contact-card .big:hover { color: var(--c-accent-lt); }
.contact-card .big--mail { font-size: 21px; }

/* ---------- CTAセクション ---------- */
.cta-strip { background: var(--c-accent); color: #fff; text-align: center; }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #E6E9F2; }
.cta-strip .btn-row { justify-content: center; }

/* ---------- 404 ---------- */
.err-block { text-align: center; padding-block: 140px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--c-accent); color: #fff; padding-block: 72px 40px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-family: "Zen Old Mincho", serif; font-size: 24px; letter-spacing: 0.1em; margin: 0 0 16px; color: #fff; }
.site-footer address { font-style: normal; font-size: 15px; line-height: 1.9; color: #D9DEEF; }
.footer-heading { font-size: 16px; color: #fff; margin: 0 0 14px; font-weight: 700; letter-spacing: 0.08em; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 15px; text-decoration: none; color: #D9DEEF;
  transition: color var(--t-fast) ease-out;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-contact a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 17px; font-weight: 700; text-decoration: none; word-break: break-all;
}
.footer-contact a:hover { text-decoration: underline; }
.footer-tel { font-size: 24px !important; }
.demo-notice {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 24px; font-size: 13px; line-height: 1.9; color: #C9CFE4;
}
.copyright { font-size: 13px; color: #C9CFE4; margin: 16px 0 0; }

/* ---------- 基礎層（フェードイン＋28px上昇）の初期状態 ---------- */
/* JSが動かない環境では最初から見えるよう、.js が付いたときだけ隠す */
.js .js-reveal { opacity: 0; transform: translateY(28px); }
.no-motion .js-reveal { opacity: 1 !important; transform: none !important; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1080px) {
  :root { --pad: 40px; }
  .hero h1 { font-size: 40px; }
  .card-grid--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .hero-copy { max-width: none; }
  .duo { grid-template-columns: 1fr; gap: 40px; }
  .contact-duo { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .header-cta .btn { display: none; }
}

@media (max-width: 768px) {
  :root { --pad: 20px; --section-gap: 72px; }
  body { font-size: 17px; }
  h1 { font-size: 32px; }
  h2 { font-size: 25px; }
  h3 { font-size: 20px; }
  .hero h1 { font-size: 32px; }
  .lead { font-size: 17px; }
  .site-header { position: static; }
  .header-inner { padding-block: 12px; }
  .card-grid--5, .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
  .works-grid, .works-pair { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .price-figure { font-size: 28px; padding: 16px 24px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .price-hero-num { font-size: 28px; padding: 14px 22px; }
  .hero-lottie { width: 84px; height: 120px; right: 4px; bottom: 4px; }
  .contact-card .big { font-size: 25px; }
  .contact-card .big--mail { font-size: 17px; }
  .works-group + .works-group { margin-top: 64px; padding-top: 64px; }
}

/* =========================================================
   prefers-reduced-motion：全アニメーションを無効化
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .frame:hover img { transform: none; }
  .js-reveal { opacity: 1; transform: none; }
}
