@import url("https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@600&display=swap");   /* 左上の「96s」（ショップカードと同じ書体。2026-10-22 決定） */
/* =========================================================
   96s（クローズ） — 家具店サイト（モバイルファースト）
   ========================================================= */

/* ---------- デザイントークン ---------- */
:root {
  /* ベース */
  --paper:    #faf3e6;   /* 生成り */
  --paper-2:  #f3e7d2;   /* 少し濃い生成り */
  --sun-soft: #fbe6a6;   /* 店舗情報の背景 */
  --ink:      #2b2622;   /* 焦げ茶（文字・輪郭線） */
  --ink-soft: #6a6058;
  --line:     rgba(43, 38, 34, .18);

  /* カラーパレット：くすみ色 + 少し派手なアクセント */
  --coral:      #d9652f;   /* 柿（2026-10-22 ロゴに合わせた。前は #f0714f） */
  --sun:        #e3a21f;   /* からし（2026-10-22 ロゴに合わせた。前は #f6b91f） */
  --sage:       #86a48a;
  --cobalt:     #4066c9;
  --pink:       #f08fa8;
  --plum:       #7a4b78;
  --teal:       #23766f;
  --lilac:      #a992d8;
  --terracotta: #c9765a;
  --sand:       #cdb591;

  /* トップの図形用パステル */
  --p-lavender: #d8cdf0;
  --p-mint:     #cde6d6;
  --p-peach:    #f7d3c2;
  --p-butter:   #f6e8b4;
  --p-sky:      #cfe0ee;
  --p-blush:    #f3cad6;

  /* タイポグラフィ */
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans:  "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  /* レイアウト */
  --gutter: 20px;
  --max-w: 1080px;
  --header-h: 60px;
  --radius: 18px;
  --stroke: 1.5px solid var(--ink);   /* 輪郭線 */
  --pop: 5px 5px 0;                   /* ずらし影 */
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .04em;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
ul, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.site-footer :focus-visible { outline-color: var(--sun); }   /* 濃い背景でも枠が見えるように */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- 共通パーツ ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: 72px; position: relative; }
.nowrap { white-space: nowrap; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent, var(--coral));
  border: var(--stroke);
}
.section__head { margin-bottom: 32px; }
.section__title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 25px;
  line-height: 1.6;
  word-break: auto-phrase;   /* 言葉の切れ目で折り返し、最後の1文字だけが次の行に落ちないように（幅320pxの「ご相／談」など） */
  text-wrap: balance;
}

.button {
  display: inline-block;
  padding: 13px 34px;
  border: var(--stroke);
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .12em;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); background: var(--coral); }

/* ---------- ヘッダー / ナビ ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-h);
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 243, 230, .94);
  backdrop-filter: blur(8px);
  border-bottom: var(--stroke);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo__text { font-family: var(--font-serif); font-weight: 800; font-size: 24px; letter-spacing: .08em; }
/* 2026-10-22：ロゴと同じ書体・同じ色（9＝柿、6＝からし、s＝墨）に、ロゴと同じ右下への厚み。この書体は大文字だけなので s は「S」で出る */
.site-header .logo__text { font-family: "Zilla Slab", var(--font-serif); font-weight: 600; font-size: 27px; letter-spacing: .01em; line-height: 1; color: #33261e; }
.logo__mark {   /* 96s のロゴ（周りの文字の帯を外した、小さいとき用。2026-10-22） */
  width: 32px; height: 32px; border-radius: 50%;
  background: url("images/logo-96-mark.png") center / contain no-repeat;
}

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-button {
  width: 44px; height: 44px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  cursor: pointer;
}
.nav-button span {
  width: 22px; height: 2px; background: var(--ink);
  transition: transform .25s, opacity .25s;
}
.nav-toggle:checked + .nav-button span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle:checked + .nav-button span:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .nav-button span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-toggle:focus-visible + .nav-button { outline: 3px solid var(--cobalt); border-radius: 8px; }

.site-nav {
  position: absolute;
  top: var(--header-h); left: 0; right: 0;
  background: var(--paper);
  border-bottom: var(--stroke);
  display: none;
}
.nav-toggle:checked ~ .site-nav { display: block; }
.site-nav a {
  display: block;
  padding: 16px var(--gutter);
  border-top: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .15em;
}

/* ---------- トップ画像 ---------- */
.hero {
  position: relative;
  padding: 40px var(--gutter) 64px;
  background: var(--paper-2);
  overflow: hidden;
}
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  margin: 0 auto 36px;
}
/* 写真を使う場合: 家具のイラスト(<svg>)を <img> に置き換え、.hero__visual img { width:100%; height:100%; object-fit:cover; border-radius:24px; border:var(--stroke); } */

/* 四隅の家具イラスト（インラインSVG）。色は --p- のパステル */
.furniture { display: block; width: 100%; height: 100%; overflow: visible; }
.furniture * {
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.furniture .c-lav    { fill: var(--p-lavender); }
.furniture .c-mint   { fill: var(--p-mint); }
.furniture .c-peach  { fill: var(--p-peach); }
.furniture .c-butter { fill: var(--p-butter); }
.furniture .c-sky    { fill: var(--p-sky); }
.furniture .c-blush  { fill: var(--p-blush); }
.furniture .c-ink    { fill: var(--ink); }

.star {
  position: absolute; top: 3%; left: 50%;
  width: 8%; aspect-ratio: 1;
  margin-left: -4%;
  background: #b9a7e3;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle { 50% { transform: scale(1.3) rotate(20deg); } }

/* 中央で回る円盤 */
.sticker {
  position: absolute; inset: 0;
  margin: auto;
  width: 29%; aspect-ratio: 1;
  animation: spin 22s linear infinite;
}
.sticker svg { width: 100%; height: 100%; overflow: visible; }
/* ロゴ版：96 が回ってしまわないように止め、少し大きく */
.sticker--logo { width: 38%; animation: none; filter: drop-shadow(2px 3px 0 rgba(43, 38, 34, .18)); }
.sticker--logo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.sticker--logo .sticker__ring { animation: spin 30s linear infinite; }   /* 周りの文字の帯だけが回る（96 は止まったまま） */
@media (prefers-reduced-motion: reduce) { .sticker--logo .sticker__ring { animation: none; } }
.sticker__bg   { fill: var(--pink); stroke: var(--ink); stroke-width: 1.2; }
.sticker__core { fill: var(--sun);  stroke: var(--ink); stroke-width: 1.2; }
.sticker__text { font: 700 9.5px var(--font-sans); fill: var(--ink); }
.sticker__logo { font: 800 15px var(--font-serif); fill: var(--ink); stroke: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__body { text-align: center; }
.hero__body .eyebrow { justify-content: center; }
.hero__title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 37px;
  line-height: 1.5;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.mark {
  padding-inline: .1em;
  background: linear-gradient(transparent 60%, var(--sun) 60% 92%, transparent 92%);
}
.hero__lead { color: var(--ink-soft); margin-bottom: 28px; }

/* ---------- 流れる帯 ---------- */
.marquee-wrap { overflow: hidden; padding: max(14px, 1.9vw) 0; background: var(--paper-2); }  /* 傾いた帯の端が切れない余白 */
.marquee {
  width: 110%;
  margin-left: -5%;
  padding: 10px 0;
  background: var(--ink);
  color: var(--paper);
  transform: rotate(-1.6deg);
  overflow: hidden;
}
.marquee__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 22px; padding-right: 22px; flex-shrink: 0; }
.marquee__group span { font-family: var(--font-serif); font-weight: 800; font-size: 20px; letter-spacing: .2em; }
.marquee__group i { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
/* 色の名前（CORAL・SUN…）のあとの丸は、その色にする */
.marquee__group i:nth-of-type(1) { background: var(--coral); }
.marquee__group i:nth-of-type(2) { background: var(--sun); }
.marquee__group i:nth-of-type(3) { background: var(--sage); }
.marquee__group i:nth-of-type(4) { background: var(--teal); }
.marquee__group i:nth-of-type(5) { background: var(--cobalt); }
.marquee__group i:nth-of-type(6) { background: var(--lilac); }
.marquee__group i:nth-of-type(7) { background: var(--pink); }
.marquee__group i:nth-of-type(8) { background: var(--plum); }
.marquee__group i:nth-of-type(9) { background: var(--sun); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- コンセプト ---------- */
.concept { --accent: var(--coral); background: var(--paper); overflow: hidden; }
.concept::before {                   /* 背景の飾り */
  content: "";
  position: absolute; top: 24px; right: -70px;
  width: 190px; height: 190px; border-radius: 50%;
  background: var(--lilac); opacity: .35;
}
.concept .container { position: relative; }
.concept__text { max-width: 36em; margin-bottom: 36px; color: var(--ink-soft); text-wrap: pretty; word-break: auto-phrase; }
.concept__list { display: grid; gap: 22px; }
.point {
  position: relative;
  padding: 22px 22px 22px 84px;
  background: #fff;
  border: var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--pop) var(--c, var(--sun));
  transition: transform .2s;
}
.point:nth-child(odd)  { transform: rotate(-.7deg); }
.point:nth-child(even) { transform: rotate(.7deg); }
.point:hover { transform: rotate(0) translateY(-3px); }
.point__num {
  position: absolute; top: 22px; left: 20px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: var(--stroke);
  border-radius: 50%;
  background: var(--c, var(--sun));
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 16px;
}
.point__title { font-family: var(--font-serif); font-weight: 800; font-size: 19px; margin-bottom: 2px; }
.point p:last-child { font-size: 14px; color: var(--ink-soft); line-height: 1.8; text-wrap: pretty; word-break: auto-phrase; }
.point--sun   { --c: var(--sun); }
.point--coral { --c: var(--coral); }
.point--blue  { --c: var(--cobalt); }
.point--blue .point__num { color: #fff; }   /* 濃い青の上は白い文字 */

/* ---------- 商品一覧 ---------- */
.products { --accent: var(--cobalt); background: var(--paper-2); border-block: var(--stroke); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));   /* minmax(0, …)：長い商品名でも、列が画面の外へ広がらないように */
  gap: 30px 16px;
}
.product:nth-child(even) { margin-top: 22px; }   /* 段違いに並べて動きを出す */
.product__link { display: block; }
.product__media { position: relative; margin-bottom: 12px; }
.product__image {
  aspect-ratio: 4 / 5;
  border: var(--stroke);
  border-radius: 999px 999px var(--radius) var(--radius);   /* アーチ */
  background: var(--c, var(--sage));
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .25s;
}
/* 形を順番に変える */
.product:nth-child(4n + 2) .product__image { border-radius: 50%; }                                  /* たまご */
.product:nth-child(4n + 3) .product__image { border-radius: 90px var(--radius) 90px var(--radius); } /* はっぱ */
.product:nth-child(4n)     .product__image { border-radius: var(--radius) var(--radius) 999px 999px; } /* さかさアーチ */
.product__image img { width: 100%; height: 100%; object-fit: cover; }
a.product__link:hover .product__image,
div.product__link:hover .product__image { transform: rotate(-2deg) scale(1.02); }

.product__tag {
  position: absolute; top: 6px; right: -4px;
  padding: 2px 12px;
  border: var(--stroke);
  border-radius: 999px;
  background: var(--sun);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.7;
  transform: rotate(8deg);
}
/* カテゴリーの札（色は main.js が --cat で渡す） */
.product__cat {
  display: inline-block;
  margin-bottom: 4px;
  padding: 0 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--cat, transparent);
  color: var(--cat-ink, var(--ink-soft));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.8;
}
.product__cat.is-plain { padding: 0; border-color: transparent; font-size: 10px; letter-spacing: .25em; text-transform: uppercase; }

/* カテゴリー絞り込みボタン */
.category-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.category-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 18px;
  border: var(--stroke);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 700 13px/1.7 var(--font-sans);
  letter-spacing: .08em;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.category-tab::before {              /* 選んでいないときも色が見える丸 */
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--cat, var(--paper-2));
}
.category-tab:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.category-tab[aria-pressed="true"] {  /* 選択中：色で塗って、押し込んだ見た目に */
  background: var(--cat, var(--ink));
  color: var(--cat-ink, var(--paper));
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--ink);
}
.category-tab[aria-pressed="true"]::before { background: #fff; }
.product-empty { grid-column: 1 / -1; padding: 24px 0; color: var(--ink-soft); }
/* 売れた家具の前の見出し（一覧の最後に、これまでの仕事としてまとめる） */
.product-grid__divider { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 22px; border-top: var(--stroke); list-style: none; }
.product-grid__divider-title { margin: 0 0 4px; font-family: var(--font-serif); font-weight: 800; font-size: 18px; }
.product-grid__divider-text { margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 1.8; word-break: auto-phrase; }
.product__name { font-family: var(--font-serif); font-weight: 800; font-size: 15px; line-height: 1.6; }
.product__prices { margin-top: 2px; }
.product__price { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
.product__price--online { color: var(--ink); }
.product__price--online b { font-size: 16px; }

/* カートに入れるボタン（色はカテゴリーに合わせる） */
.product__buy { margin-top: 10px; }
.buy-button {
  width: 100%;
  padding: 8px 12px;
  border: var(--stroke);
  border-radius: 999px;
  background: var(--cat, var(--sun));
  color: var(--cat-ink, var(--ink));
  font: 700 13px/1.6 var(--font-sans);
  letter-spacing: .08em;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.buy-button:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.buy-button.is-added { background: #fff; color: var(--ink); }
.buy-button.is-sold, .buy-button:disabled { background: #ddd5c8; color: #4a413a; box-shadow: none; cursor: not-allowed; transform: none; }
.product__storeonly { font-size: 12px; font-weight: 700; color: var(--ink-soft); letter-spacing: .08em; }
.product__storeonly-note { margin: 6px 0 0; font-size: 12px; color: var(--ink-soft); line-height: 1.8; word-break: auto-phrase; }
.product__tag.is-sold { background: #c42f28; color: #fff; }   /* 売れた札は赤地に白字で目立たせる（白字との差 5:1 以上） */
.product__image.is-sold { filter: none; }   /* 売れた家具も元の色のまま見せる（「SOLD OUT」の札で伝える） */
.product__price b { font-weight: 500; }

/* 税込・送料無料の案内（商品一覧の上に1か所だけ） */
.price-note {
  margin: -8px 0 26px;
  padding: 10px 14px;
  border: 1px dashed var(--ink);
  border-radius: 12px;
  background: var(--sun-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: .06em;
}

/* ---------- 商品詳細ページ ---------- */
.backlink { margin-bottom: 22px; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.backlink a { border-bottom: 2px solid var(--coral); }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }   /* minmax(0, …)：幅320pxのスマホでも、長い商品名や写真の並びで画面の外へ広がらないように */
.product-missing { margin-bottom: 20px; color: var(--ink-soft); }
.product-missing + .button { justify-self: start; }
.product-info__tax { margin: 0 0 6px; font-size: 12px; color: var(--ink-soft); }

.gallery__main {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 480px;
  margin-inline: auto;
  border: var(--stroke);
  border-radius: 24px;
  background: var(--c, var(--sage));
  overflow: hidden;
  box-shadow: var(--pop) var(--ink);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main.is-sold img { filter: none; }
.gallery__main .product__tag { top: 14px; right: 14px; z-index: 2; }
.gallery__arrow {
  position: absolute; top: 50%; z-index: 2;
  width: 44px; height: 44px; margin-top: -22px; padding: 0 0 3px;
  display: grid; place-items: center;
  border: var(--stroke);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  font: 400 26px/1 var(--font-sans);
  cursor: pointer;
}
.gallery__arrow--prev { left: 12px; }
.gallery__arrow--next { right: 12px; }
.gallery__caption { max-width: 480px; margin: 16px auto 0; font-size: 12px; letter-spacing: .12em; color: var(--ink-soft); }
.gallery__thumbs {
  max-width: 480px;
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 88px));
  gap: 12px;
}
@media (max-width: 359px) {
  .gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }   /* 幅320pxのスマホでも3枚が1列に並ぶように（88px上限だと2枚＋1枚に割れる） */
}
.gallery__thumb {
  aspect-ratio: 1;
  padding: 0;
  border: var(--stroke);
  border-radius: 14px;
  background: var(--paper-2);
  overflow: hidden;
  cursor: pointer;
  opacity: .75;   /* 選んでいない写真も、うすく見えすぎない濃さに（以前は .55 で、色があせて荒く見えていた） */
  transition: opacity .2s, box-shadow .2s;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: .85; }
.gallery__thumb[aria-current="true"] { opacity: 1; box-shadow: 3px 3px 0 var(--cat, var(--ink)); }

.product-info__name { margin: 6px 0 10px; font-family: var(--font-serif); font-weight: 800; font-size: clamp(20px, 6.4vw, 26px); line-height: 1.5; }   /* スマホでは幅に合わせて少し小さく：「3WOODカッティングボード」が言葉の途中で切れないように */
.product-info .product__prices { margin: 8px 0 4px; }
.product-info .product__price { font-size: 14px; }
.product-info .product__price--online b { font-size: 26px; }
.product-info .product__buy { margin: 18px 0 28px; }
.product-info .buy-button { padding: 13px 20px; font-size: 15px; }
.product__ask { display: inline-block; margin-top: 14px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.product-info__desc { margin-bottom: 30px; line-height: 2; white-space: pre-line; }
.product-info__subtitle { margin-bottom: 8px; font-family: var(--font-serif); font-weight: 800; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }
.spec-list > div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(43, 38, 34, .25);
  font-size: 14px;
}
.spec-list > div:first-child { border-top: var(--stroke); }
.spec-list dt { font-weight: 700; color: var(--plum); }
.spec-list dd { word-break: auto-phrase; line-break: strict; }   /* 「チェリ／ー」のように、言葉の途中や長音で折り返さないように */
.product-info__notes { margin-top: 22px; padding-left: 1.2em; list-style: disc; font-size: 12px; line-height: 1.9; color: var(--ink-soft); }
.noscript { padding: 16px 0; }

/* 色の名前（products.js の color に対応） */
.swatch--coral      { --c: var(--coral); }
.swatch--sun        { --c: var(--sun); }
.swatch--sage       { --c: var(--sage); }
.swatch--cobalt     { --c: var(--cobalt); }
.swatch--pink       { --c: var(--pink); }
.swatch--plum       { --c: var(--plum); }
.swatch--teal       { --c: var(--teal); }
.swatch--lilac      { --c: var(--lilac); }
.swatch--terracotta { --c: var(--terracotta); }
.swatch--sand       { --c: var(--sand); }

/* ---------- 店舗情報 ---------- */
.store { --accent: var(--teal); background: var(--sun-soft); }
.store__layout { display: grid; gap: 30px; }
.store__map {
  aspect-ratio: 4 / 3;
  border: var(--stroke);
  border-radius: var(--radius);
  background: var(--cobalt);
  box-shadow: var(--pop) var(--ink);
  color: rgba(255, 255, 255, .85);
  display: grid;
  place-items: center;
  font-size: 12px;
  letter-spacing: .4em;
  overflow: hidden;
}
.store__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.maplink {
  display: inline-block;
  margin-top: 6px;
  padding: 12px 0 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  border-bottom: 2px solid var(--coral);
}
.maplink:hover { color: var(--plum); }   /* 背景の黄色に対して、コントラストを確保する */
.store__info > div {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(43, 38, 34, .3);
  font-size: 14px;
}
.store__info > div:first-child { border-top: var(--stroke); }
.store__info dt { font-weight: 700; color: var(--plum); }
.store__info a { display: inline-block; padding: 10px 0 2px; border-bottom: 2px solid var(--coral); font-weight: 700; }

/* ---------- フッター ---------- */
.site-footer {
  padding: 0 var(--gutter) 32px;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.site-footer__stripe { display: flex; height: 10px; margin: 0 calc(var(--gutter) * -1) 36px; }
.site-footer__stripe span { flex: 1; }
.site-footer__stripe span:nth-child(1) { background: var(--coral); }
.site-footer__stripe span:nth-child(2) { background: var(--sun); }
.site-footer__stripe span:nth-child(3) { background: var(--sage); }
.site-footer__stripe span:nth-child(4) { background: var(--teal); }
.site-footer__stripe span:nth-child(5) { background: var(--cobalt); }
.site-footer__stripe span:nth-child(6) { background: var(--lilac); }
.site-footer__stripe span:nth-child(7) { background: var(--pink); }
.site-footer__stripe span:nth-child(8) { background: var(--plum); }
.site-footer__logo { font-family: var(--font-serif); font-weight: 800; font-size: 26px; letter-spacing: .12em; margin-bottom: 8px; }
.site-footer__copy { font-size: 11px; opacity: .6; }
.site-footer__links { margin-bottom: 10px; font-size: 12px; }
.site-footer__links a { display: inline-block; padding: 12px 6px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(250, 243, 230, .5); }

/* ---------- ヘッダーのカート ---------- */
[hidden] { display: none !important; }
.cart-link {
  position: relative;
  min-width: 48px; height: 46px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  margin-left: auto;
  margin-right: 4px;
}
.cart-link svg {
  width: 22px; height: 22px;
  fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round;
}
.cart-link__label { font-size: 10px; font-weight: 700; letter-spacing: .04em; line-height: 1.2; }
.cart-count {
  position: absolute; top: 0; right: 5px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  border: var(--stroke);
  border-radius: 999px;
  background: var(--coral);
  font: 700 11px/16px var(--font-sans);
  text-align: center;
}

/* カートから商品が外れたときの知らせ */
.cart-toast-region { position: fixed; left: 0; right: 0; bottom: 24px; z-index: 30; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-inline: 16px; pointer-events: none; }
.cart-toast {
  max-width: calc(100vw - 32px);
  margin: 0;
  padding: 12px 18px;
  border: var(--stroke);
  border-radius: 14px;
  background: var(--sun-soft);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

/* ---------- カート / 完了 / 特商法ページ ---------- */
.page { min-height: 60vh; }
.button--block { width: 100%; margin-top: 18px; text-align: center; font-family: inherit; cursor: pointer; }
.button:disabled { opacity: .55; cursor: wait; }

.cart-empty { padding: 20px 0 40px; }
.cart-empty p { margin-bottom: 20px; color: var(--ink-soft); }
.cart-layout { display: grid; gap: 28px; }
.cart-list { display: grid; gap: 18px; }
.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 8px 16px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: var(--stroke);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--cat, var(--sun));
}
.cart-item__thumb {
  width: 76px;
  aspect-ratio: 4 / 5;
  border: var(--stroke);
  border-radius: 999px 999px 10px 10px;
  background: var(--c, var(--sage));
  overflow: hidden;
}
.cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-family: var(--font-serif); font-weight: 800; font-size: 16px; line-height: 1.5; }
.cart-item__price { font-size: 14px; }
.cart-item__remove {
  grid-column: 2;
  justify-self: start;
  min-height: 44px;
  padding: 12px 0;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  font: 12px/1.6 var(--font-sans);
  color: var(--ink-soft);
  cursor: pointer;
}
.cart-summary {
  padding: 22px;
  background: var(--sun-soft);
  border: var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--pop) var(--ink);
}
.cart-summary dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; }
.cart-summary dl > .cart-summary__total { margin-top: 8px; padding-top: 14px; border-top: var(--stroke); font-weight: 700; font-size: 20px; }
.cart-item__name a { display: inline-block; padding-block: 6px; }
.cart-message { min-height: 1.7em; margin-top: 12px; font-size: 13px; font-weight: 700; line-height: 1.7; }
.cart-message.is-error { color: #b3261e; }
.checkout-hint { margin-top: 10px; font-size: 12px; line-height: 1.8; color: var(--ink-soft); }
.cart-continue { margin-top: 20px; }
.cart-notice { margin-bottom: 14px; font-size: 14px; font-weight: 700; line-height: 1.8; }
.cart-notice:empty { display: none; }
.cart-notice.is-error { color: #b3261e; }
.cart-note__title { margin-top: 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.cart-note { margin-top: 6px; padding-left: 1.2em; list-style: disc; font-size: 12px; line-height: 1.8; color: var(--ink-soft); }
.cart-note li + li { margin-top: 4px; }
.cart-note a { border-bottom: 1px solid var(--ink-soft); }

.thanks__text { margin: 18px 0 28px; line-height: 2; }
.thanks__text a { border-bottom: 2px solid var(--coral); font-weight: 700; white-space: nowrap; }

.legal__lead { margin-bottom: 28px; font-size: 13px; color: var(--ink-soft); }
.legal__info > div { grid-template-columns: 9em 1fr; }
.legal__info small { color: var(--ink-soft); }
.legal__back { margin-top: 40px; }
.todo { padding: 0 6px; background: var(--sun-soft); border: 1px dashed var(--ink); font-weight: 700; }

/* =========================================================
   タブレット以上 (600px〜)
   ========================================================= */
@media (min-width: 600px) {
  body { font-size: 16px; }
  .section { padding-block: 96px; }
  .section__title { font-size: 31px; }
  .hero__title { font-size: 49px; }
  .hero__visual { max-width: 440px; }
  .marquee__group span { font-size: 24px; }
  .concept__list { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .point { padding: 84px 22px 24px; }
  .point__num { top: 20px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 26px; }
  .product:nth-child(even) { margin-top: 0; }
  .product:nth-child(3n + 2) { margin-top: 28px; }
  .store__map { aspect-ratio: 16 / 9; }
}

/* =========================================================
   PC (960px〜)
   ========================================================= */
@media (min-width: 960px) {
  :root { --gutter: 40px; --header-h: 72px; }

  /* ナビを横並びに */
  .nav-button { display: none; }
  .nav-toggle { display: none; }   /* PC幅では見えないチェックボックスにキーボードが止まらないように */
  .site-nav { position: static; display: block; background: none; border: 0; margin-left: auto; margin-right: 24px; }
  .cart-link { order: 2; margin-left: 0; margin-right: 0; }
  .cart-layout { grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
  .cart-summary { position: sticky; top: calc(var(--header-h) + 24px); }
  .site-nav ul { display: flex; gap: 36px; }
  .site-nav a { padding: 0; border: 0; position: relative; }
  .site-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px;
    background: var(--coral); transform: scaleX(0); transition: transform .25s;
  }
  .site-nav a:hover::after { transform: scaleX(1); }

  /* ヒーローを2カラムに */
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    min-height: 640px;
    padding: 64px max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter)));
  }
  .hero__visual { margin: 0; max-width: 480px; justify-self: center; order: 2; }
  .hero__body { text-align: left; order: 1; }
  .hero__body .eyebrow { justify-content: flex-start; }
  .hero__body .hero__trust { margin-left: 0; margin-right: 0; }
  .hero__title { font-size: 62px; }

  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product:nth-child(3n + 2) { margin-top: 0; }
  .product:nth-child(even) { margin-top: 32px; }

  .store__layout { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
  .store__map { aspect-ratio: 4 / 3; }
}

/* =========================================================
   商品詳細ページ：写真と情報を左右に並べる (720px〜)
   ========================================================= */
@media (min-width: 720px) {
  .product-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }   /* minmax(0, …)：商品名の長さで、左右の幅がずれないように */
  .gallery { position: sticky; top: calc(var(--header-h) + 24px); }
  .gallery__main, .gallery__caption, .gallery__thumbs { margin-inline: 0; }
  .product-info__name { font-size: clamp(22px, 3.1vw, 30px); }   /* タブレットでは列が狭いので、幅に合わせて少し小さく */
}

/* =========================================================
   追加部品：色替え・新着・店主紹介・ガイド・フォーム
   ========================================================= */

/* ---------- 色替え（トップの家具） ---------- */
.furniture .tint { fill: var(--tint, var(--p-peach)); transition: fill .25s; }
.furniture .g-shelf { --tint: var(--p-lavender); }
.furniture .g-chair { --tint: var(--p-peach); }
.furniture .g-sofa  { --tint: var(--p-peach); }
.furniture .g-table { --tint: var(--p-sky); }
/* まん中のロゴに合わせて、最初の色を木と生成り＋柿・からしに（2026-10-22。押すと色が変わるのは前と同じ） */
.furniture .g-shelf, .furniture .g-chair { --tint: #d1a571; }
.furniture .g-sofa  { --tint: #efe2c8; }
.furniture .g-table { --tint: #c99a5e; }
.furniture .c-mint   { fill: #9db095; }
.furniture .c-peach  { fill: #e8d3b0; }
.furniture .c-butter { fill: var(--sun); }
.furniture .c-sky    { fill: var(--sand); }
.furniture .c-blush  { fill: var(--coral); }
.furniture .g-chair .c-mint { fill: var(--coral); }   /* 椅子の座面 */
.furniture .g-sofa .c-blush { fill: var(--sun); }     /* ソファのクッション */
.star { background: var(--sun); }
.furniture .recolor { cursor: pointer; }
.furniture .recolor:hover .tint { filter: brightness(1.06); }
.furniture .recolor:focus { outline: none; }
.furniture .recolor:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 6px; }
.hero__hint {
  position: absolute; left: 0; right: 0; bottom: -30px;
  text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  color: var(--ink-soft);
}

/* ---------- 新着の家具（横に並べる） ---------- */
.arrivals { --accent: var(--sun); background: var(--paper); padding-bottom: 48px; overflow: hidden; }
.arrivals .section__head { margin-bottom: 20px; }
.arrivals__strip {
  display: flex; gap: 18px;
  padding: 4px var(--gutter) 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.arrivals__strip .product { flex: 0 0 152px; margin-top: 0; }
.arrivals__strip .product__name { font-size: 14px; }

/* ---------- 商品の点数 ---------- */
.product-count { min-height: 1.8em; margin: -8px 0 18px; font-size: 12px; color: var(--ink-soft); }

/* ---------- 読み物ページ（ご利用ガイド・プライバシー） ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 48px 0 12px; padding-bottom: 8px; border-bottom: var(--stroke); font-family: var(--font-serif); font-size: 22px; font-weight: 800; line-height: 1.5; }
.prose h3 { margin: 26px 0 6px; font-size: 16px; font-weight: 700; }
.prose p, .prose li { line-height: 2; }
.prose ul { margin: 8px 0 8px 1.2em; list-style: disc; }
.prose ol { margin: 8px 0 8px 1.4em; list-style: decimal; }
.prose a { border-bottom: 1px solid var(--ink); }
.prose .lead { margin-bottom: 8px; color: var(--ink-soft); }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; }
.toc a { padding: 8px 16px; border: var(--stroke) !important; border-radius: 999px; background: #fff; box-shadow: 3px 3px 0 var(--ink); font-size: 13px; font-weight: 700; }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 16px 0; padding: 0; list-style: none; counter-reset: s; }   /* minmax(0,1fr)：長い文でも列が画面より広がらないように（スマホで右が切れた） */
.steps li { position: relative; padding: 14px 16px 14px 62px; border: var(--stroke); border-radius: 14px; background: #fff; counter-increment: s; }
.steps li::before {
  content: counter(s);
  position: absolute; left: 14px; top: 14px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: var(--stroke); border-radius: 50%;
  background: var(--sun);
  font-weight: 800;
}
.prose .steps { margin-left: 0; padding: 0; list-style: none; }   /* 読み物の箇条書きの設定に負けないように */
.steps b { display: block; }
.faq details { margin: 0 0 12px; border: var(--stroke); border-radius: 14px; background: #fff; overflow: hidden; }
.faq summary { position: relative; padding: 14px 46px 14px 18px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 18px 16px; font-size: 14px; line-height: 2; }

/* ---------- お問い合わせフォーム ---------- */
.form { display: grid; gap: 20px; max-width: 640px; }
.form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.form .req { margin-left: 6px; padding: 0 8px; border: 1px solid var(--ink); border-radius: 999px; background: var(--sun-soft); font-size: 10px; font-weight: 700; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="password"], .form select, .form textarea {
  width: 100%; padding: 12px 14px;
  border: var(--stroke); border-radius: 12px;
  background: #fff; color: var(--ink);
  font: inherit; letter-spacing: .02em;
}
.form textarea { min-height: 170px; resize: vertical; }
.form__check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.8; }
.form__check input { flex: none; width: 22px; height: 22px; margin-top: 4px; }
.form__hint { margin: 4px 0 0; font-size: 12px; color: var(--ink-soft); }

/* =========================================================
   追加部品：タブレット以上・PC
   ========================================================= */
@media (min-width: 720px) {
  .arrivals__strip { padding-inline: max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter))); gap: 24px; }
  .arrivals__strip .product { flex-basis: 200px; }
}

/* ---------- 店内・外観（トップの店舗情報の下） ---------- */
.store__photos { margin-top: 56px; }
.store__visit { margin-top: 48px; }
.store__visit-list { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.store__visit-list li { position: relative; padding: 12px 16px 12px 40px; border: var(--stroke); border-radius: 14px; background: #fff; font-size: 14px; line-height: 1.8; word-break: auto-phrase; text-wrap: pretty; }
.store__visit-list li::before { content: ""; position: absolute; left: 16px; top: 20px; width: 12px; height: 12px; border: 1px solid var(--ink); border-radius: 50%; background: var(--coral); }
.store__visit-list li:nth-child(2)::before { background: var(--sun); }
.store__visit-list li:nth-child(3)::before { background: var(--cobalt); }
.store__visit-list li:nth-child(4)::before { background: var(--sage); }
/* 文章の中のリンクは、押せることが分かるように下線を付ける */
.store__visit-list a, .product-info__notes a { text-decoration: underline; text-underline-offset: 3px; }
.store__subtitle { margin: 0 0 8px; padding-bottom: 8px; border-bottom: var(--stroke); font-family: var(--font-serif); font-size: 20px; font-weight: 800; line-height: 1.5; }
.shop .lead { margin: 0 0 24px; color: var(--ink-soft); }
.shop-group { margin: 0 0 46px; }
.shop-group h4 { margin-bottom: 14px; font-family: var(--font-serif); font-size: 18px; font-weight: 800; }
.shop-grid { display: grid; gap: 24px; }
.shop-figure { margin: 0; }
.shop-figure__frame {
  aspect-ratio: 3 / 4;
  display: grid; place-items: center;
  border: var(--stroke); border-radius: 22px;
  background: var(--c, var(--p-peach));
  box-shadow: var(--pop) var(--ink);
  overflow: hidden;
  font-size: 12px; letter-spacing: .25em; color: var(--ink);
}
.shop-figure__frame img { width: 100%; height: 100%; object-fit: cover; }
.shop-figure figcaption { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }
@media (min-width: 720px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* 商品ページの価格の下の「税込・送料無料」 */
.product__ship { margin-top: -2px; font-size: 12px; color: var(--ink-soft); }

/* オーダーメイドの「かんたん目安チャット」（丸いボタン→小さな窓） */
.quickchat-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;   /* 「Powered by Netlify」の表示は、Netlify の設定で消した（2026-09-29） */
  z-index: 40;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: var(--stroke);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: var(--pop) var(--ink);
  cursor: pointer;
}
.quickchat-fab svg { width: 26px; height: 26px; fill: var(--ink); }
.quickchat-panel {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 40;
  width: min(340px, calc(100vw - 40px));
  max-height: min(480px, calc(100vh - 130px));
  display: flex;
  flex-direction: column;
  border: var(--stroke);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--pop) var(--ink);
  overflow: hidden;
}
.quickchat-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--sun-soft);
  border-bottom: var(--stroke);
  font-weight: 700;
  font-size: 14px;
}
.quickchat-panel__close {
  min-width: 44px; min-height: 44px;   /* スマホで押しやすい大きさ */
  margin: -10px -12px -10px 0;         /* 見出しの帯の高さは変えない */
  padding: 0 4px;
  border: 0;
  background: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.quickchat-panel__body { flex: 1; padding: 14px; overflow-y: auto; }
#quickchat { display: flex; flex-direction: column; gap: 10px; }
.quickchat__bubble {
  align-self: flex-start;
  max-width: 32em;
  margin: 0;
  padding: 12px 16px;
  border: var(--stroke);
  border-radius: 16px 16px 16px 4px;
  background: #fff;
  box-shadow: 3px 3px 0 var(--sun);
  font-size: 14px;
  line-height: 1.7;
}
.quickchat__bubble--mine {
  align-self: flex-end;
  border-radius: 16px 16px 4px 16px;
  background: var(--sun-soft);
  box-shadow: 3px 3px 0 var(--ink);
}
.quickchat__options { display: flex; flex-wrap: wrap; gap: 8px; }
.quickchat__options .button { padding: 9px 16px; font-size: 13px; cursor: pointer; }
.quickchat__freetext { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.quickchat__textarea {
  width: 100%;
  max-width: 32em;
  padding: 12px;
  border: var(--stroke);
  border-radius: 14px;
  font: inherit;
  resize: vertical;
}
.quickchat__freetext .button { cursor: pointer; }
/* 丸いボタンのあるページは、フッターの下に余白を足して、リンクにボタンが重ならないようにする */
body:has(.quickchat-fab:not([hidden])) .site-footer { padding-bottom: 96px; }

/* iPhone で入力欄を押したときに、画面が勝手に拡大されないよう、文字を16pxにする */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea, .form input, .form select, .form textarea, .quickchat__textarea { font-size: 16px !important; }

/* 商品名・見出し・リード文を、言葉の切れ目で改行する（「ウ|ォールナット」のような切れ方を防ぐ） */
.product__name, .product-info__name, .cart-item__name, .prose h2, .legal__subtitle { word-break: auto-phrase; line-break: strict; }
.prose .lead { text-wrap: pretty; word-break: auto-phrase; }

/* オーダーメイドのページ内リンク（右上） */
.order-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
}
.order-quicklinks a { padding: 12px 0 2px; border-bottom: 2px solid var(--coral); }   /* 上の余白で、押せる高さを確保 */
@media (min-width: 720px) {
  .order-quicklinks { justify-content: flex-end; }
}

/* オーダーメイド：右上の文字で開く欄（ご相談の流れ・制作事例・よくある質問） */
.order-quicklinks a.is-open { border-bottom-width: 4px; }
.order-quicklinks { scroll-margin-top: calc(var(--header-h) + 8px); }
.order-quicklinks a { white-space: nowrap; }
@media (max-width: 419px) {   /* スマホでも4つを1行に収める */
  .order-quicklinks { gap: 6px 12px; font-size: 12px; letter-spacing: 0; }
}
/* 開く欄の中の見出し・文章は、言葉の切れ目で改行する */
.order-panel h2, .order-panel summary, .order-panel .steps li, .order-panel p, .order-panel .faq div { word-break: auto-phrase; text-wrap: pretty; }
.order a[href="#qa"] { white-space: nowrap; }
.order-panel {
  margin: 0 0 40px;
  padding: 4px 20px 20px;
  border: var(--stroke);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.order-panel > h2:first-child { margin-top: 20px; }
.order-panel__close { margin: 24px 0 0; text-align: right; }
.order-panel__close .button { cursor: pointer; }

/* オーダーメイドの制作事例 */
.case-empty { padding: 8px 0 4px; color: var(--ink-soft); }
/* 一覧：写真・ジャンル・名前だけ。押すと詳しい窓が開く */
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin: 24px 0 40px; padding: 0; list-style: none; }
.prose .case-grid { margin-left: 0; list-style: none; }   /* 文章用の箇条書きの点を出さない */
.case-card__button {
  display: block; width: 100%;
  padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: left;
  cursor: pointer;
}
.case-card__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  margin-bottom: 10px;
  border: var(--stroke);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: 4px 4px 0 var(--ink);
  overflow: hidden;
  display: grid; place-items: center;
  font-size: 12px; color: var(--ink-soft);
  transition: transform .2s;
}
.case-card__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-card__button:hover .case-card__frame { transform: rotate(-1.5deg) scale(1.02); }
.case-card__button:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; border-radius: var(--radius); }
.case-card__draft {
  position: absolute; left: 8px; top: 8px; z-index: 1;
  padding: 2px 10px; border: 1px solid var(--ink); border-radius: 999px;
  background: #fff; font-size: 11px; font-weight: 700; color: var(--ink);
}
.case-card__name { display: block; font-family: var(--font-serif); font-weight: 800; font-size: 15px; line-height: 1.6; word-break: auto-phrase; line-break: strict; }

/* 制作事例・修理の事例：1件を1段で見せる（2026-10-16 作り直し）
   写真は砂色の台紙に並べ、横に 番号（作った順）・ジャンル・名前・中身・ひとこと。縁取りとずらし影は使わない
   ジャンルが2つ以上あるときは、上に絞り込みのボタン（order-cases.js の renderCases） */
.case-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 4px; }
.case-filter__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; font: inherit; font-size: 13px; letter-spacing: .06em; color: var(--ink);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.case-filter__btn:not([data-value=""])::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cat, var(--sand)); }
.case-filter__btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.case-filter__count { font-size: 11px; opacity: .6; }
.case-list { margin: 22px 0 36px; container-type: inline-size; }   /* 欄の幅で並べ方を切り替える（下の @container） */
.case-item {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center;
  margin: 0 0 36px; padding: 0 0 36px; border-bottom: 1px solid var(--line);
}
.case-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.case-item[hidden] { display: none; }
.case-item__photos {
  position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); width: 100%; min-width: 0; gap: 12px; align-items: start;
  padding: 20px; border: 0; border-radius: 6px; background: #e8dcc6;   /* 台紙：生成りより一段濃い砂色 */
  font: inherit; cursor: pointer;
}
.case-item__photos.is-single { grid-template-columns: minmax(0, 1fr); padding: 20px 18%; }
.case-item__photos.is-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.case-item__main, .case-item__subphoto { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; background: var(--paper-2); }
.case-item__main img, .case-item__subphoto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-item__photos:hover img { transform: scale(1.03); }
.case-item__sub { display: grid; gap: 12px; }
.case-item__no { margin: 0; font-family: "Zen Maru Gothic", var(--font-sans); font-weight: 700; font-size: 44px; line-height: 1; color: var(--sand); }
.case-item__genre { display: flex; align-items: center; gap: 8px; margin: 10px 0 6px; font-size: 11px; letter-spacing: .28em; color: var(--ink-soft); }
.case-item__genre::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cat, var(--sand)); }
.case-item__name { margin: 0; font-family: "Zen Maru Gothic", var(--font-sans); font-weight: 700; font-size: 24px; letter-spacing: .06em; line-height: 1.4; }
.case-item__specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; }
.case-item__specs div { display: contents; }
.case-item__specs dt { color: var(--ink-soft); }
.case-item__specs dd { margin: 0; }
.case-item__story { margin: 0; font-size: 14px; line-height: 1.9; word-break: auto-phrase; text-wrap: pretty; }
.case-item__more { margin-top: 14px; padding: 0 0 2px; border: 0; border-bottom: 1px solid currentColor; background: none; font: inherit; font-size: 13px; letter-spacing: .08em; color: var(--ink); cursor: pointer; }
.case-item__more::after { content: " →"; }
/* 文章用の決まり（.prose の見出し・段落の余白や大きさ）に負けないように */
.case-list .case-item__no, .case-list .case-item__genre, .case-list .case-item__name, .case-list .case-item__story { margin-left: 0; margin-right: 0; }
.case-list .case-item__no { margin-top: 0; margin-bottom: 0; }
.case-list .case-item__genre { margin-top: 10px; margin-bottom: 6px; }
.case-list .case-item__name { margin-top: 0; margin-bottom: 0; font-family: "Zen Maru Gothic", var(--font-sans); font-weight: 700; font-size: 24px; letter-spacing: .06em; line-height: 1.4; }
.case-list .case-item__story { margin-top: 0; margin-bottom: 0; }
.case-list .case-item__specs dd { margin-left: 0; }
.case-item__photos:focus-visible, .case-item__more:focus-visible, .case-filter__btn:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
/* 欄が狭い（スマホ）：写真の台紙を小さめに */
@container (max-width: 559px) {
  .case-item__photos { padding: 14px; gap: 8px; }
  .case-item__photos.is-single { padding: 14px 14%; }
  .case-item__sub { gap: 8px; }
  .case-item__no { font-size: 34px; }
  .case-item__name { font-size: 20px; }
}
/* 欄が中くらい（オーダーメイドのページ）：写真を上に大きく、下に文を2列（左＝番号・名前、右＝中身） */
@container (min-width: 560px) {
  .case-item__text { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 32px; align-items: start; }
  .case-item__specs { margin-top: 4px; }
}
/* 欄が広い：写真と文を横に並べ、1件ごとに左右を入れ替える */
@container (min-width: 860px) {
  .case-item { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; }
  .case-item.is-rev .case-item__photos { order: 2; }
  .case-item__text { display: block; }
}
.case-card__more { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; border-bottom: 2px solid var(--coral); }
@media (min-width: 720px) {
  .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
}

/* 詳しい窓 */
.case-dialog {
  width: min(920px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: var(--stroke);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.case-dialog::backdrop { background: rgba(43, 38, 34, .55); }
.case-dialog__close {
  position: sticky; top: 8px; z-index: 2;
  float: right;
  width: 44px; height: 44px; margin: 8px 8px -52px 0;
  border: var(--stroke); border-radius: 50%;
  background: #fff; color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer;
}
.case-dialog__gallery { padding: 16px; }
.case-dialog__photo {
  position: relative;
  aspect-ratio: 3 / 4; max-height: 70dvh; margin: 0 auto;
  border: var(--stroke); border-radius: var(--radius);
  background: var(--paper-2); overflow: hidden;
  display: grid; place-items: center; font-size: 13px; color: var(--ink-soft);
}
.case-dialog__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--paper-2); }   /* 枠いっぱいに収め、写真の端が切れないように */
/* 窓の写真：横に並べて、指で左右にすべらせて移動（2026-10-16） */
.case-dialog__track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.case-dialog__track::-webkit-scrollbar { display: none; }
.case-dialog__track:focus-visible { outline: 3px solid var(--cobalt); outline-offset: -3px; }
.case-dialog__slide { position: relative; flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.case-dialog__nav {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0 0 3px;
  border: 0; border-radius: 50%; background: rgba(250, 243, 230, .88); box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
  font: inherit; font-size: 26px; line-height: 1; color: var(--ink); cursor: pointer; transition: opacity .2s;
}
.case-dialog__nav--prev { left: 10px; }
.case-dialog__nav--next { right: 10px; }
.case-dialog__nav:disabled { opacity: 0; pointer-events: none; }
.case-dialog__nav:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
@media (hover: none) { .case-dialog__nav { display: none; } }   /* スマホは指ですべらせるので、矢印は出さない */
.case-dialog__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.case-dialog__thumb {
  flex: 0 0 56px; width: 56px; height: 56px; padding: 0;
  border: 1px solid var(--ink); border-radius: 10px; overflow: hidden;
  background: none; cursor: pointer; opacity: .6;
}
.case-dialog__thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-dialog__thumb[aria-current="true"] { opacity: 1; border-width: 2px; box-shadow: 2px 2px 0 var(--ink); }
.case-dialog__body { padding: 0 20px 28px; }
.case-dialog__title { margin: 6px 0 14px; font-family: var(--font-serif); font-weight: 800; font-size: 22px; line-height: 1.5; word-break: auto-phrase; line-break: strict; }
.case-dialog__specs { margin-bottom: 22px; }
.case-story { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: story; }
.case-story__step {
  position: relative;
  padding: 14px 16px 14px 52px;
  border: var(--stroke); border-radius: 14px; background: #fff;
  counter-increment: story;
}
.case-story__step::before {
  content: counter(story);
  position: absolute; left: 14px; top: 14px;
  width: 26px; height: 26px; border: 1px solid var(--ink); border-radius: 50%;
  background: var(--sun); font-size: 13px; font-weight: 700; line-height: 24px; text-align: center;
}
.case-story__label { margin: 0 0 4px; font-size: 14px; font-weight: 700; }
.case-story__text { margin: 0; font-size: 14px; line-height: 1.9; white-space: pre-line; word-break: auto-phrase; text-wrap: pretty; }
@media (min-width: 820px) {
  .case-dialog { display: none; }
  .case-dialog[open] { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
  .case-dialog__close { grid-column: 2; justify-self: end; position: sticky; float: none; margin: 8px 8px 0 0; }
  .case-dialog__gallery { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 0; padding: 20px; }
  .case-dialog__body { grid-column: 2; padding: 0 24px 28px 4px; }
  .case-dialog__photo { max-height: calc(100dvh - 150px); }
}

/* 品番（商品ページ・カート） */
.product-info__code, .cart-item__code { margin: 4px 0 0; font-size: 12px; letter-spacing: .1em; color: var(--ink-soft); }
.product-info__name + .product-info__code { margin: -6px 0 14px; }

/* 特定商取引法：オーダーメイドの小見出し */
.legal__subtitle { margin: 48px 0 8px; padding-bottom: 8px; border-bottom: var(--stroke); font-family: var(--font-serif); font-size: 20px; font-weight: 800; line-height: 1.5; }
.legal__note { margin-bottom: 16px; color: var(--ink-soft); }

/* ---------- フォームの選択肢（ラジオ） ---------- */
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.form__options { display: grid; gap: 8px; }
.form__options label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 400; cursor: pointer; }
.form__options input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--coral); }
.form__options label:has(input:checked) { border-color: var(--ink); background: var(--sun-soft); }

/* ---------- オーダーメイド ---------- */
.order-strip { padding-block: 32px 56px; background: var(--paper); }   /* 上 32px：商品一覧の区切り線に、箱がくっつかないように */
.order-strip__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
  padding: 16px 20px;
  border: var(--stroke); border-radius: var(--radius);
  background: #fff; box-shadow: 4px 4px 0 var(--ink);
}
.order-strip__label { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.order-strip__text { margin: 2px 0 0; font-size: 14px; line-height: 1.8; }
.order-strip__link { padding: 8px 0 2px; border-bottom: 2px solid var(--coral); font-size: 14px; font-weight: 700; white-space: nowrap; }
.order-closed { margin: 8px 0 24px; padding: 18px 20px; border: var(--stroke); border-radius: var(--radius); background: var(--sun-soft); }
.order-closed p + p { margin-top: 8px; }

/* ---------- 管理ページ ---------- */
.admin__status { display: grid; gap: 8px; margin: 8px 0 24px; }
.admin__status > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border: var(--stroke); border-radius: 12px; background: #fff; }
.admin__status dt { font-weight: 700; color: var(--plum); }
.admin__buttons { display: grid; gap: 12px; margin-bottom: 24px; }
.admin__buttons .button, .admin__row .button { cursor: pointer; }
.admin__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.admin__row label { flex: 1 1 100%; font-size: 14px; font-weight: 700; }
.admin__row input[type="number"] { width: 100px; padding: 10px 12px; border: var(--stroke); border-radius: 10px; background: #fff; font: inherit; }
.admin__message { margin-top: 16px; min-height: 1.8em; font-size: 14px; }
.admin__message.is-error { color: #b3261e; font-weight: 700; }

/* ---------- フォームを2ページに分ける（オーダーメイド） ---------- */
.form-steps { display: none; gap: 10px; margin: 0; padding: 0; list-style: none; }
.form.is-stepped .form-steps { display: flex; }
.form-steps li { display: flex; align-items: center; gap: 8px; flex: 1; padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.form-steps li span { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--ink-soft); font-size: 12px; }
.form-steps li.is-current { border: var(--stroke); background: var(--sun-soft); color: var(--ink); }
@media (max-width: 359px) {
  .form-steps li { gap: 6px; padding-inline: 8px; }   /* 幅320pxでも「ご希望の家具」が1行に収まるように */
}
.form-steps li.is-current span { border-color: var(--ink); background: var(--sun); }
.form-step { display: grid; gap: 20px; }
.form-step[hidden] { display: none; }
.form-step__title { margin: 0; font-family: var(--font-serif); font-size: 18px; font-weight: 800; line-height: 1.6; }
.form-step__title:focus { outline: none; }
.form-step__nav { display: flex; flex-wrap: wrap; gap: 12px; }
.form-step__nav .button { cursor: pointer; }
.button--ghost { background: #fff; }

/* 管理ページ：売り切れの記録 */
.admin__title { margin: 40px 0 8px; font-family: var(--font-serif); font-size: 20px; font-weight: 800; }
.admin__note { margin-bottom: 12px; color: var(--ink-soft); font-size: 13px; }
.admin__sold { display: grid; gap: 8px; margin-bottom: 20px; }
.admin__sold li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: var(--stroke); border-radius: 12px; background: #fff; font-size: 14px; }
.admin__sold .button { padding: 6px 18px; font-size: 12px; cursor: pointer; }
.admin__row select { flex: 1 1 200px; padding: 10px 12px; border: var(--stroke); border-radius: 10px; background: #fff; font: inherit; }

/* ---------- 営業日カレンダー（ヘッダー右上の「営業日」→ 小さな窓） ---------- */
.cal-link {
  min-width: 48px; height: 46px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  margin-left: auto;
  padding: 0 2px;
  border: 0; background: none; color: var(--ink);
  font: inherit; cursor: pointer;
}
.cal-link svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.cal-link__label { font-size: 10px; font-weight: 700; letter-spacing: .04em; line-height: 1.2; }
.site-header .cal-link + .cart-link { margin-left: 0; }
/* 「色を決める」（color.html への入口）：営業日の左。cart.js が置く */
.site-header .color-link + .cal-link { margin-left: 0; }
.color-link[aria-current="page"] .cal-link__label { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 359px) {   /* とても小さいスマホ：右上の3つの入口を少し詰めて、ロゴとくっつかないように */
  .site-header .cal-link, .site-header .cart-link { min-width: 42px; }
}
@media (min-width: 960px) {
  .cal-link { order: 2; margin-left: 0; margin-right: 6px; }
}

.cal-dialog {
  width: min(560px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: var(--stroke);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  overflow-y: auto;
}
.cal-dialog::backdrop { background: rgba(43, 38, 34, .55); }
.cal-dialog__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 20px; border-bottom: var(--stroke); background: var(--sun-soft); }
.cal-dialog__head h2 { margin: 0; font-family: var(--font-serif); font-size: 18px; font-weight: 800; }
.cal-dialog__close { width: 44px; height: 44px; border: 0; background: none; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.cal-dialog__body { padding: 16px 20px 22px; }
.cal-today { margin: 0 0 12px; font-weight: 700; }
.cal-note { margin: 14px 0 0; font-size: 13px; line-height: 1.8; color: var(--ink-soft); }
.cal-months { display: grid; gap: 18px; }
@media (min-width: 540px) { .cal-months { grid-template-columns: 1fr 1fr; } }
.cal-month__title { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.cal-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; text-align: center; }
.cal-table th { padding: 4px 0; font-size: 11px; font-weight: 700; color: var(--ink-soft); }
.cal-table th.is-sun { color: #b3261e; }
.cal-table th.is-sat { color: var(--cobalt); }
.cal-table td { height: 44px; padding: 2px; vertical-align: middle; }
.cal-day__num { display: block; line-height: 1.3; }
/* お休みの日：やわらかいピンクの丸と、小さな「おやすみ」 */
.cal-day__off { display: block; margin-top: 1px; font-size: 9px; font-weight: 700; letter-spacing: 0; line-height: 1.2; color: var(--plum); white-space: nowrap; }
.cal-day { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 40px; padding: 0; border: 1.5px solid transparent; border-radius: 14px; background: none; color: inherit; font: inherit; }
.cal-table td.is-closed .cal-day { background: var(--p-blush); border-color: var(--pink); font-weight: 700; color: var(--ink); }
.cal-table td.is-past { color: rgba(43, 38, 34, .35); }
.cal-table td.is-red .cal-day__num { color: #b3261e; }   /* 日曜・祝日 */
.cal-table td.is-past.is-red .cal-day__num { opacity: .45; }
.cal-day__name { display: block; max-width: 100%; margin-top: 1px; font-size: 8px; font-weight: 700; letter-spacing: 0; line-height: 1.2; white-space: pre; color: var(--ink-soft); }   /* 祝日・クリスマスなどの名前（cart.js が区切りの改行を入れる） */
.cal-day__name.is-holiday { color: #b3261e; }
@media (max-width: 359px) {   /* いちばん狭いスマホ：名前が隣の「おやすみ」に触れないよう、窓の余白を詰める */
  .cal-dialog__body { padding-left: 10px; padding-right: 10px; }
  .cal-day__name { letter-spacing: -.05em; }
}
.cal-table td.is-past.is-closed .cal-day { opacity: .5; }
.cal-table td.is-today .cal-day { border-color: var(--ink); }
.cal-table td button.cal-day { cursor: pointer; }
.cal-table td button.cal-day:hover { background: rgba(43, 38, 34, .08); }
.cal-table td.is-closed button.cal-day:hover { background: var(--p-blush); filter: brightness(.97); }
/* 窓の下のふちに立つキャラクター（3本脚の腰掛けの子。下からひょいっと出てくる） */
.cal-peek { position: relative; height: 66px; margin-top: -18px; overflow: hidden; pointer-events: none; }
.cal-peek svg { position: absolute; right: 26px; bottom: 2px; width: 68px; height: auto; overflow: visible; transform: translateY(110%); }
.cal-peek.is-up svg { animation: cal-peek-up .7s .25s cubic-bezier(.3, 1.5, .5, 1) forwards; }
@keyframes cal-peek-up { to { transform: translateY(0); } }
.cal-peek svg * { stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cal-peek__seat { fill: #e2bd8c; }
.cal-peek__leg { fill: var(--sage); }
.cal-peek__eye { fill: var(--ink); stroke: none !important; }
.cal-peek__cheek { fill: var(--p-blush); stroke: none !important; }
.cal-peek__mouth { fill: none; }
.cal-peek__brand { fill: #6b4a2b; stroke: none !important; font-family: 'Zilla Slab', serif; font-weight: 600; font-size: 5.6px; text-anchor: middle; }
@media (prefers-reduced-motion: reduce) { .cal-peek svg { transform: none; } }
.admin__calendar { margin: 8px 0 16px; }
.admin__calendar .cal-months { grid-template-columns: 1fr; }
@media (min-width: 640px) { .admin__calendar .cal-months { grid-template-columns: 1fr 1fr; } }

/* トップ：ボタンの下の信頼の一行 */
.hero__trust { margin: 18px auto 0; max-width: 30em; font-size: 12px; line-height: 1.9; color: var(--ink-soft); text-wrap: balance; }
.hero__trust a { border-bottom: 1px solid var(--ink-soft); }

/* 修理・塗り直し（repair.html）。押すと開く欄などは、オーダーメイドと同じ作り（order-panel） */
.repair__contact { margin-top: 28px; }
.case-dialog__caption { margin: 8px 2px 0; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
