/* =========================================================
   WASHIO CORPORATE SITE — styles.css
   配色: 生成り × ウォームチャコール × テラコッタ
   タイポ: 和文見出し=明朝 / 本文=ゴシック
   ※ 画像はダミー（CSSプレースホルダ）。本番で差し替え。
   ========================================================= */

:root {
  --base:        #FAF8F4; /* オフホワイト / 生成り */
  --base-warm:   #F2ECE2; /* 一段濃い生成り */
  --surface:     #FFFFFF;
  --ink:         #2B2926; /* 濃チャコール */
  --ink-soft:    #6B6258; /* 補助テキスト */
  --line:        #E5DFD6; /* 区切り */
  --accent:      #A85C3B; /* テラコッタ（毛糸） */
  --accent-dark: #8A4A2E;
  --accent-deep: #2E3A46; /* 深ネイビー（任意アクセント） */
  --placeholder: #EDE8E0; /* 画像プレースホルダ背景 */
  --placeholder-ink: #B8AE9F;

  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans:  "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  --maxw: 1200px;
  --pad-section: clamp(64px, 10vw, 152px);
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h, 110px) + 12px); }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--base);
  line-height: 1.8;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; }

/* 日本語の見出し・引用は文節単位で改行し、行長を均す（一文の中途半端な折り返しを避ける） */
h1, h2, h3, blockquote, .band-caption h2, .exec blockquote, .proof blockquote {
  word-break: auto-phrase;
  text-wrap: balance;
}
/* 手動改行(<br>)がある見出しは、行長の均等化が余計な折り返しを生むため無効化。改行位置は原稿どおりにする */
h1:has(br), h2:has(br), h3:has(br), blockquote:has(br) {
  text-wrap: initial;
}

/* ブランドバナー（横長を縦積み・両方とも1600x405に事前切り出しで縦幅統一）。ロゴのない写真には__logoでブランドロゴを重ねる */
.brand-banners { display: grid; gap: 26px; max-width: 980px; margin-inline: auto; }
.brand-banner { display: block; position: relative; }
.brand-banner img { width: 100%; display: block; border-radius: 24px; }
.brand-banner img.brand-banner__logo {
  position: absolute; left: 6%; top: 50%; transform: translateY(-50%);
  width: clamp(120px, 20%, 200px); height: auto; border-radius: 0;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ---------- 共通：見出し ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.lead {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 62ch;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 14px 28px;
  font-size: 14px;
  letter-spacing: 0.08em;
  border: 1px solid var(--ink);
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
  background: transparent;
}
.btn:hover { background: var(--ink); color: var(--base); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color:#fff; }
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* =========================================================
   ヘッダー
   ========================================================= */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}
.site-header {
  position: static;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  color: #fff; /* ヒーロー上では白 */
}
.site-header.scrolled {
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo .logo-en {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.18em;
  font-weight: 600;
}
.logo .logo-jp { font-size: 10px; letter-spacing: 0.3em; margin-top: 4px; opacity: 0.8; }

.global-nav ul { list-style: none; display: flex; gap: clamp(16px, 2vw, 30px); align-items: center; }
.global-nav a {
  font-size: 13px;
  letter-spacing: 0.06em;
  position: relative;
  padding: 6px 0;
}
.global-nav a .nav-en { display: block; font-size: 9px; letter-spacing: 0.18em; opacity: 0.65; margin-top: 2px; }
.global-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: currentColor; transition: width 0.25s ease;
}
.global-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.shop-btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  background: var(--accent); color: #fff;
  padding: 11px 20px; border-radius: 2px;
  font-size: 13px; letter-spacing: 0.06em; white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s ease;
}
.shop-btn:hover { background: var(--accent-dark); }
.shop-btn .ext { font-size: 11px; }

/* 購入者向けユーティリティ（主CTAではない） */
.shop-link {
  font-size: 12px; letter-spacing: 0.08em; white-space: nowrap;
  opacity: 0.85; display: inline-flex; align-items: center; gap: 0.35em;
}
.shop-link:hover { opacity: 1; text-decoration: underline; }
.shop-link .ext { font-size: 10px; }
/* Online Shop はデスクトップではヘッダー右のテキストリンク、モバイルではメニュー内に表示 */
.nav-shop { display: none; }

/* 性能データ（裏付けとしての控えめな提示） */
.data-line {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin: 26px 0;
}
.data-line .figure { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); color: var(--accent); }
.data-line .label { font-size: 13px; color: var(--ink-soft); }
.data-line .cond { font-size: 11.5px; color: var(--placeholder-ink); width: 100%; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 28px; height: 22px; position: relative; }
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: 0.3s; }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* =========================================================
   画像プレースホルダ（ダミー）
   ========================================================= */
.ph {
  background: var(--placeholder);
  color: var(--placeholder-ink);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-size: 12px; letter-spacing: 0.1em;
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.5) 0 1px, transparent 1px 14px);
  opacity: 0.5;
}
.ph span { position: relative; padding: 8px 12px; }

/* =========================================================
   ヒーロー
   ========================================================= */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero .ph {
  position: absolute; inset: 0; border: 0;
  background: linear-gradient(160deg, #6b5d4f 0%, #3c332b 60%, #2b2521 100%);
  color: rgba(255,255,255,0.25);
}
.hero .ph::before { opacity: 0.12; }
.hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.55) 100%);
}
.hero-content { position: relative; padding-bottom: clamp(72px, 12vh, 130px); }
.hero h1 {
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
  margin-bottom: 24px;
}
.hero .hero-sub {
  font-size: clamp(14px, 1.8vw, 18px);
  max-width: 50ch;
  line-height: 2;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.hero .hero-en {
  font-family: var(--serif);
  letter-spacing: 0.22em;
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 22px;
  display: block;
}
.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.3em; color: #fff; opacity: 0.8;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 40px;
  background: linear-gradient(#fff, transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* =========================================================
   セクション共通レイアウト
   ========================================================= */
section { position: relative; }
.section-pad { padding-block: var(--pad-section); }
.bg-warm { background: var(--base-warm); }
.bg-deep { background: var(--accent-deep); color: #efeae3; }
.bg-deep .eyebrow { color: #d8a98e; }
.bg-deep .lead { color: #c8c2ba; }

/* イントロ */
.intro { text-align: center; }
.intro .section-title { max-width: none; margin-inline: auto; }
.intro .lead { margin-inline: auto; text-align: left; }

/* 2カラム交互 */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split + .split { margin-top: clamp(48px, 7vw, 96px); }
.split.reverse .split-media { order: 2; }
.split-media .ph { aspect-ratio: 3 / 2; width: 100%; }
.split-body h3 { font-size: clamp(22px, 3vw, 30px); line-height: 1.5; margin-bottom: 18px; }
.split-body p { color: var(--ink-soft); margin-bottom: 16px; }

/* 鷲尾式起毛 比較（左=一般的な方法は一歩引かせ、右=WASHIOを主役にする。区別は色だけでなくチップのラベル文字でも伝える） */
.kishu {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 24px; margin-top: 40px; align-items: center;
}
.kishu .card {
  background: #e9e6e1; border: 1px solid var(--line); border-radius: 4px; padding: 28px 30px;
}
.kishu .card .tag {
  display: inline-block; font-size: 11px; letter-spacing: 0.14em;
  padding: 4px 10px; border-radius: 2px; background: #6b675f; color: #fff;
}
.kishu .card h4 { font-family: var(--serif); font-size: 18px; margin: 12px 0 12px; color: var(--ink-soft); }
.kishu .card p { color: var(--ink-soft); font-size: 13.5px; }
.kishu .card.highlight {
  background: var(--surface); border: 2px solid var(--accent);
  padding: 36px 34px; box-shadow: 0 12px 40px rgba(168,92,59,0.14);
}
.kishu .card.highlight .tag { background: var(--accent); color: #fff; }
.kishu .card.highlight h4 { font-size: 21px; color: var(--ink); }
.kishu .card.highlight p { font-size: 14px; }

/* こだわり 4点グリッド */
.philosophy-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 16px;
}
.phil-item .ph { aspect-ratio: 1 / 1; margin-bottom: 18px; }
.phil-item .num { font-family: var(--serif); color: var(--accent); font-size: 14px; letter-spacing: 0.1em; }
.phil-item h3 { font-size: 18px; margin: 6px 0 10px; }
.phil-item p { font-size: 14px; color: var(--ink-soft); }

/* ブランドグリッド */
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 16px; }
.brand-grid--3 { grid-template-columns: repeat(3, 1fr); }
.brand-card {
  display: block; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
a.brand-card:hover .brand-name { color: var(--accent); }
.brand-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(43,41,38,0.08); }
.brand-card .ph { aspect-ratio: 16 / 10; }
.brand-card .brand-body { padding: 26px 28px 30px; }
.brand-card .brand-name { font-family: var(--serif); font-size: 22px; letter-spacing: 0.06em; }
.brand-card .brand-name small { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; color: var(--accent); display: block; margin-bottom: 4px; }
.brand-card p { color: var(--ink-soft); font-size: 14px; margin-top: 12px; }

/* 証 / エビデンス */
.proof { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px,5vw,72px); align-items: center; }
.proof .ph { aspect-ratio: 4 / 3; }
.proof blockquote { font-family: var(--serif); font-size: clamp(18px, 2.1vw, 23px); line-height: 1.7; }
.proof blockquote .mark { color: var(--accent); }
.proof cite { display: block; margin-top: 20px; font-style: normal; font-size: 13px; color: var(--ink-soft); letter-spacing: 0.06em; }
.stats { display: flex; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.stat .figure { font-family: var(--serif); font-size: clamp(30px,4vw,44px); color: var(--accent); }
.stat .label { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.08em; }

/* 沿革タイムライン */
.timeline { margin-top: 24px; border-left: 1px solid var(--line); padding-left: 0; list-style: none; }
.timeline li { position: relative; padding: 0 0 34px 36px; }
.timeline li::before {
  content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--base-warm);
}
.timeline .year { font-family: var(--serif); font-size: 18px; color: var(--accent); letter-spacing: 0.06em; }
.timeline .event { color: var(--ink-soft); font-size: 15px; margin-top: 2px; }

/* 会社概要テーブル */
.company-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,64px); align-items: start; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td { text-align: left; padding: 16px 8px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
.company-table th { width: 32%; font-weight: 600; letter-spacing: 0.06em; color: var(--ink); }
.company-table td { color: var(--ink-soft); }
.company-media .ph { aspect-ratio: 3 / 4; height: 100%; }

/* サステナビリティ */
.sustain { text-align: center; }
.sustain .section-title { margin-inline: auto; }
.sustain .lead { margin-inline: auto; }

/* CTAバンド */
.cta-band { background: var(--accent); color: #fff; text-align: center; }
.cta-band .section-title { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,0.85); margin-inline: auto; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn { border-color: #fff; color: #fff; }
.cta-band .btn:hover { background: #fff; color: var(--accent); }
.cta-band .btn--filled { background: #fff; color: var(--accent); }
.cta-band .btn--filled:hover { background: var(--accent-dark); color: #fff; border-color: var(--accent-dark); }

/* =========================================================
   フッター
   ========================================================= */
.site-footer { background: var(--ink); color: #cfc8be; padding-block: clamp(56px, 8vw, 88px) 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand .logo-en { font-family: var(--serif); font-size: 24px; letter-spacing: 0.18em; color: #fff; }
.footer-brand .tagline { font-family: var(--serif); margin-top: 16px; font-size: 15px; color: #e7e1d8; }
.footer-brand .shop-btn { margin-top: 24px; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.16em; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: #cfc8be; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-info p { font-size: 13px; color: #aaa399; line-height: 1.9; }
.sns { display: flex; gap: 14px; margin-top: 18px; }
.sns a {
  width: 36px; height: 36px; border: 1px solid #4a463f; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: 0.05em;
  transition: all 0.25s;
}
.sns a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid #3a352f;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer-bottom .legal { display: flex; gap: 22px; }
.footer-bottom a, .footer-bottom span { font-size: 12px; color: #aaa399; }
.footer-bottom .copyright { letter-spacing: 0.06em; }

/* 注記バナー（ダミー告知） */
.note-banner {
  background: var(--accent-deep); color: #d8d2ca; font-size: 12px; letter-spacing: 0.04em;
  text-align: center; padding: 9px 16px;
}
.note-banner strong { color: #f0c9b6; }

/* =========================================================
   スクロール演出
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   写真パーツ（フルブリード帯 / ギャラリー / 工場ダーク枠）
   ========================================================= */
/* 工場・機械向けのダークなプレースホルダ */
.ph--factory {
  background: linear-gradient(150deg, #4a4038 0%, #2c2620 68%, #201b16 100%);
  color: rgba(255, 255, 255, 0.30);
  border-color: transparent;
}
.ph--factory::before { opacity: 0.10; }

/* 実画像が入ったプレースホルダ（仮画像運用） */
.ph--img {
  background-size: cover;
  background-position: center;
  border: 0;
}
.ph--img::before { display: none; }
.ph--img > span { display: none; }

/* フルブリード画像バンド */
.image-band {
  position: relative;
  width: 100%;
  height: clamp(340px, 56vw, 640px);
  overflow: hidden;
}
.image-band .ph { position: absolute; inset: 0; border: 0; height: 100%; width: 100%; }
.image-band .band-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding-block: clamp(28px, 5vw, 60px);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}
.image-band .band-caption .eyebrow { color: #e7c6b4; }
.image-band .band-caption h2 {
  font-family: var(--serif); color: #fff; line-height: 1.45;
  font-size: clamp(24px, 4vw, 40px); letter-spacing: 0.04em;
}
.image-band .band-caption p { color: rgba(255, 255, 255, 0.86); max-width: 52ch; margin-top: 14px; }

/* モザイクギャラリー */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(130px, 15vw, 210px);
  gap: 12px;
}
.gallery .ph { width: 100%; height: 100%; }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }

/* コンセプトムービー枠（撮影前はポスター＋再生ボタンのプレースホルダ） */
.video-band { position: relative; width: 100%; overflow: hidden; }
.video-band .video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 78vh;
  width: 100%;
}
.video-band .video-frame .ph { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-band .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-band .video-frame::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(20, 16, 12, 0.28);
}
/* 再生中は暗幕とUIを消して動画に集中させる */
.video-band.playing .video-frame::after { display: none; }
.video-band.playing .video-ui { display: none; }
.video-band .video-ui {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  color: #fff; text-align: center;
}
.video-band .play-btn {
  width: clamp(64px, 8vw, 92px); height: clamp(64px, 8vw, 92px);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.3s, transform 0.3s;
}
.video-band .play-btn:hover { background: rgba(255,255,255,0.22); transform: scale(1.05); }
.video-band .play-btn::before {
  content: ""; display: block;
  border-style: solid; border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}
.video-band .video-label { font-family: var(--serif); letter-spacing: 0.28em; font-size: clamp(12px, 1.4vw, 14px); }
.video-band .video-note { font-size: 11px; letter-spacing: 0.12em; opacity: 0.75; }

/* 法務ページ（プライバシーポリシー等）の本文 */
.legal-body { font-size: 14px; line-height: 2; color: var(--ink-soft); }
.legal-body h3 { font-size: 18px; margin: 40px 0 12px; color: var(--ink); }
.legal-body p { margin-bottom: 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 1.4em; }
.legal-body li { margin-bottom: 6px; }

/* サイトマップページ */
.sitemap-list { list-style: none; margin: 0; padding: 0; }
.sitemap-list li { border-bottom: 1px solid var(--line); }
.sitemap-list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 18px 4px; transition: background 0.2s;
}
.sitemap-list a:hover { background: rgba(0,0,0,0.03); }
.sitemap-list .jp { font-family: var(--serif); font-size: 17px; }
.sitemap-list .en { font-size: 11px; letter-spacing: 0.2em; color: var(--ink-soft); white-space: nowrap; }

/* 言語切替プルダウン（ヘッダー右上） */
.lang-switch {
  font-family: inherit; font-size: 12px; letter-spacing: 0.04em;
  color: var(--ink); background: #fff; border: 1px solid var(--line);
  border-radius: 3px; padding: 6px 6px; cursor: pointer;
}
.site-header:not(.scrolled) .lang-switch {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.55);
}
.site-header:not(.scrolled) .lang-switch option { color: var(--ink); }

/* ギャラリーのライトボックス（クリックで拡大・左右送り） */
.lightbox { position: fixed; inset: 0; z-index: 999; background: rgba(15,12,10,0.94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; display: block; box-shadow: 0 8px 40px rgba(0,0,0,0.5); }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; opacity: 0.8; font-family: var(--serif); line-height: 1; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 16px; right: 22px; font-size: 36px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 52px; padding: 24px 18px; }
.lb-prev { left: 4px; }
.lb-next { right: 4px; }
.lb-counter { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; opacity: 0.75; font-size: 12px; letter-spacing: 0.2em; }

/* 工場フォトエッセイ（大判・段差配置・キャプションなし） */
.photo-essay { display: flex; flex-direction: column; gap: clamp(16px, 2.5vw, 36px); }
.photo-essay .ph { width: 100%; }
.photo-essay .shot-wide { aspect-ratio: 21 / 9; }
.photo-essay .shot-full { aspect-ratio: 16 / 9; }
.photo-essay .duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 36px); align-items: start; }
.photo-essay .duo .ph { aspect-ratio: 4 / 5; }
.photo-essay .duo.stagger > :nth-child(2) { margin-top: clamp(28px, 6vw, 80px); }

/* =========================================================
   下層ページ共通
   ========================================================= */
.page-hero {
  padding-top: calc(var(--topbar-h, 110px) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(48px, 7vw, 88px);
  background: var(--base-warm);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-hero .breadcrumb { font-size: 12px; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 22px; }
.page-hero .breadcrumb a { color: var(--ink-soft); }
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.4; letter-spacing: 0.04em; margin-bottom: 20px;
}
.page-hero .page-en { font-family: var(--serif); letter-spacing: 0.22em; font-size: 12px; color: var(--accent); display: block; margin-bottom: 14px; }
.page-hero .lead { max-width: 64ch; }

/* 工程ステップ */
.process { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 72px); margin-top: 16px; }
.step { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.step:nth-child(even) .step-media { order: 2; }
.step-media .ph { aspect-ratio: 4 / 3; width: 100%; }
.step-no { font-family: var(--serif); font-size: 14px; color: var(--accent); letter-spacing: 0.16em; }
.step h3 { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 27px); margin: 8px 0 14px; }
.step p { color: var(--ink-soft); }

/* カードグリッド（素材・職種など汎用） */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 16px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 16px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 30px 28px; }
.info-card .ph { aspect-ratio: 16 / 10; margin: -30px -28px 22px; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.info-card h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 10px; }
.info-card .sub { font-size: 11px; letter-spacing: 0.16em; color: var(--accent); display: block; margin-bottom: 6px; }
.info-card p { font-size: 14px; color: var(--ink-soft); }
.info-card .meta { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.info-card .meta strong { color: var(--ink); font-weight: 600; }

/* 代表挨拶 */
.exec { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.exec .ph { aspect-ratio: 3 / 4; }
.exec blockquote { font-family: var(--serif); font-size: clamp(19px, 2.4vw, 26px); line-height: 1.7; margin-bottom: 22px; }
.exec p { color: var(--ink-soft); margin-bottom: 14px; }
.exec .sign { font-family: var(--serif); margin-top: 12px; font-size: 15px; color: var(--ink); }
.exec .sign small { display: block; font-family: var(--sans); font-size: 12px; color: var(--ink-soft); letter-spacing: 0.06em; }

/* アクセス */
.access { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,48px); align-items: stretch; }
.access .ph { aspect-ratio: 16 / 10; height: 100%; min-height: 240px; }
.access .map-embed { aspect-ratio: 16 / 10; height: 100%; min-height: 240px; border: 1px solid var(--line); }
.access .map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* お問い合わせフォーム */
.contact-layout { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-size: 13px; letter-spacing: 0.04em; margin-bottom: 8px; font-weight: 600; }
.form-row .req { color: var(--accent); font-size: 11px; margin-left: 8px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 14px; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 3px; transition: border-color 0.2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); }
.form-row textarea { resize: vertical; min-height: 140px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); margin-bottom: 26px; }
.form-check input { width: auto; margin-top: 4px; }
.form-submit { display: flex; gap: 14px; align-items: center; }
.form-note { font-size: 12px; color: var(--ink-soft); }
.form-done {
  background: #eef3ec; border: 1px solid #c9d8c2; color: #3f5a36; border-radius: 4px;
  padding: 18px 22px; margin-bottom: 26px; font-size: 14px;
}
.contact-aside { background: var(--base-warm); border: 1px solid var(--line); border-radius: 4px; padding: 30px 28px; }
.contact-aside h3 { font-family: var(--serif); font-size: 18px; margin-bottom: 14px; }
.contact-aside p { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.contact-aside .shop-btn { margin-top: 6px; }

/* ページ内CTA帯（下層→回遊） */
.page-cta { text-align: center; }
.page-cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1023px) {
  .philosophy-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
}
/* タブレット域：ナビの英字サブラベルを隠して1行に収める */
@media (min-width: 861px) and (max-width: 1180px) {
  .global-nav a .nav-en { display: none; }
  .global-nav ul { gap: 18px; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .header-actions .shop-link { display: none; } /* モバイルはメニュー内のOnline Shopで代替 */
  .nav-shop { display: block; }
  .nav-shop a { color: var(--accent) !important; font-weight: 600; }
  .shop-btn { padding: 9px 14px; font-size: 12px; }
  .global-nav {
    position: fixed; inset: 0; top: var(--header-h);
    background: rgba(250,248,244,0.98); backdrop-filter: blur(8px);
    transform: translateX(100%); transition: transform 0.35s ease;
    padding: 32px clamp(20px,5vw,48px);
  }
  .global-nav.open { transform: none; }
  .global-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .global-nav a { color: var(--ink); font-size: 17px; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .global-nav a .nav-en { display: inline-block; margin-left: 10px; }
  .nav-toggle { display: block; }
  .split, .proof, .company-wrap { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .split-media { order: 0; }
  .kishu, .brand-grid { grid-template-columns: 1fr; }
  .step, .exec, .access, .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .step:nth-child(even) .step-media { order: 0; }
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(120px, 34vw, 180px); }
  .gallery .g-wide { grid-column: span 2; }
  .gallery .g-tall { grid-row: span 1; }
  .photo-essay .duo { grid-template-columns: 1fr; }
  .photo-essay .duo.stagger > :nth-child(2) { margin-top: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero { align-items: center; }
  .hero-content { padding-bottom: 0; padding-top: 80px; }
}
@media (max-width: 520px) {
  .philosophy-grid { grid-template-columns: 1fr; }
  .logo .logo-en { font-size: 20px; }
  .shop-btn { padding: 9px 14px; font-size: 12px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
