:root{
  --bg:#232632;
  --text:#f8fafc;
  --muted:#d1d5db;
  --line:rgba(248,250,252,0.16);
  --card:rgba(255,255,255,0.10);
  --card-2:rgba(255,255,255,0.12);
  --shadow:0 18px 45px rgba(0,0,0,0.52);
  --shadow-soft:0 10px 25px rgba(0,0,0,0.38);
  --blue:#2563eb;
  --blue-2:#1d4ed8;
  --blue-soft:#eff6ff;
  --red:#ef4444;
  --pink:#fb7185;
  --yellow:#fbbf24;
  --cream:#0b0d12;
  --radius:16px;
}

*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 15% 5%, rgba(37,99,235,0.12), transparent 62%),
    radial-gradient(700px 420px at 85% 0%, rgba(251,191,36,0.10), transparent 62%),
    radial-gradient(900px 520px at 50% 105%, rgba(251,113,133,0.09), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.00) 34%),
    var(--bg);
  line-height:1.7;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}

.container{width:min(1120px, 92vw); margin:0 auto;}



.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:2px solid rgba(248,250,252,0.14);
  font-weight:800;
  letter-spacing:.01em;
  white-space:nowrap;
}
.btn.primary{background:linear-gradient(135deg, rgba(37,99,235,0.98), rgba(96,165,250,0.92)); color:#fff; box-shadow: var(--shadow-soft); border-color: rgba(37,99,235,0.16);}
.btn.primary:hover{filter:brightness(1.03);}
.btn.outline{border-color:rgba(96,165,250,0.40); color:#dbeafe; background:rgba(255,255,255,0.06);}
.btn.outline:hover{background:rgba(96,165,250,0.12);}
.btn.ghost{border-color:rgba(248,250,252,0.18); color:var(--text); background:rgba(255,255,255,0.06);}
.btn.ghost:hover{background:rgba(255,255,255,0.10);}
.btn.line{background:linear-gradient(135deg, #22c55e, #86efac); color:#052e12; border-color: rgba(34,197,94,0.20);}
.btn.line:hover{filter:brightness(1.03);}
.btn.mini{padding:10px 12px; border-radius: 12px; font-size: 13px;}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(96,165,250,0.14);
  border:1px solid rgba(96,165,250,0.30);
  color: #dbeafe;
  font-size:12px;
  font-weight:700;
}
.badge.hot{background: rgba(239,68,68,0.14); border-color: rgba(239,68,68,0.32); color:#fecaca;}

.hero{padding: 26px 0 18px;}
.hero-wrap{display:grid; grid-template-columns: 1.2fr 0.8fr; gap:16px; align-items:stretch;}
@media (max-width: 900px){ .hero-wrap{grid-template-columns:1fr;} }

.hero-main{
  background: var(--card-2);
  border:2px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px;
}
.hero h1{margin:10px 0 10px; font-size: clamp(28px, 4.4vw, 44px); line-height:1.12; letter-spacing:-.02em;}
.hero p.lead{margin:0; color:var(--muted); font-size:15px; line-height:1.9;}

.hero-badges{display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-top:10px;}
.hero-actions{margin-top:14px;}

.hero-side{display:flex;}
.note-card{
  width:100%;
  background: var(--card);
  border:2px dashed rgba(248,250,252,0.22);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 16px;
}
.note-title{font-weight:900; letter-spacing:.02em;}
.note-text{margin:8px 0 0; color:var(--muted); font-size:13px; line-height:1.85;}

.qr-wrap{
  margin-top: 12px;
  display:flex;
  justify-content:center;
}
.qr{
  width: min(240px, 76%);
  height: auto;
  display:block;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(15,23,42,0.12);
  background: #fff;
  padding: 10px;
}

section{padding: 26px 0;}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin-bottom: 12px;}
.section-head h2{margin:0; font-size: 22px; letter-spacing:-.01em;}
.section-head p{margin:0; color:var(--muted); font-size: 13px;}

.cat-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap: 12px;}
@media (max-width: 900px){ .cat-grid{grid-template-columns:1fr;} }
.cat{
  display:flex;
  align-items:center;
  gap:12px;
  background: var(--card);
  border:2px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 14px 16px;
}
.cat:hover{transform: translateY(-1px);}
.cat-emoji{font-size: 22px;}
.cat-name{font-weight: 900;}

.cat-head{margin-top: 16px; padding-top: 6px;}
.cat-head h3{margin:0 0 10px; font-size: 18px;}

.product-grid{display:grid; grid-template-columns: repeat(4, 1fr); gap: 12px;}
@media (max-width: 1000px){ .product-grid{grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 520px){ .product-grid{grid-template-columns: 1fr;} }

.product{
  background: var(--card);
  border:2px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  overflow:hidden;
}
.product-link{display:block;}
.product-media{aspect-ratio: 4/3; background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(251,191,36,0.10)); border-bottom: 2px solid rgba(248,250,252,0.12);}
.product-media img{width:100%; height:100%; object-fit:contain; padding: 10px;}
.product-body{padding: 12px;}
.product-name{font-weight: 900; font-size: 14px; line-height: 1.4;}
.product-desc{
  margin-top:6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-actions{margin-top: 10px;}
.product .btn.mini{display:inline-flex; width:100%; justify-content:center;}

.line-box{
  margin-top: 18px;
  background: rgba(34,197,94,0.10);
  border: 2px dashed rgba(34,197,94,0.34);
  border-radius: 18px;
  padding: 14px;
}
.line-box-inner{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;}
.line-title{font-weight: 900;}
.line-sub{margin-top:4px; color: var(--muted); font-size: 12px;}

.card-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px;}
@media (max-width: 900px){ .card-grid{grid-template-columns:1fr;} }

.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow:hidden;
}
.card .pad{padding:16px;}
.card h3{margin:0 0 8px; font-size:16px;}
.card p{margin:0; color:var(--muted); font-size: 13px; line-height:1.8;}

.media{
  width:100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(37,99,235,0.10), rgba(239,68,68,0.06));
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(15,23,42,0.55);
  border-bottom: 1px solid var(--line);
}
.media img{width:100%; height:100%; object-fit:cover;}

.category{
  display:flex; align-items:center; gap:12px;
}
.icon{
  width:40px; height:40px; border-radius: 12px;
  background: rgba(37,99,235,0.10);
  border: 1px solid rgba(37,99,235,0.16);
}
.icon.red{background: rgba(239,68,68,0.10); border-color: rgba(239,68,68,0.16);}

.steps{display:grid; grid-template-columns: repeat(4, 1fr); gap:12px;}
@media (max-width: 900px){ .steps{grid-template-columns:1fr;} }
.step{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 14px;
}
.step .num{
  width:30px; height:30px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), #60a5fa);
  color:#fff;
  font-weight:900;
  margin-bottom: 10px;
}
.step h3{margin:0 0 6px; font-size:15px;}
.step p{margin:0; color:var(--muted); font-size: 13px; line-height:1.8;}

.notice{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}
@media (max-width: 900px){ .notice{grid-template-columns:1fr;} }
.notice .box{background:#fff; border:1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding:16px;}
.notice .box h3{margin:0 0 8px; font-size:16px;}
.notice .box p{margin:0; color:var(--muted); font-size:13px; line-height:1.8;}
.notice .list{margin:10px 0 0; padding-left:18px; color:var(--muted); font-size:13px;}
.notice .list li{margin:6px 0;}

.price-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px;}
@media (max-width: 900px){ .price-grid{grid-template-columns:1fr;} }
.price{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}
.price strong{display:block; font-size: 16px;}
.price ul{margin:10px 0 0; padding-left:18px; color:var(--muted); font-size:13px;}
.price li{margin:6px 0;}

.faq details{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 12px 14px;
}
.faq summary{cursor:pointer; font-weight:800;}
.faq details + details{margin-top:10px;}
.faq p{margin:8px 0 0; color:var(--muted); font-size: 13px; line-height:1.8;}

.footer{
  margin-top: 10px;
  padding: 22px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer .row{display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;}

.mini-cta{
  margin-top: 14px;
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.14);
  border-radius: var(--radius);
  padding: 14px;
}

:focus-visible{outline:3px solid rgba(37,99,235,0.25); outline-offset:3px; border-radius: 12px;}
