@charset "UTF-8";
/* ==========================================================================
   つくば都市緑化株式会社 デモサイト
   カラーは G5選定シートの色相を固定（彩度・明度のみ調整）
   ========================================================================== */

:root {
  /* --- カラー（13_Web構成.md 第5章） --- */
  --beige:        #E8DCC8; /* ベース（面） */
  --beige-light:  #F5EFE4; /* ベース淡（地） */
  --ink:          #1A1A1A; /* 文字 */
  --green:        #2F7432; /* アクセント（面・白文字を載せる） 5.7:1 */
  --green-text:   #3B863D; /* アクセント（白地に置く文字） 4.5:1 */
  --green-dark:   #235A25; /* 濃緑（ベージュ地に置く文字） 6.1:1 */
  --white:        #FFFFFF;
  --line:         #D9CDB6;

  /* --- タイポグラフィ --- */
  --font-sans: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  /* --- レイアウト --- */
  --wrap: 1120px;
  --gutter: 24px;
  --section-y: 96px;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(26, 26, 26, .08);

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

  --header-h: 96px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--beige-light);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;      /* 本文17px以上 */
  line-height: 1.9;     /* 行間1.9 */
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

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

h1, h2, h3, h4 { margin: 0; line-height: 1.4; font-weight: 700; }
h1, h2 { font-family: var(--font-serif); letter-spacing: .04em; }
h3 { font-size: 20px; font-weight: 700; }

/* 和文が語の途中で折り返さないようにする（対応ブラウザのみ適用） */
h1, h2, h3, h4, .lead, .card__text, .reason__text, .step__text, .timeline__text, .dual-cta__text {
  word-break: auto-phrase;
  line-break: strict;
}
h1, h2, .card__title, .reason__title, .step__title, .timeline__title { text-wrap: balance; }

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

:focus-visible {
  outline: 3px solid var(--green-text);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--green); color: var(--white);
  padding: 10px 18px; border-radius: var(--radius); font-weight: 700;
  transition: top var(--t-fast) var(--ease-out);
}
.skip-link:focus { top: 8px; }

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

/* --------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-y); }
.section--beige { background: var(--beige); }
.section--white { background: var(--white); }
.section--light { background: var(--beige-light); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: 15px; font-weight: 700; letter-spacing: .16em;
  color: var(--green-text);
}
.section--beige .eyebrow { color: var(--green-dark); }

.h2 { font-size: 32px; margin-bottom: 20px; }
.section--beige .h2 { color: var(--green-dark); }

.lead { font-size: 18px; }

/* --------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  will-change: height;
}
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
  max-width: 1440px; margin-inline: auto; padding-inline: 32px;
  transition: height var(--t-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: 68px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--green); color: var(--green);
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 17px; font-weight: 700; line-height: 1;
}
.brand__name { font-family: var(--font-serif); font-size: 19px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }

.gnav { margin-left: auto; }
.gnav__list { display: flex; align-items: center; gap: 22px; }
.gnav__link {
  position: relative; display: inline-block; padding: 6px 0;
  color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500;
  white-space: nowrap;
}
.gnav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-fast) var(--ease-out);
}
.gnav__link:hover::after,
.gnav__link[aria-current="page"]::after { transform: scaleX(1); }
.gnav__link[aria-current="page"] { color: var(--green-dark); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-tel { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.header-tel__num { font-size: 24px; font-weight: 700; letter-spacing: .02em; line-height: 1.2; }
.header-tel__icon { width: 22px; height: 22px; }

.nav-toggle { display: none; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 17px; font-weight: 700; line-height: 1.4;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); }
.btn--ghost { background: var(--white); color: var(--green-dark); border-color: var(--green); }
.btn--ghost:hover { background: var(--beige-light); }
.btn--onphoto { background: rgba(255, 255, 255, .94); color: var(--green-dark); border-color: var(--white); }
.btn--onphoto:hover { background: var(--white); }
.btn--small { padding: 11px 18px; font-size: 15px; }
.btn--wide { width: 100%; max-width: 380px; }
.btn__icon { width: 20px; height: 20px; flex-shrink: 0; }

.textlink {
  position: relative; display: inline-block;
  color: var(--green-text); text-decoration: none; font-weight: 700;
}
.textlink::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-fast) var(--ease-out);
}
.textlink:hover::after { transform: scaleX(1); }
.section--beige .textlink { color: var(--green-dark); }

/* --------------------------------------------------------------- hero */
.hero {
  position: relative; margin-top: var(--header-h);
  min-height: min(78vh, 660px);
  display: flex; align-items: center;
  overflow: hidden; background: var(--beige);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(26, 26, 26, .72) 0%, rgba(26, 26, 26, .52) 42%, rgba(26, 26, 26, .12) 72%, rgba(26, 26, 26, 0) 100%);
}
.hero__inner { position: relative; width: 100%; max-width: var(--wrap); margin-inline: auto; padding: 72px var(--gutter); }
.hero__body { max-width: 640px; color: var(--white); }
.hero__title { font-size: 46px; color: var(--white); margin-bottom: 20px; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.hero__sub { font-size: 18px; color: var(--white); margin-bottom: 20px; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.hero__trust {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; margin-bottom: 28px;
  background: rgba(255, 255, 255, .92); color: var(--green-dark);
  border-radius: 999px; font-size: 15px; font-weight: 700;
}
.hero__trust img { width: 20px; height: 20px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 6px;
  color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .1em;
}
.scroll-cue img { width: 26px; height: 26px; filter: brightness(0) invert(1); animation: bob 1600ms ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* 下層ページ用ヒーロー（トップの素材を流用） */
.page-hero { position: relative; margin-top: var(--header-h); overflow: hidden; background: var(--beige); }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(26, 26, 26, .74) 0%, rgba(26, 26, 26, .5) 60%, rgba(26, 26, 26, .28) 100%); }
.page-hero__inner { position: relative; max-width: var(--wrap); margin-inline: auto; padding: 76px var(--gutter); color: var(--white); }
.page-hero__title { font-size: 42px; color: var(--white); margin-bottom: 12px; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.page-hero__lead { font-size: 18px; color: var(--white); max-width: 640px; margin: 0; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }

.breadcrumb { background: var(--white); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 12px; font-size: 14px; }
.breadcrumb li::after { content: "／"; margin-left: 8px; color: var(--line); }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb a { color: var(--green-text); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* --------------------------------------------------------------- 主役層：ドラッグ比較 */
.compare-section { background: var(--beige-light); }

.compare {
  position: relative; width: 100%; max-width: 980px; margin-inline: auto;
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--beige);
  touch-action: pan-y; user-select: none; cursor: ew-resize;
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__img--after { clip-path: inset(0 0 0 50%); }

.compare__label {
  position: absolute; top: 16px; z-index: 3;
  padding: 6px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 700; letter-spacing: .06em;
  background: rgba(26, 26, 26, .72); color: var(--white);
  pointer-events: none;
}
.compare__label--before { left: 16px; }
.compare__label--after { right: 16px; background: rgba(47, 116, 50, .88); }

.compare__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 4;
  width: 4px; margin-left: -2px; background: var(--white);
  box-shadow: 0 0 10px rgba(26, 26, 26, .45);
  cursor: ew-resize; border: 0; padding: 0;
  display: grid; place-items: center;
}
.compare__grip {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); box-shadow: 0 2px 12px rgba(26, 26, 26, .35);
  display: grid; place-items: center; grid-auto-flow: column; gap: 3px;
  color: var(--green); pointer-events: none;
}
.compare__grip svg { width: 13px; height: 20px; }
.compare__handle:focus-visible { outline: 3px solid var(--green-text); outline-offset: 4px; }

.compare-note { margin-top: 12px; text-align: center; }

.note {
  display: block; font-size: 14px; line-height: 1.7; color: #5B5344;
}
.note--boxed {
  padding: 14px 18px; margin-bottom: 24px;
  background: var(--white); border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.section--white .note--boxed { background: var(--beige-light); }

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

.card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  text-decoration: none; color: inherit;
}
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-mid) var(--ease-out); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title { font-size: 20px; font-weight: 700; color: var(--green-dark); }
.card__text { font-size: 16px; line-height: 1.85; margin: 0; }
.card__foot { margin-top: auto; padding-top: 12px; font-size: 15px; font-weight: 700; color: var(--green-text); }

.figure-note { padding: 8px 22px 0; }

/* 選ばれる理由 */
.reason { text-align: center; padding: 8px; }
.reason__icon {
  width: 76px; height: 76px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--beige-light);
  display: grid; place-items: center;
}
.section--light .reason__icon { background: var(--white); }
.reason__icon img { width: 42px; height: 42px; }
.reason__title { font-size: 20px; margin-bottom: 8px; color: var(--green-dark); }
.reason__text { font-size: 16px; margin: 0; }

/* --------------------------------------------------------------- 帯（背景画像） */
.band { position: relative; overflow: hidden; }
.band__media { position: absolute; inset: 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media::after { content: ""; position: absolute; inset: 0; background: rgba(35, 90, 37, .78); }
.band__inner { position: relative; max-width: var(--wrap); margin-inline: auto; padding: 80px var(--gutter); color: var(--white); }
.band__title { font-size: 32px; color: var(--white); margin-bottom: 16px; }
.band__text { color: var(--white); }
.band .eyebrow { color: #CDE6CE; }

.band-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.band-split__media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(0, 0, 0, .22); }
.band-split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.band-split__note { color: #E7F1E7; margin-top: 8px; }

/* 事業内容の細い区切り帯 */
.strip { position: relative; height: 220px; overflow: hidden; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(245, 239, 228, 1) 0%, rgba(245, 239, 228, 0) 30%, rgba(245, 239, 228, 0) 70%, rgba(232, 220, 200, 1) 100%); }

/* --------------------------------------------------------------- media rows（事業内容ページ） */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media-row + .media-row { margin-top: 72px; }
.media-row--rev .media-row__media { order: 2; }
.media-row__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-row__stack { display: grid; gap: 16px; }
.media-row h3 { color: var(--green-dark); margin-bottom: 6px; }
.media-row__list { display: grid; gap: 14px; margin-top: 20px; }
.media-row__list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 17px; }
.media-row__list img { width: 22px; height: 22px; margin-top: 6px; }

/* --------------------------------------------------------------- tabs（施工実績） */
.tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.tab {
  padding: 14px 22px; border: 2px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; font-weight: 700; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.tab:hover { border-color: var(--green); color: var(--green-dark); }
.tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: var(--white); }

.tabpanel[hidden] { display: none; }
.tabpanel__intro { margin-bottom: 28px; max-width: 720px; }

/* --------------------------------------------------------------- 表組み */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table th, .data-table td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.85; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.data-table th { width: 200px; background: var(--beige-light); color: var(--green-dark); font-weight: 700; white-space: nowrap; }
.data-table td ul { display: grid; gap: 4px; }
.tbd { color: #6B6455; font-size: 15px; }

/* --------------------------------------------------------------- タイムライン（採用） */
.timeline { display: grid; gap: 0; position: relative; margin-top: 8px; }
.timeline__item { position: relative; padding: 0 0 32px 56px; }
.timeline__item::before {
  content: ""; position: absolute; left: 15px; top: 34px; bottom: -4px;
  width: 2px; background: var(--line);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item:last-child::before { display: none; }
.timeline__dot {
  position: absolute; left: 0; top: 4px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: grid; place-items: center; font-size: 15px; font-weight: 700;
}
.timeline__title { font-size: 20px; color: var(--green-dark); margin-bottom: 4px; }
.timeline__text { font-size: 16px; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 24px; }
.step__num { display: inline-block; margin-bottom: 12px; padding: 4px 14px; border-radius: 999px; background: var(--beige); color: var(--green-dark); font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.step__title { font-size: 20px; color: var(--green-dark); margin-bottom: 8px; }
.step__text { font-size: 16px; margin: 0; }

/* 先輩の声（枠のみ） */
.voice { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.voice__media { border-radius: var(--radius); overflow: hidden; }
.voice__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.voice__placeholder {
  border: 2px dashed var(--line); border-radius: var(--radius);
  padding: 28px; min-height: 150px; display: grid; place-items: center; text-align: center;
  color: #6B6455; background: var(--beige-light);
}

/* --------------------------------------------------------------- アコーディオン */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; border: 0; background: none; cursor: pointer; text-align: left;
  font-family: var(--font-sans); font-size: 18px; font-weight: 700; color: var(--ink);
}
.faq__q:hover { color: var(--green-dark); }
.faq__mark { position: relative; flex-shrink: 0; width: 20px; height: 20px; }
.faq__mark::before, .faq__mark::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--green);
  transform: translate(-50%, -50%);
}
.faq__mark::before { width: 20px; height: 2px; }
.faq__mark::after { width: 2px; height: 20px; transition: transform var(--t-fast) var(--ease-out); }
.faq__q[aria-expanded="true"] .faq__mark::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a { overflow: hidden; }
.faq__a > div { padding: 0 22px 22px; font-size: 17px; }

/* --------------------------------------------------------------- お問い合わせ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.contact-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; display: grid; gap: 12px; align-content: start; }
.contact-card__head { display: flex; align-items: center; gap: 12px; }
.contact-card__head img { width: 30px; height: 30px; }
.contact-card__label { font-size: 18px; font-weight: 700; color: var(--green-dark); }
.contact-card__tel { display: inline-block; font-size: 38px; font-weight: 700; line-height: 1.2; color: var(--ink); text-decoration: none; letter-spacing: .01em; }
.contact-card__tel:hover { color: var(--green-dark); }
.contact-card__mail { font-size: 22px; font-weight: 700; word-break: break-all; }
.contact-card__sub { font-size: 15px; margin: 0; color: #5B5344; }

.dual-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dual-cta__box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; display: grid; gap: 14px; justify-items: start; align-content: start; }
.section--beige .dual-cta__box { background: var(--white); }
.dual-cta__title { font-size: 22px; font-family: var(--font-serif); color: var(--green-dark); }
.dual-cta__text { font-size: 16px; margin: 0; }

.map-frame {
  border-radius: var(--radius); overflow: hidden; background: var(--beige);
  border: 2px dashed var(--line);
  min-height: 260px; display: grid; place-items: center; text-align: center; padding: 24px;
  color: #6B6455;
}
.map-frame strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }

/* --------------------------------------------------------------- フォーム（見た目のみ） */
.form { display: grid; gap: 22px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.field { display: grid; gap: 8px; }
.field__label { font-size: 16px; font-weight: 700; }
.field__req { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: var(--green); color: var(--white); font-size: 12px; font-weight: 700; vertical-align: middle; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--beige-light); color: var(--ink);
  font-family: var(--font-sans); font-size: 17px; line-height: 1.7;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); background: var(--white); }
.field__help { font-size: 14px; color: #6B6455; }

/* --------------------------------------------------------------- footer */
.footer-cta { background: var(--beige); }
.footer-cta .h2 { text-align: center; }

.site-footer { background: var(--green-dark); color: var(--white); padding-block: 56px 32px; }
.site-footer a { color: var(--white); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand__mark { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--white); display: grid; place-items: center; font-family: var(--font-serif); font-size: 17px; font-weight: 700; }
.footer-brand__name { font-family: var(--font-serif); font-size: 21px; font-weight: 700; letter-spacing: .04em; }
.footer-info { font-size: 16px; line-height: 1.9; }
.footer-info a { text-decoration: none; }
.footer-info a:hover { text-decoration: underline; }
.footer-nav__title { font-size: 15px; font-weight: 700; letter-spacing: .12em; margin-bottom: 12px; color: #CDE6CE; }
.footer-nav__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.footer-nav__list a { text-decoration: none; font-size: 16px; }
.footer-nav__list a:hover { text-decoration: underline; }
.footer-bottom { padding-top: 24px; display: grid; gap: 12px; }
.footer-demo-note {
  font-size: 14px; line-height: 1.8; color: #E7F1E7;
  background: rgba(0, 0, 0, .18); border-radius: var(--radius); padding: 14px 18px;
}
.footer-copy { font-size: 14px; color: #CDE6CE; }

/* --------------------------------------------------------------- 404 */
.error-page { margin-top: var(--header-h); padding-block: 120px; text-align: center; background: var(--beige-light); }
.error-page__code { font-family: var(--font-serif); font-size: 88px; line-height: 1; color: var(--green); margin-bottom: 12px; }
.error-page__title { font-size: 34px; margin-bottom: 16px; }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 32px; }

/* --------------------------------------------------------------- 基礎層（GSAPで解除） */
.reveal { opacity: 0; transform: translateY(28px); }
.js-off .reveal, .no-motion .reveal { opacity: 1; transform: none; }

/* --------------------------------------------------------------- responsive */
/* ヘッダーの詰め（電話番号は24px以上を保つ） */
@media (max-width: 1300px) {
  .site-header__inner { gap: 16px; padding-inline: 24px; }
  .gnav__list { gap: 16px; }
  .gnav__link { font-size: 15px; }
  .brand__name { font-size: 18px; }
  .header-actions { gap: 12px; }
}

/* ここからハンバーガーメニュー */
@media (max-width: 1100px) {
  :root { --header-h: 76px; }
  .site-header__inner { gap: 12px; }
  .gnav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; margin: 0;
    display: none; box-shadow: var(--shadow);
  }
  .gnav.is-open { display: block; }
  .gnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav__link { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .gnav__link::after { display: none; }
  .nav-toggle {
    display: grid; place-items: center; gap: 5px;
    width: 46px; height: 46px; padding: 0; margin-left: auto;
    background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); }
  .header-actions { margin-left: auto; }
  .header-actions .header-tel__num { display: none; }
  .header-actions .btn { padding: 10px 14px; font-size: 14px; }
  .brand__name { font-size: 16px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --section-y: 72px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .band-split, .media-row, .contact-grid, .dual-cta, .voice { grid-template-columns: 1fr; }
  .media-row--rev .media-row__media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero__title { font-size: 34px; }
  .page-hero__title { font-size: 30px; }
  .h2 { font-size: 26px; }
  .data-table th { width: 130px; padding: 14px; }
  .data-table td { padding: 14px; }
  .contact-card__tel { font-size: 30px; }
  .compare__grip { width: 46px; height: 46px; }
}

@media (max-width: 560px) {
  .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .hero__cta .btn, .error-page__actions .btn { width: 100%; }
  .hero__title { font-size: 28px; }
  .voice { padding: 20px; }
  .form { padding: 22px; }
  .contact-card { padding: 24px; }
  .contact-card__tel { font-size: 26px; }
  .contact-card__mail { font-size: 18px; }
}

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