@charset "utf-8";

/*-------------------- MV */
#mainvis {
  position: sticky;
  width: 98vw;
  height: 50vh !important;
  margin: 80px auto 0;
  background: url("../img/cmn/mv.jpg") center center / cover no-repeat;
}
#mainvis .mf-inner {
  padding: 0;
}

/*-------------------- pankuzu */
#pankuzu {
  display: none;
}

/*-------------------- contents */


/*-------------------- mf1 */
#mf1 h2 {
  font-size: 1.7em;
}

#mf1 .mf-inner {
  width: 60vw;
  margin: 0 auto;
  padding: 4em 0;
}
#mf1 .sbox {
  position: relative;
  width: 40vw;
  margin: 0 auto;
}
#mf1 .cbox {
  display: none;
}
#mf1 .swiper-slide-active .cbox {
  display: block;
}
#mf1 .swiper-pagination-bullets{
  width: auto !important;
  text-align: right!important;
  left: 50% !important;
  bottom: -2em;
  transform: translate(-50%, -50%);
  z-index: 5;
}
.swiper-button-prev:after,
.swiper-button-next:after {
 display: none;
}
.swiper-button-prev,
.swiper-button-next {
	width: 15px;
	height: 15px;
	margin-top: 0;
}
/* 次ページボタンのスタイル */
.swiper-button-next {
	border-top: 6px solid rgba(0,0,0,.5);
  border-left: 6px solid rgba(0,0,0,.5);
  transform: rotate(135deg);
  right: 0;
}
/* 前ページボタンのスタイル */
.swiper-button-prev {
	border-top: 6px solid rgba(0,0,0,.5);
  border-right: 6px solid rgba(0,0,0,.5);
  transform: rotate(-135deg);
  left: 0;
}

#nf1 .cbox p {
  min-height: 3em;
}
#mf1 .btn a {
  display: block;
  width: fit-content;
  width: -moz-fit-content;
  padding: .5em 2em;
  margin: 3em auto 2em;
  border-radius: 10px;
  background: #0c1135;
  color: #fff;
  text-align: center;
}
#mf1 h2 {
  margin: 0 auto 1em;
  text-align: center;
}
#mf1 .tbox {
  margin-top: 5em;
}
#mf1 p {
  text-align: center;
  margin: 1em auto;
}

/*-------------------- mf2 */
#mf2 .mf-inner {
  display: flex;
}
#mf2 .cbox {
  width: 100%;
  max-width: 634px;
  overflow: hidden;
  height: 500px;
  position: relative;
}
#mf2 .cbox a{
  display: flex;
  justify-content: center;
  height: 100%;
  color: #778899;
  position: relative;
  z-index: 1;
}
#mf2 .cbox:after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  transition: all .3s ease-out;
}
#mf2 .cbox.service:after{
  background: url("../img/service/bg.jpg") center center / cover no-repeat;
}
#mf2 .cbox.company:after{
  background: url("../img/company/bg.jpg") center center / cover no-repeat;
}
#mf2 .cbox.recruit:after{
  background: url("../img/recruit/bg.jpg") center center / cover no-repeat;
}
#mf2 .cbox:hover:after {
  opacity: .8;
  transform: scale(1.1);
}
#mf2 .cbox h2 {
  font-size: 1.6em;
  color: #fff;
  margin-top: 5em;
  text-indent: 1.5em;
}
#mf2 .cbox h2:after {
  content: "";
  display: inline-block;
  width: .8em;
  height: .8em;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  margin-left: 1em;
}


@media screen and (max-width: 1400px) {
  #mf2 .cbox {
    height: 300px;
  }
  #mf2 .cbox h2 {
    margin-top: 3em;
  }
  .frame {
    width: auto;
  }
  .inner {
    width: 1000px;
  }
}

@media screen and (max-width: 1024px) {
  body {
    font-size: 2.8vw;
  }
  h2 {
    font-size: 7vw;
  }
  #mainvis {
    width: 100%;
    height: 60vh !important;
    margin-top: 15vw;
  }
  #mainvis .sbox {
    width: 70vw;
    padding: 5vw;
    top: 30vh;
  }
  #mainvis h2 {
    padding: 0;
  }
  .swiper-button-next {
    right: -3vw;
  }
  .swiper-button-prev {
    left: -3vw;
  }
  #mf1 .mf-inner {
    width: 80vw;
    padding: 5vw 0;
  }
  #mf1 .sbox {
    width: auto;
  }
  #mf2 .cbox h2 {
    font-size: 3vw;
    text-indent: 0;
  }
  #mf2 .cbox h2:after {
    width: .6em;
    height: .6em;
    margin-left: .5em;
  }

}

@media screen and (max-width: 768px) {

  #mf2 .mf-inner {
    display:block;
  }
  #mf2 .cbox {
    max-width: 768px;
  }
  #mf2 .cbox h2 {
    font-size: 4vw;
  }
}

@media screen and (max-width: 540px) {
  body {
    font-size: 3.4vw;
    line-height: 1.5;
  }
  #mainvis {
    margin-top: 10vw;
  }
  #mf1 {
    margin-bottom: 5vw;
  }
  #mf1 .sbox {
    width: 70vw;
  }
  #mf1 h2 {
    font-size: 1.2em;
  }
  #mf1 .cbox p {
    font-size: 1em;
    padding: 0 1em;
    height: 5em;
  }
  #mf1 .btn a {
    padding: 1em 2em;
    margin: 3em auto 2em;
    font-size: 3.8vw;
  }
  .swiper-button-next {
    border-top: 3px solid rgba(0,0,0,.5);
    border-left: 3px solid rgba(0,0,0,.5);
    right: -5vw;
  }
  .swiper-button-prev {
    border-top: 3px solid rgba(0,0,0,.5);
    border-right: 3px solid rgba(0,0,0,.5);
    left: -5vw;
  }
  #mf2 .cbox h2 {
    font-size: 5vw;
  }

  h3 {
    font-size: 3.8vw;
  }
  footer .cbox {
    width: 85vw;
  }
  footer img {
    width: 35vw;
  }
  footer .fbtn a {
    width: 42vw;
    line-height: 3.5;
    font-size: 2.6vw;
  }
  footer p {
    font-size: 1.8vw;
  }
}

@media screen and (max-width: 420px) {
  .mv-frame picture img {
    width: 130%;
    margin: 0 0 0 -17vw;
  }
  .mf1, .mf2 {
    padding-bottom: 10vw;
  }
  .mf2 .cbox {
    background-position: left bottom;
  }
  .mf3 .cbox {
    background: url("../img/mf3bg.png") left bottom 250px/150% no-repeat;
  }
}