@charset "utf-8";

#pankuzu {
  display: none;
}

/*-------------------- MV */
#mainvis {
  height: 100vh !important;
  background: url("../img/top/mv.jpg") left center / cover no-repeat;
  position: relative;
}
#mainvis .mf-inner {
  padding: 0;
}
#mainvis p.copy {
  font-size: 40px;
  line-height: 1.6;
  position: absolute;
  left: 80px;
  bottom: 140px;
  text-shadow: 0 0 15px rgba(0,0,0,.6);
}



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

h2 {
  font-size: 32px;
  color: #444;
  letter-spacing: .2em;
  margin: 2em auto 0 0;
  position: relative;
}


/*-------------------- mf1 */

#mf1 {
  background: #dbe8e4;
  padding: 5vw 0;
  overflow: hidden;
}
#mf1 .mf-inner {
  padding: 0;
}
#mf1 .service-sec-link {
  margin: 0 0 3em 0;
}
#mf1 .cbox {
  overflow: hidden;
}
#mf1 .cbox li {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  width: calc((100% - 14%) / 3);
  margin: 3vw 7% 3vw 0;
  float: left;
}
#mf1 .cbox li:last-child {
  margin-right: 0;
}
#mf1 .cbox li figure {
  margin: 1em 0;
}
#mf1 .cbox li figure img {
  width: 100%;
}
#mf1 .cbox li h3 {
  font-size: 1.1em;
  line-height: 1.4;
}
#mf1 .cbox li p {
  margin: 1em 0 0 0;
  font-size: .9em;
}
#mf1 a img:hover{
  transform: scale(105%);
  transition: .4s;
}


/*-------------------- mf2 */
#mf2 .mf-inner {
  padding: 5vw 550px 15vw 0;
  position: relative;
  overflow: hidden;
}
#mf2 .sub {
  font-size: 2vw;
}
#mf2 figure {
  max-width: 500px;
  width: 50%;
  position: absolute;
  top: 8vw;
  right: 0;
}
#mf2 figure img {
  width: 100%;
}


/*-------------------- mf3 */

#mf3 {
  background: #dbe8e4;
  padding: 5vw 0 5vw;
  overflow: hidden;
}
#mf3 .mf-frame {
  margin: 0;
  padding-right: 5vw;
  
}
#mf3 .mf-inner {
  position: relative;
}
#mf3 .cbox {
  width: 500px;
  padding: 2em;
  background: #fff;
  position: absolute;
  top: 0;
  right: 5vw;
  z-index: 99;
}
#mf3 figure {
  padding-top: 150px;
}
#mf3 figure img{
  width: 100%;
}

/*-------------------- mf4 */
#mf4 {
  position: relative;
}
#mf4 .leftAnime2 {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #dbe8e4, #b7cbc5);
  position: absolute;
  top: 0;
  right: 0;
}

#mf4 .mf-inner {
  padding: 5vw 0;
}
#mf4 h2 {
  margin: 0;
}
#mf4 .service-sec-link {
  margin: 0;
}

@media screen and (max-width: 1400px) {
  #mainvis {
    background: url("../img/top/mv.jpg") center center / cover no-repeat;
  }
  #mainvis p.copy {
    font-size: 2.5vw;
    left: 5vw;
    bottom: 5vw;
  }
  #mf1 .cbox {
    padding: 0 0 5vw 0;
  }
  #mf2 .mf-inner {
    padding: 5vw 30vw 15vw 0;
  }
  #mf2 figure {
    width: 30vw;
    top: 10vw;
  }
  #mf2 figure img {
    width: 100%;
  }

}

@media screen and (max-width: 1024px) {
  body {
    font-size: 2.8vw;
  }
  h2 {
    font-size: 5vw;
  }
  #mainvis {
    background: url("../img/top/mv.jpg") center center / cover no-repeat;
  }
  #mainvis p.en {
    font-size: 4.2vw;
    bottom: 7vw;
  }
  #mf1 .cbox li {
    width: 47%;
    margin: 3vw 6% 3vw 0;
  }
  #mf1 .cbox li h3 {
    font-size: 2.8VW;
  }
  #mf1 .cbox li figure {
    padding: 0;
  }
  #mf2 .mf-inner {
    padding: 5vw 5vw 15vw 0;
  }
  #mf2 .sub {
    font-size: 3vw;
  }
  #mf2 figure {
    max-width: none;
    position: static;
    width: 65vw;
    margin: 5vw 0 0 0;
  }
  #mf3 {
    padding: 10vw 0 15vw;
  }
  #mf3 figure {
    width: 100%;
    padding-top: 10vh;
  }
  #mf3 figure a {
    display: block;
    width: 100%;
    height: 28vh;
    background: url("../img/top/mf3.jpg") right center / cover no-repeat;
  }
  #mf3 figure img {
    display: none;
  }
  #mf3 .cbox {
    width: 48vw;
  }
}

@media screen and (max-width: 768px) {
  #mainvis {
    background: url("../img/top/mvs-min.jpg") center center / cover no-repeat;
  }
  #header p a {
    color: #fff !important;
  }
  #mainvis p.copy {
    font-size: 4.5vw;
    left: 5vw;
    bottom: 10vw;
  }
  #mf1 .cbox li {
    width: 100%;
    margin: 5vw auto;
  }
  #mf2 .mf-inner {
    padding: 5vw 0vw 15vw 0;
  }
  #mf2 figure {
    width: 100%;
  }
  #mf3 h2 {margin-top: 1em;}
}

@media screen and (max-width: 540px) {
  body {
    font-size: 3.4vw;
    line-height: 1.5;
  }
  #mainvis p.copy {
    font-size: 6.7vw;
    left: 5vw;
    top: 35vw;
    text-shadow: none;
    line-height: 1.4;
  }
  #mainvis p.copy .t_07 {
    font-size: .5em;
    line-height: 1.4;
  }
  #mf1 .cbox li {
    width: 100%;
    margin: 3vw auto 10vw;
    float: none;
  }
  #mf1 .cbox li h3 {
    font-size: 4.5vw;
  }
  
  #mf2 .sub {
    font-size: 3.8vw;
    margin-top: 10vw;
  }
  #mf2 figure {
    width: 100%;
  }
  #mf3 figure a {
    display: block;
    width: 100%;
    height: 20vh;
    background: url(../img/top/mf3.jpg) center center / cover no-repeat;
  }
  #mf4 .mf-inner {
    padding: 10vw 0;
  }
  
}

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

}