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

img{
  display: block;
}

/*--kv--------------------------------------------------------------------*/
.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; 
  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;
}

/*--table--------------------------------------------------------------------*/
main > div{
  max-width: 900px;
  margin: 0 auto 100px auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #ddd;
  font-size: 15px;
  text-align: center;
}

th, td {
  padding: 8px;
  border: 1px solid #ddd;
}

tr:first-child{
  background-color: #00a19b;
  color: #fff;
}

tr:nth-child(even){
  background-color: #f2f2f2
}

/*--pc--------------------------------------------------------------------*/
@media (max-width: 1100px) {

}

/*--pad--------------------------------------------------------------------*/
@media (max-width: 920px) {
  
}

/*--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: 100%;
    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;
  }

  main > div{
    overflow-x: auto;
    width: 95%;
  }

  table {
    width: 700px;
    font-size: 14px;
  }
}

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

  table {
    width: 500px;
    font-size: 12px;
  }
}
