/* ============================================
   CONSTRUCTION GAIKO TEMPLATE
   外構・エクステリア専門店 — 石灰白 × 苔色 × テラコッタ、写真モザイクのヒーロー
============================================ */

:root {
  --lime: #f4f2ec; /* 石灰白（地） */
  --lime-2: #ebe7dc; /* 一段濃い地（帯・カード） */
  --moss: #4d5b3a; /* 苔色（メイン） */
  --moss-deep: #39442a;
  --stone: #8a8780; /* 石のグレー（補助文字・線） */
  --terra: #b5643c; /* テラコッタ（差し色・使いすぎない） */
  --ink: #2a2a25; /* 本文 */
  --line: rgba(42, 42, 37, 0.16);
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --font-head: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --container: 1180px;
  --header-h: 76px;
  --radius: 3px; /* 角丸は控えめに統一 */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

[hidden] {
  display: none !important;
}

/* 見出しを意味の切れ目で改行する */
.kw {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.br-sp {
  display: none;
}

.nw {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .br-sp {
    display: inline;
  }
  .br-pc {
    display: none;
  }
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: #000;
  color: #fff;
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* ---------- スクロールで出る（JSが動いたときだけ隠す） ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal--d1 {
  transition-delay: 0.08s;
}
.js .reveal--d2 {
  transition-delay: 0.16s;
}
.js .reveal--d3 {
  transition-delay: 0.24s;
}

/* ---------- アコーディオン（grid-rows で開閉） ---------- */
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.acc-panel.is-open {
  grid-template-rows: 1fr;
}

.acc-panel > div {
  overflow: hidden;
  min-height: 0;
}

/* ---------- 表をスマホで横スクロール枠に ---------- */
.scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.scroll-x table {
  min-width: 640px;
}

.scroll-hint {
  display: none;
  font-size: 13px;
  margin-top: 8px;
  opacity: 0.7;
}

@media (max-width: 700px) {
  .scroll-hint {
    display: block;
  }
}

.form-msg {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
}

/* アニメが止まる環境の保険：2.5秒後には開幕のアニメを外して通常の表示に */
.anim-done body * {
  animation: none !important;
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--lime);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* ---------- 共通の見出し・ボタン ---------- */
.sec-no {
  font-size: 13px;
  color: var(--stone);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.sec-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.45;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

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

.btn--moss:hover {
  background: var(--moss-deep);
}

.btn--line {
  border: 1px solid var(--moss);
  color: var(--moss);
}

.btn--line:hover {
  background: var(--moss);
  color: #fff;
}

.btn--block {
  width: 100%;
}

/* ---------- ヘッダー ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 242, 236, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.header.is-scrolled {
  border-bottom-color: var(--line);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline: 24px;
  max-width: 1360px;
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--moss);
  margin-right: auto;
}

.logo__mark {
  width: 30px;
  height: 30px;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.logo__ja {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
}

.logo__sub {
  font-size: 11px;
  color: var(--stone);
  letter-spacing: 0.1em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__list {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav__list a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}

.nav__list a:hover {
  border-bottom-color: var(--moss);
}

.nav__cta {
  background: var(--terra);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius);
}

.header__tel {
  display: none;
  font-weight: 700;
  font-size: 15px;
  color: var(--moss);
}

.header__tel span {
  font-size: 11px;
  margin-right: 6px;
  color: var(--stone);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.nav-toggle span:first-child {
  top: 19px;
}
.nav-toggle span:last-child {
  top: 28px;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}
.nav-toggle.is-open span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

@media (max-width: 960px) {
  :root {
    --header-h: 64px;
  }
  .header__inner {
    padding-inline: 16px;
    gap: 8px;
  }
  .nav-toggle {
    display: block;
  }
  .header__tel {
    display: block;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    background: var(--lime);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 24px 40px;
    gap: 24px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease),
      visibility 0.3s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__list {
    flex-direction: column;
    gap: 0;
    font-size: 17px;
  }
  .nav__list a {
    display: block;
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav__cta {
    text-align: center;
    padding: 16px;
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .header__tel {
    display: none;
  }
  .logo__ja {
    font-size: 17px;
    white-space: nowrap;
  }
}

/* ---------- ヒーロー（写真モザイク） ---------- */
.hero {
  padding: 16px 16px 0;
}

.hero__grid {
  max-width: 1360px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.8fr;
  grid-template-rows: 300px 260px 240px;
  gap: 10px;
}

.hero__ph {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--lime-2);
}

.hero__ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__ph--a {
  grid-column: 1;
  grid-row: 1 / 4;
}

.hero__ph--a figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(244, 242, 236, 0.92);
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 2px;
}

.hero__copy {
  grid-column: 2 / 4;
  grid-row: 1 / 3;
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__ph--b {
  grid-column: 2;
  grid-row: 3;
}
.hero__ph--c {
  grid-column: 3;
  grid-row: 3;
}
.hero__ph--d {
  display: none;
}

.hero__lead {
  font-size: 14px;
  color: var(--terra);
  font-weight: 700;
  margin-bottom: 14px;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: var(--moss-deep);
  margin-bottom: 20px;
}

.hero__text {
  font-size: 16px;
  margin-bottom: 28px;
}

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

/* 見出しを短く順に出す（開いた直後から読める速さ） */
.js .hero__copy > * {
  animation: heroIn 0.8s var(--ease) both;
}
.js .hero__copy > :nth-child(2) {
  animation-delay: 0.1s;
}
.js .hero__copy > :nth-child(3) {
  animation-delay: 0.2s;
}
.js .hero__copy > :nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 240px 180px;
  }
  .hero__copy {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .hero__ph--a {
    grid-column: 1;
    grid-row: 2 / 4;
  }
  .hero__ph--b {
    grid-column: 2;
    grid-row: 2;
  }
  .hero__ph--c {
    grid-column: 2;
    grid-row: 3;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 10px 10px 0;
  }
  .hero__grid {
    grid-template-rows: auto 200px 140px;
    gap: 6px;
  }
  .hero__copy {
    padding: 28px 20px;
  }
  .hero__btns .btn {
    width: 100%;
  }
  .hero__ph--a figcaption {
    display: none;
  }
}

/* ---------- お知らせ ---------- */
.news {
  padding: 36px 0;
}

.news__inner {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 20px;
}

.news__title {
  font-family: var(--font-head);
  font-size: 18px;
}

.news__list li {
  display: flex;
  gap: 20px;
  padding: 6px 0;
  font-size: 15px;
}

.news__list time {
  color: var(--stone);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.news__list a:hover {
  color: var(--moss);
  text-decoration: underline;
}

@media (max-width: 700px) {
  .news__inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .news__list li {
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
  }
  .news__list time {
    font-size: 13px;
  }
}

/* ---------- 私たちのこと ---------- */
.about {
  padding: 80px 0 100px;
}

.about__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
}

.about__head .sec-title {
  font-size: clamp(30px, 4vw, 48px);
}

.about__body p + p {
  margin-top: 16px;
}

.about__nums {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.about__nums dt {
  font-size: 13px;
  color: var(--stone);
}

.about__nums b {
  font-family: var(--font-head);
  font-size: 40px;
  color: var(--moss);
  margin-right: 4px;
}

@media (max-width: 800px) {
  .about {
    padding: 56px 0 72px;
  }
  .about__inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .about__nums {
    gap: 24px;
    flex-wrap: wrap;
  }
}

/* ---------- 施工例 ---------- */
.works {
  padding: 90px 0;
  background: #fff;
}

.works__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.works__head .sec-title {
  margin-bottom: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips button {
  min-height: 40px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.chips button[aria-pressed="true"] {
  background: var(--moss);
  border-color: var(--moss);
  color: #fff;
}

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

.work img,
.work__plan {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.work--wide {
  grid-column: span 2;
}

/* 2列分の施工例は、隣の正方形と高さがそろう横長に */
.work--wide img,
.work--wide .work__plan {
  aspect-ratio: 2.1 / 1;
}

.work__plan {
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--moss);
  padding: 24px;
}

.work__plan svg {
  height: 100%;
  max-height: 220px;
  width: auto;
  max-width: 100%;
}

.work__txt {
  padding-top: 12px;
}

.work__tag {
  font-size: 12px;
  color: var(--terra);
  font-weight: 700;
}

.work h3 {
  font-size: 17px;
  line-height: 1.6;
  margin: 2px 0 4px;
}

.work__txt p:last-child {
  font-size: 14px;
  color: var(--stone);
}

@media (max-width: 900px) {
  .works__list {
    grid-template-columns: 1fr 1fr;
  }
  .work--wide {
    grid-column: auto;
  }
  .work--wide img,
  .work--wide .work__plan {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 600px) {
  .works {
    padding: 64px 0;
  }
  .works__list {
    grid-template-columns: 1fr;
  }
  .work--wide {
    grid-column: auto;
  }
  .work img,
  .work__plan,
  .work--wide img,
  .work--wide .work__plan {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- 概算シミュレーター ---------- */
.estimate {
  padding: 100px 0;
  background: var(--moss);
  color: #f1efe6;
}

.estimate .sec-no {
  color: #c4c8b4;
}

.estimate__inner {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 64px;
  align-items: start;
}

.sim {
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 32px;
}

.sim__row {
  border: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.sim__row legend,
.sim__row > label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
}

.sim__row output {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--terra);
  margin-inline: 4px;
}

.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.seg label {
  position: relative;
}

.seg input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.seg span {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

.seg input:checked + span {
  background: var(--moss);
  border-color: var(--moss);
  color: #fff;
}

.seg input:focus-visible + span {
  outline: 2px solid var(--terra);
  outline-offset: 2px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--moss);
  height: 32px;
}

.sim__result {
  margin-top: 20px;
  padding: 20px;
  background: #fff;
  border-left: 4px solid var(--terra);
}

.sim__result > p:first-child {
  font-size: 14px;
  color: var(--stone);
}

.sim__price {
  font-family: var(--font-head);
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.2;
  color: var(--moss-deep);
}

.sim__price small {
  font-size: 18px;
  margin-left: 6px;
}

.sim__note {
  font-size: 13px;
  margin-top: 8px;
  color: var(--stone);
}

@media (max-width: 900px) {
  .estimate {
    padding: 64px 0;
  }
  .estimate__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sim {
    padding: 20px;
  }
}

/* ---------- 工事の流れ ---------- */
.flow {
  padding: 100px 0;
}

.flow__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 2px solid var(--moss);
  counter-reset: flow;
}

.flow__list li {
  padding: 24px 18px 0 0;
  position: relative;
}

.flow__list li::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid var(--moss);
}

.flow__day {
  font-size: 13px;
  color: var(--terra);
  font-weight: 700;
}

.flow__list h3 {
  font-size: 17px;
  line-height: 1.5;
  margin: 4px 0 8px;
}

.flow__list p {
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .flow {
    padding: 64px 0;
  }
  .flow__list {
    grid-template-columns: 1fr;
    border-top: 0;
    border-left: 2px solid var(--moss);
    padding-left: 24px;
  }
  .flow__list li {
    padding: 0 0 28px;
  }
  .flow__list li::before {
    top: 6px;
    left: -32px;
  }
}

/* ---------- お手入れ ---------- */
.care {
  display: grid;
  grid-template-columns: 5fr 6fr;
  background: var(--lime-2);
}

.care__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.care__body {
  padding: clamp(40px, 6vw, 88px);
  align-self: center;
}

.care__list {
  margin-top: 24px;
}

.care__list li {
  padding: 14px 0;
  border-top: 1px dashed var(--stone);
  font-size: 15px;
}

.care__list b {
  display: block;
  color: var(--moss-deep);
}

@media (max-width: 800px) {
  .care {
    grid-template-columns: 1fr;
  }
  .care__photo img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .care__body {
    padding: 40px 20px 56px;
  }
}

/* ---------- お客様の声 ---------- */
.voice {
  padding: 100px 0;
}

.voice__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.voice__item {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 17px;
  line-height: 2;
}

.voice__item--offset {
  margin-top: 64px;
}

.voice__item cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  color: var(--stone);
}

@media (max-width: 800px) {
  .voice {
    padding: 64px 0;
  }
  .voice__list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .voice__item--offset {
    margin-top: 0;
  }
  .voice__item {
    padding: 24px 20px;
    font-size: 16px;
  }
}

/* ---------- 展示場 ---------- */
.showroom {
  padding: 0 0 100px;
}

.showroom__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.showroom__photo img {
  border-radius: var(--radius);
  aspect-ratio: 9 / 7;
  object-fit: cover;
  width: 100%;
}

.info {
  margin: 20px 0 24px;
}

.info > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.info dt {
  color: var(--stone);
}

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

@media (max-width: 800px) {
  .showroom {
    padding-bottom: 64px;
  }
  .showroom__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .showroom__btns .btn {
    flex: 1 1 100%;
  }
}

/* ---------- 会社案内 ---------- */
.company {
  padding: 90px 0;
  background: #fff;
}

.company__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

.company__table th,
.company__table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.company__table th {
  width: 110px;
  font-weight: 500;
  color: var(--stone);
}

.company__map iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: var(--radius);
  filter: saturate(0.6);
}

.company__map p {
  font-size: 14px;
  margin-top: 10px;
}

@media (max-width: 800px) {
  .company {
    padding: 64px 0;
  }
  .company__inner {
    grid-template-columns: 1fr;
  }
  .company__table th,
  .company__table td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }
  .company__table th {
    padding-top: 12px;
    font-size: 13px;
  }
  .company__table td {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- お問い合わせ ---------- */
.contact {
  padding: 100px 0;
  background: var(--lime-2);
}

.contact__inner {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 56px;
}

.contact__tel {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-head);
  font-size: 32px;
  color: var(--moss-deep);
  line-height: 1.3;
}

.contact__tel small {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--stone);
}

.form {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
}

.form__row {
  border: 0;
  margin-bottom: 18px;
}

.form__row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form label,
.form legend {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.req {
  font-size: 11px;
  color: #fff;
  background: var(--terra);
  padding: 1px 6px;
  margin-left: 8px;
  border-radius: 2px;
  vertical-align: 2px;
}

.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--lime);
  font-size: 16px;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--moss);
  outline-offset: 0;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.checks label {
  font-weight: 400;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
}

.checks input {
  width: 18px;
  height: 18px;
  accent-color: var(--moss);
}

@media (max-width: 800px) {
  .contact {
    padding: 64px 0;
  }
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .form {
    padding: 22px 18px;
  }
  .form__row--half {
    grid-template-columns: 1fr;
  }
}

/* ---------- フッター ---------- */
.footer {
  background: var(--moss-deep);
  color: #d9dccd;
  padding: 40px 0;
  font-size: 14px;
}

.footer__name {
  font-family: var(--font-head);
  font-size: 18px;
  color: #fff;
}

.footer__copy {
  margin-top: 12px;
  font-size: 12px;
  opacity: 0.7;
}
