/* 庭しごと店 — テラコッタ × オリーブ。植木鉢に挿す木の名札、土の色の帯 */
:root{
  --terra:#b65f38; --terra-d:#8f4526; --terra-l:#f0d4bf;
  --olive:#5c6a32; --olive-d:#3e4820; --olive-l:#dfe3c8;
  --soil:#4b3528; --soil-d:#33241b;
  --cream:#f6efe2; --paper:#fbf8f1; --wood:#e4c99c; --wood-d:#c9a66d;
  --ink:#2e2a24; --muted:#7a7064; --line:#e2d7c3;
  --hand:"Klee One","Hiragino Maru Gothic ProN",sans-serif;
  --sans:"BIZ UDPGothic","Hiragino Sans",sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--sans);color:var(--ink);background:var(--paper);line-height:1.8;font-size:15px;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit}
button{font:inherit;cursor:pointer}
.wrap{max-width:1140px;margin:0 auto;padding:0 20px}

/* 土の帯 */
.soil{height:18px;background:
  radial-gradient(circle at 10% 30%,#6b4b37 2px,transparent 3px) 0 0/34px 18px,
  radial-gradient(circle at 60% 70%,#5d4130 2px,transparent 3px) 0 0/22px 18px,
  var(--soil)}

/* ヘッダー */
.note-bar{background:var(--olive);color:#f3f1e3;font-size:12px;text-align:center;padding:6px 12px}
header.site{background:var(--cream);border-bottom:1px solid var(--line)}
header.site .wrap{display:flex;align-items:center;gap:22px;min-height:76px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none}
.logo svg{width:44px;height:44px;flex:none}
.logo b{display:block;font-family:var(--hand);font-weight:600;font-size:22px;color:var(--soil);letter-spacing:.08em;line-height:1.2}
.logo small{display:block;font-size:10px;letter-spacing:.32em;color:var(--olive)}
.gnav{display:flex;gap:4px;margin-left:auto}
.gnav a{text-decoration:none;font-size:13.5px;padding:6px 12px;border-radius:20px;color:var(--soil)}
.gnav a:hover{background:var(--olive-l)}
.cart-btn{display:flex;align-items:center;gap:8px;text-decoration:none;background:var(--terra);color:#fff;font-weight:700;font-size:13px;padding:9px 16px 9px 12px;border-radius:24px;white-space:nowrap}
.cart-btn svg{width:24px;height:20px}
.cart-btn .n{background:#fff;color:var(--terra-d);border-radius:12px;min-width:22px;text-align:center;padding:0 6px;font-size:12px}

/* ヒーロー */
.hero{background:var(--cream);position:relative}
.hero .wrap{display:grid;grid-template-columns:1fr 1.05fr;gap:46px;align-items:center;padding-top:50px;padding-bottom:46px}
.hero h1{font-family:var(--hand);font-weight:600;font-size:clamp(30px,4.4vw,48px);line-height:1.45;color:var(--soil);letter-spacing:.04em}
.hero h1 span{color:var(--terra)}
.hero p{margin:18px 0 26px;color:#4f463c;max-width:28em}
.hero .go{display:inline-block;background:var(--olive);color:#fff;text-decoration:none;font-weight:700;padding:13px 28px;border-radius:30px}
.hero .go:hover{background:var(--olive-d)}
.hero .pic{position:relative}
.hero .pic img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px 18px 120px 18px;box-shadow:0 14px 30px rgba(75,53,40,.18)}
.stake{position:absolute;display:flex;flex-direction:column;align-items:center;filter:drop-shadow(0 4px 6px rgba(0,0,0,.18))}
.stake .lb{background:var(--wood);color:var(--soil);font-family:var(--hand);font-weight:600;padding:8px 14px;border-radius:4px;font-size:15px;text-align:center;line-height:1.4;border:1px solid var(--wood-d)}
.stake .lb small{display:block;font-size:11px;color:var(--olive-d)}
.stake .pin{width:16px;height:56px;background:var(--wood);border:1px solid var(--wood-d);border-top:0;clip-path:polygon(0 0,100% 0,100% 80%,50% 100%,0 80%)}
.hero .s1{left:-22px;bottom:30px;transform:rotate(-6deg)}
.hero .s2{right:18px;top:-24px;transform:rotate(5deg)}

/* 見出し */
.sec{padding:60px 0}
.shead{text-align:center;margin-bottom:30px}
.shead .en{font-size:11px;letter-spacing:.36em;color:var(--olive)}
.shead h2{font-family:var(--hand);font-weight:600;font-size:28px;color:var(--soil);margin-top:2px}
.shead h2::after{content:"";display:block;width:60px;height:6px;margin:10px auto 0;border-radius:3px;background:repeating-linear-gradient(90deg,var(--terra) 0 12px,transparent 12px 18px)}

/* 名札の絞り込み */
.beds{position:relative;margin-bottom:40px}
.tags{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 8px;padding:0 6px;align-items:flex-end}
.tags button{background:none;border:0;display:flex;flex-direction:column;align-items:center;transition:transform .2s}
.tags .lb{background:var(--wood);border:1px solid var(--wood-d);border-radius:5px;padding:7px 13px 6px;font-family:var(--hand);font-weight:600;color:var(--soil);font-size:15px;line-height:1.3;min-width:86px;text-align:center}
.tags .lb i{display:block;font-style:normal;font-family:var(--sans);font-size:11px;color:var(--olive-d)}
.tags .pin{width:12px;height:30px;background:var(--wood);border:1px solid var(--wood-d);border-top:0;clip-path:polygon(0 0,100% 0,100% 75%,50% 100%,0 75%)}
.tags button:hover{transform:translateY(-4px)}
.tags button.on{transform:translateY(-12px)}
.tags button.on .lb{background:var(--terra);border-color:var(--terra-d);color:#fff}
.tags button.on .lb i{color:var(--terra-l)}
.tags button.on .pin{background:var(--terra);border-color:var(--terra-d)}
.beds .soil{border-radius:9px;margin-top:-8px}

/* 商品カード（種の袋＋名札） */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px 24px}
.card{display:block;text-decoration:none;color:inherit;background:#fff;border-radius:6px;position:relative;box-shadow:0 2px 0 var(--line);transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-3px);box-shadow:0 10px 22px rgba(75,53,40,.13)}
.card::before{content:"";position:absolute;left:0;right:0;top:-7px;height:8px;
  background:linear-gradient(135deg,#fff 33%,transparent 33%) 0 0/12px 8px,linear-gradient(225deg,#fff 33%,transparent 33%) 0 0/12px 8px}
.card .ph{overflow:hidden;border-radius:6px 6px 0 0;position:relative}
.card .ph img{width:100%;aspect-ratio:1;object-fit:cover}
.card .cat{position:absolute;left:10px;top:10px;background:var(--olive);color:#fff;font-size:11px;padding:3px 10px 3px 16px;clip-path:polygon(8px 0,100% 0,100% 100%,8px 100%,0 50%)}
.card .body{padding:14px 16px 16px;border-top:4px solid var(--terra)}
.card .nm{font-family:var(--hand);font-weight:600;font-size:16px;line-height:1.5;color:var(--soil)}
.card .tg{font-size:12px;color:var(--muted);margin-top:4px}
.card .pr{font-size:20px;font-weight:700;color:var(--terra-d);margin-top:8px}
.card .pr small{font-size:11px;font-weight:400;color:var(--muted);margin-left:3px}

/* お店のお約束（植木鉢） */
.promise{background:var(--olive-l)}
.pots{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.pot{text-align:center}
.pot .rim{height:22px;background:var(--terra-d);border-radius:4px;margin:0 6px}
.pot .body{background:var(--terra);color:#fff;clip-path:polygon(0 0,100% 0,90% 100%,10% 100%);padding:20px 16% 26px;min-height:200px}
.pot h3{font-family:var(--hand);font-weight:600;font-size:19px;margin-bottom:8px}
.pot p{font-size:13.5px;line-height:1.7;color:#fff6ee}
.pot .no{font-size:11px;letter-spacing:.3em;color:var(--terra-l)}

/* フッター */
footer.site{background:var(--soil-d);color:#e6dccb;font-size:13.5px}
footer.site .wrap{padding-top:40px;padding-bottom:24px}
footer.site .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:30px}
footer.site b{font-family:var(--hand);font-size:19px;color:#fff}
footer.site h4{font-size:12px;letter-spacing:.24em;color:var(--wood);margin-bottom:8px;font-weight:400}
footer.site ul{list-style:none}
footer.site li{margin-bottom:6px}
footer.site a{text-decoration:none}
footer.site a:hover{text-decoration:underline}
footer.site .copy{margin-top:26px;padding-top:14px;border-top:1px solid #5a4536;font-size:11.5px;opacity:.7}

/* ボタン */
.btn{display:inline-block;background:var(--terra);color:#fff;border:0;border-radius:30px;padding:13px 26px;font-weight:700;text-decoration:none;text-align:center}
.btn:hover{background:var(--terra-d)}
.btn.line{background:#fff;color:var(--olive-d);border:1.5px solid var(--olive)}
.btn.block{display:block;width:100%}

/* 商品ページ */
.crumb{font-size:12px;color:var(--muted);padding:20px 0 14px}
.crumb a{text-decoration:none}
.pd{display:grid;grid-template-columns:1fr 1fr;gap:44px;padding-bottom:56px}
.main-img img{width:100%;aspect-ratio:1;object-fit:contain;background:#fff;border-radius:16px 16px 90px 16px;border:1px solid var(--line)}
.cap{font-size:12px;color:var(--muted);margin-top:8px}
.thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(62px,1fr));gap:8px;margin-top:12px}
.thumbs button{border:2px solid transparent;border-radius:8px;padding:0;background:#fff;overflow:hidden}
.thumbs button.on{border-color:var(--olive)}
.thumbs img{width:100%;aspect-ratio:1;object-fit:cover}
.label-board{background:var(--wood);border:1px solid var(--wood-d);border-radius:8px;padding:18px 22px 16px;position:relative;
  background-image:repeating-linear-gradient(0deg,rgba(255,255,255,.12) 0 2px,transparent 2px 9px)}
.label-board .cat{font-size:12px;color:var(--olive-d);font-weight:700}
.label-board h1{font-family:var(--hand);font-weight:600;font-size:24px;line-height:1.5;color:var(--soil);margin-top:2px}
.label-board .tg{font-size:13px;color:#6a5640}
.price{font-size:30px;font-weight:700;color:var(--terra-d);margin:16px 0 4px}
.price small{font-size:13px;font-weight:400;color:var(--muted)}
.desc{white-space:pre-line;margin:10px 0 18px}
.opt{margin-bottom:14px}
.opt .t{font-size:13px;font-weight:700;margin-bottom:6px;color:var(--soil)}
.opt .t span{font-weight:400;color:var(--muted)}
.vals{display:flex;flex-wrap:wrap;gap:6px}
.vals button{border:1.5px solid var(--line);background:#fff;border-radius:20px;padding:6px 14px;font-size:13px}
.vals button.on{border-color:var(--olive);background:var(--olive);color:#fff}
.buy{display:flex;gap:10px;margin-top:18px}
.buy .btn{flex:1}
.qty{display:flex;border:1.5px solid var(--olive);border-radius:30px;overflow:hidden;flex:none;background:#fff}
.qty button{width:38px;background:none;border:0;font-size:17px;color:var(--olive-d)}
.qty input{width:36px;border:0;text-align:center;font-size:15px;background:none}
.msg{color:var(--terra-d);font-size:13px;min-height:1.4em;margin-top:6px}
.ship{list-style:none;font-size:13px;background:var(--cream);border-radius:10px;padding:12px 16px;margin-top:8px;border-left:4px solid var(--olive)}
.ship li{margin:3px 0}
.spec{margin-top:24px}
.spec h3,.related h2{font-family:var(--hand);font-weight:600;font-size:18px;color:var(--soil);margin-bottom:8px}
.spec table{width:100%;border-collapse:collapse;background:#fff;border-radius:10px;overflow:hidden}
.spec th,.spec td{padding:10px 12px;border-bottom:1px dashed var(--line);font-size:13.5px;text-align:left;vertical-align:top}
.spec th{width:8.5em;background:var(--olive-l);color:var(--olive-d);font-weight:700}
.note{font-size:12.5px;color:var(--muted);margin-top:14px}
.note p+p{margin-top:6px}
.note .warn{color:var(--ink);background:#fff4ea;border-radius:8px;padding:9px 12px}
.related{padding:16px 0 64px}

/* ガーデンカート */
.ptitle{background:var(--cream);text-align:center;padding:34px 0 26px}
.ptitle h1{font-family:var(--hand);font-weight:600;font-size:28px;color:var(--soil)}
.ptitle p{font-size:11px;letter-spacing:.34em;color:var(--olive)}
.cart{display:grid;grid-template-columns:1fr 320px;gap:30px;padding:36px 0 64px;align-items:start}
.cart .row{display:grid;grid-template-columns:90px 1fr auto;gap:14px;background:#fff;border-radius:10px;padding:12px;margin-bottom:12px;border-bottom:6px solid var(--wood)}
.cart .row img{width:90px;height:90px;object-fit:cover;border-radius:8px}
.cart .nm{font-family:var(--hand);font-weight:600;color:var(--soil);text-decoration:none}
.cart .op{font-size:12.5px;color:var(--muted)}
.cart .qty{margin-top:6px;display:inline-flex}
.cart .qty button{width:30px}
.cart .qty input{width:32px}
.cart .rm{background:none;border:0;color:var(--terra-d);font-size:12px;text-decoration:underline;margin-top:4px}
.cart .sub{font-weight:700;color:var(--terra-d)}
.sum{background:var(--olive-l);border-radius:14px;padding:20px;position:sticky;top:20px}
.sum dl{display:grid;grid-template-columns:1fr auto;gap:6px 10px;font-size:14px}
.sum dd{text-align:right}
.sum .total{font-weight:700;font-size:17px;border-top:1px solid #c5cba5;padding-top:10px;margin-top:4px}
.sum .free{font-size:12px;color:#5a5f44;margin:12px 0}
.empty{text-align:center;padding:60px 0}
.empty p{margin-bottom:18px}
.modal{position:fixed;inset:0;background:rgba(51,36,27,.55);display:none;align-items:center;justify-content:center;padding:16px;z-index:100}
.modal.show{display:flex}
.modal .box{background:var(--paper);border-radius:16px;padding:26px;max-width:440px;width:100%}
.modal h3{font-family:var(--hand);font-size:20px;color:var(--soil);margin-bottom:10px}
.modal p{font-size:14px;margin-bottom:18px}

/* 法務ページ */
.legal{max-width:860px;margin:0 auto;padding:40px 20px 70px}
.legal .lead{background:var(--cream);border-radius:12px;padding:16px 18px;font-size:14px;margin-bottom:24px}
.legal .tbl{display:grid;gap:10px}
.legal .tbl div{background:#fff;border-radius:10px;padding:14px 18px;border-left:5px solid var(--olive)}
.legal .tbl dt{font-weight:700;color:var(--olive-d);font-size:13.5px;margin-bottom:2px}
.legal .tbl dd{font-size:14px}
.legal h2{font-family:var(--hand);font-weight:600;font-size:18px;margin:28px 0 8px;color:var(--soil)}
.legal p,.legal li{font-size:14.5px}
.legal ul{padding-left:1.4em}

.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,40px);background:var(--olive-d);color:#fff;padding:12px 22px;border-radius:30px;opacity:0;transition:.25s;z-index:120;font-size:14px;max-width:calc(100% - 32px)}
.toast.show{opacity:1;transform:translate(-50%,0)}

@media (max-width:900px){
  .hero .wrap{grid-template-columns:1fr;gap:34px}
  .grid{grid-template-columns:repeat(2,1fr)}
  .pd{grid-template-columns:1fr;gap:26px}
  .cart{grid-template-columns:1fr}
  .sum{position:static}
  .pots{grid-template-columns:1fr;max-width:420px;margin:0 auto}
  footer.site .cols{grid-template-columns:1fr}
  .gnav{display:none}
  .cart-btn{margin-left:auto}
}
@media (max-width:560px){
  .wrap{padding:0 16px}
  header.site .wrap{min-height:62px;gap:10px}
  .logo svg{width:36px;height:36px}
  .logo b{font-size:18px}
  .cart-btn{font-size:12px;padding:7px 12px 7px 9px}
  .cart-btn svg{display:none}
  .hero .wrap{padding-top:30px}
  .hero .s1{left:-4px;bottom:16px}
  .hero .s2{right:8px}
  .stake .lb{font-size:13px;padding:6px 10px}
  .stake .pin{height:38px}
  .tags{gap:4px 6px}
  .tags .lb{min-width:0;font-size:13px;padding:6px 9px 5px}
  .tags .pin{height:20px}
  .grid{gap:22px 12px}
  .card .body{padding:10px 10px 12px}
  .card .nm{font-size:14px}
  .card .pr{font-size:17px}
  .card .cat{font-size:10px}
  .cart .row{grid-template-columns:72px 1fr}
  .cart .row img{width:72px;height:72px}
  .cart .sub{grid-column:2}
  .spec th{width:6.5em}
}

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