@charset "UTF-8"

html {
  font-size: 100%;
}
body {
  margin: 0;
  font-family: 'EB Garamond', "courier", "arial-black",'Zen Maru Gothic', "MS 明朝", "ヒラギノ角ゴ　Pro W3" ;
}

.wrapper {
  margin: 0 auto;
  width: 100%;


}
img {
}

/* ヘッダーメニュー　*/

.list > .top a{
  color: gold;
}

.list a {
  text-decoration: ;
  color: #006662;
}
.list a:hover {
  color: brown;
}

/* タイトル、ヘッダーメニュー、イメージ部分　*/

.logo-title {
  background-image: url(../images/DSC_0099.JPG);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px;
  margin-top: 0;
  margin-bottom: 0;


}

header {
  background:rgba(0, 102, 98,.5);
  height: 150px;
  margin: 10px 50px 0px 50px;
  padding-top: 10px;
  text-align: center;
}


.logo {
  color: white;
  font-size: 40px;
  border-bottom: 2px solid;
  margin: 20px 0 0 0;
  padding: 0px;
}
.sublogo {
  color: white;
  font-size: 25px;
  border-bottom: 2px solid;
  margin: 0;
  padding: 0x;
}

nav {
}
.list {
  display: flex;
  list-style: none;
  font-size: 30px;
  margin: 0;
  justify-content: center;
  padding: 0;



}
.list li {
  margin: 0px 30px 0px 30px;

}

/*　メニュー部分　*/

.main {
  margin-top: ;
  height: 350px;
  border-bottom: 2px solid #006662;
  border-top: 2px solid #006662;
  padding: 20px 1rem 10px 1rem;
  background-image: url(../images/header.png);
  background-size: cover;
  background-position: center;

}


h2 {
  text-align: center;
  font-size: 40px;
  margin: 0px 0px 40px 0px;



}

/* メニューボタン部分　*/

.grid {
  margin-top: 0px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;


}

.menu {
  height: 40px;
  font-size: 30px;
  text-align: center;
  background:rgba(0, 102, 98);
  padding: 20px 0px 40px 0px;
  margin: 0px 5px 10px 5px;
  border: double 3px #006662;
  line-height: 1em;
  background: linear-gradient(#006662,#eae8e1);
  position: relative;

}
.menu p {
  border-top: 1px solid white;
  margin: 0;
  padding: 15px 0px 10px 0px;

}

.grid a {
  text-decoration: none;
  color: white;
}
.menu:hover {
  color: ;
  text-shadow: 2px 2px 2px #000, 3px 3px 3px #000;
  background:rgba(174,228,226);
}

/*　----ホップアニメーション----   */

#hop {
  padding: 0;
  margin: 0;
  font-size: 20px;
  position: absolute;
  top: 15px;
  left: 0.5em;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: none;
}
#hop p {
  border: unset;
  padding: 0;
  margin: 0;
}
#hop {
  animation: hop 3s infinite;
  opacity: 1;
}
@keyframes hop {
  0%, 40% {
    transform: skew(0deg, 0deg);
    color: yellow;
  }
  5% {
    transform: skew(5deg, 5deg);
  }
  10% {
    transform: skew(-4deg, -4deg);
  }
  15% {
    transform: skew(3deg, 3deg);
  }
  20% {
    transform: skew(-2deg, -2deg);
    color: #ffa500;
  }
  25% {
    transform: skew(1deg, 1deg);
  }
  30% {
    transform: skew(-0.6deg, -0.6deg);
  }
  35% {
    transform: skew(0.3deg, 0.3deg);
  }
  60% {
    color: #ffa500;
  }
  80% {
    color: yellow;
  }
}

/* -----ホップのon/off----- */

.news {
  display: none;
}
.about {
  display: none;
}
.staff {
  display: none;
}
.lesson {
  display: none;
}
.event {
  display: ;
}
.blog {
  display: ;
}
.result {
  display: ;
}
.access {
  display: none;
}

/* フッター部分　*/

footer {

  padding: 0;
  margin: 0;
  text-align: center;
  background-color: #eae8e1;
  background-size: cover;

}
footer p {
  padding: 0;
  margin: 0;
  color: #006662;
}
footer h3 {
  padding: 0;
  margin: 0;
  color: #006662;
}
.copyright {
  font-size: 13px;
}

/* 携帯画面　*/

@media (max-width: 930px) {
  .main {
    height: 580px;
  }


  .grid {

    grid-template-columns: 1fr 1fr;
    gap: 3px;
  }

  #hop {
    font-size: 25px;
  }
}


@media (max-width: 700px) {
  header {
    margin: 0px;
    height: 100px;
  }
  .logo-title {
    height: 300px;
  }
  .logo {
    font-size: 25px;
    margin-top: 10px;
  }
  .sublogo {
    font-size: 20px;
  }
  .list {
    font-size: 1.8rem;
    padding: 0;
  }
  .list li{
    margin: 0px 10px 0px 10px;
    padding: 0px;
  }
  h2 {
    font-size: 30px;
  }
  .grid {

    grid-template-columns: 1fr 1fr;
    gap: 3px;
  }
  .main {
    height: 440px;
    padding-top: 30px;
  }
  .menu {
    font-size: 20px;
    margin: 0 10px 10px 10px;
    padding: 10px 0 20px 0px;
  }
  #hop {
    font-size: 17px;
    top: 7px;
  }
  footer p {
    font-size: 13px;
  }
  footer h3 {
    font-size: 15px;
  }
}
