:root {
  --bg: #f5f5f5;
  --surface: #fff;
  --surface-muted: #ededed;
  --text: #202020;
  --muted: #666;
  --line: #d6d6d6;
  --accent: #333;
  --accent-strong: #111;
  --shadow: none;
}
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--text); text-underline-offset: .22em; }
a:hover { color: #000; }
.app-header { align-items: center; padding: 24px max(24px, calc((100vw - 1152px)/2)); gap: 24px; }
.app-header h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.3; margin: 0 0 6px; }
.app-header h1 a { text-decoration: none; }
.app-header p { color: var(--muted); font-size: .8rem; margin: 0; }
.purchase-hero-nav { display: flex; align-items: center; gap: 20px; margin: 0; font-size: .8rem; white-space: nowrap; }
.purchase-hero-nav a { text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; }
.purchase-hero-nav a:hover { border-color: #222; }
main { padding-top: 36px !important; padding-bottom: 64px !important; }
.setting-card, .comparison-entry, .guide-candidate, .buy-offer, .choice-hero, .note-panel, .static-panel,
.top-tabs, .tab, .button-link, button, input, select, .choice-links a, .purchase-options select, .comparison-filters select { border-radius: 0; box-shadow: none; }
.choice-hero { padding: 32px; margin-bottom: 36px; border: 1px solid #ccc; border-top: 3px solid #222; }
.guide-kicker { color: var(--muted); font-size: .72rem; letter-spacing: .08em; margin-bottom: 12px; }
.choice-hero h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.5; margin-bottom: 12px; }
.choice-hero > p:not(.guide-kicker) { color: var(--muted); max-width: 680px; font-size: .9rem; }
.choice-links { gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.choice-links a { flex: 1; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); font-size: .85rem; font-weight: 500; }
.choice-links a:last-child { border-right: 0; }
.choice-links a:hover { background: #f0f0f0; }
.settings-grid { gap: 20px; }
.setting-card { padding: 22px; border-color: var(--line); }
.setting-card h2 { font-size: 1.06rem; line-height: 1.6; font-weight: 600; }
.setting-card > p { font-size: .85rem; color: var(--muted); }
.setting-card h2 + p { font-size: .73rem; letter-spacing: .035em; }
.guide-section { max-width: 900px; margin: 36px 0; }
.guide-section > h2 { padding-top: 24px; border-top: 1px solid var(--line); font-size: 1.2rem; font-weight: 600; }
.guide-section p, .guide-section li { font-size: .9rem; }
.guide-section strong { font-weight: 600; }
.guide-candidate { padding: 22px; }
.guide-candidate h3 { font-size: 1rem; margin: 0 0 12px; }
.guide-candidate summary, .setting-card summary { font-weight: 500; }
.purchase-options h3 { font-size: .9rem; font-weight: 600; }
.buy-offer { background: #fafafa; padding: 14px; border-color: #ddd; }
.buy-provider { color: #666; font-weight: 500; }
.buy-price { color: #171717; font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.buy-button { background: #252525; color: #fff; font-weight: 500; text-decoration: none; border: 1px solid #252525; }
.buy-button:hover { color: #fff; background: #444; }
.setting-detail-link { font-weight: 500; }
.fact-row { background: #f6f6f6; border-radius: 0; }
input:focus, select:focus { outline: 2px solid #555; outline-offset: 2px; }
.site-footer { border-top: 1px solid var(--line); background: #eee; font-size: .8rem; color: #666; padding: 24px max(24px, calc((100vw - 1152px)/2)); }
@media(max-width:700px) {
  .app-header { align-items: flex-start; flex-direction: column; padding: 20px; gap: 12px; }
  .purchase-hero-nav { white-space: normal; flex-wrap: wrap; gap: 8px 20px; }
  main { padding: 24px 16px 48px !important; }
  .choice-hero { padding: 22px 18px; }
  .choice-links { flex-direction: column; }
  .choice-links a { border-right: 0; padding: 13px 0; }
  .setting-card, .guide-candidate { padding: 18px; }
}
.catalog-heading { margin-bottom: 24px; }
.catalog-heading h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -.04em; margin: 6px 0; }
.catalog-heading > p:last-child { color: var(--muted); font-size: .9rem; }
.catalog-controls { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 12px; border-block: 1px solid var(--line); padding: 16px 0; }
.catalog-controls label { font-size: .75rem; font-weight: 500; color: var(--muted); }
.catalog-controls input, .catalog-controls select { width: 100%; max-width: none; font-size: .85rem; padding: 8px 12px; }
#catalog-count { margin: 14px 0; font-size: .8rem; color: var(--muted); }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,310px),1fr)); gap: 16px; align-items: start; }
.catalog-card { min-width: 0; padding: 20px; border: 1px solid var(--line); background: #fff; scroll-margin-top: 18px; }
.catalog-card[hidden], .catalog [hidden] { display: none !important; }
.catalog-picture { float: right; object-fit: contain; margin: 4px 0 12px 12px; }
.catalog-brand { font-size: .72rem; color: var(--muted); margin: 0 0 12px; }
.catalog-brand span { display: inline-block; padding: 2px 6px; background: #eee; margin-left: 6px; }
.catalog-card h3 { font-size: 1.03rem; margin: 0 0 8px; line-height: 1.5; overflow-wrap: anywhere; }
.catalog-description { color: var(--muted); font-size: .8rem; min-height: 2.8em; margin: 0 0 16px; }
.catalog-price { clear: both; min-height: 48px; margin: 12px 0; font-size: .85rem; }
.catalog-price strong { font-size: 1.55rem; letter-spacing: -.04em; font-variant-numeric: tabular-nums; font-weight: 600; }
.catalog-price small { font-size: .7rem; color: var(--muted); }
.catalog-unit { display: block; color: var(--muted); font-size: .75rem; }
.catalog-size { margin: -8px 0 16px; font-size: .72rem; color: var(--muted); }
.catalog-buy { display: flex; justify-content: space-between; padding: 10px 12px; background: #252525; color: #fff; font-size: .85rem; text-decoration: none; margin-bottom: 14px; }
.catalog-buy:hover { background: #444; color: #fff; }.catalog-buy:focus-visible { outline: 3px solid #777; outline-offset: 3px; }
.catalog-amazon { display: block; text-align: center; font-size: .8rem; margin: -4px 0 14px; padding: 5px; }
.catalog-verification, .catalog-ad-note { font-size: .7rem; color: var(--muted); }.catalog-verification { margin: 0 0 10px; }
.catalog-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }.catalog-shortcuts button { border: 1px solid #bbb; background: #fff; padding: 8px 14px; min-height: 40px; font-size: .85rem; }
.catalog-shortcuts button:hover, .catalog-shortcuts button[aria-pressed="true"] { background: #252525; color: #fff; border-color: #252525; }
.catalog-known-label { display: flex; align-items: center; gap: 8px; margin: 12px 0; font-size: .75rem; font-weight: 400; }.catalog-known-label input { width: 16px; height: 16px; min-height: 0; padding: 0; }
.catalog-questions { margin-top: 32px; }.catalog-questions h2 { font-size: 1.1rem; }.catalog-questions details { border-top: 1px solid #ddd; padding: 12px 0; font-size: .85rem; }.catalog-questions summary { cursor: pointer; }.catalog-questions p { margin: 12px 0; }
.catalog-heading h1 { font-size: clamp(1.7rem,3vw,2.2rem); line-height: 1.4; letter-spacing: -.04em; font-weight: 600; margin: 6px 0 12px; }
.catalog-card h1 { font-size: 1.5rem; line-height: 1.5; margin: 0 0 12px; }
.app-header .site-brand { font-size: clamp(1.5rem,3vw,2rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.3; margin: 0 0 6px; color: var(--text); }.site-brand a { text-decoration: none; }
.catalog-details > summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 0 0; border-top: 1px solid var(--line); cursor: pointer; font-size: .85rem; list-style: none; }
.catalog-details > summary::-webkit-details-marker { display: none; }
.catalog-details[open] > summary span { transform: rotate(45deg); }
.catalog-detail-body { padding-top: 8px; clear: both; font-size: .8rem; }
.catalog-detail-body h4 { margin: 24px 0 8px; font-size: .85rem; }
.catalog-facts { margin: 0; }
.catalog-facts div { display: grid; grid-template-columns: 1fr 1fr; padding: 8px 0; border-bottom: 1px solid #eee; gap: 8px; }
.catalog-facts dt { color: var(--muted); }.catalog-facts dd { margin: 0; }
.catalog-sources { margin-top: 18px; overflow-wrap: anywhere; }
.catalog-sources summary, .catalog-policy summary, .other-settings > summary { cursor: pointer; padding: 14px 0; font-size: .85rem; }
.catalog-policy, .other-settings { margin-top: 28px; border-top: 1px solid var(--line); font-size: .85rem; }
.catalog-detail-body .buy-offer { flex-basis: 240px; }
@media(max-width:600px) { .catalog-controls { grid-template-columns: 1fr 1fr; }.catalog-controls label:last-child { grid-column: 1/-1; }.catalog-grid { grid-template-columns: 1fr; }.catalog-card { padding: 18px; } }
