:root {
  --bg: #f4f6f8;
  --paper: #ffffff;
  --ink: #1d2733;
  --muted: #5f6b78;
  --line: #dde3ea;
  --accent: #2f6fd6;
  --accent-ink: #ffffff;
  --warm: #e8873a;
  --radius: 10px;
  --max: 70rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
img, svg { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

header.site { background: var(--ink); color: #fff; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand svg { width: 2rem; height: 2rem; }
.brand small { display: block; font-weight: 400; font-size: .75rem; color: #b8c3cf; line-height: 1.2; }
nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
nav a { color: #dbe3ec; text-decoration: none; font-size: .95rem; }
nav a:hover, nav a[aria-current="page"] { color: #fff; text-decoration: underline; }

.notice { background: #fff6ec; border-bottom: 1px solid #f3dcc3; font-size: .9rem; color: #7a4a1d; }
.notice .wrap { padding-top: .45rem; padding-bottom: .45rem; }

main { padding: 2rem 0 3rem; }

.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.hero h1 { margin: 0 0 .6rem; font-size: 2rem; line-height: 1.2; }
.hero p { color: var(--muted); margin: 0 0 1.2rem; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; padding: .65rem 1.2rem; border-radius: 8px; font-weight: 600; }
.btn:hover { background: #2459ad; color: #fff; }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); margin-left: .5rem; }

h2 { font-size: 1.4rem; margin: 2.2rem 0 1rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; text-decoration: none; color: var(--ink); display: block; }
a.card:hover { border-color: var(--accent); }
.card h3 { margin: .4rem 0 .3rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .92rem; }
.card .icon { width: 2.4rem; height: 2.4rem; }

.price { font-weight: 700; white-space: nowrap; }
.stock { font-size: .85rem; color: #2d8a4e; }
.stock.low { color: var(--warm); }
.stock.out { color: var(--muted); }

table.goods { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.goods th, table.goods td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.goods th { background: #eef2f6; font-size: .85rem; color: var(--muted); font-weight: 600; }
table.goods tr:last-child td { border-bottom: 0; }
table.goods td small { color: var(--muted); display: block; }

.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }

.text { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.8rem; }
.text h2:first-child, .text h1:first-child { margin-top: 0; }
.text ul { padding-left: 1.2rem; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; margin-top: 2rem; }
.features div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; font-size: .93rem; color: var(--muted); }
.features b { display: block; color: var(--ink); margin-bottom: .2rem; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; padding: 1.5rem 0 2.5rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 1.4rem; }
  .hero h1 { font-size: 1.6rem; }
  table.goods th:nth-child(3), table.goods td:nth-child(3) { display: none; }
}
