/* たためる袋店：生成りのコットン × トマトの赤。折り目の斜線、角を折ったカード */
:root {
  --cotton: #f3ecdc;
  --cotton-2: #e9dfc8;
  --cotton-d: #d5c7a6;
  --tomato: #d63e2a;
  --tomato-d: #a92c1c;
  --ink: #2a2521;
  --mute: #6f665a;
  --leaf: #5c7a3a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--cotton); overflow-x: hidden;
  font-family: "Zen Kaku Gothic Antique", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; font-size: 15px; line-height: 1.8;
  background-image: repeating-linear-gradient(0deg, rgba(120, 100, 60, .045) 0 1px, transparent 1px 3px),
                    repeating-linear-gradient(90deg, rgba(120, 100, 60, .04) 0 1px, transparent 1px 3px);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, .dg { font-family: "Dela Gothic One", "Hiragino Kaku Gothic StdN", sans-serif; font-weight: 400; letter-spacing: .04em; }

/* ===== ヘッダー ===== */
.top { position: sticky; top: 0; z-index: 30; background: var(--cotton); display: flex; align-items: center; gap: 18px; padding: 12px 28px; border-bottom: 3px solid var(--ink); }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark .bag { width: 30px; height: 30px; position: relative; background: var(--tomato); clip-path: polygon(0 22%, 100% 22%, 100% 100%, 0 100%); }
.mark .bag::before { content: ""; position: absolute; left: 0; right: 0; top: 22%; bottom: 0; background: linear-gradient(135deg, transparent 49%, rgba(255,255,255,.55) 49% 52%, transparent 52%); }
.mark .bag::after { content: ""; position: absolute; left: 8px; top: 0; width: 14px; height: 12px; border: 3px solid var(--tomato); border-bottom: 0; border-radius: 8px 8px 0 0; }
.mark b { font-family: "Dela Gothic One", sans-serif; font-weight: 400; font-size: 20px; line-height: 1.1; display: block; }
.mark small { display: block; font-size: 10px; letter-spacing: .25em; color: var(--mute); }
.top nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 700; }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--tomato); }
.mybag { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap; font-weight: 700; font-size: 14px;
  background: var(--ink); color: var(--cotton); padding: 8px 16px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.mybag .n { background: var(--tomato); color: #fff; min-width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; }

/* ===== ヒーロー ===== */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 520px; border-bottom: 3px solid var(--ink); }
.hero-l { background: var(--tomato); color: #fff8ee; padding: 60px 6vw; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
  background-image: linear-gradient(135deg, transparent 0 33%, rgba(0,0,0,.08) 33% 33.4%, transparent 33.4% 66%, rgba(0,0,0,.08) 66% 66.4%, transparent 66.4%),
                    linear-gradient(45deg, transparent 0 49.8%, rgba(255,255,255,.12) 49.8% 50.2%, transparent 50.2%); }
.hero-l .en { margin: 0 0 6px; font-size: 12px; letter-spacing: .4em; }
.hero h1 { margin: 0 0 18px; font-size: 54px; line-height: 1.2; }
.hero .lead { margin: 0 0 14px; font-size: 18px; font-weight: 700; }
.hero .what { margin: 0 0 26px; font-size: 13px; opacity: .9; }
.go { align-self: flex-start; display: inline-block; text-decoration: none; background: #fff8ee; color: var(--tomato-d); font-weight: 700; padding: 12px 28px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.hero-r { padding: 44px 5vw; display: flex; flex-direction: column; justify-content: center; align-items: center;
  background-image: repeating-linear-gradient(45deg, transparent 0 22px, rgba(214, 62, 42, .07) 22px 23px); }
.hero-r .ear { width: min(420px, 100%); }
.hero-cap { font-size: 12px; margin: 14px 0 0; }

/* ===== 角を折ったカード ===== */
.ear { position: relative; display: block; background: #fffaf0; padding: 10px; border: 2px solid var(--ink);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%); }
.ear::after { content: ""; position: absolute; right: -2px; top: -2px; width: 36px; height: 36px;
  background: linear-gradient(225deg, transparent 0 50%, var(--cotton-d) 50% 54%, var(--cotton-2) 54%); border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  clip-path: polygon(0 0, 100% 100%, 0 100%); }
.ear::before { content: ""; position: absolute; right: 16px; top: 16px; width: 48px; height: 2px; background: var(--ink); transform: rotate(45deg); transform-origin: right; z-index: 1; }
.ear .ph { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.ear .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ki { display: block; text-decoration: none; }
.ki:hover .ph img { transform: scale(1.04); }
.ki:hover .ear { border-color: var(--tomato); }
.ki .lb { display: block; padding: 12px 2px 0; }
.ki .kind { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: var(--ink); padding: 1px 8px; }
.ki .nm { display: block; font-size: 14px; line-height: 1.6; margin: 6px 0 2px; }
.ki .pr { display: block; font-size: 18px; font-weight: 700; color: var(--tomato-d); }
.ki .pr small { font-size: 11px; color: var(--mute); font-weight: 400; margin-left: 4px; }

/* ===== 一覧 ===== */
.fukuro { max-width: 1260px; margin: 0 auto; padding: 60px 5vw 50px; }
.sec-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.sec-h h2 { margin: 0; font-size: 30px; }
.sec-h .count { margin: 0; color: var(--mute); font-weight: 700; }
.tatami-tabs { display: flex; flex-wrap: wrap; gap: 10px 8px; margin: 0 0 40px; padding: 0; }
.tatami-tabs button { border: 2px solid var(--ink); background: #fffaf0; color: var(--ink); padding: 8px 22px 8px 14px; font-weight: 700; font-size: 14px; position: relative;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.tatami-tabs button::after { content: ""; position: absolute; right: -1px; top: -1px; width: 13px; height: 13px; background: linear-gradient(225deg, transparent 50%, var(--ink) 50%); }
.tatami-tabs button i { font-style: normal; font-size: 12px; color: var(--mute); margin-left: 6px; }
.tatami-tabs button.on { background: var(--tomato); color: #fff; border-color: var(--tomato-d); }
.tatami-tabs button.on i { color: #ffe3dc; }
.tatami-tabs button.on::after { background: linear-gradient(225deg, transparent 50%, var(--tomato-d) 50%); }
.narabi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 26px; }

/* ===== お約束 ===== */
.yakusoku { border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); padding: 54px 5vw 60px;
  background: var(--cotton-2); background-image: repeating-linear-gradient(-45deg, transparent 0 26px, rgba(42, 37, 33, .05) 26px 27px); }
.yakusoku h2 { text-align: center; margin: 0 0 30px; font-size: 26px; }
.oru { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1100px; margin: 0 auto; }
.oru > div { background: #fffaf0; border: 2px solid var(--ink); padding: 24px 24px 20px; position: relative;
  background-image: linear-gradient(135deg, transparent 0 60%, rgba(214, 62, 42, .07) 60%); }
.oru > div::before { content: attr(data-n); position: absolute; right: 14px; top: 8px; font-family: "Dela Gothic One", sans-serif; font-size: 30px; color: var(--tomato); }
.oru h3 { margin: 0 0 8px; font-size: 18px; padding-right: 40px; }
.oru p { margin: 0; font-size: 14px; }

/* ===== フッター ===== */
.end { background: var(--ink); color: var(--cotton); padding: 44px 5vw 28px; }
.endin { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; max-width: 1100px; margin: 0 auto; }
.end .fname { font-family: "Dela Gothic One", sans-serif; font-size: 22px; margin: 0 0 6px; }
.end p { margin: 0 0 6px; font-size: 13px; }
.end nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; margin-bottom: 14px; }
.end nav a { color: var(--cotton); }
.end .copy { opacity: .65; font-size: 11px; margin-top: 12px; }

/* ===== 共通 ===== */
.btn { display: inline-block; border: 2px solid var(--tomato-d); background: var(--tomato); color: #fff; font-weight: 700; text-decoration: none; text-align: center; padding: 12px 26px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.btn.line { background: #fffaf0; color: var(--ink); border-color: var(--ink); }
.btn.block { display: block; width: 100%; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; background: var(--ink); color: #fff; padding: 11px 22px; font-size: 14px; font-weight: 700;
  transition: .3s; z-index: 60; pointer-events: none; max-width: calc(100% - 32px); border-left: 6px solid var(--tomato); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.page { max-width: 1180px; margin: 0 auto; padding: 26px 5vw 60px; }
.empty { text-align: center; padding: 60px 0; }
.ptitle { background: var(--tomato); color: #fff8ee; padding: 26px 5vw; border-bottom: 3px solid var(--ink);
  background-image: linear-gradient(135deg, transparent 0 70%, rgba(0,0,0,.08) 70% 70.3%, transparent 70.3%); }
.ptitle h1 { margin: 0 auto; max-width: 1180px; font-size: 28px; }

/* ===== 商品ページ ===== */
.crumb { font-size: 12px; color: var(--mute); margin-bottom: 20px; }
.crumb a { color: var(--mute); }
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: start; }
.pd-ph .cap { font-size: 12px; margin: 12px 0 10px; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.thumbs button { padding: 0; border: 2px solid var(--cotton-d); background: #fff; aspect-ratio: 1 / 1; overflow: hidden; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.on { border-color: var(--tomato); }
.pinfo .kind { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--ink); padding: 1px 9px; }
.pinfo h1 { font-size: 26px; line-height: 1.45; margin: 10px 0 8px; }
.price { font-size: 30px; font-weight: 700; color: var(--tomato-d); margin-bottom: 14px; }
.price small { font-size: 13px; color: var(--mute); font-weight: 400; }
.desc { white-space: pre-line; margin: 0 0 20px; }
.opt { margin-bottom: 16px; }
.opt .t { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.vals { display: flex; flex-wrap: wrap; gap: 6px; }
.vals button { border: 2px solid var(--cotton-d); background: #fffaf0; padding: 5px 12px; font-size: 13px; color: var(--ink); }
.vals button.on { border-color: var(--tomato); background: var(--tomato); color: #fff; }
.free { width: 100%; border: 2px solid var(--cotton-d); background: #fffaf0; padding: 9px 12px; font: inherit; font-size: 14px; }
.varies { font-size: 13px; background: #fffaf0; border: 2px dashed var(--tomato); padding: 9px 12px; margin: 0 0 16px; }
.noret { font-size: 13px; color: var(--tomato-d); font-weight: 700; }
.buy { display: flex; gap: 12px; margin-top: 6px; }
.qty { display: flex; border: 2px solid var(--ink); background: #fffaf0; }
.qty button { width: 40px; border: 0; background: transparent; font-size: 18px; color: var(--ink); }
.qty input { width: 40px; border: 0; text-align: center; font: inherit; background: transparent; }
.buy .btn { flex: 1; }
.msg { min-height: 1.4em; color: var(--tomato-d); font-size: 13px; margin-top: 8px; font-weight: 700; }
.pinfo ul.ship { list-style: none; margin: 12px 0 24px; padding: 14px 16px; border: 2px solid var(--ink); background: #fffaf0; font-size: 13px; }
.pinfo ul.ship li { padding-left: 16px; position: relative; }
.pinfo ul.ship li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: linear-gradient(135deg, var(--tomato) 50%, transparent 50%); }
.spec h2 { font-size: 19px; margin: 0 0 8px; padding: 4px 10px; background: var(--ink); color: var(--cotton); display: inline-block; }
.spec dl { margin: 0; border-top: 2px solid var(--ink); }
.spec dl > div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--cotton-d); font-size: 14px; }
.spec dt { font-weight: 700; }
.spec dd { margin: 0; }
.note { font-size: 13px; color: var(--mute); margin-top: 16px; }
.note .warn { color: var(--ink); background: #fffaf0; border-left: 5px solid var(--tomato); padding: 10px 12px; }
.more { margin-top: 64px; }
.more h2 { font-size: 22px; margin: 0 0 22px; }

/* ===== マイバッグ（カート） ===== */
.cart { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.row { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 2px dashed var(--cotton-d); }
.row img { width: 96px; height: 96px; object-fit: cover; border: 2px solid var(--ink); }
.row .nm { font-weight: 700; text-decoration: none; display: block; line-height: 1.5; }
.row .op { font-size: 13px; color: var(--mute); }
.row .warnc { color: var(--tomato-d); }
.row .qty { display: inline-flex; margin: 8px 0 4px; }
.row .qty button { width: 32px; }
.row .qty input { width: 34px; }
.rm { border: 0; background: none; color: var(--mute); text-decoration: underline; font-size: 12px; padding: 0; }
.row .sub { font-weight: 700; white-space: nowrap; }
.sum { border: 3px solid var(--ink); background: #fffaf0; padding: 22px; position: sticky; top: 90px; }
.sum dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; margin: 0 0 14px; }
.sum dt, .sum dd { margin: 0; }
.sum dd { text-align: right; }
.sum .total { font-weight: 700; font-size: 17px; border-top: 2px solid var(--ink); padding-top: 10px; }
.sum p.free { border: 0; background: none; padding: 0; font-size: 12px; color: var(--mute); margin: 0 0 12px; }
.modal { position: fixed; inset: 0; background: rgba(30, 25, 20, .55); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 70; }
.modal.show { display: flex; }
.modal .box { background: var(--cotton); border: 3px solid var(--ink); padding: 26px; max-width: 440px; width: 100%; }
.modal h2 { margin: 0 0 10px; font-size: 20px; }
.modal p { font-size: 14px; }

/* ===== 法務 ===== */
.legal { max-width: 880px; margin: 0 auto; padding: 32px 5vw 70px; }
.legal .lead { border: 2px solid var(--ink); background: #fffaf0; padding: 14px 18px; }
.legal h2 { font-size: 17px; margin: 28px 0 6px; color: var(--tomato-d); }
.toku > div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--cotton-d); }
.toku dt { font-weight: 700; }
.toku dd { margin: 0; }

@media (max-width: 900px) {
  .narabi { grid-template-columns: repeat(3, 1fr); gap: 32px 18px; }
  .pd, .cart { grid-template-columns: 1fr; }
  .sum { position: static; }
  .hero { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .top { padding: 10px 16px; gap: 10px; }
  .top nav { display: none; }
  .mybag { margin-left: auto; padding: 7px 14px 7px 12px; font-size: 13px; }
  .mark b { font-size: 17px; }
  .hero-l { padding: 40px 16px; }
  .hero h1 { font-size: 38px; }
  .hero-r { padding: 30px 16px; }
  .fukuro { padding: 40px 16px 34px; }
  .narabi { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .ear { padding: 7px; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
  .ear::after { width: 26px; height: 26px; }
  .ear::before { right: 11px; top: 11px; width: 34px; }
  .ki .nm { font-size: 13px; }
  .tatami-tabs button { padding: 7px 18px 7px 11px; font-size: 13px; }
  .oru { grid-template-columns: 1fr; }
  .yakusoku { padding: 42px 16px; }
  .endin { grid-template-columns: 1fr; }
  .end { padding: 36px 16px 26px; }
  .page { padding: 20px 16px 50px; }
  .ptitle { padding: 22px 16px; }
  .legal { padding: 26px 16px 60px; }
  .toku > div { grid-template-columns: 1fr; gap: 4px; }
  .spec dl > div { grid-template-columns: 6.5em 1fr; }
  .thumbs { grid-template-columns: repeat(5, 1fr); }
  .row { grid-template-columns: 72px 1fr; }
  .row img { width: 72px; height: 72px; }
  .row .sub { grid-column: 2; }
}

:root{--review-accent:var(--tomato);--review-line:#8886;--review-ink:var(--ink);--review-paper:#fff}
/* 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}}
