:root {
  --ink: #12303d;
  --muted: #617581;
  --navy: #0d2432;
  --navy-soft: #183a48;
  --teal: #23c8ac;
  --teal-dark: #087c72;
  --line: #dce5e8;
  --paper: #f5f8f8;
  --white: #ffffff;
  --radius: 16px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: 'Noto Sans JP', system-ui, -apple-system, BlinkMacSystemFont, 'Yu Gothic', sans-serif; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #0f9584; outline-offset: 3px; }
.shell { max-width: 1140px; padding: 0 28px; margin: 0 auto; }
.skip-link { position: absolute; top: -100px; left: 12px; z-index: 100; background: var(--white); padding: 8px 16px; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--navy); border-bottom: 1px solid #254351; color: #fff; }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 76px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.brand-symbol { display: grid; place-items: center; width: 34px; height: 34px; font-size: 30px; color: var(--navy); background: var(--teal); border-radius: 8px; line-height: 1; }
.brand-em { color: var(--teal); }
.site-header nav { display: flex; gap: 32px; }
.site-header nav a { text-decoration: none; color: #d3e2e6; font-size: 13px; font-weight: 600; }
.site-header nav a:hover { color: var(--teal); }
.hero { color: #fff; background: var(--navy); overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 48px; padding-top: 66px; padding-bottom: 90px; }
.eyebrow, .section-kicker { font-size: 11px; letter-spacing: .16em; font-weight: 800; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--teal); margin: 0 0 20px; }
.eyebrow-line { background: var(--teal); height: 2px; width: 18px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(36px, 4.3vw, 56px); line-height: 1.35; letter-spacing: -.065em; margin-bottom: 20px; font-weight: 800; }
h1 span { color: var(--teal); }
.hero-description { color: #d4e2e6; font-size: 15px; max-width: 530px; line-height: 2; margin-bottom: 36px; }
.hero-facts { display: flex; gap: 34px; }
.hero-facts div { display: flex; flex-direction: column; gap: 0; }
.hero-facts strong { font-size: 20px; color: #fff; letter-spacing: -.04em; }
.hero-facts span { color: #9ebac3; font-size: 11px; }
.hero-aside { justify-self: end; display: flex; align-items: center; flex-direction: column; width: 100%; max-width: 340px; color: #d3e5e8; }
.measure-label { letter-spacing: .18em; font-size: 10px; font-weight: 800; color: #b7d2d6; margin-bottom: 20px; }
.measure-card { height: 240px; width: 100%; position: relative; border: 1px solid #406371; border-radius: 16px; background: radial-gradient(ellipse at 50% 60%, #244a57, #102c3a 65%); box-shadow: 0 18px 50px #0002; }
.measure-rail { position: absolute; top: 60px; left: 22%; right: 22%; height: 92px; border: 4px solid #9aafb5; border-top: 12px solid #d8e6e8; border-radius: 3px; background: #476b77; box-shadow: inset 0 7px 15px #1c404c; }
.measure-lower { position: absolute; width: 42%; height: 10px; top: 151px; left: 29%; border-radius: 3px; background: #9aafb5; }
.measure-arrow { position: absolute; top: 95px; left: 21%; width: 58%; display: flex; align-items: center; justify-content: center; color: var(--teal); font-size: 34px; line-height: 1; text-shadow: 0 2px 8px #133; }
.measure-arrow:before, .measure-arrow:after { content: ''; height: 2px; background: var(--teal); flex: 1; }
.measure-value { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 30px; font-weight: 800; color: #fff; }
.measure-value span { font-size: 13px; margin-left: 4px; color: var(--teal); }
.hero-aside > p { font-size: 11px; letter-spacing: .08em; margin: 14px 0 0; }
.search-section { padding-top: 64px; padding-bottom: 78px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 25px; }
.section-kicker { color: var(--teal-dark); margin-bottom: 5px; }
h2 { font-size: clamp(22px, 2.5vw, 30px); line-height: 1.5; letter-spacing: -.05em; margin-bottom: 0; }
.data-note { color: var(--muted); font-size: 11px; }
.search-panel { background: var(--paper); border: 1px solid var(--line); padding: 32px; border-radius: 20px; }
.width-control { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.width-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.width-heading label { font-size: 17px; font-weight: 800; }
.width-heading label span { color: var(--muted); font-weight: 500; font-size: 13px; }
.number-box { display: flex; align-items: center; gap: 6px; background: #fff; padding: 4px 15px; border: 1px solid #bbcdd2; border-radius: 10px; }
.number-box:focus-within { outline: 3px solid #a2e9df; outline-offset: 2px; }
.number-box input { border: 0; font-size: 26px; font-weight: 800; color: var(--navy); width: 90px; background: transparent; text-align: right; outline: none; }
.number-box span { color: var(--muted); font-size: 12px; }
input[type=range] { width: 100%; accent-color: var(--teal-dark); cursor: pointer; height: 10px; margin: 0; }
.range-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; margin-top: 5px; }
.help, .error-message { color: var(--muted); font-size: 12px; margin: 14px 0 0; }
.error-message { color: #a62424; font-weight: 600; }
.secondary-filters { display: grid; grid-template-columns: 1fr 1fr 1.4fr 1fr; gap: 20px; padding-top: 25px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; font-weight: 700; }
.field select, .field input { width: 100%; height: 44px; padding: 0 13px; color: var(--ink); background: #fff; border: 1px solid #c7d5d9; border-radius: 8px; font-size: 13px; }
.field input::placeholder { color: #8197a1; }
.action-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 26px; }
.text-button { color: var(--muted); font-size: 12px; border: 0; background: none; text-decoration: underline; text-underline-offset: 3px; padding: 10px 0; }
.share-button { border: 1px solid var(--navy); background: var(--navy); color: #fff; font-weight: 700; font-size: 12px; border-radius: 9px; padding: 11px 18px; }
.share-button:hover { background: #254453; }
.share-button span { font-size: 15px; margin-left: 7px; }
.results-bar { margin-top: 42px; display: flex; justify-content: space-between; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 13px; }
.results-bar p { margin: 0; font-size: 15px; font-weight: 700; }
.results-bar strong { font-size: 25px; color: var(--teal-dark); }
#result-detail { font-size: 12px; font-weight: 500; color: var(--muted); padding-left: 4px; }
.results-hint { color: var(--muted); font-size: 11px; }
.results-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.product-card { border: 1px solid var(--line); border-radius: 15px; padding: 23px; display: flex; flex-direction: column; background: #fff; min-width: 0; transition: box-shadow .15s, border-color .15s; }
.product-card:hover { border-color: #a2c9c8; box-shadow: 0 10px 30px #0d24320c; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 11px; }
.card-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.type-badge { display: inline-block; border: 1px solid #c9d9dd; color: var(--ink); border-radius: 5px; padding: 3px 7px; font-size: 10px; font-weight: 700; }
.shop-note { font-size: 11px; color: var(--muted); margin: 13px 0 0; }
.maker-badge { display: inline-block; color: #0b635c; background: #e8f8f4; border-radius: 5px; font-size: 10px; font-weight: 800; padding: 4px 8px; letter-spacing: .06em; }
.card-checked { color: var(--muted); font-size: 10px; }
.product-title { font-size: 17px; letter-spacing: -.04em; line-height: 1.55; margin-bottom: 15px; }
.product-width { display: flex; align-items: center; gap: 9px; background: #f0f6f6; padding: 12px 14px; border-radius: 9px; margin-bottom: 15px; }
.product-width .fit-icon { color: var(--teal-dark); font-weight: 800; font-size: 17px; }
.product-width .fit-copy { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.product-width .fit-copy span { font-size: 10px; color: var(--muted); }
.product-width .fit-copy strong { font-size: 20px; font-weight: 800; }
.product-width .fit-copy strong small { font-size: 11px; font-weight: 600; }
.product-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: 0 0 17px; }
.product-meta div { border-top: 1px solid var(--line); padding-top: 9px; }
.product-meta dt { color: var(--muted); font-size: 10px; }
.product-meta dd { margin: 0; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.card-actions a { padding: 10px 12px; border-radius: 8px; text-align: center; text-decoration: none; font-weight: 700; font-size: 12px; border: 1px solid #c7d9dd; flex: 1; min-width: 135px; }
.card-actions a:first-child { background: var(--navy); color: #fff; border-color: var(--navy); }
.card-actions a:hover { opacity: .85; }
.empty { background: var(--paper); border: 1px dashed #afc4c9; padding: 38px 24px; text-align: center; border-radius: 12px; margin-top: 20px; }
.empty h3 { font-size: 17px; }
.empty p { font-size: 12px; color: var(--muted); }
.outline-button { padding: 10px 16px; background: #fff; border: 1px solid #9bb3ba; border-radius: 8px; font-size: 12px; }
.important-note { margin-top: 23px; color: var(--muted); font-size: 12px; background: #f5f7f7; padding: 15px 19px; border-left: 3px solid #92b6bd; }
.important-note strong { color: var(--ink); }
.guide-section { background: var(--paper); padding: 65px 0 76px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.guide-card { padding: 26px 25px; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.guide-number { color: var(--teal-dark); letter-spacing: .08em; font-weight: 800; font-size: 13px; }
.guide-card h3 { margin: 15px 0 9px; font-size: 17px; }
.guide-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.about-section { padding-top: 80px; padding-bottom: 90px; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.about-grid p { font-size: 13px; color: var(--muted); line-height: 2; }
.about-grid .about-meta { color: #69818d; font-size: 11px; margin-top: 20px; }
.footer { background: var(--navy); color: #b6cbd2; }
.footer-content { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; }
.footer-brand { color: #fff; font-weight: 800; font-size: 16px; }
.footer a { color: #b6cbd2; }
.no-script { padding: 15px; background: #ffefbb; text-align: center; }
[hidden] { display: none !important; }
@media (max-width: 900px) {
  .hero-layout { gap: 26px; grid-template-columns: 1.2fr .8fr; }
  .hero-aside { max-width: 265px; }
  .measure-card { height: 215px; }
  .secondary-filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .shell { padding-left: 18px; padding-right: 18px; }
  .header-inner { min-height: 64px; }
  .brand { font-size: 18px; }
  .site-header nav { gap: 15px; }
  .site-header nav a { font-size: 11px; }
  .site-header nav a:last-child { display: none; }
  .hero-layout { display: block; padding-top: 49px; padding-bottom: 59px; }
  .hero-aside { display: none; }
  .hero-description { font-size: 13px; }
  .hero-facts { gap: 24px; }
  .search-section { padding-top: 43px; padding-bottom: 55px; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
  .search-panel { padding: 22px 17px; }
  .width-heading label { font-size: 14px; }
  .number-box { padding: 3px 9px; }
  .number-box input { font-size: 22px; width: 75px; }
  .secondary-filters { grid-template-columns: 1fr; gap: 15px; }
  .secondary-filters .field:last-child { grid-column: auto; }
  .results-bar { flex-direction: column; gap: 0; }
  .results-grid { grid-template-columns: 1fr; gap: 12px; }
  .results-hint { display: none; }
  .guide-section { padding: 53px 0; }
  .guide-grid { grid-template-columns: 1fr; gap: 12px; }
  .guide-card { padding: 22px; }
  .about-section { padding-top: 60px; padding-bottom: 65px; }
  .about-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-content { padding-top: 25px; padding-bottom: 25px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Privacy policy */
.policy-section { padding-top: 70px; padding-bottom: 90px; }
.policy-section h1 { font-size: clamp(28px, 4vw, 40px); }
.policy-lead { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.policy-content { max-width: 780px; }
.policy-content section + section { margin-top: 34px; }
.policy-content h2 { font-size: 20px; margin-bottom: 12px; }
.policy-content p { font-size: 13px; color: var(--muted); line-height: 2; }
.policy-content a { color: var(--teal-dark); text-underline-offset: 3px; overflow-wrap: anywhere; }
.policy-date { font-size: 12px; }
@media (max-width: 680px) { .policy-section { padding-top: 48px; padding-bottom: 60px; } }
