@charset "UTF-8";
/* CSS Document */

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img{
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

body{
  min-width: 1280px;
  color: #333;
  font-family: sans-serif;
  overflow-x: hidden;
}



.yoyaku{
  display: block;
  z-index: 999;
  position: fixed;
  right: 40px;
  bottom: 50px;
  width: 300px;
  transition-duration: 0.3s;
}
.yoyaku:hover{
  display: block;
  transition-duration: 0.3s;
  transform: translate(0, -20px);
  transform: scale(1.4,1.4);
  transform-origin: bottom ;
}

.container{
  width: 1080px;
  margin: 0 auto;
}

/*ヘッダー*/
.gloval-nav ul{
  list-style: none;
  display: flex;
}

.gloval-nav a{
  color: #41210f;
  text-decoration: none;
  display: block;
  padding: 20px;
}

.gloval-nav .gn-1 a:hover{
  border-radius: 999px;
  transition-duration: 0.2s;
  background-color:#FFF1C6 ;
}
.gloval-nav .gn-2 a:hover{
  border-radius: 999px;
  transition-duration: 0.2s;
  background-color:#FFD987 ;
}
.gloval-nav .gn-3 a:hover{
  border-radius: 999px;
  transition-duration: 0.2s;
  background-color: #ffcf51;
}
.gloval-nav .gn-4 a:hover{
  border-radius: 999px;
  transition-duration: 0.2s;
  background-color: #41210f;
  color: #fff;
  font-weight: bold;
}
.gloval-nav a:active{

}
header{
  background-image: url("../images/images/masu.gif");
}

.header-inner{
  display: flex;
  justify-content: space-between;
  height: 80px;
  align-items: center;
}

h1{
  width: 160px;
  line-height: 1;
}
/*ヘッダーここまで*/



/*①ファーストビュー*/
.first-view{
  width: 100%;
  height: 720px;  
  background-image: url("../images/images/1_02.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #ffcf51;
}

.content {
  animation: fadeIn 2s ease 1s 1 normal backwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/*①ここまで*/


/*②バナー三連*/
.banners {
  background-image: url("../images/images/masu.gif");
}

.banners ul{
  display: flex;
  width: auto;
}
.banners li{
  height: 160px;
  margin: 80px auto;
  list-style: none;
  justify-content: space-between;
}

.banners a:hover{
  display: block;
  transition-duration: 0.3s;
  box-shadow: 7px 7px 0 5px #BA7905;
  transform: translate(0, -5px);
}
/*②ここまで*/


/*③動画コーナー*/
.youtube{
  background-color: #ffcf51;
}

.youtube .container{
  display: flex;
  padding: 120px 0 ;
  justify-content: space-between;
}

.img a{
  display: block;
  width: 640px;
  height: 360px;
  background: url("../images/images/youtube.jpg");
}
.img a:hover{
  background: url("../images/images/hoba-ji.jpg");
}

.youtube-txt{
  background-color: #41210f;
  text-align: center;
  height: 360px;
}
.youtube-txt,h2,p{
  color: #fff;
  padding: 15px;
}
.youtube-txt a{
  display: block;
  width: 20em;
  padding: 0.8em 0;
  margin: 0 auto;
  background-color: #fff;
  color: #41210f;
  text-decoration: none;
  border-radius: 999px;
  text-align: center;
  transition-duration: 0.2s;
  font-weight: bold;
}
span{
  color: #ffcf51;
}

.youtube-txt a:hover{
  background-color: #ffcf51;
  color: #fff;
   transform: translate(0px,-5px);
  font-weight: bold;
}
.youtube-txt a:hover span{
  color: #fff;
  transform: translate(0px,-5px);
}
.youtube-txt a:active{
  background-color: #BA7905;
  color: #41210f;
}
.youtube-txt a:active span{
  color: #41210f;
}
/*③ここまで*/


/*④クイズ*/
.quiz{
  background-image: url("../images/images/kimasu.gif");
  height: 750px;
}
.quiz h2{
  color: #41210f;
  text-align: center;
  font-size: 50px;
  padding-top: 120px;
}

.quiz-box{
  display: flex;
  justify-content: space-between;
}

.quiz-box a{
  display: block;
  width: 7em;
  padding: 0.5em 0;
  margin: 0 auto;
  background-color: #ffcf51;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  text-align: center;
  font-size: 25px;
  font-weight: bold;
}
.quiz-box  a:hover{
  background-color: #BA7905;
  color: #fff;
  text-decoration: none;
}

.quiz-a a{
display: block;
  width: 10em;
  padding: 1em 0;
  margin: 0 auto;
  background-color: #41210f;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
}

.quiz-a  a:hover{
  background-color: #fff;
  color: #41210f;
  text-decoration: none;
  transition-duration: 0.3s;
  box-shadow: 7px 7px 0 5px #BA7905;
}
/*④ここまで*/

/*⑤取り組み*/
.slider-box{
  background-color: #ffcf51;
  padding-top: 120px;
  height: 830px;
}
.slider-box h2{
  font-size: 50px;
  text-align: center;
  padding-bottom: 80px;
}

.card{
  width: 560px;
  height: 420px;
  margin: 0 30px;
}
/*⑤取り組みここまで*/

/*⑥*/
.footer{
  background-image: url("../images/images/masu.gif");
  padding:30px; 
  height: 420px;
}

.footer h3{
width: 300px; 
 padding-top: 60px;
 margin: 0 auto;
}

.footer p{
  color: #41210F;
  font-size: 20px;
  text-align: center;

}
.footer ul{
  display: flex;
  width: 500px;
  margin: 0 auto;
}

.footer li{
  width: 60px;
  list-style: none;
  justify-content: space-between;
  margin: 0 auto;
}

.ins{
  transform: translate(0,-25px);
}
.face{
  transform: translate(0,-35px);
}

.you{
  transform: translate(0,80px);
  transform: scale(1.5,1.5);
}
.footer-logo{
  transform: translate(0,40px);
}

div.animation_box-1 {
  padding: 10px;
  width: 300px;
  margin-top: -1350px;
  animation: fadeIn 3s ease 11s 1 normal backwards;
}

div.animation_box-2 {
  padding: 10px;
  width: 200px;
  margin-top: -1180px;
  margin-left: 1010px;
  animation: fadeIn 3s ease 7s 1 normal backwards;
}

div.animation_box-2-1 {
  padding: 10px;
  width: 400px;
  margin-top: -1180px;
  margin-left: 900px;
  animation: fadeIn 3s ease 1s 1 normal backwards;
}

/*⑥ここまで*/

/*ギャラリー用*/
.slider-box p{
  font-size: 30px;
  text-align: center;
  padding: 50px 0;
}
.container h3{
  color: #fff;
  text-align: center;
  font-size: 40px;
}

