:root {
  color-scheme: light;
  --blue: #0077d9;
  --navy: #003663;
  --aqua: #8fe9ff;
  --pale-aqua: #e6faff;
  --yellow: #ffeb3e;
  --ink: #222;
  --radius-section: 48px;
  --content-width: 960px;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--navy);
  background: #fff;
  font-family: var(--font-jp);
  font-feature-settings: "palt" 1;
  text-align: start;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
dl,
dd,
blockquote,
figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:where(a, [tabindex]):focus-visible {
  outline: 3px solid #ff5c00;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  inset: 12px auto auto 12px;
  padding: 10px 16px;
  translate: 0 -150%;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  font-weight: 700;
}

.skip-link:focus {
  translate: 0;
}

.desktop-only {
  display: initial;
}

.content-container {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 384px minmax(0, 1fr);
  width: 100%;
  height: 560px;
  overflow: hidden;
  border-radius: 0 0 var(--radius-section) var(--radius-section);
  color: #fff;
  background: var(--blue);
}

.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  height: 100%;
  padding-inline: 20px;
  overflow: hidden;
}

.mosaic-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.mosaic-photo {
  position: relative;
  width: 100%;
  height: 280px;
  flex: 0 0 280px;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
}

.mosaic-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.mosaic-photo--trimmed-top > img {
  top: auto;
  bottom: 0;
  height: 270px;
}

.mosaic-photo--trimmed-bottom > img {
  bottom: auto;
  height: 270px;
}

.mosaic-photo--slice-bottom > img {
  top: auto;
  bottom: 0;
  height: 120px;
}

.mosaic-photo--slice-top > img {
  bottom: auto;
  height: 120px;
}

.mosaic-column--left-a,
.mosaic-column--right-b {
  translate: 0 -160px;
}

.mosaic-column--left-b {
  translate: 0 -10px;
}

.mosaic-column--right-a {
  translate: 0 -310px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 384px;
  height: 100%;
  padding: 32px;
}

.brand-logo {
  position: relative;
  display: block;
  width: 157px;
  height: 40px;
  flex: 0 0 auto;
}

.brand-logo__symbol,
.brand-logo__wordmark {
  position: absolute;
}

.brand-logo__symbol {
  inset: 0 auto 0 0;
  width: 44.45px;
  height: 40px;
}

.brand-logo__wordmark {
  top: 7.12px;
  right: 0;
  width: 103.78px;
  height: 28.44px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.hero-heading-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.hero-kicker {
  width: 100%;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.21em;
  text-align: center;
}

.hero h1 {
  width: 100%;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.19;
  letter-spacing: 0.05em;
  text-align: center;
}

.globe-badge {
  display: grid;
  place-items: center;
  width: 88px;
  height: 64px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #fff;
}

.globe-icon {
  position: relative;
  width: 40px;
  height: 40px;
  overflow: hidden;
}

.globe-icon__part {
  position: absolute;
  width: auto;
  height: auto;
}

.globe-icon__part--1 { inset: 61.1% 30.79% 0.32% 0.59%; }
.globe-icon__part--2 { inset: 50.02% 14.42% 10.15% 46.57%; }
.globe-icon__part--3 { inset: 9.34% 12.7% 64.12% 55.63%; }
.globe-icon__part--4 { inset: 20.17% 42.16% 63.46% 12.28%; }
.globe-icon__part--5 { inset: 38.58% 50.14% 44.06% 19.95%; }
.globe-icon__part--6 { inset: 61.09% 55.13% 28.03% 24.93%; }
.globe-icon__part--7 { inset: 72.34% 58.46% 11.59% 28.25%; }
.globe-icon__part--8 { inset: 9.88% 13.24% 37.77% 76.92%; }

.hero-description {
  width: 100%;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.21em;
  text-align: justify;
}

.mobile-photo-strip {
  display: none;
}

.hero-stats {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  height: 54px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}

.hero-stats::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 83px;
  width: 1px;
  background: url("./public/assets/stat-divider.svg") center / 1px 54px no-repeat;
}

.hero-stats > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.hero-stats dt {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
}

.hero-stats dd {
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
}

.hero-stats strong {
  font-family: Inter, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-stats span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* CTA */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 169px;
  padding: 32px 24px;
  background: #fff;
}

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-block--hero {
  gap: 8px;
}

.cta-block > p {
  color: var(--blue);
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.19;
  letter-spacing: 0.05em;
  text-align: center;
}

.pill-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 72px;
  padding: 24px 16px 24px 24px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--yellow);
  box-shadow: 4px 8px 0 var(--aqua);
  font-weight: 700;
  line-height: 1.19;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: translate 180ms ease, box-shadow 180ms ease;
}

.pill-button:hover {
  translate: 2px 4px;
  box-shadow: 2px 4px 0 var(--aqua);
}

.pill-button img {
  flex: 0 0 auto;
}

.pill-button--small {
  width: 299px;
  font-size: 1.125rem;
}

.pill-button--large {
  width: 385px;
  height: 80px;
  font-size: 1.3125rem;
}

/* Layered middle sections */
.section-stack {
  position: relative;
}

.stack-panel {
  position: relative;
  margin-top: -48px;
  border-radius: var(--radius-section) var(--radius-section) 0 0;
}

.section-stack > :first-child {
  margin-top: 0;
}

.concerns {
  z-index: 1;
  min-height: 1176px;
  padding: 80px 48px 128px;
  background: var(--aqua);
}

.section-eyebrow {
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.concerns h2 {
  margin-top: 16px;
  color: var(--navy);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.concern-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}

.concern-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 208px;
  padding: 24px;
  border-radius: 32px;
  background: #fff;
}

.concern-list img {
  width: 160px;
  height: 160px;
  flex: 0 0 160px;
  object-fit: cover;
}

.concern-list p {
  flex: 1;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.benefits {
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 160px) minmax(0, 1024px) minmax(0, 160px);
  gap: 24px;
  justify-content: center;
  height: 1052px;
  overflow: hidden;
  padding-inline: 24px;
  color: #fff;
  background: var(--blue);
}

.benefits-content {
  display: flex;
  flex-direction: column;
  gap: 56px;
  width: 100%;
  max-width: 1024px;
  min-width: 0;
  padding: 80px 48px 128px;
}

.benefits-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: center;
}

.flag-icon {
  width: 24px;
  height: 36px;
}

.benefits-intro h2 {
  width: 100%;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.benefits-intro p {
  margin-top: 8px;
  width: 100%;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.photo-rail {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 20px;
  height: 100%;
  overflow: hidden;
}

.photo-rail--left .photo-rail__item {
  translate: 0 -72px;
}

.photo-rail--right .photo-rail__item {
  translate: 0 -220px;
}

.photo-rail__item {
  position: relative;
  width: 160px;
  height: 284px;
  flex: 0 0 284px;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
}

.photo-rail__item--edge {
  height: 280px;
  flex-basis: 280px;
}

.photo-rail__item > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.photo-rail__item--trimmed-top > img {
  top: auto;
  bottom: 0;
  height: 212px;
}

.photo-rail__item--trimmed-bottom > img {
  bottom: auto;
  height: 212px;
}

.photo-rail__item--slice-top > img {
  bottom: auto;
  height: 60px;
}

.photo-rail__item--slice-bottom > img {
  top: auto;
  bottom: 0;
  height: 60px;
}

@supports (overflow: clip) {
  .photo-rail,
  .photo-rail__item {
    overflow: clip;
  }
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  height: 454px;
}

.benefit-card {
  display: grid;
  grid-template-rows: 102px 200px auto;
  gap: 16px;
  min-width: 0;
}

.benefit-card__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.benefit-card__heading span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--yellow);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.benefit-card > img {
  width: 100%;
  height: 200px;
  border-radius: 120px 120px 48px 48px;
  object-fit: cover;
}

.benefit-card > p {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.1em;
}

.reviews {
  z-index: 3;
  min-height: 752px;
  padding: 80px 48px 128px;
  background: var(--aqua);
}

.reviews-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.section-title-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-title-group > img {
  width: 52px;
  height: 36px;
}

.section-title-group h2 {
  width: 100%;
  color: var(--navy);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  min-height: 178px;
  padding: 24px;
  border-radius: 48px;
  background: #fff;
}

.review-card > img {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  object-fit: contain;
}

.review-card blockquote {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  color: var(--navy);
}

.review-card blockquote p {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.1em;
}

.review-card .reviewer {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.cta-band--lower {
  z-index: 4;
  height: 217px;
  padding: 48px;
}

/* Colorier guides */
.guides {
  min-height: 1011px;
  overflow: hidden;
  padding: 48px 48px 80px;
  color: var(--ink);
  background: #fff;
}

.guides-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
  margin-inline: auto;
}

.guides-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 335px;
  text-align: center;
}

.guides-heading > p:first-child {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.guides-heading > img {
  width: 196px;
  height: 56px;
}

.guides-heading h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.guides-heading > p:last-child {
  max-width: 504px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.guide-scroller {
  display: flex;
  gap: 24px;
  justify-content: center;
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scroll-snap-type: inline proximity;
}

.guide-card {
  display: flex;
  flex: 0 0 250px;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  gap: 8px;
  min-height: 372px;
  padding: 24px;
  border-radius: 24px;
  color: var(--navy);
  background: var(--pale-aqua);
  scroll-snap-align: center;
}

.guide-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.guide-card > img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.guide-card > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.guide-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-align: center;
}

.guide-card strong {
  font-size: 0.875rem;
  line-height: 1.5;
}

.guide-card p {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
}

.pill-button--guides {
  width: 276px;
  height: 80px;
  font-size: 1.3125rem;
}

/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  min-height: 230px;
  padding: 48px;
  color: #fff;
  background: var(--blue);
}

.site-footer nav {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  line-height: 1.4;
  white-space: nowrap;
}

.site-footer nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer small {
  font-size: 0.6875rem;
  line-height: 25.6px;
  white-space: nowrap;
}

@media (max-width: 1024px) and (min-width: 768px) {
  .hero {
    grid-template-columns: minmax(192px, 1fr) 384px minmax(192px, 1fr);
  }

  .hero-mosaic {
    grid-template-columns: 1fr;
  }

  .hero-mosaic .mosaic-column:nth-child(2) {
    display: none;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .photo-rail {
    display: none;
  }
}

@media (max-width: 767px) {
  .desktop-only {
    display: none;
  }

  .hero {
    display: block;
    height: 754px;
    overflow: hidden;
  }

  .hero-mosaic {
    display: none;
  }

  .hero-content {
    gap: 32px;
    width: 100%;
    height: 754px;
    padding: 48px 32px;
  }

  .hero-copy {
    flex: 0 0 308px;
  }

  .hero-heading-group {
    flex: 0 0 208px;
  }

  .hero-kicker {
    letter-spacing: 0.21em;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-description {
    min-height: 76px;
  }

  .mobile-photo-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 498px;
    height: 160px;
    flex: 0 0 160px;
  }

  .mobile-photo-strip img {
    width: 90px;
    height: 160px;
    flex: 0 0 90px;
    border-radius: 24px;
    object-fit: cover;
  }

  .hero-stats {
    flex: 0 0 54px;
  }

  .cta-band {
    height: 185px;
    padding: 32px 24px 40px;
  }

  .cta-block--hero {
    gap: 16px;
    width: 100%;
  }

  .pill-button--small,
  .pill-button--large {
    width: min(100%, 342px);
  }

  .concerns {
    min-height: 1305px;
    padding: 40px 24px 96px;
  }

  .concerns h2 {
    margin-top: 8px;
    font-size: 1.75rem;
    line-height: 1.6;
    letter-spacing: 0.04em;
  }

  .concern-list {
    gap: 16px;
    margin-top: 32px;
  }

  .concern-list li {
    flex-direction: column;
    gap: 24px;
    min-height: 0;
    padding: 24px;
  }

  .concern-list li:nth-child(1) { height: 310px; }
  .concern-list li:nth-child(2) { height: 336px; }
  .concern-list li:nth-child(3) { height: 284px; }

  .concern-list p {
    width: 100%;
    flex: none;
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.06em;
  }

  .benefits {
    display: block;
    height: 1876px;
    padding: 0;
  }

  .photo-rail {
    display: none;
  }

  .benefits-content {
    gap: 48px;
    max-width: none;
    padding: 40px 24px 96px;
  }

  .benefits-intro {
    gap: 24px;
    min-height: 306px;
  }

  .benefits-intro h2 {
    font-size: 1.25rem;
    line-height: 1.7;
    letter-spacing: 0.08em;
  }

  .benefits-intro p {
    margin-top: 0;
    font-size: 0.875rem;
    line-height: 1.7;
    letter-spacing: 0.1em;
    text-align: start;
  }

  .benefit-grid {
    display: flex;
    height: auto;
    flex-direction: column;
    gap: 48px;
  }

  .benefit-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 32px;
  }

  .benefit-card:nth-child(1),
  .benefit-card:nth-child(2) { height: 422px; }
  .benefit-card:nth-child(3) { height: 446px; }

  .benefit-card__heading {
    flex: 0 0 70px;
  }

  .benefit-card h3 {
    font-size: 1.25rem;
  }

  .benefit-card > img {
    width: 100%;
    height: 200px;
  }

  .benefit-card > p {
    font-size: 0.875rem;
  }

  .reviews {
    min-height: 0;
    padding: 40px 24px 96px;
  }

  .reviews-content {
    gap: 48px;
  }

  .review-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .review-card {
    gap: 16px;
    height: auto;
    min-height: 0;
    padding: 24px;
    border-radius: 48px;
  }

  .review-card > img {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .review-card blockquote {
    min-width: 0;
  }

  .review-card blockquote p {
    font-size: 0.75rem;
    line-height: 1.67;
    letter-spacing: 0.05em;
  }

  .review-card .reviewer {
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.06em;
  }

  .cta-band--lower {
    height: 164px;
    padding: 32px 24px;
  }

  .cta-band--lower .cta-block {
    gap: 8px;
    width: 100%;
  }

  .cta-band--lower .cta-block > p {
    font-size: 1rem;
  }

  .pill-button--large {
    height: 72px;
    min-height: 72px;
    font-size: 1.125rem;
  }

  .guides {
    min-height: 934px;
    padding: 40px 24px 80px;
  }

  .guides-heading {
    min-height: 266px;
  }

  .guides-heading > p:first-child {
    font-size: 1rem;
    line-height: 1.6;
  }

  .guides-heading h2 {
    font-size: 1.25rem;
    line-height: 1.6;
    letter-spacing: 0.08em;
  }

  .guides-heading > p:last-child {
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.04em;
  }

  .guide-scroller {
    justify-content: flex-start;
    width: calc(100% + 48px);
    margin-inline: -24px;
    padding-inline: 24px;
    scroll-padding-inline: 24px;
  }

  .guide-card {
    min-height: 372px;
  }

  .pill-button--guides {
    width: min(100%, 342px);
  }

  .site-footer {
    min-height: 230px;
  }
}

@media (max-width: 370px) {
  .hero-content {
    padding-inline: 20px;
  }

  .hero-kicker {
    font-size: 0.875rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .pill-button {
    font-size: 1rem;
  }

  .concerns,
  .benefits-content,
  .reviews,
  .guides {
    padding-inline: 18px;
  }

  .guide-scroller {
    width: calc(100% + 36px);
    margin-inline: -18px;
    padding-inline: 18px;
    scroll-padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pill-button {
    transition: none;
  }
}
