/* ============================================
   CONSTRUCTION DOBOKU TEMPLATE
   土木・道路舗装 — 路盤のベージュ × アスファルト × 道路標識の緑、地図が主役のヒーロー
============================================ */

:root {
  --base: #e9e4d8; /* 路盤のベージュ（地） */
  --base-2: #f4f1ea;
  --asphalt: #3a3d40; /* アスファルトのグレー */
  --asphalt-2: #6d6f70;
  --green: #1f6b4f; /* 道路標識の緑（メイン） */
  --green-deep: #17533d;
  --yellow: #f0c419; /* 区画線の黄（ごく少量） */
  --river: #8fb3c4;
  --sea: #b9d0d9;
  --pin-road: #1f6b4f;
  --pin-river: #2d6f9a;
  --pin-land: #b5651d;
  --line: rgba(58, 61, 64, 0.18);
  --font: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-num: "Barlow Condensed", "Noto Sans JP", sans-serif;
  --container: 1180px;
  --header-h: 66px;
  --radius: 4px;
  --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);
  color: var(--asphalt);
  background: var(--base-2);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

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

/* ---------- 共通 ---------- */
.sec-head {
  margin-bottom: 32px;
  max-width: 760px;
}

.sec-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(25px, 3.1vw, 36px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 14px;
}

/* 番号は路線番号の標識のように */
.sec-title__no {
  flex-shrink: 0;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 20px;
  background: var(--green);
  color: #fff;
  border: 2px solid #fff;
  outline: 2px solid var(--green);
  border-radius: 6px;
  padding: 0 10px;
  line-height: 1.5;
}

.sec-title--light {
  color: #fff;
}

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

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

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

/* ---------- ヘッダー ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--asphalt);
  color: #fff;
  /* 下端に区画線のような破線 */
  border-bottom: 4px dashed rgba(255, 255, 255, 0.85);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.logo__plate {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--green);
  border: 2px solid #fff;
  border-radius: 6px;
  font-weight: 900;
  font-size: 18px;
}

.logo__txt {
  font-weight: 900;
  font-size: 20px;
  line-height: 1.2;
}

.logo__txt small {
  display: block;
  font-weight: 500;
  font-size: 11px;
  opacity: 0.8;
}

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

.nav__list {
  display: flex;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
}

.nav__list a:hover {
  color: var(--yellow);
}

.nav__cta {
  background: var(--green);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: var(--radius);
}

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

.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 24px;
  height: 2px;
  background: #fff;
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s;
}

.nav-toggle span:nth-child(1) {
  top: 16px;
}
.nav-toggle span:nth-child(2) {
  top: 23px;
}
.nav-toggle span:nth-child(3) {
  top: 30px;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
  :root {
    --header-h: 60px;
  }
  .header__inner {
    padding-inline: 16px 8px;
  }
  .nav-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    inset: calc(var(--header-h) + 4px) 0 0;
    background: var(--asphalt);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 12px 20px 40px;
    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: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .nav__cta {
    text-align: center;
    padding: 15px;
    font-size: 16px;
  }
}

/* ---------- ヒーロー（地図） ---------- */
.hero {
  background: var(--base);
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  max-width: 1400px;
  margin-inline: auto;
}

.map {
  position: relative;
  align-self: start;
}

.map__canvas {
  position: relative;
}

.map__hint {
  display: none;
}

.map__svg {
  display: block;
  width: 100%;
  height: auto;
}

.m-sea {
  fill: var(--sea);
}

.m-contour path {
  fill: none;
  stroke: #c9bfa8;
  stroke-width: 2;
}

.m-river {
  fill: none;
  stroke: var(--river);
  stroke-width: 18;
  stroke-linecap: round;
}

.m-road {
  fill: none;
  stroke: var(--asphalt-2);
  stroke-width: 9;
  stroke-linecap: round;
}

.m-road--main {
  stroke: var(--asphalt);
  stroke-width: 16;
}

.m-road--sub {
  stroke-width: 6;
  stroke: #8e8f8c;
}

.m-rail {
  fill: none;
  stroke: var(--asphalt);
  stroke-width: 5;
  stroke-dasharray: 18 12;
}

.m-name text {
  font-family: var(--font);
  font-weight: 700;
  font-size: 20px;
  fill: var(--asphalt);
  paint-order: stroke;
  stroke: var(--base);
  stroke-width: 5px;
}

.m-name .m-name--river {
  fill: #2d6f9a;
  font-size: 17px;
}

.m-name .m-name--sea {
  fill: #4b7584;
  stroke: var(--sea);
  font-size: 17px;
}

.m-route rect {
  fill: var(--green);
  stroke: #fff;
  stroke-width: 2;
}

.m-route text {
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  fill: #fff;
  text-anchor: middle;
}

/* ピン（JSで配置） */
.map__pins {
  position: absolute;
  inset: 0;
}

.pin {
  position: absolute;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -88%);
  display: grid;
  place-items: center;
}

.pin::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--c, var(--pin-road));
  border: 3px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--ease);
}

.pin:hover::before,
.pin[aria-pressed="true"]::before {
  transform: rotate(-45deg) scale(1.03);
  outline: 3px solid var(--yellow);
  outline-offset: 1px;
}

.pin--river {
  --c: var(--pin-river);
}
.pin--land {
  --c: var(--pin-land);
}

/* 凡例（地図の凡例欄のような枠） */
.legend {
  background: #fff;
  margin: 24px 24px 24px 0;
  border: 2px solid var(--asphalt);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  align-self: start;
}

.legend__cap {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  background: var(--asphalt);
  color: #fff;
  padding: 0 10px;
  margin: -24px 0 18px -26px;
}

.legend__title {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 12px;
}

.legend__text {
  font-size: 15px;
  margin-bottom: 14px;
}

.legend__keys {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 14px;
  margin-bottom: 14px;
}

.legend__keys i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: -1px;
}

.k-road {
  background: var(--pin-road);
}
.k-river {
  background: var(--pin-river);
}
.k-land {
  background: var(--pin-land);
}

.legend__info {
  border-top: 2px solid var(--asphalt);
  border-bottom: 2px solid var(--asphalt);
  padding: 12px 0;
  margin-bottom: 18px;
  min-height: 110px;
}

.legend__info-type {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

.legend__info-name {
  font-weight: 900;
  font-size: 18px;
  line-height: 1.5;
}

.legend__info-meta {
  font-size: 14px;
  color: var(--asphalt-2);
}

.js .legend > * {
  animation: heroIn 0.8s var(--ease) both;
}
.js .legend > :nth-child(n + 3) {
  animation-delay: 0.12s;
}
.js .map__pins .pin {
  animation: heroIn 0.6s var(--ease) both;
}

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

/* ピンは translate を持つので、出現は透明度だけ */
.js .map__pins .pin {
  animation-name: pinIn;
}

@keyframes pinIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .legend {
    margin: 0 16px 24px;
    order: -1;
    margin-top: 20px;
  }
  .map {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 600px) {
  /* スマホでは地図を縮めすぎず、横にスクロールして見る */
  .map__canvas {
    width: 640px;
  }
  .map__hint {
    display: block;
    position: sticky;
    left: 0;
    font-size: 13px;
    padding: 6px 16px 10px;
  }
  .legend {
    padding: 20px 16px;
  }
  .legend__cap {
    margin-left: -16px;
    margin-top: -20px;
  }
  .pin {
    width: 40px;
    height: 40px;
  }
  .pin::before {
    width: 18px;
    height: 18px;
    border-width: 2px;
  }
}

/* ---------- お知らせ ---------- */
.news {
  padding: 26px 0;
  background: #fff;
}

.news__inner {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
}

.news__title {
  font-size: 16px;
  font-weight: 900;
}

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

.news__list time {
  font-family: var(--font-num);
  font-weight: 600;
  font-size: 16px;
  color: var(--green);
  flex-shrink: 0;
}

.news__list a:hover {
  text-decoration: underline;
}

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

/* ---------- 事業 ---------- */
.business {
  padding: 88px 0;
}

.business__grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
  align-items: start;
}

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

.signs li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.signs li:first-child {
  padding-top: 0;
}

/* 案内標識の緑の板 */
.signs__plate {
  display: grid;
  place-items: center;
  height: 52px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  border-radius: 6px;
  border: 2px solid #fff;
  outline: 2px solid var(--green);
  margin: 2px;
}

.signs h3 {
  font-size: 18px;
  font-weight: 900;
}

.signs p {
  font-size: 15px;
}

.signs a {
  color: var(--green);
  text-decoration: underline;
}

@media (max-width: 860px) {
  .business {
    padding: 56px 0;
  }
  .business__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .business__ph img {
    aspect-ratio: 16 / 9;
  }
  .signs li {
    grid-template-columns: 60px 1fr;
    gap: 14px;
  }
  .signs__plate {
    height: 44px;
    font-size: 15px;
  }
}

/* ---------- 公共工事の実績 ---------- */
.record {
  padding: 88px 0;
  background: var(--base);
}

.scores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.scores > div {
  background: #fff;
  padding: 18px 20px;
  border-left: 6px solid var(--green);
}

.scores dt {
  font-size: 14px;
  font-weight: 700;
}

.scores dd {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  color: var(--green);
}

.scores small {
  font-family: var(--font);
  font-size: 16px;
  margin-left: 2px;
}

.scroll-x .record__table {
  min-width: 760px;
}

.record__table {
  background: #fff;
  font-size: 15px;
}

.record__table th,
.record__table td {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.record__table thead th {
  background: var(--asphalt);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  padding-block: 10px;
}

.record__table td:first-child {
  font-family: var(--font-num);
  font-weight: 600;
  font-size: 17px;
}

.record__table td:last-child {
  white-space: nowrap;
}

.record__table b {
  font-family: var(--font-num);
  font-size: 20px;
}

.badge {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 700;
  background: var(--yellow);
  color: var(--asphalt);
  padding: 0 6px;
  vertical-align: 2px;
}

@media (max-width: 700px) {
  .record {
    padding: 56px 0;
  }
  .scores {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .scores > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 16px;
  }
  .scores dd {
    font-size: 36px;
  }
}

/* ---------- ICT施工 ---------- */
.ict {
  padding: 88px 0;
}

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

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

.ict__ph figcaption {
  font-size: 13px;
  color: var(--asphalt-2);
  margin-top: 6px;
}

.ict__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.ict__list li {
  background: var(--base);
  padding: 12px;
  font-size: 14px;
  border-radius: var(--radius);
}

.ict__list b {
  display: block;
  font-size: 15px;
  color: var(--green);
}

@media (max-width: 860px) {
  .ict {
    padding: 56px 0;
  }
  .ict__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .ict__list {
    grid-template-columns: 1fr;
  }
}

/* ---------- 災害対応 ---------- */
.disaster {
  position: relative;
  padding: 96px 0;
  background: var(--asphalt);
  color: #fff;
}

.disaster__bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

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

.disaster__inner {
  position: relative;
}

.disaster__body {
  max-width: 720px;
}

.disaster__body ul {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.disaster__body li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 15px;
}

@media (max-width: 700px) {
  .disaster {
    padding: 64px 0;
  }
}

/* ---------- 駐車場の舗装 ---------- */
.parking {
  padding: 88px 0;
}

.parking__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.parking__price {
  margin-top: 20px;
  border-top: 2px solid var(--asphalt);
}

.parking__price > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.parking__price dd {
  font-weight: 700;
  color: var(--green);
}

.parking__note {
  font-size: 14px;
  color: var(--asphalt-2);
  margin-top: 10px;
}

.parking__photos {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 12px;
  align-items: end;
}

.parking__photos img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.parking__before img {
  aspect-ratio: 1;
}

.parking__after img {
  aspect-ratio: 9 / 7;
}

.parking__photos figcaption {
  font-size: 13px;
  margin-top: 4px;
  color: var(--asphalt-2);
}

@media (max-width: 860px) {
  .parking {
    padding: 56px 0;
  }
  .parking__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- 採用 ---------- */
.recruit {
  padding: 88px 0;
  background: var(--base);
}

.recruit__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: start;
}

.recruit__lead {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 20px;
}

.recruit__table {
  background: #fff;
  font-size: 15px;
}

.recruit__table th,
.recruit__table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.recruit__table th {
  width: 100px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

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

.recruit__ph figcaption {
  font-size: 13px;
  margin-top: 6px;
  color: var(--asphalt-2);
}

@media (max-width: 860px) {
  .recruit {
    padding: 56px 0;
  }
  .recruit__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .recruit__ph img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 520px) {
  .recruit__table th,
  .recruit__table td {
    display: block;
    width: auto;
  }
  .recruit__table th {
    padding-block: 6px;
  }
}

/* ---------- 会社概要 ---------- */
.company {
  padding: 88px 0;
}

.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: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.company__table th {
  width: 130px;
  color: var(--asphalt-2);
  font-weight: 500;
}

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

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

@media (max-width: 860px) {
  .company {
    padding: 56px 0;
  }
  .company__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .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: 88px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

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

.contact__tel {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.contact__tel span {
  font-family: var(--font-num);
  font-weight: 600;
  background: var(--green);
  color: #fff;
  padding: 0 8px;
  border-radius: 3px;
}

.contact__tel a {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 44px);
}

.contact__time {
  font-size: 14px;
  color: var(--asphalt-2);
}

.form {
  display: flex;
  flex-direction: column;
  background: var(--base);
  padding: 28px;
  border-radius: var(--radius);
}

.form label {
  font-weight: 700;
  font-size: 14px;
  margin: 14px 0 6px;
}

.form label:first-child {
  margin-top: 0;
}

.form em {
  font-style: normal;
  font-size: 12px;
  color: #b5651d;
}

.form input,
.form select,
.form textarea {
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 16px;
}

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

.form .btn {
  margin-top: 22px;
}

@media (max-width: 860px) {
  .contact {
    padding: 56px 0;
  }
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .form {
    padding: 20px 16px;
  }
}

/* ---------- フッター ---------- */
.footer {
  background: var(--asphalt);
  color: #cfd0cf;
  padding: 30px 0;
  font-size: 14px;
  border-top: 4px dashed rgba(255, 255, 255, 0.85);
}

.footer__name {
  color: #fff;
  font-weight: 900;
  font-size: 17px;
}

.footer__copy {
  font-family: var(--font-num);
  font-size: 13px;
  margin-top: 6px;
  opacity: 0.75;
}
