/* ドリップ道具店 一滴 — 実験器具の白 × ガラスの琥珀色、細い計量線 */
:root {
  --paper: #fbfbf8;
  --white: #ffffff;
  --ink: #23201c;
  --ink-2: #6b665e;
  --amber: #b86b1c;
  --amber-d: #8a4c0f;
  --amber-l: #f3e2c8;
  --glass: rgba(184, 107, 28, .12);
  --line: #d9d5cc;
  --tick: #c9c3b6;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-weight: 400; color: var(--ink); line-height: 1.85; background: var(--paper); overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
.mono, .read b, .pr, .price, .sub, .num, .tray .n { font-family: 'IBM Plex Mono', ui-monospace, monospace; }

/* ヘッダー */
.bar { position: sticky; top: 0; z-index: 30; background: rgba(251, 251, 248, .97); border-bottom: 1px solid var(--line); }
.bar::after { content: ''; display: block; height: 6px;
  background: repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 10px) bottom/100% 4px no-repeat,
              repeating-linear-gradient(90deg, var(--amber) 0 1px, transparent 1px 50px) bottom/100% 6px no-repeat; }
.barin { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 12px 24px 8px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo .drop { width: 16px; height: 22px; color: var(--amber); }
.logo .j { font-size: 26px; font-weight: 700; letter-spacing: .08em; }
.logo .e { font-family: 'IBM Plex Mono', monospace; font-size: 9px; line-height: 1.25; color: var(--ink-2); letter-spacing: .12em; border-left: 1px solid var(--line); padding-left: 8px; }
.gnav { margin-left: auto; display: flex; gap: 24px; font-size: 13px; }
.gnav a { text-decoration: none; color: var(--ink-2); }
.gnav a:hover { color: var(--amber-d); }
.tray { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 13px; border: 1px solid var(--ink); padding: 6px 6px 6px 14px; background: var(--white); }
.tray .n { background: var(--amber); color: #fff; min-width: 26px; padding: 0 6px; text-align: center; font-size: 13px; line-height: 24px; }

/* ヒーロー */
.lab { max-width: 1200px; margin: 0 auto; padding: 50px 24px 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.lab .eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .2em; color: var(--amber-d); }
.lab h1 { font-size: 64px; font-weight: 700; letter-spacing: .1em; line-height: 1.2; margin: 8px 0 4px; }
.lab h1 small { display: block; font-size: 16px; font-weight: 400; letter-spacing: .25em; color: var(--ink-2); }
.lab .lead { font-size: 16px; margin-top: 18px; }
.scale { display: flex; gap: 0; margin-top: 26px; border-top: 1px solid var(--ink); }
.scale div { flex: 1; padding: 8px 10px 0 0; border-left: 1px solid var(--line); padding-left: 10px; }
.scale div:first-child { border-left: 0; padding-left: 0; }
.scale b { font-family: 'IBM Plex Mono', monospace; font-size: 26px; font-weight: 500; color: var(--amber-d); display: block; line-height: 1.2; }
.scale span { font-size: 11px; color: var(--ink-2); }
.lab .go { display: inline-block; margin-top: 28px; background: var(--ink); color: #fff; text-decoration: none; padding: 12px 30px; font-size: 14px; letter-spacing: .15em; }
.lab .go:hover { background: var(--amber-d); }
.beaker { position: relative; padding: 0 0 0 38px; text-decoration: none; display: block; }
.beaker::before { content: ''; position: absolute; left: 0; top: 10%; bottom: 8%; width: 28px;
  background: repeating-linear-gradient(180deg, var(--ink-2) 0 1px, transparent 1px 12px) right/12px 100% no-repeat,
              repeating-linear-gradient(180deg, var(--ink) 0 1px, transparent 1px 60px) right/26px 100% no-repeat; }
.beaker img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0 0 36px 36px; border: 1px solid var(--line); border-top: 0; }
.beaker .cap { position: absolute; right: 10px; bottom: 14px; font-size: 11px; background: rgba(255,255,255,.88); padding: 1px 8px; }

/* 道具一覧 */
.dougu { max-width: 1200px; margin: 0 auto; padding: 20px 24px 70px; display: grid; grid-template-columns: 220px 1fr; gap: 36px; }
.cyl { position: sticky; top: 90px; align-self: start; }
.cyl h2 { font-size: 13px; letter-spacing: .2em; color: var(--ink-2); font-weight: 500; margin-bottom: 10px; }
.cyl ul { list-style: none; border-left: 2px solid var(--ink); }
.cyl li button { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 9px 0 9px 0; font-size: 14px; position: relative; }
.cyl li button::before { content: ''; width: 14px; height: 1px; background: var(--ink); flex: none; }
.cyl li button i { margin-left: auto; font-style: normal; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-2); }
.cyl li button.on { color: var(--amber-d); font-weight: 700; }
.cyl li button.on::before { width: 24px; height: 3px; background: var(--amber); }
.cyl li button.on i { color: var(--amber-d); }
.list-h { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--ink); padding-bottom: 8px; margin-bottom: 24px; gap: 10px; flex-wrap: wrap; }
.list-h h2 { font-size: 24px; letter-spacing: .15em; }
.list-h .count { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-2); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 22px; }
.grid.small { grid-template-columns: repeat(4, 1fr); }
.vial { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid var(--line); padding: 0 0 14px; position: relative; transition: border-color .15s; }
.vial:hover { border-color: var(--amber); }
.vial::after { content: ''; position: absolute; right: 0; top: 54px; height: 120px; width: 8px;
  background: repeating-linear-gradient(180deg, var(--tick) 0 1px, transparent 1px 12px); }
.vial .read { display: flex; align-items: baseline; gap: 6px; padding: 10px 14px 8px; border-bottom: 1px dashed var(--line); min-height: 54px; }
.vial .read b { font-size: 26px; font-weight: 500; color: var(--amber-d); line-height: 1.2; }
.vial .read i { font-style: normal; font-size: 11px; color: var(--ink-2); line-height: 1.3; }
.vial .ph { display: block; margin: 12px 14px 0; background: var(--glass); }
.vial .ph img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.vial .kind { font-size: 11px; color: var(--ink-2); padding: 10px 14px 0; letter-spacing: .05em; }
.vial .nm { font-size: 14px; font-weight: 500; line-height: 1.55; padding: 2px 14px 0; flex: 1; }
.vial .pr { font-size: 18px; padding: 8px 14px 0; }
.vial .pr small { font-family: 'Noto Sans JP', sans-serif; font-size: 11px; margin-left: 4px; color: var(--ink-2); }

/* お約束 */
.yakusoku { background: var(--amber-l); padding: 56px 24px; scroll-margin-top: 80px; }
.yakusoku h2 { max-width: 1200px; margin: 0 auto 26px; font-size: 22px; letter-spacing: .2em; }
.yakusoku ol { max-width: 1200px; margin: 0 auto; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--amber-d); }
.yakusoku li { padding: 18px 22px 10px 0; border-right: 1px solid rgba(138, 76, 15, .3); padding-left: 22px; }
.yakusoku li:first-child { padding-left: 0; }
.yakusoku li:last-child { border-right: 0; }
.yakusoku li .num { font-size: 32px; color: var(--amber-d); line-height: 1; }
.yakusoku h3 { font-size: 16px; margin: 10px 0 6px; }
.yakusoku p { font-size: 14px; }
.dougu { scroll-margin-top: 70px; }

/* フッター */
.foot { background: #1f1c18; color: #d8d2c6; }
.foot::before { content: ''; display: block; height: 10px; background: repeating-linear-gradient(90deg, #6b665e 0 1px, transparent 1px 10px), #2a2621; }
.footin { max-width: 1200px; margin: 0 auto; padding: 36px 24px 30px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; font-size: 13px; }
.foot .fname { display: flex; align-items: center; gap: 8px; font-size: 18px; color: #fff; font-weight: 700; letter-spacing: .1em; }
.foot .fname .drop { width: 14px; height: 20px; color: var(--amber); }
.foot .tag { margin-top: 6px; }
.foot .ship { margin-top: 8px; color: #e9b77a; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 14px; }
.foot nav a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); }
.foot .copy { margin-top: 12px; font-size: 11px; color: #8d877b; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 11px 22px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 60; border-bottom: 3px solid var(--amber); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ボタン */
.btn { display: inline-block; text-align: center; background: var(--amber-d); color: #fff; border: 0; padding: 13px 26px; font-size: 15px; letter-spacing: .1em; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--ink); }
.btn.line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.block { display: block; width: 100%; }

/* 商品ページ */
.page { max-width: 1200px; margin: 0 auto; padding: 22px 24px 70px; }
.crumb { font-size: 12px; color: var(--ink-2); margin-bottom: 20px; }
.crumb a { text-decoration: none; border-bottom: 1px solid var(--line); }
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.pd-ph { min-width: 0; }
.pd-ph .main-img { background: var(--white); border: 1px solid var(--line); }
.pd-ph .main-img img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pd-ph .cap { font-size: 12px; color: var(--ink-2); margin-top: 6px; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 12px; }
.thumbs button { border: 1px solid var(--line); background: #fff; padding: 2px; cursor: pointer; }
.thumbs button.on { border: 2px solid var(--amber); }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pinfo { min-width: 0; }
.pinfo .kind { font-size: 12px; color: var(--ink-2); letter-spacing: .05em; }
.pinfo h1 { font-size: 24px; line-height: 1.5; margin: 4px 0 14px; font-weight: 700; }
.gauge { display: flex; align-items: flex-end; gap: 14px; border-left: 3px solid var(--amber); padding: 4px 0 4px 14px; margin-bottom: 16px;
  background: repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 8px) bottom/100% 6px no-repeat; padding-bottom: 12px; }
.gauge b { font-family: 'IBM Plex Mono', monospace; font-size: 44px; font-weight: 500; color: var(--amber-d); line-height: 1; }
.gauge span { font-size: 13px; color: var(--ink-2); }
.pinfo .price { font-size: 30px; margin-bottom: 14px; }
.pinfo .price small { font-family: 'Noto Sans JP', sans-serif; font-size: 13px; color: var(--ink-2); }
.pinfo .desc { white-space: pre-line; font-size: 15px; margin-bottom: 18px; }
.opt { margin-bottom: 14px; }
.opt .t { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.vals { display: flex; flex-wrap: wrap; gap: 6px; }
.vals button { border: 1px solid var(--line); background: var(--white); padding: 6px 12px; cursor: pointer; font-size: 13px; }
.vals button.on { border-color: var(--amber-d); background: var(--amber-d); color: #fff; }
.opt .free { width: 100%; border: 1px solid var(--line); background: #fff; padding: 9px 10px; font-size: 14px; }
.varies, .noret { font-size: 13px; padding: 8px 12px; margin-bottom: 12px; }
.varies { background: var(--amber-l); }
.noret { background: #f6e1dc; }
.buy { display: flex; gap: 12px; align-items: stretch; margin: 16px 0 6px; flex-wrap: wrap; }
.qty { display: inline-flex; border: 1px solid var(--ink); background: var(--white); }
.qty button { width: 40px; border: 0; background: transparent; font-size: 18px; cursor: pointer; }
.qty input { width: 46px; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: transparent; font-family: 'IBM Plex Mono', monospace; }
.buy .btn { flex: 1; min-width: 180px; }
.msg { color: #a3361f; font-size: 13px; min-height: 20px; }
.shipl { list-style: none; font-size: 13px; margin: 10px 0 22px; border-top: 1px solid var(--line); }
.shipl li { padding: 7px 0 7px 22px; border-bottom: 1px solid var(--line); position: relative; }
.shipl li::before { content: ''; position: absolute; left: 4px; top: 15px; width: 8px; height: 11px; background: var(--amber); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.spec h2, .more h2 { font-size: 15px; letter-spacing: .15em; border-bottom: 1px solid var(--ink); padding-bottom: 4px; margin-bottom: 4px; }
.spec dl > div { display: grid; grid-template-columns: 9em 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.spec dt { color: var(--ink-2); }
.note { margin-top: 16px; font-size: 13px; color: var(--ink-2); }
.note .warn { color: var(--ink); background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--amber); padding: 10px 12px; margin-bottom: 8px; }
.more { margin-top: 60px; }
.more h2 { margin-bottom: 20px; }
.empty { text-align: center; padding: 60px 0; }
.empty p { margin-bottom: 18px; }

/* 道具トレー */
.ptitle { max-width: 1200px; margin: 0 auto; padding: 32px 24px 0; }
.ptitle h1 { font-size: 26px; letter-spacing: .15em; border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.cart { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
.cart .row { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart .row img { width: 96px; height: 96px; object-fit: cover; border: 1px solid var(--line); }
.cart .row .nm { font-weight: 500; text-decoration: none; }
.cart .op { font-size: 12px; color: var(--ink-2); }
.cart .warnc { color: #a3361f; }
.cart .row .qty { margin-top: 6px; }
.cart .row .qty button { width: 32px; }
.cart .row .qty input { width: 38px; }
.cart .rm { background: none; border: 0; color: var(--ink-2); font-size: 12px; text-decoration: underline; cursor: pointer; margin-top: 6px; }
.cart .sub { font-size: 16px; }
.sum { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--amber); padding: 20px; position: sticky; top: 100px; }
.sum dl { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 14px; margin-bottom: 14px; }
.sum dd { text-align: right; font-family: 'IBM Plex Mono', 'Noto Sans JP', monospace; }
.sum .total { font-weight: 700; border-top: 1px solid var(--ink); padding-top: 8px; }
.sum dd.total { font-size: 22px; color: var(--amber-d); }
.sum .free { font-size: 12px; color: var(--ink-2); margin-bottom: 10px; }
.modal { position: fixed; inset: 0; background: rgba(31, 28, 24, .55); display: none; align-items: center; justify-content: center; z-index: 80; padding: 16px; }
.modal.show { display: flex; }
.modal .box { background: var(--paper); max-width: 460px; width: 100%; padding: 28px 24px; border-top: 4px solid var(--amber); }
.modal h2 { font-size: 18px; margin-bottom: 10px; }
.modal p { font-size: 14px; margin-bottom: 14px; }

/* 法務ページ */
.legal { max-width: 860px; margin: 0 auto; padding: 24px 24px 60px; font-size: 14px; }
.legal .lead { border-left: 3px solid var(--amber); background: var(--white); padding: 12px 16px; margin-bottom: 20px; }
.legal h2 { font-size: 15px; margin: 24px 0 6px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.legal ul { padding-left: 1.4em; }
.toku > div { display: grid; grid-template-columns: 11em 1fr; border-bottom: 1px solid var(--line); }
.toku dt { padding: 12px 10px 12px 0; font-weight: 700; font-size: 13px; }
.toku dd { padding: 12px 0; }

@media (max-width: 960px) {
  .lab { grid-template-columns: 1fr; gap: 28px; padding-top: 30px; }
  .lab h1 { font-size: 48px; }
  .dougu { grid-template-columns: 1fr; gap: 10px; }
  .cyl { position: static; }
  .cyl ul { border-left: 0; display: flex; flex-wrap: wrap; gap: 6px; }
  .cyl li button { border: 1px solid var(--line); background: var(--white); padding: 5px 10px; font-size: 13px; width: auto; gap: 6px; }
  .cyl li button::before { display: none; }
  .cyl li button.on { border-color: var(--amber-d); background: var(--amber-d); color: #fff; }
  .cyl li button.on i { color: #fff; }
  .grid, .grid.small { grid-template-columns: repeat(3, 1fr); }
  .pd { grid-template-columns: 1fr; gap: 24px; }
  .cart { grid-template-columns: 1fr; }
  .sum { position: static; }
  .yakusoku ol { grid-template-columns: 1fr; }
  .yakusoku li { border-right: 0; border-bottom: 1px solid rgba(138, 76, 15, .3); padding-left: 0; }
  .footin { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .barin { padding: 10px 16px 6px; gap: 10px; }
  .gnav { display: none; }
  .tray { margin-left: auto; }
  .logo .e { display: none; }
  .lab, .dougu, .page, .ptitle, .legal { padding-left: 16px; padding-right: 16px; }
  .yakusoku { padding-left: 16px; padding-right: 16px; }
  .lab h1 { font-size: 40px; }
  .scale b { font-size: 19px; }
  .grid, .grid.small { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .vial .read b { font-size: 20px; }
  .vial .nm { font-size: 13px; }
  .vial .pr { font-size: 16px; }
  .thumbs { grid-template-columns: repeat(5, 1fr); }
  .gauge b { font-size: 36px; }
  .spec dl > div { grid-template-columns: 6.5em 1fr; }
  .toku > div { grid-template-columns: 1fr; }
  .toku dt { padding-bottom: 0; }
  .cart .row { grid-template-columns: 72px 1fr; }
  .cart .row img { width: 72px; height: 72px; }
  .cart .sub { grid-column: 2; }
}

:root{--review-accent:var(--amber);--review-line:var(--line);--review-ink:var(--ink);--review-paper:var(--paper)}
/* Purchase reviews inherit each shop's type, colors and buttons. */
.reviews-section{margin-block:48px;padding-block:24px;max-width:100%}
.reviews-section[hidden],.rv[hidden],.rv-sheet[hidden]{display:none!important}
.reviews-section h2{font-size:1.35rem;margin-bottom:20px}
.rv-summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:20px}
.stars{white-space:nowrap;letter-spacing:.08em;opacity:.8}.stars .on{color:var(--review-accent);opacity:1}
.rv-avg{font-size:1.5rem;font-weight:bold}.rv-count,.rv-meta{font-size:.85rem;opacity:.75}
.rv-list{list-style:none;padding:0;margin:0}.rv{padding:22px 0;border-top:1px solid var(--review-line)}
.rv-head{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.rv-badge{font-size:.7rem;border:1px solid currentColor;padding:2px 6px;border-radius:3px;opacity:.8}
.rv h4{margin:12px 0 8px;font-size:1rem}.rv p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;margin:8px 0}
.rv-meta,.rv-item{margin-top:8px}.rv-item{font-size:.85rem;overflow-wrap:anywhere}
.rv-more{margin-top:20px;cursor:pointer;font:inherit}.product-review-rating{display:inline-flex;gap:10px;align-items:center;margin:10px 0;font-size:.9rem}
.card-w{min-width:0;display:flex;flex-direction:column}.card-w>a{flex:1}.card-rv{background:transparent;color:inherit;border:1px solid var(--review-line);padding:10px 6px;font:inherit;font-size:.8rem;cursor:pointer;display:flex;gap:7px;justify-content:center;align-items:center;flex-wrap:wrap;width:100%}
.rv-sheet{position:fixed;inset:0;z-index:10000;background:#0008;display:flex;align-items:center;justify-content:center;padding:16px;color:var(--review-ink)}
.rv-sheet-box{width:640px;max-width:100%;max-height:85vh;overflow:auto;background:var(--review-paper);padding:24px;border:1px solid var(--review-line);border-radius:8px}
.rv-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.rv-sheet-head h3{font-size:1.1rem;overflow-wrap:anywhere}
.rv-sheet-x{font:inherit;font-size:1.8rem;line-height:1;background:transparent;color:inherit;border:0;cursor:pointer;padding:0 4px}.rv-sheet-go{margin-top:16px;display:inline-block}
@media(max-width:480px){.rv-sheet-box{padding:18px}.reviews-section{margin-block:28px}.card-rv{font-size:.72rem}}
