body{
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  font-family: Sawarabi -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
ul{
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
}
header{
  height: 450px;
  background-image: url(../img/more-logo.png);
  background-size: cover;
  margin-bottom: 50px;
  margin-top: 10vh;
}
.icon{
  display: none;
}
nav{
  height: 10vh;
  line-height: 10vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: space-between;
  z-index: 100;
}
p{
  font-size: 18px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: 3px;
}
h1{
  line-height: 10vh;
  padding-left: 80px;
  font-weight: bold;
  font-size: 20px;
}
.nav li{
  padding: 0;
  margin: 0 4vh;
}
a{
  color: black;
  text-decoration: none;
  display: block;
  font-weight: bold;
}
a:hover{
  opacity: .8;
  color: black;
}


h2{
  text-align: center;
  letter-spacing: 10px;
  padding: 50px 0;
  font-weight: bold;
  font-size: xx-large;
}

h3{
  letter-spacing: 3px;
}
.wrapper{
  padding: 80px 0;
  opacity: 0;
  transition: 2s;
}
.wrapper.fade{
  opacity: 1;
}

h3{
  padding: 30px 0;
  font-weight: bold;
  letter-spacing: 5px;
}
h4{
  padding: 0 0 15px 0;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.8);
}
.greeding small{
  text-align: left;
  font-size: 17px;
  margin-top: 30px;
}
.enkaku{
  margin-top: 70px;
}
th{
  text-align: center;
}
.jigyou{
  background-color: rgb(0, 0, 0);
  color: white;
}
th{
  line-height: 10vh;
  width: 30%;
}
.rinen{
  padding-top: 50px;
}

.jigyou h4{
  padding-top: 50px;
  padding-bottom: 10px;
  margin-bottom: 30px;
  border-bottom: 1px solid white;
}


.jiturei{
  padding-bottom: 50px;
}

.tenpo-box{
  margin: 0 20px;
  text-align: center;
  background-color: white;
  transition: .3s;
  border-radius: 10px;
  border: .7px solid rgba(0, 0, 0, 0.425);
  position: relative;
  z-index: 1;
}
.tenpo-box:hover{
  box-shadow: 0 0 8px gray;
}
.jiturei a:hover{
  opacity: 1;
}
.tenpo-box img{
  height: 400px;
  width: 100%;
  border-radius: 10px;
}
.tenpo-box h4{
  border: none;
  padding: 15px;
  font-weight: bold;
  letter-spacing: 5px;
  box-shadow: 0 0 8px gray;
  background-color: white;
  border-radius: 5px;
  width: 50%;
  margin: 0 auto;
  position: absolute;
  top: 70%;
  left: 25%;
}
.tenpo-box h5{
  letter-spacing: 7px;
  font-size: 18px;
  padding: 20px 0;
  margin-top: 70px;
  font-weight: bold;
}
.saiji img{
  display: block;
  width: 85%;
  margin: 10px auto;
}
.saiji p{
  font-weight: bold;
  line-height: 43px;
  padding-top: 20px;
}
.saiyou h3{
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 8px;
  text-align: center;
}
.saiyou table{
  font-size: 17px;
}
.contact{
  background-color: rgb(0, 0, 0);
  color: white;
}
.contact p{
  font-weight: bold;
  text-align: center;
  line-height: 50px;
}
.contact a{
  color: white;
  line-height: 50px;
  display: inline-block;
}
.footer-nav{
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  background-color: rgb(255, 255, 255);
  padding: 50px 100px;
}
.footer-nav a{
  color: black;
}
.ul{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding:  5px;
  font-size: 14px;
}
.ul li{
  padding: 10px 0;
}
.footer{
  text-align: right;
  padding: 30px 10px 20px 0;
  background-color: black;
  color: white;
}

@media screen and (max-width:1350px){
  header{
    height: 430px;
  }
}

@media screen and (max-width:1280px) {
  header{
    height: 395px;
  }
}

@media screen and (max-width:1230px){
  header{
    height: 385px;
  }
}

@media screen and (max-width:1160px){
  header{
    height: 350px;
  }
}

@media screen and (max-width:1060px){
  header{
    height: 330px;
  }
  .nav li{
    margin: 0 2vh;
  }
}

@media screen and (max-width:900px){

  header{
    height: 260px;
  }
  nav h1{
    padding-left: 20px;
  }

  .tenpo-box img{
    height: 300px;
  }
  .tenpo-box h4{
    top: 60%;
  }

}



@media screen and (max-width:850px){

  .wrapper{
    padding: 40px 0;
  }

  header{
    height: 255px;
  }
  nav h1{
    padding-left: 15px;
  }
  ul{
    align-items: flex-start;
    justify-content: flex-start;
  }
  .res-nav{
    position: fixed;
    top: 0;
    width: 90vh;  
    left: 5000px;
    background-color: white;
    height: 100vh;
    transition: .6s ease-in-out;

    display: flex;
    flex-direction: column;
  }
  .res-nav-open{
    left: 30px;
    transition: .6s ease-in-out;
    padding-top: 10vh;
  }
  .nav li{
    border-bottom: 1px solid rgba(0, 0, 0, 0.6);
    margin-bottom: 50px;
    width: 30vh;
  }
  .icon{
    display: block;
    position: fixed;
    top: 0;
    right: 20px;
    z-index: 200;
    transition: .5s;
  }
  .batu{
    display: none;
  }
  .icon img{
    width: 40px;
    height: 40px;
  }
  .icon img:hover{
    cursor: pointer;
  }
  .batu{
    margin-top: 15px;
  }
  .open{
    display: block;
  }
  .close{
    display: none;
  }


  td{
    font-size: 14px;
  }

  p{
    font-size: 14px;
    line-height: 35px;
  }
  .tenpo-box{
    margin-bottom: 60px;
  }
  .tenpo-box img{
    height: 280px;
  }
  .tenpo-box h4{
    top: 63%;
  }
  .saiyou h3{
    font-size: 10px;
    letter-spacing: 5px;
  }
  .saiyou table{
    font-size: 12px;
  }
  .res-img{
    display: none;
  }
  .footer-nav{
    flex-direction: column;
    padding: 50px 10px;
  }
  .saiji{
    width: 90%;
    margin: 0 auto;
  }
  .saiji img{
    width: 100%;
  }
  .footer-nav li{
    padding: 20px;
  }
  .ul{
    flex-direction: row;
    justify-content: space-around;
  }
  .ul li{
    padding: 7px 7px;
  }
}

@media screen and (max-width:780px){
  header{
    height: 240px;
  }
}

@media screen and (max-width:700px){
  header{
    height: 210px;
  }
}

@media screen and (max-width:450px){
  header{
    height: 133px;
  }
}
@media screen and (max-width:400px){
  header{
    height: 125px;
  }
}

@media screen and (max-width:380px){
  header{
    height: 118px;
  }
}