:root {
  --footerMargin: 0;
}

/* --------------------------------------------------
  p-topLoading
-------------------------------------------------- */
.p-topLoading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  z-index: 11;
  background: var(--colorWhite01);
  display: grid;
  place-content: center;
}

.p-topLoading__inner {
  opacity: 0;
  animation: animeFade 1s 0.3s forwards;
}

.p-topLoading__jnLead {
  position: relative;
  color: var(--colorGreen01);
  font-weight: 600;
  font-size: 2.8rem;
  letter-spacing: 0.17em;
  padding-bottom: 2rem;
  width: fit-content;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .p-topLoading__jnLead {
    font-size: 1.7rem;
    padding-bottom: 1.5rem;
  }
}
.p-topLoading__jnLead::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  width: 50.9rem;
  aspect-ratio: 509/18;
  background: url(../img/common/line01.svg) no-repeat center center/contain;
}
@media screen and (max-width: 767px) {
  .p-topLoading__jnLead::before {
    width: 31.2rem;
  }
}

.p-topLoading__enLead {
  font-family: "Jost", "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  text-align: center;
  margin-top: 1rem;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 767px) {
  .p-topLoading__enLead {
    font-size: 1.2rem;
    line-height: 1.4166666667;
  }
}

.p-topLoadingLogos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2rem auto 0;
  width: 37.7rem;
}
@media screen and (max-width: 767px) {
  .p-topLoadingLogos {
    margin-top: 1.8rem;
    width: 24.5rem;
  }
}

.p-topLoadingLogos__item:nth-child(1) {
  width: 11.4rem;
}
@media screen and (max-width: 767px) {
  .p-topLoadingLogos__item:nth-child(1) {
    width: 7.4rem;
  }
}
.p-topLoadingLogos__item:nth-child(2) {
  position: relative;
  width: 18.7rem;
}
@media screen and (max-width: 767px) {
  .p-topLoadingLogos__item:nth-child(2) {
    width: 12.2rem;
  }
}
.p-topLoadingLogos__item:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -3.7rem;
  translate: 0 -50%;
  width: 1px;
  height: 6.3rem;
  border-left: 1px solid var(--colorGray01);
}
@media screen and (max-width: 767px) {
  .p-topLoadingLogos__item:nth-child(2)::before {
    left: -2.4rem;
    height: 4.2rem;
  }
}

/* --------------------------------------------------
  p-topMv
-------------------------------------------------- */
.p-topMv {
  position: relative;
  width: 100%;
  aspect-ratio: 1440/1024;
  min-height: 70rem;
  background: var(--colorLinear01);
  padding: 1.8rem;
}
@media screen and (max-width: 767px) {
  .p-topMv {
    aspect-ratio: 390/845;
    padding: 1rem;
  }
}

.p-topMv__video {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: calc(100% - 3.6rem);
  height: calc(100% - 3.6rem);
  border-radius: 3rem;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .p-topMv__video {
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
  }
}
.p-topMv__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-topMv__texts {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  text-align: center;
  color: var(--colorWhite01);
  width: 100%;
}

.p-topMv__lead01 {
  font-weight: 700;
  font-size: 4.8rem;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-shadow: 0 0 1rem rgb(var(--colorBlack01_rgb)/0.45);
}
@media screen and (max-width: 767px) {
  .p-topMv__lead01 {
    font-size: 2.8rem;
  }
}

.p-topMv__lead01Inner {
  display: block;
  width: 8em;
  margin-inline: auto;
}
.p-topMv__lead01Inner > span {
  display: inline-block;
  opacity: 0;
  translate: 0 2rem;
}
html.is-loaded .p-topMv__lead01Inner > span:nth-child(1) {
  animation: textFade 0.6s 3.7s forwards;
}
html.is-loaded .p-topMv__lead01Inner > span:nth-child(2) {
  animation: textFade 0.6s 3.8s forwards;
}
html.is-loaded .p-topMv__lead01Inner > span:nth-child(3) {
  animation: textFade 0.6s 3.9s forwards;
}
html.is-loaded .p-topMv__lead01Inner > span:nth-child(4) {
  animation: textFade 0.6s 4s forwards;
}
html.is-loaded .p-topMv__lead01Inner > span:nth-child(5) {
  animation: textFade 0.6s 4.1s forwards;
}
html.is-loaded .p-topMv__lead01Inner > span:nth-child(6) {
  animation: textFade 0.6s 4.2s forwards;
}
html.is-loaded .p-topMv__lead01Inner > span:nth-child(7) {
  animation: textFade 0.6s 4.3s forwards;
}
html.is-loaded .p-topMv__lead01Inner > span:nth-child(8) {
  animation: textFade 0.6s 4.4s forwards;
}
html.is-loaded .p-topMv__lead01Inner > span:nth-child(9) {
  animation: textFade 0.6s 4.5s forwards;
}
html.is-loaded .p-topMv__lead01Inner > span:nth-child(10) {
  animation: textFade 0.6s 4.6s forwards;
}
html.is-loaded .p-topMv__lead01Inner > span:nth-child(11) {
  animation: textFade 0.6s 4.7s forwards;
}
html.is-loaded .p-topMv__lead01Inner > span:nth-child(12) {
  animation: textFade 0.6s 4.8s forwards;
}
html.is-loaded .p-topMv__lead01Inner > span:nth-child(13) {
  animation: textFade 0.6s 4.9s forwards;
}
html.is-loaded .p-topMv__lead01Inner > span:nth-child(14) {
  animation: textFade 0.6s 5s forwards;
}

.p-topMv__lead02 {
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 2;
  letter-spacing: 0.08em;
  text-shadow: 0 0 1rem rgb(var(--colorBlack01_rgb)/0.45);
  margin-top: 2rem;
}
@media screen and (max-width: 767px) {
  .p-topMv__lead02 {
    font-size: 1.6rem;
    margin-top: 1rem;
  }
}

.p-topMv__logo {
  width: 15.2rem;
  margin: 1rem auto 0;
  filter: drop-shadow(0 0 1rem rgb(var(--colorBlack01_rgb)/0.45));
}
@media screen and (max-width: 767px) {
  .p-topMv__logo {
    width: 12rem;
    margin: 3rem auto 0;
  }
}

.p-topMv__title {
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  text-shadow: 0 0 1rem rgb(var(--colorBlack01_rgb)/0.45);
  margin-top: 0.5rem;
}
@media screen and (max-width: 767px) {
  .p-topMv__title {
    font-size: 1.3rem;
    margin-top: 0.8rem;
  }
}

/* --------------------------------------------------
  p-topMovie
-------------------------------------------------- */
.p-topMovie {
  background: var(--colorBeige01);
  padding-block: 16rem 6.5rem;
}
@media screen and (max-width: 767px) {
  .p-topMovie {
    padding-block: 7.3rem 2.5rem;
  }
}

/* --------------------------------------------------
  p-topMessage
-------------------------------------------------- */
.p-topMessage {
  background: var(--colorBeige01);
  padding-block: 6.5rem 13.5rem;
}
@media screen and (max-width: 767px) {
  .p-topMessage {
    padding-block: 2.5rem 5.5rem;
  }
}

.p-topMessage__lead {
  text-align: center;
  margin-top: 1rem;
}
@media screen and (max-width: 767px) {
  .p-topMessage__lead {
    text-align: left;
    margin-top: 0.5rem;
  }
}

.p-topMessageGrid {
  margin-top: 6rem;
  display: grid;
  grid-template-columns: 1fr 59rem;
  gap: 0 6.5%;
}
@media screen and (max-width: 767px) {
  .p-topMessageGrid {
    margin-top: 4rem;
    grid-template-columns: 100%;
    gap: 2rem 0;
  }
}

.p-topMessageGrid__lead {
  color: var(--colorGreen01);
  font-weight: 500;
  font-size: 2.4rem;
}
@media screen and (max-width: 767px) {
  .p-topMessageGrid__lead {
    font-size: 1.8rem;
  }
}

.p-topMessageGrid__text {
  margin-top: 2.7rem;
}
@media screen and (max-width: 767px) {
  .p-topMessageGrid__text {
    margin-top: 1.3rem;
  }
}

.p-topMessageGrid__buttons {
  margin-top: 4.8rem;
  display: flex;
  gap: 0 3rem;
}
@media screen and (max-width: 767px) {
  .p-topMessageGrid__buttons {
    margin-top: 2.8rem;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem 0;
  }
}
.p-topMessageGrid__buttons .p-topMessageGrid__button {
  max-width: 100%;
}
.p-topMessageGrid__buttons .p-topMessageGrid__button a {
  max-width: 100%;
}

/* --------------------------------------------------
 p-topHistory
-------------------------------------------------- */
.p-topHistory {
  margin-top: 13rem;
}
@media screen and (max-width: 767px) {
  .p-topHistory {
    margin-top: 5.5rem;
  }
}

.p-topHistory__lead {
  text-align: center;
  margin-top: 2rem;
}
@media screen and (max-width: 767px) {
  .p-topHistory__lead {
    margin-top: 1rem;
  }
}

.p-topHistorySlide {
  margin-top: 6rem;
}
@media screen and (max-width: 767px) {
  .p-topHistorySlide {
    margin-top: 4rem;
  }
}

.p-topHistorySlide__image {
  aspect-ratio: 309/230;
}
.p-topHistorySlide__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-topHistorySlide__year {
  position: relative;
  width: 8.8rem;
  aspect-ratio: 1/1;
  margin: -4.4rem auto 0;
  border-radius: 100vmax;
  background: var(--colorGreen01);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--colorWhite01);
  gap: 0.5rem 0;
  font-family: "Jost", "Noto Sans JP", sans-serif;
  line-height: 1;
}
@media screen and (max-width: 767px) {
  .p-topHistorySlide__year {
    margin-top: -3.5rem;
    width: 7rem;
    gap: 0.2rem 0;
    padding-bottom: 0.3rem;
  }
}

.p-topHistorySlide__yearAd {
  font-size: 2.8rem;
}
@media screen and (max-width: 767px) {
  .p-topHistorySlide__yearAd {
    font-size: 2rem;
  }
}

.p-topHistorySlide__yearJn {
  font-size: 1.5rem;
}
@media screen and (max-width: 767px) {
  .p-topHistorySlide__yearJn {
    font-size: 1.4rem;
  }
}

.p-topHistorySlide__text {
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1.4375;
}
@media screen and (max-width: 767px) {
  .p-topHistorySlide__text {
    margin-top: 0.7rem;
  }
}

.p-topHistory__button {
  margin-top: 6rem;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-topHistory__button {
    margin-top: 3rem;
  }
}
.p-topHistory__button {
  padding-inline: var(--contentsPadding);
  max-width: 100%;
}
.p-topHistory__button a {
  max-width: 100%;
}

/* --------------------------------------------------
 p-p-topFuture
-------------------------------------------------- */
.p-topFuture {
  background: var(--colorBeige01);
  margin-top: 13.5rem;
  padding-block: 13.5rem;
}
@media screen and (max-width: 767px) {
  .p-topFuture {
    margin-top: 5rem;
    padding-block: 6rem;
  }
}
.p-topFuture .c-heading01__en span:nth-child(3), .p-topFuture .c-heading01__en span:nth-child(6) {
  margin-right: 0.4em;
}

.p-topFuture__lead {
  text-align: center;
  margin-top: 1.5rem;
}
@media screen and (max-width: 767px) {
  .p-topFuture__lead {
    margin-top: 1rem;
  }
}

.p-topFuture__list {
  margin: 6rem auto 0;
  max-width: 112rem;
  display: grid;
  grid-template-columns: 100%;
  gap: 3.5rem 0;
}
@media screen and (max-width: 767px) {
  .p-topFuture__list {
    margin: 4.3rem auto 0;
    gap: 3rem 0;
  }
}

.p-topFutureBlock {
  background: var(--colorWhite01);
  border-radius: 2rem;
  box-shadow: 0 0.3rem 1rem rgb(var(--colorBlack01_rgb)/0.1);
  display: grid;
  gap: 0 7rem;
}
@media screen and (min-width: 767.1px) {
  .p-topFutureBlock:nth-child(1) {
    grid-template-columns: 1fr 65rem;
    padding: 3.7rem 3.7rem 3.7rem 4.8rem;
  }
  .p-topFutureBlock:nth-child(2) {
    grid-template-columns: 55rem 1fr;
    padding: 3.7rem;
  }
  .p-topFutureBlock:nth-child(2) .p-topFutureBlock__texts {
    order: 2;
  }
  .p-topFutureBlock:nth-child(2) .p-topFutureBlock__image {
    order: 1;
  }
}
@media screen and (max-width: 767px) {
  .p-topFutureBlock {
    grid-template-columns: 100%;
    gap: 2.5rem 0;
    padding: 1.8rem 2rem;
  }
}

.p-topFutureBlock__texts {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media screen and (max-width: 767px) {
  .p-topFutureBlock__texts {
    order: 2;
  }
}

.p-topFutureBlock__title {
  font-weight: 500;
  font-size: 2.4rem;
  color: var(--colorGreen01);
}
@media screen and (max-width: 767px) {
  .p-topFutureBlock__title {
    font-size: 1.8rem;
  }
}

.p-topFutureBlock__text {
  margin-top: 2.8rem;
}
@media screen and (max-width: 767px) {
  .p-topFutureBlock__text {
    margin-top: 1.5rem;
  }
}

.p-topFutureBlock__button {
  margin-top: 2.8rem;
}
@media screen and (max-width: 767px) {
  .p-topFutureBlock__button {
    margin-top: 2rem;
    text-align: center;
  }
}
.p-topFutureBlock__button a {
  max-width: 100%;
}

.p-topFutureBlock__image img {
  border-radius: 2rem;
}