@charset "UTF-8";

/* ============================================================
   河内スリッパ - Renewal 2026
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --ink:        #241e19;
  --ink-2:      #4a4038;
  --ink-3:      #7d7266;
  --paper:      #fbf8f3;
  --paper-2:    #f4eee4;
  --paper-3:    #ece3d5;
  --line:       #e2d8c8;
  --white:      #ffffff;

  --beni:       #c0392b;   /* 紅花 */
  --beni-deep:  #8e281e;
  --gold:       #d29b30;   /* 紅花の黄 */
  --igusa:      #7c8a5e;   /* い草 */
  --dark:       #1c1815;

  /* Google Fonts（読み込みウエイト：Sans 300/400/500・Serif 400/500） */
  --serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  --sans:  "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", "Hiragino Sans", "Meiryo", sans-serif;

  --container: 1120px;
  --radius: 0;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* スクロールは main.js で制御する（scroll-behavior:smooth は速度・イージングを指定できないため）。
   scroll-padding-top はフォーカス移動などブラウザ側のスクロール時に効かせる。 */
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: .04em;
  overflow-wrap: break-word;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
dl, dd, figure, p, h1, h2, h3, h4, blockquote { margin: 0; }
/* 700 を読み込んでいないため、既定の bold（合成太字）を防ぐ */
h1, h2, h3, h4, h5, h6, b, strong { font-weight: 500; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--beni); outline-offset: 3px; }

/* ---------- 多言語：改行の振る舞い ----------
   テキストは lang/*.php で「行」の配列として持ち、<span> で出力される。
   block        … 常にその位置で改行（デザイン上、行組みを固定したい箇所）
   inline-block … 幅が足りれば1行／足りなければ必ず文節の切れ目で折り返す     */
.hero__title span,
.hero__lead span,
.hero__stamp span,
.company-table dd span,
.site-footer__addr span { display: block; }

/* inline-block にすることで、折り返しは必ず「行」の切れ目でだけ起き、
   語中・文節の途中では割れない（区切り文字は i18n.php の tlines() が挿入）。 */
.sec-head__ja span { display: inline-block; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
.sp-only { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(251,248,243,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.site-header__inner {
  width: min(100% - 48px, 1320px); margin-inline: auto;
  height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: height .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251,248,243,.95);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(36,30,25,.55);
}
.site-header.is-scrolled .site-header__inner { height: 68px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark { color: var(--beni); display: block; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__ja { font-family: var(--serif); font-size: 21px; letter-spacing: .16em; }
.brand__en { font-size: 10px; font-weight: 500; letter-spacing: .24em; opacity: .7; }

.gnav__list { display: flex; align-items: center; gap: 30px; }
.gnav a {
  position: relative; font-size: 14px; font-weight: 500; letter-spacing: .1em; color: var(--ink);
  transition: color .3s var(--ease);
}
.gnav a:hover { color: var(--beni); }
.gnav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.gnav a:hover::after { transform: scaleX(1); transform-origin: left; }
/* --- 言語切替（2つ並んだ小さな切替ボタン） --- */
.gnav__lang { margin-left: 18px; }
.gnav__lang > ul { display: flex; align-items: stretch; border: 1px solid var(--line); }
.gnav__lang li + li { border-left: 1px solid var(--line); }
.gnav__lang a, .gnav__lang span {
  display: block; padding: 7px 12px;
  font-size: 11px; font-weight: 500; letter-spacing: .06em; line-height: 1.6;
  color: var(--ink-3);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.gnav__lang a::after { display: none; }
.gnav__lang a:hover { color: var(--ink); background: var(--paper-2); }
.gnav__lang [aria-current] { background: var(--beni); color: var(--white); }

.nav-toggle { display: none; align-items: center; gap: 9px; color: var(--ink); }
.nav-toggle__bars { width: 24px; display: grid; gap: 6px; }
.nav-toggle__bars i { display: block; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle__label { font-size: 10px; font-weight: 500; letter-spacing: .18em; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; padding-top: 88px;
  display: flex; flex-direction: column;
  background: var(--paper); overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 84% 16%, rgba(210,155,48,.18), transparent 62%),
    radial-gradient(48% 58% at 96% 62%, rgba(192,57,43,.07), transparent 68%);
}
.hero__inner {
  position: relative; z-index: 1; flex: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center;
  gap: clamp(32px, 5vw, 76px);
  padding: clamp(36px, 6vh, 72px) 0 clamp(36px, 6vh, 64px);
}
.hero__place {
  font-size: 12px; font-weight: 500; letter-spacing: .3em; color: var(--ink-3);
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
}
.hero__place::before { content: ""; width: 46px; height: 1px; background: var(--beni); }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 3.8vw, 52px); line-height: 1.45; letter-spacing: .08em;
}
.hero__lead {
  margin-top: 28px; font-size: clamp(14px, 1.05vw, 15px); font-weight: 300; line-height: 2.2;
  color: var(--ink-2); max-width: 38em;
}
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 44px 46px; }

/* hero figure */
.hero__figure { position: relative; padding: 0 0 6% 0; }
.hero__fig {
  margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 34px 64px -38px rgba(36,30,25,.6);
}
.hero__fig img { width: 100%; }
.hero__fig--a { width: 80%; margin-left: auto; }
.hero__fig--b { position: absolute; left: 0; bottom: 0; width: 46%; }
.hero__stamp {
  position: absolute; top: 6%; left: 4%;
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--beni); color: var(--white);
  display: grid; place-content: center; text-align: center;
  font-family: var(--serif); font-size: 13px; line-height: 1.5; letter-spacing: .14em;
  box-shadow: 0 12px 26px -14px rgba(142,40,30,.8);
}

/* hero band */
.hero__band { position: relative; z-index: 1; line-height: 0; background: var(--dark); }
.hero__band-media { position: relative; }
.hero__band img { width: 100%; height: clamp(140px, 22svh, 280px); object-fit: cover; object-position: center 48%; }

/* キャッチコピー。帯の背景色（--dark）をそのまま延長し、写真と地続きに見せる。
   写真の上に重ねると商品の色数が多くて文字が沈むため、下に置いている。 */
.hero__tagline {
  background: var(--dark); color: var(--paper);
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(13px, 1.5vw, 19px); letter-spacing: .24em; line-height: 1.8;
  text-align: center; padding: clamp(14px, 1.8vw, 22px) 24px;
}

/* ---------- Button（スクエア＋ライン） ---------- */
.btn {
  --btn-color: var(--beni);
  --btn-hover: var(--beni-deep);
  position: relative;
  display: inline-flex; align-items: center; justify-content: flex-start;
  min-height: 46px; padding: 0 78px 0 26px;
  border: 1px solid var(--btn-color); border-radius: 0;
  color: var(--btn-color); background: transparent;
  font-size: 13.5px; font-weight: 500; letter-spacing: .16em; line-height: 1.5;
  transition: color .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.btn::after {
  content: ""; position: absolute; top: 50%; right: -14px;
  width: 62px; height: 1px; background: currentColor;
  transition: width .4s var(--ease), right .4s var(--ease);
}
.btn:hover { color: var(--btn-hover); border-color: var(--btn-hover); background: rgba(192,57,43,.05); }
.btn:hover::after { width: 80px; right: -28px; }

.btn--primary { --btn-color: var(--beni); --btn-hover: var(--beni-deep); }
.btn--ghost   { --btn-color: var(--ink-3); --btn-hover: var(--ink); }
.btn--ghost:hover { background: rgba(36,30,25,.04); }

.hero__scroll {
  position: absolute; right: 26px; bottom: 0; z-index: 2;
  writing-mode: vertical-rl; font-size: 10px; letter-spacing: .3em;
  color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 12px; padding-bottom: 22px;
}
.hero__scroll i { display: block; width: 1px; height: 44px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* ---------- Section commons ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.sec-head { margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head__en {
  font-size: 11px; font-weight: 500; letter-spacing: .34em; color: var(--beni);
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.sec-head__en::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.sec-head__ja {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(26px, 3.6vw, 42px); line-height: 1.55; letter-spacing: .08em;
}
.sec-head__note { margin-top: 18px; font-size: 14.5px; font-weight: 300; color: var(--ink-3); }
.sec-head--light .sec-head__en { color: var(--gold); }
.sec-head--light .sec-head__ja { color: var(--paper); }

/* ---------- さらりっぱ（注力商品） ---------- */
.section--sara { background: var(--paper); }

.sara {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4.5vw, 64px); align-items: center;
}
.sara__visual { margin: 0; background: var(--white); border: 1px solid var(--line); }
.sara__visual img { width: 100%; height: auto; display: block; }

.sara__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(25px, 3.2vw, 38px); line-height: 1.5; letter-spacing: .08em;
  margin-top: 16px;
}
.sara__title span { display: inline-block; }
.sara__lead {
  margin-top: 22px; font-size: 14.5px; line-height: 2.1; color: var(--ink-2);
}
/* パッケージ表記との対応。本文の邪魔をしないよう小さく、罫線で区切って添える */
.sara__note {
  margin-top: 14px; padding-left: 13px; border-left: 2px solid var(--paper-3);
  font-size: 12px; line-height: 1.85; letter-spacing: .02em; color: var(--ink-3);
}

.sara__points { margin-top: 28px; border-top: 1px solid var(--line); }
.sara__points > div { padding: 15px 0; border-bottom: 1px solid var(--line); }
.sara__points dt {
  font-family: var(--serif); font-size: 15.5px; letter-spacing: .06em; color: var(--ink);
  display: flex; align-items: center; gap: 11px;
}
.sara__points dt::before { content: ""; width: 15px; height: 1px; background: var(--beni); flex: none; }
.sara__points dd { margin: 7px 0 0 26px; font-size: 13.5px; line-height: 1.95; color: var(--ink-2); }

/* 2つ並べたいので、この場所のボタンだけ余白とラインを詰める */
.sara__links { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 18px 34px; }
.sara__links .btn { min-height: 46px; padding: 0 60px 0 20px; font-size: 13px; }
.sara__links .btn::after { width: 44px; right: -12px; }
.sara__links .btn:hover::after { width: 56px; right: -22px; }

.sara__story {
  margin-top: clamp(48px, 6vw, 76px); padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start;
}
.sara__story-text h3 {
  font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: .08em;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.sara__story-text h3::before { content: ""; width: 20px; height: 1px; background: var(--beni); flex: none; }
.sara__story-text p { font-size: 14px; line-height: 2.1; color: var(--ink-2); }
.sara__story-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sara__story-figs figure { margin: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.sara__story-figs img { width: 100%; height: auto; display: block; }

/* ---------- History ---------- */
/* 背景は hero(paper) → history(paper-2) → sara(paper) → products(paper-2) と交互になる */
.section--history { background: var(--paper-2); position: relative; }

/* 一：最上川と紅花。本文と写真枠を左右に並べる */
.hist-river {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px);
  align-items: center;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.hist-river__title {
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 27px); font-weight: 500;
  letter-spacing: .1em; line-height: 1.7;
  margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.hist-river__fig { margin: 0; background: var(--white); border: 1px solid var(--line); }
.hist-river__fig img { width: 100%; height: auto; display: block; }
.hist-river__body p { font-size: 14.5px; line-height: 2.15; color: var(--ink-2); }
.hist-river__body p + p { margin-top: 1.4em; }

/* 三：不易流行。結びとして中央に置く */
.hist-fueki {
  margin-top: clamp(56px, 7vw, 96px); text-align: center;
  padding: clamp(40px, 5vw, 64px) 24px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
/* 工場の写真。元データの解像度が高くないので、表示幅を 520px までに抑え、
   白い台紙に載せた古写真として見せる（等倍付近まで拡大しないので粗さが出ない）。 */
.hist-fueki__fig {
  max-width: 520px; margin: 0 auto clamp(36px, 4.5vw, 56px);
  padding: 12px 12px 0; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 16px 34px -26px rgba(36,30,25,.5);
}
.hist-fueki__fig img { width: 100%; height: auto; display: block; }
.hist-fueki__fig figcaption {
  padding: 12px 4px 14px; font-size: 11.5px; letter-spacing: .06em; line-height: 1.8;
  color: var(--ink-3);
}
.hist-fueki__title {
  font-family: var(--serif); font-size: clamp(24px, 3.2vw, 38px); font-weight: 400;
  letter-spacing: .18em; line-height: 1.6; margin-bottom: 28px;
}
.hist-fueki p {
  font-family: var(--serif); font-size: clamp(14.5px, 1.4vw, 17px);
  line-height: 2.3; letter-spacing: .06em; color: var(--ink-2);
  max-width: 40em; margin-inline: auto;
}
.hist-fueki p + p { margin-top: 1.3em; }


.concept-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px);
}
.concept-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.concept-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(36,30,25,.4); }
.concept-card__no {
  font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--paper-3);
  margin-bottom: 18px;
}
.concept-card h3 {
  font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: .08em;
  margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.concept-card p { font-size: 14.5px; line-height: 2.05; color: var(--ink-2); }

/* ---------- Products ---------- */
.section--products { background: var(--paper-2); }
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 32px);
}
/* 枠線を持つのは内側のボタンなので、グリッドの行高いっぱいに伸ばして
   カードの見た目の高さを揃える（商品名の行数が違っても下端が合う） */
.product-card { display: flex; }
.product-card__btn {
  display: flex; flex-direction: column; width: 100%; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.product-card__btn:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -28px rgba(36,30,25,.55); border-color: var(--paper-3); }
.product-card__thumb { position: relative; display: block; flex: none; aspect-ratio: 1 / 1; overflow: hidden; background: var(--white); }
.product-card__thumb img {
  width: 100%; height: 100%; object-fit: contain; padding: 6%;
  transition: transform .6s var(--ease);
}
.product-card__btn:hover .product-card__thumb img { transform: scale(1.06); }
.product-card__zoom {
  position: absolute; inset: auto 0 0 0; padding: 13px;
  background: var(--beni); color: var(--white);
  font-size: 11.5px; font-weight: 500; letter-spacing: .24em; text-align: center;
  transform: translateY(100%); transition: transform .4s var(--ease);
}
.product-card__btn:hover .product-card__zoom,
.product-card__btn:focus-visible .product-card__zoom { transform: translateY(0); }

.product-card__meta {
  display: flex; flex-direction: column; flex: 1;
  padding: 20px 22px 24px; border-top: 1px solid var(--line);
}
.product-card__no {
  display: block; font-family: var(--serif); font-size: 12px; letter-spacing: .2em;
  color: var(--beni); margin-bottom: 8px;
}
.product-card__name {
  display: block; font-family: var(--serif); font-size: 17px; line-height: 1.65; letter-spacing: .05em;
}
.product-card__name small { display: block; font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
/* 商品名が1行でも2行でも、タグの位置が横一列に揃うよう下端へ寄せる */
.product-card__type {
  align-self: flex-start; margin-top: auto; padding: 3px 12px;
  font-size: 11px; letter-spacing: .1em; color: var(--ink-3);
  border: 1px solid var(--line); background: transparent;
}
.product-card__name { padding-bottom: 12px; }

/* ---------- Guide ---------- */
.section--guide { background: var(--paper); }

.guide-table__wrap { overflow-x: auto; }
.guide-table {
  width: 100%; border-collapse: collapse;
  font-size: 13.5px; line-height: 1.7;
}
.guide-table th, .guide-table td {
  text-align: left; padding: 15px 14px;
  border-bottom: 1px solid var(--line); vertical-align: middle;
}
.guide-table thead th {
  font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--ink-3);
  padding-top: 0; border-bottom-color: var(--ink-3);
  white-space: nowrap;
}
.guide-table tbody tr { transition: background .3s var(--ease); }
.guide-table tbody tr:hover { background: var(--white); }

.guide-table__name { padding-left: 0; font-weight: 400; }
.guide-table__name button {
  display: flex; align-items: baseline; gap: 12px; text-align: left;
  font-family: var(--serif); font-size: 15px; letter-spacing: .04em; color: var(--ink);
  line-height: 1.6; transition: color .3s var(--ease);
}
.guide-table__name button:hover { color: var(--beni); }
.guide-table__no {
  flex: none; font-size: 11px; letter-spacing: .16em; color: var(--beni);
}
.guide-tag {
  display: inline-block; padding: 3px 11px; font-size: 11.5px; letter-spacing: .06em;
  color: var(--igusa); border: 1px solid var(--igusa);
}
.guide-none { color: var(--paper-3); }

.guide-sub {
  margin: clamp(46px, 6vw, 70px) 0 0;
  font-family: var(--serif); font-size: clamp(19px, 2.2vw, 24px); font-weight: 500;
  letter-spacing: .1em; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.guide-notes {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.6vw, 34px);
  margin-top: clamp(24px, 3vw, 34px);
}
.guide-note h4 {
  font-family: var(--serif); font-size: 16px; font-weight: 500; letter-spacing: .08em;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 11px;
}
.guide-note h4::before { content: ""; width: 16px; height: 1px; background: var(--beni); flex: none; }
.guide-note p { font-size: 13.5px; line-height: 2; color: var(--ink-2); }

/* ---------- Craft ---------- */
.section--craft { background: var(--dark); color: rgba(255,255,255,.82); }
.craft-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.craft-text h3 {
  font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: .08em;
  color: var(--white); margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.craft-text h3::before { content: ""; width: 20px; height: 1px; background: var(--gold); flex: none; }
.craft-text h3:not(:first-child) { margin-top: 46px; }
.craft-text p { font-size: 14.5px; line-height: 2.2; }
.craft-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.craft-gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--white); }
.craft-gallery figure:first-child { grid-column: 1 / -1; }
.craft-gallery img { width: 100%; transition: transform .7s var(--ease); }
.craft-gallery figure:hover img { transform: scale(1.04); }

/* ---------- Company ---------- */
.section--company { background: var(--paper); }
.company-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.company-table { border-top: 1px solid var(--line); }
.company-table > div {
  display: grid; grid-template-columns: 168px 1fr; gap: 20px;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
}
.company-table dt { font-size: 13px; letter-spacing: .14em; color: var(--ink-3); }
.company-table dd { margin: 0; font-size: 15px; }
.company-table dd a { border-bottom: 1px solid var(--line); }
.company-table dd a:hover { color: var(--beni); border-color: var(--beni); }

.company-side {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
}
.company-side h3 {
  font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: .08em; margin-bottom: 14px;
}
.company-side__note { font-size: 13.5px; line-height: 2; color: var(--ink-2); margin-bottom: 26px; }
.link-list { display: grid; gap: 12px; }
.link-list a {
  position: relative; display: block; padding: 16px 58px 16px 20px;
  border: 1px solid var(--line); border-radius: 0;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.link-list a::after {
  content: ""; position: absolute; top: 50%; right: 18px;
  width: 26px; height: 1px; background: var(--beni);
  transition: width .35s var(--ease), right .35s var(--ease);
}
.link-list a:hover { background: var(--paper); border-color: var(--beni); }
.link-list a:hover::after { width: 38px; right: 10px; }
.link-list__label { display: block; font-size: 11px; font-weight: 500; letter-spacing: .18em; color: var(--beni); margin-bottom: 4px; }
.link-list__value { display: block; font-size: 15px; letter-spacing: .04em; }

/* ---------- Forms ---------- */
.section--forms { background: var(--paper-2); }

.form-alert {
  margin-bottom: 36px; padding: 18px 24px; font-size: 14.5px; line-height: 1.9;
  border-left: 3px solid var(--igusa); background: var(--white);
}
.form-alert--ng { border-left-color: var(--beni); color: var(--beni-deep); }

.form-stack { display: grid; gap: clamp(24px, 3vw, 36px); grid-template-columns: 1fr 1fr; align-items: start; }
.form-card {
  background: var(--white); border: 1px solid var(--line);
  padding: clamp(28px, 3.2vw, 44px);
}
.form-card__title {
  font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: .08em;
  padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px;
}
.form-card__note { font-size: 13.5px; line-height: 1.95; color: var(--ink-2); margin-bottom: 28px; }

.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 20px; }
.field { grid-column: 1 / -1; margin: 0; }
.field--half   { grid-column: span 1; }
.field--wide   { grid-column: 1 / -1; }   /* 商品名は長いので全幅 */
.field--narrow { grid-column: span 1; }

.field label {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: .1em; color: var(--ink-2); margin-bottom: 8px;
}
.field__req, .field__opt {
  font-size: 10px; letter-spacing: .1em; padding: 2px 8px; line-height: 1.6;
}
.field__req { color: var(--white); background: var(--beni); }
.field__opt { color: var(--ink-3); border: 1px solid var(--line); }

.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  font-family: inherit; font-size: 15px; line-height: 1.7; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 0;
  transition: border-color .3s var(--ease), background .3s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--beni); background: var(--white);
  box-shadow: 0 0 0 3px rgba(192,57,43,.09);
}
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: var(--beni); background: rgba(192,57,43,.04); }
.field__error { display: block; margin-top: 7px; font-size: 12px; color: var(--beni-deep); }

/* --- ご注文フォーム：商品セット --- */
.order-items { display: grid; gap: 14px; }
.order-item { border: 1px solid var(--line); padding: 18px 18px 20px; background: var(--paper); }
.order-item__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.order-item__no { font-size: 11.5px; letter-spacing: .16em; color: var(--ink-3); }
.order-item__no b { color: var(--beni); font-weight: 500; font-size: 13px; }
.order-item__remove {
  font-size: 11.5px; letter-spacing: .1em; color: var(--ink-3);
  padding: 4px 10px; border: 1px solid var(--line); background: var(--white);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.order-item__remove:hover { color: var(--beni); border-color: var(--beni); }
.order-items.is-single .order-item__remove { display: none; }

/* サムネイルと入力欄を横並びに */
.order-item__body { display: flex; align-items: flex-start; gap: 14px; }
.order-item__body .order-item__grid { flex: 1; min-width: 0; }

.order-item__thumb {
  flex: none; width: 78px; height: 78px; margin: 0; margin-top: 22px;
  border: 1px solid var(--line); background: var(--white);
  display: grid; place-items: center; overflow: hidden;
}
.order-item__thumb.is-empty { background: var(--paper-2); border-style: dashed; }
.order-item__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
/* 未選択時は img を確実に消す（src の無い img は壊れた画像として描画されるため） */
.order-item__thumb.is-empty img, .order-item__thumb img[hidden] { display: none; }

/* サイズ表記（M（23-26cm）等）が入りきるよう、数量を細く・サイズを広く */
.order-item__grid { display: grid; grid-template-columns: 1.2fr 1fr 0.55fr; gap: 12px; }
.order-item__grid .field { grid-column: span 1; }
.order-item__grid .field--wide { grid-column: 1 / -1; }
.order-item__grid .field label { font-size: 12px; margin-bottom: 6px; }
.order-item__grid .field input,
.order-item__grid .field select { background: var(--white); font-size: 14px; padding: 10px 12px; }
.order-item__grid .field select { padding-right: 32px; background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; }
.order-item__grid select:disabled { color: var(--ink-3); background: var(--paper-2); cursor: not-allowed; }

.order-items.is-error .order-item { border-color: var(--beni); }

.order-add { margin: 14px 0 30px; }
.order-add__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border: 1px dashed var(--ink-3);
  font-size: 12.5px; letter-spacing: .12em; color: var(--ink-2);
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.order-add__btn:hover { color: var(--beni); border-color: var(--beni); background: rgba(192,57,43,.04); }
.order-add__btn[hidden] { display: none; }

/* --- お支払い方法（ラジオ） --- */
.payment { border: 0; padding: 0; margin: 0; min-width: 0; }
.payment legend {
  display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 8px;
  font-size: 12.5px; letter-spacing: .1em; color: var(--ink-2);
}
.payment__options { display: flex; flex-wrap: wrap; gap: 10px; }

.payment .payment__opt {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 12px 18px; border: 1px solid var(--line); background: var(--paper);
  font-size: 13.5px; letter-spacing: .04em; color: var(--ink); cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.payment .payment__opt:hover { border-color: var(--ink-3); }
.payment .payment__opt.is-checked { border-color: var(--beni); background: rgba(192, 57, 43, .05); }
.payment .payment__opt[hidden] { display: none; }

.payment__opt input {
  appearance: none; -webkit-appearance: none;
  width: 15px; height: 15px; flex: none; margin: 0; padding: 0;
  border: 1px solid var(--ink-3); border-radius: 50%; background: var(--white);
  position: relative; transition: border-color .3s var(--ease);
}
.payment__opt input:checked { border-color: var(--beni); }
.payment__opt input:checked::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--beni);
}
.payment__opt input:focus-visible { outline: 2px solid var(--beni); outline-offset: 3px; }

.payment__note {
  display: block; margin-top: 12px;
  font-size: 12px; line-height: 1.9; color: var(--ink-3);
}
.payment.is-error .payment__opt { border-color: var(--beni); }

/* ハニーポット（人間には見せない） */
.form__pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Turnstile の枠。描画前後で下の文がずれないよう高さを確保しておく */
.form__captcha { margin-top: 24px; min-height: 65px; }

.form__privacy { margin-top: 24px; font-size: 12px; line-height: 1.9; color: var(--ink-3); }
.form__submit { margin-top: 22px; }

/* ---------- Map ---------- */
.map { position: relative; width: 100%; line-height: 0; background: var(--paper-3); }
.map__frame {
  display: block; width: 100%; height: clamp(280px, 34vw, 440px);
  border: 0;
}

.map__link {
  position: absolute; right: 20px; bottom: 20px; z-index: 1;
  display: inline-flex; align-items: center;
  padding: 10px 18px; line-height: 1.5;
  background: var(--white); border: 1px solid var(--line);
  font-size: 12px; font-weight: 500; letter-spacing: .12em; color: var(--ink);
  box-shadow: 0 10px 26px -18px rgba(36,30,25,.7);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.map__link:hover { color: var(--beni); border-color: var(--beni); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 64px 0 28px; }
.site-footer__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-footer__ja { font-family: var(--serif); font-size: 22px; letter-spacing: .18em; color: var(--white); margin-bottom: 14px; }
.site-footer__addr { font-size: 13px; line-height: 2; }
.site-footer__nav ul { display: grid; gap: 10px; }
.site-footer__nav a { font-size: 13.5px; letter-spacing: .08em; }
.site-footer__nav a:hover { color: var(--gold); }
.site-footer__copy { margin-top: 24px; text-align: center; font-size: 11px; letter-spacing: .12em; color: rgba(255,255,255,.45); }
/* 右下の常時表示ボタンがフッターのリンクに被らないよう、下部に余白を確保する */
@media (min-width: 861px) { .site-footer { padding-bottom: 150px; } }

/* ---------- 常時表示のボタン ＋ トップへ戻る ---------- */
.floating {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; gap: 10px;
}
.floating__btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-width: 156px; min-height: 52px; padding: 0 22px;
  font-size: 13px; font-weight: 500; letter-spacing: .1em; line-height: 1.4;
  border: 1px solid; border-radius: 0;
  box-shadow: 0 16px 32px -20px rgba(36, 30, 25, .8);
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.floating__btn svg { flex: none; }
.floating__btn--contact { background: var(--white); border-color: var(--line); color: var(--ink); }
.floating__btn--contact:hover { border-color: var(--ink); transform: translateY(-2px); }
.floating__btn--order { background: var(--beni); border-color: var(--beni); color: var(--white); }
.floating__btn--order:hover { background: var(--beni-deep); border-color: var(--beni-deep); transform: translateY(-2px); }

/* 2つのボタンの「上」に絶対配置するため、出入りしても位置が動かず重ならない */
.totop {
  position: absolute; right: 0; bottom: calc(100% + 10px);
  width: 48px; height: 48px;
  background: var(--ink); color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 16px 32px -20px rgba(36, 30, 25, .8);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, background .3s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--beni); }

/* スマホ用の言語切替（PCはヘッダーにあるため非表示） */
.lang-float { display: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(20,16,13,.72); backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s var(--ease); }
.modal__dialog {
  position: relative; width: min(100%, 1000px); max-height: min(88svh, 860px);
  background: var(--paper); border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(18px) scale(.985);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.modal__dialog:focus { outline: none; }
.modal.is-open .modal__overlay { opacity: 1; }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }

.modal__close {
  position: absolute; top: 0; right: 0; z-index: 3;
  width: 52px; height: 52px;
  background: var(--ink); color: var(--white);
  display: grid; place-items: center;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.modal__close:hover { background: var(--beni); color: var(--white); }

.modal__body { display: grid; grid-template-columns: 44% 1fr; overflow: hidden; flex: 1; min-height: 0; }
.modal__media { background: var(--white); display: grid; place-items: center; padding: 32px; border-right: 1px solid var(--line); }
.modal__media img { width: 100%; max-height: 100%; object-fit: contain; }
.modal__content { padding: clamp(28px, 3.4vw, 48px); overflow-y: auto; }

.pd-cat { font-size: 11px; font-weight: 500; letter-spacing: .2em; color: var(--beni); margin-bottom: 12px; }
.pd-title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.6; letter-spacing: .06em; margin-bottom: 22px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.pd-title small { display: block; font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.pd-desc { font-size: 14.5px; line-height: 2.15; color: var(--ink-2); }
.pd-colors {
  margin-top: 16px; font-size: 13.5px; line-height: 2; color: var(--ink-2);
  background: var(--paper-2); border-radius: var(--radius); padding: 14px 18px;
}
.pd-colors__label {
  display: inline-block; margin-right: 12px; padding: 1px 10px;
  font-size: 11px; letter-spacing: .12em; color: var(--white); background: var(--igusa);
  vertical-align: 2px;
}
.pd-spec { margin-top: 28px; border-top: 1px solid var(--line); }
.pd-spec > div { display: grid; grid-template-columns: 118px 1fr; gap: 16px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.pd-spec dt { font-size: 12.5px; letter-spacing: .1em; color: var(--ink-3); }
.pd-spec dd { margin: 0; font-size: 14px; line-height: 1.85; }

.modal__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 20px; border-top: 1px solid var(--line); background: var(--paper-2);
}
.modal__nav {
  font-size: 12.5px; font-weight: 500; letter-spacing: .14em; padding: 9px 18px;
  border: 1px solid var(--line); background: var(--white);
  transition: background .3s, color .3s, border-color .3s;
}
.modal__nav:hover { background: var(--beni); border-color: var(--beni); color: var(--white); }
.modal__counter { font-family: var(--serif); font-size: 13px; letter-spacing: .16em; color: var(--ink-3); }
.modal__counter b { color: var(--beni); font-weight: 500; }

/* ---------- Loading ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .3);          /* 白 30% のレイヤー */
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);                    /* 背後（サイト全体）にブラー */
  opacity: 0; transition: opacity .3s var(--ease);
}
.loader[hidden] { display: none; }
.loader.is-open { opacity: 1; }

.loader__inner { display: grid; justify-items: center; gap: 18px; }

.loader__ring {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid rgba(36, 30, 25, .13);
  border-top-color: var(--beni);
  animation: loaderSpin .9s linear infinite;
}
@keyframes loaderSpin { to { transform: rotate(360deg); } }

.loader__text {
  display: inline-flex; align-items: baseline;
  font-size: 11px; font-weight: 500; letter-spacing: .3em; color: var(--ink-2);
}
.loader__text i { font-style: normal; opacity: 0; animation: loaderDot 1.2s infinite; }
.loader__text i:nth-of-type(2) { animation-delay: .2s; }
.loader__text i:nth-of-type(3) { animation-delay: .4s; }
@keyframes loaderDot { 0%, 60%, 100% { opacity: 0; } 30% { opacity: 1; } }

/* backdrop-filter 非対応ブラウザ向けのフォールバック */
@supports not ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  body.is-loading > *:not(.loader) { filter: blur(5px); transition: filter .3s var(--ease); }
}

/* ---------- Flash message ---------- */
.flash {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 24px;
}
.flash[hidden] { display: none; }

.flash__backdrop {
  position: absolute; inset: 0; background: rgba(0, 0, 0, .15);
  opacity: 0; transition: opacity .35s var(--ease);
}
.flash__box {
  position: relative; z-index: 1;
  width: min(100%, 460px);
  background: var(--white); border: 1px solid var(--line);
  padding: clamp(32px, 4vw, 44px) clamp(28px, 4vw, 46px);
  text-align: center;
  box-shadow: 0 40px 80px -46px rgba(36, 30, 25, .75);
  opacity: 0; transform: translateY(10px) scale(.98);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.flash.is-open .flash__backdrop { opacity: 1; }
.flash.is-open .flash__box { opacity: 1; transform: none; }

.flash__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--igusa); color: var(--white);
  font-size: 20px; line-height: 1;
}
.flash__icon::before { content: "✓"; }
.flash.is-ng .flash__icon { background: var(--beni); }
.flash.is-ng .flash__icon::before { content: "!"; font-family: var(--serif); }

.flash__text { font-size: 14.5px; line-height: 1.95; color: var(--ink); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hist-river { grid-template-columns: 1fr; }
  .craft-layout, .company-layout { grid-template-columns: 1fr; }
  .craft-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 70px; }
  .site-header__inner, .site-header.is-scrolled .site-header__inner { height: 64px; }
  .nav-toggle { display: flex; }

  .gnav {
    position: fixed; inset: 64px 0 auto 0;
    background: rgba(251,248,243,.98); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height .45s var(--ease);
  }
  .gnav.is-open { max-height: 70svh; }
  .gnav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; }
  /* 直下の項目だけを対象にする（言語切替は入れ子の <ul> なので巻き込まない） */
  .gnav__list > li { border-bottom: 1px solid var(--line); }
  .gnav__list > li > a { display: block; padding: 18px 4px; font-size: 15px; }
  .gnav a::after { display: none; }
  .gnav__list li.gnav__lang {
    border-bottom: 0; margin-top: 24px;
    display: flex; justify-content: center;
  }
  .gnav__lang { margin-left: 0; }
  .gnav__lang li { border-bottom: 0; }
  .gnav__lang a, .gnav__lang span { padding: 11px 26px; font-size: 12.5px; }

  .hero { min-height: 0; padding-top: 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; padding: 44px 0 40px; }
  .hero__figure { padding-bottom: 4%; max-width: 460px; margin-inline: auto; width: 100%; }
  .hero__stamp { width: 62px; height: 62px; font-size: 12px; }
  .hero__scroll { display: none; }
  .btn { min-height: 44px; padding: 0 68px 0 20px; font-size: 13px; }
  .btn::after { width: 50px; right: -12px; }
  .btn:hover::after { width: 62px; right: -22px; }
  .hero__actions { gap: 30px 34px; }

  .sara, .sara__story { grid-template-columns: 1fr; }
  .sara__links { gap: 30px 34px; }
  .concept-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-card__meta { padding: 16px 16px 20px; }
  .product-card__name { font-size: 15px; }

  .company-table > div { grid-template-columns: 108px 1fr; gap: 12px; }

  /* 選び方の表は、スマホでは商品ごとのカードに組み替える */
  .guide-table, .guide-table tbody, .guide-table tr, .guide-table th, .guide-table td { display: block; }
  .guide-table thead { display: none; }
  .guide-table tr {
    border: 1px solid var(--line); background: var(--white);
    padding: 16px 18px 8px; margin-bottom: 12px;
  }
  .guide-table tbody tr:hover { background: var(--white); }
  .guide-table th, .guide-table td { border-bottom: 0; padding: 0; }
  .guide-table__name { padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
  .guide-table td {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
    padding: 6px 0; font-size: 13.5px;
  }
  .guide-table td::before {
    content: attr(data-label);
    font-size: 11px; letter-spacing: .1em; color: var(--ink-3); flex: none;
  }
  .guide-notes { grid-template-columns: 1fr; }

  .form-stack { grid-template-columns: 1fr; }
  .form__grid { gap: 18px 16px; }

  .modal { padding: 0; }
  .modal__dialog { width: 100%; height: 100svh; max-height: 100svh; border-radius: 0; }
  .modal__body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow-y: auto; }
  .modal__media { padding: 40px 24px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .modal__media img { max-height: 38svh; }
  .modal__content { overflow: visible; }
  .modal__nav { font-size: 12px; padding: 8px 10px; }

  .site-footer__inner { flex-direction: column; }
  .sp-only { display: inline; }

  /* スマホでは画面下部の全幅バーにする。
     iPhone のホームインジケータぶん（safe-area）はボタン側に持たせ、
     地色が下端まで届くようにする。 */
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .floating {
    right: 0; left: 0; bottom: 0;
    grid-template-columns: 1fr 1fr; gap: 0;
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -14px rgba(36, 30, 25, .4);
  }
  .floating__btn {
    min-width: 0; min-height: 60px;
    padding: 0 10px env(safe-area-inset-bottom, 0px);
    font-size: 13px; letter-spacing: .08em; gap: 9px;
    border: 0; box-shadow: none;
  }
  .floating__btn:hover { transform: none; }
  .floating__btn--contact { border-right: 1px solid var(--line); }
  .totop { right: 14px; bottom: calc(100% + 14px); }

  /* 画面左下。トップへ戻るボタンと同じく、下部バーの上に絶対配置する。
     背景の写真の上でも読めるよう、ごく薄い下地だけ敷いている。 */
  .lang-float {
    position: absolute; left: 12px; bottom: calc(100% + 16px);
    display: flex; align-items: center; margin: 0;
    padding: 6px 12px; background: rgba(251, 248, 243, .88);
    font-size: 13px; font-weight: 500; letter-spacing: .12em; line-height: 1;
    color: var(--ink-2);
  }
  .lang-float > * + *::before {
    content: "/"; margin: 0 8px; color: var(--paper-3); font-weight: 400;
  }
  .lang-float [aria-current] { color: var(--beni); }
  .lang-float a { color: var(--ink-2); }
  .lang-float a:hover { color: var(--ink); }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 36px); }
  .site-header__inner { width: calc(100% - 32px); }
  .hero__actions { gap: 26px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .btn::after { right: -8px; width: 46px; }
  .btn:hover::after { right: -14px; width: 56px; }
  .product-grid { grid-template-columns: 1fr; }
  .craft-gallery { grid-template-columns: 1fr; }
  .craft-gallery figure:first-child { grid-column: auto; }
  .pd-spec > div { grid-template-columns: 96px 1fr; gap: 10px; }
  .form__grid { grid-template-columns: 1fr; }
  .field--half, .field--wide, .field--narrow { grid-column: 1 / -1; }
  .order-item__grid { grid-template-columns: 1fr 1fr; }
  .order-item__grid .field--wide { grid-column: 1 / -1; }
  .order-item__body { gap: 12px; }
  .order-item__thumb { width: 64px; height: 64px; margin-top: 20px; }
  .form__submit .btn { width: 100%; }
  .floating__btn { font-size: 12.5px; letter-spacing: .04em; gap: 7px; }
  .totop { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  /* 動きを「なくす」のではなく「短くする」。すべて止めてしまうと、
     開閉やホバーの反応が分からず、かえって操作しづらくなるため。
     ぐるぐる回り続けるキーフレームアニメーションだけは止める。 */
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .15s !important;
  }
  /* スクロールに合わせた出現は移動量が大きいので、これだけは省いて最初から見せる */
  .reveal { opacity: 1; transform: none; }
  /* 回転が止まって見えてしまうので、静止した円として見せる */
  .loader__ring { border-color: var(--beni); opacity: .3; }
  .loader__text i { opacity: 1; }
}

/* ============================================================
   English 版の調整
   ・書体は Source Serif 4 / Source Sans 3。
     これは Noto Serif JP / Noto Sans JP に内蔵されている欧文そのもの
     （Source Han Serif / Source Han Sans のラテン字形）なので、
     日本語版の英字（KAWACHI SLIPPER・PRODUCTS 等）と字面が完全に一致する。
   ・和文向けに広めに取った字間・行間を欧文用に締める
   ============================================================ */
html[lang="en"] {
  --serif: "Source Serif 4", "Noto Serif JP", Georgia, "Times New Roman", serif;
  --sans:  "Source Sans 3", "Noto Sans JP", "Segoe UI", Helvetica, Arial, sans-serif;
}
html[lang="en"] body { letter-spacing: .005em; line-height: 1.75; }

html[lang="en"] .brand__ja { letter-spacing: .06em; }
html[lang="en"] .btn { letter-spacing: .08em; }
html[lang="en"] .hero__actions { gap: 40px 36px; }
html[lang="en"] .floating__btn { letter-spacing: .06em; }
html[lang="en"] .hero__place { letter-spacing: .16em; }
html[lang="en"] .hero__title { letter-spacing: 0; line-height: 1.22; }
html[lang="en"] .hero__lead { letter-spacing: .005em; line-height: 1.85; max-width: 34em; }
html[lang="en"] .hero__stamp { font-size: 8.5px; letter-spacing: .04em; line-height: 1.7; }
/* 欧文は和文ほど字間を空けると間延びするので詰める */
html[lang="en"] .hero__tagline { letter-spacing: .1em; }

html[lang="en"] .sec-head__ja { letter-spacing: .005em; line-height: 1.25; }
html[lang="en"] .sec-head__note { line-height: 1.7; }
html[lang="en"] .concept-card h3,
html[lang="en"] .hist-river__title,
html[lang="en"] .craft-text h3,
html[lang="en"] .company-side h3,
html[lang="en"] .pd-title { letter-spacing: .005em; line-height: 1.35; }
html[lang="en"] .concept-card p,
html[lang="en"] .hist-river__body p,
html[lang="en"] .craft-text p,
html[lang="en"] .pd-desc,
html[lang="en"] .company-side__note { line-height: 1.85; }
html[lang="en"] .hist-fueki__title { letter-spacing: .04em; }
html[lang="en"] .hist-fueki p { letter-spacing: .01em; line-height: 1.95; }

html[lang="en"] .product-card__name { line-height: 1.4; }
html[lang="en"] .pd-spec dd,
html[lang="en"] .company-table dd { line-height: 1.65; }
html[lang="en"] .site-footer__addr { line-height: 1.8; }

/* 欧文ラベルは和文より横に伸びるため、定義リストの見出し幅を広げる */
@media (min-width: 861px) {
  html[lang="en"] .pd-spec > div { grid-template-columns: 128px 1fr; }
  html[lang="en"] .company-table > div { grid-template-columns: 180px 1fr; }
}

@media print {
  .site-header, .floating, .modal, .hero__scroll { display: none !important; }
  body { background: #fff; }
}
