@charset"utf-8";

.m01, .m02, .m03, .m04, .m05{
	margin: 20px auto;
	padding: 10px;
	text-align: center;
	display: block;
}

.m_contents h2{
	margin-bottom: 10px;
	font-size: 1.2em;
}

.minitext{
	margin: 0;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 5px;
	padding: 0;
	text-align: left;
	font-size: 0.875em;
	background-color: #fff;
}

.mtitle{
	padding-right: 0;
	border: none;
	width: 90%;
}

.mtitle p{
	font-size: 1.2em;
	font-weight: bold;
	margin: 0;
	padding: 0;
	line-height: 1.2;
	margin-top: 10px;
	margin-bottom: 50px;
}

.mtitle span:nth-child(1){
	content: none;
}

.mtitle p span:nth-child(2){
	font-size: 1.3em;
	color: #674196;
	font-weight: bolder;
	margin-left: 3px;
	margin-right: 3px;
}

/*作品展示*/
.m01{
	border-left: none;
	border-right: none;
}

.m01 p{
	clear: both;
	text-align: center;
}

.m01 h2{
	font-size: 1.5em;
	margin-top: 20px;
}

.m01 h3{
	text-align: left;
	font-size: 1.2em;
	margin: 10px 0;
}

.m01-01{
	background-color: rgba(234,173,189, 0.5);
	padding: 10px;
	margin: 0;
	margin-bottom: 10px;
}

.m01-02{
	background-color: rgba(173, 229, 235, 0.5);
	padding: 10px;
	margin: 0;
	margin-bottom: 10px;
}

.more_btn{
	display: inline-block;
	margin: 10px auto;
	margin-bottom: 30px;
	padding: 10px 20px;
	font-size: 1em;
	font-weight: bold;
	line-height: 1.2;
	background: linear-gradient(rgba(255,174,103,0.7) 0%, #f08500 50%, rgba(255,174,103,0.7) 100%) ;
	color: #111;
	border-radius: 10px;
	box-shadow: 0px 0px 1px black;
}

.more_btn:hover{
	opacity: 0.7;
	box-shadow: inset 0px 0px 1px black;
}

.more_btn a{
	text-decoration: none;
}

.tt{
	font-size: 0.8em;
	opacity: 0.5;
	text-align: center;
}

.tg{
	margin-top: 20px;
	margin-bottom: 30px;
	padding: 0;
	display: flex;
	flex-flow: wrap;
}

.tg p{
	margin: 0;
	padding: 0;
}

.tg li{
	position: relative;
	flex: 1 0 auto;
	margin: 0;
	overflow: hidden;
}

.tg li img{
	border: 1px solid #333;
	margin: 0;
	margin-top: 10px;
	margin-bottom: 5px;
	padding: 0;
	width: 300px;
}

.tg li a{
	text-decoration: none;
	color: #1e50a2;
}

.tg li a:hover{
	color: #2ca9e1;
	opacity: 0.7;
}

.caption{
	text-align: center;
	font-size: 0.95em;
	line-height: 1.2;
}


/*広告*/
.infobn{
	margin: 8px auto 15px auto;
	padding: 10px 20px;
	border: 2px solid rgba(60, 0, 140, 0.1);
	box-shadow:8px 8px 10px rgba(90, 60, 120, 0.45);
	background: #4d4398;
	line-height: 2;
	width: 80%;
	max-width: 900px;
	text-align: center;
	display: block;
}

.infobn h2{
	font-size: 1.2em;
}

.infobn p{
	font-size: 1em;
}

.infobn a{
	text-decoration: none;
	color: #e9e9e9;
}

.infobn:hover{
	box-shadow: none;
	background: #0095d9;
}

.infobn a:hover{
	color: #fefefe;
}

.m02{
	margin: 0 auto;
	border: 8px double #706caa;
	padding: 10px;
	width: 90%;
	max-width: 1000px;
	display: block;
}

.m02 h2{
	margin: 0;
	margin-bottom: 20px;
	line-height: 2;
	border-bottom: 3px dotted #706caa;
}

.info{
	margin: 0 auto;
	padding: 10px;
}

.info h3{
	margin: 0px 0px 5px 0px;
	font-size: 1.1em;
	line-height: 2;
}

.info h3 time{
	font-size: 1em;
}

.info h3 time:after{
	content: "　";
}

.info span:before{
	content: " ";
}

.info p{
	margin: 5px 0px 0px 0px;
	font-size: 1em;
	line-height: 1.5;
}

.info a{
	text-decoration: none;
	display: inline-block;
	padding: 5px;
}

.info a:link{
	color: #0095d9;	/*青色*/
}

.info a:visited{
	color: #4d4398;	/*紅桔梗*/
}

.info a:hover{
	color: #007bbb;	/*紺碧*/
	opacity: 0.9;
	outline: 1px solid #2ca9e1;	/*天色*/
	box-shadow: 0px 0px 5px #0f2350;
}

.info a:active{
	outline: 1px solid #2ca9e1;
}

/*更新履歴*/
.m03 iframe{
	border: 1px solid #000;
	margin-top: 5px;
	margin-bottom: 20px;
	padding: 3px;
	width: 60%;
	max-width: 600px;
	min-width: 250px;
	height: 100px;
}

/*問い合わせ*/
.m04{
	width: 90%;
	max-width: 1000px;
	border: 5px double #4d5aaf;
}

.m04:after{
	content: "";
	display: block;
	clear: both;
}

.m04 h2{
	margin: 0;
	margin-bottom: 20px;
	line-height: 2;
	border-bottom: 3px dotted #4d5aaf;
}

.cal{
	text-align: center;
	width: 30%;
	float: left;
	padding-right: 10px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.cal img{
	padding: 10px;
	border: none;
	color: #aaa;
}

.toi{
	width: 60%;
	float: right;
	padding: 20px;
}

.toi p{
	margin: 0;
	font-size: 1em;
	margin-bottom: 1rem;
	line-height: 2;
}

.cal-text{
	color: #e2041b;
}

.toi address{
	font-size: 0.875em;
	text-align: right;
	font-style: normal;
	line-height: 1.2;
	margin-top: 2rem;
	display: block;
}
.toi a{
	text-decoration: none;
	display: inline-block;
	padding: 5px;	
}

.toi a:link{
	color: #0095d9;	/*青色*/
}

.toi a:visited{
	color: #4d4398;	/*紅桔梗*/
}

.toi a:hover{
	color: #007bbb;	/*紺碧*/
}


/*教室風景*/
.m05{
	border: 8px inset #81a5ff;
	width: 90%;
	max-width: 1000px;
	display: block;
}

.m05 h2{
	font-size: 1.2em;
	margin: 0;
	margin-top: 5px;
}

.m05 h3{
	font-size: 1em;
	margin: 0;
	margin-bottom: 10px;
}

.classroomMain{
	margin: 0;
	margin-bottom: 20px;
	line-height: 2;
}

.classroomGallery{
	margin: 0;
	padding: 10px;
	display: grid;
	grid-template-columns: repeat(3,150px);
	gap: 10px;
	justify-content: center;
}

.classroomGallery section{
	border: 1px solid #c4c4c4;
	display: block;
	width: 150px;
	height: 150px;
}

.lightbox_title{
	margin: 0;
	margin-top: 6px;
	line-height: 2;
	font-size: 1.2em;
}

.lightbox_text{
	line-height: 2;
	font-size: 1.1em;
}

/*幅狭用*/
@media (max-width:1099px){
	.tg li{
		margin-top: 20px;
	}
		
}

@media (max-width:599px){

	.minitext{
		margin: 0;
		margin-top: 3px;
		margin-bottom: 10px;
		margin-left: 5px;
		padding: 0;
		text-align: left;
		font-size: 0.8em;
		background-color: #fff;
	}
	
	.mtitle p{
		font-size: 1em;
		line-height: 1.5;
	}
	
	.mtitle p span:nth-child(1):before{
		content: "\A";
		white-space: pre;
	}
	
	.mtitle p span:nth-child(3):after{
		content: "\A";
		white-space: pre;
	}

	.info{
		padding: 5px;
	}
	
	.info h3{
		font-size: 1em;
		line-height: 1.3;
	}
	
	.info span:before{
		content: "\A";
		white-space: pre;
	}
	
	.m03 iframe{
		border: 1px solid #000;
		margin: 0 auto;
		margin-top: 5px;
		margin-bottom: 20px;
		padding: 0;
		width: 250px;
		height: 150px;
	}

	.cal, .toi{
		width: 90%;
		padding: 5px;
		float: none;
		clear: both;
	}
	
	.cal{
		margin: 0 auto;
		margin-bottom: 10px;
		padding: 0;
	}
	
	.toi p{
		font-size: 1em;
	}
	
	.cal-text{
		line-height: 1.5;
	}
	
	.toi span:after{
		content: "\A";
		white-space: pre;
	}
	
	.toi address{
		font-size: 0.875em;
		width: 100%;
	}

	.classroomGallery{
		padding: 5px;
		grid-template-columns: repeat(2,130px);	
	}
	
	.classroomGallery section{
		height: 130px;
		width: 130px;
	}

	
	.classroomGallery section img{
		height: 130px;
		width: 130px;
	}
	
}
