@charset "utf-8";
/* CSS Document */
.haguiku{
	font-family: 'Zen Maru Gothic', sans-serif;
	padding: 150px 0 80px 0;
    text-align: center;
}
.haguiku h2{
    font-size: 35px;
    margin-bottom: 30px;
    z-index: 2;
    letter-spacing: 2px;
}
.haguiku h2 span{
    display:inline-block;
}
.haguiku p{
    font-weight: 500;
    font-size: 18px;
    line-height: 2em;
    margin: 0 30px 30px 30px;
	z-index: 2;
}
.haguiku p span{
    display: inline-block;
}
/*.haguiku-br{
    display: none;
}*/
@media(max-width:520px){
.haguiku{
    padding: 50px 0 50px 0;
}
}
/*あしらい*/
.asirai-right,.asirai-left{
    max-width: 376px;
	opacity: 0.8;
	position: absolute;
	width: 24%;
    z-index: -1;
}

.asirai-right{
    right: 30px;
}
.asirai-left{
    left: 30px;
}
@media(max-width:1200px){
    .asirai-right,.asirai-left{
        opacity: 0.5;
		width: 25%;
    }
    .asirai-right{
        right: 15px;
    }
    .asirai-left{
        left: 15px;
    }
    .haguiku-br{
        display: block;
    }
}
@media(max-width:960px){
    .haguiku{
        padding: 100px 0 30px 0;
    }
    .haguiku h2{
        font-size: 30px;
    }
    .haguiku p{
        font-size: 16px;
        line-height: 1.8em;
    }
}
@media(max-width:640px){
    .haguiku h2{
        font-size: 35px;
    }
    .asirai-right,.asirai-left{
        width: 140px;
        top: 290px;
        opacity: 0.8;
    }
    /*.haguiku p br{
        display: none;
    }
    .haguiku-br{
        display: block;
    }*/
}
@media(max-width:520px){
    .haguiku h2{
        font-size: 26px;
    }
    .asirai-right,.asirai-left{
        top: 220px;
        width: 105px;
    }
}
@media(max-width:480px){
    .haguiku p{
        font-size: 15px;
        /*text-align: justify;*/
    }
}

/*スライダー*/
.slider{
    width: 100%;
    margin-bottom: 20px;
}

.slider div a:hover{
    opacity: 0.8;
}
.slider img{
    width: 95%;
    border-radius: 20px;
}


/*お教室*/
.lesson{
    text-align: center;
    padding: 100px 0 30px 0;
}

.lesson p{
    text-align: center;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 500;
    margin-top: 30px;
}
/*なみなみ*/
.contaniner-top{
    display: block;
    padding-top: 50px;
    margin-bottom: -5px;
}
.contaniner-bottom{
    display: block;
/*    padding-bottom: 0px;*/
    margin-top: -5px;
}
/*なみなみおわり*/
/*３つのやつ*/
.three-title{
    font-size: 35px;
    letter-spacing: 5px;
}
.three-title span{
    font-weight: 700;
    font-size: 45px;
}
.three-box{
    max-width: 960px;
    width: 95%;
    display: flex;
    margin: 0 auto;
    gap: 5%;
    justify-content: center;
    padding: 30px 0 50px 0;
}
.three-1{
    width: 207px;
    height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    padding: 45px 0;
}
.three-box .pink{
    background-image: url("../images/haguiku/three-1.svg");
    
}
.three-box .orange{
    background-image: url("../images/haguiku/three-2.svg");
}
.three-box .green{
    background-image: url("../images/haguiku/three-3.svg");
}

.three-1 p{
    margin-top: 5px;
}
.three-1 span{
    font-size: 25px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    
}
.lesson_text {
		width: 90%;
		margin: auto;
	}
@media(max-width:480px){
	.lesson-box {
		padding: 30px 0;
	}
	.lesson_text {
		width: 90%;
		margin: auto;
	}
	.three-box {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
	}
	.three-1 {
		align-content: center;
		align-items: center;
		background-size: contain;
		background-position: bottom;
		display: flex;
		flex-direction: column;
		height: 43vw;
		justify-content: center;
		padding: 0;
		width: 43%;
	}
	.three-1 span {
		display: flex;
    	font-size: 1.4rem;
		margin-top: -20px;
	}
	.three-title {
		margin-top: 10px;
	}
	.three-title span {
		font-size: 2.5rem;
	}
	.three-1 p {
		align-items: center;
		display: flex;
		font-size: 0.9rem;
		justify-content: center;
	}
}
@media screen and (min-width:480px) and ( max-width:676px){
	.lesson-box {
		padding: 30px 0;
	}
	.lesson_text {
		width: 90%;
		margin: auto;
	}
	.three-box {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
	}
	.three-1 {
		align-content: center;
		align-items: center;
		background-size: contain;
		background-position: bottom;
		display: flex;
		flex-direction: column;
		height: 43vw;
		justify-content: center;
		padding: 0;
		width: 43%;
	}
	.three-1 span {
		display: flex;
    	font-size: 1.4rem;
		margin-top: -20px;
	}
	.three-title {
		margin-top: 10px;
	}
	.three-title span {
		font-size: 2.5rem;
	}
	.three-1 p {
		align-items: center;
		display: flex;
		font-size: 1.2rem;
		justify-content: center;
	}
}
@media screen and (min-width:677px) and ( max-width:768px){
	.three-box {
		gap: 11px;
	}
}
/*３つのやつおわり*/
.lesson-box{
    width: 100%;
    background-color: #FFF6ED;
    padding: 50px 0;
}

.lesson-box-1{
    width: 95%;
    max-width: 960px;
    margin: 0 auto 30px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
}

.reverce{
    flex-direction: row-reverse;
}
.lesson-box-pic{
    width: 40%;
}
.lesson-box-pic img{
    border-radius: 20px;
}
.lesson-box-text{
    width: 55%;
}
.lesson-box-text .sub-midashi{
    font-size:18px!important;
	display:inline-block;
}
.lesson-box-text .sub-midashi-1{
    font-size:18px!important;
	line-height:28px!important;
	text-align:left;
	font-weight:bold;
	color:#DC6A81;
}
.lesson-box-text .sub-midashi-1 span{
    display:inline-block;
}
.lesson-box-text .sub-midashi2{
    font-size:16px;
	text-align:left;
}
.lesson-box-text h3{
    text-align: left;
}
@media screen and (max-width:677px) {
	.lesson-box-text{
    	width: 100%;
	}
	.lesson-box-1 {
		    flex-direction: column-reverse;
	}
	.lesson-box-pic {
		width: 100%;
	}
}
@media(max-width:520px){
.lesson-box-text .sub-midashi-1{
    font-size:16px!important;
	line-height:25px!important;
}
}
/*.lesson-box-text,.lesson-box-text h3,.lesson-box-text p,.lesson-box-text span,.lesson-box-1_1{
    text-align: left;
    margin: 5px 0;
}*/
.lesson-box-text h3{
    font-size: 25px;
}
.lesson-box-text h3 span{
    font-size: 16px;
    margin-left: 10px;
}
.lesson-box-text p{
    margin: 10px 0;
}

.lesson-box-1_1{
    padding: 15px;
    border: dashed 2px #DC6A81;
    border-radius: 10px;
    margin-top: 20px;
}

.lesson-box-1_1 p{
    margin:  0 0 10px 0;
    font-size: 14px;
    font-family: noto sans JP;
    font-weight: 400;
}
/*.lesson-box-1_1 p span{
    font-weight: 700;
    font-size: 16px;
}*/
@media screen and (max-width:480px) {
    .lesson-box-1{
        width: 90%;
        padding: 20px 30px;
    }
}

/*横並びにしない場合*/
.lesson-box-1-column{
    width: 95%;
    max-width: 960px;
    margin: 0 auto 30px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
	flex-direction:column;
}
.lesson-box-1-column .lesson-box-text{
	width: 100%;
}
.lesson-box-1-column .lesson-box-pic{
    width: 100%;
}
.gallery {
    display: grid;
    grid-template-columns: 32% 32% 32%;
    grid-template-rows: 50% 50%;
    grid-template-areas:
        "A B C"
        "D D E";
    gap: 10px;
	justify-content: space-between;
	margin:10px auto;
}

.gallery .photoA {
    grid-area: A;
}

.gallery .photoB {
    grid-area: B;
}

.gallery .photoC {
    grid-area: C;
}

.gallery .photoD {
    grid-area: D;
}

.gallery .photoE {
    grid-area: E;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	border-radius:20px;
}
@media(max-width:640px){
.gallery {
    display: grid;
    grid-template-columns: 49% 49%;
    grid-template-rows: 32% 32% 32%;
    grid-template-areas:
        "A B"
        "D D"
		"C E";
    gap: 10px;
	justify-content: space-between;
	margin:10px auto;
}	
}
/*中央揃えテキスト*/
.lesson-box-text .center{
    margin: 20px 0;
	text-align:center!important;
}
.lesson-box-text p .cut{
    display:inline-block;
	text-align:center!important;
	margin:2px 0;
}
@media(max-width:520px){
.lesson-box-text .center span{
    font-size:15px!important;
}	
}
/*リンク位置調整*/
.link-adjust {
	padding-top:150px;
	margin-top:-148px!important;
}

/*文章幅*/
.text-width1 {
	margin:auto;
	max-width:1200px;
}
.text-width1 span{
	display:inline-block;
}

/*療育内容画像*/
.ryoiku-images1 {
	display:flex;
	justify-content:space-between;
	margin:10px;
	align-items:center;
}
.ryoiku-images1 img{
	display:block;
	width:100%;
}
.ryoiku-images2 {
	display:flex;
	justify-content:space-between;
	margin:10px;
	align-items:flex-start;
	gap:20px 30px;
}
.ryoiku-images2 span img{
	display:block;
	width:100%;
	margin-bottom:10px;
}
.ryoiku-images2 p{
	font-size:16px;
}
.ryoiku-images1-2 {
	width:100%;
	max-width:500px;
	margin:30px auto;
}
.ryoiku-images1-3 {
	width:100%;
	margin-top:15px;
}
.ryoiku-images1-3 .p-1{
	font-size:18px;
	font-weight:bold;
	text-align:center;
	line-height:35px;
}
.ryoiku-images1-3 .p-1 span{
	display:inline-block;
}
.ryoiku-images1-3 .p-2{
	font-size:18px;
	font-weight:bold;
	text-align:center;
	line-height:35px;
	color:#DC6A81;
}
.ryoiku-images1-3 .p-2 span{
	display:inline-block;
}
.ryoiku-images1-3 table{
	margin:20px auto 20px auto;
	text-align:left;
}
.ryoiku-images1-3 th{
	padding:5px;
	min-width:100px;
}
@media(max-width:960px){
.ryoiku-images1 {
	flex-direction:column;
	gap:50px;
}
}
@media(max-width:768px){
.ryoiku-images2 {
	flex-wrap:wrap;
	margin:10px;
	align-items:flex-start;
	justify-content:center;
	gap:20px 30px;
}
.ryoiku-images2-1{
	width:45%;	
}
}
@media(max-width:520px){
.ryoiku-images2 {
	flex-wrap:wrap;
	margin:10px;
	align-items:flex-start;
	justify-content:center;
	gap:20px 30px;
}
.ryoiku-images2-1{
	width:100%;	
}
}
.ryoiku-images1-4 {
	width:100%;
}
.ryoiku-images1-4 ul{
	display:flex;
	gap:20px;
	justify-content:center;
	margin-bottom:10px;
}
.ryoiku-images1-4 ul li{
	text-align:center;
	font-weight:bold;
	font-size:18px;
}
.ryoiku-images1-4 ul li span{
	display:inline-block;
	width:25px;
	height:25px;
	background-color:#000;
	border-radius:20px;
	color:#fff;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	margin-right:5px;
}
.ryoiku-images1-4 ul li .color1{
	background-color:#EB9750;
}
.ryoiku-images1-4 ul li .color2{
	background-color:#48A86D;
}
.ryoiku-images1-4 ul li .color3{
	background-color:#9CC66A;
}
.ryoiku-images1-4 ul li .color4{
	background-color:#ECD452;
}
.ryoiku-images1-4 p{
	font-size:16px;
}
@media(max-width:768px){
.ryoiku-images1-3 .p-1{
	font-size:16px;
	line-height:30px;
}	
.ryoiku-images1-3 .p-2{
	font-size:16px;
	line-height:30px;
}	
.ryoiku-images1-3 tr{
	display:flex;
	flex-direction:column;
}
.ryoiku-images1-3 td{
	margin-bottom:10px;
}
}
@media(max-width:640px){
.ryoiku-images1-4 ul{
	flex-direction:column;
	gap:10px;
	margin-bottom:15px;
	align-items:flex-start;
	margin:10px auto 20px auto;
	width:150px;
}
}
@media(max-width:520px){
.ryoiku-images1-3 td{
	font-size:15px;
}	
.ryoiku-images1-4 p{
	font-size:15px;
}
}





.gallery2 {
    display: grid;
    grid-template-columns: 32% 32% 32%;
    grid-template-rows: 100% 100%;
    grid-template-areas:
        "A B C";
    gap: 10px;
	justify-content: space-between;
	margin:10px auto;
}

.gallery2 .photoA {
    grid-area: A;
}

.gallery2 .photoB {
    grid-area: B;
}
.gallery2 .photoC {
    grid-area: C;
}
.gallery2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	border-radius:20px;
}
@media(max-width:640px){
.gallery2 {
    display: grid;
    grid-template-columns: 49% 49%;
    grid-template-rows: 50% 50%;
    grid-template-areas:
        "A A"
		"B C";
    gap: 10px;
	justify-content: space-between;
	margin:10px auto;
}	
}
.gallery3 {
    display: grid;
    grid-template-columns: 30% 30% 36%;
    grid-template-rows: 50% 50%;
    grid-template-areas:
        "A A B"
        "C D D";
    gap: 10px;
	justify-content: space-between;
	margin:10px auto;
}

.gallery3 .photoA {
    grid-area: A;
}
.gallery3 .photoB {
    grid-area: B;
}
.gallery3 .photoC {
    grid-area: C;
}
.gallery3 .photoD {
    grid-area: D;
}
.gallery3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	border-radius:20px;
}
@media(max-width:640px){
.gallery3 {
    display: grid;
    grid-template-columns: 49% 49%;
    grid-template-rows: 33% 33% 34%;
    grid-template-areas:
        "A A"
		"D D"
		"B C";
    gap: 10px;
	justify-content: space-between;
	margin:10px auto;
}	
}
.gallery4 {
    display: grid;
    grid-template-columns: 35% 35% 26%;
    grid-template-rows: 100% 100%;
    grid-template-areas:
        "A C B";
    gap: 10px;
	justify-content: space-between;
	margin:10px auto;
}

.gallery4 .photoA {
    grid-area: A;
}

.gallery4 .photoB {
    grid-area: B;
}
.gallery4 .photoC {
    grid-area: C;
}
.gallery4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	border-radius:20px;
}
@media(max-width:768px){
.gallery4 {
    display: grid;
    grid-template-columns: 40% 28% 28%;
    grid-template-rows: 50% 50%;
    grid-template-areas:
        "A A A"
		"B C C";
    gap: 10px;
	justify-content: space-between;
	margin:10px auto;
}	
}
.gallery5 {
    display: grid;
    grid-template-columns: 25% 27% 44%;
    grid-template-rows: 50% 50%;
    grid-template-areas:
        "A A C"
		"D D B";
    gap: 10px;
	justify-content: space-between;
	margin:10px auto;
}

.gallery5 .photoA {
    grid-area: A;
}

.gallery5 .photoB {
    grid-area: B;
}
.gallery5 .photoC {
    grid-area: C;
}
.gallery5 .photoD {
    grid-area: D;
}
.gallery5 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	border-radius:20px;
}
/*@media(max-width:640px){
.gallery5 {
    display: grid;
    grid-template-columns: 49% 49%;
    grid-template-rows: 50% 50%;
    grid-template-areas:
        "A A"
		"B C";
    gap: 10px;
	justify-content: space-between;
	margin:10px auto;
}	
}
.gallery5 {
    display: grid;
    grid-template-columns: 30% 30% 36%;
    grid-template-rows: 50% 50%;
    grid-template-areas:
        "A A B"
        "C D D";
    gap: 10px;
	justify-content: space-between;
	margin:10px auto;
}*/