@font-face {
  font-family: Campaign;
  src: url("assets/fonts/regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Campaign;
  src: url("assets/fonts/semibold.ttf") format("truetype");
  font-weight: 600 900;
  font-display: swap;
}
:root {
  --blue: #45a5cb;
  --ink-blue: var(--blue);
  --yellow: #fff120;
  --inset: 7.14%;
  font-family: Campaign, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #211d1c;
  line-height: 1.85;
  line-break: strict;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
main { width: min(92%, 1050px); margin: 0 auto; padding: clamp(36px, 7vw, 145px) 0; }
.hero, .blue, .background h2 { text-align: center; }
.hero h1 img { width: 100%; }
.dates, .lead, .background h2, .message, .detergent h3 { color: var(--ink-blue); font-weight: 600; }
.dates { margin: 4.8% auto 0; font-size: clamp(18px, 1.9vw, 30px); line-height: 1.6; }
.lineup { margin: 7.5% auto 0; }
.products { display: grid; grid-template-columns: repeat(5, 1fr); width: 73%; margin: auto; }
.products img { width: 100%; }
figcaption, .note { font-size: 12px; line-height: 1.8; }
figcaption { margin-top: 2%; }
.lead { margin: 6% 0 10%; font-size: clamp(17px, 1.5vw, 22px); }
.blue { background: var(--blue); border-radius: 22px; padding: 6.5% 0; color: white; }
/* The horizontal rule meets the shorter of the two angled strokes. */
.rule {
  align-items: center;
  font-size: clamp(22px, 2.25vw, 35px);
  line-height: 1.45;
  text-wrap: balance;
  --accent-width: .6304em;
  --stroke: .04348em;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0;
  color: #f8f120;
}
.rule::before, .rule::after {
  content: "";
  height: 1.3913em;
  background:
    url("assets/images/intro-heading-accent.png") right center / var(--accent-width) 100% no-repeat,
    linear-gradient(currentColor, currentColor) left top .7594em / calc(100% - var(--accent-width) + 1px) var(--stroke) no-repeat;
  transform: translateY(.06em);
}
.rule::after { transform: translateY(.06em) scaleX(-1); }
.care .rule span { padding-inline: var(--accent-gap, .24em); }
.care section:nth-child(3) .rule { --accent-gap: .32em; }
.prose { max-width: 84%; margin: 5.5% auto 0; font-size: clamp(16px, 1.12vw, 18px); line-height: 2.1; }
.inset, .message { margin-inline: var(--inset); }
.message { margin-top: 6.5%; background: white; padding: 2.5% 4%; border-radius: 9px; font-size: clamp(19px, 1.8vw, 27px); line-height: 1.6; }
.note { text-align: left; margin-top: 1.6%; }
.background { padding-block: 9.5%; font-size: 15px; line-height: 1.95; }
.background h2 { margin-bottom: 3.5%; font-size: clamp(21px, 1.7vw, 26px); }
.background p + p { margin-top: .65em; }
.survey { display: grid; grid-template-columns: 1fr minmax(160px, 22.5%); gap: 3%; align-items: end; margin-top: 2em; }
.pie { display: flex; align-items: center; justify-content: space-evenly; border-radius: 50%; aspect-ratio: 1; background: conic-gradient(#80cfe4 0 55.3%, var(--blue) 55.3%); text-align: center; line-height: 1.4; color: white; font-size: 13px; }
.pie strong { display: block; font-size: 1.65em; }
.pie small { font-size: .65em; }
.care section + section { margin-top: 6%; }
.heads { display: flex; justify-content: center; margin-top: 5%; }
.heads img { width: 28%; object-fit: contain; }
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4.85cqw; margin-top: 6%; }
.videos figure { overflow: hidden; border-radius: 18px; background: #111; }
.videos iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }
.keep-word { white-space: nowrap; }
.detergent { position: relative; background: white; border-radius: 14px; overflow: hidden; color: #211d1c; padding-bottom: 6%; }
.detergent h2 { background: #111; color: white; padding: 2.5% 16%; font-size: clamp(20px, 2.1vw, 34px); }
.badge { position: absolute; top: 2%; right: 5%; border-radius: 50%; background: var(--blue); color: white; border: 1px solid white; width: 14%; aspect-ratio: 1; display: grid; align-content: center; font-size: clamp(15px, 1.6vw, 26px); line-height: 1.25; font-weight: 600; }
.badge small { font-size: 9px; margin-top: .5em; }
.detergent h3 { margin: 5% 4% 4%; font-size: clamp(18px, 1.95vw, 30px); line-height: 1.5; }
.details { display: grid; grid-template-columns: 44% 1fr; gap: 3%; align-items: start; margin: 0 4%; }
.ingredients { display: flex; align-items: center; color: var(--ink-blue); font-weight: 600; }
.ingredients b { flex: 1; background: var(--blue); color: white; }
.action > p { font-weight: 600; margin: .6em 0; }
.comparison, .packages { display: grid; align-items: center; gap: 2%; }
.comparison { position: relative; grid-template-columns: 1fr auto 1fr; }
.comparison small { position: absolute; bottom: -5%; right: -2%; background: var(--blue); color: white; line-height: 1.4; padding: .5em; transform: rotate(-5deg); font-size: 11px; }
.packages { grid-template-columns: 40% 58%; }
.detergent .note { margin: 3% 4% 0; }
.purchase { display: block; text-align: center; width: max-content; margin: 7% auto 0; border: 0; border-radius: 0; background: #111; color: white; opacity: 1; font: inherit; padding: .35em 1.8em; }
a.purchase:any-link,
a.purchase:hover,
a.purchase:focus-visible,
a.purchase:active { text-decoration: none; }
@media (hover: hover) {
  .purchase:hover { background-color: #383838; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .purchase { transition: background-color 180ms ease-out; }
}
/* Match the artwork’s line lengths to the content column. */
@media (min-width: 741px) {
  main { container-type: inline-size; padding-top: min(12.4857vw, 142.5px); }
  .hero h1 { width: 101.4286%; margin-left: -.7143%; }
  .lead { margin-bottom: 7.6%; }
  .rule { font-size: 3.2857cqw; }
  .rule span { letter-spacing: -.025em; }
  .intro { padding-bottom: 5.7%; }
  .intro .prose { line-height: 2.27; }
  .care { padding-bottom: 14.2857%; }
  .message { line-height: 1.5; padding-block: 2.15%; }
  .care .rule { font-feature-settings: "palt"; }
  .care .rule span { letter-spacing: -.015em; }
  .detergent { padding-bottom: 7.14%; }
  .detergent .note { margin-top: 1.25%; }
  .detergent h2 { font-size: 3.2857cqw; line-height: 1.3; padding-block: 2.76%; }
  .detergent h3 { font-size: 3.2857cqw; line-height: 1.3; margin: 3.9% 3% 4.2%; letter-spacing: -.035em; font-feature-settings: "palt"; }
  .badge { top: 2.5cqw; line-height: 1.2; font-size: 2.57cqw; }
  .details { grid-template-columns: 43.64% 1fr; gap: 2.73%; margin-inline: 4.167%; }
  .ingredients { font-size: 2.57cqw; line-height: 1.53; }
  .action > p { font-size: 2.286cqw; line-height: 1.38; margin: .65em 0 .68em; }
  .comparison { grid-template-columns: 41.67% 16.66% 41.67%; gap: 0; }
  .comparison > span { font-size: 2.57cqw; }
  .comparison small { font-size: 1.14cqw; }
  .packages { align-items: start; }
  .purchase { margin-top: 6%; width: 21.43cqw; font-size: 1.714cqw; line-height: 1.55; padding: .27em 0; }
  .dates, .lead, .background p { font-kerning: normal; font-feature-settings: "palt"; }
  .dates { font-size: min(2.55vw, 30px); letter-spacing: -.01em; }
  .lead { font-size: min(1.96vw, 22px); letter-spacing: -.015em; }
  .prose { font-size: clamp(14px, 1.42vw, 16.5px); max-width: 95%; }
  .action > p { letter-spacing: -.025em; }
  .detergent .note { font-size: 11px; letter-spacing: -.015em; font-feature-settings: "palt"; }
  .background { font-size: min(1.18vw, 13.5px); line-height: 2; }
  .background p + p { margin-top: 0; }
}
@media (min-width: 1100px) {
  .survey .pie { margin-top: -5em; }
  .background { padding-top: 8.7%; padding-bottom: 10.5%; }
  .pie { font-size: 1cqw; }
  .pie strong { font-size: 2.286cqw; }
}
/* The long research paragraphs need more width than the campaign lead. */
@media (min-width: 741px) and (max-width: 1099px) {
  .background { font-size: 15px; }
  .background .desktop { display: none; }
  .background p + p { margin-top: .65em; }
}
@media (max-width: 740px) {
  main { width: calc(100% - 24px); max-width: 600px; }
  :root { --inset: 5%; }
  .desktop { display: none; }
  .dates { font-size: 16px; margin: 22px 4% 0; }
  .dates p + p { margin-top: .5em; }
  .products { width: 88%; grid-template-columns: repeat(4, 1fr); gap: 6px 0; }
  .products img:nth-last-child(2) { grid-column: 2; }
  .lead, figcaption { margin-inline: 4%; }
  .blue { border-radius: 15px; padding: 32px 0; }
  .rule { font-size: clamp(16px, 4.7vw, 25px); }
  .intro .rule { font-size: clamp(15px, 4.35vw, 25px); }
  .intro .rule span { max-width: none; letter-spacing: -.035em; font-feature-settings: "palt"; }
  .prose { text-align: left; max-width: 88%; line-height: 1.9; }
  .prose p + p { margin-top: .65em; }
  .message { padding: 18px 5%; font-size: 18px; text-align: left; }
  .background { padding-block: 42px; font-size: 16px; }
  .survey, .details, .videos { grid-template-columns: 1fr; gap: 18px; }
  .videos { row-gap: 36px; }
  .pie { width: 185px; margin: 0 auto; }
  .heads img { width: 43%; }
  .care section + section { margin-top: 36px; }
  .detergent h2 { padding: 14px 4%; }
  .badge { position: static; width: fit-content; aspect-ratio: auto; margin: 14px auto 0; display: block; padding: 5px 12px; border-radius: 18px; font-size: 15px; }
  .badge br { display: none; }
  .badge small { margin-left: .5em; }
  .detergent h3 { font-size: 20px; }
  .details { margin-inline: 6%; }
  .packages { width: 90%; margin: 12px auto 0; }
  .comparison small { max-width: 40%; }
  .comparison .desktop { display: inline; }
  .note { margin-top: 12px; }
}
@media (max-width: 480px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .products img:nth-last-child(2) { grid-column: auto; }
  .products img:last-child { grid-column: 2; }
}
