/* ============================================
   CONSTRUCTION KOUMUTEN TEMPLATE
   地域密着の工務店 — 生成り × 木の茶色 × 深緑
   手書き風の見出し・CSSの木目・マスキングテープの写真
============================================ */

:root {
  --kinari: #f4ecdc; /* 生成り（背景） */
  --kinari-deep: #ebdfc8;
  --paper: #fbf7ee; /* メモ・カードの紙 */
  --wood: #a8713f; /* 木の茶色（メイン） */
  --wood-deep: #7a4c27;
  --wood-light: #d2a676;
  --green: #2f5a3e; /* 深緑（ボタン・アクセント） */
  --green-deep: #1f4029;
  --green-pale: #dfe6d3;
  --kaki: #c4622d; /* 柿色（日付・ちょっとした差し色） */
  --tape: rgba(222, 205, 150, 0.82); /* マスキングテープ */
  --ink: #3b2c1f; /* 本文（焦げ茶） */
  --muted: #74624f;
  --line: rgba(59, 44, 31, 0.18);
  --font-title: "Kaisei Opti", serif; /* 見出し */
  --font-hand: "Yomogi", cursive; /* 手書き風（小見出し・メモ） */
  --font-body: "Zen Maru Gothic", sans-serif; /* 本文 */
  --container: 1140px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1); /* 跳ねずに静かに止まる */

  /* 木目（CSSだけで描く）：年輪のすじ ＋ 濃淡のむら */
  --woodgrain:
    repeating-linear-gradient(
      94deg,
      rgba(90, 52, 22, 0) 0 9px,
      rgba(90, 52, 22, 0.13) 9px 10px,
      rgba(90, 52, 22, 0) 10px 23px,
      rgba(90, 52, 22, 0.08) 23px 25px
    ),
    repeating-linear-gradient(
      88deg,
      rgba(255, 235, 200, 0) 0 31px,
      rgba(255, 235, 200, 0.12) 31px 34px,
      rgba(255, 235, 200, 0) 34px 57px
    ),
    radial-gradient(ellipse 60px 14px at 22% 40%, rgba(90, 52, 22, 0.28), transparent 70%),
    radial-gradient(ellipse 44px 10px at 76% 70%, rgba(90, 52, 22, 0.22), transparent 70%),
    linear-gradient(180deg, #b47c48, #a06a3a 55%, #ad7642);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background-color: var(--kinari);
  /* うっすら方眼（工務店の打合せノート） */
  background-image:
    linear-gradient(rgba(47, 90, 62, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 90, 62, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

/* 傾けた写真や付箋が画面の外にはみ出さないように */
main,
.footer {
  overflow-x: clip;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

.sp-only {
  display: none;
}

/* ---------- スキップリンク／フォーカス ---------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 1000;
  padding: 8px 16px;
  color: #fff;
  background: var(--green);
  border-radius: 6px;
}

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

:focus-visible {
  outline: 3px dashed var(--kaki);
  outline-offset: 3px;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  border: 2px solid var(--ink);
  border-radius: 999px 999px 999px 999px / 60px 70px 60px 70px; /* 少しいびつな丸 */
  box-shadow: 3px 4px 0 var(--ink);
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s;
}

.btn:hover {
  transform: translate(-1px, -2px);
  box-shadow: 5px 6px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}

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

.btn--brown {
  color: #fff;
  background: var(--wood-deep);
}

.btn--line {
  color: var(--ink);
  background: var(--paper);
}

/* ---------- 写真（白フチ＋マスキングテープ） ---------- */
.photo {
  position: relative;
  padding: 8px 8px 10px;
  background: #fff;
  box-shadow: 0 2px 0 rgba(59, 44, 31, 0.08), 0 10px 22px -12px rgba(59, 44, 31, 0.45);
}

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

.photo figcaption {
  padding-top: 6px;
  font-family: var(--font-hand);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.photo--tape::before,
.photo--tape::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 86px;
  height: 24px;
  background: var(--tape);
  /* テープの端のギザギザ */
  -webkit-mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent 0);
  mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent 0);
}

.photo--tape::before {
  top: -10px;
  left: 18px;
  transform: rotate(-6deg);
}

.photo--tape::after {
  top: -9px;
  right: 16px;
  transform: rotate(5deg);
  background: rgba(186, 211, 180, 0.8);
}

/* ---------- タグ ---------- */
.tag {
  display: inline-block;
  padding: 2px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border-radius: 4px;
}

.tag--new {
  background: var(--green);
}

.tag--reform {
  background: var(--wood);
}

.tag--care {
  background: var(--kaki);
}

/* ============================================
   ヘッダー（木の看板）
============================================ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: box-shadow 0.3s;
}

/* 背景は疑似要素に（ヘッダー本体に効果を付けるとモバイルメニューが閉じ込められるため） */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(244, 236, 220, 0.94);
  border-bottom: 3px solid var(--wood);
  transition: background 0.3s;
}

.header.is-scrolled {
  box-shadow: 0 6px 16px -10px rgba(59, 44, 31, 0.5);
}

.header__inner {
  position: relative;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--wood-deep);
  flex-shrink: 0;
}

.logo__mark {
  width: 44px;
  height: 44px;
  color: var(--green);
}

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

.logo__sub {
  font-family: var(--font-hand);
  font-size: 12px;
  color: var(--muted);
}

.logo__main {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s;
}

.nav__link:hover {
  background: var(--kinari-deep);
}

.nav__link--cta {
  margin-left: 6px;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  padding: 0 18px;
}

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

.nav__tel {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 3;
  width: 48px;
  height: 48px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.2s;
}

.nav-toggle span:nth-child(1) {
  top: 16px;
}
.nav-toggle span:nth-child(2) {
  top: 22px;
  width: 14px;
}
.nav-toggle span:nth-child(3) {
  top: 28px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============================================
   セクション共通・見出し
============================================ */
.section {
  position: relative;
  padding: 104px 0;
}

.sec-head {
  margin-bottom: 48px;
  text-align: center;
}

.sec-head--left {
  text-align: left;
}

.sec-head__hand {
  font-family: var(--font-hand);
  font-size: 20px;
  color: var(--kaki);
  transform: rotate(-3deg);
  display: inline-block;
}

.sec-head__title {
  font-size: clamp(30px, 4.4vw, 46px);
  color: var(--ink);
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.sec-head__title--small {
  font-size: 28px;
  margin-bottom: 20px;
}

.sec-head__line {
  display: block;
  width: 180px;
  height: 14px;
  margin: 10px auto 0;
  color: var(--wood);
}

.sec-head--left .sec-head__line {
  margin-left: 0;
}

/* 波線を手で引くように（JSがあるときだけ） */
.js .sec-head__line use {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  transition: stroke-dashoffset 1.1s ease-out 0.3s;
}

.js .is-visible .sec-head__line use,
.js .sec-head.is-visible .sec-head__line use {
  stroke-dashoffset: 0;
}

.sub-title {
  font-size: 22px;
  margin: 64px 0 20px;
  padding-left: 14px;
  border-left: 6px solid var(--wood);
}

/* ---------- リビール（JSが動いたときだけ隠す） ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

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

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 0;
  overflow: hidden;
}

.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.hero__inner > * {
  min-width: 0;
}

.hero__note {
  display: inline-block;
  padding: 4px 14px;
  font-family: var(--font-hand);
  font-size: 16px;
  color: var(--green-deep);
  background: var(--green-pale);
  border-radius: 4px;
  transform: rotate(-2deg);
}

.hero__title {
  margin: 20px 0 22px;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.hero__line {
  display: block;
}

/* ヒーローの文字はJSタイマーで必ず表示状態にする（CSSアニメが止まっても大丈夫） */
.js .hero__line {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.js .hero__line:nth-child(2) {
  transition-delay: 0.12s;
}

.js .hero__line:nth-child(3) {
  transition-delay: 0.24s;
}

.js .hero.is-ready .hero__line {
  opacity: 1;
  transform: none;
}

/* 「同じ顔」に手描きのマーカー */
.hero__mark {
  position: relative;
  white-space: nowrap;
  color: var(--green-deep);
}

.hero__mark::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 4px;
  z-index: -1;
  height: 0.42em;
  background: rgba(210, 166, 118, 0.55);
  border-radius: 40% 60% 50% 50%;
  transform: rotate(-1.5deg);
}

.hero__lead {
  max-width: 34em;
  color: var(--ink);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 34px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
}

.hero__facts li {
  font-family: var(--font-title);
  font-size: 16px;
  line-height: 1.2;
}

.hero__facts b {
  font-size: 40px;
  color: var(--wood-deep);
  margin-right: 2px;
}

.hero__facts span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-hand);
  font-size: 14px;
  color: var(--muted);
}

.hero__collage {
  position: relative;
  min-height: 560px;
}

.hero__photo--main {
  width: 74%;
  margin-left: auto;
  transform: rotate(2.2deg);
}

.hero__photo--main img {
  aspect-ratio: 5 / 6;
}

.hero__photo--sub {
  position: absolute;
  left: 0;
  bottom: -26px;
  width: 44%;
  transform: rotate(-4deg);
}

.hero__photo--sub img {
  aspect-ratio: 7 / 5;
}

/* 付箋のメモ */
.hero__memo {
  position: absolute;
  top: 10px;
  left: 6%;
  width: 128px;
  padding: 16px 10px 14px;
  font-family: var(--font-hand);
  font-size: 18px;
  line-height: 1.4;
  text-align: center;
  color: var(--ink);
  background: #f6dc8e;
  box-shadow: 2px 6px 10px -6px rgba(59, 44, 31, 0.5);
  transform: rotate(-7deg);
  transform-origin: 50% 0;
}

.hero__memo small {
  font-size: 14px;
  color: var(--kaki);
}

/* お知らせの木の板 */
.news-board {
  position: relative;
  max-width: 1080px;
  margin: 64px auto 0;
  padding: 26px 34px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 32px;
  align-items: center;
  color: #fff8ec;
  background: var(--woodgrain);
  border-radius: 10px 10px 0 0;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.12);
}

/* 板を留める釘 */
.news-board::before,
.news-board::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 9px;
  height: 9px;
  background: radial-gradient(circle at 35% 35%, #e8e0d0, #6b6156);
  border-radius: 50%;
}

.news-board::before {
  left: 12px;
}
.news-board::after {
  right: 12px;
}

.news-board__title {
  font-family: var(--font-hand);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25);
}

.news-board__list li {
  display: flex;
  gap: 16px;
  padding: 6px 0;
  font-size: 15px;
  border-bottom: 1px dashed rgba(255, 248, 236, 0.35);
}

.news-board__list li:last-child {
  border-bottom: 0;
}

.news-board__list time {
  flex-shrink: 0;
  font-family: var(--font-title);
  opacity: 0.85;
}

.news-board__list a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 248, 236, 0.4);
  text-underline-offset: 4px;
}

.news-board__list a:hover {
  text-decoration-color: #fff;
}

/* ============================================
   できること
============================================ */
.section--service {
  background: var(--paper);
}

/* 上端に木の板を一枚 */
.section--service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 12px;
  background: var(--woodgrain);
}

.service-main {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.service-main__img {
  transform: rotate(-1.5deg);
}

.service-main__img img {
  aspect-ratio: 11 / 7.6;
}

.service-main__no,
.service-item__no {
  font-family: var(--font-hand);
  font-size: 18px;
  color: var(--kaki);
}

.service-main h3 {
  font-size: 32px;
  margin-bottom: 14px;
}

.spec {
  margin-top: 22px;
  border-top: 2px dotted var(--line);
}

.spec div {
  display: grid;
  grid-template-columns: 8.5em 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 2px dotted var(--line);
  font-size: 15px;
}

.spec dt {
  font-weight: 700;
  color: var(--green-deep);
}

/* 4つの事業は、カードではなく「木札」をずらして並べる */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 36px;
}

.service-item {
  position: relative;
  padding: 26px 28px 24px 34px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 4px 14px 6px 12px;
}

/* 左側に木の帯 */
.service-item::before {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: -2px;
  width: 14px;
  background: var(--woodgrain);
  border-radius: 4px 0 0 12px;
}

.service-item--tilt {
  margin-top: 28px;
}

.service-item h3 {
  font-size: 22px;
  margin: 2px 0 8px;
}

.service-item p {
  font-size: 15px;
}

.service-item__price {
  margin-top: 12px;
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 17px !important;
  color: var(--green-deep);
  background: linear-gradient(transparent 60%, rgba(210, 166, 118, 0.45) 60%);
}

/* ============================================
   施工事例
============================================ */
.works-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -16px 0 36px;
}

.chip {
  min-height: 44px;
  padding: 6px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s var(--ease);
}

.chip:hover {
  transform: translateY(-2px);
}

.chip.is-active {
  color: #fff;
  background: var(--wood-deep);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

.work {
  transition:
    opacity 0.35s,
    transform 0.4s var(--ease);
}

.work:nth-child(odd) .photo {
  transform: rotate(-1.4deg);
}

.work:nth-child(even) .photo {
  transform: rotate(1.2deg);
}

.work .photo img {
  aspect-ratio: 4 / 3;
}

.work--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 26px;
  align-items: center;
}

.work--rev {
  grid-template-columns: 1fr 1.4fr;
}

.work--rev .photo {
  order: 2;
}

.work--wide .photo img {
  aspect-ratio: 25 / 16;
}

.work.is-hidden {
  display: none;
}

.work__body {
  padding-top: 16px;
}

.work h3 {
  font-size: 19px;
  margin: 8px 0 6px;
}

.work__meta div {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.8;
}

.work__meta dt {
  flex-shrink: 0;
  width: 3em;
  color: var(--muted);
}

.work__memo {
  margin-top: 12px;
  font-family: var(--font-hand);
  font-size: 16px;
  color: var(--green-deep);
}

.works-empty {
  font-family: var(--font-hand);
  font-size: 18px;
}

/* ============================================
   家づくりの流れ
============================================ */
.section--flow {
  background: var(--green-pale);
}

.flow-intro {
  text-align: center;
  margin: -20px 0 40px;
}

.flow-intro strong {
  color: var(--kaki);
}

.flow {
  position: relative;
}

.flow__path {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
}

.flow__path path {
  fill: none;
  stroke: var(--wood);
  stroke-width: 3;
  stroke-linecap: round;
}

.flow__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.step {
  text-align: center;
}

.step__no {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 4px auto 16px;
  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  background: var(--green);
  border: 3px solid var(--kinari);
  border-radius: 52% 48% 55% 45% / 48% 55% 45% 52%; /* 手で描いた丸 */
  box-shadow: 0 0 0 2px var(--green);
}

.step:nth-child(even) .step__no {
  background: var(--wood);
  box-shadow: 0 0 0 2px var(--wood);
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  text-align: left;
}

.step__time {
  display: inline-block;
  margin-top: 10px;
  padding: 0 10px;
  font-family: var(--font-hand);
  font-size: 15px;
  background: var(--paper);
  border: 1px dashed var(--wood);
  border-radius: 4px;
}

/* ============================================
   スタッフ
============================================ */
.staff-wrap {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: start;
}

.staff--big {
  display: grid;
  gap: 20px;
}

.staff--big .staff__photo {
  width: 82%;
  transform: rotate(-2deg);
}

.staff--big .staff__photo img {
  aspect-ratio: 5 / 6;
}

.staff__role {
  font-family: var(--font-hand);
  font-size: 16px;
  color: var(--kaki);
}

.staff__name {
  font-size: 26px;
  line-height: 1.3;
}

.staff__name small {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.staff__say {
  position: relative;
  margin: 14px 0;
  padding: 14px 18px;
  font-family: var(--font-hand);
  font-size: 17px;
  line-height: 1.7;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 18px 18px 18px 4px;
}

.staff__data li {
  font-size: 14px;
  padding-left: 1.2em;
  text-indent: -1.2em;
}

.staff__data li::before {
  content: "― ";
  color: var(--wood);
}

.staff-small {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}

.staff--small:nth-child(2) {
  margin-top: 36px;
}

.staff--small:nth-child(3) {
  margin-top: -24px;
}

.staff--small .staff__photo,
.staff__face {
  width: 112px;
  height: 112px;
  margin-bottom: 10px;
}

.staff--small .staff__photo {
  padding: 5px;
  border-radius: 50%;
}

.staff--small .staff__photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* 写真がない人は、ひらがな一文字の似顔絵ふう */
.staff__face {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-hand);
  font-size: 40px;
  color: #fff;
  background: var(--kaki);
  border: 3px solid #fff;
  border-radius: 50% 46% 52% 48%;
  box-shadow: 0 0 0 2px var(--ink);
}

.staff__face--green {
  background: var(--green);
}

.staff__face--brown {
  background: var(--wood);
}

.staff--small .staff__name {
  font-size: 20px;
}

.staff--small .staff__say {
  font-size: 15px;
  padding: 10px 14px;
}

/* ============================================
   お施主さんの声（ノートの切れはし）
============================================ */
.section--voice {
  background: var(--kinari-deep);
}

.voices {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 30px;
  align-items: start;
}

.voice {
  position: relative;
  padding: 30px 26px 22px;
  font-family: var(--font-hand);
  font-size: 17px;
  line-height: 36px;
  background-color: #fffdf6;
  /* ノートの罫線 */
  background-image: repeating-linear-gradient(transparent 0 35px, rgba(47, 90, 62, 0.16) 35px 36px);
  background-position: 0 30px;
  box-shadow: 0 10px 18px -12px rgba(59, 44, 31, 0.5);
}

.voice--a {
  transform: rotate(-1.6deg);
}

.voice--b {
  margin-top: 40px;
  transform: rotate(1.4deg);
}

.voice--c {
  margin-top: 10px;
  transform: rotate(-0.8deg);
  background-color: #fbf2d4;
}

/* 画びょう */
.voice::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  background: radial-gradient(circle at 35% 35%, #f0a07a, var(--kaki) 60%);
  border-radius: 50%;
  box-shadow: 1px 3px 3px rgba(0, 0, 0, 0.25);
}

.voice--b::before {
  background: radial-gradient(circle at 35% 35%, #8fb79a, var(--green) 60%);
}

.voice footer {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

/* ============================================
   見学会・イベント
============================================ */
.event-main {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 8px;
}

/* 日付は柿色の大きな丸シール */
.event-main__date {
  position: absolute;
  top: -34px;
  left: -18px;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  width: 134px;
  height: 134px;
  font-family: var(--font-title);
  color: #fff;
  line-height: 1.15;
  text-align: center;
  background: var(--kaki);
  border-radius: 50%;
  transform: rotate(-10deg);
  box-shadow: 0 6px 12px -6px rgba(0, 0, 0, 0.4);
}

.event-main__month {
  font-size: 16px;
}

.event-main__day {
  font-size: 28px;
  font-weight: 700;
}

.event-main__day small {
  font-size: 13px;
}

.event-main__week {
  font-size: 13px;
}

.event-main__img img {
  aspect-ratio: 3 / 2;
}

.event-main__body h3 {
  font-size: 26px;
  margin: 10px 0;
}

.event-main__how {
  margin: 18px 0 12px;
  font-family: var(--font-hand);
  font-size: 17px;
  color: var(--green-deep);
}

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

.event-sub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 2px solid var(--ink);
}

.event-sub li {
  padding: 22px 24px 8px;
  border-right: 2px dashed var(--line);
}

.event-sub li:last-child {
  border-right: 0;
}

.event-sub__date {
  font-family: var(--font-hand);
  font-size: 18px;
  color: var(--kaki);
}

.event-sub h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.event-sub p:not(.event-sub__date) {
  font-size: 15px;
}

/* ============================================
   安全・品質（深緑の黒板）
============================================ */
.section--safety {
  background: var(--paper);
}

.safety-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 44px;
  align-items: center;
}

/* 外側が木枠、内側が黒板 */
.safety-board {
  padding: 14px;
  background: var(--woodgrain);
  border-radius: 4px;
  box-shadow: 0 14px 24px -14px rgba(0, 0, 0, 0.5);
}

.safety-board__in {
  padding: 40px 40px 32px;
  color: #f2efe2;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.06), transparent 60%),
    var(--green-deep);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.25);
}

.safety-board__title {
  font-family: var(--font-hand);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.safety-board__sub {
  margin-bottom: 20px;
  font-size: 14px;
  opacity: 0.8;
}

.check-list li {
  position: relative;
  padding: 12px 0 12px 40px;
  font-size: 15px;
  border-bottom: 1px dashed rgba(242, 239, 226, 0.25);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 20px;
  height: 20px;
  border: 2px solid #f2efe2;
  border-radius: 3px 5px 4px 6px;
}

/* チョークのチェック */
.check-list li::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 14px;
  width: 9px;
  height: 17px;
  border: solid #f6dc8e;
  border-width: 0 3px 3px 0;
  transform: rotate(40deg);
}

.check-list strong {
  display: block;
  font-family: var(--font-hand);
  font-size: 19px;
  font-weight: 400;
  color: #f6dc8e;
}

.safety-count {
  margin-bottom: 30px;
  padding: 18px;
  text-align: center;
  font-family: var(--font-title);
  border: 3px double var(--green);
  border-radius: 6px;
  transform: rotate(1.5deg);
}

.safety-count span {
  font-size: 18px;
}

.safety-count b {
  display: block;
  font-size: 58px;
  line-height: 1.1;
  color: var(--green);
}

.safety-count small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
}

.safety-side .photo {
  transform: rotate(-2deg);
}

.safety-side img {
  aspect-ratio: 7 / 5.2;
}

/* ============================================
   うかがえる範囲（手描き地図）
============================================ */
.area-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.area-list {
  margin: 20px 0 12px;
}

.area-list li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-weight: 500;
}

.area-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.area-note {
  font-size: 14px;
  color: var(--muted);
}

.area-map {
  padding: 16px;
  background: #fffdf4;
  border: 2px solid var(--ink);
  border-radius: 10px 4px 12px 6px;
  transform: rotate(0.8deg);
  box-shadow: 6px 8px 0 var(--kinari-deep);
}

.area-map svg {
  display: block;
  width: 100%;
  height: auto;
}

.map-mountain path {
  fill: #dfe6d3;
  stroke: var(--green);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.map-river {
  fill: none;
  stroke: #8fb3c4;
  stroke-width: 10;
  stroke-linecap: round;
  opacity: 0.8;
}

.map-road {
  fill: none;
  stroke: var(--wood-light);
  stroke-width: 6;
  stroke-linecap: round;
}

.map-road--sub {
  stroke-width: 4;
  stroke-dasharray: 2 8;
  stroke: var(--wood);
}

.map-range {
  fill: rgba(196, 98, 45, 0.06);
  stroke: var(--kaki);
  stroke-width: 2.5;
  stroke-dasharray: 10 8;
}

.js .area-map .map-range {
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 2s ease-out;
}

.js .area-map.is-visible .map-range {
  stroke-dashoffset: 0;
}

.map-house path {
  fill: var(--kaki);
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linejoin: round;
}

.map-house rect {
  fill: #fff;
}

.map-tree circle {
  fill: #9cb88a;
  stroke: var(--green);
  stroke-width: 2;
}

.map-label {
  font-family: var(--font-hand);
  font-size: 17px;
  fill: var(--ink);
  text-anchor: middle;
}

.map-label--main {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  fill: var(--kaki);
}

.map-label--river {
  fill: #4f7f94;
  font-size: 15px;
}

.map-label--range {
  fill: var(--kaki);
}

/* ============================================
   会社のこと
============================================ */
.section--company {
  background: var(--paper);
}

.company-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
  border: 2px solid var(--ink);
}

.info-table th,
.info-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px dashed var(--line);
}

.info-table th {
  width: 9.5em;
  font-weight: 700;
  color: var(--green-deep);
  background: var(--green-pale);
  white-space: nowrap;
}

/* 沿革は木の柱に札を掛けたように */
.history {
  position: relative;
}

.history__title {
  font-size: 26px;
  margin-bottom: 20px;
}

.history__list {
  position: relative;
  padding-left: 36px;
}

.history__list::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 8px;
  width: 14px;
  background: var(--woodgrain);
  border-radius: 3px;
}

.history__list li {
  position: relative;
  padding: 0 0 22px 14px;
  font-size: 15px;
}

.history__list li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 10px;
  width: 26px;
  height: 2px;
  background: var(--ink);
}

.history__year {
  display: block;
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--wood-deep);
}

/* ============================================
   採用
============================================ */
.section--recruit {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    var(--kinari);
}

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

.recruit-hero__img {
  transform: rotate(-2deg);
}

.recruit-hero__img img {
  aspect-ratio: 9 / 6.2;
}

.recruit-hero__text .sec-head__title {
  margin: 4px 0 18px;
}

.table-wrap--scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.scroll-hint {
  display: none;
  margin-bottom: 6px;
  font-family: var(--font-hand);
  font-size: 15px;
  color: var(--kaki);
  text-align: right;
}

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

.job-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
  border: 2px solid var(--ink);
}

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

.job-table thead th {
  font-family: var(--font-title);
  font-size: 17px;
  color: #fff;
  background: var(--wood-deep);
}

.job-table tbody th {
  width: 7.5em;
  white-space: nowrap;
  color: var(--green-deep);
  background: var(--green-pale);
}

.recruit-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
}

.senpai__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.senpai__item .staff__face {
  width: 76px;
  height: 76px;
  font-size: 30px;
}

.senpai__name {
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 4px;
}

.senpai__item p:not(.senpai__name) {
  font-size: 15px;
}

.day__list {
  padding: 22px 24px;
  background: var(--paper);
  border: 2px dashed var(--wood);
  border-radius: 8px;
}

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

.day__list time {
  flex-shrink: 0;
  width: 3.4em;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--kaki);
}

/* ---------- フォーム ---------- */
.form {
  padding: 40px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 8px 10px 0 var(--kinari-deep);
}

.form--entry {
  margin-top: 72px;
  border-top: 14px solid var(--wood);
}

.form__title {
  font-size: 28px;
}

.form__lead {
  margin: 4px 0 24px;
  font-size: 15px;
  color: var(--muted);
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 22px;
  margin-bottom: 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field__label {
  font-size: 15px;
  font-weight: 700;
}

.field__label em {
  margin-left: 8px;
  padding: 1px 7px;
  font-size: 12px;
  font-style: normal;
  color: #fff;
  background: var(--kaki);
  border-radius: 3px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 6px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  outline: none;
  background: #fff;
}

.field .is-invalid,
.is-invalid {
  border-color: var(--kaki) !important;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio {
  position: relative;
  cursor: pointer;
}

.radio input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.radio span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 18px;
  font-size: 15px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 999px;
}

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

.radio input:focus-visible + span {
  outline: 3px dashed var(--kaki);
  outline-offset: 2px;
}

.radio-row.is-invalid {
  padding: 4px;
  border: 2px solid var(--kaki);
  border-radius: 8px;
}

.form__msg {
  min-height: 1.6em;
  margin-top: 14px;
  font-family: var(--font-hand);
  font-size: 17px;
  color: var(--green-deep);
}

/* ============================================
   相談・見積り
============================================ */
.section--contact {
  background: var(--green-pale);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-tel {
  margin-top: 28px;
  padding: 22px;
  background: var(--paper);
  border: 2px dashed var(--green);
  border-radius: 8px;
}

.contact-tel span {
  display: block;
  font-family: var(--font-hand);
  font-size: 17px;
  color: var(--kaki);
}

.contact-tel a {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: 0.04em;
}

.contact-tel small {
  display: block;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================
   アクセス
============================================ */
.section--access {
  padding-bottom: 120px;
}

.access-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.access-dl div {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 2px dotted var(--line);
}

.access-dl dt {
  font-weight: 700;
  color: var(--green-deep);
}

.access-map {
  padding: 8px;
  background: #fff;
  border: 2px solid var(--ink);
  transform: rotate(-0.8deg);
}

.access-map iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

/* ============================================
   フッター（木の板）
============================================ */
.footer {
  color: #fff8ec;
  background: var(--woodgrain);
  padding: 48px 0 20px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}

.footer__brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer__brand .logo__mark {
  color: #fff8ec;
  flex-shrink: 0;
}

.footer__name {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
}

.footer__addr,
.footer__license {
  font-size: 14px;
  opacity: 0.9;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-content: flex-start;
}

.footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 14px;
}

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

.footer__copy {
  margin-top: 28px;
  font-size: 12px;
  text-align: center;
  opacity: 0.8;
}

/* ============================================
   レスポンシブ
============================================ */
@media (max-width: 1100px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 90px 32px 40px;
    background: var(--kinari);
    background-image:
      linear-gradient(rgba(47, 90, 62, 0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(47, 90, 62, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-16px);
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease),
      visibility 0.3s;
  }

  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    /* 開くときは visibility をすぐ切り替える */
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease),
      visibility 0s;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }

  .nav__link {
    width: 100%;
    min-height: 54px;
    font-family: var(--font-title);
    font-size: 19px;
    border-bottom: 2px dotted var(--line);
    border-radius: 0;
  }

  .nav__link--cta {
    margin: 18px 0 0;
    justify-content: center;
    border-radius: 999px;
    border-bottom: 0;
  }

  .nav__tel {
    display: block;
    max-width: 420px;
    width: 100%;
    margin: 24px auto 0;
    font-size: 14px;
    text-align: center;
    color: var(--muted);
  }

  .nav__tel a {
    font-family: var(--font-title);
    font-size: 22px;
    color: var(--green-deep);
  }
}

@media (max-width: 960px) {
  .section {
    padding: 80px 0;
  }

  .hero__inner,
  .service-main,
  .staff-wrap,
  .safety-wrap,
  .area-wrap,
  .company-wrap,
  .recruit-hero,
  .recruit-cols,
  .contact-wrap,
  .access-wrap {
    grid-template-columns: 1fr;
  }

  .hero__collage {
    min-height: 0;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 120px;
  }

  .hero__photo--sub {
    bottom: 0;
  }

  .news-board {
    margin: 48px 16px 0;
    grid-template-columns: 1fr;
  }

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

  .work--wide {
    grid-column: 1 / -1;
  }

  .work--rev {
    grid-column: auto;
    display: block;
  }

  .work--rev .photo {
    order: 0;
  }

  .work--rev .photo img {
    aspect-ratio: 4 / 3;
  }

  .flow__path {
    display: none;
  }

  .flow__list {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 560px;
    margin: 0 auto;
  }

  /* 丸数字をつなぐ縦の点線 */
  .flow__list::before {
    content: "";
    position: absolute;
    top: 30px;
    bottom: 40px;
    left: 31px;
    border-left: 3px dashed var(--wood);
  }

  .step {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 18px;
    text-align: left;
    padding: 0 0 26px;
  }

  .step__no {
    grid-row: span 3;
    margin: 0;
  }

  .step__time {
    justify-self: start;
  }

  .voices {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .voice--b,
  .voice--c {
    margin-top: 0;
  }

  .event-main {
    grid-template-columns: 1fr;
    padding: 30px 24px;
    margin-top: 30px;
  }

  .event-sub {
    grid-template-columns: 1fr;
  }

  .event-sub li {
    border-right: 0;
    border-bottom: 2px dashed var(--line);
    padding: 18px 4px;
  }

  .staff--big .staff__photo {
    width: 70%;
    max-width: 360px;
  }

  .safety-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
  }

  .safety-count {
    margin-bottom: 0;
  }

  .recruit-hero__img {
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 66px;
  }

  body {
    font-size: 15px;
  }

  .container {
    padding: 0 18px;
  }

  .sp-only {
    display: inline;
  }

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

  .logo__main {
    font-size: 19px;
  }

  .logo__sub {
    font-size: 12px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 32px);
  }

  .hero__inner {
    padding: 0 18px;
    gap: 36px;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hero__facts {
    gap: 12px 20px;
  }

  .hero__facts b {
    font-size: 30px;
  }

  .hero__memo {
    width: 104px;
    font-size: 15px;
    left: 0;
  }

  .news-board {
    margin: 40px 10px 0;
    padding: 22px 18px;
  }

  .news-board__list li {
    flex-direction: column;
    gap: 0;
  }

  .service-list,
  .works-grid,
  .staff-small {
    grid-template-columns: 1fr;
  }

  .service-item--tilt {
    margin-top: 0;
  }

  .safety-side {
    grid-template-columns: 1fr;
  }

  .work--wide {
    display: block;
  }

  .work--rev .photo {
    order: 0;
  }

  .staff--small:nth-child(2),
  .staff--small:nth-child(3) {
    margin-top: 0;
  }

  .staff--small {
    display: grid;
    grid-template-columns: 84px 1fr;
    column-gap: 16px;
    align-items: start;
  }

  .staff--small .staff__photo,
  .staff--small .staff__face {
    width: 84px;
    height: 84px;
    grid-row: span 3;
    font-size: 30px;
  }

  .staff--small .staff__say {
    grid-column: 1 / -1;
  }

  .event-main__date {
    width: 104px;
    height: 104px;
    top: -30px;
    left: -6px;
  }

  .event-main__day {
    font-size: 21px;
    white-space: nowrap;
  }

  .event-main__day small {
    font-size: 11px;
  }

  .event-main__btns .btn {
    width: 100%;
  }

  .safety-board {
    padding: 10px;
  }

  .safety-board__in {
    padding: 26px 18px;
  }

  /* 黒板の木枠（border-image は重ねた背景が使えないので疑似要素で） */
.safety-board::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: -1;
  background: var(--woodgrain);
  border-radius: 3px;
}

.safety-board__title {
    font-size: 30px;
  }

  /* 会社概要の表はスマホで縦積み */
  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    padding: 8px 14px;
    border-bottom: 0;
  }

  .info-table td {
    padding: 8px 14px 14px;
  }

  .form {
    padding: 26px 18px;
  }

  .form__grid {
    grid-template-columns: 1fr;
  }

  .form .btn {
    width: 100%;
  }

  .contact-tel a {
    font-size: 27px;
  }

  .access-dl div {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .access-map iframe {
    height: 280px;
  }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal],
  .js .hero__line {
    opacity: 1;
    transform: none;
  }

  .js .sec-head__line use,
  .js .area-map .map-range {
    stroke-dashoffset: 0;
  }
}
