@charset "utf-8";

/*-------------------- MV */
#mv {
  position: relative;
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  overflow: hidden;
}
#mv h1 {
  font-size: 48px;
  font-weight: 600;
  position: absolute;
  top: 2vw;
  right: 10%;
}
#mv .ibox {
  width: 65%;
  margin: 3vw 10% 0 auto;
}
#mv .cbox {
  font-size: 28px;
  position: absolute;
  bottom: 5vw;
  left: 10%;
}
#mv .cbox .btn {
  display: block;
  width: 300px;
  margin: .5em 0 0 0;
}

@keyframes sactive {
  0% {
    right: 100%;
  }
  100% {
    right: 0
  }
}

#mainvis .logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
#mainvis .logo img {
  width: 288px;
}

/*-------------------- pankuzu */
#pankuzu {
  display: none;
}

/*-------------------- contents */
.sticky {
  width: 100%;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}
h2 {
  margin: 0 0 .5em;
  font-size: 24px;
}

/*-------------------- mf1 */
#mf1 .cbox {
  position: relative;
}
#mf1 .cbox figure {
  width: 720px;
  margin: 3vw 0 3vw auto;
  position: relative;
  z-index: 0;
}
#mf1 .cbox .cboxs {
  background: #fff;
  width: 850px;
  padding: 3em 1.5em;
  position: absolute;
  top: 3vw;
  right: 400px;
}
#mf1 .cbox h2 {
  position: relative;
}
#mf1 .cbox h2:before {
  content: "";
  display: block;
  width: 2px;
  height: 3.5em;
  background: #000;
  position: absolute;
  top: 0;
  left: -1em;
}
#mf1 .ttl {
  width: 50vw;
  position: absolute;
  bottom: 2vw;
  left: 5vw;
}

/*-------------------- mf2 */
#mf2 {
  background: #000;
}
#mf2 h2 {
  font-size: 36px;
}
#mf2 .ttl {
  width: 40vw;
  position: absolute;
  top: 6vw;
  right: 5vw;
}
#mf2 .wrapper {
  position: relative;
}
#mf2 .container {
  margin: 3vw 0 0;
  width: 500px;
  height: 600px;
  overflow: hidden;
  position: relative;
}
#mf2 .container:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0, .5);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

#mf2 video {
  position: absolute;
  top: -50px;
  left: -300px;
  height: 600px;
}
#mf2 .wbox {
  width: 52vw;
  position: absolute;
  top: 7vw;
  right: 0;
}
#mf2 .cbox {
  background: #fff;
  padding: 1em 2em;
  margin: 0 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;
}
#mf2 .cbox figure {
  width: 5%;
  margin-right: 3%;
}
#mf2 .cbox .cboxs {
  width: 92%;
}

/*-------------------- mf3 */
#mf3 h2 {
  font-size: 36px;
  margin-top: 10vw;
}
#mf3 .ttl {
  width: 40vw;
  position: absolute;
  top: 6vw;
  left: 5vw;
}
#mf3 .cbox {
  padding: 2em;
}
#mf3 .cbox h3 {
  font-size: 26px;
}
#mf3 .cbox figure {
  width: 6em;
  margin-bottom: 10px;
}
#mf3 .cbox.one {
  width: 30%;
  margin-right: 3%;
  background: #b2b2b2;
}
#mf3 .cbox.one h3 {
  margin-bottom: 1.4em;
}
#mf3 .wrapper_s {
  width: 67%;
}
#mf3 .cbox.two {
  background: #9d9d9d;
  margin: 0 0 20px;
}
#mf3 .cbox.three {
  background: #7a7b7b;
}

/*-------------------- mf4 */
#mf4 {
  background: #000;
  padding-bottom: 10vw;
}
#mf4 h2 {
  font-size: 36px;
}
#mf4 .ttl {
  width: 40vw;
  position: absolute;
  top: 6vw;
  right: 5vw;
}
#mf4 .wrapper {
  position: relative;
}
#mf4 .container {
  margin: 3vw 0 0;
  width: 500px;
  height: 600px;
  overflow: hidden;
  position: relative;
}
#mf4 .container:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0, .5);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

#mf4 video {
  position: absolute;
  top: -50px;
  left: -300px;
  height: 600px;
}
#mf4 .wbox {
  width: 52vw;
  position: absolute;
  top: 7vw;
  right: 0;
}
#mf4 .cbox {
  background: #fff;
  padding: 1em 2em;
  font-size: 1.1em;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100;
}
#mf4 .cbox .num {
  margin-right: 1em;
  font-size: 1.3em;
}

#mf4 .cbox.two {
  background: #f2f2f2;
}
#mf4 .cbox.three {
  background: #e3e3e2;
}
#mf4 .cbox.four {
  background: #d1d1d1;
}
#mf4 .cbox.five {
  background: #b5b5b5;
}




/*-------------------- form */
#contact h2 {
  margin: .8em 0 0;
  font-size: 36px;
}

#contact h2:after {
  content: "";
  display: block;
  width: 1px;
  height: 1em;
  background: #616161;
  margin: .5em 0 .5em 2em;
}
#contact figure {
  position: absolute;
  right: 0;
  top: 0;
}
#contact dt {
  width: 20em;
  text-align: right;
  float: left;
  clear: both;
  padding: 8px 0;
  margin-right: 1.5em;
}
#contact dd {
  padding: 7px 0;
}
#contact input[type=text] {
  width: 490px;
  padding: 3px .7em;
  border: 1px solid #f2f2f2;
  background: #f2f2f2;
}
#contact  textarea {
  width: 490px;
  height: 120px;
  padding: 3px .7em;
  border: 1px solid #f2f2f2;
  background: #f2f2f2;
  resize: vertical;
}
#contact input[type=text]::placeholder,
#contact textarea::placeholder{
  color: #999;
}
#contact .consent_area {
  margin: 10px 0 0 13em;
}
#contact .consent_area a {
  color:cadetblue;
  text-decoration: underline;
}
#contact .consent_area input[type=checkbox] {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
#contact .consent_area input[type="checkbox"] {
    cursor: pointer;
    padding-left: 30px;/*label手前にチェックボックス用の余白を開ける*/
    vertical-align: middle;
    position: relative;
  }
#contact .consent_area input[type="checkbox"]::before,
#contact .consent_area input[type="checkbox"]::after {
    content: "";
    display: block; 
    position: absolute;
  }
#contact .consent_area input[type="checkbox"]::before {
    background-color: #fff;
    border-radius: 0%;
    border: 1px solid #616161;
    width: 20px;/*チェックボックスの横幅*/
    height: 20px;/*チェックボックスの縦幅*/
    transform: translateY(-50%);
    top: 50%;
    left: 5px;
  }
#contact .consent_area input[type="checkbox"]::after {
    border-bottom: 3px solid #616161;/*チェックの太さ*/
    border-left: 3px solid #616161;/*チェックの太さ*/
    opacity: 0;/*チェック前は非表示*/
    height: 6px;/*チェックの高さ*/
    width: 11px;/*チェックの横幅*/
    transform: rotate(-45deg);
    top: -4px;/*チェック時の位置調整*/
    left: 10px;/*チェック時の位置調整*/
  }
#contact .consent_area input[type="checkbox"]:checked::after {
    opacity: 1;/*チェック後表示*/
  }
#contact input[type=submit] {
  display: block;
  width: fit-content;
  width: -moz-fit-content;
  margin: 60px auto 100px 22em;
  padding: .8em 2em;
  background: #000;
  color: #fff;
  font-size: 22px;
  letter-spacing: .1em;
  cursor: pointer;
}

footer {
  background: #000;
  padding: 2em 0 20px;
}
footer .name {
  font-size: 24px;
}
footer .copy {
  font-size: 14px;
  margin-top: 40px;
}
footer a:link, footer a:active, footer a:visited {
  display: block;
  color: #fff !important;
  text-decoration: underline;
  margin-top: .5em;
}

@media screen and (max-width: 1400px) {
  #mf1 .cbox .cboxs {
    right: 320px;
  }
  #mf2 .wbox {
    width: 60vw;
    left: 35%;
  }
  #mf4 .wbox {
    width: 60vw;
    left: 35%;
  }
}

@media screen and (max-width: 1200px) {
  #mv {
    height: auto;
  }
  #mv .ibox {
    width: 70%;
    margin: 8vw 10% 3vw auto;
  }
  #mv .cbox {
    font-size: 2.4vw;
    bottom: 5vw;
    left: 5%;
  }
  #mf2 .wbox {
    width: 75vw;
    left: 15%;
    top: 22%;
  }
}

@media screen and (max-width: 1024px) {
  #mf1 .cbox figure {
    width: 70vw;
    margin-bottom: 10vw;
  }
  #mf1 .cbox .cboxs {
    width: 78vw;
    top: 5vw;
    left: 0;
    padding: 2em 1em;
  }
  #mf1 .ttl {
    width: 50vw;
    position: absolute;
    bottom: 9vw;
  }
  #mf2 .ttl {
    width: 40vw;
    position: absolute;
    top: 12vw;
    right: 3vw;
  }
  #mf3 .cbox.one {
    width: 34%;
    margin-right: 2%;
  }
  #mf3 .wrapper_s {
    width: 64%;
  }
  #mf4 .ttl {
    top: 12vw;
    right: 3vw;
  }
  #contact dl {
    margin-top: 2em;
  }
  #contact dt {
    width: 15em;
  }
  #contact input[type=submit] {
    margin: 2em auto 8vw 17em;
  }
}

@media screen and (max-width: 768px) {
  #mv h1 {
    font-size: 6vw;
  }
  #mv .ibox {width: 100%;}
  #mv .cbox {
    font-size: 4.6vw;
    line-height: 1.4;
    top: 50%;
  }
  #mv .cbox .btn {
    width: 45vw;
    margin: 1em 0 0 0;
  }
  #mf1 {
    padding-bottom: 15vw;
  }
  #mf2 .ttl {
    top: 18vw;
    right: 5vw;
  }
  #mf2 .container {
    margin: 10vw 0 0;
    width: 65%;
    height: 70vw;
  }
  #mf2 .wbox {
    width: 85vw;
    left: 3%;
    top: 15%;
  }
  #mf3 .ttl {
    top: 10vw;
  }
  #mf3 .cbox.one {
    width: 100%;
    margin: 0 auto 1em;
  }
  #mf3 .wrapper_s {
    width: 100%;
  }
  #mf4 .ttl {
    top: 20vw;
    right: 6vw;
  }
  #mf4 .container {
    margin: 15vw 0 0;
    width: 70%;
    height: 80vw;
  }
  #mf4 .wbox {
    width: 85vw;
    left: 3%;
    top: 10%;
  }
  #contact dt {
    width: auto;
    text-align: left;
    float: none;
  }
  #contact input[type=text],
  #contact textarea {
    width: 100%;
  }
  #contact input[type=submit] {
    margin: 2em auto;
    width: 40vw;
  }
}

@media screen and (max-width: 540px) {
  body {
    font-size: 3.4vw;
    line-height: 1.5;
  }
  #mainvis, #mainvis #bg {
    height: 100vh !important;
  }
  h2 {
    font-size: 5.5vw;
  }
  #mv h1 {
    top: 5vw;
    right: 5vw;
  }
  #mv .cbox {
    top: 60%;
  }
  #mv .cbox .btn {
    width: 55vw;
  }
  #mf1 .cbox figure {
    width: 80vw;
    margin-bottom: 110vw;
  }
  #mf1 .cbox .cboxs {
    top: 20vw;
  }
  #mf1 .ttl {
    width: 80vw;
    position: absolute;
    top: 5vw;
    bottom: auto;
  }
  #mf1 .cbox h2:before {
    height: 5.5em;
    left: -.7em;
  }
  #mf2 h2 {
    font-size: 7.6vw;
  }
  #mf2 .wbox {
    position: static;
    width: 90vw;
  }
  #mf2 .cbox figure {
    position: absolute;
    top: 1em;
    left: 1em;
    width: 1em;
    height: 1em;
  }
  #mf2 .two figure, #mf2 .three figure {
    top: 1.2em;
  }
  #mf2 .cbox {
    padding: 1em;
  }
  #mf2 .cbox .cboxs {
    width: 100%;
  }
  #mf2 .cbox .cboxs h3 {
    padding-left: 1.5em;
  }
  #mf2 .container {
    width: 100%;
  }
  #mf2 .ttl {
    top: 34vw;
    right: 5vw;
    width: 60vw;
    z-index: 100;
  }
  #mf3 .ttl {
    width: 58vw;
     top: 45vw;
    left: auto;
    right: 4vw;
  }
  #mf3 .cbox h3,
  #mf3 .cbox.one h3 {
    margin-bottom: 1em;
  }
  #mf4 .wbox {
    position: static;
    width: 90vw;
  }
  #mf4 .container {
    width: 100%;
    margin: 10vw 0 0;
    height: 65vw;
  }
  #mf4 .ttl {
    top: 38vw;
    right: 5vw;
    width: 60vw;
    z-index: 100;
  }
  #contact input[type="submit"] {
    width: 100%;
    font-size: 4.2vw;
    pointer-events: auto;
    z-index: 9999;
    touch-action: manipulation;
  }
  
}
