@import url("reset.css");
* {
    box-sizing:border-box;
    margin: 0;
    padding: 0;
}

img{
  display: block;
}


.kv {
  position: relative;
  text-align: center;
  padding-top: 60px;
}

.kv_img{
  width: 100%;
  text-align: center;
  background-image: url("../img/kv.svg");
  background-size:cover; 
  background-repeat: no-repeat;
  padding-top: 20%;
  background-position: center; 
}

.kv .text {
  max-width: 900px;
  width: 100%;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  letter-spacing: 2px;
}

.kv .text h1{
  padding-top: 20%;
  font-family: sans-serif;
  font-size: 35px;
  line-height: 85px;
  letter-spacing: 4px;
  font-weight: bold;
  color: #00a19b;
  text-align: center;
}

.kv .text p{
  text-align: center;
  font-size: 16px;
  line-height: 25px;
  padding-top: 20px;
}

main{
  width: 100%;
  height: auto;
  overflow: hidden;
}

main > table{
  max-width: 900px;
  margin: 10px auto 100px auto;
}

.baseTable {
  font-size: 1rem;
  border-left: solid 1px #d9d9d9;
  border-right: solid 1px #d9d9d9;
  width: 100%;
}

.baseTable th {
  background: #00a19b;
  color: #ffffff;
  font-weight: bold;
  padding: 0.375rem;
  border-right: solid 1px #ffffff;
  text-align: center;
}

.baseTable th:first-child {
  border-left: solid 1px #00a19b;
}

.baseTable th:last-child {
  border-right: solid 1px #00a19b;
}

.baseTable td {
  border-left: solid 1px #d9d9d9;
  border-bottom: solid 1px #d9d9d9;
  padding: 0.375rem;
}

.baseTable td:last-child{
  text-align: right;
}


/*--pc--------------------------------------------------------------------*/
@media (max-width: 1100px) {
  main > div, section > div{
    width: 90%;
  }

  section > img{
    border-radius: 0px;
    margin: 50px auto 0 auto;
  }

  aside > div{
    width: 90%;
  }


}

/*--pad--------------------------------------------------------------------*/
@media (max-width: 920px) {
  section{
    padding: 50px 0 0 0;
  }

  .flex_three > .three_box > div{
    height: 200px;
  }

  main > .baseTable{
    width: 90%;
  }

}

/*--ipad--------------------------------------------------------------------*/
@media (max-width: 768px) {
  .kv_img{
    padding-top:50%; 
    padding-bottom: 10%;
  }

  .kv .text { 
    width: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .kv .text h1{
    font-size: 28px;
    line-height: 45px;
  }

  .kv .text p{
    padding-top: 30px;
    font-size: 15px;
    line-height: 25px;
  }
}

/*--phone--------------------------------------------------------------------*/
@media (max-width: 540px) {
  h2{
    padding-bottom: 20px;
  }

  .kv_img{
    width: 100%;
    padding-top: 75%;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .kv .text {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
  }

  .kv .text h1{
    font-size: 32px;
    line-height: 48px;
  }

  .baseTable th{
    font-size: 14px;
    padding: 10px 5px;
  }

  .baseTable th:first-child{
    width: 20%;
  }

  .baseTable td{
    font-size: 14px;
    padding: 10px 5px;
  }
}

/*--iphone se--------------------------------------------------------------------*/
@media (max-width: 320px) {
  .kv .text h1{
    font-size: 24px;
    line-height: 40px;
    font-weight: bold;
  }

}
.first{
  width: 8%;
}
