.legacy-page {
  --legacy-green: #00aa95;
  --legacy-gray: #525456;
  color: #1e1e1e;
  font-family: "BIZ UDPGothic", sans-serif;
  letter-spacing: .04em;
  line-height: 1.75;
}

.legacy-page .l-lower_page-header {
  align-items: center;
  background: #f3f3f3 url("../img/subpage_header_img.webp") no-repeat scroll calc(100% - 42px) -60px / 770px 690px;
  display: flex;
  height: 400px;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.legacy-page .heading {
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
  line-height: 1;
  margin-inline: auto;
  width: min(1140px, 100%);
}

.legacy-page .heading .ja {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .12em;
}

.legacy-page .heading .en {
  font-family: greycliff-cf, Inter, sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: .1em;
}

.legacy-page .l-lower_page-container {
  padding-block: 60px 120px;
  position: relative;
  z-index: 1;
}

.legacy-page .l-lower_page-container_wrap {
  margin-inline: auto;
  width: min(1140px, 100%);
}

.legacy-page .l-lower_page-container_inner {
  max-width: 100%;
  width: 800px;
}

.legacy-page .l-page-contents {
  color: var(--legacy-gray);
  font-size: 16px;
  letter-spacing: .08em;
  line-height: 2.2;
}

.legacy-page .l-page-contents>*+* {
  margin-top: 1lh;
}

.legacy-page .l-button-A {
  align-items: center;
  background-color: var(--legacy-green);
  border-radius: 100px;
  color: #fff;
  display: flex;
  flex-direction: row-reverse;
  font-size: 18px;
  font-weight: 700;
  gap: .8em;
  height: 70px;
  justify-content: center;
  letter-spacing: 0;
  padding-inline: 32px;
  width: fit-content;
}

.legacy-page .l-button-A::before {
  border-right: 2px solid;
  border-top: 2px solid;
  content: "";
  display: block;
  height: 10px;
  transform: rotate(45deg);
  transition: transform .5s;
  width: 10px;
}

@media (hover: hover) {
  .legacy-page .l-button-A:hover::before {
    transform: rotate(45deg) translate(.3em, -.3em);
  }
}

.legacy-page .g-particle-A {
  height: 100%;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  z-index: -1;
}

.legacy-page .particle_inner {
  align-items: flex-end;
  display: flex;
  height: min(100%, 100vh);
  margin-left: auto;
  position: sticky;
  top: 0;
  width: calc(100% - 260px);
}

.legacy-page .particle {
  height: min(50vh, 100%);
  width: 100%;
}

.legacy-page__sp-only {
  display: none;
}

@media (max-width: 1024px) {
  .legacy-page .l-lower_page-header {
    align-items: flex-end;
    background-position: calc(100% + 48px) -10px;
    background-size: 325px 315px;
    height: 230px;
    padding-bottom: 40px;
  }

  .legacy-page .heading {
    gap: 8px;
    padding-inline: 35px;
  }

  .legacy-page .heading .ja {
    font-size: 10px;
  }

  .legacy-page .heading .en {
    font-size: 29px;
  }

  .legacy-page .l-lower_page-container {
    padding: 40px 35px 90px;
  }

  .legacy-page .l-page-contents {
    font-size: 13px;
    line-height: 1.8;
  }

  .legacy-page .l-button-A {
    font-size: 13px;
    gap: .7em;
    height: 45px;
    padding-inline: 16px;
  }

  .legacy-page .l-button-A::before {
    border-width: 1px 1px 0 0;
    height: 7px;
    width: 7px;
  }

  .legacy-page .g-particle-A {
    width: 75%;
  }

  .legacy-page .particle_inner {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .legacy-page__sp-only {
    display: initial;
  }
}