/* =========================================================
   ケイズ商販 コーポレートサイト
   スタイルシート
   ---------------------------------------------------------
   ・配色 / 余白 / フォントは :root の変数で一括変更できます。
   ・見出し＝明朝（Zen Old Mincho）、本文＝ゴシック（Zen Kaku Gothic New）。
     フォントは各HTMLの <link>（Google Fonts）で読み込んでいます。
     未読込の環境では OS の明朝／ゴシックに自動で切り替わります。
   ========================================================= */

:root {
  /* --- 配色 --- */
  --bg:         #ffffff;
  --paper:      #faf7f2;   /* 温かみのある背景（セクション用） */
  --paper-deep: #f1ebe0;
  --ink:        #1a2831;   /* 本文 */
  --ink-soft:   #566169;   /* 補助テキスト */
  --navy:       #143a52;   /* 基調色 */
  --navy-deep:  #0d2634;   /* フッター・濃色セクション */
  --brass:      #8a6d38;   /* アクセント（テキスト可の濃さ） */
  --brass-soft: #b2914f;   /* アクセント（罫線・図版用） */
  --line:       #e7e1d6;   /* 罫線（温色） */
  --line-dark:  rgba(255, 255, 255, 0.14);

  /* --- レイアウト --- */
  --wrap: 1140px;
  --wrap-narrow: 820px;
  --pad-x: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 10vw, 120px);

  /* --- フォント --- */
  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho",
    "Noto Serif JP", serif;
  --sans: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

/* =========================================================
   ベース
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (min-width: 640px)  { html { font-size: 16.5px; } }
@media (min-width: 1024px) { html { font-size: 17px; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "palt" 1;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0;
  word-break: keep-all;        /* 語（まとまり）の途中では折り返さない */
  overflow-wrap: break-word;   /* どうしても入らない時だけ折り返す */
  line-break: strict;
  text-wrap: balance;          /* 対応ブラウザでは行のバランスを自動調整 */
}

/* 語の途中で改行させたくないまとまりに付ける（見出し・リード用） */
.nb { display: inline-block; }

/* リード文・ヒーロー見出し：句読点（、。）の位置に入れた <wbr> でのみ改行し、
   語の途中では折り返さない。1 文節が長すぎて収まらない時だけ break-word で回避。 */
.hero h1,
.hero-lead,
.section-lead,
.page-hero .lead {
  word-break: keep-all;
  overflow-wrap: break-word;
}

p { margin: 0; }

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

a { color: var(--navy); }

::selection { background: rgba(20, 58, 82, 0.12); }

/* =========================================================
   レイアウト部品
   ========================================================= */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: clamp(44px, 7vw, 76px); }
.section + .section:not(.section--paper):not([class*="cta"]) { border-top: 1px solid var(--line); }

/* セクション見出し（ラベル＋タイトル＋リード） */
.section-head { max-width: 64ch; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .section-title { max-width: none; }
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
}
.kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.section-title {
  font-size: clamp(1.5rem, 3.1vw, 2rem);
  line-height: 1.5;
}
.section-lead {
  margin-top: 20px;
  max-width: 60ch;
  color: var(--ink-soft);
  line-height: 2;
}
.section-more { margin-top: clamp(28px, 4vw, 44px); }

/* =========================================================
   ヘッダー / ナビゲーション
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line), 0 18px 30px -26px rgba(13, 38, 52, 0.5);
}
.site-header > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.brand-tag {
  font-size: 0.54rem;
  letter-spacing: 0.28em;
  color: var(--ink-soft);
  margin-top: 3px;
}

.primary-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.primary-nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--brass-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.16, 0.8, 0.3, 1);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--ink); }

.header-cta { margin-left: 12px; flex-shrink: 0; }

/* ハンバーガー */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  left: 0;
  right: 0;
  top: 74px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  max-height: calc(100dvh - 74px);
  overflow-y: auto;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.mobile-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-nav a {
  display: block;
  padding: 20px var(--pad-x);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}
.mobile-nav a[aria-current="page"] { color: var(--brass); }
html.nav-open { overflow: hidden; }

@media (max-width: 980px) {
  .site-header .primary-nav,
  .site-header .header-cta { display: none; }
  .site-header .nav-toggle { display: inline-flex; }
}

/* =========================================================
   ボタン / リンク
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 0.8rem; }
.btn--light { background: #fff; border-color: #fff; color: var(--navy-deep); }
.btn--light:hover { background: var(--brass); border-color: var(--brass); color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--brass-soft);
  transition: color 0.2s ease, gap 0.2s ease;
}
.link-arrow svg { width: 15px; height: 15px; }
.link-arrow:hover { color: var(--navy-deep); gap: 13px; }

/* =========================================================
   ヒーロー（トップページ）
   ========================================================= */
.hero {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  padding-block: clamp(64px, 12vw, 128px);
}
.hero-copy { container-type: inline-size; }
.hero h1 {
  font-weight: 700;
  font-size: 2rem;                              /* 非対応ブラウザ向けフォールバック */
  font-size: clamp(1.55rem, 6.4cqi, 2.9rem);   /* 見出しの大きさを「列の幅」に連動させる */
  line-height: 1.52;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}
/* 「メーカー様から仕入れ、」などのまとまり単位で改行（語中では折り返さない） */
.hero h1 .nb { display: inline-block; }
.hero h1 .mark {
  background: linear-gradient(transparent 68%, rgba(178, 145, 79, 0.28) 0);
}
.hero-lead {
  max-width: 40ch;
  color: var(--ink-soft);
  line-height: 2.05;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  color: var(--ink-soft);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid var(--brass-soft);
  transform: rotate(45deg);
}
.hero-figure { position: relative; }
.hero-figure img { width: 100%; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 440px; margin-inline: auto; }
}

/* =========================================================
   お知らせ（トップの帯）
   ========================================================= */
.news-strip { background: var(--bg); border-bottom: 1px solid var(--line); }
.news-strip .wrap {
  display: flex;
  align-items: center;
  gap: 12px 26px;
  padding-block: 20px;
}
.news-strip .kicker { margin: 0; flex-shrink: 0; }
.news-strip time {
  font-family: var(--serif);
  font-size: 0.92rem;
  color: var(--ink-soft);
  flex-shrink: 0;
  font-feature-settings: "tnum" 1;
}
.news-strip .title {
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-strip .link-arrow { flex-shrink: 0; border: 0; padding: 0; }
@media (max-width: 760px) {
  .news-strip .wrap { flex-wrap: wrap; }
  .news-strip .title { flex-basis: 100%; white-space: normal; order: 3; }
}

/* お知らせ一覧 */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li {
  display: grid;
  grid-template-columns: 8.5em 8em 1fr;
  align-items: baseline;
  gap: 6px 24px;
  padding: 24px 8px;
  border-top: 1px solid var(--line);
  transition: background-color 0.2s ease;
}
.news-list li:last-child { border-bottom: 1px solid var(--line); }
.news-list li:hover { background: var(--paper); }
.news-list time {
  font-family: var(--serif);
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-feature-settings: "tnum" 1;
}
.news-cat {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.news-body { margin: 0; color: var(--ink); font-size: 0.96rem; line-height: 1.8; }
.news-body a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 620px) {
  .news-list li { grid-template-columns: auto auto; gap: 4px 16px; }
  .news-body { grid-column: 1 / -1; }
}

/* =========================================================
   事業内容カード
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.service { padding: clamp(28px, 3.6vw, 42px) clamp(20px, 2.6vw, 34px); }
.services-grid .service + .service { border-left: 1px solid var(--line); }
.service-index {
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--brass);
}
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}
.icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service .icon { width: 42px; height: 42px; margin: 22px 0 18px; }
.service h3 { font-size: 1.16rem; margin-bottom: 12px; }
.service p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; line-height: 1.95; }
@media (max-width: 880px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service { border-left: 0; border-bottom: 1px solid var(--line); }
  .services-grid .service:last-child { border-bottom: 0; }
}

/* 事業内容ページの詳細ブロック */
.detail {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px 28px;
  padding-block: clamp(30px, 4vw, 46px);
  border-top: 1px solid var(--line);
}
.detail:last-of-type { border-bottom: 1px solid var(--line); }
.detail .icon { width: 44px; height: 44px; grid-row: span 2; }
.detail h3 { font-size: 1.22rem; align-self: center; }
.detail p { margin: 0; color: var(--ink-soft); line-height: 2; }
@media (max-width: 620px) {
  .detail { grid-template-columns: 1fr; gap: 14px; }
  .detail .icon { grid-row: auto; }
}

/* =========================================================
   方針・選ばれる理由
   ========================================================= */
.points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(28px, 5vw, 64px);
}
.point {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.point-num { font-family: var(--serif); font-size: 0.9rem; color: var(--brass); padding-top: 3px; }
.point h3 { font-family: var(--sans); font-weight: 700; font-size: 1rem; margin-bottom: 7px; letter-spacing: 0.03em; }
.point p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.95; }
@media (max-width: 700px) { .points { grid-template-columns: 1fr; } }

/* =========================================================
   会社概要テーブル
   ========================================================= */
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td {
  text-align: left;
  vertical-align: top;
  padding: 20px 6px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.95;
}
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--line); }
.spec th {
  width: 30%;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.spec td { color: var(--ink); }
@media (max-width: 640px) {
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: 100%; }
  .spec tr { border-top: 1px solid var(--line); padding: 16px 0; }
  .spec tr:last-child { border-bottom: 1px solid var(--line); }
  .spec th, .spec td { border: 0; padding: 2px 0; }
  .spec th { margin-bottom: 4px; }
}

/* =========================================================
   お取引の流れ（ステッパー）
   ========================================================= */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  height: 1px;
  background: var(--line);
}
.step { position: relative; }
.step-n {
  width: 40px;
  height: 40px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 0.88rem;
  color: var(--navy);
  background: var(--bg);
}
.section--paper .step-n { background: var(--paper); }
.step p { margin: 14px 0 0; font-size: 0.84rem; line-height: 1.8; color: var(--ink-soft); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 20px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .step { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 14px 0; }
  .step p { margin: 9px 0 0; }
}

/* =========================================================
   タグ / チップ
   ========================================================= */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* =========================================================
   図版 / 画像
   ========================================================= */
.figure { margin: 0; }
.figure img {
  width: 100%;
  border-radius: 3px;
  background: var(--paper-deep);
}
.figure figcaption {
  margin-top: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}
@media (max-width: 820px) { .media-split { grid-template-columns: 1fr; } }

/* =========================================================
   引用・代表挨拶
   ========================================================= */
.statement {
  border-left: 2px solid var(--brass-soft);
  padding-left: clamp(20px, 4vw, 40px);
}
.statement p {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 2.1;
  color: var(--ink);
  margin-bottom: 20px;
}
.statement .sign { font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.08em; color: var(--ink-soft); }

/* =========================================================
   CTA 帯
   ========================================================= */
.cta {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
}
.cta::before {
  content: "商販";
  position: absolute;
  right: -0.08em;
  bottom: -0.32em;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(120px, 26vw, 300px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
  user-select: none;
}
.cta .wrap {
  position: relative;
  padding-block: clamp(60px, 10vw, 104px);
  text-align: center;
}
.cta .kicker { justify-content: center; color: var(--brass-soft); }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 3.6vw, 2.2rem); margin-bottom: 16px; }
.cta p { color: rgba(255, 255, 255, 0.72); margin-bottom: 30px; }
.cta .btn-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* =========================================================
   下層ページの見出し
   ========================================================= */
.page-hero {
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, var(--line) 1.4px, transparent 1.6px) 0 0 / 18px 18px;
  opacity: 0.7;
  pointer-events: none;
}
.page-hero .wrap { position: relative; padding-block: clamp(52px, 9vw, 94px); }
.page-hero h1 {
  font-weight: 700;
  font-size: clamp(1.85rem, 4.6vw, 2.85rem);
  letter-spacing: 0.03em;
}
.page-hero .lead { margin-top: 20px; max-width: 52ch; color: var(--ink-soft); line-height: 2; }
.crumb { margin-top: 24px; font-size: 0.74rem; letter-spacing: 0.1em; color: var(--ink-soft); }
.crumb a { color: var(--ink-soft); text-decoration: none; }
.crumb a:hover { color: var(--ink); }

/* =========================================================
   本文（プライバシーポリシー等）
   ========================================================= */
.prose { max-width: 760px; counter-reset: sec; }
.prose > p { margin-bottom: 18px; color: var(--ink); line-height: 2.05; }
.prose h2 {
  display: flex;
  gap: 14px;
  font-size: 1.18rem;
  margin: 46px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.prose h2::before {
  counter-increment: sec;
  content: counter(sec, decimal-leading-zero);
  font-size: 0.8rem;
  color: var(--brass);
  padding-top: 6px;
  font-feature-settings: "tnum" 1;
}
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.02rem; margin: 26px 0 8px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 1.3em; color: var(--ink); }
.prose li { margin-bottom: 8px; line-height: 1.95; }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brass-soft); }
.prose .meta { color: var(--ink-soft); font-size: 0.88rem; }

/* =========================================================
   連絡先
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 6vw, 64px);
  align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(24px, 4vw, 36px);
  background: var(--paper);
}
.contact-card dl {
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 14px 20px;
}
.contact-card dt { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; color: var(--ink-soft); }
.contact-card dd { margin: 0; word-break: break-word; }
.contact-card dd a { color: var(--navy); }
@media (max-width: 460px) {
  .contact-card dl { grid-template-columns: 1fr; gap: 4px; }
  .contact-card dd { margin-bottom: 12px; }
}
.note-list { list-style: none; margin: 0; padding: 0; }
.note-list li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.note-list li:last-child { border-bottom: 1px solid var(--line); }
.note-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-left: 1.5px solid var(--brass-soft);
  border-bottom: 1.5px solid var(--brass-soft);
  transform: rotate(-45deg);
}

/* =========================================================
   フッター
   ========================================================= */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.72); }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-block: clamp(48px, 7vw, 72px);
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .brand-name { color: #fff; display: inline-block; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.95; max-width: 36ch; color: rgba(255, 255, 255, 0.6); }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 0.86rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 22px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.5); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 30px; } }

/* =========================================================
   アクセシビリティ / モーション
   ========================================================= */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
}
.skip-link:focus { left: 0; top: 0; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

/* JS 有効時のみ初期状態を隠す。スクリプトが読み込まれなくても
   1.6 秒後にフォールバックで必ず表示される（下の @keyframes）。 */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal-fallback 0.01s linear 1.6s forwards;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  animation: none;
  transition: opacity 0.7s ease, transform 0.85s cubic-bezier(0.16, 0.8, 0.3, 1);
}
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* 余白・文字ユーティリティ */
.mt-s { margin-top: 20px; }
.mt-m { margin-top: 36px; }
.center { text-align: center; }
.text-muted { color: var(--ink-soft); }
.note { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.9; }
.note a { color: var(--navy); }
