/* index.php reset */
#index section {
  /*	margin-bottom: 30px;*/
  overflow: hidden;
}
/* main visual */
#index .mv {
  width: 100%;
  position: relative;
  overflow: hidden;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 写真がふわっと変わるやつ */
.slid_wrap {
  width: 100%;
  max-height: 700px;
  height: 80vh;
  position: relative;
}

.slid_item {
  width: 100%;
  max-width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  animation: slidIn 15s infinite;
}

@keyframes slidIn {
  0%{ opacity: 0;}
  5%{ opacity: 1;}
  35%{ opacity: 1;}
  40%{ opacity: 0;}
  100%{ opacity: 0;}
}

.slid_item1 {
  background-image: url("../images/index/mv1.jpg");
  background-size: cover;
  background-position: center top;
  animation-delay: 0s;
}

.slid_item2 {
  background-image: url("../images/index/mv2.jpg");
  background-size: cover;
  background-position: center top;
  animation-delay: 5s;
}

.slid_item3 {
  background-image: url("../images/index/mv3.jpg");
  background-size: cover;
  background-position: left top;
  animation-delay: 10s;
}
/* ふわっと終わり */

#index .mv .curtain_left, #index .mv .curtain_right {
  width: 10px;
  height: 100vh;
  background: #29abe2;
  position: absolute;
  animation: bg 1s 2s 1 forwards;
  transform: rotate(-45deg);
  transform-origin: left;
  opacity: 0.8;
}
#index .mv .curtain_left {
  top: -90px;
  left: -520px;
}
#index .mv .curtain_right {
  top: 70vh;
  left: 94vw;
}
#index .mv .curtain_left::after, #index .mv .curtain_right::after {
  content: "";
  display: block;
  width: 0;
  height: 100vh;
  background: #29abe2;
  opacity: 0.5;
  position: absolute;
  animation: bg2 2s 2s 1 forwards;
}
#index .mv .curtain_left::after {
  top: 4vh;
}
#index .mv .curtain_right::after {
  bottom: 4vh;
}
@keyframes bg {
  100% {
    width: 120vw;
  }
}
@keyframes bg2 {
  100% {
    width: 120vw;
  }
}
#index .mv .mv_copy {
  font-size: 60px;
  line-height: 1.4;
  font-weight: normal;
  text-shadow: 0 0 3px #405056, 0 0 5px #405056, 0 0 5px #405056, 0 0 10px #405056, 0 0 10px #405056;
  color: #ffffff;
  position: absolute;
  right: 6%;
  bottom: 4%;
  z-index: 10;
}
@media screen and (max-width: 1025px) {
  #index .mv .mv_copy {
    font-size: calc(100vw / 20);
  }
  #index .mv .curtain_left {
    top: -28vh;
    left: -75vw;
  }
  #index .mv .curtain_right {
    top: 68vh;
    left: 100vw;
  }
  #index .mv .curtain_left::after {
    top: 4vh;
  }
  #index .mv .curtain_right::after {
    bottom: 3vh;
  }
}
@media screen and (max-width: 821px) {
  #index .mv .curtain_left {
    top: -40vh;
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  #index .mv {
    max-height: 700px;
    height: 40vh;
    background-size: 160%;
    background-position-y: top;
    background-position-x: 26%;
    ;
  }
  #index .mv .mv_copy {
    font-size: calc(100vw / 18);
    right: 3vw;
    bottom: 3vw;
  }
  #index .mv .curtain_left {
    top: -66vh;
    left: -84vw;
  }
  #index .mv .curtain_right {
    top: 30vh;
    left: 140vw;
  }
}
@media screen and (max-width: 391px) {
  #index .mv .mv_copy {
    font-size: calc(100vw / 15);
    right: 5vw;
    bottom: 5vw;
  }
}
/* introducs */
#index .into_box {
  padding: 100px 0 0;
  position: relative;
  font-size: 26px;
}
#index .into_box p {
  letter-spacing: 1px;
  line-height: 2.2;
  text-shadow: 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 8px #ffffff, 0 0 8px #ffffff, 0 0 8px #ffffff, 0 0 8px #ffffff, 0 0 8px #ffffff, 0 0 8px #ffffff, 0 0 8px #ffffff, 0 0 8px #ffffff, 0 0 8px #ffffff, 0 0 10px #ffffff;
}

#index .into_box_img {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#index .into_box_img .intro_img {
	width: calc(48% - 60px);
	max-width: 540px;
}
#index .into_box_img .intro_img:nth-of-type(1) {
	margin-top:0; 
	margin-left:60px; 
}
#index .into_box_img .intro_img:nth-of-type(2) {
	margin-top:100px; 
	margin-right:60px; 
}
@media screen and (max-width: 1025px) {
  #index .into_box {
   	padding: 5vh 0 0;
    font-size: calc(100vw / 38);
  }
  #index .into_box .cotns_box { 
  margin: 50px auto;
  }
  #index .into_box_img .intro_img {
    width: 44%;
    max-width: 540px;
  }
  #index .into_box_img .intro_img:nth-of-type(1) {
    margin-left:0; 
  }
  #index .into_box_img .intro_img:nth-of-type(2) {
	margin-top:13vw; 
    margin-right:0; 
  }
}
@media screen and (max-width: 768px) {
  #index .into_box {
    font-size: calc(100vw / 28);
    position: relative;
  }
  #index .into_box .cotns_box { 
  margin: 2vh auto 3vh;
  }
  #index .into_box_img .intro_img {
    width: 48%;
    max-width: 540px;
  }
}
@media screen and (max-width: 430px) {
  #index .into_box {
	padding: 6vh 0 0;
	font-size: calc(100vw / 24);
	position: relative;
  }
}
/* work */
#index .work .work_box {
  height: 74vh;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}
#index .work .work_box .anime-01 {
  margin-top: 60px;
}
#index .work .work_box .work_img {
  width: 80%;
  max-width: 920px;
}
#index .work .work_box .work_cntns {
  width: 64%;
  max-width: 660px;
  padding: 30px 50px;
  background: #29abe2;
  color: #ffffff;
}
#index .work .work_box .work_cntns dt {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
}
#index .work .work_box .work_cntns dd {
  line-height: 1.8;
}
#index .work .main_btn {
  margin: 0 auto;
}
/* コンテンツレイアウト反転 */
/* 奇数 */
#index .work .work_box:nth-of-type(odd) .anime-01 {
	margin: 0 0 0 auto;
}
#index .work .work_box:nth-of-type(odd) .work_img {
  position: absolute;
  top: 0;
  left: 0;
}
#index .work .work_box:nth-of-type(odd) .work_cntns {
  position: absolute;
  bottom: 15%;
  right: 0;
}
/* 偶数 */
#index .work .work_box:nth-of-type(even) .anime-02 {
  margin: 0 0 auto 10%;
}
#index .work .work_box:nth-of-type(even) .work_img {
  position: absolute;
  top: 0;
  right: 4%;
}

#index .work .work_box:nth-of-type(even) .work_cntns {
  position: absolute;
  bottom: 25%;
  left: 0;
}


@media screen and (max-width: 1025px) {
  #index .work .work_box {
    height: 54vh;
    position: relative;
  }
	
}
@media screen and (max-width: 768px) {
  #index .work .work_box {
    height: 85vh;
    margin-bottom: 5vh;
    position: relative;
  }
  #index .work .work_box .anime-01 {
    margin-top: 0;
    position: absolute;
    height: 20vh;
    bottom: 0;
  }
  #index .work .work_box .work_img {
    width: 140%;
    max-width: 920px;
    margin-top: 0;
  }
  #index .work .work_box .work_cntns {
    width: 90vw;
    padding: 5vw 4vw 5vw 5vw;
    position: absolute;
    bottom: 15vh;
    right: 0;
  }
  #index .work .work_box .work_cntns dt {
    font-size: calc(100vw / 18);
  }
  #index .work .work_box .work_cntns dd {
    line-height: 1.8;
  }
  #index .work .work_box .main_btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
	#index .work .work_box:nth-of-type(even) .anime-02 {
	  margin: auto 0 0 10%;
	}
}
@media screen and (max-width: 430px) {
  #index .work .work_box {
    height: 58vh;
	max-height: none;
	min-height: auto;
    position: relative;
  }
}
/* aboutus */
#index .aboutus .about_box {
  position: relative;
  height: 46vh;
  min-height: 460px;
}
#index .aboutus .about_box .anime-02 {
  margin-top: 0;
  position: absolute;
  top: 30%;
  left: 5%;
}
#index .aboutus .about_box .about_cntns {
  width: 45%;
  max-width: 680px;
  /*margin-top: -160px;*/
}
#index .aboutus .about_box .about_img {
  width: 50%;
  max-width: 700px;
  height: 400px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}
#index .aboutus .about_box .main_btn {
  position: absolute;
  bottom: 0;
  left: calc(45% - 320px);
}
@media screen and (max-width: 1025px) {
  #index .aboutus .about_box {
    height: 30vh;
  }
}
@media screen and (max-width: 768px) {
  #index .aboutus .about_box {
    height: 72vh;
  }
  #index .aboutus .about_box .about_cntns {
    width: 95vw;
    max-width: 100%;
    margin-left: 5vw;
    margin-top: 0;
  }
  #index .aboutus .about_box .anime-02 {
    margin-top: 0;
    position: absolute;
    top: 24%;
    left: -5%;
  }
  #index .aboutus .about_box .about_img {
    width: 100%;
    height: 36vh;
    top: auto;
    bottom: 12vh;
    right: -10vw;
    z-index: -1;
    overflow: hidden;
  }
  #index .aboutus .about_box .about_img img {
    object-fit: cover;
  }
  #index .aboutus .about_box .main_btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
}
@media screen and (max-width: 391px) {
  #index .contact .cotns_box {
    max-height: 500px;
  }
  #index .aboutus .about_box .about_img {
    max-height: 220px;
  }
}
/* recruit */
#index .recruit .cotns_box {
  margin-left: 0;
  max-width: none;
  position: relative;
  height: 560px;
}
#index .recruit .recruit_img {
  width: 60%;
  max-width: 900px;
  height: 500px;
  position: absolute;
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 100% 0%, 80% 100%, 0% 100%);
  transition: all 0.3s ease 0s;
}
#index .recruit .recruit_img_shadow {
  content: "";
  display: block;
  width: 60%;
  max-width: 1000px;
  height: 500px;
  background: #29abe2;
  opacity: .75;
  clip-path: polygon(0 0, 100% 0%, 80% 100%, 0% 100%);
  position: absolute;
  top: 40px;
  left: 0;
  z-index: -1;
  transition: all 0.3s ease 0s;
}
@media only screen and (min-width:1920px) {
  #index .recruit .recruit_img, #index .recruit .recruit_img_shadow {
    max-width: 1180px;
    transition: all 0.3s ease 0s;
  }
}
#index .recruit .recruit_cntns {
  width: 50%;
  max-width: 640px;
  position: absolute;
  bottom: 0;
  left: 56%;
}
#index .recruit .recruit_cntns .cntns_hl2::before {
  width: 440px;
  left: 190px;
  z-index: -1;
}
#index .recruit .recruit_cntns p {
  margin: 30px 0;
  width: 100%;
}
@media screen and (max-width: 1025px) {
  #index .recruit .cotns_box {
    margin-left: 0;
    max-width: none;
    position: relative;
    height: 460px;
  }
  #index .recruit .recruit_img, #index .recruit .recruit_img_shadow {
    width: 57%;
    height: 340px;
  }
  #index .recruit .recruit_cntns {
    width: 47%;
  }
}
@media screen and (max-width: 768px) {
  #index .recruit .cotns_box {
    margin-left: 0;
    max-width: none;
    position: relative;
    height: 70vh;
  }
  #index .recruit .recruit_img {
    width: 90%;
    height: 30vh;
    position: absolute;
    top: 0;
    left: 0;
  }
  #index .recruit .recruit_img_shadow {
    width: 100%;
    height: 30vh;
    position: absolute;
    top: 30px;
    bottom: auto;
    left: 0px;
  }
  #index .recruit .recruit_cntns {
    left: 10%;
    width: 90%
  }
  #index .recruit .recruit_cntns .cntns_hl2::before {
    width: 550px;
    left: 34vw;
  }
  #index .recruit .recruit_cntns p {
    margin: 3vw 0 6vw;
  }
}
@media screen and (max-width: 391px) {
  #index .recruit .cotns_box {
    max-height: 500px;
  }
}
/* contact */
#index .contact .cotns_box {
  margin-right: 0;
  max-width: none;
  position: relative;
  height: 560px;
}
#index .contact .contact_img {
  width: 60%;
  /* max-width: 1000px; */
  height: 500px;
  position: absolute;
  top: 0;
  right: 0;
  clip-path: polygon(0 0, 100% 0%, 100% 100%, 20% 100%);
  transition: all 0.3s ease 0s;
  z-index: 1;
}
#index .contact .contact_img img {
  object-fit: cover;
  object-position: center bottom;
  width: 100%;
  height: 500px;
}
#index .contact .contact_img_shadow {
  content: "";
  display: block;
  width: 62%;
  /* max-width: 1000px; */
  height: 500px;
  background: #29abe2;
  opacity: .75;
  clip-path: polygon(0 0, 100% 0%, 100% 100%, 20% 100%);
  transition: all 0.3s ease 0s;
  position: absolute;
  top: 30px;
  right: 0;
  z-index: -1;
}
/*
@media only screen and (min-width:1920px){
	#index .contact .contact_img{
		max-width: 1280px;
		transition: all 0.3s ease 0s;
	}
}
*/
#index .contact .contact_cntns {
  width: 90%;
  max-width: 640px;
  position: absolute;
  bottom: 0;
  left: 2%;
}
#index .contact .contact_cntns .cntns_hl2::before {
  width: 550px;
  left: 280px;
  z-index: -1;
}
#index .contact .contact_cntns p {
  margin: 30px 0;
  width: 100%;
}
@media screen and (max-width: 1025px) {
  #index .contact .cotns_box {}
  #index .contact .contact_cntns {
    width: 45%;
  }
  #index .contact .contact_img, #index .contact .contact_img_shadow {
    height: 30vh;
  }
  #index .contact .contact_img img {
    height: 30vh
  }
}
@media screen and (max-width: 768px) {
  #index .contact .cotns_box {
    margin-right: 0;
    max-width: none;
    position: relative;
    height: 70vh;
  }
  #index .contact .contact_img {
    width: 90vw;
    height: 30vh;
    position: absolute;
    top: 0;
    right: 0;
  }
  #index .contact .contact_img_shadow {
    width: 95%;
    height: 30vh;
    position: absolute;
    top: 30px;
    bottom: auto;
    right: 0;
  }
  #index .contact .contact_cntns {
    width: 90%;
    left: 10%;
  }
  #index .contact .contact_cntns .cntns_hl2::before {
    width: 550px;
    left: 48vw;
  }
  #index .contact .contact_cntns p {
    margin: 3vw 0 6vw;
  }
}
@media screen and (max-width: 391px) {
  #index .contact .cotns_box {
    max-height: 500px;
  }
}