﻿:root {
  /* サイト側でダークモード配色を用意していないため、ブラウザ/OS側の自動ダークモード補正（配色の
     強制書き換え）を無効化する。特に .info-table dd のように色を継承だけしている要素で、数値と
     文字列が別々に再配色されるような表示崩れを防ぐ */
  color-scheme: light;
  --ink: #12151c;
  --ink-soft: #1b202b;
  --ink-line: rgba(244, 239, 226, 0.14);
  --paper: #ffffff;
  --paper-dark: #f4f7fb;
  --gold: #004ea2;
  --gold-deep: #00376f;
  --gold-soft: #7bb0e8;
  --red: #9c2b2b;
  --text-dark: #2f3134;
  --muted-dark: #5d636f;
  --text-light: #f6f2e6;
  --muted-light: #cbc4ae;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --font-mincho: "Shippori Mincho B1", "Yu Mincho", "YuMincho", "Sawarabi Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", "MS PMincho", serif;
  --font-sans: "Zen Kaku Gothic Antique", "Yu Gothic", "Hiragino Kaku Gothic Pro", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, Osaka, sans-serif;
  --font-kicker: "Barlow", "Yu Gothic", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
  /* ページ本文の縦リズム。同じ役割の隙間はこのスケールから選ぶ。HTML側にmarginを書かない */
  --stack-2xs: 0.4rem;
  --stack-xs:  0.8rem;
  --stack-sm:  1.2rem;
  --stack-md:  1.6rem;
  --stack-lg:  2rem;
  --stack-xl:  5.2rem;   /* ページ内小見出し .section-title.is-sub の上マージン（2026-09-11: 詰まって見えるため2倍に） */
}

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

html {
  scroll-behavior: smooth;
}
/* モバイルメニューを開いている間、背後のページがスクロールしてしまうのを防ぐ */
html.nav-open,
html.nav-open body {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.container {
  width: min(1240px, calc(100% - 6rem));
  margin-inline: auto;
}
@media (max-width: 720px) {
  .container {
    width: calc(100% - 2.5rem);
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: var(--ink);
  color: var(--text-light);
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip-link:focus {
  left: 1rem;
}

/* 見た目を変えずに見出し階層(h1→h2→h3)だけを補うための視覚的に隠す見出し */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- reveal-on-scroll ---------- */
.rv {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.rv.is-vis {
  opacity: 1;
  transform: translateY(0);
}
.rv-d1 { transition-delay: 0.14s; }
.rv-d2 { transition-delay: 0.28s; }
.rv-d3 { transition-delay: 0.42s; }
.rv-d4 { transition-delay: 0.56s; }
@media (prefers-reduced-motion: reduce) {
  .rv, .rv.is-vis {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- kicker ---------- */
.kicker {
  font-family: var(--font-kicker);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--gold-deep);
  margin: 0 0 1.3rem;
}
.kicker::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.kicker.on-dark { color: var(--gold-soft); }
.kobe-band .kicker { color: var(--gold-soft); }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-mincho);
  font-weight: 700;
  line-height: 1.55;
  word-break: keep-all;
  /* keep-allでの自然な改行位置を優先しつつ、極狭幅で見出し全体が入りきらない場合だけ最終手段として折り返す（横スクロール防止） */
  overflow-wrap: break-word;
  /* 2行になる場合に1文字だけ浮くような不格好な折り返しを避け、行の文字数バランスを取る */
  text-wrap: balance;
}

/* ---------- header / logo ---------- */
.site-header {
  position: fixed;
  top: clamp(0.75rem, 1.8vw, 1.25rem);
  right: 0;
  left: 0;
  z-index: 100;
  padding: 1.6rem 0;
  /* 初期は透明（トップのヒーロー動画を透けさせる）。スクロールで .is-solid が付いて白くなる */
  background: transparent;
  transition: top 0.4s var(--ease), padding 0.4s var(--ease), background 0.4s var(--ease);
}
.site-header .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  width: 100%;
  max-width: none;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
  margin-inline: 0;
}
.site-header.is-solid {
  top: 0;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}
@media (max-width: 900px) {
  /* backdrop-filterはposition:fixedの子要素(モバイルメニュー #global-nav)の基準点を
     画面全体からヘッダー自身に変えてしまい、メニューが画面いっぱいに開かなくなるバグの原因になるため、
     モバイルメニューが有効な幅ではヘッダーのぼかし効果を外す */
  .site-header.is-solid { backdrop-filter: none; }
}
.logo {
  display: inline-flex;
  align-items: center;
  transition: transform 0.35s var(--ease);
}
.logo:hover { transform: translateY(-1px); }
.logo-mark {
  height: 46px;
  width: auto;
}
[id] { scroll-margin-top: 6rem; }

.global-nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.global-nav a {
  color: var(--text-dark);
  font-size: 0.94rem;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 4px;
}
.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.global-nav a:hover::after,
.global-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.menu-btn {
  display: none;
  position: relative;
  z-index: 95;
  width: 48px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: none;
  color: var(--text-dark);
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
/* タッチ端末はタップ後も:hoverが張り付いたままになり、ボタンが黒いまま戻らなく見えるため、
   本物のポインター（マウス）を持つ端末だけにhover演出を限定する */
@media (hover: hover) {
  .menu-btn:hover {
    background: var(--text-dark);
    color: #fff;
  }
}
.menu-btn-bars {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}
.menu-btn-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), top 0.3s var(--ease);
}
.menu-btn-bars span:nth-child(1) { top: 0; }
.menu-btn-bars span:nth-child(2) { top: 6px; }
.menu-btn-bars span:nth-child(3) { top: 12px; }
.menu-btn[aria-expanded="true"] .menu-btn-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .menu-btn-bars span { transition: none; }
}
/* ヘッダーが透明な状態（＝トップの暗いヒーロー上）では、ナビ文字・MENUボタン・ロゴを白に。
   スクロールで .is-solid が付くと通常の濃色へ自動で戻る。
   ロゴは logo.jfif から抜いた白版（logo-white.png）に差し替える */
.site-header:not(.is-solid) .global-nav a { color: #fff; }
.site-header:not(.is-solid) .global-nav a::after { background: #fff; }
.site-header:not(.is-solid) .menu-btn {
  background: transparent;
  color: #fff;
}
/* タッチ端末はタップで:hoverが張り付いたままになるため、透明ヘッダー時のボタンは
   hoverで背景を出さず常に透明を維持する（メニューを開いた時だけ下の open 用ルールで色を切り替える） */
.site-header:not(.is-solid) .menu-btn:hover {
  background: transparent;
  color: #fff;
}
.site-header:not(.is-solid) .menu-btn[aria-expanded="true"] {
  background: #fff;
  color: var(--text-dark);
}
/* ロゴの色／白の出し分け（既定＝色ロゴ、透明ヘッダー時＝白ロゴ） */
.logo-mark.is-white { display: none; }
.site-header:not(.is-solid) .logo-mark:not(.is-white) { display: none; }
.site-header:not(.is-solid) .logo-mark.is-white { display: block; }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- story-hero (scrollytelling) ---------- */
.story-hero {
  position: relative;
  padding: 0;
  background: var(--ink);
}
/* メインビジュアルの背景レイヤー（動画＋暗幕＋白フェード）。
   既定は .story-hero 内に絶対配置。PC＋モーションOKでは position:fixed に切り替わり、
   スクロールしても画面に残り、JS が --hero-fade を 0→1 にして白くフェードアウトさせる（hōsa風） */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.story-hero-top {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* 背景動画：物流センターのピッキング映像。ぼかし＋暗くして、白ロゴ・白コピー・白ナビを乗せる */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* blur=ぼかし(px) / saturate=彩度 / brightness=明るさ(1未満で暗く)。2026-09-22: 少し明るく調整 */
  filter: blur(4px) saturate(0.85) brightness(0.72);
  transform: scale(1.06);
  z-index: 0;
  pointer-events: none;
  animation: heroSettle 7s var(--ease) both;   /* 開幕でわずかにズームが落ち着く */
}
@keyframes heroSettle {
  from { transform: scale(1.14); }
  to   { transform: scale(1.06); }
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* 暗いスクリム。上下をやや濃く（ナビ／スクロール表示の視認性）、中央は少し抜く。
     2026-09-22: 社長フィードバックにより、地色に白を混ぜて（黒に近い紺→明るいグレー）
     全体的に明るく調整。不透明度も少し下げて動画の見え方を確保 */
  background:
    linear-gradient(180deg,
      rgba(90, 95, 105, 0.46) 0%,
      rgba(90, 95, 105, 0.34) 26%,
      rgba(90, 95, 105, 0.34) 62%,
      rgba(90, 95, 105, 0.52) 100%);
}
/* スクロール連動の白フェード。--hero-fade（0→1）は script.js が設定 */
.hero-whiteout {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--paper);
  opacity: var(--hero-fade, 0);
  pointer-events: none;
  transition: opacity 0.12s linear;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { animation: none; }
}
/* モーションOK（PC・スマホ共通）：背景を固定して、後続セクションがその上を流れる（hōsa方式）。
   固定ヒーローが透けないよう各セクションに白を敷く。#news だけはほぼ透過にして
   「まだメインビジュアルが見えている」状態にし、白み切りは JS 制御の .hero-whiteout に任せる。
   #news は動画の上に乗るので、文字は暗背景用の白系トークンへ切り替える。 */
@media (prefers-reduced-motion: no-preference) {
  .hero-bg { position: fixed; z-index: 0; }
  /* 固定ヒーロー（position:fixed）より前面に出す。フッターも含める（main の外にあるため）。
     #news は固定ヒーローを透かして見せるので、白を敷く対象から外す（下の #news 側で透過指定）。 */
  #main > section:not(#hero):not(#news),
  .site-footer {
    position: relative;
    z-index: 1;
    background-color: var(--paper);
  }
  #news { position: relative; z-index: 1; }
  /* #news は完全に透過。白み切りは JS 制御の .hero-whiteout に一任し、
     文字の可読性は .hero-veil（暗幕）＋下の白系トークン＋最小限の影で担保する */
  #news { background-color: transparent; background-image: none; }
  #news .kicker { color: var(--gold-soft); }
  #news .section-title { color: var(--text-light); }
  #news .section-lead { color: var(--muted-light); }
  #news .ledger { border-left-color: rgba(246, 242, 230, 0.28); }
  #news .ledger li::before { background: var(--gold-soft); }
  #news .ledger-date { color: var(--gold-soft); }
  #news .ledger-cat { background: rgba(246, 242, 230, 0.12); color: var(--text-light); }
  #news .ledger p { color: var(--text-light); }
  #news .ledger-more { color: var(--gold-soft); }
  #news .ledger-more:hover { color: var(--text-light); }
  /* 装飾ではなく、動画の上での視認性確保のための最小限の影 */
  #news .section-title,
  #news .section-lead,
  #news .ledger p,
  #news .ledger-date,
  #news .ledger-cat,
  #news .ledger-more { text-shadow: 0 1px 14px rgba(10, 14, 22, 0.55); }
}
.story-hero-top-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 6rem));
  margin-inline: auto;
  padding: 8rem 0 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-logo {
  width: clamp(118px, 15vw, 172px);
  height: auto;
}
.story-hero-title {
  margin-top: 2.2rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 2;
  color: var(--text-light);
}
@media (min-width: 721px) {
  .story-hero-title-indent { margin-inline-start: 2em; }
}
/* ヒーロー中央のロゴ＋コピーのフェードイン（ゆっくりめ 1.8s）。
   JS が .story-hero に .hero-lit を付けたら立ち上がる（初回はスプラッシュ溶けと同時、再訪は読み込み直後）。
   コピーはロゴから 0.5s 遅れて出す */
.js .hero-logo,
.js .story-hero-title {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.8s var(--ease), transform 1.8s var(--ease);
}
.story-hero.hero-lit .hero-logo { opacity: 1; transform: none; }
.story-hero.hero-lit .story-hero-title { opacity: 1; transform: none; transition-delay: 0.5s; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-logo,
  .js .story-hero-title {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media (max-width: 720px) {
  .story-hero-top-inner { width: calc(100% - 2.5rem); padding: 7rem 0 3rem; }
  /* スマホのみ：メインビジュアル中央のロゴを外し、メッセージを縦書き2行・中央配置にする。
     初回だけ出るオープニング演出(.intro)も同じ見た目に揃える（横書きロゴ表示→縦書きヒーローの
     2段階切り替わりに見えてしまうのを防ぐ） */
  .hero-logo,
  .intro-logo { display: none; }
  .story-hero-title,
  .intro-copy {
    margin-top: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1.9;
  }
  /* 縦書き2行の文字数差（9字/11字）を埋め、2列の見た目の長さを揃える */
  .story-hero-title-line {
    display: inline-block;
    height: 11em;
    text-align: justify;
    text-align-last: justify;
  }
  /* 「ニュース＆インフォメーション」が2行に折り返すため、スマホのみ縮めて1行に収める
     （トップページ #news セクションの見出しと、news.html 自体のページ見出し両方が対象） */
  #news .section-title,
  .page-hero h1.page-hero-title-tight { font-size: 1.3rem; }
}

/* ---------- ヒーローのスクロール誘導 ---------- */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.75rem, 4vw, 2.75rem);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-light);
  font-family: var(--font-kicker);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 1.4s var(--ease) 1.6s, transform 0.3s var(--ease);
}
.story-hero.hero-lit .scroll-cue { opacity: 0.85; }
.scroll-cue:hover { opacity: 1; transform: translateX(-50%) translateY(2px); }
.scroll-cue-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, rgba(246, 242, 230, 0) 0%, var(--muted-light) 100%);
}
.scroll-cue-arrow { animation: scrollCueBob 2.4s var(--ease) infinite; }
@keyframes scrollCueBob {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}
/* スクロールを始めたら、本文と重ならないようそっと消える（script.js が body.is-scrolled を付与）。
   .story-hero.hero-lit の詳細度（クラス3つ）に負けないよう、こちらも同格以上にしている */
body.is-scrolled .story-hero .scroll-cue {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue-arrow { animation: none; }
  .scroll-cue { transition: none; }
}
@media (max-width: 720px) {
  .scroll-cue { display: none; }
}

/* ---------- オープニング（hōsa風スプラッシュ→背景リビール） ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity 1s var(--ease), visibility 1s var(--ease);
}
.intro.is-done {
  opacity: 0;
  visibility: hidden;
}
.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(2rem);   /* ヒーロー側の 8rem/4rem 非対称パディングと中心を合わせる */
}
.intro-logo {
  width: clamp(118px, 15vw, 172px);
  height: auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.intro-copy {
  margin-top: 2.2rem;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 2;
  color: var(--text-light);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease) 0.25s, transform 0.8s var(--ease) 0.25s;
}
.intro.is-in .intro-logo,
.intro.is-in .intro-copy {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}

.story-grid {
  display: grid;
  grid-template-columns: 50% 50%;
}

.story-stage {
  position: sticky;
  top: 0;
  /* ステージ自体は画面いっぱいで固定（参考サイトと同じ動き）。
     写真は中の .story-stage-inner だけを縦長に絞り、上下は白い余白のまま据え置く */
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-stage-inner {
  position: relative;
  /* 縦長め（正方形に寄らないよう幅を絞る）。上下は .story-stage の白背景がそのまま余白になる */
  width: min(78%, 460px);
  height: min(70vh, 620px);
}
.story-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, var(--ink) 0%, var(--ink-soft) 100%);
  opacity: 0;
  transition: opacity 1000ms var(--ease);
}
.story-photo.is-active { opacity: 1; }
/* 実写を差し込む場合：軽くぼかして、手前のテキストと喧嘩しないように馴染ませる */
.story-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  transform: scale(1.04);
}
/* スマホ：ぼかしの量は「px」で決まるため、画面が小さいほど、相対的に強く見える。
   幅720px以下では、PCと同じ見え方になるよう弱める（2026-10-10 スマホでボケ感が強いとの指摘） */
@media (max-width: 720px) {
  .hero-video { filter: blur(1px) saturate(0.85) brightness(0.72); }
  .story-photo img { filter: blur(1px); }
}
.story-photo span {
  font-family: var(--font-kicker);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  line-height: 1.9;
  text-align: center;
  color: var(--muted-light);
  border: 1px solid var(--ink-line);
  padding: 1.4rem 2rem;
}
.story-stage-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 21, 28, 0) 44%, rgba(18, 21, 28, 0.55) 100%);
  pointer-events: none;
}

.story-steps {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
}
.story-step {
  min-height: 78vh;
  min-height: 78dvh;
  display: flex;
  align-items: center;
  padding: 3rem 3.5rem;
}
.story-step-content { max-width: 26rem; }
/* PCでは「写真が動かず中身だけ差し替わる」のと同じ仕組みを、テキスト側にも適用する。
   .story-step（見えない状態）はスクロール距離を稼ぐためだけに残し、
   実際に見えるキャプションは .story-caption-stage 側（写真の隣に固定表示）に持たせる。
   モバイル用の .story-step-content（下からせり上がるカード）はPCでは使わないので隠す。 */
@media (min-width: 901px) {
  .story-steps .story-step-content { display: none; }
}
.story-caption-stage { display: none; }
@media (min-width: 901px) {
  .story-caption-stage {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    padding: 3rem 3.5rem;
  }
}
.story-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 26rem;
  opacity: 0;
  transition: opacity 1000ms var(--ease);
}
.story-caption.is-active { opacity: 1; }
.story-step-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
  font-family: var(--font-kicker);
}
.story-step-count {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
}
.story-step-divider {
  width: 32px;
  height: 1px;
  background: var(--paper-dark);
}
.story-step-text {
  margin: 0;
  font-family: var(--font-mincho);
  /* .mini-pillar p と同じサイズに揃える */
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text-dark);
}

@media (max-width: 900px) {
  .story-grid { display: block; position: relative; }
  /* モバイルは従来通りフルブリード（白レターボックスなし）に戻す */
  .story-stage { height: 100vh; height: 100dvh; background: var(--ink); }
  .story-stage-inner { width: 100%; height: 100%; }
  .story-steps {
    position: relative;
    z-index: 2;
    margin-top: -100vh;
    margin-top: -100dvh;
  }
  .story-step {
    min-height: 100vh;
    min-height: 100dvh;
    align-items: flex-end;
    padding: 0 1.4rem 3rem;
  }
  .story-step-content {
    max-width: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.6rem 1.6rem 1.8rem;
    box-shadow: 0 24px 48px -24px rgba(8, 12, 8, 0.5);
  }
}
/* ---------- section basics ---------- */
.section {
  padding: 9rem 0;
}
.section-tight { padding: 6rem 0; }
/* #wholesale と直後の #logistics（画像帯・padding:0）との間だけ、既定の1.5倍に広げる */
#wholesale { padding-bottom: 13.5rem; }
.section-alt { background: var(--paper-dark); }
.section-head { max-width: 60ch; }
.section-title { font-size: clamp(1.5rem, 3.2vw, 2.5rem); }
/* ページ本文内の小見出し（会社概要・会社案内・採用・業務用卸などで共通）。
   従来ページごとに inline style で font-size / margin-top を重複指定していたのをクラス化し、
   ページ内の縦リズムを1箇所で管理する。 */
.section-title.is-sub { font-size: 1.5rem; margin-top: var(--stack-xl); }
.section-title.is-sub:first-child { margin-top: 0; }
.section-lead {
  margin-top: 1.5rem;
  color: var(--muted-dark);
  max-width: 58ch;
  font-size: 1.02rem;
}

/* ---------- kobe parallax band ---------- */
.kobe-band {
  position: relative;
  min-height: 92vh;   /* 旧 62vh の約1.5倍 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  background-image:
    linear-gradient(180deg, rgba(12, 14, 19, 0.55) 0%, rgba(12, 14, 19, 0.72) 100%),
    url("assets/photos/kobe-city-hero.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}
@media (max-width: 900px) {
  .kobe-band { background-attachment: scroll; }
}
.kobe-band-inner { max-width: 56rem; padding: 0 1.5rem; }
.kobe-band .kicker { justify-content: center; color: var(--gold-soft); }
.kobe-band h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.04em;
}
.kobe-band p {
  margin-top: 1.4rem;
  color: var(--muted-light);
  font-size: 0.95rem;
  line-height: 2.6;
  /* 中央配置の左詰め：文の塊を中央に寄せつつ、各行は左端をそろえる */
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}

/* ---------- about ---------- */
/* 「カネキ酒販株式会社について」が既定の.section-head幅（60ch≒484px固定）だと
   「て」だけ浮いて2行になるため、このセクションだけ見出し幅を広げて1行に収める */
#about .section-head { max-width: 640px; }
.about-zone {
  position: relative;
  background-image:
    linear-gradient(100deg, rgba(250, 247, 238, 0.97) 0%, rgba(250, 247, 238, 0.9) 55%, rgba(250, 247, 238, 0.8) 100%),
    url("assets/photos/kobe-city-hero.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}
@media (max-width: 900px) {
  /* このセクションは本文が長く縦に伸びるため、cover のまま両レイヤーに適用すると
     写真レイヤーだけが極端に拡大されてしまう（実測で幅の7%程度まで拡大）。
     白いグラデーション（1枚目）は今まで通りセクション全体を覆ったまま、
     写真（2枚目）だけをビューポート基準の高さに抑えて上部に配置し、
     kobe-band セクションと同程度の見え方（拡大されすぎない構図）に揃える。 */
  .about-zone {
    background-attachment: scroll;
    background-size: cover, auto 100vh;
    background-position: center, center top;
    background-repeat: no-repeat, no-repeat;
  }
}

.about-grid {
  margin-top: 4.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 5rem;
  align-items: center;
}
.about-copy p { color: var(--muted-dark); }
.about-check-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.about-check-list li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--paper-dark);
  display: flex;
  gap: 1.1rem;
  font-size: 0.96rem;
}
.about-check-list li::before {
  content: "壱";
  font-family: var(--font-sans);
  color: var(--gold-deep);
}
.about-check-list li:nth-child(2)::before { content: "弐"; }
.about-check-list li:nth-child(3)::before { content: "参"; }

.about-visual { position: relative; }
.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 30px 60px -20px rgba(20, 16, 8, 0.35);
  transition: transform 0.6s var(--ease);
}
.about-visual:hover img { transform: scale(1.015); }
.about-visual-tag {
  margin-top: 1.2rem;
  font-family: var(--font-kicker);
  font-size: 0.82rem;
  color: var(--muted-dark);
  letter-spacing: 0.02em;
}

.pillars {
  margin-top: 6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.pillar {
  border: 1px solid #e0e0e0;      /* 枠だけ（背景は敷かない） */
  padding: 1.8rem;
}
.pillar-num {
  font-family: var(--font-kicker);
  color: var(--gold-deep);
  font-size: 0.85rem;
}
.pillar h3 { margin-top: 1rem; font-size: 1.18rem; }
.pillar p { margin-top: 0.9rem; color: var(--muted-dark); font-size: 1rem; }

/* ---------- stores ---------- */
.store-tabs-label {
  font-family: var(--font-kicker);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  margin: 5rem 0 1rem;
}
.store-tabs-label:first-of-type { margin-top: 3.5rem; }
.store-group-heading {
  font-size: 1.4rem;
  margin-bottom: 1.6rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid var(--gold);
}
.store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
  max-width: 720px;
}
.store-grid-business {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}
.store-card {
  background: var(--paper);
  border: 1px solid var(--paper-dark);
  border-radius: 0;
  padding: 1rem 1rem 1.4rem;
  box-shadow: 0 16px 32px -20px rgba(20, 16, 8, 0.3);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -18px rgba(20, 16, 8, 0.32);
}
.store-thumb {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 1rem;
  transition: transform 0.6s var(--ease);
}
.store-card:hover .store-thumb { transform: scale(1.03); }
.store-thumb.is-contain { object-fit: contain; background: var(--paper-dark); }
.store-thumb-placeholder {
  width: 100%;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-dark);
  color: var(--muted-dark);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.store-card h4 { font-family: var(--font-sans); font-size: 1.14rem; margin: 0 0 0.55rem; }
.store-card p { margin: 0; color: var(--muted-dark); font-size: 1rem; }
.store-tag {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-kicker);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 0;
  background: var(--paper-dark);
  color: var(--gold-deep);
}
.store-more {
  display: block;
  margin-top: 1.1rem;
  font-family: var(--font-kicker);
  font-size: 0.85rem;
  color: var(--gold-deep);
}
.store-more:hover { color: var(--gold); }

/* ---------- logistics ---------- */
.logi-wrap {
  position: relative;
  min-height: max(640px, 92vh);   /* ほぼ1画面分（短いモニタは640pxで下限） */
  display: flex;
  align-items: center;
}
.logi-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logi-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(18, 21, 28, 0.92) 28%, rgba(18, 21, 28, 0.45) 78%);
}
.logi-card { position: relative; z-index: 2; max-width: 560px; padding: 3rem 0; }
.logi-card .kicker { color: var(--gold-soft); }
.logi-card .section-title { color: var(--text-light); }
.logi-card .section-lead { color: var(--muted-light); }
.logi-stats { margin-top: 2.6rem; display: flex; gap: 3rem; }
.logi-stat-label {
  font-family: var(--font-kicker);
  font-size: 0.75rem;
  color: var(--muted-light);
  letter-spacing: 0.08em;
}
.logi-stat-value { margin-top: 0.5rem; font-family: var(--font-sans); font-size: 1.1rem; color: var(--gold-soft); }
@media (max-width: 900px) {
  .logi-stats { gap: 2rem; }
  .logi-stat-value { font-size: 0.9rem; }
}

/* ---------- news ---------- */
.news-layout { margin-top: 4rem; }
.ledger { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--paper-dark); max-width: 62rem; }
.ledger li { position: relative; padding: 0 0 2.8rem 2.2rem; }
.ledger li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.4rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}
.ledger-date { font-family: var(--font-kicker); color: var(--gold-deep); font-size: 0.85rem; letter-spacing: 0.05em; }
/* ニュース行の種別ラベル（日付の下に置く小さなチップ）。.store-tag と同じ見た目トークン */
.ledger-cat {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-kicker);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.7rem;
  border-radius: 0;
  background: var(--paper-dark);
  color: var(--gold-deep);
}
.ledger p { margin: 0.6rem 0 0; color: var(--muted-dark); font-size: 1rem; max-width: 56ch; }
/* 「一覧へ」など前方向きのテキストリンク。ニュース一覧への導線で使用 */
.ledger-more {
  display: inline-block;
  margin-top: 2.6rem;
  font-family: var(--font-kicker);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--gold-deep);
}
.ledger-more:hover { color: var(--gold); }

/* ---------- access ---------- */
.access-grid {
  margin-top: 4.5rem;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: stretch;
}
.access-info { display: flex; flex-direction: column; justify-content: center; }
.access-address,
.access-phone,
.access-email,
.access-company {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dark);
  margin: 0.5rem 0 0;
}
.access-address { margin-top: 0; color: var(--muted-dark); }
.access-phone a,
.access-email a {
  color: var(--gold-deep);
  text-decoration: none;
}
.access-phone a:hover,
.access-email a:hover {
  text-decoration: underline;
}
.access-company { color: var(--muted-dark); }
.map-embed { min-height: 360px; border-radius: 0; overflow: hidden; }
.map-embed iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(0.4) contrast(1.05); }

/* ---------- contact cta ---------- */
.cta-band {
  position: relative;
  color: var(--text-dark);
  padding: 7rem 0;
  text-align: center;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 100%),
    url("assets/photos/kobe-city-hero.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  border-top: 1px solid var(--gold);
}
@media (max-width: 900px) {
  .cta-band { background-attachment: scroll; }
}
.cta-inner { position: relative; z-index: 1; max-width: 40rem; margin-inline: auto; }
.cta-photo {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 30%;
  margin: 0 auto 3rem;
  box-shadow: 0 30px 60px -20px rgba(20, 16, 8, 0.3);
}
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--text-dark); }
.cta-band p { margin-top: 1.1rem; color: var(--muted-dark); }
.cta-phone {
  display: inline-block;
  margin-top: 2.4rem;
  font-family: var(--font-kicker);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  background: #fff;
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
  border-radius: 0;
  padding: 1.1rem 2.8rem;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.cta-phone:hover { background: var(--text-dark); color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: #ffffff; color: var(--muted-dark); padding: 5.5rem 0 0; border-top: 1px solid var(--paper-dark); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--paper-dark);
}
.footer-logo {
  height: 30px;
  margin-bottom: 1.3rem;
}
.footer-tagline { font-size: 0.85rem; max-width: 32ch; }
.footer-col-title { font-family: var(--font-sans); color: var(--text-dark); font-size: 1rem; margin-bottom: 0; }
/* footerの各カラムをスマホのみアコーディオン化（太字の項目だけ表示、タップで開閉）。PCでは常に開いたまま・操作不可にする */
.footer-col-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  padding-bottom: 1.2rem;
}
.footer-col-details summary::-webkit-details-marker { display: none; }
.footer-col-details summary::marker { content: ""; }
.footer-col-details summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-kicker);
  font-size: 1.1rem;
  color: var(--muted-dark);
}
.footer-col-details[open] summary::after { content: "\2212"; }
@media (min-width: 901px) {
  .footer-col-details summary { cursor: default; pointer-events: none; }
  .footer-col-details summary::after { display: none; }
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.3rem; font-size: 1rem; }
.footer-col a { display: inline-block; }
/* リンクをinline-blockにして padding でタップ領域を44px以上確保する（テキストの見た目サイズは変えない）。
   マウス操作のPCではタップ領域が不要な上、この余白が行の高さを広げて他のテキスト行との間隔にばらつきが出るため、モバイルのみに絞る */
@media (max-width: 900px) {
  .footer-col a { padding-block: 0.45rem; }
  /* お問い合わせ列の住所行はリンクが無くpaddingが付かないため、他の行(電話・メール等、内部のaタグで
     padding-blockが付く)と高さが揃うよう同じpaddingを直接付けて間隔を統一する */
  div.footer-col p:first-of-type { padding-block: 0.45rem; }
}
.footer-col a:hover { color: var(--gold-deep); }
.footer-sub { font-family: var(--font-kicker); font-size: 0.75rem; color: var(--gold-deep); margin: 1.2rem 0 0.6rem; }
.footer-phone { margin-top: 0.6rem; }
.footer-phone a { font-family: var(--font-sans); font-weight: 400; font-size: 1rem; color: inherit; }
.footer-bottom {
  padding: 1.8rem 0 2.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}
.footer-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.footer-badges img { height: 46px; width: auto; }

/* PCでは著作権・注意書きをバッジ画像の左横に並べる */
@media (min-width: 901px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 2.4rem;
    text-align: left;
  }
  .footer-legal { text-align: center; }
  .footer-badges { justify-content: flex-start; }
  /* 店舗情報・会社情報・お問い合わせのリンク文字をPCのみ少し小さくする */
  .footer-col li,
  div.footer-col p,
  .footer-phone a {
    font-size: 0.9rem;
  }
}

/* footer「お問い合わせ」列（div.footer-col、中はdetailsで囲んでいるため直下ではなく子孫セレクタで指定）。
   段落ごとのmarginと<br>の行間(line-height)が二重にかかってガタつくのを避けるため、marginは使わずline-heightだけで揃える */
div.footer-col p { margin: 0; line-height: 1.6; }

/* ---------- inner pages ---------- */
.page-hero {
  position: relative;
  color: var(--text-dark);
  padding: 11rem 0 5rem;
  background-image:
    linear-gradient(100deg, rgba(250, 247, 238, 0.94) 15%, rgba(250, 247, 238, 0.72) 100%),
    url("assets/photos/kobe-city-hero.jpg");
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--paper-dark);
}
.page-hero.is-kobe {
  background-color: var(--paper);
  background-repeat: no-repeat;
  background-image: url("assets/illust/kobe-lineart.svg");
  background-position: center bottom;
  background-size: 100% auto;
}
.page-hero.is-kobe .container { position: relative; z-index: 1; }
.breadcrumb { font-family: var(--font-kicker); font-size: 0.8rem; color: var(--muted-dark); margin-bottom: 1.6rem; }
.breadcrumb a { color: var(--gold-deep); }
.page-hero h1 { color: var(--text-dark); font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.page-body { padding: 6rem 0 7rem; }
.note-box {
  background: var(--paper-dark);
  border-left: 3px solid var(--gold);
  padding: 1.3rem 1.6rem;
  font-size: 0.88rem;
  color: var(--muted-dark);
  margin-bottom: 3rem;
}
/* 幅を絞って中央寄せする note-box（contact のフォーム前案内など）。上マージンもスケールから取る */
.note-box-narrow { max-width: 48rem; margin-inline: auto; margin-top: var(--stack-lg); }

/* ページ本文（.page-body）の縦リズム用クラス。値は :root の --stack-* スケールから取り、
   HTML 側に style="margin-*" を書かない。役割ごとの対応は下記のとおり。
   ・リード文の下          … .lead-intro       margin-bottom: --stack-xl
   ・本文の段落どうしの間    … .prose > p + p    margin-top:   --stack-sm
   ・署名（代表者名など）    … .prose > .sign    margin-top:   --stack-lg
   ・本文中の最小見出し（h3）… .subhead-min      margin-top:   --stack-lg
   ・ブロック直後の補足文    … .body-note        margin-top:   --stack-md */
.lead-intro { max-width: 64ch; margin-bottom: var(--stack-xl); color: var(--muted-dark); }
/* 小見出し（.section-title.is-sub）直後に置く本文ブロック。他の兄弟（.mini-pillars 等）と
   同じく、見出しからの入りを自前で確保する */
.prose { max-width: 64ch; margin-top: var(--stack-sm); }
.prose > p { margin: 0; color: var(--muted-dark); }
.prose > p + p { margin-top: var(--stack-sm); }
.prose > .prose-strong { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); text-wrap: balance; }
.prose > .sign { margin-top: var(--stack-lg); font-weight: 700; color: var(--text-dark); }
.subhead-min { font-size: 1.1rem; margin-top: var(--stack-lg); }
.body-note { margin-top: var(--stack-md); color: var(--muted-dark); }

/* company.html 数字で見るカネキ酒販：ラインアイコン付きの数値カード（枠を共有した3カラム） */
.stat-cards {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-card {
  text-align: center;
  padding: 2.4rem 1rem 2.2rem;
  border: 1px solid var(--paper-dark);
  margin-left: -1px;
}
.stat-card:first-child { margin-left: 0; }
.stat-icon {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 1.1rem;
  color: var(--gold-deep);
}
.stat-num {
  margin: 0;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  line-height: 1.1;
  color: var(--text-dark);
}
.stat-num .stat-suffix { font-size: 0.46em; margin-left: 0.18em; font-weight: 500; }
.stat-num .stat-num-value { font-variant-numeric: tabular-nums; }
.stat-label { margin: 0.75rem 0 0; font-size: 0.85rem; color: var(--muted-dark); }
@media (max-width: 640px) {
  .stat-cards { grid-template-columns: 1fr; }
  .stat-card { margin-left: 0; margin-top: -1px; }
  .stat-card:first-child { margin-top: 0; }
}

/* company-profile.html 沿革：長いのでクリックで全開閉（details/summary） */
.history { margin-top: 1.4rem; border-top: 1px solid var(--paper-dark); }
.history > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 0.2rem;
  border-bottom: 1px solid var(--paper-dark);
  font-family: var(--font-kicker);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.history > summary::-webkit-details-marker { display: none; }
.history > summary::after { content: "＋"; font-size: 1.15rem; color: var(--gold-deep); }
.history[open] > summary::after { content: "－"; }
.history > summary:hover { color: var(--gold-deep); }
.history-body { padding-top: 0.4rem; }
.history-body .subhead-min:first-child { margin-top: 1.4rem; }

/* recruit.html 募集職種：求人サイト風のカード（角丸なし。職種名＋所在地＋タグ＋給与＋仕事内容） */
.job-list { margin-top: 1.6rem; display: grid; gap: 1.2rem; }
.job-card {
  border: 1px solid #e0e0e0;      /* 求人カードの枠（この用途だけの薄グレー） */
  padding: 1.7rem 1.9rem;
}
.job-card-title {
  font-family: var(--font-mincho);
  font-size: 1.3rem;
  color: var(--text-dark);
}
.job-card-meta {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--muted-dark);
}
.job-tags {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.job-tags li {
  border: 1px solid #e0e0e0;
  padding: 0.32rem 0.7rem;
  font-size: 0.78rem;
  color: var(--muted-dark);
}
.job-salary {
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.2rem;
  background: var(--paper-dark);
  padding: 0.7rem 1rem;
}
.job-salary + .job-salary { margin-top: 0.4rem; }  /* 正社員／アルバイトの2段表記を近づける */
.job-pay { font-weight: 700; color: var(--text-dark); }
.job-type { font-size: 0.85rem; color: var(--muted-dark); }
.job-card-desc {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted-dark);
}
/* カード内に募集要項をたたむ（職種ごとに完結させる。細い罫線で行を仕切るだけ） */
.job-spec {
  margin: 1.2rem 0 0;
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0 1rem;
  font-size: 0.85rem;
}
.job-spec dt {
  color: var(--muted-dark);
  padding: 0.55rem 0;
  border-top: 1px solid var(--paper-dark);
}
.job-spec dd {
  margin: 0;
  padding: 0.55rem 0;
  border-top: 1px solid var(--paper-dark);
  color: var(--text-dark);
  line-height: 1.7;
}
@media (max-width: 560px) {
  .job-spec { grid-template-columns: 1fr; gap: 0; }
  .job-spec dd { border-top: 0; padding-top: 0; }
}

/* TOP #about のごあいさつ：企業理念＋社長メッセージを白背景の塊にして、
   周囲（.about-zone の淡い背景）や次の見出しと視覚的に切り分ける。前後の余白は広め。
   本文は左揃え（改行は左端から）／署名だけ右揃え／「ごあいさつ」ラベルは廃止し
   「お客様の生活に笑顔を」を中央配置の主役に */
.greeting {
  max-width: 62rem;
  /* 下マージンは次の見出し「地域の食文化を支える、酒販のプロフェッショナル」まで広めに空ける */
  margin: 4rem auto clamp(6rem, 9vw, 8rem);
  background: var(--paper);
  padding: clamp(2.4rem, 5vw, 4rem);
}
.greeting .lead-intro,
.greeting .prose { max-width: none; }
.greeting .prose > .sign { text-align: right; }
/* 「お客様の生活に笑顔を」＝主役。中央配置・サイズ据え置き（1.5rem+3px）。
   書体は見出し「カネキ酒販株式会社について」と揃えて明朝（--font-mincho）に統一。 */
.greeting .prose > .prose-strong {
  font-family: var(--font-mincho);
  font-size: calc(1.5rem + 3px);
  text-align: center;
}
@media (max-width: 720px) {
  .greeting .prose > .prose-strong { font-size: 1.2rem; }
}
/* 理念パネルのスクロールイン：見出し「地域の食文化を支える、酒販のプロフェッショナル」と
   同じ動き（.rv）に統一。パネル全体が下からふわっと1回だけ（1行ずつの分割はしない）。
   .rv の基本挙動をそのまま使うため、ここでの個別上書きは持たない。 */
.info-table { margin: 0; border-top: 1px solid var(--paper-dark); }
.info-table dt {
  font-family: var(--font-kicker);
  color: var(--muted-dark);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding-top: 1.4rem;
}
.info-table dd {
  margin: 0.4rem 0 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--paper-dark);
  font-size: 1rem;
}
.pending-flag { margin-left: 0.6rem; font-size: 0.72rem; color: var(--red); border: 1px solid var(--red); padding: 0.1rem 0.5rem; }
.mini-pillars { margin-top: 1.4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.mini-pillar { border-top: 1px solid var(--paper-dark); padding-top: 1.4rem; }
.mini-pillar-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 1.2rem; }
/* .stat-icon と同じ意匠（線画・ブランド色1色）の小アイコン。写真の代わりに置く場合に使う */
.mini-pillar-icon { display: block; width: 44px; height: 44px; margin-bottom: 1.1rem; color: var(--gold-deep); }
.mini-pillar h3 { font-size: 1.08rem; margin-bottom: 0.7rem; }
.mini-pillar p { font-size: 1rem; color: var(--muted-dark); margin: 0; }

/* business.html 事業の特長：番号付きのボード（求人カードと同じ角なし枠。上部に薄グレーの見出し帯） */
.biz-boards {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.biz-board {
  border: 1px solid #e0e0e0;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
}
.biz-board-head {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin: -1.8rem -1.8rem 1.4rem;   /* パディングを打ち消してカード幅いっぱいの帯に */
  padding: 0.75rem 1.8rem;
  background: var(--paper-dark);
}
.biz-board-no {
  font-family: var(--font-kicker);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold);
}
.biz-board-kicker {
  font-family: var(--font-kicker);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted-dark);
}
.biz-board h3 { font-size: 1.16rem; }
.biz-board > p { margin: 0.7rem 0 0; font-size: 1rem; line-height: 1.95; color: var(--muted-dark); }
.biz-board-points {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--paper-dark);
  display: grid;
  gap: 0.5rem;
}
.biz-board-points li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-dark);
}
.biz-board-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--gold-soft);
}
@media (max-width: 900px) {
  .biz-boards { grid-template-columns: 1fr; }
}

.btn-row { margin-top: 3.2rem; display: flex; gap: 1.1rem; flex-wrap: wrap; justify-content: center; }
/* 文章（.body-note）の直後に置くボタンは、文章と詰まって見えないよう余白を広く取る（リクルートの応募ボタン） */
.body-note + .btn-row { margin-top: clamp(4.5rem, 7vw, 6rem); }
/* 求人カードの直後に置く案内文は、カードと詰まらないよう見出し下と同じ間隔を取る */
.job-list + .body-note { margin-top: var(--stack-xl); }
/* トップページ #about のボタン列は、3本柱カードからしっかり離す */
#about .btn-row { margin-top: 4.5rem; }
.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  font-family: var(--font-kicker);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--text-dark);
  border-radius: 0;
  background: #fff;
  color: var(--text-dark);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.btn:hover { background: var(--text-dark); color: #fff; }
.btn-solid { background: var(--text-dark); color: #fff; }
.btn-solid:hover { background: #fff; color: var(--text-dark); }
.btn-ghost { background: #fff; color: var(--text-dark); }
.btn-ghost:hover { background: var(--text-dark); color: #fff; }

/* ---------- contact page ---------- */
.contact-intro { max-width: 44rem; margin-inline: auto; color: var(--muted-dark); }
.contact-intro p { margin: 0; }
.contact-intro p + p { margin-top: 0.85rem; }

/* ---------- contact form（参考: AFURI BREWING の contact。枠線ボックス＋ラベル内包の縦積み・1カラム） ---------- */
.contact-form { max-width: 44rem; margin: 3.5rem auto 0; }
.form-field {
  border: 1px solid #bfbfbf;     /* afuri と同じ入力欄の枠色（この枠だけに使う中間グレー） */
  padding: 1rem 1.3rem 1.1rem;
  margin-top: -1px;              /* 隣り合う枠線を重ねて1本に見せる */
}
.form-field:first-of-type { margin-top: 0; }
.form-field:focus-within { border-color: var(--text-dark); position: relative; z-index: 1; }
.form-field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--muted-dark);
  margin-bottom: 0.5rem;
}
.form-field label .form-req,
.form-field label .form-opt {
  margin-left: 0.6rem;
  font-family: var(--font-kicker);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}
.form-field label .form-req { color: var(--red); }
.form-field label .form-opt { color: var(--muted-dark); }
.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 1.05rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.6;
}
.form-field textarea { min-height: 9rem; resize: vertical; }
.form-field input:focus-visible,
.form-field textarea:focus-visible { outline: none; }

.form-note { font-size: 0.85rem; color: var(--muted-dark); margin-top: 0.5rem; }
.form-note a { white-space: nowrap; }
.contact-form .form-note { text-align: center; margin-top: 1.8rem; }
.contact-form .btn-row { margin-top: 2rem; justify-content: center; }
.contact-form .btn-solid { min-width: 20rem; font-size: 1rem; padding: 1.15rem 2.4rem; text-align: center; }
@media (max-width: 700px) {
  .contact-form { max-width: none; }
  /* 横幅だけ半分程度に。縦のpadding(1.15rem)は変えず、横のpaddingだけ詰めて1行に収める。
     .btn-row側が中央寄せなので自動で中央配置になる */
  .contact-form .btn-solid { min-width: 50%; width: 50%; padding-inline: 1rem; }
  /* 「送信によりプライバシーポリシーへ同意したものになります。」は完全な1行には収まらない文字数のため、
     読める大きさを保ちつつ2行の文字数バランスを揃えて不格好な折り返しを避ける */
  .contact-form .form-note { font-size: 0.8rem; text-wrap: balance; }
}
/* ハニーポット（スパムボット対策）。人には見えない位置に飛ばすだけで、視覚レイアウトは変えない */
.form-field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; margin: 0; padding: 0; border: 0; }

/* 確認画面。入力フォームと同じ .info-table（会社概要ページ等で使用）をそのまま流用し、新しい見た目を増やさない */
.contact-confirm { max-width: 44rem; margin: 3.5rem auto 0; }
.contact-confirm-message { white-space: pre-wrap; }
.contact-confirm .btn-row { margin-top: 2.6rem; }
.contact-confirm .btn-ghost,
.contact-confirm .btn-solid { min-width: 12rem; font-size: 1rem; padding: 1.15rem 2.2rem; text-align: center; }
.contact-error { color: var(--red); }
@media (max-width: 700px) {
  .contact-confirm { max-width: none; }
  .contact-confirm .btn-ghost,
  .contact-confirm .btn-solid { min-width: 45%; padding-inline: 1rem; }
}

/* 完了画面。note-box-narrow と同じ「絞った幅で中央寄せ」を踏襲しつつ、告知文なので枠線なしのシンプルな段落に留める */
.contact-done { max-width: 44rem; margin: 3.5rem auto 0; text-align: center; color: var(--muted-dark); }
.contact-done p { margin: 0; font-size: 1.05rem; line-height: 1.9; }

.faq-list { border-top: 1px solid var(--paper-dark); }
.faq-item { border-bottom: 1px solid var(--paper-dark); padding: 1.5rem 0; }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1.04rem;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; position: absolute; right: 0; top: 0; color: var(--gold); font-family: var(--font-sans); }
.faq-item[open] summary::after { content: "－"; }
.faq-item p { margin: 1.1rem 0 0; color: var(--muted-dark); font-size: 1rem; }

.policy-body h2 { font-size: 1.1rem; margin: 2.6rem 0 1rem; }
.policy-body p, .policy-body li { color: var(--muted-dark); font-size: 1rem; }
.policy-updated { margin-top: 2.8rem; font-family: var(--font-kicker); font-size: 0.82rem; color: var(--muted-dark); }

/* ---------- mobile nav ---------- */
@media (max-width: 900px) {
  .global-nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    overflow-y: auto;
    padding-block: 2rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    visibility: hidden;
  }
  .global-nav.is-open { transform: translateX(0); visibility: visible; }
  .global-nav a { font-size: 1.05rem; font-family: var(--font-sans); color: var(--text-dark); }
  /* トップ（ヘッダー透明時）でメニューを開いた場合、白文字ルールが勝って
     白背景パネル上で読めなくなるのを防ぐ（同じセレクタでこちらを後勝ちさせる） */
  .site-header:not(.is-solid) .global-nav a { color: var(--text-dark); }
  .site-header:not(.is-solid) .global-nav a::after { background: var(--gold); }
  .menu-btn { display: flex; }

  .story-hero-intro { padding-block: 6.5rem 2.5rem; }
  .about-grid, .access-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { order: -1; }
  .pillars, .mini-pillars { grid-template-columns: 1fr; gap: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .store-grid, .store-grid-business { grid-template-columns: 1fr; max-width: 420px; }
  .section { padding: 6.5rem 0; }
}

@media (max-width: 600px) {
  .section { padding: 5rem 0; }
  /* 1カラム積みになると gap がそのまま各項目間の縦の空きになり広すぎるため詰める。
     アコーディオンの開閉ボタン(summary)自体がタップ領域を持つので、詰めてもタップしやすさは変わらない */
  .footer-grid { grid-template-columns: 1fr; gap: 1rem; }
  /* ロゴ+説明文はヘッダーのロゴと重複するため、スマホでは非表示にする */
  .footer-grid > div:first-child { display: none; }
  .footer-col-details summary { padding-bottom: 0.6rem; }
  .kobe-band { min-height: 74vh; }

  /* フッター最下部：バッジ2点を中央・横並びで上に、注意書き・著作権表記はその下に中央寄せでまとめる */
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-badges { order: -1; justify-content: center; gap: 0.6rem; }
  .footer-badges img { height: 32px; }
  .footer-legal { text-align: center; width: 100%; }
}
