@charset "UTF-8";

/*================================================
 *  
 ================================================*/
#lesson #h2_img {
	background-image: url(../img/lesson/h2.jpg);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
}

/*h3*/
.h3_lesson {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 50px;
    margin: 0 auto;
}
.h3_lesson .heading03 {
	display: inline-block;
}


#private, #education, #rhythmic {
	padding-top: 50px;
	padding-bottom: 50px;
}
/*================================================
 *  flexbox & table
 ================================================*/
 .wrap_flex_lesson {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
 }
 .wrap_flex_lesson_img {
  display: block;
  width: 48%;
  height: auto;
}

.wrap_flex_lesson_text {
  width: 48%;
  padding-left: 2em;
  padding-right: 2em;
    font-size: 1.2em;
    line-height: 2;
}
.wrap_flex_lesson_text p{
  padding-bottom: 20px;
}
.wrap_flex_lesson_text .lesson_text_b{
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: .075em;
}
.lesson_t {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
.lesson_t th {
  width: 22%;
  /*background: #fff27d;*/
  /*border: 1px solid #ccc;*/
  box-sizing: border-box;
  padding: 15px;
  vertical-align: middle;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
}
.lesson_t td {
  /*background: #fff;*/
  /*border: 1px solid #ccc;*/
  box-sizing: border-box;
  padding: 15px;
  vertical-align: top;
  text-align: left;
}

/*——　文字の右にライン　——*/
.title-border-right {
display: flex;
align-items: center;
}
.title-border-right:after {
border-top: 1px solid;
content: "";
flex-grow: 1;
min-width:1em;
}
.title-border-right:after {
margin-left: 1rem;
}
/*==================================================
スライダーのためのcss
===================================*/

/*画像の横幅を100%にしてレスポンシブ化*/

.wrap_flex_lesson img,.wrap_flex_about2 img{
	width: 100%;
	height: auto;
	vertical-align: bottom;/*画像の下にできる余白を削除*/
}

/*メイン画像下に余白をつける*/
.gallery{
	margin:0 0 5px 0;
}

.gallery li{
list-style:none;
}
/*矢印の設定*/
.slick-arrow:before{
	content:""!important;
}
/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
	z-index: 3;
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #ccc;/*矢印の色*/
    border-right: 2px solid #ccc;/*矢印の色*/
    height: 25px;
    width: 25px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left:2.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right:2.5%;
    transform: rotate(45deg);
}

/*選択するサムネイル画像の設定*/

.choice-btn li{
	cursor: pointer;
	outline: none;
	background:#333;
	list-style:none;
}

.choice-btn li img{
	opacity: 0.4;/*選択されていないものは透過40%*/
}

.choice-btn li.slick-current img{
	opacity: 1;/*選択されているものは透過しない*/
}
/*==================================================
btn
===================================*/

#lesson .btn {
	margin-top: 30px;
	width: 400px;
    padding: 20px 30px;
	background-position: 280px;
	
}
#lesson .bgright:hover:before{
	background-position: 280px;
}

#about .box_button {
	text-align: center;
}
#about .btn {
	margin-top: 30px;
	width: 400px;
    padding: 20px 30px;
	background-position: 280px;
}
#about .bgright:hover:before{
	background-position: 280px;
}
/*================================================
 *  about
 ================================================*/
#about #h2_img {
	background-image: url(../img/about/h2.jpg);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
}
#gallery,#trial{
	padding-top: 50px;
    padding-bottom: 50px;
}
.gallery_text{
    padding-bottom: 30px;
  max-width: 1000px;
  margin-bottom: 20px;
  padding: 0 2em;
  font-size: 16px;
  
  text-align: left;
}
/*garally========================*/
.square_contents {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
    justify-content: flex-start;
}
 
.square_contents div {
  display: block;
  position: relative;
  width: 31%;/*23%*/
  margin: 1%;/*1%*/
	border:1px solid #ccc;
}
 
.square_contents div::before {
  content: "";
  display: block;
  padding-top: 100%;
}
 
.square_contents img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  object-fit: cover;
	padding:10px;
}
.square_contents p {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.35);
  padding: 5px;
  text-align: center;
  color: #fff;
}

/*garally2========================*/
.square_contents div:first-of-type {
	display:none;
}
.layout {
  display: flex;
  gap: 16px;
}
.layout_left {
	width: 30%;
	
	background-image: url(../img/about/0394.jpg);
	background-position: left;
	background-repeat: no-repeat;
	background-size: cover; /* 画像のサイズ指定 */
}
.layout_right { flex-grow: 1; }

/*access========================*/
.wrap_flex_about {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}
.wrap_flex_about_map {
	width: 50%;
}
.wrap_flex_about_text {
	width: 50%;
	padding-left: 2em;
	padding-right: 2em;
	font-size: 1.1em;
}
.wrap_flex_about_text p {
	margin-bottom: 2em;
}
.map {
  width: 100%;
  position: relative;
  padding-top: 75%;
}
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wrap_flex_about2 {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding-bottom: 20px;
}
.wrap_flex_about_phot {
	width: 40%;
}
.wrap_flex_about_trial {
	width: 60%;
	padding-left: 2em;
	padding-right: 2em;
	font-size: 1.1em;
}


@media screen and (max-width: 1024px) {
	/* 1024px以下に適用されるCSS（タブレット用） */
	#lesson .btn {
		width: 300px;
		background-position: 200px;
    	padding-right: auto;
    	padding-left: auto;
		
	}
	#lesson .bgright:hover:before{
		background-position: 200px;
	}



}
@media screen and (max-width: 768px) {
	/* 768px以下に適用されるCSS（スマホ用） */
	.h3_lesson {
	    width: 90%;
	}
	/*garally========================*/
	.square_contents div {
	  width: 48%;
	}
	.wrap_flex_lesson {
	  justify-content: center;
	  flex-direction: column-reverse
	}
	.wrap_flex_lesson_img {
	  width: 85%;
	  padding-top:30px;
	}
	.wrap_flex_lesson_text {
		padding-left: 0;
		padding-right: 0;
		width: 90%;
		font-size: 1.1em;
	}
	.wrap_flex_lesson_text .lesson_text_b{
		font-size: 1.3rem;
	}
	.lesson_t th, .lesson_t td {
	    display: block;
	    width: 100%;
	    border-bottom: none;
  		padding: 5px 15px;
	}
	.lesson_t td {
	    text-indent: 2em;
	}
	lesson_t tr:last-child td:last-child {
	    border-bottom: 1px solid #ccc;
	}
	.box_button {
		text-align: center;
	}
	#lesson .btn {
		width: 260px;
		background-position: 160px;
    	padding-right: auto;
    	padding-left: auto;
		
	}
	#lesson .bgright:hover:before{
		background-position: 160px;
	}


	/*================================================
	 *  about
	 ================================================*/
	 .wrap_flex_about {
	  justify-content: center;
	  flex-direction: column-reverse
	 }
	.wrap_flex_about_map {
		width: 100%;
	}
	.wrap_flex_about_text {
		width: 100%;
	}
	.wrap_flex_about2 {
	  justify-content: center;
	}
	.wrap_flex_about_phot {
		width: 100%;
	}
	.wrap_flex_about_trial {
		padding-top: 40px;
		width: 100%;
	}
	#about .btn {
		width: 260px;
		background-position: 160px;
    	padding-right: auto;
    	padding-left: auto;
		
	}
	#about .bgright:hover:before{
		background-position: 160px;
	}
	/*garally2========================*/
	
	.square_contents div:first-of-type {
		display:block;
	}
	.layout {
	}
	.layout_left {
		display: none;
	}
	.layout_right { flex-grow: 1; }
}