@charset "UTF-8";
/* ============================================================
   Woven Works — Corporate Site
   Design tokens & layout（Figma「02 Corporate — 修正v1 WIP」準拠）
   ============================================================ */

:root {
  /* color */
  --ink: #1c1c1a;
  --ink-soft: #56554f;
  --brown: #8a7360;      /* キッカー・リンク・番号・アイコン */
  --taupe: #97826c;      /* ラベル・日付・弱テキスト */
  --line: #d4c8b8;       /* ヘアライン */
  --bg-body: #fffdf9;    /* #FFF7EB 29% over white */
  --bg-news: #faf8f3;
  --bg-contact: #f8f4ef; /* #F5F0E9 72% over white */
  --bg-footer: #eae5dd;  /* #E2DBD0 72% over white */
  /* type */
  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --en: "Barlow", sans-serif;
  /* layout */
  --header-h: 79px;
  --inner-w: 1260px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* overflow-x:hidden＝ゴーストワード等の横はみ出しでビューポートが横スクロール可能になるのを防ぐ
   （bodyのclipだけだとリロード時にChromeが横スクロール位置を復元して右端が空く） */
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  min-width: 1100px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.inner {
  max-width: var(--inner-w);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}
.site-header__logo img { height: 44px; width: auto; }
.site-header__logo, .site-footer__logo { display: inline-block; transition: opacity 0.25s; }
.site-header__logo:hover, .site-footer__logo:hover { opacity: 0.6; } /* ロゴ＝TOPへの導線だと伝わる程度の反応 */
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: color 0.25s;
}
.site-nav a:hover, .site-nav a.is-current { color: var(--brown); }
.site-nav .nav-ig { width: 18px; height: 18px; color: var(--ink); }
.site-nav .nav-ig svg { width: 18px; height: 18px; display: block; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: min(62.5vw, 900px);
  min-height: 620px;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  left: 0; right: 0;
  top: -140px; bottom: 0; /* パララックス移動ぶんの余白 */
  background-size: cover;
  background-position: center;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(255,255,255,0.85) 0%,
    rgba(255,255,255,0.37) 91%);
}
.hero__ghost {
  position: absolute;
  top: 117px; right: -40px;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 174px; /* Figma固定値 */
  line-height: 1.45;
  letter-spacing: 0;
  color: rgba(0, 0, 0, 0.175); /* Figma: node 35% x fill 50% */
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--inner-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__eyebrow {
  font-family: var(--en);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.22em;
  margin-bottom: 16px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 54px;
  line-height: 1.55;
  letter-spacing: 0.06em;
}
.hero__message {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.08em;
  margin-top: 56px;
}
.hero__lead {
  margin-top: 28px;
  font-size: 16px;
  line-height: 2.1;
  letter-spacing: 0.04em;
}
/* TOP専用ヒーロー */
.hero--top .hero__eyebrow { font-size: 20px; letter-spacing: 0.18em; }
.hero--top .hero__title { font-size: 54px; line-height: 1.65; }
.hero--top .hero__lead {
  margin-top: 40px;
  font-family: var(--serif); /* TOPの本文は明朝で */
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.02em; /* 明朝は字間を詰めるほうが締まる */
  line-height: 2.0;
}
.hero--top .hero__content { padding-top: 110px; } /* 文字群を中央より少し下へ */

/* 文節単位の折り返し（大きな見出し用。auto-phrase非対応ブラウザでも語の途中で切れない） */
.ph { display: inline-block; }

/* ---------- section primitives ---------- */
.section { position: relative; }
.bg-white { background: #fff; }
.bg-body { background: var(--bg-body); }
.bg-news { background: var(--bg-news); }

.kicker {
  font-family: var(--en);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--taupe);
  text-transform: uppercase;
}
.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.1em;
  margin-top: 8px;
}
.section-head { margin-bottom: 81px; }

.serif-num {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--brown);
  line-height: 1;
}

/* CTA link（箱なし・テキスト＋矢印） */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.25s;
  position: relative;
  padding-bottom: 4px;
}
.cta-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta-link:hover::after { width: calc(100% - 25px); }
.cta-link .arrow { width: 15px; height: 15px; color: var(--ink); transition: transform 0.25s, color 0.25s; }
.cta-link .arrow svg { width: 100%; height: 100%; display: block; }
.cta-link:hover { color: var(--brown); }
.cta-link:hover .arrow { transform: translateX(4px); color: var(--brown); }

.text-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--brown);
  transition: opacity 0.25s;
  position: relative;
  padding-bottom: 3px;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.text-link:hover { opacity: 0.85; }
.text-link:hover::after { width: 100%; }

.learn-more {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--brown);
  letter-spacing: 0.06em;
  transition: opacity 0.25s;
  position: relative;
  padding-bottom: 3px;
}
.learn-more::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.learn-more:hover { opacity: 0.85; }
.learn-more:hover::after { width: 100%; }

/* TOP事業内容の Learn more：スライドが現在地になったら下線が左から引かれ、そのまま残る。
   ホバーは色が変わる（下線は既に出ているので色で応答） */
.biz-slide .learn-more { transition: color 0.3s, opacity 0.25s; }
.biz-slide .learn-more::after { width: 0; transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
/* ピンが着地してから引く＝01も「出っぱなし」ではなく着地の瞬間に描かれる */
.js-pin.is-landed .biz-slide.is-active .learn-more::after { width: 100%; transition-delay: 0.3s; }
.top-business:not(.js-pin) .biz-slide .learn-more::after { width: 100%; }
.biz-slide .learn-more:hover { color: var(--ink); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js-pin .biz-slide.is-active .learn-more::after { transition: none; }
}

/* 気配テクスチャ */
body { overflow-x: clip; position: relative; }
.tex {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1; /* Figma同様、帯（セクション背景）の上に重ねる */
  object-fit: cover; /* Figmaの矩形クロップを再現 */
}
/* カード（4枚横並びのコンパクト版） */
.card--compact {
  min-height: 90px;
  padding: 0 10px 0 20px;
  gap: 20px;
  justify-content: flex-start;
}
.card--compact .card__title { font-size: 18px; letter-spacing: 0; white-space: nowrap; }
.section > .inner { position: relative; z-index: 1; }

/* ページ最下端アンカーのすりガラス麦（全ページ共通・Figmaでは左右反転ノード） */
.page-glassmugi {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1239px;
  object-fit: cover;
  transform: scaleX(-1);
  opacity: 0.35; /* Figma fill opacity */
  z-index: 1;
  pointer-events: none;
  /* 上端が直線の段差に見えないよう、上220pxをフェードで溶かす */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 220px);
  mask-image: linear-gradient(to bottom, transparent, #000 220px);
}
/* ページ最下端アンカーの麦標本（全ページ共通・帯の上に重なる） */
.page-mugi {
  position: absolute;
  bottom: 0;
  left: calc(50% + 31px); /* Figma x751（1440基準の中央+31） */
  width: 452px;
  height: 673px;
  object-fit: cover;
  z-index: 2;
  opacity: 0.4; /* Figma実測0.28だと弱すぎ→0.4に調整 */
  pointer-events: none;
}
/* ---------- pre-footer contact band ---------- */
.contact-band {
  background: var(--bg-contact);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-band .inner {
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 56px;
  padding-bottom: 56px;
}
.contact-band__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.1em;
}
.contact-band__note { margin-top: 12px; font-size: 13px; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-footer); }
.site-footer .inner {
  z-index: 3;
  padding-top: 56px;
  padding-bottom: 44px;
}
.site-footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-footer__logo img { height: 44px; width: auto; }
.site-footer__copy {
  margin-top: 40px;
  font-size: 12px;
  color: var(--taupe);
}

/* ============================================================
   TOP
   ============================================================ */
.top-about { padding: 173px 0 174px; } /* Figmaゾーン900-1558 */
.top-about__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 43px;
  letter-spacing: 0.08em;
  margin-top: 24px;
}
.top-about__body { margin-top: 36px; font-size: 15px; color: var(--ink-soft); line-height: 2.2; }
.top-about__link { margin-top: 32px; display: inline-block; }

.top-business { padding: 102px 0 80px; } /* Figmaゾーン1558-3590 */
.biz-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
  margin-bottom: 100px; /* Figma行ピッチ460（画像360+100） */
}
.biz-row:last-child { margin-bottom: 0; }
.biz-row__text { flex: 0 0 460px; padding-top: 46px; } /* Figma: 番号は画像上端+46 */
.biz-row__num { font-size: 54px; }
.biz-row__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.1em;
  margin-top: 28px;
}
.biz-row__desc { margin-top: 20px; font-size: 16px; color: var(--ink-soft); }
.biz-row__more { margin-top: 28px; display: inline-block; }
.biz-row__img { flex: 0 0 580px; }
.biz-row__img img { width: 580px; height: 360px; object-fit: cover; }
.biz-row--reverse { flex-direction: row-reverse; }

.top-news { padding: 60px 0 113px; } /* Figmaゾーン3590-4056 */
.news-list { margin-top: 29px; }
.news-list__row {
  display: flex;
  align-items: baseline;
  gap: 0;
  padding: 16px 0;
}
.news-list__date {
  flex: 0 0 100px;
  font-family: var(--en);
  font-weight: 600;
  font-size: 13px;
  color: var(--taupe);
  letter-spacing: 0.06em;
}
.news-list__cat {
  flex: 0 0 110px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brown);
}
.news-list__title { font-size: 14px; }
.top-news__more { margin-top: 28px; display: inline-block; }

/* ============================================================
   下層共通
   ============================================================ */
.page-section { padding: 100px 0 120px; }

/* 理念テーブル（About・ヒーロー上に重ねる） */
.philosophy { position: absolute; left: 0; right: 0; top: 385px; z-index: 3; }
.philosophy__label {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.2em;
  color: var(--taupe);
  margin-bottom: 26px;
}
.philosophy__row { display: flex; align-items: baseline; margin-bottom: 22px; }
.philosophy__key {
  flex: 0 0 97px;
  font-family: var(--en);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--taupe);
}
.philosophy__value {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.06em;
}
.hero--about { height: 900px; }
.hero--about .hero__content { justify-content: flex-start; padding-top: 150px; } /* 文字群を少し上へ（186→150） */

/* 代表メッセージ */
.message-grid { display: flex; gap: 100px; }
.message-main { flex: 0 0 700px; }
.message-headline {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 42px;          /* 「本格焼酎との出会いを創造する。」（15字）が700px幅で1行に収まるサイズ */
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--brown);
  margin: 28px 0 48px;
}
.message-body { font-size: 15px; color: var(--ink-soft); line-height: 2.15; }
.message-body p + p { margin-top: 2.15em; }
.message-sign { margin-top: 64px; font-size: 14px; font-weight: 500; }
.profile { flex: 1; padding-top: 130px; }
.profile__label { margin-bottom: 34px; }
.profile__row { display: flex; gap: 34px; margin-bottom: 20px; }
.profile__year {
  flex: 0 0 34px;
  font-family: var(--en);
  font-weight: 500;
  font-size: 12px;
  color: var(--taupe);
  padding-top: 2px;
}
.profile__event { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }

/* 会社概要テーブル */
.company-table { margin-top: 56px; }
.company-table__row {
  display: flex;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.company-table__row:first-child { border-top: 1px solid transparent; }
.company-table__key {
  flex: 0 0 210px;
  font-size: 13px;
  font-weight: 500;
  color: var(--taupe);
}
.company-table__value { font-size: 14px; }

/* 免許リスト */
.license-list { margin-top: 56px; max-width: 464px; }
.license-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.license-list__name { font-size: 15px; font-weight: 500; }
.license-list__status { font-size: 12px; color: var(--taupe); }
.license-note { margin-top: 24px; font-size: 12px; color: var(--taupe); }

/* 対象・イベントカード（白＋ヘアライン） */
.card-row { display: flex; gap: 25px; margin-top: 56px; }
.card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 27px;
  padding: 0 20px 0 28px;
  min-height: 110px;
}
.card__icon { flex: 0 0 50px; width: 50px; height: 50px; color: var(--brown); }
.card__icon svg, .card__icon img { width: 100%; height: 100%; }
.card__title { font-family: var(--sans); font-weight: 400; font-size: 17px; letter-spacing: 0.02em; color: var(--ink); } /* カード内の大きめ文字は明朝だと悪目立ち→ゴシック（Regular）・墨 */
.card__desc { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; line-height: 1.6; }

/* ご提供できること（縦積み・スチル付き） */
.support-list { margin-top: 24px; }
.support-item { display: flex; gap: 60px; padding: 60px 0; align-items: flex-start; }
.support-item__img { flex: 0 0 180px; }
.support-item__img img { width: 180px; height: 180px; object-fit: cover; }
.support-item__num { font-size: 40px; }
.support-item__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.08em;
  margin-top: 18px;
}
.support-item__desc { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }

/* 縦タイムライン */
.timeline { margin-top: 70px; position: relative; padding-left: 60px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 24px; top: 10px; bottom: 10px;
  width: 1px;
  background: var(--line);
}
.timeline__item { position: relative; padding-bottom: 62px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -40px; top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink);
}
.timeline__head { display: flex; align-items: baseline; gap: 28px; }
.timeline__num { font-size: 22px; }
.timeline__title { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: 0.08em; }
.timeline__desc { margin-top: 8px; margin-left: 50px; font-size: 13px; color: var(--taupe); }
.section-note { margin-top: 56px; font-size: 12px; color: var(--taupe); }

/* 開催の記録 */
.records { margin-top: 20px; }
.record {
  display: flex;
  gap: 50px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.record:first-child { border-top: 1px solid var(--line); }
.record__img { flex: 0 0 290px; }
.record__img img { width: 290px; height: 362px; object-fit: cover; }
.record__meta { display: flex; gap: 24px; align-items: baseline; }
.record__date { font-family: var(--en); font-weight: 600; font-size: 13px; color: var(--taupe); letter-spacing: 0.05em; }
.record__cat { font-size: 13px; font-weight: 500; color: var(--brown); }
.record__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.05em;
  margin-top: 14px;
  line-height: 1.7;
}
.record__body { margin-top: 18px; font-size: 15px; line-height: 2.05; max-width: 830px; }

/* 活動実績リスト */
.news-page-list { margin-top: 0; }
.news-page-list .news-list__row {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.news-page-list .news-list__row:first-child { border-top: 1px solid var(--line); }
.news-page-list .news-list__title { font-size: 15px; }

/* ============================================================
   お問い合わせ
   ============================================================ */
.contact-page { background: var(--bg-news); padding: 100px 0 140px; }
.contact-page > .inner { z-index: 3; } /* フォームは下端テクスチャより手前に */
/* お問い合わせページは下端テクスチャがフォームに被らないよう、フッター寄りだけに絞る */
.contact-page ~ .page-glassmugi {
  height: 760px;
  opacity: 0.28;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 360px);
  mask-image: linear-gradient(to bottom, transparent, #000 360px);
}
.contact-page ~ .page-mugi { height: 520px; width: 349px; }
.select-chips { display: flex; gap: 20px; margin-top: 44px; }
.chip {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  padding-left: 16px;
  background: #fff;
  border: 1px solid var(--line);
  height: 56px;
  font-family: var(--sans); /* カード題と同じくゴシック */
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.chip svg { width: 32px; height: 32px; color: var(--brown); flex: 0 0 32px; }
.chip:hover { border-color: var(--brown); }
.chip.is-active { border-color: var(--brown); color: var(--brown); font-weight: 500; }

.contact-grid { display: flex; gap: 100px; margin-top: 80px; }
.contact-form { flex: 0 0 620px; }
.form-field { margin-bottom: 34px; }
.form-field label { display: flex; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 500; }
.form-field .req { font-size: 11px; color: var(--taupe); font-weight: 400; }
.form-field input, .form-field textarea {
  width: 100%;
  margin-top: 10px;
  border: 1px solid var(--line);
  background: #fff;
  height: 48px;
  padding: 0 16px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
}
.form-field textarea { height: 160px; padding: 14px 16px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--taupe); opacity: 0.8; }
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--brown);
}
.form-submit {
  margin-top: 10px;
  width: 240px;
  height: 56px;
  background: #fff;
  border: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.form-submit:hover { background: #6f5442; border-color: #6f5442; color: #fff; } /* ホバーは濃い茶（煤竹） */
.form-note { margin-top: 24px; font-size: 12px; color: var(--ink); }

.contact-direct { flex: 1; }
.direct-title { font-size: 16px; font-weight: 700; margin-top: 20px; }
.direct-item { margin-top: 26px; }
.direct-item dt { font-size: 13px; font-weight: 500; color: var(--taupe); }
.direct-item dd { font-size: 14px; margin-top: 6px; }
.contact-direct hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 34px 0 20px;
}
.contact-direct .en-note { font-size: 12.5px; color: var(--ink-soft); }


/* ============================================================
   Motion（prefers-reduced-motion 環境では無効）
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  /* ページ遷移：入場はふわっと結像、退場（body.is-leaving）はフェード */
  /* fill は backwards：再生後は通常スタイルに戻し、is-leaving の opacity 遷移を効かせる */
  body { animation: pageIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards; transition: opacity 0.32s ease; }
  body.is-leaving { opacity: 0; }
  @keyframes pageIn { from { opacity: 0; } }

  /* ヒーロー：霧から像を結び、その後ごくゆっくり呼吸する（scale は transform と独立） */
  .hero__img {
    animation: heroImgIn 2.4s cubic-bezier(0.22, 1, 0.36, 1) both,
               heroBreath 28s ease-in-out 2.4s infinite alternate;
  }
  @keyframes heroImgIn {
    from { opacity: 0; filter: blur(14px); }
  }
  @keyframes heroBreath {
    from { scale: 1; }
    to   { scale: 1.045; }
  }
  /* ヒーローの文字群：霞から像を結ぶ（ぽわっ）。全ページ共通 */
  .hero__content > * {
    opacity: 0;
    animation: fogUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  @keyframes fogUp {
    from { opacity: 0; filter: blur(8px); transform: translateY(10px); }
    to   { opacity: 1; filter: blur(0);   transform: none; }
  }
  .hero__content > *:nth-child(1) { animation-delay: 0.35s; }
  .hero__content > *:nth-child(2) { animation-delay: 0.5s; }
  .hero__content > *:nth-child(3) { animation-delay: 0.65s; }
  .hero__content > *:nth-child(4) { animation-delay: 0.8s; }
  .hero__content > *:nth-child(5) { animation-delay: 0.95s; }
  /* About：PHILOSOPHYは1行ずつ上から順に浮かび上がる */
  .hero--about .philosophy-block { opacity: 1; animation: none; }
  .hero--about .philosophy-block > * { opacity: 0; animation: fogUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  .hero--about .philosophy-block > :nth-child(1) { animation-delay: 0.7s; }
  .hero--about .philosophy-block > :nth-child(2) { animation-delay: 0.95s; }
  .hero--about .philosophy-block > :nth-child(3) { animation-delay: 1.2s; }
  .hero--about .philosophy-block > :nth-child(4) { animation-delay: 1.45s; }
  .hero--about .philosophy-block > :nth-child(5) { animation-delay: 1.7s; }
  .hero--about .philosophy-block > :nth-child(6) { animation-delay: 1.95s; }
  .hero__ghost {
    opacity: 0;
    animation: ghostIn 1.8s ease-out 0.6s forwards;
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes ghostIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  /* スクロール表示（JSが .reveal を付与）：霞から像を結ぶ */
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(7px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1s cubic-bezier(0.22, 1, 0.36, 1),
                filter 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
  /* 代表メッセージ：見出し・署名はゆっくり浮かび上がる */
  .message-headline.reveal,
  .message-sign.reveal {
    transform: translateY(10px);
    transition-duration: 1.6s, 1.6s, 1.8s;
  }
  /* 段落は1文字ずつ、スクロール位置に合わせて満ちる（opacityはJSが更新） */
  .js .message-body p.is-chars { opacity: 1; transform: none; filter: none; transition: none; }
  .js .message-body p.is-chars .ch { opacity: 0; transition: opacity 0.18s linear; }

  /* ヘッダー：スクロール後はガラスを少し濃く（JSが .is-scrolled を付与） */
  .site-header { transition: background 0.5s ease, box-shadow 0.5s ease; }
  .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 1px 0 rgba(212, 200, 184, 0.45);
  }
}


/* ---------- 気配テクスチャの漂い ---------- */
@media (prefers-reduced-motion: no-preference) {
  .tex-drift { animation: texDrift 46s ease-in-out infinite alternate; }
  @keyframes texDrift {
    from { translate: 0 0; }
    to   { translate: 9px -14px; }
  }
  /* 下端アンカーの麦標本は横にだけ漂う（縦に動くと下揃えが崩れる） */
  .page-mugi { animation: mugiDrift 52s ease-in-out infinite alternate-reverse; }
  @keyframes mugiDrift {
    from { translate: 0 0; }
    to   { translate: -8px 0; }
  }
  .page-glassmugi { animation: glassDrift 60s ease-in-out infinite alternate; }
  @keyframes glassDrift {
    from { translate: 0 0; }
    to   { translate: -12px 0; }
  }
}



/* ============================================================
   TOP 事業内容：ピン＋その場切り替え（トリガー式・霧結像）
   ============================================================ */
.biz-slide {
  display: flex;
  align-items: center;
  gap: 80px;
}
.biz-slide__img { flex: 0 0 580px; position: relative; width: 580px; height: 360px; overflow: hidden; }
.biz-slide__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.biz-slide__text { flex: 1; max-width: 480px; }

/* フォールバック（縦積み） */
.top-business:not(.js-pin) .biz-slide { margin-bottom: 100px; }
.top-business:not(.js-pin) .biz-slide:last-child { margin-bottom: 0; }

/* ピンモード */
.js-pin .biz-pin { height: 640vh; position: relative; }
.js-pin .biz-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.js-pin .biz-stage__inner { position: relative; width: 100%; height: 460px; z-index: 2; }
.js-pin .biz-slide {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.js-pin .biz-slide.is-active { pointer-events: auto; }
@media (prefers-reduced-motion: no-preference) {
  /* 画像：霧から像が結ばれる */
  .js-pin .biz-slide__img img {
    opacity: 0;
    filter: blur(16px);
    transform: scale(1.08);
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
                filter 1.3s cubic-bezier(0.22, 1, 0.36, 1),
                transform 2s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js-pin .biz-slide.is-active .biz-slide__img img {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
  /* 文字：その場でふわっと入れ替わり（時間差つき） */
  .js-pin .biz-slide__text > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js-pin .biz-slide.is-active .biz-slide__text > * { opacity: 1; transform: none; }
  .js-pin .biz-slide.is-active .biz-slide__text > *:nth-child(2) { transition-delay: 0.1s; }
  .js-pin .biz-slide.is-active .biz-slide__text > *:nth-child(3) { transition-delay: 0.2s; }
  .js-pin .biz-slide.is-active .biz-slide__text > *:nth-child(4) { transition-delay: 0.3s; }
}
/* reduced-motion時のピンモードは即時切り替え */
@media (prefers-reduced-motion: reduce) {
  .js-pin .biz-slide { opacity: 0; }
  .js-pin .biz-slide.is-active { opacity: 1; }
}
.js-pin .biz-slide:not(.is-active) .biz-slide__img img { transition-delay: 0s; }

/* 背景レイヤー（ピン中もゆっくり流れる） */
.biz-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  /* ステージ下端でテクスチャが直線に切れないよう、下120pxをフェード */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 120px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 120px), transparent); }
.biz-bg__canvas { position: absolute; left: 0; right: 0; top: 0; height: 200vh; will-change: transform; }

/* 進行インジケーター */
.biz-progress {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  gap: 14px;
  z-index: 2;
}
.js-pin .biz-progress { display: flex; }
.biz-progress span { width: 1px; height: 28px; background: var(--line); transition: background 0.4s; }
.biz-progress span.is-active { background: var(--brown); }


/* ============================================================
   EXPORT（焼酎輸出）
   ============================================================ */
.export-for { padding: 110px 0 0; }
.for-cards .card__title { font-size: 15px; }

/* --- MARKET：左テキスト＋右に周回する3つの円 --- */
.export-market { padding: 130px 0 140px; }
.market-lead { margin-top: 24px; font-size: 15px; line-height: 28px; color: var(--ink-soft); }
.market-subhead {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.08em;
  margin-top: 60px;
  display: inline-block;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.market-body { margin-top: 20px; font-size: 14px; color: var(--ink-soft); line-height: 1.95; }
.market-note { margin-top: 16px; font-size: 14px; line-height: 1.95; color: var(--ink-soft); } /* 本文と同じサイズ */

.chip-tag {
  display: inline-block;
  background: var(--brown);
  color: #fff;
  font-family: var(--sans); /* 明朝の見出し内に置いても書体を引き継がない */
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  padding: 6px 16px 7px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.chip-tag--lg { margin-top: 56px; font-size: 13px; padding: 7px 20px 8px; } /* MARKETのチップは本文並みにひと回り大きく */

.market-circles {
  position: absolute;
  left: 40px; top: 61px;
  width: 1300px; height: 351px;
  pointer-events: none;
}
/* 3つの円が入れ替わりながら周回するカルーセル（位置・拡縮はJS）
   中央に来た円＝手前で大きく（Figmaの「韓国が大きい」状態は周回の一瞬） */
.mc-orbit {
  position: absolute;
  left: 870px; top: 174px; /* 軌道の中心（JSがtransformで配置） */
  will-change: transform;
}
.mc {
  width: 270px; height: 270px;
  margin: -135px 0 0 -135px; /* 中心基準 */
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background: var(--bg-body); /* 帯色で塗る＝手前の円が奥の円を隠す（衝突に見せない） */
}
.mc img { width: 47%; height: auto; margin-top: 15%; }
.mc__name {
  position: absolute;
  bottom: 14%;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 27px;
  letter-spacing: 0.08em;
  color: var(--ink);
  white-space: nowrap;
}

/* --- SUPPORT / PROCESS：スクロールで順番に大きくなる行 --- */
.export-support { padding: 48px 0 100px; }
.export-support .section-title { margin-bottom: 0; }

/* --f を数値プロパティとして登録＝トランジション可能に（定点入れ替えの要） */
@property --f {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
.grow-list { margin-top: 56px; }
.grow-row {
  --f: 0; /* 0=通常 1=拡大。JSが .is-big を付け替え、CSSトランジションでスッと入れ替わる */
  display: flex;
  align-items: center; /* 番号・アイコンは2行（タイトル＋説明）の天地センター */
  padding: calc(17px + 13px * var(--f)) 0;
}
@media (prefers-reduced-motion: no-preference) {
  .grow-row { transition: --f 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease; }
  /* 入れ替わりの瞬間：一度ふわっと霞み、サイズが変わった状態で像を結ぶ（ぽわっ）
     ※ opacityは0%/100%を書かない＝元の濃度（拡大1／非拡大0.35）から自然に出入りする */
  .grow-row.is-swapping { animation: growBloom 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
  @keyframes growBloom {
    0%   { filter: blur(0); }
    35%  { opacity: 0.18; filter: blur(4px); }
    100% { filter: blur(0); }
  }
}
.grow-row.is-big { --f: 1; }
/* ピン着地後：現在地以外は薄く（着地前は全行フル濃度・通常サイズ） */
.js-growpin.is-landed .grow-row { opacity: 0.35; }
.js-growpin.is-landed .grow-row.is-big { opacity: 1; }
/* 番号の列幅は2桁の実幅に合わせ、番号→アイコン／アイコン→タイトルの間隔を等しくする
   （固定幅だと数字の右に余りが出てアイコンが真ん中に見えない） */
.grow-row__num {
  flex: none;
  width: calc(28px + 58px * var(--f));
  margin-right: calc(24px + 6px * var(--f));
  font-size: calc(22px + 52.5px * var(--f));
  line-height: 1.15;
  text-align: center;
}
.grow-row__icon {
  flex: none;
  width: calc(40px + 52px * var(--f));
  height: calc(40px + 52px * var(--f));
  margin-right: calc(24px + 6px * var(--f));
  /* 光学補正：数字の字面（ベースライン寄り）に合わせて、アイコンをわずかに下げる
     実測：拡大時にアイコンのインク中心が数字より5px上だった */
  transform: translateY(calc(1.5px + 3.5px * var(--f)));
}
.grow-row__icon img { width: 100%; height: 100%; }
.grow-row__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: calc(20px + 16.7px * var(--f));
  letter-spacing: 0.08em;
  line-height: 1.45;
}
.grow-row__title { display: flex; align-items: center; } /* チップをタイトル文字の天地センターに */
.grow-row__title .chip-tag { margin-left: 24px; }
.grow-row__desc {
  margin-top: calc(8px + 7px * var(--f));
  font-size: calc(14px + 10.5px * var(--f)); /* 拡大時24.5px＝1行に収まる上限 */
  line-height: 1.5;
  color: var(--ink-soft);
}

/* --- FEE --- */
.export-fee { padding: 60px 0 120px; }
.fee-lead {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.06em;
  margin-top: 12px; /* 見出し直下に寄せる */
}
.fee-grid { display: flex; gap: 95px; margin-top: 56px; }
.fee-col { flex: 0 0 560px; }
.fee-col__kicker {
  font-family: var(--en);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--taupe);
  line-height: 1;
  padding: 6px 0 7px; /* chip-tagと行高を揃える */
}
.fee-col__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.06em;
  margin-top: 12px;
}
.fee-list { margin-top: 28px; }
.fee-list li {
  font-size: 15px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  padding: 12px 0 15px;
  border-bottom: 1px solid var(--line);
}

/* --- PROCESS --- */
.export-process { padding: 37px 0 53px; }
.pro-list { margin-top: 44px; position: relative; }
/* タイムラインの線は「行ごとの区切り線」を積んで描く（PHASE見出しをまたがない）。
   点は行の天地中央（align-items:center）にあるので、最初の行は50%から、最後の行は50%までで止める */
.pro-list::before { display: none; }
.grow-row--pro::before {
  content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 1px;
  background: var(--line);
}
.grow-list--process .grow-row--pro:first-child::before { top: 50%; }
.grow-list--process .grow-row--pro:last-child::before { bottom: 50%; }
.grow-list--process .grow-row--pro:only-child::before { display: none; }
/* 進行線（煤茶）：通過した行は全長、現在の行は点まで */
.grow-row--pro::after {
  content: ""; position: absolute; left: 20px; top: 0; height: 0; width: 1px;
  background: var(--brown); opacity: 0.7;
  transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.grow-list--process .grow-row--pro:first-child::after { top: 50%; }
.grow-row--pro.is-passed::after { height: 100%; }
.grow-list--process .grow-row--pro:first-child.is-passed::after { height: 50%; }
.grow-row--pro.is-current::after { height: 50%; }
.grow-list--process .grow-row--pro:first-child.is-current::after { height: 0; }
.grow-list--process .grow-row--pro:last-child.is-passed::after { height: 50%; }
/* ピン中：現在のステップまで煤茶の線が伸びていく（JSが --tl-top / --tl-h を更新） */
.js-growpin .pro-list::after { display: none; } /* 旧・1本の進行線（行ごとの ::after に置き換え） */
@media (prefers-reduced-motion: no-preference) {
  .js-growpin .pro-list::after { transition: height 0.75s cubic-bezier(0.22, 1, 0.36, 1); }
}
.pro-phase {
  display: flex;
  align-items: center; /* チップ含めて天地センター */
  gap: 16px;
  margin: 44px 0 20px;
}
.pro-list > .pro-phase:first-child { margin-top: 0; }
.pro-phase__no {
  font-family: var(--en);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--brown);
}
.pro-phase__label { font-size: 17px; font-weight: 500; }
.pro-phase__note { font-size: 12px; color: var(--taupe); }

.grow-list--process { margin-top: 0; }
.grow-row--pro {
  position: relative;
  padding: calc(15px + 8px * var(--f)) 0 calc(15px + 8px * var(--f)) 60px;
}
.grow-row--pro .grow-row__num {
  position: relative;
  width: calc(28px + 52px * var(--f));
  margin-right: calc(22px + 3px * var(--f)); /* アイコンの右余白と同じ */
  font-size: calc(22px + 48.3px * var(--f));
}
.grow-row--pro .grow-row__num::before {
  content: "";
  position: absolute;
  left: -39.5px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(9px + 35px * var(--f));
  height: calc(9px + 35px * var(--f));
  border-radius: 50%;
  background: color-mix(in srgb, var(--brown) calc(var(--f) * 100%), var(--ink));
}
.grow-row--pro .grow-row__icon {
  width: calc(32px + 29px * var(--f));
  height: calc(32px + 29px * var(--f));
  margin-right: calc(22px + 3px * var(--f));
}
.grow-row--pro .grow-row__title {
  font-size: calc(20px + 14px * var(--f));
  letter-spacing: 0.06em;
}
.grow-row--pro .grow-row__desc {
  margin-top: calc(6px + 0px * var(--f));
  font-size: calc(13px + 9.1px * var(--f));
  color: var(--taupe);
}
/* PROCESSの初期拡大はHTML側の .is-big（ステップ01）が担う */


/* --- CTAスタック（2本） --- */
.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
}

/* --- SUPPORT / PROCESS ピン演出（JSが .js-growpin を付与） --- */
.export-support.js-growpin,
.export-process.js-growpin { padding: 0; }
.js-growpin .grow-pin { position: relative; }
.js-growpin .grow-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  padding-top: var(--header-h); /* 固定ヘッダーの下で天地センター */
  overflow: hidden;
  display: flex;
  align-items: center;
}
.js-growpin .grow-stage > .inner { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  /* リストが長い場合、現在の行が中心に来るようゆっくり滑る */
  .js-growpin .grow-stage > .inner { transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1); }
}

/* --- ピン演出の汎用化（国内酒販・イベントでも使う） --- */
.page-section.js-growpin { padding: 0; }

/* スチル付きの拡大行（国内酒販・イベントの「ご提供できること」） */
.grow-row--still { gap: calc(40px + 20px * var(--f)); align-items: center; }
.grow-row--still .grow-row__still {
  flex: none;
  width: calc(104px + 136px * var(--f));  /* 通常104 → 拡大240（4行でもヘッダー下の1画面に収める） */
  height: calc(104px + 136px * var(--f));
  overflow: hidden;
}
.grow-row--still .grow-row__still img { width: 100%; height: 100%; object-fit: cover; }
.grow-row--still .grow-row__num {
  width: auto;
  text-align: left;   /* 基本ルールの中央揃えを打ち消す（タイトルの左端に揃える） */
  margin-right: 0;
  font-size: calc(28px + 24px * var(--f));
  margin-bottom: calc(10px + 8px * var(--f));
}
.grow-row--still .grow-row__title { font-size: calc(18px + 12px * var(--f)); }
.grow-row--still .grow-row__desc { font-size: calc(13px + 5px * var(--f)); }
/* ピン中は拡大側の余白を詰めて画面に収める */
.js-growpin .grow-row--still { padding: calc(10px + 10px * var(--f)) 0; }
.js-growpin .grow-list { margin-top: 36px; }

/* --- TOPヒーロー動画（静止画の上に、再生可能になったらフェードで重なる） --- */
.hero__video {
  position: absolute;
  left: 0; right: 0;
  top: -140px; bottom: 0; /* .hero__img と同じ余白（パララックス分） */
  width: 100%;
  height: calc(100% + 140px);
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.4s ease;
}
.hero__video.is-ready { opacity: 0.8; } /* 静止画と同じ濃度 */

/* --- TOPヒーロー：光の移ろい（B）
   .hero__light … 閲覧時刻で色温度が変わる薄い光（JSが --tint / --tint-a を更新）
   .hero__cloud … 雲間を通る光の大きなゆらぎ（60秒周期） --- */
.hero__light {
  position: absolute; inset: 0;
  pointer-events: none;
  mix-blend-mode: multiply; /* 白い和紙に色温度が乗る（soft-lightだとほぼ見えない） */
  background: var(--tint, transparent);
  opacity: var(--tint-a, 0);
  transition: background 3s ease, opacity 3s ease;
}
/* 雲の影（multiplyの淡い帯）と、その後を追う光の帯が画面を斜めに横切る＝雲間の光 */
.hero__shade,
.hero__cloud {
  position: absolute; inset: -30% -60%;
  pointer-events: none;
}
.hero__shade {
  mix-blend-mode: multiply;
  background: linear-gradient(100deg,
    rgba(88, 74, 60, 0) 33%,
    rgba(88, 74, 60, 0.48) 45%,
    rgba(88, 74, 60, 0.48) 54%,
    rgba(88, 74, 60, 0) 66%);
}
.hero__cloud {
  mix-blend-mode: screen; /* 暖かい光が差す */
  background: linear-gradient(100deg,
    rgba(255, 244, 214, 0) 40%,
    rgba(255, 244, 214, 0.85) 50%,
    rgba(255, 244, 214, 0) 60%);
  opacity: 0.9;
}
@media (prefers-reduced-motion: no-preference) {
  /* 負のdelay＝読み込み直後から帯が画面に入り始める（待たせない） */
  .hero__shade { animation: lightSweep 18s linear infinite; animation-delay: -5s; }
  .hero__cloud { animation: lightSweep 18s linear infinite; animation-delay: -7.4s; } /* 影の少し後ろを光が追う */
  @keyframes lightSweep {
    from { transform: translateX(-38%); }
    to   { transform: translateX(38%); }
  }
}

/* お問い合わせ：他ページのCTAから来たときの案内（選択済みの種別を明示） */
.contact-preset {
  margin-top: 18px;
  font-size: 13px;
  color: var(--brown);
  display: none;
}
.contact-preset.is-on { display: block; }
.contact-preset::before { content: "✓ "; }

/* --- キーボード操作の担保 --- */
/* スキップリンク：Tabで最初にフォーカスしたときだけ現れる */
.skip-link {
  position: absolute; left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink); color: #fff;
  font-size: 13px; letter-spacing: 0.06em;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; outline: none; }
/* フォーカス表示（マウスクリックでは出ず、キーボード操作のときだけ） */
a:focus-visible, button:focus-visible, .chip:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}
.form-field input:focus-visible, .form-field textarea:focus-visible { outline-offset: 0; }


/* ---------- プライバシーポリシー等の文書ページ ---------- */
.legal { padding: calc(var(--header-h) + 90px) 0 140px; }
.legal__inner { max-width: 760px; }
.legal__title { font-family: var(--serif); font-weight: 700; font-size: 34px; letter-spacing: 0.1em; margin-top: 16px; }
.legal__lead { margin-top: 28px; font-size: 15px; line-height: 2.1; color: var(--ink-soft); }
.legal__h2 { font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: 0.06em; margin-top: 48px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.legal p { margin-top: 14px; font-size: 14px; line-height: 2; color: var(--ink-soft); }
.legal a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.legal__list { margin-top: 14px; padding-left: 1.2em; }
.legal__list li { font-size: 14px; line-height: 2; color: var(--ink-soft); list-style: disc; }
.legal__date { margin-top: 48px; font-size: 13px; color: var(--taupe); }
.site-footer__legal { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.04em; }
.site-footer__legal:hover { color: var(--brown); }
.form-consent { margin-top: 18px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.8; }
.form-consent a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   SP（〜900px）— 縦に畳むのではなく、スマホとして組み直す
   ============================================================ */
/* ハンバーガー・全面メニュー（PCでは非表示） */
.menu-btn { display: none; }
.menu-overlay { display: none; }
.float-cta { display: none; }
.hero__scrim--sp { display: none; }

@media (max-width: 900px) {
  :root { --header-h: 60px; }
  body { min-width: 0; font-size: 14px; line-height: 1.9; }
  body.menu-open { overflow: hidden; }
  .inner { padding: 0 24px; }
  /* 日本語の折り返しは文節単位（対応ブラウザのみ・非対応は従来どおり） */
  h1, h2, h3, .hero__lead, .hero__message, .top-about__title, .top-about__body, .biz-row__desc,
  .grow-row__title, .grow-row__desc, .card__title, .record__title, .message-headline { word-break: auto-phrase; }
  h1, h2, h3 { text-wrap: balance; }

  /* ヘッダー（ノッチ対応） */
  .site-header {
    padding: 0 max(12px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
    background: rgba(255, 255, 255, 0.35);
  }
  .site-header__logo { display: block; padding: 8px 0; }
  .site-header__logo img { height: 30px; }
  .site-header .site-nav { display: none; }
  .menu-btn {
    display: block; position: relative;
    width: 48px; height: 48px;
    background: none; border: 0; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .menu-btn span {
    position: absolute; left: 13px; width: 22px; height: 1px;
    background: var(--ink);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), top 0.35s, width 0.35s;
  }
  .menu-btn span:nth-child(1) { top: 20px; }
  .menu-btn span:nth-child(2) { top: 28px; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { top: 24px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { top: 24px; transform: rotate(-45deg); }
  .menu-overlay {
    display: block;
    position: fixed; inset: 0;
    z-index: 90;
    background: var(--bg-news);
    padding: calc(var(--header-h) + 28px) max(28px, env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left));
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .menu-overlay[hidden] { display: none; }
  .menu-overlay__nav { display: flex; flex-direction: column; }
  .menu-overlay__nav a {
    display: flex; align-items: baseline; gap: 14px;
    padding: 8px 0;
    font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: 0.08em;
    color: var(--ink);
    opacity: 0; transform: translateY(10px); filter: blur(6px);
    animation: fogUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .menu-overlay__nav a.is-current { color: var(--brown); }
  .menu-overlay__nav a:nth-child(1) { animation-delay: 0.05s; }
  .menu-overlay__nav a:nth-child(2) { animation-delay: 0.10s; }
  .menu-overlay__nav a:nth-child(3) { animation-delay: 0.15s; }
  .menu-overlay__nav a:nth-child(4) { animation-delay: 0.20s; }
  .menu-overlay__nav a:nth-child(5) { animation-delay: 0.25s; }
  .menu-overlay__nav a:nth-child(6) { animation-delay: 0.30s; }
  .menu-overlay__nav a:nth-child(7) { animation-delay: 0.35s; }
  .menu-overlay__nav a small { font-family: var(--sans); font-weight: 400; font-size: 12px; letter-spacing: 0.04em; color: var(--taupe); }
  .menu-overlay__foot { margin-top: 36px; font-size: 11px; color: var(--taupe); }

  /* ------------------------------------------------------------
     ヒーロー：画面いっぱい（100svh）・SP用の縦画像・文字は下1/3
     ------------------------------------------------------------ */
  .hero {
    height: 100vh; height: 100svh;
    min-height: 560px; max-height: 960px;
  }
  .hero__img { top: -90px; bottom: -10px; background-position: center top; filter: blur(2.5px); opacity: 0.72 !important; }
  /* SP用の縦画像（9:16）。インラインのPC画像を上書き */
  .hero__img[data-hero="top"] { background-image: url(../img/hero-top-sp.webp) !important; }
  .hero__img[data-hero="about"] { background-image: url(../img/hero-about-sp.webp) !important; }
  .hero__img[data-hero="export"] { background-image: url(../img/hero-export-sp.webp) !important; }
  .hero__img[data-hero="domestic"] { background-image: url(../img/hero-domestic-sp.webp) !important; }
  .hero__img[data-hero="event"] { background-image: url(../img/hero-event-sp.webp) !important; }
  .hero__img[data-hero="news"] { background-image: url(../img/hero-news-sp.webp) !important; }
  .hero__img[data-hero="contact"] { background-image: url(../img/hero-contact-sp.webp) !important; }
  .hero__ghost { display: none; }
  .hero__scrim--sp { display: block; }
  .hero__scrim {
    background: linear-gradient(to bottom,
      rgba(255,255,255,0.22) 0%,
      rgba(255,255,255,0.30) 40%,
      rgba(255,253,249,0.72) 72%,
      rgba(255,253,249,0.96) 100%);
  }
  .hero__content {
    height: 100%;
    padding: calc(var(--header-h) + 24px) 24px calc(44px + env(safe-area-inset-bottom)) !important;
    justify-content: flex-end !important;
  }
  .hero__eyebrow { font-size: 11px; letter-spacing: 0.24em; margin-bottom: 10px; }
  .hero__title { font-size: 30px; line-height: 1.5; letter-spacing: 0.06em; }
  .hero__message { font-size: 18px; line-height: 1.7; margin-top: 16px !important; }
  .hero__lead { font-size: 13.5px; line-height: 1.95; margin-top: 14px !important; letter-spacing: 0.03em; }
  .hero__lead br, .hero__title br { display: none; }
  .hero--top .hero__eyebrow { font-size: 11px; }
  .hero--top .hero__title { font-size: 26px; line-height: 1.65; }
  .hero--top .hero__lead { font-size: 14px; margin-top: 20px !important; line-height: 2; }
  /* About：理念リストは画像の上に重ねず、ヒーローの下に通常ブロックとして続ける */
  .hero--about { height: auto; max-height: none; min-height: 0; }
  .hero--about .hero__img, .hero--about .hero__scrim { bottom: auto; height: calc(100vh + 90px); height: calc(100svh + 90px); }
  .hero--about .hero__scrim { top: -90px; }
  .hero--about .hero__content {
    height: auto; min-height: 0;
    padding-top: calc(100vh - 168px) !important; padding-top: calc(100svh - 168px) !important;
    padding-bottom: 0 !important;
  }
  .hero--about .philosophy-block {
    position: relative; z-index: 2;
    margin: 36px -24px 0 !important;
    padding: 36px 24px 8px;
    background: var(--bg-body);
  }
  .hero__video { display: none; }
  .hero__video.is-sp { display: block; filter: blur(2.5px); }
  .hero__video.is-sp.is-ready { opacity: 0.72; }

  /* 気配テクスチャは間引く（負荷・ノイズ） */
  .tex { display: none; }
  .page-glassmugi { height: 460px; opacity: 0.25; }
  .page-mugi { width: 200px; height: 298px; left: auto; right: -30px; }

  /* ------------------------------------------------------------
     セクションのリズム：見出し群は詰め、セクション間は56/64で揃える
     ------------------------------------------------------------ */
  .kicker { font-size: 11px; letter-spacing: 0.22em; }
  .section-title { font-size: 24px; line-height: 1.4; }
  .kicker + .section-title, .kicker + h2 { margin-top: 10px; }
  .section-head { margin-bottom: 28px; }
  .page-section { padding: 56px 0 64px; }
  .text-link, .learn-more { display: inline-block; padding: 9px 0; margin-top: 16px; } /* タップ領域44px */

  /* カード：2×2 */
  .card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .card { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 14px 14px; min-height: 0; }
  .card__icon { flex: none; width: 30px; height: 30px; }
  .card--compact .card__title, .card__title { font-size: 14px; line-height: 1.5; white-space: normal; }
  .card__desc { font-size: 11.5px; margin-top: 4px; }
  .card-row:has(> .card:nth-child(odd):last-child) { grid-template-columns: 1fr; }
  .card-row:has(> .card:nth-child(odd):last-child) .card { flex-direction: row; align-items: center; gap: 16px; padding: 14px 16px; }
  .card-row:has(> .card:nth-child(odd):last-child) .card__icon { width: 34px; height: 34px; }

  /* ------------------------------------------------------------
     TOP
     ------------------------------------------------------------ */
  .top-about { padding: 64px 0; }
  .top-about__title { font-size: 24px; line-height: 1.5; }
  .top-about__body { margin-top: 20px; font-size: 14px; line-height: 2; }
  .top-about__body br { display: none; }
  .top-about__link { margin-top: 22px; }
  .top-business { padding: 56px 0 48px; }
  .top-business .section-head { margin-bottom: 24px; }
  /* 事業内容は縦積み（ピンなし・4行） */
  .biz-pin { height: auto !important; position: static; }
  .biz-stage { position: static !important; height: auto !important; padding: 0 !important; }
  .biz-stage__inner { display: block; padding: 0 24px; }
  .biz-slide {
    position: static !important; display: flex;
    flex-direction: column; align-items: stretch; gap: 16px;
    margin: 0 0 44px !important; opacity: 1 !important; transform: none !important; filter: none !important;
  }
  .biz-slide:last-child { margin-bottom: 0 !important; }
  .biz-slide__img { flex: none; width: 100%; height: auto; aspect-ratio: 580 / 360; }
  .biz-slide__text { max-width: none; }
  .biz-slide__text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 14px; }
  .biz-row__num { font-size: 24px; line-height: 1; }
  .biz-row__title { font-size: 20px; margin-top: 0; }
  .biz-row__desc { flex: 1 0 100%; font-size: 13.5px; line-height: 1.9; margin-top: 10px; }
  .biz-row__more { margin-top: 6px; }
  .learn-more { padding-bottom: 0; }
  .learn-more::after { bottom: 2px; }
  .top-business:not(.js-pin) .biz-slide .learn-more::after { width: 100%; }
  .biz-progress, .biz-bg { display: none; }
  .top-news { padding: 56px 0 64px; }
  .news-list { margin-top: 20px; }
  .news-list__row { flex-wrap: wrap; gap: 2px 14px; padding: 14px 0; }
  .news-list__date, .news-list__cat { flex: 0 0 auto; }
  .news-list__title { flex: 1 0 100%; font-size: 14px; line-height: 1.7; }
  .top-news__more { margin-top: 16px; }

  /* ------------------------------------------------------------
     About
     ------------------------------------------------------------ */
  .philosophy-block { margin-top: 32px !important; }
  .philosophy__label { font-size: 14px; margin-bottom: 14px; }
  .philosophy__row { flex-direction: column; align-items: flex-start; margin-bottom: 16px; }
  .philosophy__key { flex: none; font-size: 11px; margin-bottom: 4px; }
  .philosophy__value { font-size: 16px; line-height: 1.6; }
  .message-grid { flex-direction: column; gap: 48px; }
  .message-main { flex: none; }
  .message-headline { font-size: 24px; line-height: 1.5; margin: 14px 0 24px; white-space: normal; }
  .message-body { font-size: 14px; line-height: 2.05; }
  .message-body br { display: none; }
  .profile { padding-top: 0; }
  .company-table__row { flex-direction: column; gap: 4px; padding: 14px 0; }
  .company-table__key { flex: none; }

  /* ------------------------------------------------------------
     輸出
     ------------------------------------------------------------ */
  .export-for { padding: 56px 0 0; }
  .export-market { padding: 56px 0 64px; }
  .market-lead { margin-top: 16px; font-size: 14px; line-height: 1.95; }
  .market-lead br, .market-body br { display: none; }
  .market-subhead { margin-top: 32px; font-size: 17px; }
  .market-body { margin-top: 12px; }
  .market-circles {
    position: static; width: auto; height: auto;
    display: flex; justify-content: center; gap: 10px;
    margin-top: 32px; pointer-events: none;
  }
  .mc-orbit { position: static !important; transform: none !important; opacity: 1 !important; will-change: auto; }
  .mc { width: 104px; height: 104px; margin: 0; }
  .mc img { width: 46%; margin-top: 14%; }
  .mc__name { font-size: 13px; bottom: 12%; color: #6f5442; font-weight: 600; }
  .chip-tag--lg { margin-top: 32px; }

  /* 拡大リスト：ピンなし。番号・アイコン・タイトルを1行に、本文はその下に全幅 */
  .grow-list { margin-top: 24px; }
  .grow-row { --f: 0 !important; flex-wrap: wrap; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); opacity: 1 !important; }
  .grow-row:last-child { border-bottom: 1px solid var(--line); }
  .grow-row__num { width: auto; margin-right: 12px; font-size: 19px; text-align: left; }
  .grow-row__icon { width: 24px; height: 24px; margin-right: 12px; transform: none; }
  .grow-row__text { flex: 1 1 0; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; }
  .grow-row__title { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 5px; flex: 1 1 100%; font-size: 16px; line-height: 1.5; word-break: normal; }
  .grow-row__title .chip-tag { display: none; } /* SPでは見出し内のチップは出さない（嵩張るため・PCのみ） */
  .grow-row__desc { flex: 1 1 100%; margin: 6px 0 0; font-size: 13px; line-height: 1.8; }
  .grow-row { display: grid; grid-template-columns: auto auto 1fr; column-gap: 12px; align-items: center; }
  .grow-row__num, .grow-row__icon { margin-right: 0; }
  .grow-row__text { display: contents; }
  .grow-row__title { grid-column: 3; }
  .grow-row__desc { grid-column: 1 / -1; }
  /* PROCESS：番号＋タイトルを1行（アイコンなし）・本文は下。点（直径9px・中心x=4px）と線を一致させる */
  .grow-list--process { margin-top: 0; }
  .grow-row--pro { grid-template-columns: auto 1fr; padding: 14px 0 14px 30px; border: 0; }
  .grow-row--pro:last-child { border: 0; }
  .grow-row--pro .grow-row__num { width: auto; margin-right: 0; font-size: 18px; }
  .grow-row--pro .grow-row__num::before { left: -26px; }
  .grow-row--pro .grow-row__icon { display: none; }
  .grow-row--pro .grow-row__title { grid-column: 2; font-size: 16px; }
  .grow-row--pro .grow-row__desc { font-size: 12.5px; margin-top: 4px; }
  .pro-list { margin-top: 28px; }
  .grow-row--pro::before, .grow-row--pro::after { left: 3.5px; }
  .grow-list--process .grow-row--pro:first-child::before { top: 25px; }
  .grow-list--process .grow-row--pro:last-child::before { bottom: calc(100% - 25px); }
  .grow-row--pro::after { display: none; } /* SPはピンなし＝進行線なし */
  .pro-phase { flex-wrap: wrap; gap: 6px 10px; margin: 28px 0 8px; }
  /* スチル付き（国内・イベント）：画像は左の小さな正方形、番号は画像の上に重ねない */
  .grow-row--still { display: flex; flex-wrap: nowrap; gap: 16px; align-items: flex-start; }
  .grow-row--still .grow-row__text { display: block; }
  .grow-row--still .grow-row__still { width: 72px; height: auto; align-self: stretch; flex: none; }
  .grow-row--still .grow-row__still img { height: 100%; }
  .grow-row--still .grow-row__text { flex: 1; min-width: 0; margin-top: 0; }
  .grow-row--still .grow-row__num { font-size: 17px; margin: 0 0 2px; }
  .grow-row--still .grow-row__title { font-size: 15.5px; letter-spacing: 0.04em; }
  .grow-row--still .grow-row__desc { font-size: 12.5px; }
  .export-support, .export-process { padding: 56px 0; }
  .export-fee { padding: 0 0 56px; }
  .fee-lead { font-size: 15px; line-height: 1.85; }
  /* 費用：2つの項目だと分かるように、白地＋ヘアライン枠のパネル2枚に */
  .fee-grid { flex-direction: column; gap: 14px; margin-top: 24px; counter-reset: fee; }
  .fee-col { flex: none; position: relative; background: #fff; border: 1px solid var(--line); padding: 18px 18px 4px; }
  .fee-col::before { counter-increment: fee; content: "0" counter(fee); position: absolute; right: 18px; top: 14px; font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--brown); }
  .fee-col__kicker { padding: 4px 0 5px; }
  .fee-col__title { font-size: 17px; margin-top: 8px; }
  .fee-list { margin-top: 12px; }
  .fee-list li { font-size: 13px; padding: 10px 0 11px; }
  .fee-list li:last-child { border-bottom: 0; }

  /* ------------------------------------------------------------
     イベント
     ------------------------------------------------------------ */
  .record { flex-direction: column; gap: 18px; padding: 24px 0; }
  .record__img { flex: none; width: 100%; } /* ポスター（4:5）を切らずに横幅いっぱい */
  .record__img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
  .record__title { font-size: 17px; }
  .record__body { font-size: 13px; line-height: 1.9; }

  /* ------------------------------------------------------------
     お問い合わせ（iOSの自動ズームを避けるため入力は16px）
     ------------------------------------------------------------ */
  .contact-page { padding: 56px 0 80px; }
  .select-chips { flex-wrap: wrap; gap: 10px; margin-top: 22px; }
  .chip { flex: 1 1 calc(50% - 5px); height: auto; min-height: 50px; padding: 10px 10px 10px 12px; font-size: 12.5px; line-height: 1.4; gap: 10px; text-align: left; }
  .chip svg { width: 22px; height: 22px; flex: 0 0 22px; }
  .contact-preset { margin-top: 14px; }
  .contact-grid { flex-direction: column; gap: 48px; margin-top: 40px; }
  .contact-form { flex: none; }
  .form-field { margin-bottom: 24px; }
  .form-field input, .form-field textarea { font-size: 16px; height: 52px; }
  .form-field textarea { height: 150px; }
  .form-submit { width: 100%; height: 56px; }
  .contact-page ~ .page-glassmugi { height: 380px; }

  /* 浮くお問い合わせ：スクロールが止まると右下にスッと出て、動き出すと消える */
  .float-cta {
    position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 80;
    display: inline-flex; align-items: center; gap: 8px;
    height: 46px; padding: 0 18px 0 20px;
    background: rgba(255, 253, 249, 0.92);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    border-radius: 23px;
    font-size: 13px; letter-spacing: 0.08em; color: var(--ink);
    box-shadow: 0 6px 24px rgba(28, 28, 26, 0.08);
    opacity: 0; transform: translateY(10px); filter: blur(4px);
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s;
  }
  .float-cta svg { width: 13px; height: 13px; }
  .float-cta.is-shown { opacity: 1; transform: none; filter: blur(0); pointer-events: auto; }
  body.menu-open .float-cta { opacity: 0; pointer-events: none; }

  /* ページ末尾：お問い合わせ帯はリンク1行だけ、フッターは権利表記だけ */
  .contact-band .inner { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 22px; padding-bottom: 22px; }
  .contact-band__title, .contact-band__note { display: none; }
  .cta-link { padding: 10px 0; font-size: 15px; }
  .cta-stack { align-items: flex-start; gap: 2px; }
  .site-footer .inner { padding-top: 22px; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .site-footer__row { display: none; }
  .site-footer__legal { display: inline-block; font-size: 11px; padding: 6px 0; }
  .site-footer__copy { margin-top: 4px; font-size: 11px; }
  .legal { padding: calc(var(--header-h) + 40px) 0 80px; }
  .legal__title { font-size: 26px; }
  .legal__h2 { font-size: 16px; margin-top: 36px; }
}

/* 小さい端末（〜360px） */
@media (max-width: 360px) {
  .inner { padding: 0 20px; }
  .hero__content { padding-left: 20px !important; padding-right: 20px !important; }
  .hero__title { font-size: 27px; }
  .hero--top .hero__title { font-size: 23px; }
  .mc { width: 92px; height: 92px; }
  .chip { flex-basis: 100%; }
}
