:root {
  --m3-red: #e00000;
  --ink: #15191d;
  --muted: #65707a;
  --line: rgba(21, 25, 29, 0.12);
  --soft-blue: #edf4f8;
  --paper: #fbfbf8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", Meiryo, sans-serif;
  line-height: 1.7;
}

html.is-loading body {
  overflow: hidden;
}

html.is-en body {
  font-family: Arial, "Helvetica Neue", sans-serif;
}

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

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 0s linear 1s;
  pointer-events: none;
}

html.is-loading .page-loader {
  opacity: 1;
  visibility: visible;
  transition: opacity 180ms ease;
  pointer-events: auto;
}

.page-loader__spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(224, 0, 0, 0.16);
  border-top-color: var(--m3-red);
  border-radius: 50%;
  animation: loader-spin 780ms linear infinite;
  will-change: transform;
}

@keyframes loader-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader {
    transition: none;
  }
}

.text-nowrap {
  white-space: nowrap;
}

.brand {
  display: inline-grid;
  gap: 0;
  line-height: 1;
}

.brand__logo {
  display: block;
  width: 96px;
  height: auto;
}

.brand--footer {
  display: inline-block;
  line-height: 0;
}

.brand--footer .brand__logo {
  width: 116px;
}

.brand__mark {
  color: var(--m3-red);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand__sub {
  color: var(--m3-red);
  font-size: 0.72rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 251, 248, 0.96) 0%, rgba(251, 251, 248, 0.82) 43%, rgba(251, 251, 248, 0.18) 100%),
    url("assets/hero-background.webp") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 48%);
  align-items: center;
  gap: 64px;
  width: min(1180px, calc(100% - 64px));
  min-height: 690px;
  margin: 0 auto;
  padding-top: 46px;
}

.hero__copy {
  max-width: 640px;
}

.hero-logo {
  display: block;
  width: 106px;
  height: auto;
  margin-bottom: 16px;
}

.hero__eyebrow {
  margin: 0 0 30px;
  color: #2a3239;
  font-size: 1rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  color: #13171b;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 4.45rem;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0;
}

html.is-en .hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
}

html.is-en .hero-title__emphasis {
  font-weight: inherit;
}

.hero-title__main {
  display: block;
  white-space: nowrap;
}

.hero-title__main {
  line-height: 1.08;
}

.hero-title__emphasis {
  color: var(--m3-red);
  font-style: normal;
  font-weight: 700;
}

.hero-title-note {
  max-width: 540px;
  margin: 22px 0 0;
  color: #2e3740;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.9;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 42px;
}

.download-button {
  display: block;
  height: 57.6px;
  border-radius: 12px;
  transition: transform 160ms ease, filter 160ms ease;
}

.download-button:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 18px rgba(24, 31, 38, 0.12));
}

.download-button img {
  display: block;
  width: auto;
  height: 57.6px;
}

.hero-points {
  display: grid;
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  color: #303942;
  font-size: 1.05rem;
  font-weight: 700;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 34px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.16em;
  width: 20px;
  height: 20px;
  background: url("assets/icon-check-circle.svg") center / contain no-repeat;
}

.section {
  background: var(--paper);
}

.section__inner {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-bottom: 54px;
  text-align: center;
}

.section-heading::after {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--m3-red);
}

.section-heading h2 {
  margin: 0;
  color: #161b20;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
}

.section--concerns {
  padding: 60px 0 34px;
}

.concern-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.concern-item {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 196px;
  padding: 4px 54px 0;
  text-align: center;
}

.concern-item + .concern-item {
  border-left: 1px solid var(--line);
}

.section-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.concern-item h3,
.reason-card h3 {
  margin: 0;
  color: #172029;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0;
}

.concern-item p,
.reason-card p {
  margin: 16px 0 0;
  color: #4b5660;
  font-size: 0.96rem;
  line-height: 1.9;
}

.section--reasons {
  padding: 46px 0 92px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.reason-card {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 214px;
  padding: 34px 36px 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 25, 29, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(24, 31, 38, 0.06);
}

.reason-card__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  background: #eef3f5;
  border-radius: 50%;
}

.reason-card__icon img {
  width: 42px;
  height: 42px;
}

.section--personas {
  padding: 0 0 78px;
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.persona-card {
  text-align: center;
}

.persona-card img {
  display: block;
  width: 100%;
  aspect-ratio: 2.45 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.persona-card h3 {
  margin: 22px 0 0;
  color: #172029;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.65;
}

.persona-card p {
  max-width: 300px;
  margin: 12px auto 0;
  color: #4b5660;
  font-size: 0.96rem;
  line-height: 1.9;
}

.section--features {
  padding: 58px 0 76px;
  overflow: hidden;
}

.features-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: 60px;
}

.features-copy {
  grid-column: 2;
  justify-self: end;
  width: min(360px, 100%);
  text-align: left;
}

.features-visual {
  grid-column: 1;
  grid-row: 1;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--m3-red);
  font-size: 0.95rem;
  font-weight: 800;
}

.features-copy h2 {
  margin: 0;
  color: #161b20;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 2.45rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
}

html.is-en .features-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
}

.feature-checks {
  display: grid;
  gap: 13px;
  margin: 34px 0 0;
  padding: 0;
  color: #303942;
  font-size: 1.02rem;
  font-weight: 700;
  list-style: none;
}

.feature-checks li {
  position: relative;
  padding-left: 32px;
}

.feature-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 18px;
  height: 18px;
  background: url("assets/icon-check-circle.svg") center / contain no-repeat;
}

.features-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  column-gap: 24px;
  min-height: 440px;
  padding: 0 8px;
}

.feature-phone {
  display: block;
  width: 100%;
  max-width: 248px;
  height: auto;
  justify-self: center;
}

.feature-phone--left,
.feature-phone--right {
  max-width: 220px;
  transform: translateY(34px);
}

.feature-phone--center {
  position: relative;
  z-index: 1;
  max-width: 252px;
}

.section--steps {
  padding: 32px 0 44px;
}

.step-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
}

.step-item {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
}

.step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 58px;
  right: -34px;
  width: 15px;
  height: 15px;
  border-top: 2px solid rgba(31, 42, 51, 0.34);
  border-right: 2px solid rgba(31, 42, 51, 0.34);
  transform: rotate(45deg);
}

.step-item__number {
  position: absolute;
  top: -2px;
  left: calc(50% - 54px);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--m3-red);
  border-radius: 50%;
  font-size: 0.88rem;
  font-weight: 800;
}

.step-item__icon {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin-bottom: 22px;
  background: #eef3f5;
  border-radius: 50%;
}

.step-item__icon img {
  width: 58px;
  height: 58px;
}

.step-item h3 {
  margin: 0;
  color: #172029;
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.65;
}

.step-item p {
  max-width: 260px;
  margin: 10px auto 0;
  color: #4b5660;
  font-size: 0.94rem;
  line-height: 1.85;
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(251, 251, 248, 0.72), rgba(245, 250, 252, 0.92)),
    url("assets/cta-background.webp") bottom center / cover no-repeat,
    var(--paper);
  border-top: 1px solid rgba(21, 25, 29, 0.06);
}

.site-footer__inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 52px 0 36px;
  text-align: center;
}

.footer-store {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

.footer-store a {
  display: block;
}

.footer-store img {
  display: block;
  width: auto;
  height: 39.6px;
}

.footer-message {
  max-width: 620px;
}

.footer-message p {
  margin: 10px 0 0;
  color: #4b5660;
  font-size: 0.96rem;
  line-height: 1.9;
}

.footer-message__lead {
  color: #161b20 !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.55rem !important;
  line-height: 1.65 !important;
}

html.is-en .footer-message__lead {
  font-family: Georgia, "Times New Roman", serif;
}

.copyright {
  margin: 0;
  padding: 0 0 18px;
  color: #65707a;
  font-size: 0.78rem;
  text-align: center;
}

.copyright a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.copyright a:hover {
  color: #2f3a44;
  text-decoration-thickness: 2px;
}

.hero__visual {
  display: grid;
  justify-items: stretch;
  align-self: center;
  padding-bottom: 0;
}

.hero-video-mobile {
  display: none;
}

.hero-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(24, 31, 38, 0.16);
}

@media (max-width: 1023px) {
  .hero__inner {
    grid-template-columns: minmax(300px, 320px) minmax(320px, 360px);
    justify-content: center;
    gap: clamp(24px, 4vw, 36px);
    width: min(100% - 96px, 760px);
  }

  .hero__copy {
    max-width: 340px;
  }

  .hero__visual {
    justify-self: center;
    width: min(100%, 360px);
  }

  .hero-logo {
    width: 86px;
    margin-bottom: 10px;
  }

  .hero__eyebrow {
    margin-bottom: 28px;
    font-size: 0.72rem;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 2.58rem;
    line-height: 1.22;
  }

  html.is-en .hero h1 {
    max-width: 320px;
    font-size: 2.16rem;
    line-height: 1.18;
  }

  .hero h1 span {
    white-space: nowrap;
  }

  .hero-title-note {
    width: min(100%, 320px);
    margin-top: 12px;
    font-size: 0.82rem;
    line-height: 1.75;
  }

  html.is-en .hero-title-note {
    max-width: 330px;
    font-size: 0.78rem;
    line-height: 1.62;
  }

  .download-buttons {
    gap: 8px;
    margin-top: 20px;
  }

  .download-button {
    height: 36px;
  }

  .download-button img {
    height: 36px;
  }

  .hero-points {
    gap: 8px;
    margin-top: 16px;
    font-size: 0.78rem;
    line-height: 1.55;
  }

  .hero-points li {
    padding-left: 24px;
  }

  .hero-points li::before {
    top: 0.18em;
    width: 16px;
    height: 16px;
  }

  .section__inner {
    width: min(100% - 40px, 680px);
  }

  .concern-list,
  .reason-grid,
  .persona-grid {
    grid-template-columns: 1fr;
  }

  .concern-item {
    min-height: auto;
    padding: 0 0 34px;
  }

  .concern-item + .concern-item {
    padding-top: 34px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section--personas {
    padding-bottom: 58px;
  }

  .persona-grid {
    gap: 38px;
  }

  .persona-card p {
    max-width: 420px;
  }

  .features-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .features-copy {
    grid-column: auto;
    justify-self: auto;
    width: auto;
    text-align: center;
  }

  .features-visual {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-checks {
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .features-visual {
    min-height: 420px;
  }

  .step-flow {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .step-item:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -27px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }

  .site-footer__inner {
    width: min(100% - 40px, 680px);
    gap: 20px;
  }
}

@media (min-width: 1180px) {
  .hero h1 span {
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .brand__mark {
    font-size: 2.2rem;
  }

  .brand__sub {
    font-size: 0.56rem;
  }

  .hero {
    min-height: 720px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.22) 46%, rgba(255, 255, 255, 0.92) 100%),
      linear-gradient(90deg, rgba(251, 251, 248, 0.82) 0%, rgba(251, 251, 248, 0.4) 58%, rgba(251, 251, 248, 0.08) 100%),
      url("assets/hero-background-mobile.webp") right top / auto 100% no-repeat,
      #fff;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  }

  .hero__inner {
    display: block;
    width: calc(100% - 48px);
    min-height: 720px;
    gap: 40px;
    padding-top: 32px;
    padding-bottom: 0;
  }

  .hero__copy {
    position: relative;
    z-index: 2;
    width: min(100%, 400px);
    max-width: none;
    margin: 0 auto;
  }

  .download-buttons {
    position: relative;
    z-index: 3;
    width: max-content;
    max-width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
    margin: 32px auto 0;
  }

  .hero-video-mobile {
    position: relative;
    z-index: 2;
    display: block;
    width: min(100%, 400px);
    margin: 28px auto 0;
  }

  .hero-points {
    position: relative;
    z-index: 3;
    display: grid;
    width: fit-content;
    margin: 32px auto 0;
    padding: 0;
    text-align: left;
  }

  .hero-points li::before {
    left: 0;
    transform: none;
  }

  .hero__inner > .hero__visual {
    display: none;
  }

  .hero-video {
    width: 100%;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2 {
    font-size: 1.55rem;
  }

  .section--concerns {
    padding: 48px 0 28px;
  }

  .section--reasons {
    padding: 38px 0 72px;
  }

  .reason-grid {
    gap: 18px;
  }

  .reason-card {
    padding: 28px 24px 26px;
  }

  .section--personas {
    padding-bottom: 50px;
  }

  .persona-grid {
    gap: 34px;
  }

  .persona-card h3 {
    margin-top: 18px;
    font-size: 1.18rem;
  }

  .section--features {
    padding: 38px 0 56px;
  }

  .features-copy,
  .features-copy h2 {
    text-align: center;
  }

  .features-copy h2 {
    font-size: 1.9rem;
  }

  html.is-en .features-copy h2 {
    font-size: 1.72rem;
  }

  .feature-checks {
    font-size: 0.98rem;
  }

  .features-visual {
    grid-template-columns: repeat(3, 39%);
    justify-content: center;
    column-gap: 18px;
    min-height: 320px;
    padding: 0;
  }

  .feature-phone {
    max-width: 180px;
  }

  .feature-phone--left,
  .feature-phone--right {
    max-width: 152px;
    transform: translateY(24px);
  }

  .section--steps {
    padding: 22px 0 34px;
  }

  .site-footer__inner {
    padding-top: 34px;
  }

  .footer-message__lead {
    font-size: 1.24rem !important;
  }

  .footer-store img {
    height: 34.2px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.34rem;
  }

  .hero__inner {
    width: calc(100% - 36px);
  }

  .hero-video-mobile {
    width: min(100%, 400px);
  }

  .hero-points {
    width: fit-content;
  }
}
