@charset "UTF-8";

/* =========================================================
   株式会社髙橋造園土木 様 ご提案専用サンプル
   配色：赤城の森の深緑 × 赤城ローズの臙脂 × 受賞の金
   ========================================================= */

:root {
  color-scheme: only light;

  /* 文字サイズ（03_レビューゲートの18px仕様＝正本。数値を直接書かない） */
  --fs-body: 18px;
  --fs-h3: 24px;
  --fs-h4: 20px;
  --fs-label: 15px;
  --fs-note: 14px;
  --fs-deco: 15px;

  /* 色 */
  --green-900: #16291f;
  --green-800: #1e3a2b;
  --green-700: #2d5340;
  --green-100: #e4ece6;
  --rose-700: #8f2d46;
  --rose-600: #a63a54;
  --rose-100: #f3e3e7;
  --gold: #c9a227;
  --paper: #faf8f4;
  --paper-2: #f2ede4;
  --ink: #23201c;
  --ink-2: #55504a;
  --line: #ddd5c8;
  --white: #fff;

  --shadow: 0 2px 10px rgba(30, 58, 43, 0.08);
  --shadow-lg: 0 10px 30px rgba(30, 58, 43, 0.14);
  --maxw: 1120px;
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  font-size: var(--fs-body);
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}

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

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

.nb {
  display: inline-block;
}

/* ---------- 提案専用の注釈（上部） ---------- */

.proposal-note {
  background: var(--green-900);
  color: #eef3ef;
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: var(--fs-note);
  line-height: 1.7;
}

.proposal-note p {
  margin: 0;
  padding: 10px 20px;
  max-width: var(--maxw);
  margin-inline: auto;
}

.proposal-note .line2 {
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand .mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
}

.brand-sub {
  display: block;
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.header-contact {
  text-align: right;
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
}

.header-contact .tel {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--green-800);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.header-contact .tel small {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.header-contact .hours {
  margin: 2px 0 0;
  font-size: var(--fs-label);
  color: var(--ink-2);
}

.nav-row {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.site-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 12px 14px;
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: var(--fs-body);
  text-decoration: none;
  color: var(--green-800);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-bottom-color: var(--rose-700);
  background: var(--white);
}

.menu-toggle {
  display: none;
}

/* ---------- 第一画面 ---------- */

.hero {
  position: relative;
  background: var(--green-800);
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 41, 31, 0.1), rgba(22, 41, 31, 0.55));
  pointer-events: none;
}

.hero-screen {
  position: relative;
  min-height: 600px;
  background: var(--green-900);
}

.hero-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.hero-screen img.is-on {
  opacity: 0.9;
}

@media (prefers-reduced-motion: reduce) {
  .hero-screen img {
    transition: none;
  }
}

.hero-copy {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero-panel {
  background: rgba(22, 41, 31, 0.88);
  border-left: 5px solid var(--gold);
  padding: 32px 34px;
  max-width: 620px;
  box-shadow: var(--shadow-lg);
}

.hero-eyebrow {
  margin: 0 0 10px;
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: var(--fs-deco);
  letter-spacing: 0.18em;
  color: var(--gold);
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-lead {
  margin: 0 0 24px;
  font-size: var(--fs-body);
  line-height: 1.9;
  color: #eaf1ec;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- ボタン ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: var(--fs-body);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.4;
}

.btn-tel {
  background: var(--gold);
  color: #2b2205;
}

.btn-tel:hover {
  background: #d9b23a;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-rose {
  background: var(--rose-700);
  color: #fff;
}

.btn-rose:hover {
  background: var(--rose-600);
}

.btn-line {
  border-color: var(--green-700);
  color: var(--green-800);
  background: var(--white);
}

.btn-line:hover {
  background: var(--green-100);
}

/* ---------- セクション共通 ---------- */

.section {
  padding-block: 72px;
}

.section-alt {
  background: var(--paper-2);
}

.section-head {
  margin-bottom: 36px;
}

.section-head .en {
  display: block;
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: var(--fs-deco);
  letter-spacing: 0.2em;
  color: var(--rose-700);
  margin-bottom: 6px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.45;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--ink-2);
}

/* ---------- はじめの一文 ---------- */

.intro {
  background: var(--white);
}

.intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.intro blockquote {
  margin: 0 0 20px;
  padding-left: 20px;
  border-left: 4px solid var(--rose-700);
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.8;
  font-weight: 700;
}

.intro p {
  margin: 0 0 16px;
}

.intro-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-photo figcaption {
  margin-top: 8px;
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: var(--fs-label);
  color: var(--ink-2);
}

/* ---------- できること ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card h3 {
  margin: 0;
  font-size: var(--fs-h3);
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.card p {
  margin: 0;
  font-size: var(--fs-body);
  color: var(--ink-2);
}

.card .card-icon {
  width: 44px;
  height: 44px;
  color: var(--rose-700);
}

/* ---------- 料金早見（樹高で選ぶ） ---------- */

.price-picker {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.picker-label {
  margin: 0 0 14px;
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: var(--fs-body);
  font-weight: 700;
}

.height-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.height-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--green-800);
  cursor: pointer;
  line-height: 1.4;
}

.height-btn .tree {
  color: var(--green-700);
}

.height-btn[aria-pressed="true"] {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
}

.height-btn[aria-pressed="true"] .tree {
  color: var(--gold);
}

.price-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.price-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: var(--paper);
}

.price-list .item {
  display: block;
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: var(--fs-label);
  color: var(--ink-2);
  letter-spacing: 0.08em;
}

.price-list .yen {
  display: block;
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--rose-700);
  line-height: 1.35;
}

.price-list .yen .unit {
  font-size: var(--fs-body);
}

.price-notes {
  margin: 0;
  padding-left: 1.2em;
  font-size: var(--fs-note);
  color: var(--ink-2);
  line-height: 1.85;
}

.price-notes li {
  margin-bottom: 4px;
}

/* ---------- 施工事例 ---------- */

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.work {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.work img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work .body {
  padding: 16px 18px 20px;
}

.work h3 {
  margin: 0 0 6px;
  font-size: var(--fs-h4);
  line-height: 1.55;
}

.work .meta {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: var(--fs-label);
  color: var(--ink-2);
}

.center {
  text-align: center;
  margin-top: 36px;
}

/* ---------- ローズ＆ベリーガーデン ---------- */

.rose {
  background: var(--green-900);
  color: #f2ece2;
}

.rose .section-head h2 {
  color: #fff;
}

.rose .section-head p {
  color: #cfded4;
}

.rose-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}

.rose-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.rose-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.rose-body p {
  margin: 0 0 14px;
  color: #ddd4c6;
}

.rose-body h3 {
  margin: 0 0 12px;
  font-size: var(--fs-h3);
  color: var(--gold);
}

/* ---------- 選ばれる理由 ---------- */

.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.reason {
  background: var(--white);
  border-top: 4px solid var(--green-700);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}

.reason h3 {
  margin: 0 0 10px;
  font-size: var(--fs-h3);
  line-height: 1.5;
}

.reason p {
  margin: 0;
  color: var(--ink-2);
}

.badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.badge-box {
  background: var(--green-800);
  color: #eef3ef;
  border-radius: var(--radius);
  padding: 26px 24px;
}

.badge-box h3 {
  margin: 0 0 14px;
  font-size: var(--fs-h3);
  color: var(--gold);
}

.badge-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.badge-box li {
  padding: 6px 0;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
}

.badge-box li:last-child {
  border-bottom: 0;
}

.badge-box .num {
  color: var(--gold);
  font-weight: 700;
}

/* ---------- 対応エリア ---------- */

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.area-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.area-box h3 {
  margin: 0 0 10px;
  font-size: var(--fs-h4);
  color: var(--green-800);
  border-bottom: 2px solid var(--rose-100);
  padding-bottom: 8px;
}

.area-box p {
  margin: 0;
  color: var(--ink-2);
}

/* ---------- ご相談の流れ ---------- */

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.flow li {
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
}

.flow li::before {
  counter-increment: step;
  content: "STEP " counter(step);
  display: block;
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: var(--fs-deco);
  letter-spacing: 0.14em;
  color: var(--rose-700);
  margin-bottom: 8px;
}

.flow h3 {
  margin: 0 0 8px;
  font-size: var(--fs-h3);
}

.flow p {
  margin: 0;
  color: var(--ink-2);
}

/* ---------- 会社概要 ---------- */

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 44px;
}

.table-plain {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-body);
}

.table-plain th,
.table-plain td {
  text-align: left;
  vertical-align: top;
  padding: 12px 6px;
  border-bottom: 1px solid var(--line);
  line-height: 1.8;
}

.table-plain th {
  width: 8.5em;
  font-weight: 700;
  color: var(--green-800);
  white-space: nowrap;
}

.history {
  margin: 0;
  padding: 0;
  list-style: none;
}

.history li {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--line);
}

.history .year {
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: var(--fs-label);
  font-weight: 700;
  color: var(--green-700);
  padding-top: 3px;
}

.history .award {
  color: var(--rose-700);
  font-weight: 700;
}

/* ---------- お問い合わせ ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
}

.contact-tel {
  background: var(--white);
  border: 2px solid var(--green-800);
  border-radius: var(--radius);
  padding: 30px 28px;
  text-align: center;
}

.contact-tel .big-tel {
  display: block;
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: clamp(32px, 4.6vw, 44px);
  font-weight: 700;
  color: var(--green-800);
  text-decoration: none;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.contact-tel .sub {
  margin: 6px 0 0;
  font-size: var(--fs-label);
  color: var(--ink-2);
}

.contact-tel .fax {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-body);
}

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.form p.note {
  margin: 0 0 18px;
  font-size: var(--fs-note);
  color: var(--ink-2);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: var(--fs-body);
  font-weight: 700;
  margin-bottom: 6px;
}

.field .req {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: var(--rose-700);
  color: #fff;
  font-size: var(--fs-note);
  border-radius: 2px;
  vertical-align: 2px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: var(--fs-body);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form .btn {
  width: 100%;
}

.form-result {
  margin: 16px 0 0;
  padding: 14px 16px;
  background: var(--green-100);
  border-left: 4px solid var(--green-700);
  font-size: var(--fs-body);
}

.form-result[hidden] {
  display: none;
}

/* ---------- フッター ---------- */

.site-footer {
  background: var(--green-900);
  color: #d8e0da;
  padding-block: 48px 120px;
  font-size: var(--fs-body);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-top .name {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.footer-top a {
  color: #fff;
}

.footer-note {
  margin: 22px 0 0;
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: var(--fs-note);
  line-height: 1.85;
  color: #b8c4bc;
}

.copyright {
  margin: 18px 0 0;
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: var(--fs-note);
  color: #9aa79f;
}

/* ---------- スマホ下部の固定電話バー ---------- */

.tel-bar {
  display: none;
}

/* =========================================================
   レスポンシブ
   ========================================================= */

@media (max-width: 1080px) {
  .works-grid,
  .area-grid,
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 84px;
  }

  .header-top {
    padding-block: 10px;
  }

  .header-contact {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--green-800);
    color: #fff;
    border: 0;
    border-radius: var(--radius);
    font-family:
      system-ui,
      -apple-system,
      "Hiragino Sans",
      "Noto Sans JP",
      sans-serif;
    font-size: var(--fs-body);
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
  }

  .menu-toggle .bars {
    display: inline-block;
    width: 20px;
    height: 2px;
    background: #fff;
    position: relative;
  }

  .menu-toggle .bars::before,
  .menu-toggle .bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: #fff;
  }

  .menu-toggle .bars::before {
    top: -6px;
  }

  .menu-toggle .bars::after {
    top: 6px;
  }

  .nav-row {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 190px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 76px;
  }

  .nav-row[hidden] {
    display: none;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    padding: 15px 20px;
    border-bottom: 1px solid var(--line);
    border-left: 4px solid transparent;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    border-bottom-color: var(--line);
    border-left-color: var(--rose-700);
  }

  .hero-screen {
    min-height: 300px;
  }

  .hero-copy {
    position: static;
    background: var(--green-800);
  }

  .hero-panel {
    max-width: none;
    box-shadow: none;
    padding: 28px 20px 34px;
    background: transparent;
    border-left: 0;
    border-top: 4px solid var(--gold);
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .intro-inner,
  .rose-body,
  .company-grid,
  .contact-grid,
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .section {
    padding-block: 52px;
  }

  .price-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tel-bar {
    display: block;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 60;
    background: var(--green-900);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
  }

  .tel-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px;
    background: var(--gold);
    color: #2b2205;
    font-family:
      system-ui,
      -apple-system,
      "Hiragino Sans",
      "Noto Sans JP",
      sans-serif;
    font-size: 21px;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius);
  }
}

@media (max-width: 620px) {
  .cards,
  .works-grid,
  .reasons,
  .area-grid,
  .flow,
  .badges,
  .rose-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .height-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-top {
    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand-name {
    font-size: 18px;
    line-height: 1.35;
  }

  /* スマホのヘッダーは社名だけにする（園名・地名はすぐ上の案内文とフッターに出ている） */
  .brand-sub {
    display: none;
  }

  .brand .mark {
    width: 36px;
    height: 36px;
  }

  .menu-toggle {
    padding: 10px 13px;
  }

  .table-plain th {
    width: 7em;
  }

  .history li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

/* ---------- 施工例のスタイル別ボタン（現行サイトの5ボタンを引き継ぐ） ---------- */

.cat-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.cat-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 16px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--rose-700);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--green-800);
  text-align: center;
  line-height: 1.4;
}

.cat-nav a:hover {
  background: var(--green-100);
}

.cat-nav strong {
  font-size: var(--fs-h4);
  letter-spacing: 0.02em;
}

.cat-nav small {
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: var(--fs-label);
  font-weight: 400;
  color: var(--ink-2);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}

@media (max-width: 1080px) {
  .cat-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .cat-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
