@charset "utf-8";
@import url("NotoSansJP_Medium/stylesheet.css");
@import url("NotoSansJP_Regular/stylesheet.css");
/*幅と高さの計算を簡易化*/

/*カスタムプロパティ*/

/*----------------------------------*/

/*見出し*/
h1 {
    color: #1E1E1E;
    font-style: normal;
    font-weight: 100%;
}

/*header topぺージcurrent*/
.header-nav_item:first-child a {
    color: #4A90E2;
}

/*hero*/
#hero  {
	background-repeat: no-repeat;
	height: auto;
	/*max-height: 400px;*/
	width: 100%;
	position: relative;
	margin: 0 auto;
	transform-origin: center center 0;
}

#hero img {
	width: 100%;
	height: auto;
	/*max-height: 400px;*/
	object-fit: cover;
	margin: 0 auto;
	position: relative;
}

@media (min-width: 1376px) {
	#hero img {
		height: 600px;
	}
}
@media (min-width: 961px) {
	#hero img {
		height: 580px;
	}
}
@media(max-width: 960px) {
	#hero img {
		max-height: 400px;
	}
}


/*TOPページ共有*/
/*News, 教材*/
.title {
    color: black;
    font-weight: 500;
    font-size: 1.3em;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title:before, .title:after {
	border-top: 1px solid;
	content: "";
	width: 1.5em;
}

.title:before {
	margin-right: 0.5em;
}

.title:after {
	margin-left: 0.5em;
}

/*お知らせ、materials*/
.subtitle {
	/*font-family: 'UD デジタル 教科書体 NK-R';*/
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	text-align: center;
}


/*--------------------------------*/
/*----------------------------------*/


/*ニュースhover*/

.news_list li a:hover {
	/*text-decoration: underline;*/
	background-color: #dee0dc;
}

/*教材hover*/

.materials_banner li a:hover img {
	opacity: 0.7;
}

.materials_banner li a:hover .material_content {
	text-decoration: underline;
	color: #4a78b8;
}

.materials_banner li a:hover span {
	text-decoration: underline;
	color: #4a78b8;
}

/*お申込みhover*/
/*
.application_link li a:hover img {
	opacity: 0.8;
}

.application_link li a:hover p {
	text-decoration: underline;
	color: #0099ff;
}
*/
/*----------------------------------*/
/*----------------------------------*/



/*fadein java*/
.scroll_fadein {
	
}

.fadein_animation_start {
	animation-name: fadein_animation;
	animation-delay: 0.3s;
	animation-duration: 1s;
	animation-fill-mode: both;
}


/*----------------------------------*/

/*ABOUTUS*/

.about {
	background-color: white;
}

.about_outer {
	margin: 20px auto;
	width: 100%;
}

.about-title {
	display: inline-block;
	font-size: 25px;
	margin-left: 30px;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.about-inner {
	margin: 50px 10px 0 0;
}

/*先生方のご要望に沿い～*/

.about-sentence {
	display: inline-block;
	font-size: 28px;
	color: #4a78b8;
	text-align: left;
	margin-left: 30px;
	font-weight: bold;
}

/*about　文とコンテンツ*/

.about_content {
	height: auto;
	visibility: visible;
	display: flex;
	position: relative;
}

.about_content p {
	font-size: 18px;
	padding-top: 80px;
	margin-left: 30px;
}

.about_content img {
	margin-left: 30px;
	height: auto;
	width: 42%;
	object-fit: cover;
	border-radius: 10px;
}


/*----------------------------------*/


/*news*/
.news {
	background-color: #FFFDF8;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	padding: 20px 0;
}

.news_list {
	max-width: 900px;
	width: 100%;
	list-style-type: none;
	margin: 20px auto 0 auto;
	padding-left: 30px;
	padding-right: 30px;
}

.news_list li {
    width: 100%;
    border-bottom: solid 1px;
    border-bottom-color: lightgray;
    height: auto;
    display: flex;
	font-family: "NotoSansJP Regular", "源ノ角ゴシック Code JP M";
}

.news_link {
	display: flex;
    flex-wrap: wrap;
	font-weight: bold;
	color: #525252;
    width: 100%;
	padding: 20px 0;
	flex-shrink: 0;
}

.news_link:visited {
    color: #525252;
}

.news_list li:first-child {
	border-top: solid 1px;
	border-top-color: lightgray;
}

.new-responsive {
    width: 30%;
    display: flex;
}

.news_date { /*更新日*/
    width: 65%;
	display: block;
	font-size: 14px;
	font-weight: bold;
	text-align: end;
    padding-left: 20px;
}

.new-outer { /*newicon表示がなくてもあっても幅として適用*/
    width: 15.75%;
    margin: 0 9.625%;
    display: block;
}

.newicon { /*NEWの表示と装飾*/
    text-align: center;
    vertical-align: middle;
	font-size: 11px;
    color: #FFFFFF;
    background: #EE7248;
    border-radius: 3px;
    padding: 1px 2px;
}

.news_list li p{ /*タイトル*/
	font-size: 13px;
	width: 70%;
    padding-right: 20px;
    overflow-wrap: break-word;
}


/*----------------------------------*/

/*materials*/

.materials {
	background-color: white;
	padding: 20px 0;
}

.materials_outer {
	margin-left: 10px;
	margin-right: 10px;
	max-width: 900px;
	margin: 0 auto;
}

.materials_banner {
	display: flex;
	flex-wrap: wrap;
}

.materials_banner li {
	list-style: none;
	width: 17%;
	margin-left: 1.5%;
	margin-right: 1.5%;
	box-sizing: border-box;
	text-align: center;
}

.materials_banner li img {
    max-width: 100%;
    height: auto;
    border: 1px solid rgba(204,204,204,0.5);
}

.material_content {
	text-align: left;
	font-size: 0.8em;
	margin:20px 0 15px 0;
	color: #525252;
	font-weight: bold;
	font-family: "NotoSansJP Regular", "源ノ角ゴシック Code JP M";
}

.material_title {
	font-size: 0.8em;
	font-family: "NotoSansJP Regular", "源ノ角ゴシック Code JP M";
	font-weight: bold;
	color: #4a78b8;
}

/*materials tab*/

/*タブのスタイル*/
.tabs {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-width: 1100px;
    margin: 20px auto 0 auto;
    padding-bottom: 10px;
}

input[name="tab_item"] {
    display: none;
}

.label { /* 現状、tpl_index.html内、materialsセクションでのみ使用。 */
	/* ※小学校用以外の項目を使用する場合に適用。
	width: calc(100%/2);
	*/
    width: 100%;
    height: 45px;
    border-bottom: 3px solid #4A90E2;;
    background-color: #F7FAFD;
    line-height: 45px;
    font-size: 16px;
    color: #4A90E2;
    display: inline-block;
    float: left;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s ease;
	font-family: "NotoSansJP Regular", "源ノ角ゴシック Code JP M";
}
/* ※小学校用以外の項目を使用する場合に適用。
.label:hover {
	opacity: 0.7;
}
*/

.tab_content .materials_banner {
	margin-top: 40px;
}

.tab_content p {
	margin-top: 40px;
	margin-bottom: 20px;
}
.no-contents {
    display: block;
    margin: 0 auto 30px;
}

/*タブ切り替え*/

.tab_content {
	display: none;
	clear: both;
	overflow: hidden;
}

#juniorhigh_content {
	text-align: center;
}

#primary:checked ~ #primary_content,
#juniorhigh:checked ~ #juniorhigh_content {
	display: block;
}

.tabs input:checked + .label {
	background-color: #4A90E2;
	color: #fff;
}


/*----------------------------------*/
/*----------------------------------*/


/*banner*/

.banner {
	background-color: #FFFDF8;
}

.bnr_container {
	padding: 100px 30px 70px 30px;
	max-width: 800px;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

/*
.banner ul li img {
	height: auto;
	width: 100%;
	box-shadow: 0 0 15px 1px gray;
	transition: all 0.3s;
}

.banner ul li img:hover {
	transform: scale(1.02);
}
*/

.banner ul li {
	list-style: none;
	margin-bottom: 30px;
}

.banner .recruit_bnr {
	width: 80%;
	aspect-ratio: 4 / 1;
	margin: 0 auto;
	box-shadow: 0 0 15px 1px gray;
	transition: all 0.3s;
	text-align: center;
	border-radius: 10px;
	background-color: #48b093;
	border: 5px solid #f0f0f0;
	outline: 5px solid #48b093;
	outline-offset: 0px;
}
	.banner .recruit_bnr:hover {
		transform: scale(1.02);
	}
	@media(max-width: 750px) {
		.banner .recruit_bnr {
			width: 100%;
		}
	}
	@media(max-width: 480px) {
		.banner .recruit_bnr {
			aspect-ratio: 3 / 1;
		}
	}

.banner .recruit_bnr a {
	width: 100%;
	height: 100%;
	align-content: center;
	color: #f0f0f0;
}
	.banner .recruit_bnr a:visited {
		color: #f0f0f0;
	}

.banner .recruit_bnr a p {
	
}
.banner .recruit_bnr a p:first-of-type {
	font-weight: bold;
	font-size: 27px;
}
.banner .recruit_bnr a p:last-of-type {
	font-size: 18px;
	line-height: 1.3;
}

	@media(max-width: 600px) {
		.banner .recruit_bnr a p:first-of-type {
			font-size: 24px;
		}
		.banner .recruit_bnr a p:last-of-type {
			font-size: 17px;
			line-height: 1.2;
		}
	}
	@media(max-width: 500px) {
		.banner .recruit_bnr a p:first-of-type {
			font-size: 21px;
		}
		.banner .recruit_bnr a p:last-of-type {
			font-size: 14px;
		}
	}/*
	@media(max-width: 400px) {
		.banner .recruit_bnr a p:first-of-type {
			font-size: 20px;
		}
		.banner .recruit_bnr a p:last-of-type {
			font-size: 13px;
		}
	}*/





/*----------------------------------*/
/*----------------------------------*/


figure {
	desplay: block;
	padding: 0;
	margin: 0;
}


/*----------------------------------*/
/*----------------------------------*/


/*タブレットサイズ*/

@media (max-width: 960px)/*minは750の想定で*/{
    .header-nav_item:first-child a {
        color: white;
    }
    
	.about_outer {
		width: 90%;
	}
	
	.about-title {
		margin-left: 5px;
		font-size: 20px;
	}
	
	.about-inner {
		margin: 20px 10px;
	}
	
	.about-sentence {
		font-size: 22px;
		margin-left: 0;
	}
	
	.about_content p {
		font-size: 15px;
		margin-left: 0;
		padding-top: 30px;
	}
	
	.news {
		/*padding-top: 20px;*/
	}

	.materials_outer {
		margin-left: 20px;
		margin-right: 20px;
	}
	
	.materials {
		margin-top: 30px;
	}
	
	.blank {
		display: inline-block;
		width: 5px;
	}
	
}

/*中間サイズ*/
@media (max-width: 750px){
/*タイトルindex内の項目*/
	.title {
		font-size: 17px;
	}
	
	.subtitle {
		font-size: 14px;
	}
	
/*about*/
	.about_outer {
		width: 100%;
		/*padding-bottom: 30px;*/
		margin-left: 2%;
		margin-right: 2%;
		background-image: url("../img/aboutus.jpg");
		background-repeat: no-repeat;
		background-position: right 30px bottom;
		background-size: 85% auto;
	}
	
	.about-sentence {
		font-size: 17px;
	}
	
	.about_content p {
		font-size: 14px;
		padding-top: 20px;
		width: 70%;
		background-color: rgba(255,255,255,0.6);
		border-radius: 10px;
        z-index: 1;
	}
	
	.about_content p br {
		display: block;
		content: "";
		margin: 7px 0;
	}
	
    .about_content {
        position: relative;
		height: 250px
    }
    
	.about_content img {
	    /*display: none;*/
        margin-left: 15px;
        width: 40%;
        height: auto;
        position: absolute;
        right: 20px;
		bottom: 0;
    }
	
/*news*/
    .news {
        z-index: 1;
        position: relative;
    }
    
	.news_list {
	    max-width: 600px;
		padding-left: 20px;
		padding-right: 20px;
    }
	
	.news_link {
		display: block;
		height: 100%;
		padding: 20px 0;
	}

    .new-responsive {
        width: 100%;
    }

    .news_date { /*更新日*/
        width: 20%;
        font-size: 13px;
        font-weight: normal;
        text-align: left;
        padding-left: 10px;
    }
    
	.news_list li p {
		vertical-align: middle;
		padding-top: 10px;
		padding-left: 10px;
		font-size: 13px;
		width: 100%;
		color: black;
	}

    .new-outer { /*newicon表示がなくてもあっても幅として適用*/
        width: 7%;
        margin: 0;
    }

    .newicon { /*NEWの表示と装飾*/
        font-size: 10px;
        padding: 1px 2px;
    }
	
/*-------------------------------------*/
	
/*materials*/
	.materials_outer {
		max-width: 600px;
		margin: 0 auto;
	}
	
	.materials_banner li {
		width: calc(100%/2);
		margin: 0;
	}
	
	.materials_banner li a {
		width: 70%;
		margin-bottom: 20px;
		letter-spacing: 1px;
	}
	
	.material_content {
		margin: 0;
		font-size: 13px;
	}
	
	.tab_content p {
	   margin-top: 20px;
	   margin-bottom: 10px;
    }
	
	.material_title {
		font-size: 13px;
	}
	
/*バナー*/
	/*
	.bnr_container a {
		max-width: 600px;
	}
	*/
	
}

@media (max-width: 480px){
	.title {
		font-size: 15px;
	}
	
	.subtitle {
		font-size: 12px;
	}
    
/*about*/
	.about_content {
		height: 230px;
	}
	
    .about_content p {
        /*width: 55%;*/
		width: 80%;
    }
    
    .about_content img {
        right: 10px;
        bottom: 0px;
		width: 45%;
    }
	
/*news*/
	.news_link {
		padding: 10px 0;
	}
    
    .news_date {
        width: 25%;
    }
	
/*materials*/
	.materials_outer {
	    margin-left: 0;
	    margin-right: 0;
	    max-width: 480px;
	    margin: 0 auto;
    }
	
	.materials_banner li a {
		width: 80%;
	}
	
	.material_content {
		display: none;
	}
	
	.material_title {
		font-size: 14px;
	}
	
	.materials_banner li a img {
		margin-bottom: 20px;
	}
	
	
	
	
	
}