@charset "utf-8";

/* ============================================================
   リペア杉原 コーポレートサイト
   ============================================================ */

:root {
  --green: #0d902b;
  --green-dark: #0a6e21;
  --green-light: #8cc63f;
  --green-pale: #e8f5ec;
  --green-mint: #c9e8b6;
  --orange: #ea6a0a;
  --orange-dark: #c85708;
  --blue: #1b5fa8;
  --ink: #1f2937;
  --sub: #4b5563;
  --mute: #9ca3af;
  --line: #e5e7eb;
  --bg-gray: #f8f9fa;
  --font-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-base: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--ink);
  background: #ffffff;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--orange); }

img { max-width: 100%; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.page {
  min-height: 100vh;
  background: repeating-linear-gradient(90deg, #f3f8ef 0px, #f3f8ef 6px, #ffffff 6px, #ffffff 14px);
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.wrap--narrow { max-width: 1000px; }

.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;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-round);
  font-weight: 700;
  text-align: center;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}
.btn--orange { background: var(--orange); color: #ffffff; font-size: 14px; padding: 12px 18px; }
.btn--orange:hover { background: var(--orange-dark); color: #ffffff; }
.btn--green { background: var(--green); color: #ffffff; font-size: 15px; padding: 14px 30px; }
.btn--green:hover { background: var(--green-dark); color: #ffffff; }
.btn--outline { border: 2px solid var(--green); color: var(--green-dark); font-size: 15px; padding: 12px 26px; }
.btn--outline:hover { background: var(--green); color: #ffffff; }
.btn--cta { background: var(--orange); color: #ffffff; font-size: 17px; padding: 16px 34px; border-radius: 8px; }
.btn--cta:hover { background: var(--orange-dark); color: #ffffff; }
.btn--tel {
  display: block; background: var(--blue); color: #ffffff;
  font-family: var(--font-round); font-weight: 900; font-size: 22px;
  padding: 14px; border-radius: 6px; text-align: center;
}
.btn--tel:hover { color: #ffffff; }
.btn--block {
  display: block; background: var(--orange); color: #ffffff;
  font-family: var(--font-round); font-weight: 700; font-size: 15px;
  padding: 12px; border-radius: 6px; text-align: center;
}
.btn--block:hover { background: var(--orange-dark); color: #ffffff; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 3px solid var(--green-light);
}
.site-header__inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 12px 20px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.logo { display: flex; align-items: baseline; gap: 8px; flex: 0 0 auto; }
.logo__name {
  font-family: var(--font-round); font-weight: 900; font-size: 28px;
  color: var(--green); letter-spacing: -0.5px;
}
.logo__sub { font-size: 11px; color: var(--sub); }
.site-header__spacer { flex: 1 1 auto; }
.header-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.header-contact__row { display: flex; align-items: center; gap: 8px; }
.tel-badge {
  background: var(--green); color: #ffffff;
  font-size: 10px; font-weight: 700; padding: 3px 7px;
}
.tel-number {
  font-family: var(--font-round); font-weight: 900; font-size: 26px;
  color: var(--blue); letter-spacing: 0.5px;
}
.tel-number:hover { color: var(--blue); }
.header-contact__note { font-size: 11px; color: var(--sub); }

.header-tel-sp {
  display: none; align-items: center; gap: 6px;
  background: var(--blue); color: #ffffff;
  font-family: var(--font-round); font-weight: 900; font-size: 15px;
  padding: 9px 12px; border-radius: 6px; white-space: nowrap;
}
.header-tel-sp:hover { color: #ffffff; }
.header-tel-sp__icon { font-size: 15px; }

.nav-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; width: 52px; min-height: 46px;
  background: var(--green); color: #ffffff; border: none;
  border-radius: 6px; padding: 6px 4px; cursor: pointer;
}
.nav-toggle__bars { display: block; width: 22px; height: 15px; position: relative; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 3px; border-radius: 2px;
  background: #ffffff; transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle__label { font-family: var(--font-round); font-weight: 700; font-size: 10px; line-height: 1; }

.nav-backdrop { display: none; }

.gnav {
  max-width: var(--wrap); margin: 0 auto;
  padding: 0 20px 10px;
}
.gnav__links { display: flex; gap: 4px; flex-wrap: wrap; }
.gnav__head, .gnav__foot { display: none; }
.gnav__link {
  font-family: var(--font-round); font-weight: 700; font-size: 14px;
  padding: 8px 16px; border-radius: 4px;
  border-bottom: 3px solid transparent;
  color: var(--ink);
}
.gnav__link:hover { background: var(--green-pale); color: var(--green-dark); }
.gnav__link.is-current { border-bottom-color: var(--green-light); }

/* ---------- ヒーロー ---------- */
.hero { background: var(--green-light); overflow: hidden; }
.hero__inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 44px 20px 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px; align-items: end;
}
.hero__body { padding-bottom: 44px; }
.hero__lead {
  font-family: var(--font-round); font-weight: 900; font-size: 34px;
  color: #ffffff; line-height: 1.2; text-shadow: 0 2px 0 #6ba32c;
}
.hero__title {
  font-family: var(--font-round); font-weight: 900; font-size: 64px;
  line-height: 1.08; letter-spacing: -1px; margin: 2px 0 8px;
}
.hero__title span { -webkit-text-stroke: 6px #ffffff; paint-order: stroke fill; }
.hero__title .is-blue { color: var(--blue); }
.hero__title .is-white { color: #ffffff; }
.hero__title .is-orange { color: var(--orange); }
.hero__sub {
  font-family: var(--font-round); font-weight: 700; font-size: 24px;
  color: #ffffff; letter-spacing: 2px; text-shadow: 0 2px 0 #6ba32c;
}
.hero__desc {
  font-size: 15px; line-height: 1.9; color: #1f3d0c;
  background: rgba(255, 255, 255, 0.85);
  padding: 14px 16px; margin: 20px 0 0; max-width: 460px;
  text-wrap: pretty;
}
.hero__actions {
  display: flex; gap: 10px; margin-top: 18px;
  flex-wrap: wrap; align-items: flex-end;
}
.hero__buttons { display: flex; flex-direction: column; gap: 10px; }
.hero__tel {
  background: #ffffff; color: var(--blue);
  font-family: var(--font-round); font-weight: 900; font-size: 20px;
  padding: 14px 22px; border-radius: 8px; text-align: center;
}
.hero__tel:hover { color: var(--blue); }
.hero__form-btn {
  background: var(--orange); color: #ffffff;
  font-family: var(--font-round); font-weight: 700; font-size: 16px;
  padding: 16px 22px; border-radius: 8px; text-align: center;
}
.hero__form-btn:hover { background: var(--orange-dark); color: #ffffff; }
.hero__mascot { max-height: 190px; width: auto; height: auto; display: block; }
.hero__photos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 20px;
}
.hero__photos img {
  width: 100%; object-fit: cover; border: 5px solid #ffffff; display: block;
}
.hero__photos img:nth-child(-n+2) { height: 190px; }
.hero__photos img:nth-child(n+3) { height: 150px; }

/* ---------- 実績バー ---------- */
.badge-bar { background: var(--green); color: #ffffff; padding: 14px 20px; }
.badge-bar__inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; gap: 28px; flex-wrap: wrap; justify-content: center;
  font-family: var(--font-round); font-weight: 700; font-size: 15px;
}

/* ---------- セクション共通 ---------- */
.section { padding-top: 56px; padding-bottom: 56px; }
.section--pale { background: var(--green-pale); }
.sec-head { text-align: center; margin-bottom: 28px; }
.sec-head__en { font-size: 12px; font-weight: 700; color: var(--orange); letter-spacing: 3px; }
.sec-head__ja {
  font-family: var(--font-round); font-weight: 900; font-size: 30px;
  color: var(--green); margin: 6px 0 8px;
}
.sec-head__bar { width: 64px; height: 5px; background: var(--green-light); margin: 0 auto; }
.sec-foot { text-align: center; margin-top: 24px; }

.head2 {
  font-family: var(--font-round); font-weight: 900; font-size: 24px;
  color: var(--green); margin: 0 0 4px;
}
.head2--gap { margin-top: 44px; }
.head3 {
  font-family: var(--font-round); font-weight: 900; font-size: 20px;
  color: var(--green); margin: 0 0 4px;
}
.bar-sm { width: 48px; height: 4px; background: var(--green-light); margin-bottom: 20px; }
.bar-xs { width: 40px; height: 4px; background: var(--green-light); margin-bottom: 14px; }

/* ---------- 下層ページ見出し ---------- */
.page-head { background: var(--green); padding: 36px 20px; }
.page-head__inner { max-width: var(--wrap); margin: 0 auto; }
.page-head__en { font-size: 12px; font-weight: 700; color: var(--green-mint); letter-spacing: 3px; }
.page-head__ja {
  font-family: var(--font-round); font-weight: 900; font-size: 36px;
  color: #ffffff; margin: 6px 0 0;
}

/* ---------- サービスカード ---------- */
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px;
}
.svc-grid--full { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.svc-card {
  background: #ffffff; border: 2px solid var(--line); border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.svc-card--img > img { display: block; width: 100%; height: auto; }
.svc-card__desc {
  font-size: 13px; line-height: 1.8; color: var(--sub);
  padding: 12px 16px; flex: 1 1 auto; text-wrap: pretty;
}

/* ---------- 事業内容 ---------- */
.field-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px;
}
.field-item {
  background: var(--bg-gray); border-left: 5px solid var(--green);
  padding: 14px 18px;
  font-family: var(--font-round); font-weight: 700; font-size: 16px;
}
.lead-note { font-size: 13px; color: var(--sub); margin: 0 0 20px; }

.note-box {
  background: #fff8eb; border: 2px solid #f0d9a8;
  padding: 20px 24px; margin-top: 32px;
}
.note-box__title {
  font-family: var(--font-round); font-weight: 700; font-size: 17px;
  color: #b45309; margin-bottom: 8px;
}
.note-box__text { font-size: 14px; line-height: 1.9; color: var(--sub); text-wrap: pretty; }

/* ---------- 施工実績カード ---------- */
.works-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px;
}
.works-grid--list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.work-card {
  background: #ffffff; border: 2px solid #ffffff; border-radius: 10px;
  overflow: hidden; display: block; color: var(--ink);
}
.works-grid--list .work-card { border-color: var(--line); }
.work-card:hover { border-color: var(--green-light); color: var(--ink); }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.ba__item { position: relative; }
.ba__item img { width: 100%; height: 130px; object-fit: cover; display: block; }
.works-grid--list .ba__item img { height: 150px; }
.ba__label {
  position: absolute; left: 0; top: 0; color: #ffffff;
  font-size: 10px; font-weight: 700; padding: 2px 8px;
}
.ba__label--before { background: var(--sub); }
.ba__label--after { background: var(--orange); }
.work-photo { position: relative; }
.work-photo img { width: 100%; height: 130px; object-fit: cover; display: block; }
.works-grid--list .work-photo img { height: 150px; }
.work-photo__label {
  position: absolute; left: 0; top: 0; color: #ffffff; background: var(--green);
  font-size: 10px; font-weight: 700; padding: 2px 8px;
}
.work-card__body { padding: 12px 14px 14px; }
.works-grid--list .work-card__body { padding: 14px 16px 16px; }
.work-card__cat {
  display: inline-block; background: var(--green-pale); color: var(--green-dark);
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 3px;
}
.work-card__title {
  font-family: var(--font-round); font-weight: 700; font-size: 16px;
  margin-top: 8px; line-height: 1.4;
}
.works-grid--list .work-card__title { font-size: 17px; margin: 8px 0 6px; }
.work-card__summary { font-size: 13px; line-height: 1.8; color: var(--sub); text-wrap: pretty; }
.work-card__more {
  font-family: var(--font-round); font-weight: 700; font-size: 13px;
  color: var(--orange); margin-top: 10px;
}

/* ---------- カテゴリー絞り込み ---------- */
.cat-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.cat-chip {
  font-family: var(--font-round); font-weight: 700; font-size: 14px;
  padding: 9px 18px; border-radius: 20px;
  border: 2px solid var(--green); background: #ffffff; color: var(--green-dark);
  cursor: pointer;
}
.cat-chip:hover { background: var(--green-pale); color: var(--green-dark); }
.cat-chip.is-active { background: var(--green); color: #ffffff; }
.work-item.is-hidden { display: none; }

/* ---------- 流れ ---------- */
.flow-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px;
}
.flow-card { background: var(--bg-gray); border-left: 5px solid var(--green-light); padding: 16px 18px; }
.flow-card__step {
  font-family: var(--font-round); font-weight: 900; font-size: 13px; color: var(--green-light);
}
.flow-card__title {
  font-family: var(--font-round); font-weight: 700; font-size: 17px;
  color: var(--green-dark); margin: 2px 0 6px;
}
.flow-card__text { font-size: 13px; line-height: 1.8; color: var(--sub); text-wrap: pretty; }
.flow-card__figure { display: flex; justify-content: flex-end; margin-top: 8px; }
.flow-card__figure img { max-height: 96px; width: auto; height: auto; display: block; }

/* ---------- 施工実績 詳細 ---------- */
.detail-head { background: var(--green); padding: 28px 20px 32px; }
.detail-head__inner { max-width: 1000px; margin: 0 auto; }
.detail-head__back { font-size: 13px; color: var(--green-mint); font-weight: 700; }
.detail-head__back:hover { color: #ffffff; }
.detail-head__meta { display: flex; gap: 8px; align-items: center; margin: 14px 0 6px; flex-wrap: wrap; }
.detail-head__cat {
  background: var(--green-light); color: #ffffff;
  font-family: var(--font-round); font-weight: 700; font-size: 12px;
  padding: 4px 12px; border-radius: 3px;
}
.detail-head__place { font-size: 12px; color: var(--green-mint); }
.detail-head__title {
  font-family: var(--font-round); font-weight: 900; font-size: 32px;
  color: #ffffff; margin: 0; line-height: 1.35;
}
.ba-large {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin-bottom: 32px;
}
.ba-large__label {
  color: #ffffff; font-family: var(--font-round); font-weight: 700; font-size: 14px;
  padding: 6px 14px;
}
.ba-large__label--before { background: var(--sub); }
.ba-large__label--after { background: var(--orange); }
.ba-large img {
  width: 100%; height: 320px; object-fit: cover; display: block; border: 1px solid var(--line);
}
.finish-large { margin-bottom: 32px; }
.finish-large__label {
  display: inline-block; background: var(--green); color: #ffffff;
  font-family: var(--font-round); font-weight: 700; font-size: 14px; padding: 6px 14px;
}
.finish-large img {
  width: 100%; height: 400px; object-fit: cover; display: block; border: 1px solid var(--line);
}
.detail-body {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px;
}
.detail-text { font-size: 15px; line-height: 2; color: var(--ink); margin: 0 0 24px; text-wrap: pretty; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.gallery img {
  width: 100%; height: 150px; object-fit: cover; display: block; border: 1px solid var(--line);
}
.spec-box { background: var(--bg-gray); border: 1px solid var(--line); padding: 20px; }
.spec-box__title {
  font-family: var(--font-round); font-weight: 700; font-size: 16px;
  color: var(--green-dark); margin-bottom: 12px;
}
.spec-row { border-top: 1px solid var(--line); padding: 9px 0; }
.spec-row__key { font-size: 11px; color: var(--mute); font-weight: 700; }
.spec-row__val { font-size: 14px; font-weight: 500; }
.cta-box { background: var(--green-pale); padding: 20px; margin-top: 14px; }
.cta-box__title {
  font-family: var(--font-round); font-weight: 700; font-size: 16px;
  color: var(--green-dark); margin-bottom: 8px;
}
.cta-box__text { font-size: 13px; line-height: 1.9; color: var(--ink); margin-bottom: 14px; text-wrap: pretty; }
.cta-box .btn--tel { font-size: 19px; padding: 12px; margin-bottom: 8px; }
.related-block { border-top: 2px solid var(--line); margin-top: 48px; padding-top: 28px; }
.related-block__title {
  font-family: var(--font-round); font-weight: 700; font-size: 18px;
  color: var(--green); margin-bottom: 16px;
}
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.related-card { display: block; color: var(--ink); border: 2px solid var(--line); border-radius: 8px; overflow: hidden; }
.related-card:hover { border-color: var(--green-light); color: var(--ink); }
.related-card img { width: 100%; height: 120px; object-fit: cover; display: block; }
.related-card__title {
  padding: 10px 12px; font-family: var(--font-round); font-weight: 700;
  font-size: 14px; line-height: 1.4;
}

/* ---------- 会社概要 ---------- */
.company-layout {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 36px; align-items: start;
}
.dl { border-top: 1px solid var(--line); }
.dl__row {
  display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px;
  border-bottom: 1px solid var(--line); padding: 14px 4px;
}
.dl__key { font-family: var(--font-round); font-weight: 700; font-size: 14px; color: var(--green-dark); }
.dl__val { font-size: 14px; line-height: 1.9; white-space: pre-line; text-wrap: pretty; }
.license-box { background: var(--bg-gray); border-left: 5px solid var(--green); padding: 20px 24px; }
.license-box__label { font-size: 13px; color: var(--sub); font-weight: 700; }
.license-box__no {
  font-family: var(--font-round); font-weight: 900; font-size: 22px;
  color: var(--ink); margin-top: 6px;
}
.area-text { font-size: 14px; line-height: 1.9; color: var(--sub); margin: 0 0 16px; text-wrap: pretty; }
.area-block { margin: 0 0 18px; }
.area-pref {
  font-family: var(--font-round); font-weight: 700; font-size: 17px;
  color: var(--green-dark); margin: 0 0 8px;
}
.area-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.area-list li {
  background: #ffffff; border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 14px; font-size: 13px; color: var(--sub);
}
.area-note { font-size: 13px; line-height: 1.9; color: var(--sub); margin: 0 0 16px; text-wrap: pretty; }
.map { width: 100%; height: 340px; border: 1px solid var(--line); display: block; margin-top: 24px; }
.map-note { font-size: 12px; color: var(--mute); margin-top: 6px; }
.company-photo {
  width: 100%; height: 220px; object-fit: cover; display: block;
  border: 6px solid #ffffff; outline: 1px solid var(--line);
}
.side-box { background: var(--green-pale); padding: 22px; margin-top: 16px; }
.side-box__title {
  font-family: var(--font-round); font-weight: 900; font-size: 19px;
  color: var(--green-dark); margin-bottom: 10px;
}
.side-box__note { font-size: 12px; color: var(--sub); margin: 8px 0 0; line-height: 1.8; }
.ienakama { border: 2px solid var(--line); padding: 18px; margin-top: 16px; background: #ffffff; }
.ienakama__title {
  font-family: var(--font-round); font-weight: 700; font-size: 15px;
  color: var(--green-dark); margin-bottom: 4px;
}
.ienakama__text { font-size: 12px; color: var(--sub); line-height: 1.8; margin-bottom: 12px; }
.ienakama__link {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid var(--green); padding: 14px 12px;
  font-family: var(--font-round); font-weight: 700; font-size: 15px; color: var(--green-dark);
}
.ienakama__link:hover { background: var(--green-pale); color: var(--green-dark); }
.ienakama__note { font-size: 11px; color: var(--mute); margin-top: 8px; }

/* ---------- 掲載・放送バナー ---------- */
.media-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px;
}
.media-card { background: #ffffff; border: 2px solid var(--line); padding: 20px; }
.media-card__title {
  font-family: var(--font-round); font-weight: 900; font-size: 18px;
  color: var(--green-dark); margin-bottom: 6px;
}
.media-card__text {
  font-size: 13px; line-height: 1.9; color: var(--sub); margin-bottom: 14px; text-wrap: pretty;
}
.banner-box {
  display: flex; align-items: center; justify-content: center;
  padding: 14px; background: var(--bg-gray);
}
.banner-box img { max-width: 100%; height: auto; display: block; }

/* ---------- お問い合わせ ---------- */
.contact-layout {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 36px; align-items: start;
}
.contact-lead { font-size: 15px; line-height: 2; color: var(--ink); margin: 0 0 24px; text-wrap: pretty; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-family: var(--font-round); font-weight: 700; font-size: 14px; }
.field__req { color: #c2410c; font-size: 11px; margin-left: 6px; }
.field__hint { font-size: 11px; color: var(--sub); font-weight: 400; margin-left: 8px; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
  border: 2px solid var(--line); padding: 12px 14px; font-size: 15px;
  border-radius: 4px; background: #ffffff; width: 100%;
}
.field textarea { line-height: 1.8; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-light); }
.choice-title { font-family: var(--font-round); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.choice-row { display: flex; gap: 10px; flex-wrap: wrap; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.choice {
  display: flex; align-items: center; gap: 8px;
  border: 2px solid var(--line); padding: 10px 14px; border-radius: 4px;
  font-size: 14px; background: #ffffff; cursor: pointer;
}
.choice-row .choice { padding: 10px 18px; gap: 7px; }
.choice input { accent-color: var(--green); }
.privacy { font-size: 12px; color: var(--sub); line-height: 1.8; background: var(--bg-gray); padding: 14px 16px; }
.submit {
  background: var(--orange); color: #ffffff; border: none;
  font-family: var(--font-round); font-weight: 900; font-size: 19px;
  padding: 18px; border-radius: 8px; cursor: pointer;
}
.submit:hover { background: var(--orange-dark); }
.sent-box { background: var(--green-pale); border: 2px solid var(--green); padding: 28px; text-align: center; }
.sent-box__title {
  font-family: var(--font-round); font-weight: 900; font-size: 22px;
  color: var(--green-dark); margin-bottom: 8px;
}
.sent-box__text { font-size: 14px; line-height: 1.9; color: var(--ink); }
.sent-box__again { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; }
.submit:disabled { background: var(--sub); cursor: default; }
.error-box { background: #fff4f2; border: 2px solid #e05a3c; padding: 20px 22px; margin-bottom: 22px; }
.error-box__title {
  font-family: var(--font-round); font-weight: 900; font-size: 17px;
  color: #c0391c; margin-bottom: 8px;
}
.error-box__list { list-style: disc; padding-left: 20px; font-size: 14px; line-height: 1.9; color: var(--ink); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.result-panel { max-width: 680px; margin: 0 auto; }
.result-panel__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.contact-side__mascot {
  max-height: 140px; max-width: 100%; width: auto; height: auto;
  display: block; margin: 0 auto 8px;
}
.contact-side .btn--tel { font-size: 24px; padding: 16px; }
.side-box__lead { font-size: 13px; color: var(--sub); margin-bottom: 12px; }
.side-box__tel-note { font-size: 13px; color: var(--sub); margin-top: 10px; line-height: 1.9; }
.address-box { border: 2px solid var(--line); padding: 22px; margin-top: 16px; background: #ffffff; }
.address-box__title {
  font-family: var(--font-round); font-weight: 700; font-size: 16px;
  color: var(--green-dark); margin-bottom: 12px;
}
.address-box__text { font-size: 13px; line-height: 2; color: var(--sub); }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: #ffffff; padding: 44px 20px 24px; }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--sub);
}
.footer-brand {
  font-family: var(--font-round); font-weight: 900; font-size: 26px; color: var(--green-light);
}
.footer-address { font-size: 13px; line-height: 2; color: #d1d5db; margin-top: 10px; }
.footer-head {
  font-family: var(--font-round); font-weight: 700; font-size: 14px;
  color: var(--green-light); margin-bottom: 12px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 14px; color: #ffffff; }
.footer-links a:hover { color: var(--green-light); }
.footer-license { font-size: 13px; line-height: 2; color: #d1d5db; }
.copyright { font-size: 12px; color: var(--mute); padding-top: 18px; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .site-header__inner { gap: 10px; padding: 10px 14px; flex-wrap: nowrap; }
  .site-header__spacer { flex: 1 1 auto; }
  .logo { flex-direction: column; align-items: flex-start; gap: 0; }
  .logo__name { font-size: 21px; }
  .logo__sub { font-size: 10px; }
  .header-contact { display: none; }
  .header-mail { display: none; }
  .nav-toggle { display: flex; }
  .header-tel-sp { display: flex; }

  /* スライドイン式ドロワー */
  .gnav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(320px, 86vw); max-width: none; margin: 0; padding: 0;
    background: #ffffff; box-shadow: -8px 0 28px rgba(31, 41, 55, 0.22);
    display: flex; flex-direction: column;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    z-index: 60;
    transform: translateX(100%); visibility: hidden;
    transition: transform .28s ease, visibility .28s;
  }
  .gnav.is-open { transform: none; visibility: visible; }

  .gnav__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 8px 14px 20px;
    background: var(--green); color: #ffffff; position: sticky; top: 0;
  }
  .gnav__title { font-family: var(--font-round); font-weight: 700; font-size: 16px; }
  .gnav__close {
    width: 44px; height: 44px; border: none; background: transparent;
    color: #ffffff; font-size: 28px; line-height: 1; cursor: pointer;
  }

  .gnav__links { display: block; }
  .gnav__link {
    display: block; padding: 16px 20px; font-size: 16px;
    border-radius: 0; border-bottom: 1px solid var(--line);
    border-left: 4px solid transparent;
  }
  .gnav__link::after { content: "›"; float: right; color: var(--mute); font-weight: 400; }
  .gnav__link.is-current {
    background: var(--green-pale); color: var(--green-dark);
    border-left-color: var(--green-light); border-bottom-color: var(--line);
  }

  .gnav__foot { display: block; padding: 20px; margin-top: auto; background: var(--bg-gray); }
  .gnav__foot .btn--tel { font-size: 21px; padding: 13px; }
  .gnav__note { font-size: 12px; color: var(--sub); line-height: 1.8; margin: 8px 0 12px; text-align: center; }

  .nav-backdrop {
    display: block; position: fixed; inset: 0;
    background: rgba(31, 41, 55, 0.55);
    opacity: 0; visibility: hidden; z-index: 55;
    transition: opacity .28s ease, visibility .28s;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  body.is-nav-open { overflow: hidden; }

  .hero__inner { grid-template-columns: 1fr; padding-top: 32px; gap: 20px; }
  .hero__body { padding-bottom: 0; }
  .hero__title { font-size: 48px; }
  .hero__lead { font-size: 28px; }
  .hero__sub { font-size: 20px; }
  .hero__photos { padding-bottom: 24px; }
  .hero__photos img:nth-child(-n+2),
  .hero__photos img:nth-child(n+3) { height: 140px; }

  .detail-body { grid-template-columns: 1fr; }
  .company-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .ba-large img { height: 240px; }
  .page-head__ja { font-size: 28px; }
  .detail-head__title { font-size: 26px; }
  .sec-head__ja { font-size: 26px; }
}

@media (max-width: 600px) {
  .hero__title { font-size: 38px; }
  .hero__title span { -webkit-text-stroke-width: 4px; }
  .hero__lead { font-size: 24px; }
  .hero__sub { font-size: 17px; letter-spacing: 1px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__mascot { margin: 0 auto; }
  .badge-bar__inner { gap: 8px; font-size: 13px; text-align: center; }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .svc-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
  .dl__row { grid-template-columns: 1fr; gap: 4px; }
  .head2 { font-size: 21px; }
  .page-head { padding: 24px 20px; }
  .page-head__ja { font-size: 24px; }
  .ba-large img { height: 200px; }
  .finish-large img { height: 240px; }
  .gallery img { height: 120px; }
}

/* ---------- 追加ユーティリティ ---------- */
[hidden] { display: none !important; }

.bar-sm--tight { margin-bottom: 8px; }

.body-sec { padding-top: 48px; padding-bottom: 60px; }
.body-sec--service { padding-bottom: 48px; }
.body-sec--works { padding-top: 36px; }
.body-sec--contact { padding-top: 44px; }

@media (max-width: 600px) {
  .body-sec { padding-top: 32px; padding-bottom: 40px; }
  .body-sec--works,
  .body-sec--contact { padding-top: 28px; }
}

@media (max-width: 600px) {
  .hero__mascot { max-height: 150px; }
}

@media (max-width: 359px) {
  .header-tel-sp__num { display: none; }
  .header-tel-sp { padding: 9px 11px; }
}
