@charset "utf-8";

.container {
  padding-inline: 2rem;
}

.m-mainVisual-parallelogram::before {
  background-image: url(/recruit/about/resource/img/bg_mv.png);
}

@media screen and (max-width: 767px) {
  .m-mainVisual-parallelogram::before {
    background-image: url(/recruit/about/resource/img/bg_mv_sp.png);
  }
}

/* message */
.m-message {
  padding-block: 13.88vw 10rem;
  position: relative;
}

.m-message__img {
  left: -25vw;
  position: absolute;
  top: -15.97vw;
  width: 87.2vw;
}

.m-message__hdg-wrap {
  display: grid;
  justify-content: flex-end;
  padding-right: 1rem;
  text-align: end;
}

.m-message__hdg {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.m-message__sub-hdg {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 2.5rem;
}

.m-message__txt-wrap {
  margin: 9rem auto 0;
  max-width: 84rem;
}

.m-message__txt {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  line-height: 1.8;
  margin-top: calc(2em - 0.3rem);
}

.m-message__txt:nth-of-type(1) {
  margin-top: 0;
}

.m-message__name-wrap {
  margin-top: 5rem;
  text-align: end;
}

.m-message__position {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.2rem;
}

.m-message__name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2.2rem;
  margin-top: 1.2rem;
}

@media screen and (max-width: 1440px) {
  .m-message {
    padding-top: 20rem;
  }
}

@media screen and (max-width: 767px) {
  .m-message {
    padding-block: 46vw 8rem;
  }

  .m-message__img {
    left: 0;
    top: -35vw;
    width: auto;
  }

  .m-message__hdg {
    font-size: 2.6rem;
  }

  .m-message__sub-hdg {
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    margin-top: 2rem;
  }

  .m-message__txt-wrap {
    margin: 4.8rem auto 0;
  }

  .m-message__txt {
    font-size: 1.5rem;
    line-height: 2;
  }

  .m-message__hdg-wrap {
    padding-right: 0;
  }
}

/* m-corporate */
.m-corporate {
  overflow-x: hidden;
  padding-block: 10rem;
  position: relative;
}

.m-corporate::before {
  background-color: #b0b0b0;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: calc(48rem + 50vw);
  z-index: -1;
}

.m-corporate-section:not(:first-child) {
  margin-top: 10rem;
}

.m-corporate-hdg {
  background-color: var(--color-black);
  color: var(--color-white);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 1.8rem 2rem;
  width: fit-content;
}

.m-corporate-box {
  background: var(--color-white);
  border-left: 0.2rem solid var(--color-black);
  border-top: 0.2rem solid var(--color-black);
  padding: 6.8rem 6rem 8rem;
}

.m-corporate-box__hdg {
  color: var(--color-black);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 2;
}

.m-corporate-box__hdg-sub {
  font-size: 1.4rem;
}

.m-corporate-box__txt {
  color: var(--color-black);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  line-height: 1.8;
  margin-top: 4.2rem;
}

.m-corporate-box__txt-line {
  margin-top: calc(2em - 0.3rem);
}

.m-corporate-box__txt-line:first-child {
  margin-top: 0;
}

.m-philosophy .m-common-link {
  margin-top: 5.2rem;
}

.m-concept .m-corporate-box {
  border-left: 0.2rem solid var(--color-white);
  border-top: 0.2rem solid var(--color-white);
  display: flex;
  padding: 0;
  position: relative;
}

.m-corporate-box__content {
  padding: 7rem 6rem 0 6rem;
  width: fit-content;
}

.m-corporate-img {
  aspect-ratio: 360 / 540;
  height: 100%;
  max-width: 35.8rem;
  width: stretch;
}

.m-concept .m-corporate-box {
  background-color: var(--color-black);
}

.m-concept .m-corporate-box__hdg, .m-concept .m-corporate-box__txt {
  color: var(--color-white);
}

.m-concept .m-corporate-box__hdg {
  letter-spacing: 0.2em;
  line-height: 1.4;
}

.m-company .m-common-link {
  margin-top: 4.6rem;
}

@media screen and (max-width: 1200px) {
  .m-corporate::before {
    width: calc(100vw - 12rem);
  }
}

@media screen and (max-width: 1024px) {
  .m-corporate-box__content {
    padding-inline: 2rem;
  }
}

@media screen and (max-width: 960px) {
  .m-corporate-box {
    flex-direction: column;
  }

  .m-corporate-box__content {
    padding: 7rem 4rem 7rem 6rem;
  }

  .m-corporate-img {
    aspect-ratio: unset;
    max-width: 100% ;
  }
}

@media screen and (max-width: 767px) {
  .m-corporate {
    padding-block: 6rem;
  }

  .m-corporate-section:not(:first-child) {
    margin-top: 6rem;
  }

  .m-corporate::before {
    width: calc(100vw - 6rem);
  }

  .m-corporate-hdg {
    font-size: 2rem;
  }

  .m-corporate-box {
    padding: 2.8rem 3rem 4rem;
  }

  .m-corporate-box__hdg {
    font-size: 1.6rem;
    letter-spacing: 0.2em;
    line-height: 1.8;
  }

  .m-corporate-box__txt {
    font-size: 1.5rem;
    margin-top: 2.4rem;
  }

  .m-philosophy .m-common-link {
    margin-top: 3.4rem;
  }

  .m-corporate-box__content {
    padding: 3.2rem 3rem;
  }

  .m-concept .m-corporate-box__hdg {
    font-size: 1.8rem;
  }

  .m-corporate-box__hdg-sub {
    font-size: 1.2rem;
    letter-spacing: 0.18em;
  }

  .m-company .m-common-link {
    margin-top: 3.4rem;
  }
}
