@media screen and (min-width:768px) { 
    .sp {
      display:none;
    }
  }

@media screen and (max-width:768px) { 
    .pc {
      display:none;
    }
  }



body{
    background-color: black;
    color: #fff;
    font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

p{
  font-size: 1.3rem;
}

.text-center{
  text-align: center;
}

.half{
  display: flex;
}

.half>div{
  width: 50%;
  padding: 0 1rem;
}

.half p{
  padding: 0 5rem;
  margin: 2rem 0;
}


ul.horizontal-list {
	overflow-x: auto;
	white-space: nowrap;
  direction: rtl; 

}
li.item {
	display: inline-block;
	margin: 20px 0;
}	


.kakko {
  position: relative;
  padding: 1em 2em;
  text-align: center;
  margin-top: 5rem;
}

.kakko:before,
.kakko:after {
  position: absolute;
  content: '';
}

.kakko:after {
  top: 0;
  left: 10%;
  width: 50px;
  height: 50px;
  border-top: 1px solid white;
  border-left: 1px solid white;
}

.kakko:before {
  right: 10%;
  bottom: 0;
  width: 50px;
  height: 50px;
  border-right: 1px solid white;
  border-bottom: 1px solid white;
}

#yoyaku p{
  color: white;
  padding: 0 3%;
}

.moji p{
  color: white;
  text-align: center;
  margin-top: 2rem;
}


/*まずはお決まりのボックスサイズ算出をborer-boxに */
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}
a.btn-flat {
  overflow: hidden;
  color: #fff;
  border-radius: 0;
  background: #000;
  margin: 3rem 1rem 5rem 1rem;
  border-color: #a50000;
}

a.btn-flat span {
  position: relative;
}

a.btn-flat:before {
  position: absolute;
  top: 0;
  left: 30px;
  width: 400px;
  height: 500%;
  content: '';
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  -webkit-transform: translateX(-98%) translateY(-70%) rotate(135deg);
  transform: translateX(-98%) translateY(-70%) rotate(135deg);
  background: #a50000;
}

a.btn-flat:hover:before {
  -webkit-transform: translateX(-9%) translateY(-25%) rotate(135deg);
  transform: translateX(-9%) translateY(-25%) rotate(135deg);
}


/*ここから追加動画 */

/* kv */
.kv{
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.kv .main-copy{
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  letter-spacing: .2em;
}

.kv .sub-copy{
  color: #fff;
  font-size: 20px;
  text-align: center;
}

/* video */
.video{
  width: 100%;
  height: 100vh;
  background: url(../img/top.png) no-repeat center/cover;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
}

.video::after{
  content: '';
  width: 100%;
  height: 100%;
  background-color: #10394b;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  opacity: .3;
}

.video video{
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

@media screen and (min-width: 768px) {
  /* kv */
  .kv{
    min-width: 960px;
  }

  .kv .main-copy{
    font-size: 60px;
  }

  .kv .sub-copy{
    font-size: 30px;
  }

  /* video */
  .video{
    min-width: 960px;
  }
}


#navbar {
  background-color: rgba(0,0,0,0.7);
  display: flex;
}

.logo {
  margin: 5px;
}
.menu {
  margin:3rem auto 0;
  font-size: 120%;
}

.menu ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 5px;
}

.menu ul li{
  padding: 10px;
}

.menu ul li a{
  color: #fff;
  text-decoration: none;
}


#navbar ul {
  display: flex;
  list-style: none;
  margin: 5px;
}

#navbar ul li{
  padding: 10px;
}

#navbar ul li a{
  color: #fff;
  text-decoration: none;
}

.tile{
    display:flex;
    flex-wrap:wrap;
    list-style:none;
    margin: 0;
    padding: 0;
  }
  .tile li{
    width:33.333%;
    margin: 0;
    padding: 0;
  }
  .tile img{
    max-width:100%;
    height:auto;
      object-fit:cover;
      width:33.333vw;
      height:33.333vw;
    }


    .naname {
      text-align: center;
      margin-right: 200px;
      margin-left: 200px;
      padding: 1rem 3rem;
      -webkit-transform: skew(-15deg);
      transform: skew(-15deg);
      color: #fff;
      background-image: -webkit-gradient(linear, left top, right top, from(#a50000), to(#ff3636));
      background-image: -webkit-linear-gradient(left, #a50000 0%, #ff3636 100%);
      background-image: linear-gradient(to right, #a50000 0%, #ff3636 100%);
    }


    .one {
      margin: 3rem 7rem 1rem;
      text-align: center;
      border-bottom: 3px solid #fff;
     }
     
     .one span {
      font-size: 5rem;
      color: #a50000;
      font-style: italic;
      padding-right: 1rem;
    }

     .two {
      margin: 3rem 7rem 1rem;
      text-align: center;
      border-bottom: 3px solid #fff;
     }
     
     .two span {
       font-size: 5rem;
       color: #a50000;
       font-style: italic;
       padding-right: 1rem;
     }

     .three {
      margin: 3rem 25rem 1rem;
      text-align: center;
      border-bottom: 3px solid #fff;
     }
     
     .three span {
       font-size: 5rem;
       color: #a50000;
       font-style: italic;
       padding-right: 1rem;
     }

     .threeimg{
      width: 50%;
    }


     table{
      max-width: 960px;
      margin: 0 auto;
      border-collapse: collapse;
    }
    
    table tr{
      border-bottom: solid 2px white;
    }
    
    table tr:last-child{
      border-bottom: none;
    }
    
    table th{
      position: relative;
      text-align: left;
      width: 30%;
      background-color: #a50000;
      color: white;
      text-align: center;
      padding: 15px 0;
    }
    
    table th:after{
      display: block;
      content: "";
      width: 0px;
      height: 0px;
      position: absolute;
      top:calc(50% - 10px);
      right:-10px;
      border-left: 10px solid #a50000;
      border-top: 10px solid transparent;
      border-bottom: 10px solid transparent;
    }
    
    table td{
      text-align: left;
      width: 70%;
      text-align: center;
      padding: 20px;
    }

    .pcmgb10{
      margin-bottom: 10rem;
    }

    .pcmg5pd2{
      padding: 0 5rem;
      margin: 2rem 0;
    }

    #click {
      display: block;
      position: fixed;
      width: 150px;
      bottom: 10px;
      right: 10px;
      z-index: 9999;
  }

    .reverse{
      background-color: #fff;
      color: #000;
      padding: 1rem 0;
    }

    .reverse .kakko:before {
      border-right: 1px solid black;
      border-bottom: 1px solid black;
  }
    .reverse .kakko::after {
      border-left: 1px solid black;
      border-top: 1px solid black;
  }



  .qa span{
    color: #c49931;
    font-size: 120%;
    padding-right: 0.5rem;
  }

  .midashi{
    width: 100%;
  }

  .midashi50{
    width: 50%;
  }


@media screen and (max-width: 480px) {

  #navbar {
    background-color: rgba(0,0,0,0.7);
    display: block;
    }

    .half{
      display: block;
    }
    
    .half>div{
      width: 100%;
    }

    .naname {
      width: 90%;
      font-size: 1.2rem;
      display: block;
      margin: 0 auto 2rem;
      padding: 1rem 0;
    }

    p {
      font-size: 1rem;
      padding: 0 1rem;
     }

     .logo {
      margin: 0;
      text-align: center;
  }
    .logo img{
      height: 50px;
    }

  .menu {
    font-size: 80%;
    }

    .menu ul {
     margin: 0 0 0 -50px;
    }

    .kv .main-copy {
      font-size: 25px;
    }

    .one, .two, .three {
      margin: 0;
      margin-bottom: 1rem;
      border-bottom: none;
     }

    .one span, .two span, .three span {
      padding: 0;
      display: block;
      font-size: 3rem;
    }

    .threeimg{
      width: 94%;
    }

    .half p{
      padding: 0 1rem;
    }



    .half>div{
      padding: 0;
    }

    .qa{
      padding: 0 1rem;
      font-size: 0.9rem;
    }

    .qap{
      font-size: 0.8rem;
    }


    table{
      width: 95%;
      margin-top: 5rem;
      font-size: 0.8rem;
    }

    .law{
      font-size: 1rem;
    }



    .spmg0{
      margin: 0;
    }

    .spmgb5{
      margin-bottom: 5rem;
    }

    .spmgtb3{
      margin: 3rem 0;
    }

    .pcmg5pd2{
      padding: 0 1rem;
    }


    #click {
      width: 25%;
  }

  .midashi, .midashi50{
    width: 90%;
  }

  .video{
    background: url(../img/topsp.png) no-repeat center/cover;
  }


a.link{
  margin: 0rem 0rem 2rem 0rem;
  width: 80%;
}



}