:root{color-scheme:light;--navy:#122b4b;--ink:#26364c;--muted:#53647a;--line:#dce4ed;--paper:#fff;--soft:#f3f7fb;--blue:#164f83}
*{box-sizing:border-box}body{margin:0;background:var(--soft);color:var(--ink);font:16px/1.72 system-ui,"Yu Gothic",Meiryo,sans-serif}a{color:var(--blue);text-underline-offset:.2em}a:hover{text-decoration-thickness:2px}button,select{font:inherit;color:inherit}button{cursor:pointer}.wrap{width:min(1120px,calc(100% - 40px));margin-inline:auto}header,footer{background:white;border-block:1px solid var(--line)}.bar,footer .wrap{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px;padding-block:16px}.bar nav{display:flex;gap:8px 20px;flex-wrap:wrap;margin-right:auto}.brand{color:var(--navy);font-size:1.19rem;font-weight:800;text-decoration:none;white-space:nowrap}main{min-height:70vh;padding-block:28px 62px}h1,h2,h3{color:var(--navy);line-height:1.35}h1{font-size:clamp(1.8rem,5vw,3rem);margin:0 0 16px}h2{font-size:1.55rem}h3{margin:.15rem 0}.hero{display:grid;grid-template-columns:2fr 1fr;align-items:center;gap:32px;padding:clamp(20px,5vw,52px);margin:15px 0 40px;background:var(--navy);color:#edf5ff;border-radius:20px}.hero h1,.hero a{color:white}.hero p{max-width:42em}.hero aside{background:#203e62;border:1px solid #486485;border-radius:12px;padding:12px}.hero li+li{margin-top:10px}.hero .button{background:white;color:var(--navy)}.actions{display:flex;align-items:center;gap:12px 18px;flex-wrap:wrap;margin:18px 0}.button,button{display:inline-block;border:1px solid var(--line);padding:.45em .85em;border-radius:8px;background:white;color:var(--navy);text-decoration:none;font-weight:650}.button{background:var(--navy);color:white;border-color:var(--navy)}button[aria-pressed=true]{background:#e0edf9;border-color:#92aec9}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(235px,100%),1fr));gap:14px}.card{background:white;border:1px solid var(--line);border-radius:12px;padding:18px}.card p:last-child{margin-bottom:0}section{margin-block:24px}.scroll{overflow:auto;background:white;border:1px solid var(--line);border-radius:12px}table{border-collapse:collapse;width:100%;min-width:660px;text-align:left}th,td{padding:14px;vertical-align:top;border-bottom:1px solid var(--line)}thead th{background:#e6eef7;color:var(--navy)}tbody tr:last-child>*{border-bottom:0}th:first-child{min-width:136px}td:has(button){min-width:128px}small{display:block;color:var(--muted);font-size:.85rem}.muted,.crumb{color:var(--muted);font-size:.92rem}.lead{max-width:50em;font-size:1.1rem}.notice{padding:12px 16px;background:#e8eff8;border-left:4px solid #45719b}.product-layout{display:grid;grid-template-columns:2fr 1fr;gap:16px;align-items:start}.product-layout section{margin:0}dl{margin:0 0 16px}dt{font-weight:700;margin-top:10px}dd{margin:2px 0 0}.tag{display:inline-block;padding:.12em .45em;border-radius:5px;background:#e8eff8;margin:.2em;color:var(--navy)}.alert{color:#9b2720;font-weight:700}.metrics{margin-top:18px}.metrics strong{display:block;font-size:1.2rem}.picker ul{margin-bottom:0}.picker li+li{margin-top:8px}select{padding:.4em;border:1px solid #a7b7c9;border-radius:6px;max-width:100%}.product-image{margin-bottom:8px}.product-image img{max-width:100%;height:auto}.bar [data-count]{background:#e8eff8;border-radius:10px;padding:.1em .5em}footer small{margin-left:auto}
@media(max-width:720px){.hero,.product-layout{grid-template-columns:1fr}.hero{gap:8px}.bar nav{order:3;width:100%;font-size:.9rem}.wrap{width:calc(100% - 28px)}.bar>.button{margin-left:auto;font-size:.86rem}.hero aside{display:none}th,td{padding:10px}}
/* Shared page layout */
:root {
  --navy: #0e223c;
  --ink: #283b50;
  --muted: #50657a;
  --line: #dae4ee;
  --soft: #f4f7fa;
  --blue: #18527e;
}
body { background: var(--soft); }
.wrap { width: min(1200px, calc(100% - 64px)); }
header { position: sticky; top: 0; z-index: 5; }
.bar { min-height: 72px; gap: 12px 32px; }
.brand { display: inline-flex; gap: 9px; align-items: center; }
.brand-mark, .example-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e7f1fa;
  color: #15507e;
  font-size: 21px;
}
.bar nav a { text-decoration: none; font-weight: 620; }
.bar nav a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 3px solid #448dbe;
  outline-offset: 3px;
}
.button, button { min-height: 42px; }
.button { padding: .55em 1.05em; }
.button:hover { background: #245273; }
.home section { scroll-margin-top: 98px; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(20px, 4vw, 62px);
  padding: clamp(28px, 6vw, 76px);
  border-radius: 24px;
  margin: 10px 0 46px;
  background: radial-gradient(ellipse at 92% 8%, #254f70 0%, transparent 59%), #0d233d;
  box-shadow: 0 19px 46px -36px #101d33;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(#d9ecff14 1px, transparent 1px), linear-gradient(90deg, #d9ecff14 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, transparent 22%, #000);
}
.hero h1 { font-size: clamp(1.9rem, 4vw, 3.4rem); letter-spacing: -.045em; line-height: 1.28; }
.hero p { color: #e1ecf7; line-height: 1.9; }
.hero .actions { margin-bottom: 0; }
.hero .button:hover { background: #e1eef9; }
.hero .hero-example {
  display: block;
  background: #fff;
  color: var(--ink);
  padding: clamp(16px, 3vw, 25px);
  border: 0;
  border-radius: 18px;
  box-shadow: 0 14px 40px #00152d66;
}
.example-heading, .example-total, .example-row, .example-link {
  display: flex;
  align-items: center;
  gap: 12px;
}
.example-total { justify-content: space-between; margin: 12px 0 5px; }
.example-total strong { color: var(--navy); font-size: 2rem; font-variant-numeric: tabular-nums; }
.example-total small { display: inline; }
.example-bar { display: flex; gap: 3px; height: 11px; margin-bottom: 12px; }
.example-bar span { flex: 8.8; background: #194f7a; border-radius: 20px; }
.example-bar span + span { flex: 4.4; background: #78acd2; }
.example-row { gap: 8px; padding-block: 6px; font-size: .87rem; }
.example-row i { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #194f7a; }
.example-row + .example-row i { background: #78acd2; }
.example-row b { margin-left: auto; white-space: nowrap; }
.hero .example-link { justify-content: space-between; color: var(--blue); border-top: 1px solid var(--line); margin-top: 10px; padding-top: 12px; font-weight: 700; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0 16px; }
.section-heading h2 { margin-top: 0; }
.ingredient-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: 20px; box-shadow: 0 4px 17px #162a4910; }
.ingredient-card { display: grid; align-content: start; gap: 8px; }
.ingredient-card p { margin: 0; font-size: .92rem; }
.ingredient-card h3 a { text-decoration: none; }
.ingredient-card h3 a:hover { text-decoration: underline; }
.ingredient-mark, .product-mark {
  display: inline-grid;
  width: fit-content;
  place-items: center;
  padding: .25em .6em;
  min-width: 37px;
  min-height: 34px;
  border-radius: 9px;
  background: #e9f1f8;
  color: #24597f;
  font-weight: 750;
}
.product-mark { display: table; margin-bottom: 6px; font-size: .73rem; }
.page-intro { border-radius: 16px; padding: 25px; background: #e5eff8; }
.page-intro p, td p:last-child { margin-bottom: 0; }
tbody tr:nth-child(even) { background: #f6f9fc; }
th, td { padding: 16px; }
.catalog th:first-child { min-width: 170px; }
.catalog td strong { display: block; color: var(--navy); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.catalog td small { margin-top: 4px; }
.metrics .card { border-top: 3px solid #4a83aa; }
.metrics strong { font-size: 1.5rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.scroll:focus-visible { outline: 3px solid #448dbe; }
@media (max-width: 950px) {
  .ingredient-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 28px); }
  .bar { min-height: 0; padding-block: 10px; }
  .bar nav { gap: 7px 13px; }
  .hero { grid-template-columns: 1fr; gap: 22px; margin-bottom: 32px; }
  .ingredient-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ingredient-card { padding: 13px; }
  .ingredient-card h3 { font-size: 1rem; }
  .ingredient-card p { font-size: .86rem; }
  .catalog-scroll { border: 0; background: transparent; }
  .catalog, .catalog tbody, .catalog thead { display: block; min-width: 0; }
  .catalog thead tr { display: flex; background: transparent; justify-content: flex-end; }
  .catalog thead th { display: none; }
  .catalog thead th:has(button) { display: block; background: none; padding: 0 0 8px; border: 0; }
  .catalog tbody { display: grid; gap: 12px; }
  .catalog tbody tr {
    display: grid;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: white;
  }
  .catalog tbody th { min-width: 0; font-size: 1.08rem; }
  .catalog tbody td, .catalog tbody th { padding: 8px 3px; }
  .catalog tbody td[data-label]::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 650;
  }
  .catalog tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
  .catalog tbody tr > :last-child, .catalog tbody tr:last-child > :last-child { border: 0; }
  .catalog .select { width: 100%; }
}
.candidate-section { margin-top: 32px; }
.candidate-section .section-heading { margin-bottom: 12px; }
.candidate-grid { grid-template-columns: repeat(auto-fill, minmax(min(245px, 100%), 1fr)); }
.candidate-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.candidate-card h3, .candidate-card p { margin: 0; }
.candidate-card h3 { font-size: 1.05rem; }
.candidate-card .product-image { align-self: center; }
.candidate-dose strong { font-size: 1.5rem; color: var(--navy); }
.candidate-actions { width: 100%; display: grid; gap: 9px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.candidate-actions .select { width: 100%; }
.candidate-check [data-count] { margin-left: .35em; font-variant-numeric: tabular-nums; }
.ingredient-sections { display: grid; gap: 18px; }
.ingredient-section { margin: 0; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.ingredient-section > h3 { font-size: 1.35rem; margin: 0; }
.ingredient-section > h3 a { color: var(--navy); }
.ingredient-section > p { margin: 8px 0 0; }
.ingredient-section > .candidate-grid { margin-top: 16px; }
.ingredient-section .candidate-card { background: var(--soft); box-shadow: none; }
.home .hero { grid-template-columns: 1fr; }
.overlap-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 3vw, 36px);
  padding: clamp(16px, 3vw, 28px);
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #e8f1f9;
}
.overlap-panel h3 { font-size: 1.3rem; }
.overlap-panel .actions { margin-bottom: 0; }
.overlap-example { padding: 12px 16px; background: white; border-radius: 12px; }
.overlap-example .example-total { margin-top: 3px; }
@media (max-width: 680px) {
  .overlap-panel { grid-template-columns: 1fr; }
}
.representative-heading { margin: 18px 0 0; color: var(--navy); font-size: 1rem; }
.ingredient-sections { gap: 10px; }
.ingredient-section { padding: clamp(12px, 2vw, 18px); }
.ingredient-section > p { margin-top: 4px; }
.representative-heading { margin-top: 9px; }
.ingredient-section > .candidate-grid { margin-top: 6px; }
.candidate-grid { grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 10px; }
.candidate-card { display: grid; justify-items: start; gap: 6px; padding: 10px; }
.candidate-meta p { color: var(--muted); font-size: .85rem; }
.candidate-ad, .rakuten-embed { min-width: 0; width: 100%; }
.candidate-ad .tag { margin: 0 0 3px; font-size: .73rem; }
.rakuten-embed table { min-width: 0; }
.rakuten-embed td { padding: 0; border: 0; }
.rakuten-embed tr { background: transparent !important; }
.rakuten-embed > table > tbody > tr > td > div { width: 100% !important; }
.rakuten-embed > table > tbody > tr > td > br,
.rakuten-embed > table > tbody > tr > td > p:empty { display: none; }
.rakuten-embed table table td:first-child { width: 86px !important; }
.rakuten-embed table table td:first-child img { display: block; width: 82px; height: 82px; object-fit: contain; }
.rakuten-embed table table td + td { display: table-cell !important; width: auto !important; }
.rakuten-embed table table td + td > div { display: flow-root; margin: 3px 6px !important; }
.candidate-card .select { min-height: 38px; }
.candidate-grid { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.ingredient-section:not(:has(.candidate-grid)) { padding-block: 9px; }
.picker:has(.picker-costs) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .75fr); align-items: center; gap: 16px 24px; }
.picker-costs { display: grid; gap: 8px; margin: 0; }
.picker-costs > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; padding: 8px 12px; border-radius: 8px; background: var(--soft); }
.picker-costs dt, .picker-costs dd { margin: 0; }
.picker-costs dd { color: var(--navy); font-size: 1.2rem; font-weight: 750; font-variant-numeric: tabular-nums; }
@media (max-width: 620px) { .picker:has(.picker-costs) { grid-template-columns: 1fr; } }
.popular-scroll {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: min(82%, 320px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  padding: 2px 2px 12px;
}
.popular-scroll > .candidate-card { scroll-snap-align: start; }
.popular-scroll:focus-visible { outline: 3px solid #448dbe; outline-offset: 3px; }
.candidate-offer { display: flex; align-items: center; gap: 10px; }
.candidate-offer .product-image { flex: 0 0 78px; margin: 0; }
.candidate-offer img { display: block; width: 78px; height: 78px; object-fit: contain; }
.home .supplement-hero {
  min-height: 320px;
  grid-template-columns: 1.35fr minmax(180px, .65fr);
  gap: 16px;
  padding: clamp(22px, 5vw, 58px);
  background: radial-gradient(ellipse at 82% 35%, #284b64 0%, transparent 58%), #0e223c;
}
.supplement-hero h1 { letter-spacing: -.02em; }
.supplement-hero .hero-copy > p { max-width: 35em; }
.supplement-visual { position: relative; min-height: 235px; }
.supplement-bottle {
  position: absolute; top: 44px; left: 50%; width: 126px; height: 166px;
  transform: translateX(-50%) rotate(-11deg);
  border-radius: 26px 26px 20px 20px;
  background: linear-gradient(90deg,#b9d2e1,#f8fcff 42%,#dcecf4 73%,#8eabbf);
  box-shadow: 11px 18px 26px #03132499;
}
.supplement-bottle::before {
  content: ""; position: absolute; left: 15px; right: 15px; top: -21px; height: 38px;
  border-radius: 10px 10px 5px 5px;
  background: repeating-linear-gradient(90deg,#25485c 0 3px,#33596d 3px 5px);
}
.supplement-label {
  position: absolute; top: 50px; right: 0; left: 0; padding: 11px 17px 14px;
  background: linear-gradient(110deg,#14446b,#28738a);
}
.supplement-label span { display: block; width: 25px; height: 11px; border-radius: 15px; background: linear-gradient(90deg,#fff 50%,#84c1c2 50%); transform: rotate(-24deg); margin-bottom: 8px; }
.supplement-label i { display: block; height: 3px; width: 70%; background: #bcdeeb; border-radius: 3px; margin-top: 5px; }
.supplement-label i:last-child { width: 40%; }
.supplement-capsule,.supplement-tablet { position: absolute; display: block; box-shadow: 4px 9px 12px #07192d88; }
.supplement-capsule { top: 165px; left: 64%; width: 70px; height: 27px; border-radius: 20px; transform: rotate(-26deg); background: linear-gradient(90deg,#72b8b7 50%,#f9fcfd 50%); }
.supplement-tablet { top: 203px; left: 62%; width: 30px; height: 18px; border-radius: 50%; background: #e7d5b1; transform: rotate(19deg); }
.ingredient-index { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; }
.ingredient-index a { padding: .25em .65em; background: white; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; font-size: .87rem; font-weight: 650; }
.ingredient-index a:hover { background: #e5f0f7; }
.ingredient-index span, .ingredient-title > span { color: var(--muted); font-size: .82rem; }
.ingredient-title { display: flex; align-items: baseline; gap: 12px; }
.ingredient-title h3 { margin: 0; font-size: 1.25rem; }
.ingredient-title h3 a { color: var(--navy); }
.home #popular .candidate-card { padding: 13px; align-content: start; }
@media(max-width: 600px) {
  .home .supplement-hero { grid-template-columns: minmax(0,1fr) 68px; min-height: 0; }
  .supplement-hero h1 { font-size: clamp(1.55rem,6vw,2.15rem); }
  .supplement-visual { min-height: 155px; transform: scale(.48); transform-origin: center; }
  .supplement-capsule { left: 88%; }
  .supplement-tablet { left: 85%; }
}
.ingredient-sections { grid-template-columns: minmax(0, 1fr); }
/* Product browsing and comparison */
#popular, #ingredients { margin-top: clamp(28px, 5vw, 58px); }
.section-heading h2 { margin-bottom: 6px; }
.popular-scroll { grid-auto-columns: min(78%, 251px); align-items: stretch; padding: 3px 2px 13px; scrollbar-color: #829bb5 #e3ebf4; }
.home #popular .shelf-card, .shelf-card, .ingredient-section .shelf-card {
  display: grid; grid-template-rows: auto minmax(66px,1fr) auto auto;
  align-content: stretch; justify-items: stretch;
  gap: 9px; padding: 11px;
  border-radius: 15px; background: white; box-shadow: none;
}
.shelf-photo {
  position: relative;
  display: grid; place-items: center;
  min-height: 143px;
  border-radius: 9px;
  background: #eef3f8;
}
.shelf-photo .product-image { margin: 0; }
.shelf-photo img { display: block; width: 126px; height: 126px; object-fit: contain; border-radius: 4px; }
.shelf-photo > .tag { position: absolute; top: 5px; right: 5px; font-size: .68rem; background: #fff; }
.shelf-card .candidate-meta h3 { font-size: .96rem; }
.shelf-card .candidate-meta a { text-decoration: none; }
.shelf-card .candidate-meta a:hover { text-decoration: underline; }
.shelf-price { padding-top: 6px; border-top: 1px solid var(--line); }
.shelf-price strong { font-size: 1.1rem; }
.shelf-price small { font-size: .67rem; }
.shelf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; }
.shelf-actions .select { flex: 1 0 auto; background: #edf4fb; border-color: #c5d8ea; font-size: .82rem; }
.shelf-actions .select[aria-pressed=true] { background: #164f83; border-color: #164f83; color: white; }
.shelf-actions a { font-size: .75rem; }
.ingredient-section { border-radius: 18px; background: #f3f7fb; }
.ingredient-index a { border-color: #ccdce9; }
.overlap-panel,.page-intro,thead th { background: #e8f0f8; }
