/* =========================================================
   三杉美術 Sanshan Art — 公式サイト
   和紙の明るい素調・明朝体・縦組み・朱色の印
   ========================================================= */

/* ---------- デザイントークン ---------- */
:root {
  /* カラー */
  --washi: #F7F3EC;        /* 和紙の地 */
  --washi-deep: #EFE8DC;   /* 一段深い和紙 */
  --ink: #1C1814;          /* 墨 */
  --ink-soft: #4A4239;     /* 弱めの墨 */
  --bamboo: #6E665C;       /* 竹炭グレー */
  --shu: #B03A2E;          /* 朱 */
  --shu-deep: #932D23;     /* 濃い朱（ hover ） */
  --kin: #B08D4E;          /* 金箔 */
  --line: rgba(28, 24, 20, 0.16);
  --line-strong: rgba(28, 24, 20, 0.42);

  /* タイポグラフィ */
  --font-min: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --font-goth: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-latin: "Cormorant Garamond", "Shippori Mincho", serif;

  /* 余白・形状 */
  --container: 1160px;
  --section-y: clamp(72px, 10vw, 140px);
  --radius: 2px;

  /* 動き */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.9s;
}

/* ---------- リセット・ベース ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-min);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink);
  background-color: var(--washi);
  /* 和紙の繊維感：ごく淡いテクスチャをグラデーションで再現 */
  background-image:
    radial-gradient(circle at 18% 12%, rgba(176, 141, 78, 0.05), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(28, 24, 20, 0.04), transparent 46%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: rgba(176, 58, 46, 0.18);
}

/* ---------- 共通レイアウト ---------- */
.container {
  width: min(var(--container), calc(100% - 56px));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
}

/* セクション見出しの索引（01 / 02 …） */
.section-index {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 34px;
  font-family: var(--font-goth);
  color: var(--bamboo);
  letter-spacing: 0.14em;
}

.section-index .num {
  font-family: var(--font-latin);
  font-size: 15px;
  letter-spacing: 0.28em;
  color: var(--shu);
}

.section-index .kicker {
  font-size: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(27px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.06em;
}

.section-text {
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 2.05;
}

.section-note {
  margin-top: 18px;
  color: var(--bamboo);
  font-size: 14px;
}

/* 縦組み見出し（PCのみ） */
.vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.18em;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: var(--font-goth);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

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

.btn-primary {
  background-color: var(--shu);
  color: var(--washi);
  border-color: var(--shu);
}

.btn-primary:hover {
  background-color: var(--shu-deep);
  border-color: var(--shu-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background-color: rgba(28, 24, 20, 0.05);
  transform: translateY(-2px);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled {
  background-color: rgba(247, 243, 236, 0.92);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background-color: var(--shu);
  color: var(--washi);
  font-size: 20px;
  font-weight: 700;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1.5px rgba(247, 243, 236, 0.55);
}

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

.brand-ja {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand-en {
  font-family: var(--font-latin);
  font-size: 10.5px;
  letter-spacing: 0.34em;
  color: var(--bamboo);
}

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

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-list a {
  position: relative;
  font-family: var(--font-goth);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  padding-block: 6px;
  transition: color 0.3s;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--shu);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-list a:hover {
  color: var(--ink);
}

.nav-list a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 11px 22px;
  font-size: 12.5px;
}

/* モバイル用ハンバーガー（PCでは非表示） */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 120;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

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

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

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: 130px 90px;
  overflow: hidden;
}

/* 左：文言／右：図版の2カラム。図版は通常フローに置き
   透明SVGを和紙へ直接乗せることで矩形の縁を出さない。 */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.hero-copy {
  min-width: 0;
}

/* 右カラム：左の縦組み見出しの帯に上端を揃え、図版と添え書きをまとめる。
   左カラムが長くてもグリッド行全体での天地中央にはせず、
   短い画面で図版の下端が見切れないよう上端側へ固定する。 */
.hero-figure {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: start;
  margin-top: clamp(34px, 6.5vh, 62px);
}

.hero-figure img {
  /* 固有比を保ったまま、カラム幅（max-width）と画面高（max-height）の
     両方に収め、右側を埋めつつ下端のはみ出しを防ぐ。 */
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 58vh;
  object-fit: contain;
  object-position: center;
}

/* 図版に添える短い銘（朱線＋小字で重心を下げ、右側の余白を引き締める） */
.hero-fignote {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(20px, 3vh, 30px) 0 0;
  font-family: var(--font-goth);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--bamboo);
}

.hero-fignote-bar {
  width: 34px;
  height: 1.5px;
  flex: none;
  background-color: var(--shu);
}

.hero-kicker {
  font-family: var(--font-goth);
  font-size: 12.5px;
  letter-spacing: 0.32em;
  color: var(--bamboo);
  margin-bottom: 30px;
}

.hero-kicker::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  background-color: var(--shu);
  vertical-align: middle;
  margin-right: 14px;
}

.hero-title-row {
  display: flex;
  align-items: flex-end;
  /* 主見出しの組を左カラムの中央へ寄せ、左端に張り付かず右の図版との間合いを均衡させる */
  justify-content: center;
  gap: 46px;
}

.hero-title {
  /* vw と vh の小さい方で律速し、縦組み15字が画面高に収まるよう制約 */
  font-size: clamp(26px, min(2.55vw, 3.05vh), 44px);
  font-weight: 700;
  line-height: 1.6;
}

.hero-latin {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-latin);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--kin);
  padding-bottom: 6px;
}

.hero-latin span {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--bamboo);
}

.hero-lede {
  margin-top: 30px;
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--ink-soft);
  line-height: 2.1;
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-actions .btn {
  padding: 13px 20px;
  font-size: 12.5px;
  white-space: nowrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 12px 22px;
  font-family: var(--font-goth);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background-color: rgba(247, 243, 236, 0.72);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--shu);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(176, 58, 46, 0.45); }
  55% { box-shadow: 0 0 0 8px rgba(176, 58, 46, 0); }
}

/* ---------- 理念（About） ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.about-figure {
  position: relative;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* 朱色の印 */
.seal {
  position: absolute;
  right: -18px;
  bottom: -22px;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  background-color: var(--shu);
  color: var(--washi);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.1em;
  border-radius: 5px;
  transform: rotate(-7deg);
  box-shadow:
    inset 0 0 0 2px rgba(247, 243, 236, 0.6),
    0 6px 18px rgba(176, 58, 46, 0.28);
}

.value-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.value-list h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.value-list h3::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--shu);
  margin-bottom: 14px;
}

.value-list p {
  font-size: 13.5px;
  color: var(--bamboo);
  line-height: 1.9;
}

/* ---------- 取扱分野（Collection） ---------- */
.section-collection {
  background-color: var(--washi-deep);
}

.collection-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 54px;
}

/* 編集誌的な横並びリスト（カードグリッドではない） */
.collection-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding-block: 38px;
  border-top: 1px solid var(--line);
}

.collection-item:last-child {
  border-bottom: 1px solid var(--line);
}

.collection-figure {
  margin: 0;
  overflow: hidden;
}

.collection-figure img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.collection-item:hover .collection-figure img {
  transform: scale(1.05);
}

.collection-meta {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  align-items: flex-start;
}

.collection-num {
  font-family: var(--font-min);
  font-size: 34px;
  font-weight: 700;
  color: var(--kin);
  line-height: 1.2;
}

.collection-meta h3 {
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.collection-meta p {
  color: var(--ink-soft);
  font-size: 14.5px;
}

.collection-count {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-goth);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--shu);
  padding: 4px 12px;
  border: 1px solid rgba(176, 58, 46, 0.4);
}

/* ---------- オークション ---------- */
.auction-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.auction-item {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-block: 36px;
  border-top: 1px solid var(--line);
  transition: background-color 0.35s var(--ease);
}

.auction-item:last-child {
  border-bottom: 1px solid var(--line);
}

.auction-item:hover {
  background-color: rgba(176, 141, 78, 0.06);
}

.auction-date {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.auction-day {
  font-family: var(--font-latin);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

.auction-week {
  font-family: var(--font-goth);
  font-size: 12px;
  line-height: 1.7;
  color: var(--bamboo);
  letter-spacing: 0.08em;
}

.auction-body h3 {
  font-size: clamp(18px, 1.9vw, 23px);
  font-weight: 700;
  letter-spacing: 0.07em;
  margin-bottom: 14px;
}

.auction-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
}

.auction-detail div {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
}

.auction-detail dt {
  font-family: var(--font-goth);
  color: var(--bamboo);
  letter-spacing: 0.08em;
}

.auction-detail dt::after {
  content: "：";
}

.auction-detail dd {
  color: var(--ink-soft);
}

.auction-tag {
  font-family: var(--font-goth);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--washi);
  background-color: var(--shu);
  padding: 6px 14px;
  white-space: nowrap;
}

.auction-figure {
  margin: 64px 0 0;
}

.auction-figure img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.auction-figure figcaption {
  margin-top: 14px;
  font-family: var(--font-goth);
  font-size: 12.5px;
  color: var(--bamboo);
  letter-spacing: 0.08em;
  text-align: right;
}

/* ---------- ご利用の流れ ---------- */
.section-process {
  background-color: var(--washi-deep);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: 54px;
}

.process-item {
  position: relative;
  padding-top: 30px;
}

.process-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--line-strong);
}

.process-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 2px;
  background-color: var(--shu);
}

.process-num {
  display: block;
  font-size: 30px;
  font-weight: 700;
  color: var(--kin);
  margin-bottom: 16px;
}

.process-item h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.process-item p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.95;
}

/* ---------- 実績（Stats） ---------- */
.section-stats {
  padding-block: clamp(64px, 8vw, 104px);
  background-color: var(--ink);
  color: var(--washi);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat dt {
  font-family: var(--font-goth);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: rgba(247, 243, 236, 0.62);
  margin-bottom: 16px;
}

.stat dd {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}

.stat strong {
  font-family: var(--font-latin);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 500;
  line-height: 1;
  color: var(--kin);
}

.stat span {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: rgba(247, 243, 236, 0.75);
}

/* ---------- お知らせ ---------- */
.news-item {
  display: flex;
  gap: clamp(20px, 4vw, 52px);
  align-items: baseline;
  padding-block: 26px;
  border-top: 1px solid var(--line);
}

.news-item:last-child {
  border-bottom: 1px solid var(--line);
}

.news-item time {
  flex-shrink: 0;
  font-family: var(--font-latin);
  font-size: 17px;
  letter-spacing: 0.12em;
  color: var(--bamboo);
}

.news-item a {
  font-size: 15px;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.news-item a:hover {
  color: var(--shu);
  padding-left: 8px;
}

/* ---------- アクセス ---------- */
.section-access {
  background-color: var(--washi-deep);
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.access-list > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}

.access-list > div:last-child {
  border-bottom: 1px solid var(--line);
}

.access-list dt {
  font-family: var(--font-goth);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--bamboo);
}

.access-list dd {
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* 模式マップ（CSSのみ、角丸グレー箱は不使用） */
.access-map {
  position: relative;
  min-height: 340px;
  border: 1px solid var(--line-strong);
  background-color: rgba(255, 253, 248, 0.7);
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* 背景の格子で地図らしさを表現 */
.access-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 24, 20, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 24, 20, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}

.map-station,
.map-pin,
.map-note {
  position: absolute;
  z-index: 1;
  font-family: var(--font-goth);
  font-size: 12.5px;
  letter-spacing: 0.1em;
}

.map-station {
  left: 12%;
  top: 26%;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  background-color: var(--washi);
}

.map-pin {
  right: 12%;
  bottom: 24%;
  padding: 10px 16px;
  background-color: var(--shu);
  color: var(--washi);
}

.map-route {
  position: absolute;
  left: 22%;
  top: 38%;
  width: 52%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--kin) 0 8px,
    transparent 8px 14px
  );
  transform: rotate(24deg);
  transform-origin: left center;
}

.map-note {
  left: 50%;
  top: 58%;
  transform: translateX(-50%);
  color: var(--bamboo);
}

/* ---------- お問い合わせ ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

/* 静的な連絡先パネル（フォーム・外部接続なし） */
.contact-panel {
  border: 1px solid var(--line-strong);
  background-color: rgba(255, 253, 248, 0.66);
  padding: clamp(30px, 4vw, 48px);
}

.contact-panel-lead {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 2;
  padding-bottom: 28px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.contact-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s var(--ease);
}

a.contact-row {
  margin-inline: -12px;
  padding-inline: 12px;
}

a.contact-row:hover {
  background-color: rgba(176, 141, 78, 0.08);
}

.contact-row-label {
  font-family: var(--font-goth);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: var(--washi);
  background-color: var(--ink);
  text-align: center;
  padding: 7px 0;
}

.contact-row-static .contact-row-label {
  background-color: var(--kin);
}

.contact-row-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-row-main strong {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.contact-row-main small {
  font-family: var(--font-goth);
  font-size: 12px;
  color: var(--bamboo);
  letter-spacing: 0.06em;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.contact-actions .btn {
  flex: 1 1 200px;
}

/* ---------- フッター ---------- */
.site-footer {
  background-color: var(--ink);
  color: rgba(247, 243, 236, 0.82);
  padding-top: clamp(56px, 7vw, 88px);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(247, 243, 236, 0.14);
}

.site-footer .brand-mark {
  background-color: transparent;
  border: 1.5px solid var(--shu);
  box-shadow: none;
}

.site-footer .brand-ja {
  color: var(--washi);
}

.footer-text {
  margin-top: 22px;
  font-size: 13px;
  line-height: 2;
  color: rgba(247, 243, 236, 0.55);
}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 44px;
}

.footer-nav a {
  font-family: var(--font-goth);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(247, 243, 236, 0.72);
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--kin);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-block: 26px;
}

.footer-note {
  font-size: 11.5px;
  color: rgba(247, 243, 236, 0.38);
}

.copyright {
  margin: 0;
  font-size: 11.5px;
  color: rgba(247, 243, 236, 0.45);
}

/* ---------- スクロール連動アニメーション（ fail-open ） ---------- */
/* JS が無効なら .reveal はそのまま表示される */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 同層の兄弟要素に軽い時間差をつける */
html.js .value-list .reveal:nth-child(2),
html.js .process-list .reveal:nth-child(2),
html.js .stats-grid .reveal:nth-child(2) {
  transition-delay: 0.12s;
}

html.js .value-list .reveal:nth-child(3),
html.js .process-list .reveal:nth-child(3),
html.js .stats-grid .reveal:nth-child(3) {
  transition-delay: 0.24s;
}

html.js .process-list .reveal:nth-child(4),
html.js .stats-grid .reveal:nth-child(4) {
  transition-delay: 0.36s;
}

/* ---------- レスポンシブ：タブレット ---------- */
@media (max-width: 1024px) {
  .global-nav {
    gap: 22px;
  }

  .nav-list {
    gap: 20px;
  }

  .nav-cta {
    display: none;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* タブレット：2カラムを保ちつつ余白を詰める */
  .hero-inner {
    gap: clamp(16px, 3vw, 36px);
  }

  /* 狭い幅ではボタンを縦並びに戻す */
  .hero-actions {
    flex-wrap: wrap;
  }

  .about-figure {
    max-width: 420px;
  }

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

  .access-map {
    min-height: 300px;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 44px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 48px;
  }
}

/* ---------- レスポンシブ：モバイル ---------- */
@media (max-width: 768px) {
  .container {
    width: calc(100% - 40px);
  }

  .section {
    padding-block: 64px;
  }

  /* ナビを全画面パネル化 */
  .menu-toggle {
    display: flex;
  }

  .global-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    background-color: var(--washi);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }

  .global-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 26px;
  }

  .nav-list a {
    font-size: 16px;
  }

  .nav-cta {
    display: inline-flex;
  }

  /* ヒーロー：1カラムで文言→図版の順、見出しは横組み */
  .hero {
    align-items: flex-start;
    padding-block: 120px 70px;
    min-height: auto;
  }

  .hero-inner {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-figure {
    width: 100%;
    order: 2;
    margin-top: 40px;
  }

  .hero-title-row {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
  }

  .vertical {
    writing-mode: horizontal-tb;
  }

  .hero-title {
    font-size: clamp(27px, 8vw, 34px);
    line-height: 1.6;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-badge {
    align-items: flex-start;
    font-size: 11.5px;
  }

  .hide-sp {
    display: none;
  }

  /* 印が画面外にはみ出さない調整 */
  .seal {
    right: 8px;
    width: 62px;
    height: 62px;
    font-size: 20px;
  }

  .value-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .collection-item {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .collection-figure img {
    aspect-ratio: 4 / 3;
  }

  .collection-meta {
    gap: 20px;
  }

  .auction-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .auction-tag {
    justify-self: start;
  }

  .auction-detail {
    flex-direction: column;
    gap: 8px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 16px;
  }

  .news-item {
    flex-direction: column;
    gap: 6px;
  }

  .access-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-row-label {
    justify-self: start;
    padding: 6px 16px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- モーション低減設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}
