/* 陶房 つち — ナチュラル・クラフト
   クラフト紙・リネン・土の色。縦書きの見出しと紙の質感で、器のぬくもりを */
:root {
  --bg: #F4EFE6;
  --paper: #FBF8F2;
  --linen: #D9C9B0;
  --linen-2: #E9DFCF;
  --clay: #A0674B;
  --clay-dark: #8A5238;
  --moss: #6B7553;
  --moss-dark: #545D40;
  --ink: #2F2B28;
  --muted: #6E655C;
  --line: #D8CCBA;
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --en: "EB Garamond", "Shippori Mincho B1", serif;
  --shadow: 0 18px 40px -28px rgba(47, 43, 40, .55);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg) var(--grain); color: var(--ink); font-family: var(--serif); font-size: 15.5px; line-height: 2; letter-spacing: .06em; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, p, figure, dl, dd, ul, ol, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 8px 14px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 130px) 0; }
.head { margin-bottom: clamp(32px, 4.5vw, 52px); }
.head--center { text-align: center; }
.head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.head--row .note { margin: 0; text-align: right; }
.label { font-family: var(--en); font-style: italic; font-size: 19px; color: var(--clay-dark); letter-spacing: .04em; line-height: 1.3; }
.h2 { font-weight: 600; font-size: clamp(24px, 3vw, 32px); line-height: 1.7; letter-spacing: .12em; margin-top: 6px; }
.note { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border-radius: 4px; cursor: pointer; border: 1px solid transparent; font-size: 15px; letter-spacing: .14em; text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.btn--clay { background: var(--clay-dark); color: #fff; }
.btn--clay:hover { background: var(--ink); }
.btn--line { background: transparent; border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--full { width: 100%; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 239, 230, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; width: min(1280px, calc(100% - 40px)); margin-inline: auto; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { width: 46px; height: 46px; }
.logo b { display: block; font-weight: 700; font-size: 20px; letter-spacing: .24em; line-height: 1.3; }
.logo small { display: block; font-family: var(--en); font-size: 11px; letter-spacing: .3em; color: var(--muted); line-height: 1.3; }
.gnav { display: flex; gap: 24px; margin-left: auto; }
.gnav a { text-decoration: none; font-size: 14.5px; position: relative; padding: 4px 0; }
.gnav a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--clay); transform: translateX(-50%) scale(0); transition: transform .3s; }
.gnav a:hover::after { transform: translateX(-50%) scale(1); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; cursor: pointer; font-size: 14px; }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--clay-dark); color: #fff; font-family: var(--en); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.cart-btn.bump b { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.4); } }

/* ---------- ヒーロー ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1.6fr 1fr; min-height: min(86svh, 820px); }
.hero-photo { position: relative; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-text { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 30px 90px; gap: 34px; }
.hero h1 { writing-mode: vertical-rl; font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: .3em; line-height: 1.8; }
.hero h1 span { display: block; }
.hero h1 span:last-child { padding-top: 1.6em; }
.hero-lead { font-size: 14.5px; line-height: 2.3; color: var(--muted); text-align: center; }
.hero-en { position: absolute; right: 22px; bottom: 30px; writing-mode: vertical-rl; font-family: var(--en); font-style: italic; font-size: 13px; letter-spacing: .14em; color: var(--clay-dark); }
.hero-news { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px; max-width: calc(62% - 48px); padding: 10px 20px 10px 10px; background: rgba(251, 248, 242, .94); text-decoration: none; font-size: 13.5px; line-height: 1.6; box-shadow: var(--shadow); }
.hero-news span { font-family: var(--en); font-style: italic; font-size: 14px; color: #fff; background: var(--moss); padding: 2px 12px; }
.hero-news b { font-weight: 500; }

/* ---------- 器のこと ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--clay); z-index: -1; }
.about-text p:not(.label):not(.sign) { margin-top: 20px; }
.about-text .h2 + p { margin-top: 28px !important; }
.sign { margin-top: 28px; font-size: 13px; color: var(--muted); }
.sign b { font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: .3em; margin: 0 8px; }
.sign small { font-family: var(--en); font-style: italic; font-size: 14px; }
.about-facts { display: flex; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-facts li { flex: 1; text-align: center; padding: 16px 6px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.about-facts li + li { border-left: 1px solid var(--line); }
.about-facts b { display: block; font-family: var(--en); font-size: 26px; font-weight: 400; color: var(--ink); letter-spacing: .04em; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(64px, 8vw, 100px); }
.process figure img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.85); }
.process figcaption { margin-top: 12px; font-size: 14.5px; display: flex; align-items: baseline; gap: 10px; }
.process figcaption span { font-family: var(--en); font-style: italic; color: var(--clay-dark); font-size: 18px; }

/* ---------- ギャラリー ---------- */
.gallery { background: var(--paper) var(--grain); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chips button { min-height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 14px; transition: background .25s, color .25s, border-color .25s; }
.chips button:hover { border-color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gal-grid { columns: 3; column-gap: 16px; }
@media (max-width: 860px) { .gal-grid { columns: 2; column-gap: 10px; } .gal-grid li { margin-bottom: 10px; } }
.gal-grid li { break-inside: avoid; margin-bottom: 16px; animation: rise .5s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.gal-grid button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; overflow: hidden; }
.gal-grid img { width: 100%; transition: transform .6s ease; }
.gal-grid button:hover img { transform: scale(1.04); }
.gal-grid button span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: 13px; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(47, 43, 40, .65)); opacity: 0; transition: opacity .3s; }
.gal-grid button:hover span, .gal-grid button:focus-visible span { opacity: 1; }

/* ---------- ショップ ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 30px) clamp(14px, 2vw, 24px); }
.item { display: flex; flex-direction: column; }
.item-photo { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--linen-2); cursor: pointer; overflow: hidden; }
.item-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s ease; }
.item-photo:hover img { transform: scale(1.04); }
.badge { position: absolute; left: 10px; top: 10px; font-size: 11.5px; padding: 1px 10px; background: var(--paper); line-height: 1.9; letter-spacing: .08em; }
.badge.few { background: var(--clay-dark); color: #fff; }
.badge.order { background: var(--moss); color: #fff; }
.badge.sold { background: var(--ink); color: #fff; }
.item-glaze { margin-top: 12px; font-size: 12px; color: var(--muted); }
.item h3 { font-weight: 600; font-size: 16px; line-height: 1.6; }
.item-price { font-family: var(--en); font-size: 19px; margin-top: 2px; }
.item-price small { font-family: var(--serif); font-size: 11px; color: var(--muted); margin-left: 4px; }
.item-add { margin-top: 10px; min-height: 42px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 13.5px; letter-spacing: .12em; transition: background .25s, color .25s; }
.item-add:hover:not(:disabled) { background: var(--ink); color: #fff; }
.item-add:disabled { border-color: var(--line); color: var(--muted); cursor: default; }

/* ---------- 食卓 ---------- */
.table-scene { padding: 0; }
.scene { position: relative; }
.scene img { width: 100%; height: clamp(360px, 62vw, 680px); object-fit: cover; }
.scene figcaption { position: absolute; right: clamp(20px, 6vw, 90px); bottom: clamp(20px, 5vw, 60px); background: rgba(251, 248, 242, .94); padding: 22px 30px; font-size: clamp(15px, 1.6vw, 18px); line-height: 2.1; box-shadow: var(--shadow); }

/* ---------- 展示 ---------- */
.exhibit-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ex-list { margin-top: 28px; border-top: 1px solid var(--line); }
.ex-list li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ex-date { font-family: var(--en); line-height: 1.2; }
.ex-date b { display: block; font-size: 30px; font-weight: 400; }
.ex-date small { font-size: 13px; color: var(--muted); }
.ex-status { display: inline-block; font-size: 11.5px; padding: 0 10px; line-height: 2; margin-bottom: 6px; border: 1px solid currentColor; }
.ex-status.now { background: var(--clay-dark); border-color: var(--clay-dark); color: #fff; }
.ex-status.soon { color: var(--clay-dark); }
.ex-status.later { color: var(--muted); }
.ex-list h3 { font-weight: 600; font-size: 17px; line-height: 1.6; }
.ex-list p { font-size: 13.5px; color: var(--muted); line-height: 1.8; margin-top: 4px; }
.ex-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- 扱い方 ---------- */
.care { background: var(--linen-2) var(--grain); }
.care-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.care-steps li { background: var(--paper); padding: 30px 26px; position: relative; }
.cs-n { position: absolute; top: -18px; left: 22px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--moss); color: #fff; font-size: 17px; }
.care-steps h3 { font-weight: 600; font-size: 18px; margin-top: 6px; }
.care-steps p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.care-table { max-width: 760px; margin: 40px auto 0; }
.care-table table { width: 100%; border-collapse: collapse; background: var(--paper); text-align: center; font-size: 14.5px; }
.care-table caption { font-weight: 600; font-size: 16px; padding-bottom: 12px; letter-spacing: .14em; }
.care-table th, .care-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); }
.care-table thead th { font-weight: 500; font-size: 13px; color: var(--muted); }
.care-table tbody th { text-align: left; font-weight: 500; }
.ok, .ng, .mid { font-size: 18px; }
.ok { color: var(--moss-dark); }
.mid { color: var(--clay-dark); }
.ng { color: #A69C92; }
.care-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- オーダー ---------- */
.order-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.order-grid .h2 + p { margin-top: 20px; }
.order-info { margin-top: 24px; border-top: 1px solid var(--line); }
.order-info div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.order-info dt { color: var(--clay-dark); }
.order-photo { margin-top: 28px; }
.order-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.order-form { background: var(--paper); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow); }
.f { display: block; margin-bottom: 20px; }
.f > span { display: flex; align-items: baseline; gap: 6px; font-size: 13.5px; margin-bottom: 8px; letter-spacing: .12em; }
.f output { font-family: var(--en); font-size: 22px; color: var(--clay-dark); }
.f input[type="text"], .f input[type="email"], .f select, .f textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: #fff; border-radius: 3px; font-size: 16px; }
.f select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232F2B28' stroke-width='1.3'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; padding-right: 40px; cursor: pointer; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(160, 103, 75, .15); }
.f .is-invalid { border-color: #B3412E; }
.f input[type="range"] { width: 100%; accent-color: var(--clay-dark); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 46px; padding: 4px 8px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; line-height: 1.5; transition: background .2s, border-color .2s; }
.seg input:checked + span { border-color: var(--clay-dark); background: #F6ECE5; color: var(--clay-dark); }
.seg input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.estimate { margin: -4px 0 20px; padding: 12px 16px; background: var(--linen-2); font-size: 14px; line-height: 1.8; }
.estimate b { font-family: var(--en); font-size: 20px; font-weight: 500; color: var(--clay-dark); }
.err { display: block; min-height: 1em; color: #B3412E; font-size: 12.5px; margin-top: 4px; line-height: 1.6; }
.confirm-title { font-weight: 600; font-size: 17px; margin-bottom: 14px; }
.confirm { border-top: 1px solid var(--line); margin-bottom: 24px; }
.confirm div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.confirm dt { color: var(--muted); }
.confirm dd { white-space: pre-wrap; word-break: break-word; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-row .btn { flex: 1; }
.order-done { text-align: center; padding: 30px 0; }
.order-done:focus { outline: none; }
.done-mark { width: 72px; height: 72px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--clay); color: var(--clay-dark); font-size: 30px; }
.order-done h3 { font-weight: 600; font-size: 21px; margin-top: 16px; }
.order-done p { margin-top: 8px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .82); padding: 54px 0 28px; font-size: 13.5px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; }
.f-logo { font-size: 22px; font-weight: 700; letter-spacing: .3em; color: #fff; line-height: 1.4; }
.f-logo small { display: block; font-family: var(--en); font-size: 11px; font-weight: 400; letter-spacing: .3em; opacity: .7; }
.demo-note { width: min(1160px, calc(100% - 48px)); margin: 28px auto 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 12px; line-height: 1.9; opacity: .75; }
.copy { text-align: center; font-family: var(--en); font-size: 12px; margin-top: 14px; opacity: .55; letter-spacing: .2em; }

/* ---------- 商品の詳細 ---------- */
dialog { padding: 0; border: 0; color: inherit; }
.pd { width: min(920px, calc(100% - 32px)); max-height: calc(100svh - 32px); background: var(--paper); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.pd::backdrop { background: rgba(47, 43, 40, .55); backdrop-filter: blur(3px); }
.pd[open] { animation: pop .35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.pd-inner { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.pd-photo img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.pd-body { padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; }
.pd-close { position: absolute; top: 10px; right: 10px; z-index: 1; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(251, 248, 242, .92); font-size: 22px; cursor: pointer; line-height: 1; }
.pd-glaze { font-size: 12.5px; color: var(--muted); }
.pd h3 { font-weight: 600; font-size: 22px; line-height: 1.6; margin-top: 4px; }
.pd-price { font-family: var(--en); font-size: 26px; margin-top: 4px; }
.pd-price small { font-family: var(--serif); font-size: 12px; color: var(--muted); margin-left: 6px; }
.pd-desc { margin-top: 14px; font-size: 14px; line-height: 2; }
.pd-spec { margin: 18px 0; border-top: 1px solid var(--line); }
.pd-spec div { display: grid; grid-template-columns: 6.5em 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.pd-spec dt { color: var(--muted); }
.pd-stock { font-size: 13px; color: var(--clay-dark); margin: auto 0 12px; }

/* ---------- 拡大表示 ---------- */
.lb { width: 100vw; height: 100svh; max-width: none; max-height: none; background: rgba(28, 25, 23, .96); color: #fff; }
.lb::backdrop { background: rgba(28, 25, 23, .96); }
.lb[open] { display: grid; place-items: center; }
.lb figure { max-width: min(1100px, 92vw); text-align: center; }
.lb img { max-width: 100%; max-height: 80svh; margin: 0 auto; object-fit: contain; }
.lb figcaption { margin-top: 14px; font-size: 14px; opacity: .85; }
.lb-btn, .lb-close { position: fixed; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 28px; line-height: 1; }
.lb-btn:hover, .lb-close:hover { background: rgba(255, 255, 255, .25); }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 18px; top: 18px; font-size: 24px; }

/* ---------- カート ---------- */
.drawer-bg { position: fixed; inset: 0; z-index: 90; background: rgba(47, 43, 40, .45); }
.drawer { position: fixed; z-index: 91; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s cubic-bezier(.2, .7, .2, 1); box-shadow: -20px 0 50px -30px rgba(0, 0, 0, .6); }
.drawer.is-open { transform: none; }
.drawer:focus { outline: none; }
.dr-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.dr-head p { font-weight: 600; letter-spacing: .2em; }
.dr-head button { width: 40px; height: 40px; border: 0; background: none; font-size: 24px; cursor: pointer; }
.dr-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.dr-empty { text-align: center; color: var(--muted); padding: 60px 0; font-size: 14px; }
.ci { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ci img { width: 72px; height: 72px; object-fit: cover; }
.ci-name { font-size: 14px; line-height: 1.6; }
.ci-price { font-family: var(--en); font-size: 15px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 6px; }
.qty button { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; font-size: 16px; }
.qty button:disabled { opacity: .3; cursor: default; }
.qty span { min-width: 28px; text-align: center; font-family: var(--en); }
.ci-del { border: 0; background: none; color: var(--muted); font-size: 12px; cursor: pointer; text-decoration: underline; align-self: start; }
.dr-foot { border-top: 1px solid var(--line); padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); }
.dr-row { display: flex; justify-content: space-between; font-size: 14px; line-height: 2; }
.dr-row b { font-family: var(--en); font-weight: 500; }
.dr-total { font-size: 16px; padding-top: 6px; margin-top: 6px; border-top: 1px dashed var(--line); }
.dr-total b { font-size: 22px; }
.dr-free { font-size: 12.5px; color: var(--moss-dark); margin: 6px 0 12px; }
.dr-free i { display: block; height: 4px; background: var(--linen-2); margin-top: 6px; border-radius: 4px; overflow: hidden; }
.dr-free i::after { content: ""; display: block; height: 100%; width: var(--p, 0%); background: var(--moss); transition: width .4s; }
.dr-done { text-align: center; padding: 50px 10px; }
.dr-done h3 { font-weight: 600; font-size: 19px; margin-top: 10px; }
.dr-done p { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.toast { position: fixed; z-index: 95; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 24px; font-size: 14px; opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s ease, transform 1s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1080px) { .gnav { display: none; } .cart-btn { margin-left: auto; } .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo img { height: 56svh; min-height: 320px; }
  .hero-text { flex-direction: row-reverse; justify-content: center; padding: 46px 24px 50px; gap: 26px; }
  .hero h1 { font-size: clamp(28px, 7vw, 36px); }
  .hero-lead { writing-mode: vertical-rl; text-align: left; font-size: 13.5px; line-height: 2.2; height: 16.5em; }
  .hero-en { display: none; }
  .hero-news { position: static; max-width: none; margin: 0 24px; grid-column: 1; order: 3; }
  .about-grid, .exhibit-grid, .order-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 460px; }
  .process { grid-template-columns: 1fr 1fr; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .care-steps { grid-template-columns: 1fr; gap: 30px; }
  .ex-photo img { aspect-ratio: 16 / 10; }
  .pd-inner { grid-template-columns: 1fr; }
  .pd-photo img { aspect-ratio: 4 / 3; }
  .head--row .note { text-align: left; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 62px; gap: 12px; }
  .logo svg { width: 38px; height: 38px; }
  .logo b { font-size: 17px; }
  .cart-btn span { display: none; }
  .cart-btn { padding: 0 12px; }
  .hero-news { margin: 0 18px; font-size: 12.5px; }
  .shop-grid { gap: 22px 12px; }
  .item h3 { font-size: 14.5px; }
  .item-price { font-size: 17px; }
  .scene figcaption { left: 18px; right: 18px; bottom: 18px; padding: 16px 18px; }
  .ex-list li { grid-template-columns: 80px 1fr; gap: 14px; }
  .ex-date b { font-size: 24px; }
  .seg { grid-template-columns: 1fr; }
  .care-table th, .care-table td { padding: 12px 4px; font-size: 13px; }
  .lb-btn { top: auto; bottom: 18px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .gal-grid li, .pd[open], .cart-btn.bump b { animation: none; }
  .drawer, .toast, .gal-grid img, .item-photo img { transition: none; }
}

/* ---- 日本語の改行（全サイト共通・2026-10-17 追加）----
   見出し・ボタンは文節で折り返し（Chrome/Edge）、本文は最後の行に1〜2文字だけ残るのを防ぐ。
   :where() で詳細度を0にしているので、各サイトの個別指定が常に優先される */
:where(h1, h2, h3, h4, h5, h6, dt, th, figcaption, button, label, [class*="lead"]) { word-break: auto-phrase; overflow-wrap: anywhere; text-wrap: balance; }
:where(p, li, dd, td, blockquote) { text-wrap: pretty; line-break: strict; }
:where(time, .nw) { white-space: nowrap; }

/* ---- フッターのナビと営業情報（2026-10-17 追加）---- 色と書体はフッターから受け継ぐ */
.pf-fnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 28px; margin: 26px auto 0; padding: 0 16px; }
.pf-fnav a { padding: 6px 0; font-size: 13px; letter-spacing: .12em; text-decoration: none; color: inherit; opacity: .82; transition: opacity .2s; }
.pf-fnav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.pf-finfo { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 22px; margin: 12px auto 0; padding: 0 16px; font-size: 12.5px; line-height: 1.8; opacity: .72; }
.pf-finfo span { white-space: nowrap; }
@media (max-width: 600px) { .pf-fnav { gap: 0 20px; } .pf-finfo { flex-direction: column; align-items: center; gap: 0; } .pf-finfo span { white-space: normal; text-wrap: balance; text-align: center; } }

/* 購入手続きのお名前・メール（管理画面の「ご注文」に届く） */
.co-f { display: grid; gap: 8px; margin: 14px 0 0; }
.co-f label { display: grid; gap: 4px; font-size: 12.5px; }
.co-f input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid rgba(120, 100, 80, .4); border-radius: 10px; background: #fff; color: inherit; font-size: 16px; }
.co-f input.is-invalid { border-color: #B3261E; }
.co-err { color: #B3261E; font-size: 12px; min-height: 1em; }
