/* ============================================
   BAKERY SEIPAN TEMPLATE
   町の製パン所（卸＋直売） — 白×鋼の青×安全の黄
   写真は少なめ。地図・表・数字・図で組み立てる
   ============================================ */

:root {
  /* 基本の色 */
  --white: #ffffff;
  --paper: #f4f6f7; /* 薄いグレーの面（セクションの切り替え） */
  --steel: #2f4f66; /* 鋼の青（見出し・ボタン・図の線） */
  --steel-deep: #1f3647;
  --steel-soft: #5d7a8f;
  --steel-pale: #dfe7ed;
  --yellow: #f2c230; /* 安全の黄（線・番号・強調の下地だけに使う） */
  --yellow-pale: #fbefc4;

  --text: #1e2a33;
  --muted: #5a6872;
  --line: #cfd8de;
  --line-strong: #9fb0bc;

  /* フォント：数字・英字は Oswald、本文は読みやすい BIZ UDPGothic */
  --font-num: "Oswald", "BIZ UDPGothic", sans-serif;
  --font-body: "BIZ UDPGothic", "Hiragino Sans", "Noto Sans JP", sans-serif;

  --container: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 200;
  padding: 8px 14px;
  background: var(--steel);
  color: var(--white);
}

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

.code {
  font-family: var(--font-num);
  letter-spacing: 0.08em;
}

.sp-only {
  display: none;
}

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

  .pc-only {
    display: none;
  }
}

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

/* 上端に黄色の細い線（工場の安全ラインのイメージ） */
.header::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--yellow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--container);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.logo__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 40px;
  background: var(--steel);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.logo__body {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo__name {
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.08em;
}

.logo__sub {
  font-family: var(--font-num);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  display: block;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav__link:hover {
  color: var(--steel);
  border-bottom-color: var(--yellow);
}

.nav__link--cta {
  margin-left: 8px;
  padding: 9px 16px;
  background: var(--steel);
  color: var(--white);
  border-bottom: 0;
}

.nav__link--cta:hover {
  background: var(--steel-deep);
  color: var(--white);
}

.nav-toggle {
  display: none;
}

@media (max-width: 1000px) {
  .nav-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    place-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--steel);
    background: var(--white);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--steel);
    transition: transform 0.3s, opacity 0.3s;
  }

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

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

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

  /* モバイルメニュー：ヘッダーの下に白い面がフェード＋少しだけ下へ */
  .nav {
    position: fixed;
    top: calc(var(--header-h) + 4px);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px var(--gutter) 40px;
    background: var(--white);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateY(-16px);
    transition: transform 0.3s var(--ease-out);
  }

  .nav.is-open .nav__list {
    transform: none;
  }

  .nav__link {
    padding: 16px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .nav__link--cta {
    margin: 24px 0 0;
    padding: 16px;
    text-align: center;
  }
}

/* ---------- 共通：見出し ---------- */
.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.sec-head {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.sec-head__no {
  display: inline-block;
  margin: 0 0 10px;
  padding: 0 0 2px;
  font-family: var(--font-num);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--steel);
  border-bottom: 3px solid var(--yellow);
}

.sec-head__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.45;
  letter-spacing: 0.06em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.sec-head__lead {
  max-width: 44em;
  margin: 16px 0 0;
  color: var(--muted);
}

/* 見出しと説明を横並びにする版 */
.sec-head--row {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(24px, 4vw, 56px);
  align-items: end;
}

.sec-head--row .sec-head__no {
  grid-column: 1 / -1;
  justify-self: start;
}

.sec-head--row .sec-head__lead {
  margin: 0;
}

@media (max-width: 820px) {
  .sec-head--row {
    display: block;
  }

  .sec-head--row .sec-head__lead {
    margin-top: 16px;
  }
}

/* ---------- Hero：地図が主役 ---------- */
.hero {
  padding: clamp(40px, 6vw, 64px) 0 0;
  background: var(--white);
}

.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero__eyebrow .code {
  padding: 2px 8px;
  font-size: 0.78rem;
  color: var(--steel);
  border: 1px solid var(--steel);
}

.hero__title {
  margin: 0 0 clamp(28px, 4vw, 40px);
  font-size: clamp(1.6rem, 4.2vw, 3rem);
  line-height: 1.4;
  letter-spacing: 0.04em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* 地図＋配達エリアの重ね */
.hero__map-wrap {
  position: relative;
  max-width: calc(var(--container) + 160px);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero__map {
  position: relative;
  height: clamp(420px, 62vh, 620px);
  border: 1px solid var(--line-strong);
  background: var(--steel-pale);
}

.hero__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  /* 地図の色を少し落として、上に重ねた一覧を読みやすく */
  filter: grayscale(0.55) contrast(1.05);
}

.area-panel {
  position: absolute;
  top: 64px;
  left: calc(var(--gutter) + 28px);
  width: min(400px, 44%);
  padding: 22px 24px 18px;
  background: var(--white);
  border-top: 4px solid var(--steel);
  box-shadow: 0 6px 24px rgba(31, 54, 71, 0.18);
}

.area-panel__label {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 1rem;
}

.area-panel__label span {
  margin-left: 8px;
  font-family: var(--font-num);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--muted);
}

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

.area-list li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.area-list__no {
  font-family: var(--font-num);
  font-weight: 600;
  color: var(--steel);
}

.area-list__no::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  background: var(--yellow);
}

.area-list__time {
  font-family: var(--font-num);
  font-size: 1rem;
  color: var(--steel);
}

.area-panel__note {
  margin: 10px 0 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 820px) {
  .hero__map {
    height: 340px;
  }

  /* スマホ・タブレットでは地図の下に置く */
  .area-panel {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    margin-top: -1px;
    box-shadow: none;
    border: 1px solid var(--line-strong);
    border-top: 4px solid var(--steel);
  }
}

/* 数字の帯 */
.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}

.figures__item {
  padding: 0 clamp(12px, 2vw, 28px);
  border-left: 1px solid var(--line);
}

.figures__item:first-child {
  border-left: 0;
  padding-left: 0;
}

.figures dt {
  font-size: 0.85rem;
  color: var(--muted);
}

.figures dd {
  margin: 0;
  line-height: 1.1;
}

.figures .num {
  font-family: var(--font-num);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}

.figures small {
  margin-left: 4px;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .figures {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }

  .figures__item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
}

/* ---------- 工場の一日（タイムライン図） ---------- */
.day {
  background: var(--paper);
}

.timeline {
  --hours: 18; /* 22:00 から 16:00 までの18時間 */
  position: relative;
  padding: 16px 0 0;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px clamp(16px, 3vw, 32px) 24px;
}

.timeline__scale {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 6px;
  font-family: var(--font-num);
  font-size: 0.85rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
}

.timeline__scale span {
  width: 0;
  display: flex;
  justify-content: center;
}

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

.timeline__bars li {
  position: relative;
  padding: 8px 0 18px;
  font-size: 0.92rem;
  border-bottom: 1px dashed var(--line);
}

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

.timeline__bars b {
  margin-right: 10px;
  font-family: var(--font-num);
  font-weight: 500;
  color: var(--steel);
}

/* 棒：左端と幅を時間から計算 */
.timeline__bars li::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: calc(var(--from) / var(--hours) * 100%);
  width: calc((var(--to) - var(--from)) / var(--hours) * 100%);
  height: 6px;
  background: var(--steel);
}

.timeline__bars li.is-key::after {
  background: var(--yellow);
  height: 10px;
  bottom: 6px;
}

.timeline__bars li.is-shop::after {
  background: var(--steel-pale);
  border: 1px solid var(--steel-soft);
}

.timeline__note {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- 卸先：横棒グラフ ---------- */
.clients__grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.62fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.share {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--steel);
}

.share__row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 72px;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.share__label b {
  display: block;
  font-size: 1.02rem;
}

.share__label span {
  display: block;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}

.share__bar {
  height: 14px;
  background: var(--paper);
}

.share__bar span {
  display: block;
  height: 100%;
  /* 一番大きい38%を棒の端までとして描く */
  width: calc(var(--v) / 38 * 100%);
  background: var(--steel);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out);
}

.share__row:first-child .share__bar span {
  background: linear-gradient(90deg, var(--steel) calc(100% - 6px), var(--yellow) 0);
}

.share__val {
  font-family: var(--font-num);
  font-size: 1.9rem;
  font-weight: 500;
  text-align: right;
  color: var(--steel);
  line-height: 1;
}

.share__val small {
  font-size: 0.9rem;
}

/* 棒は表示されたときに左から伸びる（JSが動いたときだけ） */
.reveal-ready .share .share__bar span {
  transform: scaleX(0);
}

.reveal-ready .share.is-visible .share__bar span {
  transform: none;
}

.clients__photo {
  margin: 0;
}

.clients__photo img {
  width: 100%;
  aspect-ratio: 9 / 11;
  object-fit: cover;
}

.clients__photo figcaption,
.shop__photo figcaption,
.floor figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.clients__photo .code {
  margin-right: 8px;
  font-size: 0.75rem;
  color: var(--steel);
}

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

  .clients__photo img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 600px) {
  .share__row {
    grid-template-columns: 1fr 64px;
    row-gap: 10px;
  }

  .share__bar {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .share__val {
    grid-column: 2;
    grid-row: 1;
  }
}

/* ---------- 品目とロットの表 ---------- */
.items {
  background: var(--paper);
}

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.filter__btn {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--white);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter__btn:hover {
  border-color: var(--steel);
}

.filter__btn.is-active {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--white);
}

.table-hint {
  display: none;
  margin: 0 0 6px;
  font-size: 0.8rem;
  color: var(--muted);
}

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

.table-scroll {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

.table-scroll:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 2px;
}

.lot-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.lot-table th,
.lot-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.lot-table thead th {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  background: var(--steel);
}

.lot-table tbody tr:hover {
  background: #fbfcfd;
}

.lot-table td.code {
  font-size: 0.88rem;
  color: var(--steel);
}

.lot-table td b {
  font-family: var(--font-num);
  font-size: 1.15rem;
  font-weight: 500;
}

.lot-table tr.is-hidden {
  display: none;
}

.table-note {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* 取引開始までの流れ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 0 20px 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

.steps li b {
  display: block;
  margin: 12px 0 4px;
  font-size: 1rem;
  color: var(--text);
}

.steps__no {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-num);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--steel-deep);
  background: var(--yellow);
}

/* 番号どうしをつなぐ線 */
.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 40px;
  right: 0;
  height: 1px;
  background: var(--steel-soft);
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .steps li {
    padding: 0 0 0 60px;
  }

  .steps__no {
    position: absolute;
    left: 0;
    top: 0;
  }

  .steps li b {
    margin-top: 6px;
  }

  .steps li:not(:last-child)::before {
    top: 40px;
    left: 20px;
    right: auto;
    bottom: -22px;
    width: 1px;
    height: auto;
  }
}

/* ---------- 直売所 ---------- */
.shop__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "sign photo"
    "body photo";
  gap: clamp(24px, 4vw, 48px) clamp(32px, 5vw, 72px);
}

/* 看板：鋼の青の面に黄色の縁取り線 */
.shop__sign {
  grid-area: sign;
  padding: clamp(24px, 3vw, 36px);
  color: var(--white);
  background: var(--steel);
  border-left: 8px solid var(--yellow);
}

.shop__sign-top {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

.shop__sign-title {
  margin: 4px 0 6px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.shop__sign-title span {
  font-family: var(--font-num);
  font-size: 1.6em;
  font-weight: 500;
}

.shop__sign-sub {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.85;
}

.shop__body {
  grid-area: body;
}

.shop__body > p:first-child {
  margin-top: 0;
}

.price-list {
  margin: 20px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--text);
}

.price-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.price-list i {
  flex: 1;
  min-width: 12px;
  border-bottom: 1px dotted var(--line-strong);
}

.price-list b {
  font-weight: 700;
  white-space: nowrap;
}

.price-list .is-outlet span::before {
  content: "B品";
  display: inline-block;
  margin-right: 8px;
  padding: 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--steel-deep);
  background: var(--yellow);
  vertical-align: 1px;
}

.shop__memo {
  margin: 0;
  font-size: 0.92rem;
}

.shop__memo a {
  white-space: nowrap;
  font-family: var(--font-num);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--steel);
}

.shop__photo {
  grid-area: photo;
  margin: 0;
}

.shop__photo img {
  width: 100%;
  height: calc(100% - 34px);
  min-height: 320px;
  object-fit: cover;
}

@media (max-width: 860px) {
  .shop__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "sign"
      "photo"
      "body";
  }

  .shop__photo img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* ---------- 工場見学 ---------- */
.tour {
  background: var(--paper);
}

.tour__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.floor {
  margin: 0;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
}

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

.floor__wall {
  fill: none;
  stroke: var(--steel);
  stroke-width: 3;
}

.floor__room {
  fill: var(--steel-pale);
  stroke: var(--steel-soft);
  stroke-width: 1;
}

.floor__room--entry {
  fill: var(--yellow-pale);
}

.floor__route {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 8;
  stroke-linejoin: round;
}

.floor__pin circle {
  fill: var(--steel);
}

.floor__pin text {
  fill: var(--white);
  font-family: var(--font-num);
  font-size: 17px;
  text-anchor: middle;
}

.floor__label {
  fill: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  text-anchor: middle;
}

.floor__legend {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px 16px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}

.floor__legend b {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  font-family: var(--font-num);
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--white);
  background: var(--steel);
  border-radius: 50%;
}

/* 表（工場見学・採用・アクセス共通） */
.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  border-top: 2px solid var(--steel);
}

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

.spec th {
  width: 6.5em;
  padding-right: 16px;
  font-weight: 700;
  color: var(--steel);
  white-space: nowrap;
}

/* アコーディオン（よくある質問）：grid-template-rows 0fr → 1fr */
.faq {
  margin-top: 36px;
}

.faq__title {
  margin: 0 0 8px;
  font-size: 1rem;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 12px 0;
  font-weight: 700;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}

.faq__q::before {
  content: "Q";
  flex: none;
  font-family: var(--font-num);
  color: var(--steel);
}

.faq__q:hover {
  color: var(--steel);
}

.faq__icon {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  margin-left: auto;
  transition: transform 0.35s var(--ease-out);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
  background: var(--steel);
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__q[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}

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

.faq__inner {
  min-height: 0;
  overflow: hidden;
}

.faq__inner p {
  margin: 0;
  padding: 0 0 16px 1.4em;
  font-size: 0.92rem;
  color: var(--muted);
}

/* JSが動かないときは答えを最初から見せる */
.no-js .faq__a {
  grid-template-rows: 1fr;
}

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

/* ---------- お取引のご相談 ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact__side > p {
  margin-top: 0;
}

.contact__tel {
  margin: 28px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact__tel-label {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact__tel-num {
  display: inline-block;
  margin: 2px 0;
  font-family: var(--font-num);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--steel);
  text-decoration: none;
}

/* 道路地図の写真は、鋼の青に沈めて地紋のように使う（地名は読めない程度に） */
.contact__map {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--steel);
}

.contact__map img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: grayscale(1) blur(1.5px);
  mix-blend-mode: multiply;
  opacity: 0.45;
}

.contact__map figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--white);
  border-top: 3px solid var(--yellow);
  background: rgba(31, 54, 71, 0.82);
}

.form {
  padding: clamp(20px, 3vw, 36px);
  background: var(--paper);
  border-top: 4px solid var(--steel);
}

.form__demo {
  margin: 0 0 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

.form__row {
  display: grid;
  gap: 16px;
}

.form__row--2 {
  grid-template-columns: 1fr 1fr;
}

.field {
  display: block;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.field__label {
  display: block;
  margin-bottom: 6px;
  padding: 0;
  line-height: 1.7;
  font-size: 0.88rem;
  font-weight: 700;
}

.field__label em {
  display: inline-block;
  line-height: 1.5;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 0.7rem;
  font-style: normal;
  color: var(--steel-deep);
  background: var(--yellow);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  font-size: 16px; /* iOS で入力時に拡大されないよう16px */
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 0;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--steel);
  outline-offset: 0;
  border-color: var(--steel);
}

.field.is-error input {
  border-color: #b3412e;
  background: #fff6f3;
}

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

.field--check legend {
  width: 100%;
  margin-bottom: 6px;
}

.field--check label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  font-size: 0.92rem;
  cursor: pointer;
}

.field--check input {
  width: 18px;
  height: 18px;
  accent-color: var(--steel);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 32px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.btn--primary {
  color: var(--white);
  background: var(--steel);
}

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

.btn--yellow {
  color: var(--steel-deep);
  background: var(--yellow);
}

.btn--yellow:hover {
  background: #e6b31c;
}

.form__result {
  min-height: 1.5em;
  margin: 14px 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--steel);
}

.form__result:empty {
  display: none;
}

.form__result.is-error {
  color: #b3412e;
}

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

  .contact__map {
    display: none;
  }
}

@media (max-width: 600px) {
  .form__row--2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .btn {
    width: 100%;
  }
}

/* ---------- 採用情報 ---------- */
.recruit__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.recruit__shifts {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--steel);
}

.shift {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.shift__tag {
  grid-row: 1 / 3;
  align-self: start;
  margin: 4px 0 0;
  padding: 6px 0;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  color: var(--white);
  background: var(--steel);
}

.shift__time {
  margin: 0;
  font-family: var(--font-num);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--steel);
}

.shift__time span {
  margin: 0 6px;
  color: var(--yellow);
}

.shift > p:last-child {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.voice {
  margin: 24px 0 0;
  padding: 18px 20px;
  background: var(--paper);
  border-left: 4px solid var(--yellow);
}

.voice p {
  margin: 0 0 6px;
}

.voice cite {
  font-size: 0.82rem;
  font-style: normal;
  color: var(--muted);
}

.form--entry {
  margin-top: clamp(40px, 5vw, 56px);
  background: var(--steel-pale);
}

.form__entry-title {
  margin: 0 0 16px;
  font-weight: 700;
}

.form__entry-title span {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
}

.form__row--4 {
  grid-template-columns: 1fr 1fr 0.8fr auto;
  align-items: end;
}

.form__row--4 .btn {
  margin-bottom: 16px;
}

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

  .form__row--4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .form__row--4 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ---------- アクセス ---------- */
.access {
  background: var(--paper);
}

.access__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
}

.spec--access {
  background: transparent;
}

.spec--access a {
  font-family: var(--font-num);
  font-size: 1.05rem;
  color: var(--steel);
}

.route {
  margin: 0;
  border: 1px solid var(--line);
}

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

.route__bg {
  fill: var(--white);
}

.route__road {
  fill: none;
  stroke: var(--line);
  stroke-width: 18;
}

.route__road--main {
  stroke: var(--steel-pale);
  stroke-width: 30;
}

.route__road--thin {
  stroke-width: 10;
}

.route__path {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 5;
  stroke-dasharray: 10 7;
}

.route__site {
  fill: var(--steel);
}

.route__site-label {
  fill: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-anchor: middle;
}

.route__site-sub {
  fill: var(--yellow);
  font-family: var(--font-body);
  font-size: 11px;
  text-anchor: middle;
}

.route__cross {
  fill: var(--white);
  stroke: var(--steel);
  stroke-width: 3;
}

.route__label {
  fill: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
}

.route__label--road {
  font-weight: 700;
  fill: var(--steel);
}

.route__label--dist {
  font-family: var(--font-num);
  font-size: 16px;
  fill: var(--steel);
}

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

/* ---------- Footer ---------- */
.footer {
  padding: 48px 0 24px;
  color: #d5dee5;
  background: var(--steel-deep);
  border-top: 4px solid var(--yellow);
}

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

.footer__name {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}

.footer__addr {
  margin: 0;
  font-size: 0.85rem;
}

.footer__addr span {
  display: inline-block;
  margin-right: 1em;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links a {
  display: inline-block;
  padding: 8px 0;
  font-size: 0.9rem;
  text-decoration: none;
}

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

.footer__copy {
  max-width: var(--container);
  margin: 32px auto 0;
  padding: 16px var(--gutter) 0;
  font-size: 0.75rem;
  opacity: 0.7;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ---------- ヒーローの文字：開いた直後に静かに出る ---------- */
.reveal-ready .hero__eyebrow,
.reveal-ready .hero__title {
  animation: hero-in 0.8s var(--ease-out) both;
}

.reveal-ready .hero__title {
  animation-delay: 0.12s;
}

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

/* ---------- スクロールリビール ----------
   script.js が html に .reveal-ready を付けたときだけ隠す
   （script.js の読み込みに失敗しても中身はそのまま見える） */
.reveal-ready [data-reveal] {
  opacity: 0;
  translate: 0 20px;
  transition:
    opacity 0.7s var(--ease-out),
    translate 0.7s var(--ease-out);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  translate: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1 !important;
    translate: none !important;
  }

  .reveal-ready .share .share__bar span {
    transform: none !important;
  }
}
