*{ box-sizing:border-box; margin:0; padding:0; }
:root{
  --ink:#1d2a3a; --muted:#5a6b7d; --bg:#f6f8fa; --card:#ffffff; --line:#dbe3ea;
  --head:#1a2332; --accent:#e8a020; --accent-dk:#c98a15; --teal:#4a7c8c; --teal-bg:#cfe6ef;
  --note:#fff7e6; --note-line:#f0c97a;
}
html{ scroll-behavior:smooth; }
body{ background:#fff; color:var(--ink); line-height:1.8; font-size:16px;
  font-family:'Hiragino Kaku Gothic ProN','Noto Sans JP','Meiryo',sans-serif; -webkit-font-smoothing:antialiased; }
a{ color:var(--teal); }
img{ max-width:100%; height:auto; display:block; }
.wrap{ max-width:1040px; margin:0 auto; padding:0 16px; }

main{ padding:14px 16px 56px; }
.bc{ font-size:12.5px; color:var(--muted); margin-bottom:14px; display:flex; flex-wrap:wrap; gap:4px; }
.bc a{ color:var(--muted); }
.bc span{ color:var(--muted); }
article{ padding:10px 0 0; overflow-wrap:anywhere; }   
h1{ font-size:clamp(23px,3.2vw,32px); line-height:1.4; font-weight:800; letter-spacing:.01em; margin:4px 0 14px; padding-bottom:12px; border-bottom:1px solid var(--line); }
p.lead{ font-size:clamp(15px,1.8vw,17px); color:#33465a; margin-bottom:20px; }
.body h2{ font-size:clamp(18px,2.4vw,22px); font-weight:800; margin:38px 0 12px; padding-left:12px; border-left:5px solid var(--accent); line-height:1.4; }
.body h3{ font-size:16.5px; font-weight:800; margin:22px 0 6px; color:#243449; }
.body p{ margin:0 0 12px; }
.body ul,.body ol{ margin:0 0 14px 1.4em; }
.body li{ margin:3px 0; }
.body strong{ color:#1a2332; }
.body .note{ background:var(--note); border:1px solid var(--note-line); border-radius:6px; padding:10px 14px; margin:10px 0 16px; font-size:14px; }
.body img{ border-radius:10px; border:1px solid var(--line); margin:6px 0 14px; }
.notice{ background:#fff3e0; border:2px solid var(--accent); border-radius:6px; padding:10px 14px; margin:0 0 18px; font-size:14px; }
.notice b{ display:inline-block; background:var(--accent); color:#fff; border-radius:999px; padding:1px 10px; margin-right:6px; font-size:12.5px; }
figure{ margin:8px 0 20px; }
figure img{ width:100%; margin:0 auto; background:#fff; }
figcaption{ font-size:12.5px; color:var(--muted); text-align:center; margin-top:6px; line-height:1.5; }
figure.hero{ margin:4px 0 22px; }
figure.hero img{ border-radius:8px; }
.f-diagram img{ max-width:720px; }
.fig img,figure.hero img{ margin-left:auto; margin-right:auto; }
figure.hero.f-diagram img{ max-width:760px; }
.f-photo img{ max-width:min(100%, var(--nw, 640px), 640px); max-height:460px; width:auto; }   
figure.hero.f-photo img{ max-width:min(100%, var(--nw, 760px), 760px); max-height:480px; }
figure.hero.wide img{ max-width:100%; max-height:none; width:100%; border:1px solid var(--line); }   
figure.fig.wide{ margin:10px 0 24px; } figure.fig.wide img{ max-width:100% !important; max-height:none !important; width:100%; border:1px solid var(--line); border-radius:10px; }
figure.hero a{ display:block; }
.hero-note{ font-size:12.5px; color:var(--muted); text-align:center; margin:-14px 0 20px; }
.f-swatch{ display:inline-block; margin:6px 18px 16px 0; vertical-align:top; }
.f-swatch img{ width:160px; height:160px; object-fit:cover; margin:0; }
.f-swatch figcaption{ max-width:160px; }
.lead-row{ display:grid; grid-template-columns:1fr auto; gap:8px 24px; align-items:start; margin-bottom:20px; }
.lead-row p.lead{ margin-bottom:0; }
.hero-side{ margin:0; }
.hero-side img{ width:auto; max-width:200px !important; max-height:220px; border-radius:12px; border:1px solid var(--line); margin:0; }
.f-side{ float:right; width:200px; margin:4px 0 10px 20px; }
.f-side img{ width:100%; max-width:200px !important; margin:0; }
.f-side figcaption{ font-size:12.5px; }
.body h2,.cta,.tbl,.figs,.cards,.rv-box{ clear:both; }
.cards-pic{ grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:14px; }
.card.has-pic{ padding:0 0 14px; overflow:hidden; }
.card.has-pic .pic{ display:block; margin:0 0 10px; }
.card.has-pic .pic img{ width:100%; max-width:none !important; aspect-ratio:4/3; object-fit:cover; margin:0; border:0; border-radius:0; }
.card.has-pic .nm,.card.has-pic .d{ padding:0 16px; }
.figs{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:14px; margin:8px 0 20px; }
.figs figure{ margin:0; }
.figs-photo{ grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); max-width:980px; }
.figs-photo img{ aspect-ratio:4/3; object-fit:cover; max-width:none; max-height:none; width:100%; }
.figs-photo figure{ max-width:320px; }
.figs-fit{ grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); max-width:860px; }
.figs-fit figure{ display:flex; flex-direction:column; justify-content:center; background:#fff; border:1px solid var(--line); border-radius:10px; padding:14px 14px 10px; }
.figs-fit img{ width:100%; height:auto; max-width:none; max-height:none; }
.figs-swatch{ display:flex; flex-wrap:wrap; gap:14px 18px; }
.figs-swatch figure{ width:160px; }
.figs-swatch img{ width:160px; height:160px; object-fit:cover; }
.figs-swatch figcaption{ font-size:12.5px; }
.figs-diagram img{ max-width:none; }
.tbl{ overflow-x:auto; margin:8px 0 18px; -webkit-overflow-scrolling:touch; }
.tbl-hint{ font-size:12.5px; color:var(--muted); margin:8px 0 -4px; text-align:right; }   
table{ border-collapse:collapse; width:100%; font-size:13.5px; background:#fff; }
th,td{ border:1px solid var(--line); padding:7px 9px; text-align:left; vertical-align:top; }
th{ background:#eef3f7; font-weight:800; white-space:nowrap; }   
@media (min-width:768px){ .thbr{ display:none; } }   
td:first-child{ font-weight:700; }
.nw{ white-space:nowrap; }   

.cards{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:12px; margin:10px 0 20px; }
.card{ background:#fff; border:1px solid var(--line); border-radius:6px; padding:14px 16px; text-decoration:none; color:var(--ink); display:block; transition:border-color .12s; }
.card:hover{ border-color:var(--accent); }
.card:hover .nm{ color:var(--accent-dk); }
.card .nm{ display:block; font-weight:800; font-size:15px; }
.card .d{ display:block; font-size:12.5px; color:var(--muted); margin-top:3px; line-height:1.5; }

.cta{ background:#223252; color:#fff; border-radius:8px; border-left:6px solid var(--accent); padding:20px 24px; margin:28px 0 6px;
  display:grid; grid-template-columns:1fr auto; gap:6px 24px; align-items:center; }
.cta.inline{ margin:18px 0 22px; }
.cta .t{ font-size:18px; font-weight:800; grid-column:1; }
.cta .d{ font-size:13.5px; color:#dbe6f2; grid-column:1; }
.cta > *{ min-width:0; }
.cta .btn{ grid-column:2; grid-row:1/3; font-size:16px; padding:12px 24px; white-space:normal; text-align:center; max-width:360px; }
.cta .sub{ grid-column:2; color:#dbe6f2; font-size:12.5px; text-align:center; text-decoration:underline; }
.related{ margin-top:30px; padding-top:18px; border-top:1px solid var(--line); }
.related h2{ font-size:15px; font-weight:800; margin-bottom:8px; color:var(--muted); letter-spacing:.06em; }
.related .cards{ display:flex; flex-wrap:wrap; gap:8px; margin:0; }
.related .card{ padding:11px 14px; border-radius:6px; }   
.related .card .nm{ font-size:14px; font-weight:700; }
.related .card .nm::after{ content:" ›"; color:var(--accent-dk); }
.related .card .d{ display:none; }
.updated{ font-size:12px; color:var(--muted); margin-top:14px; text-align:right; }


@media (max-width:767px){
  article{ padding:4px 0 0; }
  .bc a{ display:inline-block; padding:6px 0; }   
  .rv-f{ min-height:40px; }
  .cta{ grid-template-columns:1fr; padding:18px 16px; }
  .cta .btn{ grid-column:1; grid-row:auto; max-width:none; }
  .cta .sub{ grid-column:1; }
  th,td{ white-space:normal; }
  .tbl td.num{ white-space:nowrap; }                              
  .tbl.cols-4 td:not(.num),.tbl.cols-5 td:not(.num),.tbl.cols-6 td:not(.num),.tbl.cols-7 td:not(.num),.tbl.cols-8 td:not(.num){ min-width:6.5em; }   
  .tbl th{ white-space:normal; word-break:keep-all; line-height:1.35; }
  .tbl th, .tbl td{ overflow-wrap:normal; }
  .tbl th:first-child, .tbl td:first-child{ min-width:6em; }
  .lead-row{ grid-template-columns:1fr; }
  .hero-side img{ max-width:160px; max-height:180px; }
  .figs-photo{ grid-template-columns:1fr 1fr; gap:10px; }
  .figs-photo figure{ max-width:none; }
  .figs-swatch{ gap:10px; }
  .figs-swatch figure{ width:calc(50% - 5px); }
  .figs-swatch img{ width:100%; height:auto; aspect-ratio:1; }
  .f-swatch{ display:block; margin:6px 0 16px; }
  .f-side{ width:140px; margin:2px 0 8px 14px; }
  .f-side img{ max-width:140px !important; }
  .cards-pic{ grid-template-columns:1fr 1fr; gap:10px; }
  .card.has-pic .nm,.card.has-pic .d{ padding:0 10px; }
}

.rv-sum{ background:#f6f8fa; border:1px solid var(--line); border-radius:6px; padding:12px 16px; margin:4px 0 14px; font-size:14px; }
.rv-sum b{ font-size:18px; color:var(--accent-dk); }
.rv-sum-note{ display:block; font-size:12px; color:var(--muted); margin-top:2px; }
.rv-filter{ margin:0 0 16px; }
.rv-f-row{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:6px; align-items:center; }
.rv-f-row.sub{ padding-left:4px; }
.rv-f-cap{ font-size:12px; color:var(--muted); margin-right:4px; }
.rv-f{ display:inline-flex; align-items:center; gap:5px; padding:5px 11px; border-radius:999px; border:1px solid var(--line); background:#fff;
       color:var(--ink); text-decoration:none; font-size:13px; font-weight:700; }
.rv-f span{ font-size:12px; color:var(--muted); }
.rv-f:hover{ border-color:var(--accent); }
.rv-f.on{ background:var(--accent); border-color:var(--accent); color:#fff; }
.rv-f.on span{ color:#fff7e6; }
.rv{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:16px 18px; margin:0 0 14px; }
.rv-head{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px 12px; align-items:baseline; }
.rv-title{ font-weight:900; font-size:16px; line-height:1.4; }
.rv-stars{ color:#f0a600; letter-spacing:1px; font-size:15px; white-space:nowrap; }
.rv-stars .rv-off{ color:#dcdfe3; }
.rv-meta{ font-size:12.5px; color:var(--muted); margin-top:4px; }
.rv-meta a{ color:var(--teal); font-weight:700; }
.rv-purpose{ font-size:13px; color:#33465a; background:#f3f6f8; border-radius:8px; padding:5px 10px; margin-top:8px; }
.rv-body{ margin-top:8px; font-size:14.5px; }
.rv-body p{ margin:0 0 8px; }
.rv-photos{ display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.rv-photos img{ width:120px; height:120px; object-fit:cover; border-radius:8px; border:1px solid var(--line); margin:0; }
.rv-photos.one img{ width:100%; height:150px; }
.rv .kv-links{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:10px; }
.rv .kv-links__head{ width:100%; font-size:12.5px; color:var(--muted); }
.rv .kv-links__note{ margin-left:.3em; }
.rv .kv-links a{ display:inline-flex; align-items:center; min-height:44px; max-width:100%; box-sizing:border-box; padding:6px 16px;
  border:1px solid var(--line); border-radius:22px; background:#f3f6f8; color:var(--teal); font-size:14px; font-weight:700;
  line-height:1.4; text-decoration:none; overflow-wrap:anywhere; }
.rv .kv-links a:hover, .rv .kv-links a:focus-visible{ border-color:var(--teal); text-decoration:underline; }
.rv .kv-links .kv-ext{ margin-left:.4em; font-size:.9em; }
.rv-pager{ display:flex; justify-content:center; align-items:center; gap:16px; margin:14px 0; font-size:14px; font-weight:700; }
.rv-pager a{ color:var(--accent-dk); }
.rv-box{ margin-top:30px; }
.rv-box h2{ font-size:clamp(18px,2.4vw,22px); font-weight:800; margin:0 0 10px; padding-left:12px; border-left:5px solid var(--accent); }
.rv-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px; }
.rv-grid .rv{ margin:0; padding:14px 15px; }
.rv-grid .rv-title{ font-size:14.5px; }
.rv-grid .rv-body{ font-size:13.5px; }
.rv-more{ margin-top:10px; font-weight:800; font-size:14px; }
.rv-more a{ color:var(--accent-dk); }

.pt-list{ display:flex; flex-direction:column; gap:10px; margin:8px 0 22px; }
.pt-row{ display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:8px 18px; align-items:center; padding:12px 16px;
  background:#fff; border:1px solid var(--line); border-left:4px solid var(--accent); border-radius:10px; }
.pt-main{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.pt-name{ font-size:15.5px; }
.pt-code{ font-size:12px; color:var(--muted); }
.pt-spec{ font-size:13px; color:var(--muted); line-height:1.5; }
.pt-price{ font-size:19px; font-weight:800; color:var(--accent-dk); white-space:nowrap; }
.pt-price small{ font-size:12px; font-weight:600; color:var(--muted); margin-left:2px; }
.pt-buy{ display:flex; align-items:center; gap:10px; white-space:nowrap; }
.pt-buy label{ font-size:13px; color:var(--muted); }
.pt-buy select{ font-size:15px; padding:8px 8px; min-height:42px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.pt-add{ font-family:inherit; font-size:14px; font-weight:800; color:#fff; background:var(--accent); border:2px solid var(--accent); border-radius:9px; padding:10px 16px; min-height:42px; cursor:pointer; }
.pt-add:hover{ background:var(--accent-dk); border-color:var(--accent-dk); }
.pt-add.done{ background:#2e8b57; border-color:#2e8b57; }
.pt-bar{ position:sticky; bottom:12px; z-index:5; display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; margin:18px 0 0; padding:10px 16px;
  background:#1d2a3a; color:#fff; border-radius:12px; box-shadow:0 6px 18px rgba(0,0,0,.2); }
.pt-bar .pt-n{ font-weight:800; }
.pt-bar .pt-warn{ font-size:12px; color:#ffd58a; }
.pt-bar .pt-btns{ margin-left:auto; display:flex; flex-wrap:wrap; gap:8px; }
.pt-bar .pt-back{ background:#fff; border-color:#fff; color:#1d2a3a !important; }
.pt-bar .pt-back:hover{ background:#e8eef4; border-color:#e8eef4; }
.pt-toast{ position:fixed; left:50%; bottom:90px; transform:translateX(-50%); z-index:20; background:#2e8b57; color:#fff; font-weight:700;
  padding:12px 18px; border-radius:10px; box-shadow:0 6px 18px rgba(0,0,0,.25); max-width:90vw; }
@media (max-width:767px){
  .pt-row{ grid-template-columns:1fr; gap:6px; }
  .pt-price{ font-size:18px; }
  .pt-buy{ justify-content:space-between; }
  .pt-add{ flex:1; }
  .pt-bar .pt-btns{ width:100%; margin-left:0; }
  .pt-bar .pt-btns .btn{ flex:1; padding:0 10px; }
}

.pt-cut{ display:flex; flex-wrap:wrap; gap:4px 14px; align-items:center; margin-top:6px; font-size:13px; }
.pt-cut label{ display:inline-flex; align-items:center; gap:4px; cursor:pointer; }
.pt-cut .pt-len{ width:90px; font-size:14px; padding:4px 6px; border:1px solid var(--line); border-radius:6px; }
.pt-cut .pt-len-l{ color:var(--muted); }

.pt-nav{ display:grid; grid-template-columns:repeat(auto-fill,minmax(118px,1fr)); gap:8px; margin:6px 0 22px; }
.pt-nav a{ display:flex; flex-direction:column; align-items:center; gap:6px; padding:8px 6px 9px; background:#fff; border:1px solid var(--line); border-radius:10px;
  text-decoration:none; color:var(--ink); font-size:12.5px; font-weight:700; text-align:center; line-height:1.3; }
.pt-nav a:hover{ border-color:var(--accent); box-shadow:0 2px 8px rgba(0,0,0,.06); }
.pt-nav img{ width:64px; height:64px; object-fit:cover; border-radius:8px; margin:0; }
.body h2[id^="h-"]{ scroll-margin-top:70px; }   
@media (max-width:767px){ .pt-nav{ grid-template-columns:repeat(3,1fr); gap:6px; } .pt-nav img{ width:56px; height:56px; } .pt-nav a{ font-size:12px; } }
