@font-face {
  font-family: 'Noto Serif JP';
  font-style: normal;
  font-weight: 300;
  src: url("/wp/wp-content/themes/meikikou/fonts/NotoSerif/NotoSerifCJKjp-Light.woff2") format("woff2"), url("../../fonts/NotoSerifCJKjp-Light.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: 'Noto Serif JP';
  font-style: normal;
  font-weight: 400;
  src: url("/wp/wp-content/themes/meikikou/fonts/NotoSerif/NotoSerifCJKjp-Regular.woff2") format("woff2"), url("../../fonts/NotoSerifCJKjp-Regular.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: 'Noto Serif JP';
  font-style: normal;
  font-weight: 500;
  src: url("/wp/wp-content/themes/meikikou/fonts/NotoSerif/NotoSerifCJKjp-Medium.woff2") format("woff2"), url("../../fonts/NotoSerifCJKjp-Medium.woff") format("woff");
  font-display: swap;
}

.w40 {
  width: 40%;
}
.m0 {
  margin: 0 auto;
}
.mb210  {
  margin-bottom: 210px;
}

.info_box {
  padding: 60px 40px 100px;
  max-width: 1446px;
  margin: 0 auto;
/*  font-size: 0; */
}
.info_box .news_box {
  max-width: none;
  width: 100%;
  margin-right: 0;
}
.info_box .news_box h3 {
  margin-bottom: 15px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.47826;
}
.info_box .news_box ul {
  transform: translateX(0);
  opacity: 1;
  height: 265px;
  overflow-y: scroll;
}
.info_box .news_box ul li {
  border-bottom: 1px solid #DDDDDD;
}
.info_box .news_box ul li a {
  display: block;
  padding: 15px 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.42857;
  color: #000000;
  text-decoration: none;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
}

.comment_box:has(:not(img)) {
  margin-bottom: 130px;
  position: relative;
}
.comment_box:has(img) {
  margin-bottom: 60px;
}
/* MEIKIKOU */
.comment_box:has(:not(img))::after {
  content: " ";
  width: 791px;
  height: 120px;
  display: block;
  background: url(/wp/wp-content/uploads/2025/04/bg_text_meikikou.svg) no-repeat center;
  background-size: contain;
  position: absolute;
  bottom: -150px;
  z-index: -1;
  right: 0;

}
/* swiper の背景グラデーション */
.about_box::before {
  content: " ";
  width: calc(100% - 130px);
  height: 570px;
  display: block;
  background: -webkit-gradient(linear, left top, right top, from(#F9F586), to(#19E88D));
  background: linear-gradient(90deg, #F9F586, #19E88D);
  position: absolute;
  top: -690px;
  left: 0;
  opacity: .15;
}

main .list_box.col3 li {
  margin: 0 36px 55px 0;
  display: inline-block;
  vertical-align: top;
}
main .list_box.col3 li img {
  width: 100%;
}

.about_box {
  position: relative;
  margin-bottom: 160px;
}
.about_box .img_box:before {
  content: " ";
  width: 900px;
  height: 280px;
  display: block;
  background: -webkit-gradient(linear, right top, left top, from(#F9F586), to(#19E88D));
  background: linear-gradient(-90deg, #F9F586, #19E88D);
  opacity: .15;
  position: absolute;
  bottom: -60px;
  right: 0;
  z-index: -1;
}

.company_box {
  margin-bottom: 130px;
  position: relative;
}
.company_box::before {
  content: " ";
  width: 790px;
  height: 120px;
  display: block;
  background: url(/wp/wp-content/uploads/2025/04/bg_text_about.svg) no-repeat center;
  background-size: contain;
  position: absolute;
  top: -45px;
  z-index: -1;
}
.company_box .list_box li a p {
  margin-left: 25px;
}
.company_box .list_box li a p::before {
  content: " ";
  width: 10px;
  height: 10px;
  display: block;
  border-top: 2px solid #0BA360;
  border-right: 2px solid #0BA360;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  bottom: 29px;
  left: 0;
}

.staff_box {
  position: relative;
}
.staff_box::before {
  content: " ";
  width: 838px;
  height: 115px;
  display: block;
  background: url(/wp/wp-content/uploads/2025/04/bg_text_interview.svg) no-repeat center;
  background-size: contain;
  position: absolute;
  top: -45px;
  z-index: -1;
}
.staff_box .list_box::before {
  content: " ";
  width: 1200px;
  height: 1360px;
  display: block;
  background: #0BA360;
  opacity: .1;
  position: absolute;
  top: 45px;
  right: 0;
  z-index: -1;
}
.staff_box .list_box li a {
  display: block;
  color: #111111;
  text-decoration: none;
  background: #fff;
}
.staff_box .list_box li a div:first-of-type {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 200%;
  color: #999999;
  padding: 20px 30px 0;
}
.staff_box .list_box li a div:last-of-type {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 200%;
  padding: 0 30px 30px;
  margin: 0;
}

.intern_box::before {
  content: " ";
  width: 100%;
  height: 700px;
  display: block;
  background: url(/wp/wp-content/uploads/2025/04/bg_building.webp) no-repeat center;
  background-size: cover;
  background-attachment: fixed;
}
.staff_box .list_box.effect::before {
  transition: 0.8s ease 0.5s;
  transition-property: width;
  width: 0;
}
.staff_box .list_box.effect.animated::before {
  width: 100%;
  top: -185px;
}

.effect {
  transition: 0.8s ease 0.5s;
  transition-property: opacity, transform;
  transform: translateX(30px);
  opacity: 0;
}
.effect.animated {
  transform: translateX(0);
  opacity: 1;
}

.comment_box.effect .title {
  transition: 1.2s ease 0.5s;
  transition-property: opacity, transform;
  opacity: 0;
}
.comment_box.effect.animated .title {
  opacity: 1;
}

.swiper-slide {
  margin: 3px;
}
/* スライダー切れ目ない自動スクロール */
.swiper-linear .swiper-wrapper {
  transition-timing-function: linear;
}
.swiper-linear .swiper-slide img {
  height: auto;
  width: 100%;
  margin: 2px;
}

.text_box_slider p,
.text_box_slider div {
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .img_box {
    margin-bottom: 40px;
  }

  .company_box .effect,
  .staff_box .effect {
    transform: translateX(5px);
  }

  .text_box_slider {
    color: #000;
    text-align: center;
    margin: 15px;
  }
  .text_box_slider div {
    color: #0ba360;
    font-size: 1.4rem;
    letter-spacing: 4px;
  }
  .text_box_slider p {
    font-size: 0.8rem;
  }

  main .list_box li.effect {
    display: block;
    margin: 0 0 40px;
    width: 100%;
  }

  .info_box {
    padding: 30px 40px 50px;
  }
  .info_box .news_box ul {
    margin-bottom: 1.5rem;
    height: 150px;
    overflow-y: scroll;
  }
  .info_box .news_box ul li {
    border-bottom: 1px solid #DDDDDD;
  }
  .info_box .news_box ul li a {
    display: block;
    padding: 15px 0;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.53846;
    color: #000000;
    text-decoration: none;
    -webkit-transition: 0.4s ease;
    transition: 0.4s ease;
  }
  .info_box .news_box ul li a time {
    display: block;
    margin-bottom: .5rem;
    vertical-align: top;
    font-size: 0.8125rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.53846;
  }

  .about_box {
    margin-bottom: 0;
  }

  .about_box .img_box:before {
    height: 98px;
    top: 177px;
    width: 90%;

  }

  .comment_box:has(img) {
    position: relative;
    z-index: 10;
  }
  .comment_box:has(img),
  .comment_box:has(:not(img)) {
    margin-bottom: 30px;
  }

  /* MEIKIKOU */
  .comment_box:has(:not(img))::after {
    top: -313px;
    height: 64px;
    right: 0;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
  }
  /* swiper の背景グラデーション */
  .about_box::before {
    width: calc(100% - 30px);
    height: 450px;
    top: -505px;
  }
  .swiper-linear {
    margin-bottom: 100px;
  }

  .company_box {
    margin-bottom: 0;
  }
  /* ABOUT US */
  .company_box::before {
    top: -140px;
    height: 100px;
    left: 0;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    -webkit-transform-origin: bottom left;
    transform-origin: bottom left;
  } 
  .company_box .list_box li a p::before {
    bottom: 9px;
  }

  /* INTERVIEW */
  .staff_box::before {
    top: -176px;
    right: 0;
    height: 86px;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
  }
  .staff_box .list_box::before {
    height: 4400px;
  }
  .staff_box .list_box.effect.animated::before {
    top: -140px;
  }

  .swiper-wrapper {
    min-height: 138px;
  }

  .recruit_box .inner .text_box,
  .recruit_box .inner .btn_box {
    width: 100%;
  }

  .intern_box::before {
    height: 445px;
    background-attachment: unset
  }
}

@media screen and (max-width: 1600px) {
  .recruit_box .inner::before {
    left: 20px;
  }
}

@media screen and (min-width: 767px) {
  .text_box_slider {
    position: relative;
  }
  .text_box_slider div,
  .text_box_slider p {
    color: #fff;
    position: absolute;
    left: 50px;
  }
  .text_box_slider div {
    font-size: 2.0rem;
    letter-spacing: 0.3rem;
    top: -215px;
  }
  .text_box_slider p {
    top: -130px;
  }

  main .list_box.col3 li {
    width: calc(100% / 3 - 39px);
  }

  .swiper-linear {
    margin-bottom: 210px;
  }
  .swiper-linear .swiper-wrapper {
    height: 515px;
  }

  .about_box .img_box img {
    width: 55%;
  }
  .about_box .img_box + p {
    width: 40%;
  }
}
