:root {
  color-scheme: light;
  --rr-ink: #091522;
  --rr-muted: #62758a;
  --rr-subtle: #d6e3f2;
  --rr-line: rgba(9, 34, 60, 0.12);
  --rr-bg: #f3f7fb;
  --rr-paper: #ffffff;
  --rr-accent: #0e5e8f;
  --rr-accent-strong: #083a59;
  --rr-accent-soft: rgba(14, 94, 143, 0.12);
  --rr-gold: #e8b44d;
  --rr-radius-xl: 34px;
  --rr-radius-lg: 24px;
  --rr-shadow: 0 28px 72px rgba(10, 33, 63, 0.12);
  --rr-font: "Outfit", "Satoshi", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rr-bg);
  color: var(--rr-ink);
  font-family: var(--rr-font);
  line-height: 1.7;
  overflow-x: hidden;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
[hidden] { display: none !important; }

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.shell--narrow {
  width: min(760px, calc(100% - 40px));
}

.noise-cancelling-headphones-app {
  background:
    linear-gradient(90deg, rgba(21, 112, 184, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(21, 112, 184, 0.04) 1px, transparent 1px),
    radial-gradient(circle at top left, rgba(112, 192, 255, 0.22), transparent 34%),
    radial-gradient(circle at bottom right, rgba(8, 70, 110, 0.14), transparent 28%),
    var(--rr-bg);
  background-size: 28px 28px, 28px 28px, auto, auto, auto;
}

.hero {
  position: relative;
  padding: 84px 0 52px;
  overflow: hidden;
}

.hero__noise {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(105, 192, 255, 0.18), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(18, 96, 162, 0.16), transparent 24%),
    radial-gradient(circle at 70% 82%, rgba(41, 159, 217, 0.14), transparent 18%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  gap: 42px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--rr-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow span,
.section-kicker::before {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rr-accent), #6fcbff);
  box-shadow: 0 0 0 6px rgba(14, 94, 143, 0.08);
  content: "";
}

.hero h1,
.how h2,
.model-comparison__heading h2,
.comparison-guide h2 {
  margin: 0;
  color: var(--rr-ink);
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero h1 span,
.how h2 span,
.comparison-guide h2 span { display: block; }

.hero__accent {
  margin: 18px 0 0;
  color: var(--rr-accent-strong);
  font-size: 1.08rem;
  font-weight: 750;
}

.hero__lead,
.hero__detail,
.step p,
.model-comparison__heading p,
.comparison-guide__lead,
.comparison-guide__content p,
.disclaimer p,
#model-description,
.result-copy__description {
  margin: 0;
  color: #34485f;
}

.hero__lead { margin-top: 16px; font-size: 1.04rem; }
.hero__detail {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(14, 94, 143, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86);
  font-size: 0.95rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.button svg { width: 18px; height: 18px; }
.button:hover { transform: translateY(-1px); }

.button--large { min-width: 210px; }
.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rr-accent), #20a4e0);
  box-shadow: 0 22px 38px rgba(12, 84, 128, 0.24);
  font-weight: 800;
}
.button--ghost {
  color: var(--rr-accent-strong);
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(14, 94, 143, 0.18);
  font-weight: 700;
}

.privacy-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--rr-muted);
  font-size: 0.92rem;
}
.privacy-note svg { width: 18px; height: 18px; }

.hero-visual,
.result-links a,
.step,
.question-panel,
.score-wrap,
.result-copy,
.insight-block,
.model-table-wrap,
.disclaimer,
.comparison-guide__inner {
  background: rgba(255,255,255,.84);
  box-shadow: var(--rr-shadow), inset 0 1px 0 rgba(255,255,255,.86);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(14, 94, 143, 0.12);
  border-radius: var(--rr-radius-xl);
  overflow: hidden;
}

.hero-visual__ring,
.hero-visual__wave {
  position: absolute;
  border-radius: 999px;
}

.hero-visual__ring {
  border: 1px solid rgba(14, 94, 143, 0.14);
}

.hero-visual__ring--one { inset: 70px 54px; transform: rotate(-10deg); }
.hero-visual__ring--two { inset: 118px 104px; border-style: dashed; transform: rotate(16deg); }

.hero-visual__headband {
  position: absolute;
  top: 82px;
  left: 50%;
  width: 230px;
  height: 134px;
  border: 22px solid #163451;
  border-bottom: 0;
  border-radius: 180px 180px 0 0;
  transform: translateX(-50%) rotate(-4deg);
  box-shadow: inset 0 8px 12px rgba(255,255,255,.12);
}

.hero-visual__earcup {
  position: absolute;
  top: 210px;
  width: 132px;
  height: 178px;
  border-radius: 40px;
  background: linear-gradient(170deg, #f7fbff, #d7e4ef 56%, #b5cadb);
  box-shadow: 0 24px 36px rgba(10, 28, 56, 0.18);
}

.hero-visual__earcup::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(15, 36, 63, 0.12);
  border-radius: 30px;
  content: "";
}

.hero-visual__earcup i,
.hero-visual__earcup b {
  position: absolute;
  display: block;
}

.hero-visual__earcup i {
  inset: 24px;
  border-radius: 28px;
  background: linear-gradient(160deg, #10263f, #264f73);
}

.hero-visual__earcup b {
  top: 58px;
  left: 38px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 8px solid rgba(255,255,255,.14);
}

.hero-visual__earcup--left { left: 110px; transform: rotate(-10deg); }
.hero-visual__earcup--right { right: 110px; transform: rotate(10deg); }

.hero-visual__wave {
  border: 2px solid rgba(80, 190, 255, 0.4);
  opacity: .75;
}

.hero-visual__wave--one {
  top: 190px;
  left: 28px;
  width: 120px;
  height: 120px;
  border-right: 0;
  border-bottom: 0;
  transform: rotate(-24deg);
}

.hero-visual__wave--two {
  top: 226px;
  right: 36px;
  width: 146px;
  height: 146px;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(26deg);
}

.hero-chip,
.hero-panel,
.model-badge {
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 16px 28px rgba(9, 35, 63, 0.12);
}

.hero-chip {
  padding: 10px 14px;
  color: var(--rr-accent-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.hero-chip--compact { top: 34px; left: 30px; }
.hero-chip--mop { right: 28px; top: 54px; }
.hero-chip--smart { bottom: 26px; left: 36px; }

.hero-panel {
  right: 28px;
  bottom: 28px;
  width: 170px;
  padding: 14px 16px;
  border-radius: 22px;
}

.hero-panel p,
.model-badge {
  margin: 0 0 8px;
  color: var(--rr-accent-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  color: #34506a;
}

.hero-panel div + div { margin-top: 8px; }

.hero-panel b {
  display: block;
  width: 68px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rr-accent), #7fd7ff);
}

.how,
.comparison-guide { padding: 44px 0 0; }

.how__grid,
.result-hero,
.comparison-guide__inner {
  display: grid;
  gap: 24px;
}

.how__grid { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: start; }
.how h2 { font-size: clamp(2rem, 3vw, 3.3rem); }

.steps {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(14, 94, 143, 0.1);
  border-radius: 24px;
}

.step span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  color: #fff;
  background: linear-gradient(135deg, var(--rr-accent), #43b3ea);
  border-radius: 16px;
  place-items: center;
  font-weight: 800;
}

.step h3,
.question-panel__kicker,
.result-copy__title,
.model-comparison__heading h2,
.comparison-guide h3,
#model-title {
  margin: 0;
}

.step h3,
.comparison-guide h3,
#model-title { font-size: 1.1rem; }

.how__action { margin-top: 22px; }

.quiz,
.results { padding: 48px 0 0; }

.quiz-progress {
  margin-bottom: 18px;
}

.quiz-progress__labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--rr-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.progress-track {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: rgba(14, 94, 143, 0.1);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rr-accent), #53c0f7);
  transition: width .22s ease;
}

.question-panel {
  padding: 30px;
  border: 1px solid rgba(14, 94, 143, 0.1);
  border-radius: 28px;
}

.question-panel__kicker {
  color: var(--rr-accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

#question-title {
  margin: 12px 0 0;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.3;
}

.answer-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.answer,
.back-button {
  width: 100%;
  border-radius: 18px;
}

.answer {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid rgba(14, 94, 143, 0.14);
  background: #fff;
  color: var(--rr-ink);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.answer:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 94, 143, 0.3);
  box-shadow: 0 16px 28px rgba(9, 35, 63, 0.08);
}

.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(14, 94, 143, 0.14);
  background: transparent;
  color: var(--rr-accent-strong);
  cursor: pointer;
}

.result-hero {
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  align-items: start;
}

.score-wrap,
.result-copy,
.insight-block,
.model-table-wrap,
.disclaimer {
  border: 1px solid rgba(14, 94, 143, 0.1);
  border-radius: 28px;
}

.score-wrap {
  padding: 24px;
  text-align: center;
}

.score-ring {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  color: var(--rr-accent);
}

.score-ring__track {
  stroke: rgba(14, 94, 143, 0.08);
  stroke-width: 18;
}

.score-ring__value {
  stroke: currentColor;
  stroke-width: 18;
  stroke-dasharray: 603;
  stroke-dashoffset: 603;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset .5s ease;
}

.score-center {
  margin-top: -154px;
  min-height: 126px;
  display: grid;
  place-items: center;
}

.score-center span,
.score-center em {
  color: var(--rr-muted);
  font-size: 0.86rem;
  font-style: normal;
}

.score-center strong {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  font-size: 3.3rem;
  line-height: 1;
}

.score-center small { font-size: 1.1rem; }

.result-copy { padding: 26px 28px; }

.result-copy__title {
  margin-top: 14px;
  color: var(--rr-accent-strong);
  font-size: 1.08rem;
  font-weight: 800;
}

.result-copy__description { margin-top: 10px; }

.model-result {
  margin-top: 22px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,.96), rgba(232, 243, 250, .92));
}

.model-badge {
  position: static;
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(14, 94, 143, 0.14);
}

#model-title { margin-top: 14px; font-size: 1.42rem; }

.model-visual {
  position: relative;
  margin: 18px 0;
  min-height: 180px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(241, 248, 252, 0.95), rgba(221, 233, 243, 0.9));
  overflow: hidden;
}

.model-visual__floor {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  height: 16px;
  border-radius: 999px;
  background: rgba(17, 53, 84, 0.08);
}

.model-visual__headband,
.model-visual__earcups,
.model-visual::after {
  position: absolute;
  display: block;
  content: "";
}

.model-visual__headband {
  top: 24px;
  left: 50%;
  width: 180px;
  height: 102px;
  border: 18px solid #113152;
  border-bottom: 0;
  border-radius: 140px 140px 0 0;
  transform: translateX(-50%);
}

.model-visual__earcups {
  left: 50%;
  top: 94px;
  width: 188px;
  height: 72px;
  border-left: 64px solid #eff6fb;
  border-right: 64px solid #eff6fb;
  transform: translateX(-50%);
}

.model-visual::after {
  left: 50%;
  top: 104px;
  width: 206px;
  height: 74px;
  border-left: 66px solid #123150;
  border-right: 66px solid #123150;
  border-radius: 26px;
  transform: translateX(-50%);
  opacity: .96;
}

.model-visual[data-model="sony_wh1000xm6"]::after {
  border-left-color: #0f2944;
  border-right-color: #0f2944;
  box-shadow: 0 18px 30px rgba(9, 28, 48, 0.2);
}

.model-visual[data-model="airpods_max2"]::after {
  border-left-color: #d7e4ef;
  border-right-color: #d7e4ef;
}

.model-visual[data-model="airpods_max2"] .model-visual__headband {
  border-color: #b5c4d0;
}

.model-visual[data-model="bose_qc_ultra2"]::after {
  border-left-color: #284863;
  border-right-color: #284863;
}

.model-visual[data-model="sonos_ace"]::after {
  border-left-color: #111;
  border-right-color: #111;
}

.model-visual[data-model="wait"] .model-visual__headband,
.model-visual[data-model="wait"]::after {
  opacity: .45;
}

#model-person-list,
.insight-list {
  margin: 16px 0 0;
  padding-left: 20px;
  color: #324a62;
}

.result-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.result-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(14, 94, 143, 0.13);
  color: var(--rr-accent-strong);
  text-decoration: none;
  font-weight: 700;
}

.result-links a[data-type="official"] {
  background: linear-gradient(135deg, var(--rr-accent), #2ab0eb);
  color: #fff;
}

.result-links a[data-type="amazon"] {
  background: rgba(255, 245, 214, 0.72);
  color: #855100;
}

.result-links a[data-type="rakuten"] {
  background: rgba(255, 238, 241, 0.82);
  color: #a51c36;
}

.result-links a[data-type="article"] {
  background: rgba(255,255,255,.86);
}

.low-score-guide {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 248, 231, 0.88);
  color: #6d5523;
}

.low-score-guide svg { width: 18px; height: 18px; margin-top: 3px; }

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.insight-block {
  padding: 22px;
}

.insight-block__heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.insight-block__heading p {
  margin: 0;
  color: var(--rr-accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.insight-block__heading h3 { margin: 2px 0 0; }

.insight-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  place-items: center;
}

.insight-icon--positive {
  color: #0d7b5c;
  background: rgba(25, 190, 129, 0.12);
}

.insight-icon--caution {
  color: #a36711;
  background: rgba(255, 183, 44, 0.16);
}

.model-comparison {
  margin-top: 24px;
}

.model-comparison__heading {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.model-comparison__heading h2 { font-size: clamp(1.6rem, 2.2vw, 2.4rem); }

.model-table-wrap {
  overflow-x: auto;
  padding: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th, td {
  padding: 18px 16px;
  border-bottom: 1px solid rgba(14, 94, 143, 0.08);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--rr-accent-strong);
  font-size: 0.95rem;
}

tbody th { width: 22%; }

.disclaimer {
  margin-top: 24px;
  padding: 22px 24px;
}

.disclaimer h2 {
  margin: 0 0 12px;
  font-size: 1.06rem;
}

.disclaimer p + p { margin-top: 12px; }

.restart-area {
  margin-top: 24px;
  text-align: center;
}

.comparison-guide__inner {
  padding: 30px;
  border: 1px solid rgba(14, 94, 143, 0.1);
  border-radius: 30px;
  margin-bottom: 56px;
}

.comparison-guide h2 {
  font-size: clamp(1.8rem, 2.8vw, 3rem);
}

.comparison-guide__lead { margin-top: 14px; }
.comparison-guide__content { display: grid; gap: 18px; margin-top: 20px; }

@media (max-width: 960px) {
  .hero__grid,
  .how__grid,
  .result-hero,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual { min-height: 440px; }
  .hero-visual__headband { width: 188px; height: 112px; border-width: 18px; }
  .hero-visual__earcup { width: 108px; height: 154px; top: 188px; }
  .hero-visual__earcup--left { left: 72px; }
  .hero-visual__earcup--right { right: 72px; }
}

@media (max-width: 720px) {
  .hero { padding-top: 68px; }
  .hero h1,
  .how h2,
  .comparison-guide h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero h1 span:last-child { white-space: normal; }
  .hero__actions { align-items: stretch; }
  .button--large { width: 100%; }
  .hero-visual {
    min-height: 360px;
    margin-top: 8px;
  }
  .hero-visual__headband { top: 62px; width: 156px; height: 88px; border-width: 14px; }
  .hero-visual__earcup {
    top: 162px;
    width: 84px;
    height: 122px;
    border-radius: 28px;
  }
  .hero-visual__earcup--left { left: 58px; }
  .hero-visual__earcup--right { right: 58px; }
  .hero-chip { font-size: 0.64rem; padding: 8px 11px; }
  .hero-panel { width: 146px; padding: 12px; }
  .question-panel,
  .result-copy,
  .insight-block,
  .comparison-guide__inner,
  .disclaimer { padding: 22px; }
  .model-result { padding: 18px; }
  .result-links a { width: 100%; }
  table { min-width: 0; }
  thead { display: none; }
  tbody, tr, th, td { display: block; width: 100%; }
  tr + tr { border-top: 1px solid rgba(14, 94, 143, 0.08); }
  tbody th { padding-bottom: 8px; }
  td { padding-top: 0; }
  td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--rr-muted);
    font-size: 0.78rem;
    font-weight: 800;
    content: attr(data-label);
  }
}
