/*
    top-fv
---------------------------------*/
.l-top-fv {
  padding-top: 7rem;
  overflow: hidden;
}

@media screen and (max-width: 1500px) {
  .l-top-fv {
    margin-top: 10rem;
  }
}
@media screen and (max-width: 1024px) {
  .l-top-fv {
    margin-top: 2rem;
  }
}
@media screen and (max-width: 767px) {
  .l-top-fv {
    height: auto;
    margin-top: 0;
  }
}
/*
    top-fv
---------------------------------*/
.p-top-fv {
  position: relative;
}

.p-top-fv__inner {
  position: relative;
  height: inherit;
  padding-bottom: 13rem;
}

.p-top-fv__text-block {
  position: absolute;
  top: 33.5%;
  left: 6%;
  z-index: 10;
  max-width: 23rem;
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
}

.p-top-fv__text {
  font-family: "Noto Serif JP", "Times New Roman", "Hiragino Mincho ProN", "MS Mincho", "YuMincho", "Yu Mincho", serif;
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.6;
}
.p-top-fv__title {
  font-family: "Noto Serif JP", "Times New Roman", "Hiragino Mincho ProN", "MS Mincho", "YuMincho", "Yu Mincho", serif;
  font-size: 5.2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.73;
}
.p-top-fv__title > span {
  display: inline-block;
  position: relative;
}
.p-top-fv__title > span:nth-of-type(1)::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.4rem;
  height: 100%;
  background-image: url(../img/top/img_top-fv-dotline01_pc.png);
  background-repeat: no-repeat;
  background-position: top 0.9rem center;
  background-size: contain;
  content: "";
}
.p-top-fv__title > span:nth-of-type(2)::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.4rem;
  height: 100%;
  background-image: url(../img/top/img_top-fv-dotline02_pc.png);
  background-repeat: no-repeat;
  background-position: top 0.9rem center;
  background-size: contain;
  content: "";
}

.p-top-fv__title-orange {
  color: #ffad00;
}

.p-top-fv__images {
  display: flex;
  flex-wrap: wrap;
  column-gap: 98px;
  row-gap: 46px;
  align-items: center;
  justify-content: flex-end;
}

.p-top-fv__image img {
  border-radius: 20px;
}

.p-top-fv__image.p-top-fv__images--img1 {
  width: 44.6%;
  position: relative;
  z-index: 1;
}
.p-top-fv__image.p-top-fv__images--img1::before {
  position: absolute;
  top: -4rem;
  left: -18rem;
  width: 31.1rem;
  height: 28.6rem;
  background-image: url(../img/top/img_dot-left.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
  z-index: -1;
}

.p-top-fv__image.p-top-fv__images--img2 {
  width: 36.5%;
  position: relative;
  z-index: 1;
}
.p-top-fv__image.p-top-fv__images--img2::before {
  position: absolute;
  top: 19.5rem;
  right: -13rem;
  width: 32.1rem;
  height: 28.1rem;
  background-image: url(../img/top/img_flour-right.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
  z-index: -1;
}

.p-top-fv__image.p-top-fv__images--img3 {
  width: 30%;
  position: relative;
  z-index: 1;
}
.p-top-fv__image.p-top-fv__images--img3::before {
  position: absolute;
  bottom: -4rem;
  left: -15.5rem;
  width: 10.2rem;
  height: 7.3rem;
  background-image: url(../img/top/img_leaf.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
  z-index: -1;
}
.p-top-fv__image.p-top-fv__images--img3::after {
  position: absolute;
  top: -4rem;
  right: -8rem;
  width: 19rem;
  height: 18.2rem;
  background-image: url(../img/top/img_circle.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
  z-index: -1;
}

.p-top-fv__image.p-top-fv__images--img4 {
  width: 28.5%;
  position: relative;
  z-index: 1;
}

.p-top-fv__buttons {
    margin-top: 6.4rem;
    gap: 1.6rem;
    display: flex;
    justify-content: flex-end;
}

.p-top-alignment {
  position: relative;
}

.p-top-alignment__text {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 56%;
  width: 100%;
  padding-top: 3rem;
  padding-right: 12.2rem;
  padding-left: 12.2rem;
  padding-bottom: 4rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
  border: 0.6rem solid #f8f4ea;
  border-radius: 2rem;
  background: #fff;
  text-align: center;
}
.p-top-alignment__text span {
  color: #f7ab00;
}
.p-top-alignment__text span span {
  font-size: 3rem;
}

@media screen and (max-width: 767px) {
  .l-top-fv {
    padding-top: 3rem;
    overflow: hidden;
  }
  .p-top-fv::before {
    top: 4rem;
    right: unset;
    left: 15px;
    width: 11rem;
    height: 18.6rem;
    background-image: url(../img/top/img_top_fv-sub_sp.webp);
  }

  .p-top-fv::after {
    bottom: unset;
    left: 13.5rem;
    padding-top: 64.6%;
    border-radius: 2.5rem 0 0 2.5rem;
    background-image: url(../img/top/img_top_fv-main_sp.webp);
  }

  .p-top-fv__inner {
    padding-bottom: 7rem;
    display: grid;
  }

  .p-top-fv__text-block {
    position: static;
    max-width: 100%;
    padding-top: 2rem;
    -webkit-writing-mode: unset;
        -ms-writing-mode: unset;
            writing-mode: unset;
    order: 2;
    margin: auto;
  }

  .p-top-fv__text {
    margin-left: 0;
    font-size: 1.2rem;
  }

  .p-top-fv__title {
    margin-top: 0.2rem;
    font-size: 3rem;
    line-height: 1.67;
  }
  .p-top-fv__title > span:nth-of-type(1)::after {
    top: unset;
    bottom: -0.2rem;
    width: 90%;
    height: 0.4rem;
    background-image: url(../img/top/img_top-fv-dotline01_sp.png);
    background-position: center left 0.4rem;
  }
  .p-top-fv__title > span:nth-of-type(2)::after {
    top: unset;
    bottom: -0.3rem;
    width: 99%;
    height: 0.4rem;
    background-image: url(../img/top/img_top-fv-dotline02_sp.png);
    background-position: center left 0.3rem;
  }

  .p-top-fv__images {
    column-gap: 2%;
    row-gap: 46px;
    order: 1;
  }

  .p-top-fv__image.p-top-fv__images--img1 {
    width: 60%;
    position: relative;
    z-index: 1;
  }
  .p-top-fv__image.p-top-fv__images--img1::before {
    top: -3rem;
    left: -6rem;
    width: 20rem;
    height: 18rem;
  }

  .p-top-fv__image.p-top-fv__images--img2 {
    width: 38%;
  }
  .p-top-fv__image.p-top-fv__images--img2::before {
    top: 3.5rem;
    right: -7rem;
    width: 14rem;
    height: 12rem;
  }

  .p-top-fv__image.p-top-fv__images--img3 {
    width: 50%;
    position: relative;
    z-index: 1;
  }
  .p-top-fv__image.p-top-fv__images--img3::before {
    bottom: -4rem;
    left: initial;
    right: -14rem;
    width: 6.2rem;
    height: 3.3rem;
  }
  .p-top-fv__image.p-top-fv__images--img3::after {
    top: -4rem;
    right: -5rem;
    width: 13rem;
    height: 10rem;
  }

  .p-top-fv__image.p-top-fv__images--img4 {
    width: 40%;
  }

  .p-top-fv__buttons {
      margin: auto;
      padding-top: 3rem;
      gap: 1.6rem;
      flex-direction: column;
      order: 3;
  }

  .p-top-alignment__text {
    max-width: 90%;
    padding: 0.6rem 1rem;
    border: 0.4rem solid #f8f4ea;
    border-radius: 1.5rem;
    font-size: 1.4rem;
    line-height: 1.55;
  }
  .p-top-alignment__text::before {
    content: none;
  }
  .p-top-alignment__text span span {
    font-size: 2.4rem;
  }
}
@media screen and (max-width: 480px) {
  .p-top-fv__inner::before {
    top: 58vw;
  }
}
/*
    top-banner
---------------------------------*/
.l-top-banner {
  padding-top: 10rem;
  padding-bottom: 8rem;
}

@media screen and (max-width: 767px) {
  .l-top-banner {
    padding-top: 5.5rem;
    padding-bottom: 5.4rem;
  }
}
/*
    top-message
---------------------------------*/
.l-top-message {
  padding-top: 8rem;
  padding-bottom: 19.7rem;
}

@media screen and (max-width: 767px) {
  .l-top-message {
    padding-top: 4rem;
    padding-bottom: 15.2rem;
  }
  .l-top-message .c-border-title01 {
    letter-spacing: 0.03em;
  }
}
/*
    top-feature
---------------------------------*/
.l-top-feature {
  position: relative;
  padding-top: 15rem;
  padding-bottom: 12.3rem;
}
.l-top-feature > * {
  position: relative;
  z-index: 1;
}

.l-top-feature__comment {
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 90%;
}

@media screen and (max-width: 767px) {
  .l-top-feature {
    padding-top: 7rem;
    padding-bottom: 6rem;
  }
  .l-top-feature::before {
    width: 25.9rem;
    height: 22.8rem;
    background-image: url(../img/top/img_top_feature-bg_sp.png);
  }

  .l-top-feature__comment {
    width: calc(100% - 30px);
    max-width: unset;
  }
}
/*
    top-relief
---------------------------------*/
.l-top-relief {
  padding-top: 11.5rem;
  padding-bottom: 18.9rem;
}

.l-top-relief__comment {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 90%;
}

@media screen and (max-width: 767px) {
  .l-top-relief {
    padding-top: 9.5rem;
    padding-bottom: 15rem;
  }

  .l-top-relief__comment {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    width: 100%;
    max-width: 100%;
  }
}
/*
    top-skill-acquisition
---------------------------------*/
.l-top-skill-acquisition {
  position: relative;
  padding-top: 14rem;
  padding-bottom: 11.8rem;
}

.l-top-skill-acquisition__comment {
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 90%;
}

@media screen and (max-width: 767px) {
  .l-top-skill-acquisition {
    padding-top: 8.2rem;
    padding-bottom: 6rem;
  }

  .l-top-skill-acquisition__comment {
    width: calc(100% - 30px);
    max-width: unset;
  }
}
/*
    top-program
---------------------------------*/
.l-top-program {
  padding-top: 10.5rem;
}

@media screen and (max-width: 767px) {
  .l-top-program {
    padding-top: 5.5rem;
  }
}
/*
    top-experience
---------------------------------*/
.l-top-experience {
  padding-top: 12rem;
  padding-bottom: 12rem;
}

@media screen and (max-width: 767px) {
  .l-top-experience {
    padding-top: 9.5rem;
    padding-bottom: 6.2rem;
  }
}
/*
    top-info
---------------------------------*/
.l-top-info {
  padding-top: 9rem;
  padding-bottom: 11.8rem;
}

@media screen and (max-width: 767px) {
  .l-top-info {
    padding-top: 5.5rem;
    padding-bottom: 6.2rem;
  }
}
/*
    top-office
---------------------------------*/
.l-top-office {
  padding-top: 11.8rem;
  padding-bottom: 12.4rem;
}

@media screen and (max-width: 767px) {
  .l-top-office {
    padding-top: 7.5rem;
    padding-bottom: 6rem;
  }
}