@charset "utf-8";
/* -----------------------------------------------
 index CSS
-------------------------------------------------- */
.elfsight-app-2260915b-1f6b-48f5-acce-17c543cae89d {
  min-height: 600px; /* ElfSightのウィジェット高さに合わせて調整 */
}
#index main {
  position: relative;
  width: 100%;
  background-color: #F7F7F7
}
#index main .container-fluid {
  padding: 5% 3%
}
/*========= オープニングムービー =========*/
.mv {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.80);
  z-index: 2;
	margin-bottom: -40px
}
.mv::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: #172a2c;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  opacity: .4;
  z-index: 3;
}
/* video */
.videoWrap {
  position: relative;
  /*background: url("../images/mv.png");*/
  width: 100%;
  height: 100vh;
  left: 0;
  right: 0;
  margin: 0 auto;
  overflow: hidden;
  z-index: 2;
}
.videoWrap video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 2;
}
/*catch*/
.mv .mv-catch {
  position: absolute;
  width: 60%;
  padding: 3% 0 3% 5%;
  /*background-color: #F9FAFA;*/
  left: 0;
  bottom: 40px;
  z-index: 10000;
  border-radius: 0 30px 0 0
}
/*.mv .mv-catch::before {
  content: "";
  position: absolute;
  left: calc(100% - 1px);
  bottom: 1px;
  height: 30px;
  width: 30px;
  background-image: url("../images/round01.svg");
  background-size: 30px 30px;
}*/
.mv .mv-catch p {
  font-size: 2.5vw;
  font-weight: 600;
  line-height: 1.6;
  color: white
}
.mv .mv-catch p .col-blue {
  font-size: 1.2em;
  margin-left: -10px;
  margin-right: -10px;
  color: white
}
.mv .mv-catch p.eng {
  font-size: 1.5vw;
  font-weight: 400;
  padding-top: 1.5vh
}
#index h2 {
  overflow: hidden;
  position: relative;
  font-family: "Inter", sans-serif;
  font-size: 3em; /*54px*/
  line-height: 1.4;
  margin-bottom: 1em;
  font-weight: 600;
  font-style: normal;
  text-align: left;
  color: #0F0F0F
}
#index h2 span.h2sab {
  color: var(--blue);
  font-size: 16px;
  font-weight: 500;
}
.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  /*translateY(-20px) //上からフェードの場合*/
}
/*photo*/
.relative {
  position: relative;
  padding: 0;
}
.p-box {
  position: relative;
  z-index: 2;
  display: flex;
  width: 90%;
  height: 100%;
  background: #fff;
}
.p-box:before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background: #00d4ff;
  background: linear-gradient(176deg, rgba(0, 212, 255, 1) 1%, rgba(3, 110, 183, 1) 100%);
  border-radius: 0 25px 0 25px;
}
.p-box img {
  width: 100%;
  height: 100%;
  border-radius: 0 25px 0 0 !important;
  object-fit: cover;
  object-position: right;
}
.p-box2 {
  position: absolute;
  z-index: 2;
  right: 0;
  display: flex;
  width: 90%;
  height: 100%;
}
.p-box2:before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background: #00d4ff;
  background: linear-gradient(176deg, rgba(0, 212, 255, 1) 1%, rgba(3, 110, 183, 1) 100%);
  border-radius: 25px 0 0 25px;
}
.p-box2 img {
  width: 100%;
  height: 100%;
  border-radius: 25px 0 0 25px;
  object-fit: cover;
  object-position: right;
}
/*サービス*/
#index-service .col-12 h3 {
  background-color: rgba(15, 15, 15, 1.00);
  margin-bottom: 0;
  border-radius: 20px;
}
#index-service .col-12 h3 img {
  border-radius: 20px;
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 5px;
  transition: .5s ease; /* ゆっくり変化させる */
}
#index-service .col-12:hover img {
  opacity: .7
}
#index-service .col-12 p {
  text-align: center;
  margin-bottom: 2em !important
}
#index-service .col-12 a {
  font-size: 20px;
  text-decoration: none;
}
#index-service figure {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  margin-bottom: 1em;
  height: 200px;
  border-radius: 20px;
  background-color: black;
  z-index: 1
}
#index-service figure img {
  height: auto;
  transition: transform .5s ease; /* ゆっくり変化させる */
  margin-bottom: 0;
  opacity: .7;
  min-height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
#index-service figure:hover img {
  transform: scale(1.1); /* 拡大 */
}
#index-service figure h3, #index-service figure p {
  align-items: center; /* テキストの中央揃え */
  color: #fff; /* テキストの色 */
  display: flex; /* テキストの中央揃え */
  justify-content: center; /* テキストの中央揃え */
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 35%;
  width: 90%; /* テキストを横幅いっぱいにならないようにする */
  z-index: 2;
}
#index-service figure h3 {
  font-size: 22px;
  text-shadow: 0px 0px 15px rgba(0, 0, 0, .8);
	line-height: 1
}
#index-service figure p {
  top: 50%;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
}
#index-service figure p.en {
  font-size: 13px;
  font-weight: bold;
  top: 50%;
	line-height: 2
}
/* 写真マスク */
#index-service figure::before {
  background: rgba(0, 0, 0, .5); /* マスクの色(黒の50%) */
  bottom: 0;
  content: '';
  height: auto;
  left: 0;
  opacity: 0; /* 最初は透明（非表示） */
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity .6s ease; /* ゆっくりopacityのみへ変化させる */
  width: 100%;
  z-index: 1;
}
#index-service figure:hover::before {
  opacity: 1;
}
/*流れるテキスト*/
.loop-box {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0;
  display: flex;
  place-items: center;
  overflow: hidden;
  text-wrap: nowrap;
  z-index: 1
}
.loop-text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: italic;
  color: #D4E4EF;
  font-size: 8em;
  display: inline-block;
  line-height: 1
}
#index-works {
	position: relative;
	z-index: 2;
  border-radius: 35px;
  box-shadow: var(--shadow);
  background: #00A0E9;
  background: linear-gradient(119deg, rgba(0, 160, 233, 1) 1%, rgba(0, 113, 188, 1) 100%);
  color: white;
	margin-top: -40px;
}
#index-works span.h2sab {
  color: white
}
/*縦に流れる画像*/
.loop-img-box, .loop-img-box2 {
  position: absolute;
  left: 100px;
  top: 0;
  display: grid;
  width: 200px;
  height: 100%;
}
.loop-img-box2 {
  left: 320px;
}
.slider-box {
  display: flex;
  flex-direction: column-reverse;
  overflow: hidden;
}
.slider-list, .slider-list2 {
  display: flex;
  flex-direction: column-reverse;
  margin: 0;
  padding: 0;
  align-items: center;
  animation: slideShow 20s infinite linear;
  list-style: none;
}
.slider-list2 {
  animation: slideShow2 20s infinite linear;
}
.slider-item {
  width: 200px;
  height: 270px;
  margin-top: 10px;
}
.slider-item img {
  width: 100%;
  height: 100%;
  /*object-fit: cover;*/
  margin: 0;
  border-radius: 15px;
  opacity: 50%
}
.slider:hover .slider-list {
  animation-play-state: paused;
}
@keyframes slideShow {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(100%);
  }
}
@keyframes slideShow2 {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0%);
  }
}
/*recruit*/
#index-recruit {
  background-image: url("../images/bg02.jpg");
  background-size: cover;
  padding: 10% 0 !important
}
/* -----------------------------------------------
1024px以下
-------------------------------------------------- */
@media screen and (max-width:1025px) {
  #index main .container-fluid.pt0 {
    padding-top: 0 !important
  }
  #index main .container-fluid {
    padding: 3%
  }
  .p-box {
    margin-top: 2em;
    width: 70%
  }
  .mv {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 60px
  }
  /* video */
  .videoWrap {
    position: relative;
    width: 100%;
    height: 100%;
  }
  .videoWrap video {
    width: 100%;
    height: 100%;
    position: static; /* または初期値 */
    transform: none; /* または初期値 */
    display: flex;
    align-items: end;
  }
  #news .button_more {
    position: absolute;
    left: 10%;
    bottom: 7%;
  }
  /*縦に流れる画像*/
  .loop-img-box, .loop-img-box2 {
    position: absolute;
    left: 80px;
    top: 0;
    display: grid;
    width: 180px;
    height: 100%;
  }
  .loop-img-box2 {
    left: 280px;
  }
  .slider-item {
    width: 200px;
    height: 270px;
    margin-top: 10px;
  }
  .p-box2 img {
    border-radius: 25px 0 0 25px !important;
  }
}
/* -----------------------------------------------
992px
-------------------------------------------------- */
@media screen and (max-width: 992px) {
  /*recruit*/
  #index-recruit {
    padding: 3em 0 4em 3em !important;
  }
  .p-box2 img {
    width: 100%;
    height: auto;
    border-radius: 25px 0 0 25px;
    object-fit: cover;
    object-position: center;
  }
  .p-box2:before {
    display: none
  }
  #index-service .col-12 h3 img {
    height: auto;
  }
}
/* -----------------------------------------------
smartPhone
-------------------------------------------------- */
@media screen and (max-width: 768px) {
  /*catch*/
  .mv .mv-catch {
    width: 100%;
    padding: 25px
  }
  .mv .mv-catch p {
    font-size: 3.2vw;
    line-height: 1.6
  }
  .mv .mv-catch p.eng {
    font-size: 2.5vw;
    padding-top: 5px
  }
}
/* -----------------------------------------------
smartPhone
-------------------------------------------------- */
@media screen and (max-width: 576px) {
  #index-works {
    border-radius: 0;
  }
  #index h2 {
    font-size: 2.4em !important;
    line-height: 1.3;
	letter-spacing: 0
  }
  #index h2 span.h2sab {
    font-size: 12px;
    letter-spacing: 0
  }
  /*縦に流れる画像*/
  .loop-img-box, .loop-img-box2 {
    position: absolute;
    left: auto;
    right: 130px;
    top: 0;
    display: grid;
    width: 130px;
    height: 100%;
  }
  .loop-img-box2 {
    left: auto;
    right: -20px;
  }
  .slider-item {
    width: 130px;
    height: auto;
    margin-top: 10px;
  }
  .slider-item img {
    opacity: 20%
  }
  #index-service figure {
    height: 160px;
  }
  /*recruit*/
  #index-recruit {
    background-image: url("../images/bg02.jpg");
    background-size: cover;
    background-position: bottom;
    padding: 10% 3% !important
  }
  .p-box2 {
    position: absolute;
    right: -20px;
  }
}