:root{--gothic:"Hiragino Sans","Yu Gothic",Meiryo,"Noto Sans JP",sans-serif;color-scheme:light;--ink:#172b35;--muted:#485d65;--line:#cbd6d6;--blue:#075c66;--paper:#fafcfb}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:1rem/1.78 var(--gothic)}header,main,footer{max-width:1020px;margin:auto;padding:0 clamp(18px,5vw,60px)}header{padding-block:18px;display:flex;align-items:center;flex-wrap:wrap;gap:10px 32px;border-bottom:1px solid var(--line)}header b{letter-spacing:.11em}a{color:var(--blue);text-underline-offset:4px}nav{display:flex;gap:8px 22px;flex-wrap:wrap;font-size:.91rem}h1{font-size:clamp(2rem,5.5vw,3.25rem);line-height:1.26;letter-spacing:-.045em;margin:.32em 0}h2{font-size:1.47rem;line-height:1.5;margin:0 0 10px}h3,p{margin:0 0 12px}section{margin:2rem 0}.hero{padding:2rem 0 1.5rem;border-bottom:2px solid var(--ink)}.meta,small{color:var(--muted);font-size:.89rem}.lead{max-width:46em;font-size:1.12rem}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px}.card{display:block;padding:22px;background:white;border:1px solid var(--line);border-radius:9px}.card h2{color:var(--blue)}.scroll{max-width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.96rem}th,td{text-align:left;padding:11px 12px;border-bottom:1px solid var(--line);white-space:nowrap}thead{background:#e8efef}a:focus-visible,summary:focus-visible{outline:3px solid #b95418}footer{border-top:1px solid var(--line);padding-block:1rem 2.5rem;color:var(--muted)}summary{cursor:pointer;color:var(--blue)}.card p:last-child{margin-bottom:0}caption{text-align:left;font-weight:bold}
figure{margin:1.2rem 0;max-width:750px}figure img,.card img{display:block;width:100%;height:auto;border-radius:6px}figcaption{font-size:.93rem;color:var(--muted);margin:.5rem 0}.card img{margin-bottom:1rem}
.product-photos{display:flex;flex-wrap:wrap;gap:12px;margin:1rem 0}.product-photos>div{padding:.6rem .9rem;border:1px solid var(--line);border-radius:6px}.product-photo img{display:block;width:160px;max-width:100%;height:auto;object-fit:contain}.product-photo small,.product-photo>a{display:block}

:root {
  --paper:#faf8f2;
  --ink:#252f2c;
  --muted:#515f57;
  --line:#d7d9cd;
  --blue:#185b4a;
  --teal:#185b4a;
  --accent:#a74626;
}
body { background:var(--paper); color:var(--ink); }
header, main, footer { max-width:1120px; }
header { height:auto; min-height:70px; border-bottom:2px solid var(--ink); }
header b { font:700 1.35rem/1.3 var(--gothic); }
h1,h2,.card h3 { font-family:var(--gothic); text-wrap:pretty; }
h1 { font-size:clamp(2rem,4.8vw,3.7rem); letter-spacing:-.035em; }
.hero { padding:clamp(1.5rem,4vw,3.4rem) 0 1.6rem; border-bottom:1px solid var(--line); }
.hero small { color:var(--accent); font-weight:bold; }
.hero .lead { line-height:1.85; margin-top:1rem; max-width:48em; }
main > section > h2 { padding-left:.72rem; border-left:4px solid var(--accent); }
figure { background:#fff; padding:clamp(8px,2vw,20px); border:1px solid var(--line); }
.card,.choice { background:#fff; border:1px solid var(--line); border-radius:5px; }
.card h3 a { color:var(--ink); }
.product-photos { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(8px,2vw,20px); max-width:820px; }
.choice { min-width:0; padding:clamp(9px,2.4vw,24px); display:flex; flex-direction:column; }
.choice h3 { font:700 clamp(.92rem,2.6vw,1.45rem)/1.35 var(--gothic); margin:.25rem 0 .65rem; }
.choice small,.spec,.product-photo { font-size:.82rem; }
.choice dl { margin:.5rem 0; }
.choice dl > div { padding:.55rem 0; border-top:1px solid var(--line); }
.choice dt { color:var(--muted); font-size:.8rem; }
.choice dd { margin:0; font-weight:bold; line-height:1.5; }
.choice dl > div:first-child dd { color:var(--accent); font-size:1.25em; }
.choice .product-photo img { margin:auto; max-width:100%; width:160px; height:auto; }
.choice .product-photo { text-align:center; }
.choice .spec { margin-top:auto; }
.purchases .buy { display:block; margin-top:.6rem; padding:.55rem .2rem; text-align:center; background:var(--blue); color:white; border-radius:4px; text-decoration:none; font-size:clamp(.72rem,2.2vw,.9rem); line-height:1.55; font-weight:bold; }
.buy:hover { background:#123e33; }
[data-page=index] main ul { padding:0; list-style:none; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:10px; }
[data-page=index] main li a { display:flex; justify-content:space-between; align-items:center; height:100%; gap:10px; background:white; padding:1rem; border:1px solid var(--line); color:var(--ink); font-weight:bold; text-decoration:none; }
[data-page=index] main li a::after { content:'›'; color:var(--accent); }
[data-page=catalog] .choice { margin:0; }
[data-page=catalog] nav a { margin:0; }
[data-page=catalog] .panel { min-width:0; }
[data-page=home] .hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:1rem 3rem; align-items:center; }
[data-page=home] .hero .cover { display:block; color:var(--ink); text-decoration:none; background:#fff; border:1px solid var(--line); padding:1rem; }
.cover img { width:100%; height:auto; display:block; }
.cover strong { display:block; border-top:1px solid var(--line); padding-top:.6rem; }
@media(max-width:640px) {
  header { padding-block:.85rem; gap:.7rem; }
  nav { gap:.35rem .85rem; font-size:.81rem; }
  section { margin:1.4rem 0; }
  .hero .lead { font-size:1rem; }
  [data-page=home] .hero { grid-template-columns:1fr; }
  [data-page=catalog] .board { display:flex; flex-direction:column-reverse; }
  [data-page=catalog] .tableWrap { max-width:100%; }
  .choice { overflow-wrap:anywhere; }
}
.choice .product-photo img { width:100%; max-width:160px; height:clamp(105px,24vw,150px); object-fit:contain; }
main article h2 { overflow-wrap:anywhere; }
@media(max-width:640px) {
  [data-page=catalog] .board { align-items:stretch; }
  [data-page=catalog] .board > .panel { width:100%; max-width:100%; }
}

.ad-label { display:block; margin-top:.6rem; color:var(--ink); font-size:.875rem; line-height:1.5; }
