@font-face { font-family: 'Noto Sans JP'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('assets/NotoSansJP-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Noto Sans JP'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('assets/NotoSansJP-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Noto Sans JP'; font-style: normal; font-weight: 900; font-display: swap; src: url('assets/NotoSansJP-Black.ttf') format('truetype'); }
:root {
  color-scheme: dark;
  --background: #0b0f14;
  --surface: #111a22;
  --surface-border: #2d3e4b;
  --text: #f3f6fb;
  --muted: #b5cfe0;
  --subtle: #a1b5c5;
  --accent: #c6fb50;
  --radius: 15px;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); line-height: 1.65; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid #74c7ff; outline-offset: 4px; }
a { color: inherit; }
figure, h1, h2, p { margin: 0; }
.skip-link { position: fixed; z-index: 5; left: 20px; top: -80px; padding: 12px 18px; background: var(--accent); color: #11180a; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid #1c2832; background: #0e141b; }
.header-inner { max-width: 1360px; margin: 0 auto; padding: 18px 24px; }
.brand { width: fit-content; display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 1.5rem; letter-spacing: .035em; line-height: 1.25; }
.brand svg { width: 26px; height: 34px; fill: var(--accent); }
.page, .site-footer { max-width: 1360px; margin: 0 auto; padding-inline: 24px; }
.intro { padding: 35px 0 28px; text-align: center; }
.demo-notice { font-size: .875rem; color: var(--muted); line-height: 1.7; margin-bottom: 11px; }
.intro h1 { font-size: clamp(2rem, 4.2vw, 3.8rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.3; }
.intro-description { color: var(--muted); font-size: 1.375rem; line-height: 1.55; margin-top: 7px; font-weight: 500; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-grid.single-product { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin-inline: auto; }
.product-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--surface-border); background: linear-gradient(125deg, #141e27, #10171d); border-radius: var(--radius); padding: 12px; transition: border-color 160ms ease, transform 160ms ease; }
.product-card.featured { border: 2px solid var(--accent); padding: 11px; }
.product-media { position: relative; border-radius: 11px; background: radial-gradient(ellipse at 48% 78%, #333c44 0%, #20272d 50%, #151b20 100%); height: clamp(156px, 17vw, 235px); overflow: hidden; flex: 0 0 auto; }
.product-media img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 3px 20px 0; }
.product-media.partner-media { height: auto; overflow: visible; background: transparent; }
.product-media.product-photo { display: flex; justify-content: center; align-items: center; height: auto; min-height: 264px; padding: 12px; }
.product-photo > img { width: 240px; height: 240px; padding: 0; object-fit: contain; border-radius: 8px; }
.affiliate-photo-frame { width: 240px; height: 240px; overflow: hidden; flex: 0 0 auto; border-radius: 8px; }
.photo-fallback { display: flex; min-height: 240px; align-items: center; justify-content: center; flex-direction: column; padding: 10px; text-align: center; }
.power-label { font-size: 3rem; line-height: 1.2; color: var(--text); }
.port-label { font-size: 1rem; margin-top: 8px; color: var(--muted); }
.photo-caption, .image-status, .preview-link-note { font-size: .875rem; color: var(--subtle); line-height: 1.6; margin-top: 12px; }
.merchant-link { display: block; overflow-wrap: anywhere; margin-top: 12px; }
.merchant-link.primary-button { text-decoration: none; margin-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.affiliate-panel { min-width: 0; }
.affiliate-scroll { max-width: 100%; overflow-x: auto; border-radius: 10px; background: white; scrollbar-color: #758b96 #e6edf0; }
.affiliate-scroll:focus-visible { outline: 3px solid #74c7ff; outline-offset: 3px; }
.affiliate-code { display: block; width: max-content; color: #111; color-scheme: light; font-family: Arial, 'Noto Sans JP', sans-serif; font-size: 16px; line-height: normal; }
.affiliate-help { padding: 9px 7px 0; font-size: .875rem; line-height: 1.6; color: var(--muted); }
.product-category { color: var(--muted); font-size: .875rem; margin-bottom: 3px; }
.price-note { color: var(--subtle); font-size: .875rem; margin-bottom: 7px; }
.category { position: absolute; left: 12px; top: 12px; color: #eaf1f7; background: #29343f; border: 1px solid #738392; border-radius: 50px; padding: 3px 12px; font-size: .875rem; line-height: 1.45; font-weight: 600; }
.card-content { display: flex; flex: 1; flex-direction: column; padding: 11px 7px 6px; }
.product-title { font-size: 1.125rem; line-height: 1.5; letter-spacing: -.025em; font-weight: 700; overflow-wrap: anywhere; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 13px; margin-top: 3px; }
.current-price { font-family: 'Noto Sans JP', 'Arial', sans-serif; font-size: 2.4rem; font-weight: 900; line-height: 1.4; color: var(--accent); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.reference-price { color: var(--muted); font-size: .875rem; text-decoration-thickness: 1px; }
.discount { color: var(--accent); font-size: .875rem; font-weight: 700; white-space: nowrap; }
.product-spec, .product-use { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.product-spec { margin-top: 2px; }
.product-use { margin-top: 4px; margin-bottom: 15px; }
.primary-button { display: block; width: 100%; min-height: 46px; padding: 10px 16px; border: 0; border-radius: 10px; font-size: 1rem; font-weight: 800; line-height: 1.5; background: var(--accent); color: #111808; cursor: pointer; text-align: center; transition: background 150ms ease, transform 150ms ease; }
.card-content .primary-button { margin-top: auto; }
.primary-button:active { transform: scale(.98); }
.site-footer { margin-top: 30px; padding-bottom: 24px; }
.site-footer p { border-top: 1px solid var(--surface-border); padding-top: 18px; text-align: center; color: #c0cbd5; font-size: .875rem; }
.site-footer .affiliate-disclosure { border-top: 0; padding-top: 8px; }
.noscript { padding: 20px; color: var(--text); }
.dialog-open { overflow: hidden; }
.product-dialog { background: var(--surface); color: var(--text); padding: 0; width: min(820px, calc(100% - 32px)); max-height: calc(100dvh - 40px); border: 1px solid #435765; border-radius: 22px; box-shadow: 0 25px 100px #0008; }
.product-dialog::backdrop { background: #03070ccc; backdrop-filter: blur(7px); }
.dialog-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 32px; }
.close-icon { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #526372; border-radius: 50%; background: #17242f; color: white; cursor: pointer; z-index: 1; }
.close-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.dialog-media { background: radial-gradient(ellipse at center, #35434d, #111a22 73%); border-radius: 16px; align-self: center; }
.dialog-media img { display: block; width: 100%; height: auto; object-fit: contain; }
.dialog-copy { padding-top: 22px; }
.dialog-category { font-size: .875rem; color: var(--accent); margin-bottom: 6px; }
.dialog-copy h2 { font-size: 1.375rem; font-weight: 800; line-height: 1.5; overflow-wrap: anywhere; }
.dialog-price { margin-block: 9px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
#dialog-price { color: var(--accent); font-size: 2.4rem; font-weight: 900; line-height: 1.4; }
.dialog-tax { color: var(--subtle); font-size: .8125rem; }
.dialog-spec { font-size: 1rem; color: var(--muted); }
.dialog-use { margin-top: 12px; font-size: 1.125rem; font-weight: 700; }
.dialog-detail { margin-top: 12px; font-size: 1rem; color: #c6d4df; }
.dialog-notice { font-size: .875rem; line-height: 1.7; color: var(--subtle); margin: 20px 0 16px; padding-top: 16px; border-top: 1px solid var(--surface-border); }
.dialog-purchase { margin-bottom: 20px; }
.dialog-purchase h3 { font-size: 1rem; line-height: 1.5; margin: 0 0 12px; }
@media (hover: hover) {
  .product-card:hover { border-color: #81959d; transform: translateY(-2px); }
  .product-card.featured:hover { border-color: var(--accent); }
  .primary-button:hover { background: #d5ff80; }
}
@media (max-width: 1050px) {
  .price-row { gap: 5px 10px; }
  .current-price { font-size: 2rem; }
  .product-title { font-size: 1.05rem; }
  .product-spec, .product-use { font-size: .95rem; }
}
@media (max-width: 800px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-media { height: 200px; }
  .intro-description { font-size: 1.125rem; }
}
@media (max-width: 560px) {
  .header-inner { padding: 14px 18px; }
  .brand { gap: 10px; font-size: 1.3rem; }
  .brand svg { height: 28px; width: 23px; }
  .page, .site-footer { padding-inline: 16px; }
  .intro { padding: 26px 0 23px; }
  .demo-notice { font-size: .8125rem; margin-bottom: 10px; }
  .demo-notice > span:last-child { display: inline-block; }
  .intro h1 { font-size: 2rem; letter-spacing: -.04em; }
  .intro-description { font-size: 1rem; max-width: 310px; margin: 10px auto 0; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .product-card { padding: 10px; border-radius: 16px; }
  .product-card.featured { padding: 9px; }
  .product-media { height: 205px; }
  .product-media img { padding: 0 22px; }
  .card-content { padding: 11px 6px 6px; }
  .product-title { font-size: 1.125rem; }
  .current-price { font-size: 2.3rem; }
  .price-row { gap: 6px 13px; }
  .product-spec, .product-use { font-size: 1rem; }
  .product-use { margin-bottom: 15px; }
  .primary-button { min-height: 47px; font-size: 1rem; }
  .site-footer { margin-top: 25px; padding-bottom: 26px; }
  .site-footer p { font-size: .8125rem; }
  .product-dialog { width: calc(100% - 24px); border-radius: 18px; max-height: calc(100dvh - 24px); }
  .dialog-inner { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 22px; }
  .dialog-media { max-height: 220px; overflow: hidden; }
  .dialog-media img { height: 220px; }
  .dialog-copy { padding-top: 14px; }
}
@media (max-width: 360px) { .dialog-inner { padding-inline: 18px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
