/* Tall Man online store. Phone first (390px), black and white like tall-man.jp. */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:'Noto Sans JP',system-ui,-apple-system,sans-serif;color:#1A1A1A;background:#FAFAF8;line-height:1.6}
a{color:inherit}
img{max-width:100%;display:block}
button,input,select{font:inherit}
.wrap{max-width:720px;margin:0 auto}

/* Language: elements marked data-l show only in their language. */
[data-l]{display:none}
html[data-lang="ja"] [data-l="ja"],html[data-lang="en"] [data-l="en"]{display:revert}

.beta{background:#1A1A1A;color:#FAFAF8;font-size:12px;text-align:center;padding:6px 12px}

header.top{background:#fff;border-bottom:1px solid #E2E2E2;position:sticky;top:0;z-index:10}
header.top .bar{display:flex;align-items:center;gap:10px;padding:10px 16px}
header.top .logo img{height:32px;width:auto}
header.top .grow{flex:1}
.iconbtn{position:relative;height:44px;min-width:44px;padding:0 10px;border-radius:999px;border:1px solid #D6D6D2;background:#fff;color:#1A1A1A;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:13px}
.badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;border-radius:999px;background:#1A1A1A;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 5px}
.search{padding:0 16px 10px}
.search input{width:100%;height:44px;border-radius:10px;border:1px solid #BDBDBD;padding:0 14px;font-size:16px;background:#fff}

main{padding:16px 16px 40px}
h1,h2{font-family:'Noto Serif JP',serif;font-weight:600;line-height:1.35;margin:0}
h1{font-size:24px}
h2{font-size:20px;margin:28px 0 12px}
.muted{color:#5E5E5E}
.small{font-size:13px}

.hero{background:#fff;border:1px solid #E2E2DE;border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:8px}
.hero p{margin:0}

.cats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cat{background:#fff;border:1px solid #E2E2DE;border-radius:12px;padding:14px;text-decoration:none;min-height:64px;display:flex;align-items:center;font-size:14px;font-weight:500}

.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.card{background:#fff;border:1px solid #E2E2DE;border-radius:12px;overflow:hidden;text-decoration:none;display:flex;flex-direction:column}
.thumb{aspect-ratio:1/1;background:#E9E9E5;display:flex;align-items:center;justify-content:center;color:#8A8A86;font-size:12px;position:relative}
.card .body{padding:10px;display:flex;flex-direction:column;gap:4px;flex:1}
.card .name{font-size:13px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.price{font-family:Inter,system-ui,sans-serif;font-weight:700;font-size:16px}
.price small{font-weight:400;font-size:11px;color:#5E5E5E;margin-left:2px}
.tag{position:absolute;top:8px;left:8px;font-size:11px;font-weight:700;padding:3px 8px;border-radius:999px;background:#1A1A1A;color:#fff}
.tag.used{background:#fff;color:#1A1A1A;border:1px solid #1A1A1A}
.sold{font-size:12px;font-weight:700;color:#B45309}

.chips{display:flex;gap:6px;overflow-x:auto;padding-bottom:6px;margin:0 -16px 12px;padding-left:16px;padding-right:16px}
.chip{flex:0 0 auto;height:36px;padding:0 14px;border-radius:999px;border:1px solid #BDBDBD;background:#fff;font-size:13px;display:inline-flex;align-items:center;text-decoration:none;white-space:nowrap}
.chip.on{background:#1A1A1A;color:#fff;border-color:#1A1A1A}
.tools{display:flex;gap:8px;margin-bottom:12px}
.tools select{flex:1;height:44px;border-radius:10px;border:1px solid #BDBDBD;background:#fff;padding:0 10px;font-size:14px}

.pd .gallery{aspect-ratio:1/1;background:#E9E9E5;border-radius:16px;display:flex;align-items:center;justify-content:center;color:#8A8A86}
.pd h1{font-size:20px;margin-top:16px}
.pd .price{font-size:24px;margin:8px 0}
.box{background:#fff;border:1px solid #E2E2DE;border-radius:14px;padding:14px 16px;margin-top:12px}
.box h3{font-size:14px;margin:0 0 8px}
.row{display:flex;justify-content:space-between;gap:12px;font-size:14px;padding:6px 0;border-top:1px solid #EEEEEA}
.row:first-of-type{border-top:0}
.qty{display:flex;align-items:center;gap:8px;margin-top:16px}
.qty button{width:44px;height:44px;border-radius:10px;border:1px solid #BDBDBD;background:#fff;font-size:20px}
.qty span{min-width:32px;text-align:center;font-weight:700}
.btn{display:flex;align-items:center;justify-content:center;width:100%;height:52px;border-radius:12px;border:0;background:#1A1A1A;color:#fff;font-size:16px;font-weight:700;text-decoration:none;margin-top:12px;cursor:pointer}
.btn.ghost{background:#fff;color:#1A1A1A;border:1px solid #1A1A1A}
.btn[disabled]{background:#BDBDBD;color:#fff;cursor:not-allowed}
.note{font-size:13px;line-height:1.7;color:#4A4A4A;background:#F0EFEB;border-radius:10px;padding:10px 12px;margin-top:12px}

.line{display:flex;gap:12px;padding:12px 0;border-top:1px solid #EEEEEA}
.line .thumb{width:72px;height:72px;aspect-ratio:auto;border-radius:10px;flex:0 0 auto}
.line .info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;font-size:14px}
.line .ctl{display:flex;align-items:center;gap:8px}
.line .ctl button{width:36px;height:36px;border-radius:8px;border:1px solid #BDBDBD;background:#fff}
.link{background:none;border:0;padding:0;color:#5E5E5E;text-decoration:underline;font-size:13px}
.progress{height:8px;border-radius:999px;background:#E2E2DE;overflow:hidden;margin-top:6px}
.progress div{height:8px;background:#1A1A1A}
.total{font-size:18px;font-weight:700}

.prose h2{font-size:17px;margin:22px 0 8px}
.prose p,.prose li{font-size:14px;line-height:1.8}
.prose table{width:100%;border-collapse:collapse;font-size:14px}
.prose th,.prose td{text-align:left;vertical-align:top;padding:10px 8px;border-top:1px solid #E2E2DE}
.prose th{width:38%;font-weight:500;color:#4A4A4A}
.fill{color:#B45309;font-weight:700}

footer.foot{border-top:1px solid #E2E2DE;padding:24px 16px 40px;font-size:13px;display:flex;flex-direction:column;gap:10px;background:#fff}
footer.foot nav{display:flex;flex-wrap:wrap;gap:8px 16px}
.lang{display:flex;gap:6px}
.lang button{height:36px;padding:0 12px;border-radius:999px;border:1px solid #BDBDBD;background:#fff;font-size:13px}
.lang button.on{background:#1A1A1A;color:#fff;border-color:#1A1A1A}
.empty{text-align:center;padding:40px 0;color:#5E5E5E}
.line .ctl .link{width:auto;height:auto;border:0;background:none;margin-left:4px}
.hero h1{font-size:22px}
