/* ============================================================
   KIRINJI Brand Site — Design System v2.1
   Editorial refinement / #F39800 / Noto Sans JP + Outfit
   ============================================================ */
:root {
  /* Color */
  --orange: #F39800;
  --orange-bright: #FFA51E;
  --orange-dark: #D98600;
  --orange-deep: #945900;
  --orange-pale: #FCEED8;
  --orange-mist: #FAF4E8;
  --cream: #FBF8F1;
  --paper: #FFFFFF;
  --ink: #26221B;
  --ink-2: #55503F;
  --ink-3: #706653;
  --red: #E60012;
  --blue: #5E7DB4;
  --green: #4CA36B;
  --line: #E8DEC9;
  --brown: #2E271D;

  /* Typography */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Outfit", "Noto Sans JP", sans-serif;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  /* Shape — 控えめな角丸 */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --shadow-sm: 0 2px 10px rgba(140, 110, 40, .06);
  --shadow-md: 0 8px 26px rgba(140, 110, 40, .10);
  --shadow-lg: 0 16px 44px rgba(140, 110, 40, .13);

  /* Layout */
  --header-h: 84px;
  --pad: clamp(20px, 4vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: hidden; overflow-x: clip;
}
body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--cream) url("../assets/img/grain.png") repeat;
  background-size: 280px;
  line-height: 1.95;
  font-size: 15.5px;
  letter-spacing: .02em;
  overflow-x: hidden; overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
/* hidden 属性は常に効かせる。クラス側の display 指定に負けると、
   隠したつもりの要素（エラー文など）が出たままになる */
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-feature-settings: "palt"; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }
::selection { background: var(--orange); color: #fff; }

.container { width: min(1200px, calc(100% - var(--pad) * 2)); margin-inline: auto; }
:focus-visible { outline: 2.5px solid var(--orange-deep); outline-offset: 3px; box-shadow: 0 0 0 1.5px #fff; }
.skip-link {
  position: fixed; left: 12px; top: -64px; z-index: 600;
  background: var(--ink); color: #fff;
  padding: 11px 20px; border-radius: 6px;
  font-size: 13px; font-weight: 700;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 12px; }
.sp-only { display: none; }
@media (max-width: 900px) { .sp-only { display: inline; } .pc-only { display: none; } }
.container-narrow { width: min(860px, calc(100% - var(--pad) * 2)); margin-inline: auto; }
.container-wide { width: min(1400px, calc(100% - var(--pad) * 2)); margin-inline: auto; }

/* ============================================================
   Buttons — 矩形・抑制されたホバー
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px;
  font-size: 14px; font-weight: 700; letter-spacing: .06em;
  border-radius: 8px; border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn .arw { display: inline-block; transition: transform .4s var(--ease); font-family: var(--font-en); }
.btn:hover .arw { transform: translateX(5px); }
.btn-fill {
  background: var(--orange); color: #fff;
  box-shadow: 0 4px 14px rgba(243, 152, 0, .28);
}
.btn-fill:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(243, 152, 0, .34); }
.btn-outline { border-color: var(--orange); color: var(--orange-deep); background: rgba(255,255,255,.9); }
.btn-outline:hover { background: var(--orange-pale); transform: translateY(-2px); }
.btn-ghost-w { border-color: rgba(255,255,255,.65); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost-w:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-lg { padding: 17px 40px; font-size: 15px; }
.btn-sm { padding: 8px 18px; font-size: 12.5px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 400;
  transition: transform .5s var(--ease), background .35s, box-shadow .35s;
  background: transparent;
}
body.nav-open .site-header { background: transparent !important; box-shadow: none !important; transform: none !important; }
body.nav-open .gnav-desktop,
body.nav-open .header-cta { opacity: 0; pointer-events: none; }
.gnav-desktop, .header-cta { transition: opacity .3s; }
.site-header.is-scrolled {
  background: rgba(251, 248, 241, .96);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-110%); }
.header-inner {
  width: min(1440px, calc(100% - 32px)); margin-inline: auto;
  display: flex; align-items: center; gap: 14px;
  height: var(--header-h);
}
.brand { flex-shrink: 0; display: block; transition: opacity .3s; }
.brand:hover { opacity: .8; }
.brand img { height: 42px; width: auto; }

.gnav-desktop { margin-left: auto; }
.gnav-desktop ul { display: flex; gap: 2px; }
.gnav-desktop a {
  position: relative; display: block; padding: 9px 10px;
  font-size: 12.5px; font-weight: 700; white-space: nowrap;
  transition: color .3s;
}
.gnav-desktop a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: right center;
  transition: transform .4s var(--ease);
}
.gnav-desktop a:hover { color: var(--orange-deep); }
.gnav-desktop a:hover::after,
.gnav-desktop a.current::after { transform: scaleX(1); transform-origin: left center; }
.gnav-desktop a.current { color: var(--orange-deep); }

.header-cta { display: flex; gap: 8px; flex-shrink: 0; }
.header-cta .btn { padding: 9px 15px; font-size: 12.5px; }

.menu-btn {
  position: relative; z-index: 320;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--orange); border: none; border-radius: 8px; cursor: pointer;
  transition: background .3s, transform .35s var(--ease);
}
.menu-btn:hover { background: var(--orange-dark); }
.menu-btn span {
  display: block; width: 22px; height: 2.5px; background: #fff;
  transition: transform .4s var(--ease), opacity .3s;
}
.menu-btn.is-open { background: var(--brown); }
.menu-btn.is-open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ============================================================
   Overlay navigation — 罫線ベースの整理された誌面
   ============================================================ */
.nav-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: var(--cream);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .5s var(--ease), visibility .5s;
  overflow-y: auto;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.nav-overlay-inner {
  position: relative; z-index: 1;
  width: min(960px, calc(100% - 48px)); margin-inline: auto;
  padding: calc(var(--header-h) + 34px) 0 60px;
}
.nav-menu {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px;
  margin-bottom: 40px;
}
.nav-link {
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(16px, 1.9vw, 19px); font-weight: 700;
  opacity: 0; transform: translateY(20px);
  transition: color .3s, padding .35s var(--ease);
}
.nav-link small {
  font-family: var(--font-en); font-size: 10.5px; font-weight: 600;
  letter-spacing: .16em; color: var(--ink-3); text-transform: uppercase;
}
.nav-link:hover { color: var(--orange-deep); padding-left: 14px; }
.nav-link.current { color: var(--orange-deep); }
.nav-link.current::after {
  content: "現在のページ"; margin-left: auto;
  font-size: 10px; font-weight: 700; color: var(--orange-deep);
  border: 1px solid var(--orange); border-radius: 4px;
  padding: 2px 8px; align-self: center; letter-spacing: .06em;
}
.nav-overlay.is-open .nav-link {
  opacity: 1; transform: translateY(0);
  transition: opacity .6s var(--ease) var(--nav-d, 0s), transform .6s var(--ease) var(--nav-d, 0s), color .3s, padding .35s var(--ease);
}
.nav-overlay-cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  opacity: 0; transform: translateY(20px);
}
.nav-overlay.is-open .nav-overlay-cta {
  opacity: 1; transform: translateY(0);
  transition: opacity .6s var(--ease) .4s, transform .6s var(--ease) .4s;
}

/* Mobile bottom CTA bar */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150;
  display: none; gap: 8px;
  transform: translateY(140%);
  transition: transform .55s var(--ease);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .btn { flex: 1; padding: 14px 10px; font-size: 13.5px; box-shadow: 0 8px 24px rgba(38,34,27,.22); }
.mobile-cta .btn-outline { background: #fff; }

/* ============================================================
   Hero (home) — 画像一面・写真の余白に直接タイポグラフィ
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 12px);
}
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 28%;
  opacity: 0; transform: scale(1.05);
  transition: opacity 1.6s var(--ease-io), transform 7.5s linear;
  will-change: opacity, transform;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
/* 気配レベルの読みやすさ保険（ハイキー写真前提） */
.hero-slides::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(251,248,241,.52), rgba(251,248,241,0) 46%),
    linear-gradient(105deg, rgba(251,248,241,.46) 0%, rgba(251,248,241,0) 58%);
}
.hero-vertical {
  position: absolute; right: clamp(18px, 2.6vw, 44px); top: calc(var(--header-h) + 28px); z-index: 2;
  writing-mode: vertical-rl;
  font-size: 12px; font-weight: 700; letter-spacing: .4em;
  color: var(--ink-2); text-shadow: 0 0 14px rgba(255,255,255,.85);
  display: flex; align-items: center; gap: 14px;
}
.hero-vertical::before { content: ""; width: 7px; height: 7px; background: var(--orange); align-self: center; }

.hero-inner {
  position: relative; z-index: 2; width: 100%;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
  padding: 0 clamp(20px, 3.4vw, 48px) clamp(30px, 5.5vh, 60px) clamp(24px, 6.5vw, 110px);
}
.hero-copy { max-width: 720px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .2em;
  color: var(--ink-2);
  margin-bottom: 20px;
}
.hero-kicker::before { content: ""; width: 34px; height: 1.5px; background: var(--orange); }
.hero-title {
  font-size: clamp(32px, 3.9vw, 56px);
  font-weight: 900; line-height: 1.42; letter-spacing: .02em;
  color: var(--ink);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); }
.is-loaded .hero-title .line > span { transform: translateY(0); transition: transform 1.1s var(--ease); }
.is-loaded .hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.hero-title em {
  font-style: normal; white-space: nowrap;
  background: linear-gradient(transparent 74%, rgba(243,152,0,.55) 74%);
  padding: 0 2px;
}
.hero-lead {
  margin-top: 18px; max-width: 480px;
  font-size: clamp(13px, 1.2vw, 14.5px); font-weight: 700; line-height: 2;
  color: var(--ink-2);
  opacity: 0; transform: translateY(18px);
}
.is-loaded .hero-lead { opacity: 1; transform: none; transition: opacity 1s var(--ease) .5s, transform 1s var(--ease) .5s; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; opacity: 0; transform: translateY(18px); }
.hero-actions .btn-lg { padding: 16px 36px; font-size: 14.5px; }
.is-loaded .hero-actions { opacity: 1; transform: none; transition: opacity 1s var(--ease) .7s, transform 1s var(--ease) .7s; }

/* スライドUI（カウンター＋プログレスバー） */
.hero-ui {
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
  flex-shrink: 0;
  opacity: 0; transform: translateY(18px);
}
.is-loaded .hero-ui { opacity: 1; transform: none; transition: opacity 1s var(--ease) .9s, transform 1s var(--ease) .9s; }
.hero-count {
  font-family: var(--font-en); font-weight: 600;
  font-size: 12px; letter-spacing: .18em; color: var(--ink-2);
  display: flex; align-items: baseline; gap: 6px;
}
.hero-count b { font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.hero-controls { display: flex; align-items: center; gap: 8px; }
.hero-dots { display: flex; gap: 4px; }
.hero-dot {
  width: 46px; height: 24px; border: none; cursor: pointer; padding: 0;
  background: transparent; position: relative;
}
.hero-dot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; margin-top: -1.5px;
  height: 3px; background: rgba(38, 34, 27, .45);
}
.hero-dot .bar {
  position: absolute; left: 0; right: 0; top: 50%; margin-top: -1.5px; height: 3px;
  background: var(--orange-deep); transform: scaleX(0); transform-origin: left;
}
.hero-dot.is-active .bar { animation: dotfill 6.5s linear forwards; }
.hero-dots.is-stopped .hero-dot.is-active .bar { animation: none; transform: scaleX(1); }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero-pause {
  width: 26px; height: 24px; border: none; background: transparent; cursor: pointer;
  position: relative; flex-shrink: 0;
}
.hero-pause::before, .hero-pause::after {
  content: ""; position: absolute; top: 5px; bottom: 5px; width: 3px; background: var(--ink);
}
.hero-pause::before { left: 8px; }
.hero-pause::after { right: 8px; }
.hero-pause.is-paused::before {
  left: 8px; top: 4px; bottom: 4px; width: 0; background: none;
  border-left: 12px solid var(--ink);
  border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.hero-pause.is-paused::after { display: none; }

.hero-scroll {
  position: absolute; left: clamp(14px, 2.2vw, 38px); bottom: 18px; z-index: 2;
  display: flex; flex-direction: row; align-items: center; gap: 10px;
  writing-mode: vertical-rl;
  color: var(--ink-2);
  font-family: var(--font-en); font-size: 9.5px; font-weight: 600; letter-spacing: .32em;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 38px;
  background: var(--ink-2);
  animation: scrollcue-y 2.2s var(--ease-io) infinite;
}
@keyframes scrollcue-y {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   Marquee keyframes（フォトストリップで使用）
   ============================================================ */
@keyframes marquee { to { transform: translateX(-50%); } }

/* Photo marquee strip */
.photo-strip { overflow: hidden; padding: 10px 0 26px; }
.photo-strip-track { display: flex; gap: 16px; width: max-content; animation: marquee 46s linear infinite; }
.photo-strip img {
  height: clamp(150px, 22vw, 240px); width: auto; border-radius: var(--r-sm);
}
.photo-strip img:nth-child(even) { transform: translateY(10px); }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(48px, 7vw, 84px) 0; }
.section-alt { background: var(--orange-mist); }
.section-head { margin-bottom: clamp(38px, 5vw, 60px); }
.section-head.is-center { text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en);
  font-size: 12px; font-weight: 600; letter-spacing: .3em;
  color: var(--orange-deep); text-transform: uppercase;
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 28px; height: 1.5px; background: var(--orange); }
.is-center .kicker::before { display: none; }
.is-center .kicker { justify-content: center; }
.section-title {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 900; line-height: 1.55; letter-spacing: .02em;
}
.section-title em {
  font-style: normal; color: inherit;
  background: linear-gradient(transparent 72%, rgba(243,152,0,.45) 72%);
  padding: 0 1px;
}
.section-lead { margin-top: 16px; color: var(--ink-2); font-size: 15px; max-width: 720px; }
.is-center .section-lead { margin-inline: auto; }
.section-more { margin-top: clamp(30px, 4vw, 46px); text-align: center; }

/* ============================================================
   Reveal animations
   ============================================================ */
.rv, .rv-l, .rv-r, .rv-zoom {
  opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.rv { transform: translateY(38px); }
.rv-l { transform: translateX(-46px); }
.rv-r { transform: translateX(46px); }
.rv-zoom { transform: scale(.94); }
.is-inview { opacity: 1; transform: none; }

.img-reveal { position: relative; overflow: hidden; border-radius: var(--r-lg); }
.img-reveal::after {
  content: ""; position: absolute; inset: 0; background: var(--orange-pale);
  transform: scaleX(1); transform-origin: right;
  transition: transform 1.1s var(--ease) var(--d, 0s);
}
.img-reveal img { transform: scale(1.12); transition: transform 1.4s var(--ease) var(--d, 0s); }
.img-reveal.is-inview::after { transform: scaleX(0); }
.img-reveal.is-inview img { transform: scale(1); }
/* スクリプトを取得できない場合も本文を読めるようにする。 */
html:not(.js-motion) :is(.rv, .rv-l, .rv-r, .rv-zoom, .hero-lead, .hero-actions, .hero-ui, .hero-title .line > span) {
  opacity: 1; transform: none;
}
html:not(.js-motion) .img-reveal::after { transform: scaleX(0); }
html:not(.js-motion) .img-reveal img { transform: none; }

/* ============================================================
   Cards — 罫線＋薄影のフラット寄り
   ============================================================ */
.grid { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border-radius: 8px;
  border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 34px);
  transition: border-color .3s;
}
a.card:hover { border-color: var(--orange); }
.card h3 { font-size: 17.5px; font-weight: 900; line-height: 1.6; margin-bottom: 10px; }
.card p { font-size: 13.8px; color: var(--ink-2); line-height: 1.95; }
.card-icon {
  display: flex; align-items: center; justify-content: flex-start;
  margin-bottom: 15px; color: var(--orange-deep);
}
.card-icon svg { width: 38px; height: 38px; }
.card-more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--orange-deep);
  letter-spacing: .04em;
}
.card-more::after { content: "→"; font-family: var(--font-en); transition: transform .4s var(--ease); }
a.card:hover .card-more::after, a.pcard:hover .card-more::after { transform: translateX(5px); }

/* Photo card */
.pcard {
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color .3s;
}
a.pcard:hover { border-color: var(--orange); }
.pcard-img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.pcard-img.is-16x9 { aspect-ratio: 16 / 9; } /* えんぷくラボのアイキャッチは全所16:9で統一 */
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
a.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-img .badge {
  position: absolute; left: 12px; top: 12px;
  background: rgba(251,248,241,.95); color: var(--orange-deep);
  border-radius: 4px; padding: 4px 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
}
.pcard-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard-body h3 { font-size: 16px; font-weight: 900; line-height: 1.65; }
.pcard-body p { font-size: 13px; color: var(--ink-2); }
.pcard-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-3); }

.tag {
  display: inline-block; padding: 3px 11px; border-radius: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  background: var(--orange-pale); color: var(--orange-deep);
}
.tag-blue { background: #E8EEF8; color: var(--blue); }
.tag-green { background: #E5F3EA; color: var(--green); }
.tag-red { background: #FDE8EA; color: var(--red); }

/* ============================================================
   Split (photo + text)
   ============================================================ */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 72px); align-items: center;
}
.split.is-flip .split-media { order: 2; }
.split-media { position: relative; }
.split-media .main-img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.dx-mockup { width: 100%; height: auto; display: block; }
.dx-shot { max-width: 940px; margin: 8px auto 0; }
.split-media .sub-img {
  position: absolute; width: 42%; border-radius: var(--r-sm);
  box-shadow: var(--shadow-md); border: 5px solid var(--cream);
  right: -6%; bottom: -12%;
  transform: rotate(2.5deg);
}
.split.is-flip .split-media .sub-img { right: auto; left: -6%; transform: rotate(-2.5deg); }
.split-media .stamp {
  position: absolute; left: -14px; top: -14px;
  width: 88px; height: 88px; border-radius: var(--r-sm);
  background: var(--orange); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 900; font-size: 12.5px; line-height: 1.5; text-align: center;
  box-shadow: var(--shadow-md);
  transform: rotate(-5deg);
}
.split-body .section-head { margin-bottom: 22px; }
.split-body p { color: var(--ink-2); font-size: 14.5px; margin-bottom: 14px; }
.check-list { margin: 18px 0 26px; display: grid; gap: 0; }
.check-list li {
  position: relative; padding: 11px 0 11px 34px;
  font-size: 14.5px; font-weight: 700;
  border-bottom: 1px dashed var(--line);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 22px; height: 22px; border-radius: 4px;
  background: var(--orange);
}
.check-list li::after {
  content: ""; position: absolute; left: 6px; top: 21px;
  width: 10px; height: 5px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}

/* ============================================================
   Stats band
   ============================================================ */
/* 数値は「カード」ではなく罫線区切りのフィギュア列で見せる */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stat {
  text-align: center; padding: 4px 18px;
  position: relative;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num {
  font-family: var(--font-en);
  font-size: clamp(40px, 4.8vw, 54px); font-weight: 700; line-height: 1.05;
  color: var(--orange-deep); letter-spacing: .01em;
}
.stat-num small { font-size: .45em; font-weight: 700; margin-left: 2px; }
.stat-label { font-size: 13.5px; font-weight: 700; margin-top: 10px; }
.stat-note { font-size: 11px; color: var(--ink-3); margin-top: 4px; line-height: 1.6; }

/* ============================================================
   Steps (timeline)
   ============================================================ */
.steps { display: grid; gap: 0; }
.step {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0; width: 52px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--font-en); color: var(--orange-deep); line-height: 1;
}
.step-num small { font-size: 8.5px; letter-spacing: .18em; margin-bottom: 5px; color: var(--ink-3); font-weight: 600; }
.step-num b { font-size: 30px; font-weight: 700; }
.step h3 { font-size: 17px; font-weight: 900; margin-bottom: 6px; }
.step p { font-size: 13.8px; color: var(--ink-2); }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--paper); border-radius: 8px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item.is-open { border-color: var(--orange); }
.faq-q {
  display: flex; align-items: center; gap: 16px;
  width: 100%; padding: 21px 24px; background: none; border: none;
  cursor: pointer; text-align: left;
  font-family: var(--font-jp); font-weight: 900; font-size: 15.5px; line-height: 1.6; color: var(--ink);
}
.faq-q .qmark {
  flex-shrink: 0; width: 20px;
  color: var(--orange-deep);
  font-family: var(--font-en); font-weight: 700; font-size: 20px; line-height: 1;
}
.faq-q .ftog {
  margin-left: auto; flex-shrink: 0; width: 22px; height: 22px;
  position: relative;
}
.faq-q .ftog::before, .faq-q .ftog::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 13px; height: 2px; background: var(--ink-2);
  transition: transform .45s var(--ease);
}
.faq-q .ftog::after { transform: rotate(90deg); }
.faq-item.is-open .ftog::after { transform: rotate(0); }
.faq-a { height: 0; overflow: hidden; transition: height .5s var(--ease); }
.faq-a-inner {
  display: flex; gap: 16px; padding: 2px 24px 24px;
  font-size: 14px; color: var(--ink-2); line-height: 2;
}
.faq-a-inner .amark {
  flex-shrink: 0; width: 20px;
  color: var(--orange-deep);
  font-family: var(--font-en); font-weight: 700; font-size: 20px; line-height: 1.4;
}

/* ============================================================
   Table / info
   ============================================================ */
.info-table {
  width: 100%; border-collapse: collapse;
  background: var(--paper);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.info-table th, .info-table td {
  padding: 19px 24px; text-align: left; font-size: 14.5px;
  border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.9;
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { width: 200px; color: var(--ink); font-weight: 900; }

/* 会社概要：社屋写真（見出しとテーブルの間・ワイドなパノラマ調） */
.company-photo { margin: 0 0 36px; position: relative; }
.company-photo img {
  width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 62%;
  display: block; border-radius: 12px;
}
.company-photo figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(251,248,241,.94); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: .03em;
  padding: 7px 15px; border-radius: 6px;
}
@media (max-width: 640px) {
  .company-photo img { aspect-ratio: 16 / 10; }
  .company-photo figcaption { left: 10px; bottom: 10px; font-size: 11px; padding: 6px 12px; }
}

.note-box {
  background: none; border: none;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 2px; font-size: 13.5px; color: var(--ink-2); line-height: 2;
}
.note-box b { color: var(--ink); }
.txt-link { color: var(--orange-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.txt-link:hover { color: var(--orange); }

/* ============================================================
   Forms
   ============================================================ */
.form-box {
  background: var(--paper); border-radius: 10px;
  border: 1px solid var(--line);
  padding: clamp(30px, 5vw, 54px);
}
.form-row { margin-bottom: 26px; }
.form-label { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 14.5px; margin-bottom: 10px; }
.req, .opt { font-size: 10.5px; font-weight: 700; padding: 2.5px 10px; border-radius: 4px; letter-spacing: .06em; }
.req { background: var(--red); color: #fff; }
.opt { background: #EDE7DB; color: var(--ink-2); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 14px 16px;
  font-family: var(--font-jp); font-size: 15px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 8px;
  background: var(--cream); outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--orange); background: #fff;
  box-shadow: 0 0 0 3px rgba(243,152,0,.14);
}
textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.form-submit { text-align: center; margin-top: 38px; }
.form-agree { text-align: center; font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.form-done { display: none; text-align: center; padding: 70px 20px; }
.form-done.is-visible { display: block; animation: pop-in .8s var(--ease); }
@keyframes pop-in { from { opacity: 0; transform: scale(.95) translateY(14px); } }
.form-done .done-icon {
  width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 34px;
}
.form-done h3 { font-size: 21px; font-weight: 900; margin-bottom: 10px; }
.form-done p { font-size: 14px; color: var(--ink-2); }

/* ============================================================
   Catalog (WEBカタログ)
   ============================================================ */
/* カテゴリ絞り込み = 品目インデックス。ピル(枠)を廃し文字主体で組む＝文字数で幅がガタつく
   “並べただけ”感を排除。選択中はオレンジの下線、件数は Outfit の小さな上付き数字で控えめに。 */
/* カテゴリの絞り込み。下線だけの文字列だと、13個並んだときに
   「押せるもの」に見えず、ただの文章の塊に読める。枠のある札にした。 */
.cat-filter { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 36px; }
.chip {
  margin: 0; padding: 8px 14px;
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px;
  font-size: 13.5px; font-weight: 700; color: var(--ink-2);
  letter-spacing: .01em; line-height: 1.35;
  cursor: pointer; display: inline-flex; align-items: baseline; gap: 6px;
  transition: color .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
/* カテゴリ名の右の点数。1カテゴリ＝掲載の全部と読まれないための目安 */
.chip-n {
  font-size: 11px; font-weight: 700;
  color: var(--ink-3); font-feature-settings: "tnum";
}
.chip:hover { color: var(--ink); border-color: var(--orange); }
.chip.is-active {
  background: var(--orange); border-color: var(--orange); color: var(--ink);
}
.chip.is-active .chip-n { color: var(--ink-2); }
.chip:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.cat-tools { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.cat-search { position: relative; flex: 1; min-width: 240px; max-width: 380px; }
.cat-search input { padding-left: 44px; border-radius: 8px; }
.cat-search::before {
  content: ""; position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px;
  border: 2px solid var(--ink-3); border-radius: 50%;
}
.cat-search::after {
  content: ""; position: absolute; left: 29px; top: 56%;
  width: 8px; height: 2px; background: var(--ink-3);
  transform: rotate(45deg); transform-origin: left center;
}
.cat-count { font-size: 13px; color: var(--ink-3); font-weight: 700; margin-left: auto; } /* 件数を行の右端へ（検索=左／件数=右の対比） */
/* 「いま出ている件数」と「そのページの総数」を並べて出す */
.cat-count .cc-total {
  margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line);
  font-weight: 500; color: var(--ink-3);
}
@media (max-width: 640px) {
  .cat-count { margin-left: 0; width: 100%; }
  .cat-count .cc-total { margin-left: 8px; padding-left: 8px; }
}
.cat-count b { color: var(--orange-deep); font-family: var(--font-en); font-size: 16px; font-weight: 700; }

/* 493点を一度に見渡せるよう1行8点。カード幅が約137pxまで縮むので、
   内部の余白・文字もこの幅を基準に詰めてある（下のブレークポイントで段階的に減らす） */
.product-grid {
  display: grid; grid-template-columns: repeat(8, 1fr);
  gap: clamp(10px, 1.1vw, 14px);
}
.product-card {
  background: var(--paper); border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: none; cursor: pointer; text-align: left;
  /* カードは <a>（商品ページへのリンク）。リンクの既定の色と下線は消す */
  text-decoration: none; color: var(--ink);
  padding: 0; font-family: var(--font-jp);
  display: flex; flex-direction: column; /* 本文を伸ばしフッター(品番+矢印)を最下段に揃える */
  transition: border-color .3s, opacity .4s var(--ease);
  animation: card-in .6s var(--ease) backwards;
}
@keyframes card-in { from { opacity: 0; transform: translateY(22px); } }
/* 全カテゴリ表示だとカードが3,000枚並ぶ。画面外は描画を省く。
   高さの見積もりを与えてスクロール位置が飛ばないようにする。 */
.product-card { content-visibility: auto; contain-intrinsic-size: auto 268px; }
.product-card:hover { border-color: var(--orange); }
.product-thumb {
  aspect-ratio: 1 / 1; background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
  border-bottom: 1px solid var(--line);
}
.product-thumb img {
  max-width: 90%; max-height: 90%; width: auto; height: auto; object-fit: contain;
  transition: transform .7s var(--ease);
}
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-body { flex: 1; display: flex; flex-direction: column; padding: 10px 11px 11px; }
.product-cat { font-size: 10px; font-weight: 700; color: var(--orange-deep); letter-spacing: .05em; }
.product-name {
  font-size: 12.5px; font-weight: 700; line-height: 1.55; margin-top: 5px; color: var(--ink);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
/* 品番と矢印を最下段のフッター行に。名前が1行でも2行でも品番位置が揃い、中間の空きが消える */
.product-foot {
  margin-top: auto; padding-top: 9px;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
}
/* カード上の色バリエーション（近似ドット＋色数） */
.product-colors { display: flex; align-items: center; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.pc-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.pc-dot.is-light { box-shadow: inset 0 0 0 1px rgba(0,0,0,.22); }
.pc-more { font-family: var(--font-en); font-size: 10px; font-weight: 600; color: var(--ink-3); }
/* 1色＝1カードなので、カードには色名を出す（色から探す園が多い） */
.pc-colorname {
  display: block; margin-top: 5px;
  font-size: 11.5px; font-weight: 700; color: var(--ink-2);
  letter-spacing: .02em; line-height: 1.5;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pc-count { margin-left: auto; font-size: 10px; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; }
.product-code { font-family: var(--font-en); font-size: 10px; font-weight: 500; color: var(--ink-3); letter-spacing: .03em; }
.product-arw {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-size: 12px; line-height: 1; color: var(--ink-3);
  border: 1px solid var(--line);
  transition: color .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.product-card:hover .product-arw { color: #fff; background: var(--orange); border-color: var(--orange); transform: translateX(2px); }
/* 検索が表示中のカテゴリ外にも当たったときの案内 */
.cat-hint {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: -18px 0 22px; padding: 12px 16px;
  background: var(--orange-mist); border-radius: 8px;
  font-size: 13px; color: var(--ink-2); line-height: 1.8;
}
.cat-hint button {
  border: 1px solid var(--orange); background: var(--paper); color: var(--orange-deep);
  font-family: var(--font-jp); font-size: 12.5px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.cat-hint button:hover { background: var(--orange); color: #fff; }
.cat-empty { text-align: center; padding: 60px 0; color: var(--ink-3); font-weight: 700; display: none; }

/* カタログの見せ方の切替（商品一覧 ⇔ コーディネート）。
   本文の先頭に常設する。導線を文章の中に埋めると気づかれないため、
   「同じ商品を2通りの見せ方で見られる」ことを2枚のカードで示す。 */
.cat-views {
  /* 4枚（商品一覧・コーディネート・園オリジナル・先生用）。4→2→1 列で切り替える。
     auto-fit にすると中間の幅で3列になり、4枚目だけが次の行にぽつんと残る。
     偶数で割るので、どの幅でも行の端が揃う。 */
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px; margin-bottom: clamp(24px, 3vw, 34px);
}
/* 4列だと「コーディネート＋NEW」が入らなくなる幅から2列へ */
@media (max-width: 1080px) { .cat-views { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cv-item {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 16px; border-radius: var(--r-md);
  border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .3s var(--ease), background-color .3s var(--ease),
              box-shadow .3s var(--ease), transform .3s var(--ease);
}
.cv-item.is-current {
  background: var(--orange); border-color: var(--orange); color: #fff;
  box-shadow: var(--shadow-sm);
}
.cv-item:not(.is-current):hover {
  border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.cv-ico {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-mist); color: var(--orange-deep);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.cv-ico svg { width: 23px; height: 23px; display: block; }
.cv-item.is-current .cv-ico { background: rgba(255, 255, 255, .22); color: #fff; }
.cv-item:not(.is-current):hover .cv-ico { background: var(--orange-pale); }
.cv-txt { min-width: 0; }
.cv-name {
  display: flex; align-items: center; gap: 7px;
  font-size: 15.5px; font-weight: 900; letter-spacing: .01em; line-height: 1.4;
  /* 4枚並ぶと1枚あたりが狭い。既定のままだと「コーディネー／ト」「園オリジナル・条／件つき」
     のように語の途中で折れる。keep-all で和文の途中改行を止める（英数字は従来どおり折れる） */
  word-break: keep-all;
}
.cv-note {
  display: block; font-size: 12px; color: var(--ink-2); line-height: 1.65; margin-top: 3px;
  word-break: keep-all;
}
.cv-item.is-current .cv-note { color: rgba(255, 255, 255, .92); }
.cv-new {
  flex-shrink: 0; background: var(--red); color: #fff;
  font-family: var(--font-en); font-size: 9.5px; font-weight: 700; letter-spacing: .08em;
  padding: 2.5px 7px; border-radius: 3px; line-height: 1.4;
}
.cv-item.is-current .cv-new { background: #fff; color: var(--orange-deep); }
@media (max-width: 700px) {
  .cat-views { grid-template-columns: 1fr; gap: 9px; }
  .cv-item { padding: 13px 15px; gap: 12px; }
  .cv-ico { width: 40px; height: 40px; border-radius: 9px; }
  .cv-ico svg { width: 22px; height: 22px; }
  .cv-name { font-size: 15px; }
  .cv-note { font-size: 12px; }
}

/* 品質表示（素材・原産国・お手入れ）。品表データ（site/data/product-specs.json）から。
   園が知りたいのは「何でできているか」「洗えるか」。カラーのすぐ下に置く。 */
.lb-spec { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.lb-spec[hidden] { display: none; }
.lb-spec-list { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; align-items: baseline; }
.lb-spec-list dt {
  font-size: 11px; font-weight: 700; color: var(--ink-3);
  letter-spacing: .06em; white-space: nowrap; padding-top: 1px;
}
.lb-spec-list dd { font-size: 13px; color: var(--ink); line-height: 1.85; }
/* 表地・リブ部分など、部位が分かれる商品は部位名を頭に小さく添える */
.lb-mat { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; }
.lb-mat-part { font-size: 11.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.lb-mat-val { font-size: 13px; }
.lb-mat.is-single { display: block; }

/* お手入れの目印。畳まれた中身を読まなくても、洗えない・乾燥機に入れられないが分かるように。
   lv2=赤（家庭洗濯不可）/ lv1=✕付き（できないこと）/ lv0=注意 */
.lb-flags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 2px; }
.lb-flag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .01em; line-height: 1.5;
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-2);
  white-space: nowrap;
}
.lb-flag.lv1, .lb-flag.lv2 { display: inline-flex; align-items: center; gap: 5px; }
.lb-flag.lv1::before, .lb-flag.lv2::before {
  content: "✕"; font-size: 9.5px; font-weight: 700; opacity: .85;
}
.lb-flag.lv1 { border-color: #CDBFA6; color: var(--ink); background: #FAF6EE; }
.lb-flag.lv2 { border-color: rgba(230, 0, 18, .32); color: var(--red); background: #FFF4F4; }

.lb-care { margin-top: 12px; }
.lb-care[hidden] { display: none; }
.lb-care summary {
  display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
  font-size: 12px; font-weight: 700; color: var(--orange-deep);
  padding: 4px 0; width: fit-content;
}
.lb-care summary::-webkit-details-marker { display: none; }
.lb-care summary::before {
  content: ""; width: 0; height: 0; flex-shrink: 0;
  border-left: 5px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  transition: transform .25s var(--ease);
}
.lb-care[open] summary::before { transform: rotate(90deg); }
.lb-care summary:hover { color: var(--orange); }
.lb-care ul { margin-top: 6px; padding-left: 2px; }
.lb-care li {
  position: relative; padding-left: 13px;
  font-size: 12px; color: var(--ink-2); line-height: 1.85;
}
.lb-care li::before {
  content: ""; position: absolute; left: 2px; top: .82em;
  width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3);
}

/* ライトボックス内の導線。見ている品と「合わせる候補」を実物の写真で見せる。
   出している3点と、開いた先のコーディネートは同じ組み合わせになる。 */
.lb-coord {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 10px 12px;
  margin-top: 20px; padding: 13px 15px;
  border: 1.5px solid var(--orange); border-radius: 10px;
  background: var(--orange-mist);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.lb-coord[hidden] { display: none; }
.lb-coord:hover { background: var(--orange-pale); box-shadow: var(--shadow-sm); }
.lbc-thumbs { grid-column: 1 / -1; display: flex; align-items: center; gap: 7px; }
.lbc-th {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 7px;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.lbc-th img { max-width: 86%; max-height: 86%; width: auto; height: auto; object-fit: contain; }
/* 1枚目＝いま見ている品。少し立てて主役だと分かるようにする */
.lbc-th:first-child { width: 58px; height: 58px; border-color: var(--orange); box-shadow: 0 2px 8px rgba(140,110,40,.14); }
.lb-coord:hover .lbc-th { border-color: var(--orange); }
.lb-coord:hover .lbc-th:first-child { transform: translateY(-2px); }
/* 「＋」はCSSで描く（写真と写真のあいだ） */
.lbc-plus {
  flex: 0 0 auto; position: relative; width: 11px; height: 11px; opacity: .5;
}
.lbc-plus::before, .lbc-plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--orange-deep); transform: translate(-50%, -50%);
}
.lbc-plus::before { width: 11px; height: 1.5px; }
.lbc-plus::after { width: 1.5px; height: 11px; }
.lbc-txt { min-width: 0; }
.lbc-txt b { display: block; font-size: 13.5px; font-weight: 900; color: var(--ink); line-height: 1.5; }
.lbc-txt small { display: block; font-size: 11.5px; color: var(--ink-2); line-height: 1.6; margin-top: 1px; }
.lbc-arw {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-size: 14px; line-height: 1;
  color: #fff; background: var(--orange);
  transition: transform .3s var(--ease);
}
.lb-coord:hover .lbc-arw { transform: translateX(2px); }

/* 商品区分の表示（議事録: 条件・注意のある商品には注記を付ける）。
   定番は無印。lv1=注意（別注・小量・在庫限り・受注生産）/ lv2=廃盤 */
.pk-tag {
  display: inline-block; flex-shrink: 0;
  font-size: 10px; font-weight: 700; letter-spacing: .04em; line-height: 1.5;
  padding: 2.5px 8px; border-radius: 4px;
  border: 1px solid #CDBFA6; background: #FAF6EE; color: var(--ink-2);
}
.pk-tag.lv2 { border-color: rgba(230, 0, 18, .3); background: #FFF4F4; color: var(--red); }
/* カード上は写真の右上に小さく重ねる */
.product-thumb > .pk-tag { position: absolute; top: 6px; right: 6px; z-index: 1; }

/* ============================================================
   生産終了品（discontinued.html）まわり
   廃盤はカタログ本体に混ぜず別ページで扱う。買える商品と並べると
   「選んだのに買えない」問い合わせを生むため（旧HPで実際に起きていた）。
   ============================================================ */

/* カタログ下部の入口。押しつけず、探している人にだけ届く強さにする */
.eol-entry {
  display: flex; align-items: center; gap: 15px;
  margin-top: 18px; padding: 16px 20px;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--cream);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.eol-entry:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.eol-entry .ee-ico {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); color: var(--ink-3); border: 1.5px solid var(--line);
}
.eol-entry .ee-ico svg { width: 21px; height: 21px; }
.eol-entry .ee-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.eol-entry .ee-txt b { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.eol-entry .ee-txt small { font-size: 12.5px; color: var(--ink-3); line-height: 1.75; }
.eol-entry .ee-arw { margin-left: auto; flex-shrink: 0; color: var(--orange-deep); font-weight: 700; }
@media (max-width: 640px) {
  .eol-entry { padding: 14px 15px; gap: 12px; }
  .eol-entry .ee-arw { display: none; }
}

/* 検索が空振りした時に出す案内。0件メッセージの直下に足す */
.cat-empty-eol {
  /* .cat-empty は1つの <p>。inline だと本文の最終行に食い込むので、
     幅を内容に合わせたブロックにして独立した行の中央に置く */
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: fit-content; margin: 20px auto 0; padding: 11px 18px; border-radius: 999px;
  border: 1.5px solid var(--orange); background: var(--orange-pale);
  color: var(--ink); font-size: 13.5px; font-weight: 700;
  transition: background-color .3s var(--ease);
}
.cat-empty-eol:hover { background: var(--orange-mist); }
.cat-empty-eol b { color: var(--orange-deep); font-weight: 900; }
.cat-empty-eol .cee-arw { color: var(--orange-deep); }


/* 品番を調べるためのページなので、上の余白を詰めて商品を早く画面に出す。
   （写真ヒーローをやめただけでは逆に高くなる。素のヒーローは余白が大きいため） */
.page-eol .page-hero, .page-order .page-hero { padding: calc(var(--header-h) + 24px) 0 22px; }
.page-eol .page-hero + .section, .page-order .page-hero + .section { padding-top: 26px; }
.page-eol .page-title, .page-order .page-title { font-size: clamp(24px, 3vw, 30px); }
.page-eol .page-lead, .page-order .page-lead { margin-top: 9px; font-size: 14px; max-width: 780px; }
.page-eol .page-lead b, .page-order .page-lead b { color: var(--ink); font-weight: 900; }
.page-eol .breadcrumb, .page-order .breadcrumb { padding-top: 12px; }

/* ライトボックス内の区分注記 */
.lb-kubun {
  display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap;
  margin-top: 12px; font-size: 12.5px; color: var(--ink-2); line-height: 1.8;
}
.lb-kubun[hidden] { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(30, 24, 15, .78);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s; /* 閉じる時: フェード後に非表示 */
}
.lightbox.is-open {
  opacity: 1; visibility: visible;
  transition: opacity .35s var(--ease), visibility 0s linear 0s; /* 開く時: 即可視（focus可能に） */
}
.lightbox-panel {
  position: relative;
  background: var(--cream); border-radius: var(--r-lg);
  max-width: 760px; width: 100%; max-height: 90vh; overflow: auto;
  display: grid; grid-template-columns: 1.05fr .95fr;
  transform: translateY(22px) scale(.985);
  transition: transform .4s var(--ease);
}
.lightbox.is-open .lightbox-panel { transform: none; }

.lightbox-img {
  position: relative; background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 34px 30px; min-height: 340px;
}
.lightbox-img img { max-width: 100%; max-height: 380px; width: auto; object-fit: contain; }

/* 前後ナビ（画像の左右） */
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .92);
  cursor: pointer; z-index: 2; color: var(--ink);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.lb-nav:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-nav::before {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor;
}
.lb-prev::before { transform: translateX(2px) rotate(-135deg); }
.lb-next::before { transform: translateX(-2px) rotate(45deg); }

.lightbox-info { padding: 40px 32px 28px; display: flex; flex-direction: column; justify-content: center; }
.lb-cat { font-size: 11.5px; font-weight: 700; color: var(--orange-deep); letter-spacing: .09em; }
.lightbox-info h3 { font-size: 21px; font-weight: 900; line-height: 1.55; margin-top: 9px; color: var(--ink); }
.lb-code { font-family: var(--font-en); font-size: 12px; font-weight: 500; color: var(--ink-3); letter-spacing: .08em; margin-top: 9px; }
.lb-line { height: 1px; background: var(--line); margin: 20px 0; }
/* ライトボックスのカラーバリエーション */
.lb-colorhead { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.lb-colorhead[hidden] { display: none; }
.lb-colorlabel { font-size: 12px; font-weight: 800; color: var(--ink-3); letter-spacing: .04em; }
.lb-colorname { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.lb-colors { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.lb-sw {
  width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; overflow: hidden; cursor: pointer; position: relative;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, box-shadow .2s;
}
.lb-sw img { width: 100%; height: 100%; object-fit: contain; }
.lb-sw-dot { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.lb-sw:hover { border-color: var(--ink-3); }
.lb-sw.is-active { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.lb-desc { font-size: 12.5px; line-height: 1.9; color: var(--ink-3); margin-top: 16px; }
/* microCMS「特徴」欄（担当者入力・空なら非表示） */
.lb-features { font-size: 13.5px; line-height: 1.9; color: var(--ink-2, #555); margin-top: 10px; }
/* products-data.js 読み込み失敗時の案内 */
.catalog-load-error { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--ink-3); }
/* 製品紹介 → WEBカタログの該当カテゴリへ（products.html） */
.cat-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: 13.5px; font-weight: 700; color: var(--orange-deep);
  text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px;
}
.cat-link:hover { color: var(--ink); border-color: var(--ink); }
.cat-link .arw { transition: transform .25s var(--ease); }
.cat-link:hover .arw { transform: translateX(3px); }
.pcard-body .cat-link { margin-top: 12px; }
.thumb-noimg, .lightbox-img.is-noimg::after {
  font-size: 12px; font-weight: 700; color: var(--ink-3); letter-spacing: .06em;
}
.lightbox-img.is-noimg { display: flex; align-items: center; justify-content: center; background: var(--bg-2, #f7f5f2); }
.lightbox-img.is-noimg::after { content: "画像準備中"; }
.lb-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.lb-actions .btn { width: 100%; justify-content: center; }
.lb-counter { font-family: var(--font-en); font-size: 12px; color: var(--ink-3); text-align: center; letter-spacing: .06em; margin-top: 18px; }

.lightbox-close {
  position: absolute; right: 14px; top: 14px; z-index: 4;
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, .92); cursor: pointer;
  transition: background .3s;
}
.lightbox-close:hover { background: var(--orange-pale); }
.lightbox-close::before, .lightbox-close::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 2px; background: var(--ink);
}
.lightbox-close::before { transform: rotate(45deg); }
.lightbox-close::after { transform: rotate(-45deg); }

/* ============================================================
   Catalog page-specific（body.page-catalog / #request にスコープ）
   ============================================================ */
/* 本体（先頭）セクションの下だけ軽く詰め、注記→請求フォームの心理的距離を縮める */
body.page-catalog > main > .section:first-of-type { padding-bottom: clamp(64px, 8vw, 100px); }
/* グリッド末尾→注記の縦間隔をビューポート連動に（HTML の inline margin 撤去分を担保） */
body.page-catalog .note-box { margin-top: clamp(40px, 3.5vw, 52px); }
/* 検索0件で .cat-empty が表示された時だけ、直後の注記の上余白を詰めて空状態の間延びを防ぐ */
.cat-empty[style*="block"] + .note-box { margin-top: 12px; }

/* 紙カタログ請求フォーム(#request)を2カラム化。園名+担当者名 / メール+電話 / 園児数+検討時期 が対になる。
   #request は catalog.html のみに存在するため contact.html の共通フォームには影響しない */
#request .form-box form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 22px; }
#request .form-box .form-row { margin-bottom: 0; }
#request .form-box .form-row.is-full { grid-column: 1 / -1; } /* 住所・要望textarea は全幅 */
#request .form-submit {
  grid-column: 1 / -1; margin-top: 4px;
  padding-top: 32px; border-top: 1px solid var(--line); /* 送信ブロック手前に薄い区切り */
}
#request .form-agree { margin-bottom: 20px; }
/* 必須/任意バッジ: inline span に inline-block を与えて上下 padding を効かせ、ラベル行の光学中心へ */
#request .req, #request .opt { display: inline-block; padding: 3.5px 10px; line-height: 1; letter-spacing: .04em; }
@media (max-width: 640px) {
  #request .form-box form { grid-template-columns: 1fr; }
}

/* ============================================================
   Page hero (sub pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 76px)) 0 clamp(44px, 6vw, 68px);
  overflow: hidden;
  background: var(--orange-mist);
  border-bottom: 1px solid var(--line);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-en {
  font-family: var(--font-en);
  font-size: clamp(12px, 1.5vw, 14px); font-weight: 600; letter-spacing: .32em;
  color: var(--orange-deep); text-transform: uppercase; margin-bottom: 10px;
  display: flex; align-items: center; gap: 14px;
}
.page-hero:not(.has-photo) .page-hero-en::after { content: ""; width: 46px; height: 1.5px; background: var(--orange); }
.page-title { font-size: clamp(28px, 4.2vw, 42px); font-weight: 900; line-height: 1.45; }
.page-lead { margin-top: 16px; color: var(--ink-2); max-width: 680px; font-size: 15px; }

/* Page hero with photo */
.page-hero.has-photo { background: none; padding: 0; border-bottom: none; }
.page-hero.has-photo .ph-media {
  position: relative; min-height: clamp(320px, 46vh, 470px);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.page-hero.has-photo .ph-media .ph-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 32%;
  transform: scale(1.04);
}
.page-hero.has-photo .ph-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(10deg, rgba(36,27,10,.62) 0%, rgba(36,27,10,.16) 52%, rgba(36,27,10,0) 75%);
}
.page-hero.has-photo .container {
  position: relative; z-index: 2; color: #fff;
  padding: calc(var(--header-h) + 50px) 0 clamp(34px, 5vw, 52px);
}
.page-hero.has-photo .page-hero-en { color: var(--orange-bright); }
.page-hero.has-photo .page-hero-en::after { content: ""; width: 46px; height: 1.5px; background: var(--orange-bright); }
.page-hero.has-photo .page-lead { color: rgba(255,255,255,.92); }
/* 写真ヒーロー直後の本文セクションは、面が連続する区間なので上パディングを詰めて遊離を防ぐ
   （下パディングは次セクションとの break として維持）。has-photo を持つ全ページに一貫適用 */
.page-hero.has-photo + .section { padding-top: clamp(44px, 5vw, 68px); }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  font-size: 12px; color: var(--ink-3);
  padding: 16px 0 0;
}
.page-hero.has-photo .breadcrumb { color: rgba(255,255,255,.75); }
.breadcrumb a { font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: .5; margin-inline: 3px; }

/* ============================================================
   Case cards
   ============================================================ */
.case-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.case-photo { aspect-ratio: 16 / 8.5; overflow: hidden; position: relative; }
.case-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.case-card:hover .case-photo img { transform: scale(1.04); }
.case-photo .badge {
  position: absolute; left: 14px; top: 14px;
  background: rgba(251,248,241,.95); border-radius: 4px; padding: 5px 14px;
  font-size: 11.5px; font-weight: 700; color: var(--orange-deep);
}
.case-body { padding: 26px 28px 30px; }
.case-body h3 { font-size: 17px; font-weight: 900; line-height: 1.65; margin-bottom: 14px; }
.case-block { margin-bottom: 13px; }
.case-label {
  display: inline-block; font-size: 11px; font-weight: 900; letter-spacing: .08em;
  padding: 2.5px 12px; border-radius: 4px; margin-bottom: 6px;
}
.case-label-before { background: #EDE7DB; color: var(--ink-2); }
.case-label-after { background: var(--orange); color: #fff; }
.case-block p { font-size: 13.3px; color: var(--ink-2); line-height: 1.9; }
.case-quote {
  margin-top: 16px; background: none;
  border-left: 2px solid var(--line);
  padding: 6px 0 6px 18px; font-size: 13.3px; position: relative; line-height: 1.9;
}
.case-quote .voice-name {
  display: block; margin-top: 6px;
  font-size: 12px; font-weight: 700; color: var(--orange-deep);
}

/* ============================================================
   Article
   ============================================================ */
.article {
  background: var(--paper); border-radius: 10px;
  border: 1px solid var(--line);
  padding: clamp(30px, 5vw, 58px);
}
.article-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.article-meta time { font-family: var(--font-en); font-size: 13px; font-weight: 500; color: var(--ink-3); }
.article h1 { font-size: clamp(22px, 3.2vw, 30px); font-weight: 900; line-height: 1.65; margin-bottom: 30px; }
.article h2 {
  font-size: 19.5px; font-weight: 900; margin: 46px 0 18px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line); line-height: 1.6;
}
.article h3 { font-size: 16.5px; font-weight: 900; margin: 30px 0 12px; color: var(--orange-deep); }
.article p { font-size: 14.8px; margin-bottom: 18px; color: var(--ink-2); }
.article ul { margin: 0 0 18px; }
.article ul li {
  position: relative; padding-left: 22px; margin-bottom: 9px; font-size: 14.3px; color: var(--ink-2);
}
.article ul li::before {
  content: ""; position: absolute; left: 3px; top: .72em;
  width: 8px; height: 8px; background: var(--orange);
}
.article-point {
  background: none;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 2px; margin: 26px 0;
}
.article-point h4 { font-size: 12.5px; font-weight: 900; color: var(--ink); letter-spacing: .12em; margin-bottom: 8px; }
.article-point p { font-size: 14px; margin-bottom: 0; }
.article-photo { border-radius: var(--r-md); margin: 26px 0; overflow: hidden; }

/* ============================================================
   Feature rows (reasons)
   ============================================================ */
.feature-row {
  display: grid; grid-template-columns: 88px 1fr auto;
  gap: clamp(18px, 3vw, 40px); align-items: center;
  padding: clamp(26px, 3vw, 38px) 4px;
  border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: none; }
.feature-num {
  font-family: var(--font-en);
  font-size: clamp(34px, 4vw, 46px); font-weight: 700; line-height: 1;
  color: var(--orange); text-align: center;
}
.feature-num small {
  display: block; font-size: 10px; letter-spacing: .24em;
  color: var(--ink-3); margin-bottom: 8px; font-weight: 600;
}
.feature-row h3 { font-size: clamp(17px, 2vw, 19px); font-weight: 900; margin-bottom: 8px; line-height: 1.6; }
.feature-row p { font-size: 14px; color: var(--ink-2); }
.feature-img {
  width: 190px; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--r-sm);
}

/* ============================================================
   Merit columns
   ============================================================ */
.merit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.merit-col { background: var(--paper); border-radius: 8px; border: 1px solid var(--line); overflow: hidden; }
.merit-col-head { padding: 16px 20px; text-align: center; font-weight: 900; font-size: 16px; color: var(--ink); border-bottom: 2px solid var(--orange); }
.merit-col-head.is-blue { border-bottom-color: var(--blue); }
.merit-col ul { padding: 20px 26px; }
.merit-col li {
  position: relative; padding: 11px 0 11px 26px; font-size: 14.3px; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.merit-col li:last-child { border-bottom: none; }
.merit-col li::before {
  content: "✓"; position: absolute; left: 2px; top: 11px;
  color: var(--orange-deep); font-size: 14px; font-weight: 900;
}
.merit-col.is-blue li::before { color: var(--blue); }

/* ============================================================
   News list
   ============================================================ */
.news-list { display: grid; background: var(--paper); border-radius: 8px; border: 1px solid var(--line); overflow: hidden; }
.news-item {
  display: flex; gap: 22px; align-items: baseline;
  padding: 23px 28px; border-bottom: 1px solid var(--line);
  transition: background .3s, padding-left .35s var(--ease);
}
.news-item:last-child { border-bottom: none; }
/* 記事が0件のとき。記事行と同じ余白にして、文字が枠に貼り付かないようにする */
.news-empty { padding: 23px 28px; color: var(--ink-3); font-weight: 700; }
a.news-item:hover { background: var(--orange-mist); padding-left: 36px; }
.news-date { flex-shrink: 0; font-family: var(--font-en); font-size: 13px; color: var(--ink-3); font-weight: 500; letter-spacing: .04em; }
.news-title { font-size: 14.5px; font-weight: 700; }
.news-item { color: var(--ink); text-decoration: none; }

/* お知らせ詳細ページ：ヒーローのメタ行（日付＋カテゴリ） */
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.news-meta time { font-family: var(--font-en); letter-spacing: .04em; }
.news-meta .hero-tag { font-weight: 700; color: var(--orange-deep); font-size: 12.5px; letter-spacing: .04em; }
.news-meta .hero-tag::before { content: ""; display: inline-block; width: 1px; height: 12px; background: var(--line); margin-right: 12px; vertical-align: -1px; }

/* お知らせ本文（microCMSリッチエディタ出力を整える） */
.news-body { font-size: 15.5px; line-height: 1.95; color: var(--ink-2); overflow-wrap: anywhere; }
.news-body > :first-child { margin-top: 0; }
.news-body h2 { font-size: 22px; font-weight: 900; color: var(--ink); line-height: 1.5; margin: 1.9em 0 .7em; }
.news-body h3 { font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.55; margin: 1.6em 0 .6em; }
.news-body p { margin: 1.1em 0; }
.news-body a { color: var(--orange-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.news-body a:hover { color: var(--orange); }
.news-body ul, .news-body ol { margin: 1.1em 0; padding-left: 1.5em; }
.news-body li { margin: .5em 0; }
.news-body img { max-width: 100%; height: auto; border-radius: var(--r-sm); margin: 1.6em 0; }
.news-body figure { margin: 1.6em 0; }
.news-body figure img { margin: 0; }
.news-body figcaption { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 8px; }
.news-body blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--line); color: var(--ink-3); }
.news-body strong, .news-body b { color: var(--ink); font-weight: 700; }
.news-body hr { border: none; border-top: 1px solid var(--line); margin: 2em 0; }
.news-back { margin-top: 44px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  position: relative; overflow: hidden;
  padding: clamp(70px, 10vw, 116px) 0;
  background: var(--brown);
}
.cta-band .cta-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%;
  opacity: .2; mix-blend-mode: luminosity;
}
.cta-band::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--orange);
}
.cta-band .container { position: relative; z-index: 1; text-align: center; }
.cta-lead { color: rgba(255,255,255,.72); font-size: 13.5px; font-weight: 700; letter-spacing: .16em; }
.cta-title {
  color: #fff; font-size: clamp(23px, 3.2vw, 34px); font-weight: 900;
  margin: 10px 0 38px; line-height: 1.6;
}
.cta-buttons {
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: 840px; margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px;
  overflow: hidden; box-shadow: 0 18px 44px rgba(0, 0, 0, .32);
}
.cta-card {
  position: relative; text-align: left;
  padding: 30px 32px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background .35s var(--ease);
}
.cta-card + .cta-card { border-left: 1px solid rgba(255, 255, 255, .18); }
.cta-catalog { background: var(--orange); color: #fff; }
.cta-catalog:hover { background: var(--orange-dark); }
.cta-contact { background: rgba(255, 255, 255, .035); }
.cta-contact:hover { background: rgba(255, 255, 255, .09); }
.cta-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; }
.cta-catalog .cta-tag { color: #fff; }
.cta-contact .cta-tag { color: var(--orange-bright); }
.cta-name { font-size: 22px; font-weight: 900; color: #fff; }
.cta-name::after {
  content: "→"; font-family: var(--font-en); font-weight: 700;
  margin-left: .45em; display: inline-block; transition: transform .35s var(--ease);
}
.cta-card:hover .cta-name::after { transform: translateX(5px); }
.cta-note { font-size: 12.5px; }
.cta-catalog .cta-note { color: #fff; }
.cta-contact .cta-note { color: rgba(255, 255, 255, .58); }

/* ============================================================
   Footer — 直線
   ============================================================ */
.site-footer {
  position: relative;
  background: var(--brown); color: #F2EADB;
  padding: clamp(60px, 8vw, 88px) 0 0;
  border-top: 4px solid var(--orange);
}
.footer-grid {
  display: grid; grid-template-columns: 1.1fr 1.5fr 1fr;
  gap: clamp(30px, 4vw, 60px); padding-bottom: 54px;
}
.footer-brand img.flogo { width: min(230px, 78%); margin-bottom: 16px; background: #fff; border-radius: var(--r-sm); padding: 14px 18px; box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.footer-note { font-size: 12.5px; color: #B8AC94; margin-top: 6px; line-height: 1.9; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; align-content: start; }
.footer-nav li { border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-nav a {
  display: block; padding: 12px 2px;
  font-size: 13px; color: #DDD2BC;
  transition: color .3s, padding-left .3s var(--ease);
}
.footer-nav a:hover { color: var(--orange-bright); padding-left: 8px; }
.footer-cta {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md);
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 12px;
  align-self: start;
}
.footer-cta-title { font-size: 14.5px; font-weight: 900; margin-bottom: 4px; }
.footer-cta .btn { width: 100%; }
.footer-hours { font-size: 11.5px; color: #B8AC94; text-align: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { font-size: 12.5px; color: #B8AC94; }
.footer-bottom a:hover { color: var(--orange-bright); }
.footer-bottom small { font-size: 12px; color: #B8AC94; font-family: var(--font-en); font-weight: 500; letter-spacing: .06em; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* フローティングお問い合わせ（キャラクター＋吊り看板） */
.float-contact {
  position: fixed; right: 16px; bottom: 92px; z-index: 140;
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.float-contact.is-visible { opacity: 1; visibility: visible; transform: none; }
.float-contact img {
  width: 76px;
  filter: drop-shadow(0 6px 14px rgba(90, 65, 15, .22));
  animation: bob 4.5s ease-in-out infinite;
  transition: transform .4s var(--ease);
}
.float-contact-board {
  position: relative; margin-top: 7px;
  background: var(--cream);
  border: 1.5px solid var(--ink); border-radius: 4px;
  padding: 7px 13px;
  font-size: 11.5px; font-weight: 900; line-height: 1.55; text-align: center;
  color: var(--ink); letter-spacing: .04em;
  box-shadow: 0 6px 16px rgba(90, 65, 15, .16);
  transition: background .3s, color .3s, border-color .3s;
}
.float-contact-board::before,
.float-contact-board::after {
  content: ""; position: absolute; top: -8px;
  width: 1.5px; height: 8px; background: var(--ink);
  transition: background .3s;
}
.float-contact-board::before { left: 24%; }
.float-contact-board::after { right: 24%; }
.float-contact:hover img { transform: scale(1.07) rotate(-4deg); }
.float-contact:hover .float-contact-board { background: var(--orange); border-color: var(--orange-dark); color: var(--ink); }
@media (max-width: 900px) {
  .float-contact { display: none; }
}

/* 商品が画面いっぱいに並ぶページ（カタログ・コーディネート）では、
   追従お問い合わせが商品カードを覆ってしまう。消さずに面積を小さくする：
   既定はキリンだけ（58px角）、看板はホバー／キーボードフォーカスで出す。
   覆う面積は 110×140 → 58×58 になり、カード1枚を隠さなくなる。
   （catalog-demo は body に page-catalog が付くのでまとめて効く） */
body.page-catalog .float-contact,
body.page-coordinate .float-contact { right: 12px; bottom: 150px; }
/* 看板が開いた時だけページ上部ボタンより前に出す（万一重なっても文字が欠けないように） */
body.page-catalog .float-contact:hover,
body.page-catalog .float-contact:focus-visible,
body.page-coordinate .float-contact:hover,
body.page-coordinate .float-contact:focus-visible { z-index: 150; }
body.page-catalog .float-contact img,
body.page-coordinate .float-contact img { width: 58px; }
body.page-catalog .float-contact-board,
body.page-coordinate .float-contact-board {
  position: absolute; top: calc(100% + 7px); right: 0;
  margin-top: 0; white-space: nowrap;
  opacity: 0; visibility: hidden; transform: translateY(-5px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
body.page-catalog .float-contact:hover .float-contact-board,
body.page-catalog .float-contact:focus-visible .float-contact-board,
body.page-coordinate .float-contact:hover .float-contact-board,
body.page-coordinate .float-contact:focus-visible .float-contact-board {
  opacity: 1; visibility: visible; transform: none;
}

/* Page top button */
.pagetop {
  position: fixed; right: 20px; bottom: 20px; z-index: 140;
  width: 48px; height: 48px; border-radius: 8px; border: none; cursor: pointer;
  background: var(--orange); color: #fff;
  box-shadow: 0 8px 20px rgba(243,152,0,.34);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, background .3s;
  display: flex; align-items: center; justify-content: center;
}
.pagetop.is-visible { opacity: 1; visibility: visible; transform: none; }
.pagetop:hover { background: var(--orange-dark); }
.pagetop::before {
  content: ""; width: 11px; height: 11px;
  border-top: 2.5px solid #fff; border-left: 2.5px solid #fff;
  transform: rotate(45deg) translate(2px, 2px);
}

/* ============================================================
   服育（fukuiku）Q&A
   ============================================================ */
.fk-statement {
  max-width: 760px; margin-inline: auto; text-align: center;
  font-size: clamp(14.5px, 1.5vw, 16.5px); font-weight: 700; line-height: 2.4;
}
.fk-qa { display: grid; gap: clamp(40px, 6vw, 72px); }
.fk-item { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.fk-item:nth-child(even) .fk-photo { order: 2; }
.fk-photo { border-radius: var(--r-lg); overflow: hidden; }
.fk-photo img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.fk-q {
  font-size: clamp(19px, 2.2vw, 24px); font-weight: 900; line-height: 1.7;
  color: var(--orange-deep); margin-bottom: 18px;
}
.fk-q::before { content: "Q."; font-family: var(--font-en); margin-right: 10px; font-weight: 700; }
.fk-bubble {
  position: relative; background: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 4px 18px 18px 18px;
  padding: 18px 22px; font-size: 14.5px; font-weight: 700; line-height: 1.95;
  margin-bottom: 18px;
}
.fk-bubble::before {
  content: "こたえの、ひとつ"; position: absolute; top: -11px; left: 14px;
  background: var(--ink); color: #fff; border-radius: 3px;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; padding: 2px 10px;
}
.fk-note {
  font-size: 13.5px; color: var(--ink-2); line-height: 2.05;
  padding-left: 18px; border-left: 2px solid var(--line);
}

/* ============================================================
   えんぷくラボ（メディア）
   ============================================================ */
.media-head { text-align: center; margin-bottom: clamp(30px, 4vw, 44px); }
.media-title { font-size: clamp(30px, 4.4vw, 46px); font-weight: 900; letter-spacing: .06em; }
.media-title .fuku-dot { color: var(--orange); }
.media-sub { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: .14em; }
.media-cats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-bottom: clamp(34px, 5vw, 50px);
}
.media-cats .chip { pointer-events: none; }
.media-cats .chip.is-active { pointer-events: auto; }
.featured {
  display: grid; grid-template-columns: 1.15fr .85fr;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden;
  transition: border-color .3s;
  margin-bottom: clamp(34px, 5vw, 54px);
}
a.featured:hover { border-color: var(--orange); }
.featured-img { position: relative; overflow: hidden; min-height: 280px; }
.featured-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
a.featured:hover .featured-img img { transform: scale(1.04); }
.featured-body { padding: clamp(26px, 3.5vw, 46px); display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.featured-label {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: var(--orange); color: #fff; border-radius: 4px;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; padding: 4px 12px;
}
.featured-body h2 { font-size: clamp(19px, 2.3vw, 26px); font-weight: 900; line-height: 1.65; }
.featured-body p { font-size: 14px; color: var(--ink-2); }

/* 記事ページ：目次・執筆者・関連記事 */
.toc {
  background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 22px 26px; margin: 28px 0 34px;
}
.toc-title {
  font-size: 13px; font-weight: 900; letter-spacing: .16em;
  color: var(--orange-deep); margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.toc-title::before { content: ""; width: 18px; height: 2px; background: var(--orange); }
.toc ol { counter-reset: toc; }
.toc li { counter-increment: toc; border-bottom: 1px dashed var(--line); }
.toc li:last-child { border-bottom: none; }
.toc a {
  display: flex; gap: 12px; align-items: baseline;
  padding: 9px 4px; font-size: 14px; font-weight: 700;
  transition: color .3s, padding-left .3s var(--ease);
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-en); font-size: 12px; font-weight: 700; color: var(--orange);
}
.toc a:hover { color: var(--orange-deep); padding-left: 10px; }
.author-box {
  display: flex; gap: 18px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 24px; margin-top: 34px;
}
.author-box img { width: 64px; height: 64px; border-radius: var(--r-sm); background: var(--orange-pale); padding: 6px; flex-shrink: 0; }
.author-box .a-label { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; color: var(--ink-3); }
.author-box .a-name { font-size: 15px; font-weight: 900; margin: 1px 0 4px; }
.author-box p { font-size: 12.5px; color: var(--ink-2); line-height: 1.85; }
.article-cta {
  background: none;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 24px 2px; margin: 34px 0;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.article-cta p { font-size: 14px; font-weight: 700; margin: 0; color: var(--ink); }
.article-cta small { display: block; font-weight: 500; color: var(--ink-2); margin-top: 3px; font-size: 12px; }

/* フッターTEL */
.footer-tel {
  text-align: center; font-family: var(--font-en);
  font-size: 20px; font-weight: 700; letter-spacing: .04em;
  margin-top: 4px;
}
.footer-tel a { color: #fff; }
.footer-tel a:hover { color: var(--orange-bright); }
.footer-tel small { display: block; font-family: var(--font-jp); font-size: 10.5px; font-weight: 700; color: #B8AC94; letter-spacing: .12em; margin-bottom: 2px; }

/* 連絡先ボックス（お問い合わせ/会社概要） */
.tel-box {
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  padding: 26px 28px; text-align: center;
}
.tel-box .t-label { font-size: 12.5px; font-weight: 900; color: var(--orange-deep); letter-spacing: .1em; }
.tel-box .t-number { font-family: var(--font-en); font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; margin: 4px 0 2px; }
.tel-box .t-number a { color: var(--ink); }
.tel-box .t-number a:hover { color: var(--orange-deep); }
.tel-box .t-note { font-size: 12px; color: var(--ink-2); line-height: 1.9; }

/* ============================================================
   Responsive
   ============================================================ */
.support-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.support-links .btn { padding: 12px 18px; font-size: 13px; }
.news-body a.btn { text-decoration: none; }
.news-body a.btn-fill { color: #fff; }
.note-box a { color: var(--orange-deep); text-decoration: underline; text-underline-offset: 3px; }
.news-archive-label { display: inline-block; margin-right: 10px; font-size: 11px; color: var(--ink-3); }
@media (max-width: 1200px) {
  .gnav-desktop a { font-size: 12.5px; padding: 10px 9px; }
}
@media (max-width: 1240px) {
  .gnav-desktop { display: none; }
  .header-cta { margin-left: auto; }
  .product-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  body { font-size: 14.5px; }
  .brand img { height: 38px; }
  .menu-btn { width: 46px; height: 46px; }
  .header-cta { display: none; }
  body:has(.mobile-cta) { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .mobile-cta { display: flex; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .nav-overlay-inner { padding-bottom: 120px; }
  .nav-menu { grid-template-columns: 1fr; column-gap: 0; margin-bottom: 30px; }
  .nav-link { padding: 12px 4px; }
  .nav-overlay-cta { grid-template-columns: 1fr; }

  .menu-btn { margin-left: auto; }
  .hero-slide { background-position: 66% 26%; }
  .hero-slides::after {
    background:
      linear-gradient(to top, rgba(251,248,241,.88), rgba(251,248,241,.3) 42%, rgba(251,248,241,0) 62%);
  }
  .hero-vertical { display: none; }
  .hero-inner {
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 0 20px 26px;
  }
  .hero-title { font-size: clamp(23px, 6.4vw, 30px); }
  .hero-kicker { font-size: 11px; margin-bottom: 14px; }
  .hero-lead { max-width: none; font-size: 13px; }
  .hero-actions { margin-top: 18px; gap: 9px; flex-wrap: nowrap; }
  .hero-actions .btn-lg { flex: 0 1 auto; padding: 13px 13px; font-size: 12.5px; letter-spacing: .03em; white-space: nowrap; }
  .hero-ui { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
  .hero-count b { font-size: 20px; }
  .hero-dot { width: 38px; }
  .hero-scroll { display: none; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.is-flip .split-media { order: 0; }
  .split-media .sub-img { right: 4%; bottom: -10%; }
  .split.is-flip .split-media .sub-img { left: 4%; }
  .split-body { margin-top: 26px; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 18px 16px; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line); }
  .merit-cols { grid-template-columns: 1fr; }
  .cta-buttons { grid-template-columns: 1fr; }
  .cta-card + .cta-card { border-left: none; border-top: 1px solid rgba(255, 255, 255, .18); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .feature-row { grid-template-columns: 1fr; text-align: left; gap: 14px; }
  .feature-num { text-align: left; }
  .feature-img { width: 100%; }
  .info-table th { width: 120px; padding: 15px 14px; font-size: 13px; }
  .info-table td { padding: 15px 14px; font-size: 13.5px; }
  .step { padding: 20px 2px; gap: 16px; }
  .step-num b { font-size: 26px; }
  .lightbox-panel { grid-template-columns: 1fr; max-height: 86vh; }
  .lightbox-img { min-height: 240px; padding: 26px 24px; }
  .lightbox-info { padding: 26px 22px 24px; }
  .lb-nav { width: 36px; height: 36px; }
  .pagetop { bottom: 84px; }
  .section { padding: 62px 0; }
  .fk-item { grid-template-columns: 1fr; gap: 18px; }
  .fk-item:nth-child(even) .fk-photo { order: 0; }
  .featured { grid-template-columns: 1fr; }
  .featured-img { min-height: 0; height: 210px; }
  .author-box { flex-direction: row; padding: 18px; }
}
/* 列数を落とすとカードが再び広くなるので、文字と余白を元の見やすさへ戻す */
@media (max-width: 680px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-body { padding: 12px 13px 13px; }
  .product-cat { font-size: 10.5px; }
  .product-name { font-size: 13.5px; margin-top: 6px; }
  .product-code, .pc-count { font-size: 11px; }
  .product-arw { width: 25px; height: 25px; font-size: 13px; }
}
@media (max-width: 520px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-body { padding: 11px 12px 12px; }
  .product-name { font-size: 13px; }
  .product-foot { padding-top: 10px; }
  .product-arw { width: 24px; height: 24px; font-size: 13px; }
  .news-item { flex-direction: column; gap: 4px; padding: 18px 20px; }
  .news-empty { padding: 18px 20px; }
  .cat-filter { gap: 2px 2px; }
  .cat-count { margin-left: 0; } /* 折返し時は件数を左揃えに戻す */
}
@media (max-width: 400px) {
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .btn-lg { flex: 1 1 100%; justify-content: center; }
}
/* 高さの低いデスクトップ幅（横向きスマホ等）では縦書きを退避 */
@media (min-width: 901px) and (max-height: 520px) {
  .hero-vertical { display: none; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .rv, .rv-l, .rv-r, .rv-zoom, .hero-lead, .hero-actions, .hero-ui { opacity: 1 !important; transform: none !important; }
  .hero-title .line > span { transform: none !important; }
  .img-reveal::after { display: none; }
  .img-reveal img { transform: none !important; }
}


/* ============================================================
   商品ページ（product-<品番>.html）
   カタログはモーダルだけで商品ごとのURLが無く、品番で検索されても
   たどり着けなかった。1商品1ページにして、Product構造化データも出す。
   ============================================================ */
.page-prod { padding-block: calc(var(--header-h) + clamp(24px, 3vw, 40px)) clamp(26px, 4vw, 40px); }
.prod-code { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.prod-code b { font-family: Consolas, "Courier New", monospace; font-size: 15px; color: var(--ink); letter-spacing: .04em; }
.prod-kubun {
  display: inline-block; margin-left: 10px; padding: 2px 9px; border-radius: 4px;
  background: var(--orange-mist); color: var(--orange-deep);
  font-size: 11.5px; font-weight: 700;
}
.prod-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .prod-wrap { grid-template-columns: 1fr; } }

.prod-gallery { position: sticky; top: 88px; }
@media (max-width: 860px) { .prod-gallery { position: static; } }
.prod-main {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
}

.prod-cat { font-size: 12.5px; font-weight: 700; color: var(--orange-deep); letter-spacing: .04em; }
.prod-label { font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.prod-colors { margin-top: 20px; }
.prod-colornow { font-size: 14.5px; color: var(--ink); margin-left: 6px; }
.prod-colorcount { font-size: 12px; color: var(--ink-3); font-weight: 400; margin-left: 8px; }
/* 色は見せるだけでなく写真の切り替え。押すと上の写真が変わる */
.prod-swatches { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.prod-swatches .ps {
  display: flex; align-items: center; gap: 7px;
  padding: 4px 12px 4px 5px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--paper);
  font: inherit; font-size: 12.5px; color: var(--ink-2);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.prod-swatches .ps img {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
  background: var(--cream); flex-shrink: 0;
}
.prod-swatches .ps:hover { border-color: var(--orange); color: var(--ink); }
.prod-swatches .ps.is-on {
  border-color: var(--orange); color: var(--ink); font-weight: 700;
  box-shadow: 0 0 0 2px rgba(243, 152, 0, .16);
}
.prod-swatches .ps:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.prod-spec { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.prod-spec > div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 10px; margin-bottom: 12px; }
.prod-spec dt { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.prod-spec dd { margin: 0; font-size: 13.5px; line-height: 1.85; }
.prod-spec dd ul { list-style: none; padding: 0; margin: 0; }
.prod-spec dd li { position: relative; padding-left: 15px; }
.prod-spec dd li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.prod-features { margin-top: 16px; font-size: 13.5px; line-height: 1.9; color: var(--ink-2); }
.prod-desc { margin-top: 20px; font-size: 13px; line-height: 1.9; color: var(--ink-3); }
.prod-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.prod-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
.pr-item {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; padding-bottom: 10px; transition: border-color .3s var(--ease);
}
.pr-item:hover { border-color: var(--orange); }
.pr-item img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--paper); display: block; }
.pr-name { display: block; padding: 8px 10px 0; font-size: 12.5px; font-weight: 700; line-height: 1.5; }
.pr-code { display: block; padding: 3px 10px 0; font-family: Consolas, "Courier New", monospace; font-size: 11px; color: var(--ink-3); }

/* 狭い画面では札が6行になり、商品が画面の外まで下がる。少しだけ詰める。
   指で押せる大きさは保つ（高さ32px・左右の余白11px）。 */
@media (max-width: 640px) {
  .cat-filter { gap: 6px; margin-bottom: 26px; }
  .chip { padding: 6px 11px; font-size: 12.5px; gap: 5px; }
}
