@media screen and (max-width: 768px) {
  .main-contents {
    background: #D7F3EB;
  }
}

.hero-section {
  z-index: 0;
  position: relative;
  padding-bottom: 0;
}
.hero-section__ttl {
  padding: 75px 0 20px;
}
.hero-section__ttl .cmn-section__title--main {
  text-indent: -0.65em;
  padding-left: 0.65em;
}
.hero-section__ttl .cmn-section__title--main .space01-sp {
  line-height: 0.8;
}
@media screen and (min-width: 769px) and (max-width: 1166px) {
  .hero-section__ttl .cmn-section__title--sub {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .hero-section__ttl {
    padding: 32px 0 97px;
  }
  .hero-section__ttl .cmn-section__title--main {
    text-indent: 0;
    padding-left: 0;
  }
  .hero-section__ttl .cmn-section__title--main .space01-sp {
    letter-spacing: -0.08em;
    line-height: 0.8;
  }
}
.hero-section::after {
  content: "";
  position: absolute;
  top: 652px;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 100vw;
  min-width: 2400px;
  height: 1085px;
  background: url(/recruit/common/img/recruit_cmn_sub-pages_bg_01.webp) no-repeat top center/100% 100%;
  z-index: -2;
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  .hero-section::after {
    min-width: 100%;
    height: 422px;
    background: url(/recruit/common/img/recruit_cmn_sub-pages_bg_01_sp.webp) no-repeat top center/100% 100%;
    top: 388px;
  }
  .hero-section .banner-section__content {
    margin-bottom: 59px;
  }
}

.lead-section {
  position: relative;
  z-index: 0;
  padding-bottom: 357px;
}
.lead-section .cmn-message-wrap {
  max-width: 1394px;
}
.lead-section .cmn-message__visual {
  max-width: 920px;
  width: 75%;
}
.lead-section .cmn-heading-h3 {
  font-size: 3.2rem;
}
.lead-section .cmn-message__card.--typeB {
  max-width: 750px;
  top: 145px;
}
.lead-section .cmn-card.--cmn-card--message .cmn-card__content {
  padding: 10px 30px 25px;
}
.lead-section .cmn-message__card .cmn-message__heading {
  margin-bottom: 21px;
}
.lead-section__sub {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 18px;
}
.lead-section__sign {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 25px;
  gap: 15px;
}
@media screen and (min-width: 769px) and (max-width: 1166px) {
  .lead-section {
    padding-bottom: 100px;
  }
  .lead-section .cmn-message__visual {
    width: 100%;
    max-width: 100%;
  }
  .lead-section .cmn-message__card.--typeB {
    position: static;
    margin-top: 0;
    max-width: none;
  }
}
@media screen and (max-width: 768px) {
  .lead-section {
    padding-bottom: 80px;
  }
  .lead-section__sub {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }
  .lead-section .cmn-message__visual {
    width: 100%;
  }
  .lead-section .cmn-card.--cmn-card--message {
    padding: 6px;
  }
  .lead-section .cmn-card.--cmn-card--message .cmn-card__content {
    padding: 4px 8px 18px;
  }
  .lead-section .cmn-message__card .cmn-message__heading {
    margin-bottom: 8px;
    gap: 8px;
  }
  .lead-section .cmn-message__card .cmn-message__heading .label {
    font-size: 1.2rem;
    margin-bottom: -10px;
  }
  .lead-section__sign {
    margin-top: 14px;
    gap: 5px;
  }
  .lead-section__sign-txt {
    margin-bottom: -6px;
  }
  .lead-section__sign-img {
    max-width: 100px;
  }
}

.company-section {
  padding: 0 0 100px 56px;
}
.company-section .cmn-section__title {
  margin-bottom: 60px;
}
.company-section .flex-con__txt .cmn-text-wrap {
  padding-bottom: 100px;
}
.company-section .flex-con__img {
  position: relative;
}
.company-section .flex-con__img::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 258px;
  height: 160px;
  background: url(/recruit/about/img/recruit_cmn_fluffy_img_05.png) no-repeat top center/contain;
  pointer-events: none;
}
.company-section .flex-con__img::before {
  content: "";
  position: absolute;
  top: -78px;
  right: 20px;
  width: 132px;
  height: 102px;
  background: url(/recruit/common/img/recruit_cmn_deco_peach02.svg) no-repeat top center/contain;
  pointer-events: none;
}
.company-section .flex-con__img .ico::before {
  content: "";
  position: absolute;
  bottom: -58px;
  left: -84px;
  width: 214px;
  height: 180px;
  background: url(/recruit/common/img/recruit_cmn_deco_masking-tape06.svg) no-repeat top center/contain;
  pointer-events: none;
  transform: rotateY(180deg);
}
.company-section::before {
  content: "";
  position: absolute;
  top: 420px;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  min-width: 2400px;
  width: 100vw;
  height: 860px;
  background: url(/recruit/common/img/recruit_cmn_sub-pages_bg_02.webp) no-repeat top center/100% 100%;
  z-index: -1;
  pointer-events: none;
}
.company-section::after {
  content: "";
  position: absolute;
  bottom: -73px;
  left: min(4vw, 58px);
  width: clamp(230px, 25vw, 296px);
  aspect-ratio: 296/268;
  background: url(/recruit/common/img/recruit_cmn_deco_person08.svg) no-repeat top center/contain;
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  .company-section {
    padding: 0 16px 178px;
  }
  .company-section::before {
    top: 187px;
    min-width: 100%;
    width: 100vw;
    height: 312px;
    background: url(/recruit/common/img/recruit_cmn_sub-pages_bg_02_sp.webp) no-repeat top center/100% 100%;
  }
  .company-section::after {
    bottom: -3px;
    left: unset;
    right: -33px;
    width: 154px;
    height: 137px;
    -webkit-transform: scaleX(-1);
            transform: scaleX(-1);
  }
  .company-section .cmn-section__title {
    margin-bottom: 44px;
  }
  .company-section .flex-con {
    margin-right: 0;
  }
  .company-section .flex-con__txt .cmn-text-wrap {
    padding-bottom: 0;
  }
  .company-section .flex-con__img {
    margin: 31px -16px 0 0;
  }
  .company-section .flex-con__img::after {
    bottom: 2px;
    right: -5px;
    width: 136px;
    height: 80px;
  }
  .company-section .flex-con__img::before {
    top: -27px;
    right: -4px;
    width: 74px;
    height: 81px;
  }
  .company-section .flex-con__img .ico::before {
    bottom: -28px;
    left: -41px;
    width: 104px;
    height: 87px;
  }
}

.flex-con {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 20px;
}
.flex-con__txt {
  width: 46.978021978%;
  z-index: 1;
}
.flex-con__img {
  max-width: 740px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  width: 50.8241758242%;
}
.flex-con .cmn-heading-h2 {
  margin-bottom: 24px;
}
@media screen and (max-width: 768px) {
  .flex-con {
    display: block;
  }
  .flex-con__txt {
    width: unset;
  }
  .flex-con__img {
    width: unset;
  }
  .flex-con .cmn-heading-h2 {
    margin-bottom: 18px;
  }
}

.future-section {
  position: relative;
  z-index: 4;
  padding: 0 56px 100px 0;
}
.future-section .cmn-section__title {
  margin-bottom: 45px;
}
.future-section__header .cmn-section__title {
  min-width: 46.978021978%;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
}
.future-section .flex-con {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}
.future-section .flex-con__img {
  position: relative;
}
.future-section .flex-con__img::after {
  content: "";
  position: absolute;
  bottom: -46px;
  right: clamp(-37px, -6vw, -74px);
  width: min(11vw, 153px);
  aspect-ratio: 153/136;
  background: url(/recruit/common/img/recruit_cmn_deco_masking-tape02.svg) no-repeat top center/contain;
  pointer-events: none;
}
.future-section .flex-con__img::before {
  content: "";
  position: absolute;
  bottom: -13.7%;
  left: 0;
  width: min(17.32vw ,330px);
  aspect-ratio: 330/246;
  background: url(/recruit/about/img/recruit_cmn_fluffy_img_06.png) no-repeat top center/contain;
  pointer-events: none;
}
@media screen and (max-width: 1700px) {
  .future-section .flex-con__img::before {
    bottom: -12.2%;
  }
}

@media screen and (max-width: 1530px) {
  .future-section .flex-con__img::before {
    bottom: -11%;
  }
}
@media screen and (max-width: 768px) {
  .future-section {
    padding: 0 16px 79px;
    position: relative;
    z-index: 0;
  }
  .future-section::after {
    content: "";
    position: absolute;
    top: -120px;
    left: 0;
    min-width: 100%;
    width: 100vw;
    background: url(/recruit/common/img/recruit_cmn_sub-pages_bg_02_sp.webp) no-repeat top center/ contain;
    z-index: -1;
    pointer-events: none;
    transform: rotateY(180deg);
    height: 100%;
    max-height: 1000px;
    aspect-ratio: 1512 / 860;
  }
  .future-section__header .cmn-section__title {
    width: 100%;
  }
  .future-section .flex-con {
    margin-left: 0;
  }
  .future-section .flex-con__img {
    position: relative;
    margin: 31px 0 0 -16px;
  }
  .future-section .flex-con__img::after {
    width: 90px;
    height: 75px;
    right: -18px;
    bottom: -23px;
  }
  .future-section .flex-con__img::before {
    width: 173px;
    height: 101px;
    left: -19px;
    bottom: -26px;
    top: inherit;
  }
  .future-section .cmn-section__title {
    margin-bottom: 48px;
  }
}

.banner-section {
  padding-bottom: 118px;
  position: relative;
  z-index: 0;
}
.banner-section.top {
  padding-bottom: 0;
}
.banner-section__inner {
  margin: 0 auto;
  max-width: 1250px;
  width: 100%;
  position: relative;
}
@media screen and (max-width: 768px) {
  .banner-section {
    padding-bottom: 79px;
  }
  .banner-section__inner img {
    width: 100%;
  }
}

.banner-section__content {
  position: relative;
}

.banner-section__content {
  margin-bottom: 100px;
}

@media screen and (max-width: 768px) {
  .banner-section__content {
    margin-bottom: 50px;
  }
}
.banner-section__content .ico.pos01 {
  position: absolute;
  top: -161px;
  right: 5.5px;
  width: 203px;
}

@media screen and (max-width: 768px) {
  .banner-section__content .ico.pos01 {
    position: absolute;
    top: clamp(-99px, -16.93vw, -161px);
    right: clamp(5px, 0.68vw, 5.5px);
    width: clamp(102px, 19.86vw, 203px);
  }
}
@media screen and (max-width: 768px) {
  .banner-section__content .ico img {
    width: 100%;
  }
}
.banner-section__content .ico.hide {
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .banner-section__content .banner img {
    width: 100%;
  }
}
.banner-section__content .ico.pos02 {
  position: absolute;
  top: clamp(-184px, -12.5vw, -150px);
  left: min(80%, 1113px);
  width: clamp(240px, 19.981vw, 287px);
}

@media screen and (max-width: 768px) {
  .banner-section__content .ico.pos02 {
    top: -102px;
    right: -0.5px;
    left: unset;
    width: 146px;
  }
}