@charset "UTF-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&family=Noto+Serif+JP:wght@400;700&display=swap');



img{
	vertical-align:top;
	max-width: 100%;
	height: auto;
}
a img {
transition: 0.5s ;
}

a img:hover {
opacity: 0.7 ;
}
html {
	scroll-behavior: smooth;
}
body{
	font-size: 16px;
	line-height: 1.8;
	font-family: 'Noto Sans JP', sans-serif;
}

a:visited{
  color : #710000;
}
a:hover{
  color : #710000;
}
a{
	color: #710000;
  transition: color 0.3s;
	text-decoration: none;
}



section{
	padding: 80px 0;
}

h1{
	font-size: 26px;
	font-weight: normal;
	letter-spacing: 0.2em;
	font-family: 'Noto Serif JP', serif;
}
h2{
	color: #710000;
	font-size: 40px;
	font-family: 'Noto Serif JP', serif;
	font-weight: normal;
	letter-spacing: 0.2em;
	margin-bottom: 40px;
}

.c_red{
	color: #710000;
}

.flexbox{
	display: flex;
	align-items: center;
}

.t_c{
    text-align: center;
}


header{
	background-color: #710000;
	color: #fff;
    position: fixed;
    z-index: 999;
    width: 100%;
    font-family: 'Noto Serif JP', serif;
    padding: 10px 0;
}
header ul li a,
header ul li a:visited{
	color: #fff;
	
}
.h_con{
    font-size: 10px;
    text-align: center;
}
.h_tel{
    font-size: 18px;
    display: block;
    margin-top: -8px;
}
.h_nav{
    display: flex;
	align-items: center;
    justify-content: space-between;
}

.nav-pc ul{
 display: flex;
    align-items: center;
}
.nav-pc ul li{
  list-style: none;
  margin-left: 40px;
}
.nav-sp ul li{
  list-style: none;
    padding: 10px;
    border-bottom: 1px solid #fff;

}
.nav-sp a{
color: #fff;
}
.sp_con{
    text-align: center;
    margin-top: 10px;
}
.sp_con .h_tel{
    font-size: 26px;
    margin-top: -5px;
}
#nav-drawer {
  position: relative;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {
  display: inline-block;
  width: 30px;
  height: 22px;
  vertical-align: middle;
}

/*ハンバーガーの形をCSSで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 2px;/*線の太さ*/
  width: 25px;/*長さ*/
  border-radius: 3px;
  background: #fff;
  display: block;
  content: '';
  cursor: pointer;
}
#nav-open span:before {
  bottom: -8px;
}
#nav-open span:after {
  bottom: -16px;
}

/*閉じる用の薄黒箇所*/
#nav-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}

/*メニューの中身*/
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 90%;
  max-width: 330px;/*最大幅（お好みで調整を）*/
  height: 100%;
  background: #710000;
  transition: .3s ease-in-out;
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);
    padding: 20px;
}

/*チェックがついたら表示させる*/
#nav-input:checked ~ #nav-close {
  display: block;
  opacity: .5;
}

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

@media screen and (min-width:768px) {
   #nav-drawer {
     display:none;
   }
 }







.bg_kazari01{
	position: absolute;
    right: 0;
    margin-top: 3%;
    width: 302px;
}
.bg_kazari02{
	position: absolute;
    left: 0;
    margin-top: -28%;
    width: 365px;
}
.bg_kazari03{
	position: absolute;
    right: 0;
    margin-top: -15%;
    width: 299px;
}
.bg_kazari04{
	position: absolute;
    left: 0;
    margin-top: -12%;
    width: 414px;
}
.bg_kazari05{
	position: absolute;
    right: 0;
    margin-top: -18%;
    width: 326px;
}


.mainbox{
	position: relative;
	width: 100%;
}
.mainimg img{
	width: 100%;
	height: 90vh;
    object-fit: cover;
    object-position: left;
	
}
.maintext{
	position: absolute;
	top:20%;
    left:50%;
font-family: 'Noto Serif JP', serif;
    padding:0;
    margin:0;
	color: #fff;
	font-size: 22px;
}
.maintext h1{
	font-size: 50px;
	color: #000;
}

.con_btn{
	position: absolute;
	bottom:-6%;
    right:5%;
width: 22%;
    padding:0;
    margin:0;
    z-index: 100;
}

/* 教室について */
section.s01{
	background-color:#F7F4EB;
	text-align: center;
	font-family: 'Noto Serif JP', serif;
}

section.s02 h2{border-bottom: 1px solid #707070;
	padding-bottom: 20px;
	margin-bottom: 40px;

}

.jikan{
	background-color: #710000;
	color: #fff;
	padding: 10px 20px;
	text-align: center;
	margin-right: 20px;
}

/* 利用者の声 */
section.s07{
	padding: 40px 0;
}
.voice_wrap{
    display: flex;
    align-items: stretch;
}
.voice{
    background: #FFFBD1;
    padding: 30px;
    width: 30%;
    margin-right: 5%;
    display: flex;
    flex-direction: column;
    
}
.voice:nth-child(3){
    margin-right: 0%;
}
.voice_i{
    margin-top: auto;
}
.voice_i img {
     height: 100px;
    float: left;
    margin-top: 20px;
}
.voice_i span{
   float: right;
    font-size: 18px;
    margin-top: 50px;
}

/* アクセスマップ */
section.s03{
	text-align: center;
	padding: 80px 0 0px;
}
iframe{
vertical-align:bottom;
}
/* お問い合わせ */
section.s04{
	text-align: center;
	background-image: url("../img/index02.jpg");
	background-size: cover;
	color: #fff;
}
section.s04 h2{color: #fff;}

.tel{
	font-size: 40px;
	font-family: 'Noto Serif JP', serif;
	letter-spacing: 0.2em;
	margin-top: 20px;
}
.tel a{
color: #fff;
}
.boshu{
	font-size: 40px;
	color: #FFEB00;
	font-family: 'Noto Serif JP', serif;
	letter-spacing: 0.2em;
}
/* 指導者 */
section.s05{
	background-color:#F7F4EB;
}
section.s05 h2{text-align: center;}

.name{
	font-size: 30px;
}
/* 作品集 */
section.s06{
	text-align: center;
}

.content{
position: relative;
    display: -webkit-flex;
    display: flex;
    /* height: calc(100vw * .21); */
    overflow: hidden;
}
.content img{
    min-width: 200vw;
    height: 100%;
    will-change: transform;
}
.wrap {
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #fff;

}

.slideshow {
  display: flex;
  -webkit-animation: loop-slide 70s infinite linear 1s both;
  animation: loop-slide 70s infinite linear 1s both;
    margin-right: 20px;
}
@-webkit-keyframes loop-slide {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0%);
  }
}
@keyframes loop-slide {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0%);
  }
}
.wrap:hover .slideshow {
    animation-play-state: paused;
}



footer{background-color: #3B3B3B;
	padding: 15px 0;
	
}
.copy{
	font-size: 12px;
	text-align: center;
	color: #fff;
}



@media screen and (max-width:991px) {
	.maintext {
    position: absolute;
    top: 50%;
    left: 10%;
	}
    .nav-pc ul li{
        font-size: 14px;
  margin-left: 20px;
}
    
.voice_wrap{
    display: block;
} 
    .voice{
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    
}

@media screen and (max-width:767px) {
h1{
	font-size: 22px;
    }
    .nav-pc{
        display: none;
    }    
    
	.bg_kazari01{

    margin-top: -5%;
    width: 150px;
}
.bg_kazari02{

    margin-top: -28%;
    width: 170px;
}
.bg_kazari03{

    margin-top: -15%;
    width: 150px;
}
.bg_kazari04{
    margin-top: -12%;
    width: 200px;
}
.bg_kazari05{
    margin-top: -18%;
    width: 170px;
}
	.maintext{
		font-size: 16px;
	}
	.maintext h1{
		font-size: 30px;
	}

	.content img{
		min-width: 400vw;
	}
}
@media screen and (max-width:575px) {
	.con_btn{
width: 40%;
}
	.content img{
		min-width: 600vw;
	}
    .tel{
	font-size: 26px;
}
}