@charset "utf-8";

.p-topMv {
  position: relative;
  height: calc(100vh - 120px);
  width: 100%;
}
@media screen and (max-width: 999px) {
  .p-topMv {
    height: 632px;
  }
}

.p-topMv__inner {
  position: relative;
}

.p-topMv__lead {
  position: absolute;
  bottom: 32.0930232558%;
  z-index: 1;
  margin-left: 80px;
}
@media screen and (max-width: 1820px) {
  .p-topMv__lead {
    margin-left: 0;
  }
}
@media screen and (max-width: 999px) {
  .p-topMv__lead {
    top: 50px;
    left: 20px;
  }
}
.p-topMv__lead h1 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 5rem;
  letter-spacing: 0.4em;
  font-weight: 700;
  line-height: 1.7;
}
@media screen and (max-width: 999px) {
  .p-topMv__lead h1 {
    font-size: 40px;
  }
}
@media screen and (max-width: 374px) {
  .p-topMv__lead h1 {
    font-size: 32px;
  }
}

.p-topMv__image {
  position: absolute;
  top: 0;
  right: 0;
  width: 67.7083333333%;
  height: 100%;
}
@media screen and (max-width: 999px) {
  .p-topMv__image {
    top: auto;
    bottom: 24%;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding-left: 55px;
  }
}
.p-topMv__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 999px) {
  .p-topMv__image img {
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: 50% top;
       object-position: 50% top;
    width: 100%;
    min-height: 283px;
    height: auto;
    aspect-ratio: auto;
  }
}

.p-topMv__subLead {
  position: absolute;
  bottom: 15.8139534884%;
  z-index: 1;
  margin-left: 80px;
}
@media screen and (max-width: 1820px) {
  .p-topMv__subLead {
    margin-left: 0;
  }
}
@media screen and (max-width: 999px) {
  .p-topMv__subLead {
    top: 489px;
    left: 20px;
  }
}
.p-topMv__subLead p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.433;
  letter-spacing: 0.2em;
}
@media screen and (max-width: 999px) {
  .p-topMv__subLead p {
    font-size: 16px;
    letter-spacing: 0.1em;
  }
}
@media screen and (max-width: 374px) {
  .p-topMv__subLead p {
    font-size: 14px;
  }
}

.p-topMv__scroll {
  position: absolute;
  bottom: 6px;
  width: 66px;
  /*全体の高さ*/
  height: 70px;
  margin-left: 80px;
  /*テキストの描画*/
  /* 線の描写 */
}
@media screen and (max-width: 1820px) {
  .p-topMv__scroll {
    margin-left: 0;
  }
}
@media screen and (max-width: 999px) {
  .p-topMv__scroll {
    left: 20px;
  }
}
.p-topMv__scroll span {
  /*描画位置*/
  position: absolute;
  right: 0;
  bottom: 0;
  /*テキストの形状*/
  font-size: 16px;
  font-family: "roboto", sans-serif;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.p-topMv__scroll::after {
  content: "";
  /*描画位置*/
  position: absolute;
  top: 0;
  left: 0;
  /*線の形状*/
  width: 1px;
  height: 50px;
  background: #222222;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  -webkit-animation: pathmove 1.4s ease-in-out infinite;
          animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@-webkit-keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 50px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 70px;
    opacity: 0;
  }
}
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 50px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 70px;
    opacity: 0;
  }
}

.p-topMessage__container {
  padding-left: 80px;
  padding-right: 80px;
}
@media screen and (max-width: 1820px) {
  .p-topMessage__container {
    padding-left: 0;
    padding-right: 0;
  }
}

.p-topMessage__wrap {
  display: flex;
  gap: 100px;
  margin-top: 50px;
}
@media screen and (max-width: 1199px) {
  .p-topMessage__wrap {
    gap: 50px;
  }
}
@media screen and (max-width: 999px) {
  .p-topMessage__wrap {
    display: block;
    margin-top: 40px;
  }
}

.p-topMessage__img {
  width: 480px;
  
}
@media screen and (max-width: 1199px) {
  .p-topMessage__img {
    width: 30%;
  }
}
@media screen and (max-width: 999px) {
  .p-topMessage__img {
    width: 100%;
    text-align: center;
  }
}

.p-topMessage__img img {
  width: 480px;
  height: auto;
  aspect-ratio: 480 / 600;
}
@media screen and (max-width: 1199px) {
  .p-topMessage__img img {
    width: 100%;
    max-width: 480px;
  }
}
@media screen and (max-width: 999px) {
  .p-topMessage__img img {
    width: 100%;
    max-width: 335px;
    aspect-ratio: 335 / 268;
  }
}

.p-topMessage__content {
}
@media screen and (max-width: 1199px) {
  .p-topMessage__content {
    width: calc(70% - 50px);
  }
}
@media screen and (max-width: 999px) {
  .p-topMessage__content {
    width: 100%;
    margin-top: 50px;
  }
}
.p-topMessage__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 999px) {
  .p-topMessage__text {
    font-size: 18px;
    line-height: 1.5;
    text-align: justify;
  }
}
.p-topMessage__text + .p-topMessage__text {
  margin-top: 40px;
}
@media screen and (max-width: 999px) {
  .p-topMessage__text + .p-topMessage__text {
    margin-top: 27px;
  }
}
.p-topMessage__text--highlighter {
  background: linear-gradient(transparent 65%, #FFD7D7 65% );
}

.p-topCompany {
  /* overflow-x: hidden; */
}
@media screen and (max-width: 999px) {
  .p-topCompany {
    overflow-x: hidden;
  }
}

.p-topCompany__inner {
  position: relative;
}

.p-topCompany__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-top: 80px;
  padding-left: 80px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  position: relative;
}
@media screen and (max-width: 1820px) {
  .p-topCompany__wrapper {
    padding-left: 0;
  }
}
@media screen and (max-width: 999px) {
  .p-topCompany__wrapper {
    display: block;
    padding-top: 50px;
  }
}

.p-topCompany__content {
  width: 43.1927710843%;
}
@media screen and (max-width: 999px) {
  .p-topCompany__content {
    width: 100%;
  }
}

.p-topCompany__body {
  margin-top: 50px;
}
@media screen and (max-width: 999px) {
  .p-topCompany__body {
    margin-top: 40px;
  }
}
/*@media (max-width: 1399px) {
  .p-topCompany__body h3 {
    font-size: 24px;
  }
}*/
@media screen and (max-width: 999px) {
  .p-topCompany__body h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

.p-topCompany__links {
  width: 47.5903614458%;
  margin-top: 135px;
}
@media screen and (max-width: 999px) {
  .p-topCompany__links {
    width: 100vw;
    margin-left: -20px;
    margin-top: 50px;
  }
}
.p-topCompany__links li:nth-of-type(n+2) {
  margin-top: 30px;
}
@media screen and (max-width: 999px) {
  .p-topCompany__links li:nth-of-type(n+2) {
    margin-top: 16px;
  }
}

.p-topCompany__bg {
  position: absolute;
  top: 0;
  left: 0;
  background: #F5F5F5;
  width: calc((100vw - 100%) / 2 - 40px + 60%);
  margin-left: calc((100vw - 100%) / 2 * -1);
  height: 600px;
  z-index: -1;
}
@media (max-width: 1399px) {
  .p-topCompany__bg {
    height: 640px;
  }
}
@media screen and (max-width: 999px) {
  .p-topCompany__bg {
    width: 100vw;
    height: 100%;
  }
}

.p-topService {
  position: relative;
  /* overflow-x: hidden; */
}
@media screen and (max-width: 999px) {
  .p-topService {
    overflow-x: hidden;
  }
}

.p-topService__inner {
  position: relative;
}

.p-topService__wrapper {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2.5rem;
}
@media screen and (max-width: 999px) {
  .p-topService__wrapper {
    display: block;
  }
}

.p-topService__image {
  width: 45.4022988506%;
  overflow: hidden;
  z-index: -1;
}
@media screen and (max-width: 999px) {
  .p-topService__image {
    width: 100vw;
    margin-left: -20px;
    z-index: 1;
  }
}
.p-topService__image img {
  width: 100%;
  height: 527px;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 999px) {
  .p-topService__image img {
    height: 250px;
  }
}

.p-topService__content {
  width: 52.2988505747%;
  margin-top: 10rem;
  margin-bottom: 6.25rem;
  z-index: 1;
}
@media screen and (max-width: 999px) {
  .p-topService__content {
    width: 100%;
    padding-bottom: 50px;
    margin-top: 50px;
    margin-bottom: 0;
  }
}

.p-topService__body {
  margin-top: 3.125rem;
  max-width: 720px;
}
@media screen and (max-width: 999px) {
  .p-topService__body {
    margin-top: 40px;
  }
}

.p-topService__link {
  margin-top: 3.125rem;
}
@media screen and (max-width: 999px) {
  .p-topService__link {
    margin-top: 50px;
    text-align: center;
  }
}

.p-topService__bg {
  position: absolute;
  top: 5rem;
  right: calc((100vw - 100%) / 2 * -1);
  background: #F5F5F5;
  width: calc(58% + (100vw - 100%) / 2);
  height: calc(100% - 5rem);
}
@media screen and (max-width: 999px) {
  .p-topService__bg {
    top: 0;
    width: 100vw;
    height: 100%;
    z-index: -1;
  }
}

.p-topResult__inner {
  width: 100%;
  position: relative;
}

.p-topResult__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.p-topResult__items li {
  width: 33.3333333333%;
  height: 600px;
  overflow: hidden;
}
@media screen and (max-width: 999px) {
  .p-topResult__items li {
    width: 100%;
    height: 524px;
  }
}
.p-topResult__items img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-topResult__content {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 800px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: rgba(34, 34, 34, 0.8);
  outline: 2px solid #ffffff;
  outline-offset: -30px;
  padding-top: 76px;
  padding-bottom: 76px;
  padding-left: 150px;
  padding-right: 150px;
}
@media screen and (max-width: 999px) {
  .p-topResult__content {
    width: 355px;
    max-width: calc(100% - 20px);
    outline: 1px solid #ffffff;
    outline-offset: -10px;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

.p-topResult__text {
  color: #ffffff;
  font-size: 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
  margin-top: 30px;
}
@media screen and (max-width: 999px) {
  .p-topResult__text {
    font-size: 18px;
    line-height: 1.5;
    margin-top: 40px;
  }
}

.p-topResult__link {
  text-align: center;
  margin-top: 50px;
}

.p-topNews__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 6.375rem;
  padding-left: 80px;
  padding-right: 80px;
}
@media screen and (max-width: 1820px) {
  .p-topNews__wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}
@media screen and (max-width: 999px) {
  .p-topNews__wrapper {
    display: block;
  }
}

.p-topNews__body {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
@media screen and (max-width: 999px) {
  .p-topNews__body {
    margin-top: 40px;
  }
}

.p-topNews__link {
  text-align: right;
  margin-top: 50px;
}
@media screen and (max-width: 999px) {
  .p-topNews__link {
    text-align: center;
  }
}

.p-topRecruit {
  background: #F5F5F5;
  margin-top: 180px;
  margin-bottom: 100px;
}
@media screen and (max-width: 999px) {
  .p-topRecruit {
    margin-top: 80px;
    margin-bottom: 50px;
  }
}

.p-topRecruit__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12rem;
  padding-top: 76px;
  padding-bottom: 80px;
}
@media screen and (max-width: 999px) {
  .p-topRecruit__wrapper {
    display: block;
    padding: 45px 0 52px;
  }
}

.p-topRecruit__body {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  margin-top: 3px;
}
@media screen and (max-width: 999px) {
  .p-topRecruit__body {
    margin-top: 40px;
  }
}

.p-topRecruit__lead {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.43;
  letter-spacing: 0.2em;
}
@media screen and (max-width: 999px) {
  .p-topRecruit__lead {
    font-size: 22px;
  }
}

.p-topRecruit__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
  max-width: 776px;
  margin-top: 16px;
}
@media screen and (max-width: 999px) {
  .p-topRecruit__text {
    font-size: 18px;
    line-height: 1.5;
    max-width: 100%;
  }
}

.p-topRecruit__link {
  margin-top: 50px;
}
@media screen and (max-width: 999px) {
  .p-topRecruit__link {
    text-align: center;
    margin-top: 30px;
  }
}
.bg_gray{
  position: relative;
}

.bg_gray::after{
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: gray;
  top: 0;
  left: 0;
  opacity: 0.7;


}