:root {
  --features-ink: #173f42;
  --features-text: #52635f;
  --features-teal: #00a99a;
  --features-blue: #0a7ea4;
  --features-coral: #d9857f;
  --features-gold: #c9a24f;
  --features-ivory: #fffdf9;
  --features-mist: #eef8f7;
  --features-line: rgba(23, 63, 66, .14);
}

.page--features {
  background: var(--features-ivory);
  color: var(--features-ink);
}

.features-main {
  background:
    linear-gradient(180deg, rgba(238, 248, 247, .72), rgba(255, 253, 249, 0) 520px),
    var(--features-ivory);
}

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

.features-kicker {
  margin: 0 0 18px;
  color: var(--features-teal);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .08em;
}

.features-body,
.features-text p,
.features-section-head p,
.features-route-card p,
.features-closing p {
  color: var(--features-text);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .03em;
}

.features-hero {
  position: relative;
  min-height: 780px;
  padding: 156px 0 104px;
  overflow: hidden;
}

.features-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, .95) 0%, rgba(255, 253, 249, .88) 30%, rgba(255, 253, 249, .42) 53%, rgba(255, 253, 249, .04) 78%),
    linear-gradient(180deg, rgba(255, 253, 249, .24), rgba(255, 253, 249, .18));
  pointer-events: none;
}

.features-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.features-hero__copy {
  max-width: 560px;
}

.features-hero__copy h1,
.features-section-head h2,
.features-detail__copy h2,
.features-closing h2 {
  margin: 0;
  color: var(--features-ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.features-hero__copy h1 {
  font-size: clamp(42px, 5.1vw, 70px);
  line-height: 1.18;
}

.features-hero__copy h1 .copy-line {
  white-space: nowrap;
}

.features-lead {
  margin: 34px 0 0;
  color: #304c4b;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 2;
  letter-spacing: .04em;
}

.features-body {
  margin: 22px 0 0;
}

.features-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.features-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
}

.features-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.features-section {
  padding: clamp(82px, 10vw, 132px) 0;
}

.features-section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.features-section-head h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.35;
}

.features-section-head h2 .copy-line {
  display: block;
}

.features-section-head p {
  margin: 20px 0 0;
}

.features-point-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.features-point-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 30px 28px;
  border: 1px solid var(--features-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 44px rgba(32, 65, 62, .08);
}

.features-point-card--coral {
  background: linear-gradient(180deg, rgba(250, 231, 226, .88), rgba(255, 255, 255, .78));
}

.features-point-card--blue {
  background: linear-gradient(180deg, rgba(226, 243, 247, .9), rgba(255, 255, 255, .78));
}

.features-point-card--gold {
  background: linear-gradient(180deg, rgba(249, 240, 212, .88), rgba(255, 255, 255, .78));
}

.features-point-number {
  margin: 0 0 18px;
  color: var(--features-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
}

.features-point-card h3 {
  min-height: 72px;
  margin: 0;
  color: var(--features-ink);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.65;
  letter-spacing: .03em;
}

.features-point-card p:not(.features-point-number) {
  min-height: 54px;
  margin: 18px 0 0;
  color: var(--features-text);
  font-size: 14px;
  line-height: 1.9;
}

.features-point-card a {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  color: var(--features-ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.features-detail {
  padding: clamp(88px, 10vw, 144px) 0;
}

.features-detail--coral {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0), rgba(252, 236, 231, .5));
}

.features-detail--blue {
  background: linear-gradient(180deg, rgba(235, 247, 250, .78), rgba(255, 253, 249, .2));
}

.features-detail--gold {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0), rgba(250, 242, 219, .58));
}

.features-detail__inner {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: center;
}

.features-detail--reverse .features-detail__visual {
  order: 2;
}

.features-detail--reverse .features-detail__copy {
  order: 1;
}

.features-detail--text-right .features-detail__copy {
  text-align: right;
}

.features-detail--text-right .features-for {
  margin-left: auto;
  text-align: left;
}

.features-detail__visual {
  margin: 0;
  overflow: hidden;
  width: min(100%, 560px);
  aspect-ratio: 1.22 / 1;
  justify-self: center;
  border-radius: 64% 36% 58% 42% / 46% 54% 46% 54%;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 24px 52px rgba(31, 62, 61, .1);
}

.features-detail__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features-detail__visual--beauty img {
  object-position: 58% 49%;
}

.features-detail__visual--calm img {
  object-position: 47% 50%;
}

.features-detail__visual--capsule img {
  object-position: 50% 47%;
}

.features-detail__copy h2 {
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.42;
  white-space: nowrap;
}

.features-subcopy {
  margin: 24px 0 0;
  color: var(--features-blue);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.9;
  letter-spacing: .05em;
}

.features-text {
  margin-top: 28px;
}

.features-text p {
  margin: 0;
}

.features-text .copy-line {
  display: block;
  white-space: nowrap;
}

.features-text p + p {
  margin-top: 14px;
}

.features-for {
  position: relative;
  margin-top: 34px;
  padding: 30px 30px 26px;
  border: 1.5px solid rgba(0, 126, 164, .48);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}

.features-for > p {
  position: absolute;
  top: -18px;
  left: 24px;
  margin: 0;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--features-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.features-for ul {
  margin: 0;
  padding-left: 1.2em;
  color: #40534f;
  font-size: 15px;
  line-height: 2;
}

.features-choose {
  background:
    linear-gradient(180deg, rgba(238, 248, 247, .7), rgba(255, 253, 249, .96));
}

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

.features-route-card {
  display: block;
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--features-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  color: var(--features-ink);
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(32, 65, 62, .07);
}

.features-route-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 169, 154, .12);
  color: var(--features-teal);
  font-weight: 800;
}

.features-route-card h3 {
  margin: 22px 0 12px;
  font-size: 19px;
  line-height: 1.5;
}

.features-route-card p {
  margin: 0;
}

.features-closing {
  padding: clamp(90px, 11vw, 152px) 0;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, .98), rgba(255, 253, 249, .82) 48%, rgba(238, 248, 247, .44)),
    radial-gradient(circle at 86% 50%, rgba(0, 169, 154, .16), transparent 34%);
}

.features-closing__inner {
  max-width: 760px;
}

.features-closing h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.35;
}

.features-closing p {
  margin: 24px 0 0;
}

.features-closing__message {
  color: var(--features-ink) !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(26px, 3vw, 40px) !important;
  line-height: 1.5 !important;
}

.features-actions--closing {
  margin-top: 34px;
}

.features-progress {
  position: fixed;
  z-index: 18;
  top: 50%;
  right: 28px;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

.features-progress a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(23, 63, 66, .46);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}

.features-progress a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .76);
  color: var(--features-teal);
  font-size: 11px;
  box-shadow: 0 8px 22px rgba(19, 48, 48, .08);
}

.features-progress a.is-active {
  color: var(--features-ink);
}

@media (max-width: 1180px) {
  .features-progress {
    display: none;
  }
}

@media (max-width: 980px) {
  .features-hero {
    min-height: 720px;
    padding: 132px 0 72px;
  }

  .features-detail__inner {
    grid-template-columns: 1fr;
  }

  .features-hero__inner {
    min-height: 500px;
  }

  .features-hero::before {
    background:
      linear-gradient(90deg, rgba(255, 253, 249, .95) 0%, rgba(255, 253, 249, .86) 46%, rgba(255, 253, 249, .34) 76%),
      linear-gradient(180deg, rgba(255, 253, 249, .2), rgba(255, 253, 249, .18));
  }

  .features-hero__visual img {
    object-position: 60% center;
  }

  .features-point-grid,
  .features-route-grid {
    grid-template-columns: 1fr;
  }

  .features-detail--reverse .features-detail__visual,
  .features-detail--reverse .features-detail__copy {
    order: initial;
  }

  .features-detail--text-right .features-detail__copy {
    text-align: left;
  }

  .features-detail--text-right .features-for {
    margin-left: 0;
  }

  .features-detail__visual {
    width: min(100%, 520px);
  }

  .features-detail__visual img {
    height: 100%;
  }
}

@media (max-width: 640px) {
  .features-shell {
    width: min(100% - 32px, 1120px);
  }

  .features-hero {
    min-height: 720px;
    padding-top: 116px;
  }

  .features-hero::before {
    background:
      linear-gradient(180deg, rgba(255, 253, 249, .94) 0%, rgba(255, 253, 249, .86) 42%, rgba(255, 253, 249, .38) 100%),
      linear-gradient(90deg, rgba(255, 253, 249, .88), rgba(255, 253, 249, .18));
  }

  .features-hero__inner {
    align-items: flex-start;
    min-height: 520px;
  }

  .features-hero__copy h1 {
    font-size: clamp(37px, 10.5vw, 44px);
  }

  .features-lead,
  .features-body,
  .features-text p,
  .features-section-head p,
  .features-route-card p,
  .features-closing p {
    font-size: 14px;
    line-height: 1.95;
  }

  .features-hero__visual img {
    object-position: 64% center;
  }

  .features-point-card,
  .features-route-card {
    min-height: auto;
    padding: 24px 22px;
  }

  .features-detail {
    padding: 78px 0;
  }

  .features-detail__visual {
    width: min(100%, 360px);
    aspect-ratio: 1.5 / 1;
  }

  .features-detail__copy h2 {
    font-size: clamp(23px, 7vw, 28px);
    white-space: normal;
  }

  .features-text .copy-line {
    white-space: normal;
  }

  .features-subcopy {
    font-size: 16px;
  }

  .features-for {
    padding: 28px 22px 22px;
  }

  .features-actions {
    display: grid;
  }
}
