/* 織りと毛足 — 生成り×くすみ紺。経糸緯糸の格子、正方形タイル、サイズを大きく */
:root {
  --kinari: #f3ecdf;
  --kinari2: #e9e0cd;
  --paper: #fbf8f2;
  --navy: #3b4862;
  --navy-d: #283146;
  --ink: #2c2e33;
  --mute: #6c6a64;
  --thread: #b8a785;
  --line: #d9cfba;
  --rust: #a4583b;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --num: "Jost", "Futura", "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); color: var(--ink); line-height: 1.8; font-size: 15px;
  background-color: var(--kinari);
  /* 経糸と緯糸の織り目 */
  background-image:
    repeating-linear-gradient(90deg, rgba(59, 72, 98, .055) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(0deg, rgba(120, 100, 60, .05) 0 1px, transparent 1px 7px);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* お知らせ帯 */
.notice { background: var(--navy-d); color: #e9e2d2; font-size: 12px; letter-spacing: .06em; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 22px; padding: 6px 12px; text-align: center; }

/* ヘッダー */
.hd { background: var(--paper); border-bottom: 3px double var(--navy); position: sticky; top: 0; z-index: 20; }
.hd-in { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { display: flex; align-items: center; gap: 12px; }
.mark { width: 34px; height: 34px; flex: none; border: 1px solid var(--navy); }
.lg b { display: block; font-family: var(--serif); font-size: 22px; letter-spacing: .14em; line-height: 1.2; color: var(--navy-d); }
.lg i { display: block; font-style: normal; font-family: var(--num); font-size: 10px; letter-spacing: .32em; color: var(--mute); }
.hnav { display: flex; gap: 22px; margin-left: auto; font-size: 13px; letter-spacing: .08em; }
.hnav a { padding: 4px 0; border-bottom: 1px solid transparent; }
.hnav a:hover { border-color: var(--navy); }
.list-btn { display: flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; padding: 9px 14px; font-size: 13px; letter-spacing: .06em; outline: 1px dashed rgba(255, 255, 255, .55); outline-offset: -5px; }
.list-btn .n { font-family: var(--num); font-weight: 500; background: var(--kinari); color: var(--navy-d); min-width: 24px; text-align: center; padding: 0 6px; font-size: 13px; }

/* ヒーロー */
.hero { padding: 54px 0 46px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.45; letter-spacing: .08em; color: var(--navy-d); }
.hero h1 span { display: inline-block; border-bottom: 6px solid var(--thread); line-height: 1.1; }
.hero .lead { margin-top: 20px; max-width: 30em; color: #45464b; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero .facts li { list-style: none; font-size: 12px; border: 1px solid var(--navy); padding: 3px 10px; background: var(--paper); }
.hero .go { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; background: var(--navy); color: #fff; padding: 13px 26px; letter-spacing: .12em; font-size: 14px; }
.hero .go::after { content: ""; width: 18px; height: 1px; background: currentColor; }
.loom { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.loom figure { position: relative; aspect-ratio: 1; background: var(--paper); padding: 8px; border: 1px solid var(--line); }
.loom figure img { width: 100%; height: 100%; object-fit: cover; }
/* フリンジ（房） */
.loom figure::before, .loom figure::after { content: ""; position: absolute; left: 14px; right: 14px; height: 9px; background: repeating-linear-gradient(90deg, var(--thread) 0 2px, transparent 2px 6px); }
.loom figure::before { top: -9px; }
.loom figure::after { bottom: -9px; }
.loom figure:nth-child(2) { transform: translateY(26px); }
.loom figure:nth-child(3) { transform: translateY(-6px); }
.loom figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(40, 49, 70, .86); color: #fff; font-family: var(--num); font-size: 12px; letter-spacing: .08em; padding: 2px 8px; }

/* 見出し */
.sec { padding: 46px 0; }
.sh { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.sh h2 { font-family: var(--serif); font-size: 26px; letter-spacing: .12em; color: var(--navy-d); font-weight: 600; }
.sh .en { font-family: var(--num); font-size: 11px; letter-spacing: .3em; color: var(--mute); }
.sh::after { content: ""; flex: 1; height: 7px; align-self: center; background: repeating-linear-gradient(90deg, var(--navy) 0 7px, transparent 7px 10px); opacity: .25; }

/* 絞り込み：織り機の綜絖のように並ぶ2段 */
.loomer { background: var(--paper); border: 1px solid var(--line); margin-bottom: 26px; }
.loomer .row { display: grid; grid-template-columns: 92px 1fr; border-top: 1px solid var(--line); }
.loomer .row:first-child { border-top: 0; }
.loomer .lb { background: var(--navy); color: #fff; font-size: 12px; letter-spacing: .14em; display: flex; align-items: center; justify-content: center; writing-mode: horizontal-tb; }
.loomer .opts { display: flex; flex-wrap: wrap; }
.loomer .opts button { padding: 12px 16px; font-size: 13px; border-right: 1px solid var(--line); position: relative; letter-spacing: .04em; }
.loomer .opts button i { font-style: normal; font-family: var(--num); font-size: 11px; color: var(--mute); margin-left: 6px; }
.loomer .opts button.on { background: var(--kinari2); color: var(--navy-d); font-weight: 700; }
.loomer .opts button.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px; height: 3px; background: var(--navy); }
.loomer .opts button:disabled { opacity: .35; cursor: default; }
.count { font-size: 13px; color: var(--mute); margin: -10px 0 16px; }
.count b { font-family: var(--num); font-size: 18px; color: var(--navy-d); margin-right: 2px; }

/* 正方形タイル */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; }
.tile { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(40, 49, 70, .12); }
.tile .sq { aspect-ratio: 1; overflow: hidden; border-bottom: 1px solid var(--line); }
.tile .sq img { width: 100%; height: 100%; object-fit: cover; }
.tile .sz { font-family: var(--num); font-weight: 500; font-size: 19px; letter-spacing: .02em; color: var(--navy-d); padding: 10px 12px 0; line-height: 1.3; }
.tile .nm { font-size: 13px; padding: 4px 12px 0; line-height: 1.55; flex: 1; }
.tile .ft-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 12px 12px; }
.tile .ft-row em { font-style: normal; font-size: 11px; color: var(--mute); border: 1px solid var(--line); padding: 0 6px; white-space: nowrap; }
.tile .pr { font-family: var(--num); font-size: 17px; font-weight: 500; white-space: nowrap; }
.tile .pr small { font-family: var(--sans); font-size: 10px; margin-left: 2px; color: var(--mute); }

/* お店のお約束：横縞の帯 */
.promise { background: var(--navy-d); color: #ebe4d4; }
.promise .sh h2 { color: #fff; }
.promise .sh .en { color: #b5ad9c; }
.promise .sh::after { background: repeating-linear-gradient(90deg, #ebe4d4 0 7px, transparent 7px 10px); }
.bands { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.band { display: grid; grid-template-columns: 70px 220px 1fr; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.band .no { font-family: var(--num); font-size: 34px; color: var(--thread); line-height: 1; }
.band h3 { font-family: var(--serif); font-size: 18px; letter-spacing: .08em; color: #fff; font-weight: 600; }
.band p { font-size: 14px; }

/* フッター */
.ft { background: var(--paper); border-top: 3px double var(--navy); padding: 40px 0 26px; font-size: 13px; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.ft-shop { display: flex; gap: 14px; }
.ft-shop b { font-family: var(--serif); font-size: 18px; letter-spacing: .12em; }
.ft-shop .co { margin-top: 10px; color: var(--mute); font-size: 12px; }
.ft ul { list-style: none; }
.ft li { margin-bottom: 6px; }
.ft li.h { font-weight: 700; color: var(--navy-d); letter-spacing: .1em; }
.ft a:hover { text-decoration: underline; }
.copy { margin-top: 26px; font-size: 11px; color: var(--mute); font-family: var(--num); letter-spacing: .06em; }

/* 商品ページ */
.crumb { font-size: 12px; color: var(--mute); padding: 20px 0 6px; }
.crumb a { text-decoration: underline; }
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; padding: 10px 0 40px; }
.pd .main { background: var(--paper); border: 1px solid var(--line); padding: 10px; aspect-ratio: 1; }
.pd .main img { width: 100%; height: 100%; object-fit: contain; }
.pd .cap { font-size: 12px; color: var(--mute); margin-top: 8px; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 12px; }
.thumbs button { aspect-ratio: 1; border: 1px solid var(--line); background: var(--paper); padding: 2px; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.on { border: 2px solid var(--navy); }
.pd .tagline { font-size: 12px; letter-spacing: .1em; color: var(--mute); }
.pd .tagline b { color: var(--navy); font-weight: 500; }
.pd h1 { font-family: var(--serif); font-size: 24px; line-height: 1.55; letter-spacing: .04em; color: var(--navy-d); font-weight: 600; margin-top: 6px; }
.pd .bigsize { margin-top: 14px; display: flex; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
.pd .bigsize small { font-size: 11px; letter-spacing: .14em; color: var(--mute); }
.pd .bigsize span { font-family: var(--num); font-size: 30px; font-weight: 500; color: var(--navy-d); line-height: 1.2; }
.pd .price { font-family: var(--num); font-size: 30px; font-weight: 500; margin-top: 12px; }
.pd .price small { font-family: var(--sans); font-size: 12px; color: var(--mute); margin-left: 4px; }
.pd .desc { margin-top: 14px; white-space: pre-line; font-size: 14px; }
.pick { margin-top: 20px; }
.pick .t { font-size: 13px; font-weight: 700; color: var(--navy-d); margin-bottom: 8px; }
.pick .t span { font-weight: 400; color: var(--ink); }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.sizes button { border: 1px solid var(--line); background: var(--paper); padding: 10px 10px 8px; text-align: left; line-height: 1.35; }
.sizes button b { display: block; font-family: var(--num); font-weight: 500; font-size: 16px; color: var(--navy-d); }
.sizes button small { font-family: var(--num); font-size: 12px; color: var(--mute); }
.sizes button.on { border: 2px solid var(--navy); padding: 9px 9px 7px; background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { border: 1px solid var(--line); background: var(--paper); padding: 6px 12px; font-size: 13px; }
.chips button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.chips button:disabled { opacity: .35; text-decoration: line-through; cursor: default; }
.buy { display: flex; gap: 10px; margin-top: 22px; }
.qty { display: flex; border: 1px solid var(--navy); background: #fff; }
.qty button { width: 40px; font-size: 18px; }
.qty input { width: 44px; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font: inherit; font-family: var(--num); font-size: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--navy); color: #fff; padding: 13px 22px; font-size: 14px; letter-spacing: .1em; border: 1px solid var(--navy); }
.btn:hover { background: var(--navy-d); }
.btn.line { background: transparent; color: var(--navy); }
.btn.block { width: 100%; }
.buy .btn { flex: 1; }
.msg { color: var(--rust); font-size: 13px; min-height: 1.6em; margin-top: 6px; }
.ship { list-style: none; margin-top: 10px; font-size: 13px; border: 1px solid var(--line); background: var(--paper); padding: 12px 14px; }
.ship li { padding-left: 16px; position: relative; }
.ship li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 2px; background: var(--navy); }
.ship li.no { color: var(--rust); }
.spec { margin-top: 26px; }
.spec h3, .note h3 { font-family: var(--serif); font-size: 17px; letter-spacing: .1em; color: var(--navy-d); border-left: 4px solid var(--navy); padding-left: 10px; margin-bottom: 10px; }
.spec table { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--paper); }
.spec th, .spec td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; white-space: pre-line; }
.spec th { width: 32%; background: var(--kinari2); font-weight: 500; }
.note { margin-top: 18px; font-size: 13px; }
.note p + p { margin-top: 6px; }
.note .warn { background: #fff; border: 1px dashed var(--thread); padding: 10px 12px; }
.related { padding: 10px 0 50px; }

/* 一覧に戻れない時など */
.empty { text-align: center; padding: 70px 0; }
.empty p { margin-bottom: 18px; }

/* お部屋リスト */
.ptitle { padding: 40px 0 10px; text-align: center; }
.ptitle h1 { font-family: var(--serif); font-size: 28px; letter-spacing: .16em; color: var(--navy-d); font-weight: 600; }
.ptitle p { font-family: var(--num); font-size: 11px; letter-spacing: .3em; color: var(--mute); }
.cartbox { display: grid; grid-template-columns: 1fr 320px; gap: 30px; padding: 24px 0 60px; align-items: start; }
.item { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; background: var(--paper); border: 1px solid var(--line); padding: 12px; margin-bottom: 10px; }
.item img { width: 96px; height: 96px; object-fit: cover; }
.item .nm { font-weight: 700; font-size: 14px; }
.item .op { font-size: 12px; color: var(--mute); }
.item .qty { display: inline-flex; margin-top: 8px; }
.item .qty button { width: 32px; height: 32px; }
.item .qty input { width: 36px; }
.item .rm { font-size: 12px; text-decoration: underline; color: var(--mute); margin-top: 6px; }
.item .sub { font-family: var(--num); font-size: 17px; white-space: nowrap; }
.sum { background: var(--paper); border: 1px solid var(--navy); padding: 18px; position: sticky; top: 90px; }
.sum dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 14px; }
.sum dd { text-align: right; font-family: var(--num); }
.sum dd small { font-family: var(--sans); font-size: 11px; color: var(--mute); }
.sum .total { font-weight: 700; font-size: 17px; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.sum .free { font-size: 12px; color: var(--mute); margin: 12px 0; }
.modal { position: fixed; inset: 0; background: rgba(30, 34, 45, .55); display: none; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.modal.show { display: flex; }
.modal .box { background: var(--paper); max-width: 440px; width: 100%; padding: 26px; border-top: 6px solid var(--navy); }
.modal h3 { font-family: var(--serif); font-size: 19px; color: var(--navy-d); margin-bottom: 10px; }
.modal p { font-size: 14px; margin-bottom: 16px; }

/* 法務ページ */
.legal { max-width: 860px; margin: 0 auto; padding: 20px 20px 60px; font-size: 14px; }
.legal .lead { background: var(--paper); border: 1px solid var(--line); padding: 14px 16px; margin-bottom: 18px; }
.legal h2 { font-family: var(--serif); font-size: 17px; color: var(--navy-d); margin: 24px 0 8px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.legal ul { padding-left: 1.4em; }
.tbl { background: var(--paper); border: 1px solid var(--line); }
.tbl > div { display: grid; grid-template-columns: 200px 1fr; border-top: 1px solid var(--line); }
.tbl > div:first-child { border-top: 0; }
.tbl dt { background: var(--kinari2); padding: 12px 14px; font-weight: 700; font-size: 13px; color: var(--navy-d); }
.tbl dd { padding: 12px 14px; }
.tbl dd small { color: var(--mute); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--navy-d); color: #fff; padding: 12px 22px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 60; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .hero-in, .pd { grid-template-columns: 1fr; gap: 30px; }
  .cartbox { grid-template-columns: 1fr; }
  .sum { position: static; }
  .band { grid-template-columns: 56px 1fr; }
  .band p { grid-column: 2; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .wrap { padding: 0 16px; }
  .hd-in { height: 60px; gap: 10px; }
  .hnav { display: none; }
  .list-btn { margin-left: auto; padding: 8px 10px; font-size: 12px; }
  .lg b { font-size: 18px; letter-spacing: .08em; }
  .lg i { letter-spacing: .2em; }
  .mark { width: 28px; height: 28px; }
  .hero { padding: 34px 0 40px; }
  .loom { gap: 18px 10px; }
  .loom figure:nth-child(2), .loom figure:nth-child(3) { transform: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
  .tile .sz { font-size: 15px; padding: 8px 8px 0; }
  .tile .nm { font-size: 12px; padding: 4px 8px 0; }
  .tile .ft-row { padding: 8px; flex-direction: column; align-items: flex-start; gap: 2px; }
  .tile .pr { font-size: 15px; }
  .loomer .row { grid-template-columns: 1fr; }
  .loomer .lb { justify-content: flex-start; padding: 4px 12px; }
  .loomer .opts button { padding: 10px 12px; font-size: 12px; }
  .sh h2 { font-size: 21px; }
  .ft-grid { grid-template-columns: 1fr; gap: 18px; }
  .tbl > div { grid-template-columns: 1fr; }
  .item { grid-template-columns: 72px 1fr; }
  .item img { width: 72px; height: 72px; }
  .item .sub { grid-column: 2; }
  .thumbs { grid-template-columns: repeat(5, 1fr); }
  .pd .bigsize span { font-size: 24px; }
}

:root{--review-accent:var(--thread);--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}}
