:root {
  --ink: #18121f;
  --purple: #6d315a;
  --purple-2: #9b5f86;
  --green: #c05f8a;
  --line: #17aa62;
  --muted: #6f6a75;
  --border: #deddea;
  --soft: #f7f7fb;
  --gold: #d9a332;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 3%, rgba(192, 95, 138, 0.09), transparent 24rem),
    linear-gradient(90deg, #fbf2f6 0%, #fffafa 50%, #f5f8f2 100%);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  line-height: 1.75;
  overflow-x: hidden;
}

html,
.page {
  max-width: 100%;
  overflow-x: hidden;
}

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

b,
strong {
  font-weight: 400;
}

.page {
  width: min(100%, 862px);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 32px rgba(30, 23, 70, 0.04);
  overflow: hidden;
}

.section {
  padding: 28px 37px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  min-height: 610px;
  gap: 18px;
  padding: 30px 37px 26px;
  background:
    linear-gradient(90deg, rgba(59, 32, 47, 0.88) 0%, rgba(78, 43, 62, 0.72) 34%, rgba(78, 43, 62, 0.18) 63%, rgba(78, 43, 62, 0) 100%),
    linear-gradient(180deg, rgba(59, 32, 47, 0.08), rgba(59, 32, 47, 0.48)),
    url("assets/esthe-hero.png") center / cover no-repeat;
  isolation: isolate;
}

.label {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 6px 18px;
  color: #fff;
  background: linear-gradient(90deg, #9c4f78, #c05f8a);
  border-radius: 5px;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 34px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero h1 {
  max-width: 470px;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

h1 span,
.section-title h2 span,
.green h2 span {
  color: var(--purple);
}

h1 .dark {
  color: var(--ink);
}

.hero h1 span,
.hero h1 .dark {
  color: #fff;
}

.nowrap {
  white-space: nowrap;
}

h1 span {
  font-size: 1.25em;
}

h1 .nowrap {
  font-size: 1em;
}

.lead {
  margin: 0;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
}

.hero .lead {
  max-width: 440px;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.38);
}

.lead strong {
  color: var(--green);
}

.hero .lead strong {
  color: #3df06f;
}

.hero__cta {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: min(670px, 100%);
  margin-top: 26px;
}

.arrow {
  justify-self: end;
  color: #f0b01e;
  font-size: 54px;
  line-height: 1;
  transform: rotate(12deg);
}

.cta {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 10px 22px 10px 16px;
  color: #fff;
  background: linear-gradient(90deg, #12a65f, #17b66c 42%, #19c074);
  border-radius: 8px;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 rgba(0, 92, 27, 0.2), 0 8px 18px rgba(5, 154, 55, 0.16);
}

.cta > span {
  min-width: 0;
}

.cta.small {
  min-height: 52px;
  font-size: 16px;
}

.line-badge {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  margin-right: 12px;
  object-fit: contain;
}

.free-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 55px;
  width: min(100%, 760px);
  margin-top: 0;
  padding: 5px 24px 5px 100px;
  position: relative;
  border: 1px solid #eedfae;
  border-radius: 7px;
  background: rgba(255, 250, 240, 0.95);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-weight: 400;
}

.price {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: var(--gold);
  background: #fff6df;
  border: 1px solid #efdca0;
  border-radius: 50%;
  line-height: 1;
}

.price span {
  font-size: 9px;
}

.price b {
  display: block;
  font-size: 35px;
}

.free-strip p {
  flex: 1 1 auto;
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
}

.free-strip ul,
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.free-strip ul {
  display: flex;
  flex: 0 0 auto;
  gap: 28px;
  font-size: 12px;
  white-space: nowrap;
}

.free-strip li,
.check-list li {
  position: relative;
  padding-left: 21px;
}

.free-strip li::before,
.check-list li::before {
  content: "☑";
  position: absolute;
  left: 0;
  top: 0.02em;
  color: var(--green);
  font-weight: 400;
  font-size: 1em;
  line-height: 1;
}

.problems {
  border-top: 1px solid #ededf4;
  background: linear-gradient(180deg, #fbfbfd, #fff);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #cfcce0;
}

.num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: linear-gradient(135deg, #9c4f78, #c05f8a);
  border-radius: 50%;
  font-size: 27px;
  font-weight: 400;
}

.section-title h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.45;
}

.green h2 {
  color: var(--ink);
}

.green h2 span {
  color: var(--green);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
}

.problem-grid article {
  padding: 0 22px;
  border-right: 1px solid var(--border);
}

.problem-grid article:last-child {
  border-right: 0;
}

.problem-grid p {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 400;
}

.line-icon {
  width: 74px;
  height: 62px;
  margin: 0 auto;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(49%) sepia(34%) saturate(818%) hue-rotate(286deg) brightness(91%) contrast(89%);
}

.framed-copy {
  margin: 24px 28px 0;
  padding: 8px 14px;
  border: 1px solid rgba(21, 150, 90, 0.24);
  color: #9c4f78;
  text-align: center;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.automation {
  padding-top: 28px;
  padding-bottom: 32px;
  background:
    linear-gradient(180deg, rgba(59, 32, 47, 0.82), rgba(78, 43, 62, 0.58) 42%, rgba(255, 255, 255, 0.95) 78%),
    url("assets/esthe-hero.png") center / cover no-repeat;
}

.automation .section-title h2 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(15, 8, 43, 0.42);
}

.automation .section-title::after {
  background: rgba(255, 255, 255, 0.52);
}

.automation .green h2 span {
  color: #6affac;
}

.flow {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 9px;
  margin: 8px 0 25px;
  position: relative;
}

.flow i {
  align-self: center;
  justify-self: center;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 14px solid rgba(255, 255, 255, 0.78);
  transform: translateY(-18px);
}

.flow-step {
  width: 78px;
  min-width: 0;
  text-align: center;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-weight: 400;
}

.flow-step p {
  margin: 6px 0 0;
  color: #fff;
  font-size: 11px;
  line-height: 1.45;
  text-shadow: 0 1px 8px rgba(15, 8, 43, 0.42);
}

.flow-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  object-fit: contain;
}

.automation .flow-icon {
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(10, 4, 38, 0.38));
}

.feature-grid {
  display: grid;
  gap: 16px;
}

.feature-grid.top {
  grid-template-columns: repeat(2, 1fr);
}

.feature-grid.bottom {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
}

.feature,
.mini-feature,
.freedom-grid article {
  border: 1px solid #e1e1e8;
  border-radius: 7px;
  background: #fff;
}

.feature {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 20px 19px;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
}

.feature h3,
.mini-feature h3,
.freedom-grid h3 {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.feature p,
.mini-feature p,
.freedom-grid p {
  margin: 0;
  font-size: 11px;
  line-height: 1.8;
  font-weight: 400;
}

.feature-icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(49%) sepia(34%) saturate(818%) hue-rotate(286deg) brightness(91%) contrast(89%);
}

.mini-feature {
  padding: 22px 20px 20px 72px;
  min-height: 126px;
  position: relative;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
}

.mini-feature h3 {
  color: var(--green);
}

.mini-icon {
  position: absolute;
  left: 23px;
  top: 25px;
  width: 35px;
  height: 35px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(49%) sepia(34%) saturate(818%) hue-rotate(286deg) brightness(91%) contrast(89%);
}

.freedoms {
  padding-top: 12px;
}

.freedom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
}

.freedom-grid article {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 13px;
  align-items: center;
  padding: 18px 15px;
}

.freedom-grid p {
  grid-column: 2;
}

.big-icon {
  grid-row: span 2;
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(49%) sepia(34%) saturate(818%) hue-rotate(286deg) brightness(91%) contrast(89%);
}

.present {
  padding-top: 8px;
}

.present .section-title {
  margin-bottom: 7px;
}

.present .section-title h2 {
  color: #9c4f78;
  font-size: 24px;
}

.present-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  align-items: center;
}

.manual {
  width: 100%;
  max-width: 240px;
  display: block;
  border-radius: 8px;
  filter: drop-shadow(0 14px 20px rgba(156, 79, 120, 0.2));
}

.present-copy {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-weight: 400;
}

.check-list {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.75;
}

.check-list li + li {
  margin-top: 7px;
}

.last {
  margin: 10px auto 0;
  min-height: 50px;
  padding-left: 100px;
}

.free-strip.last p {
  flex: 0 1 auto;
  font-size: 13px;
}

.free-strip.last ul {
  gap: 18px;
  font-size: 11px;
}

.closing {
  margin: 9px 0 -12px;
  color: var(--muted);
  text-align: center;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 13px;
}

@media (max-width: 760px) {
  .page {
    width: 100%;
  }

  .section {
    padding: 24px 17px;
  }

  .hero {
    min-height: 700px;
    gap: 16px;
    padding: 24px 17px 22px;
    background:
      linear-gradient(180deg, rgba(59, 32, 47, 0.9) 0%, rgba(78, 43, 62, 0.72) 46%, rgba(78, 43, 62, 0.2) 100%),
      url("assets/esthe-hero.png") 60% center / cover no-repeat;
  }

  .nowrap {
    white-space: normal;
  }

  .hero__copy {
    order: 1;
  }

  .hero__cta {
    order: 2;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 0;
  }

  .arrow {
    display: none;
  }

  .cta {
    justify-content: center;
    font-size: 16px;
    width: 100%;
    overflow-wrap: anywhere;
  }

  .free-strip,
  .last {
    order: 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin: 8px 0 0;
    padding: 15px 16px 15px 92px;
  }

  .free-strip ul {
    flex-direction: column;
    gap: 2px;
  }

  .section-title {
    gap: 12px;
    align-items: flex-start;
  }

  .section-title::after {
    display: none;
  }

  .section-title h2 {
    font-size: 21px;
  }

  .problem-grid,
  .feature-grid.top,
  .feature-grid.bottom,
  .freedom-grid,
  .present-inner {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    gap: 16px;
  }

  .problem-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
  }

  .problem-grid article:last-child {
    border-bottom: 0;
  }

  .framed-copy {
    margin: 16px 0 0;
  }

  .flow {
    display: grid;
    grid-template-columns: 1fr;
  }

  .flow i {
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 14px solid #999;
    border-bottom: 0;
    transform: none;
  }

  .flow-step {
    width: auto;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .flow-step p {
    font-size: 13px;
  }

  .flow-icon {
    width: 92px;
    height: 92px;
  }

  .circle {
    width: 68px;
    height: 68px;
  }

  .freedom-grid article {
    grid-template-columns: 70px 1fr;
  }

  .present-inner {
    justify-items: center;
  }

  .present-copy {
    width: 100%;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 24px;
  }

  h1 span {
    font-size: 1em;
  }

  .label {
    font-size: 12px;
  }

  .lead,
  .check-list {
    font-size: 13px;
  }

  .cta,
  .cta.small {
    min-height: 58px;
    padding-right: 14px;
    font-size: 13px;
  }

  .line-badge {
    width: 42px;
    height: 42px;
    font-size: 13px;
  }
}
