@charset "utf-8";
/*==================================================
	【トップ】ページ固有のスタイル
==================================================*/
#top_ttl img {
	width: 100%;
}
#top_news {
	position: relative;
	padding-top: 60px;
	background: url("../img/bg.jpg") repeat-y center / 100% auto;
	margin-bottom: 80px;
}
#top_news::before, #top_news::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	background: #fff;
	width: 100%;
	height: 100px;
	clip-path: polygon(0 0, 0% 100%, 100% 0);
}
#top_news h3 {
	font-weight: normal;
	line-height: 0.68;
	font-size: 207px;
	font-family: var(--font-sans);
	position: absolute;
	left: 0;
	top: 0;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
}
#top_news::after {
	top: auto;
	bottom: 0;
	clip-path: polygon(100% 100%, 0% 100%, 100% 0);
}
#top_news .in {
	padding-top: 50px;
	position: relative;
	display: flex;
	gap: 0 50px;
	justify-content: flex-start;
	width: calc(100% - 200px);
	margin-left: auto;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	padding-bottom: 25px;
	margin-bottom: 50px;
	scrollbar-color: #fff #f00;
}
#top_news .in .box {
	flex: 0 0 auto;
	border: 2px solid #fff;
	width: 400px;
	display: inline-block;
	border-radius: 20px;
	background: rgba(255,255,255,0.5);
	padding: 15px;
}
#top_news .in .box .box_in {
	background: #fff;
	border-radius: 20px;
	padding: 50px 25px 25px;
	height: 100%;
	position: relative;
}
#top_news .in .box .box_in .date {
	position: absolute;
	left: 0;
	top: -60px;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: var(--color-red);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	line-height: 1.1;
	font-size: 20px;
}
#top_news .in .box .box_in .date .fm {
	font-size: 26px;
}
#top_news .in .box .box_in dl dt {
	white-space: normal;
	border-bottom: 1px solid #9e9e9f;
	padding-bottom: 10px;
	margin-bottom: 20px;
}
#top_news .in .box .box_in dl dt a {
	color: var(--color-red);
	font-weight: bold;
	font-size: 22px;
	text-decoration: underline;
	white-space: nowrap; /* 折り返し無しにする */
	overflow: hidden; /* はみ出た部分を非表示 */
	text-overflow: ellipsis; /* 語尾を3点リーダーに */
	display: block;
}
#top_news .in .box .box_in dl dd {
	white-space: normal;
	overflow: hidden;
	display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: 110%;
}
#top_news .btn01 {
	width: calc(100% - 200px);
	margin-left: auto;
}
#top_philosophy {
	color: #fff;
}
#top_philosophy::before {
	background: url("../img/top/bg-philosophy.jpg") no-repeat center /cover;
}
#top_philosophy .section:first-of-type {
	position: relative;
	top: -52px;
}
#top_philosophy .section .txt {
	font-size: 150%;
}
#top_philosophy .section .txt.fm {
	font-weight: bold;
	font-size: 35px;
	margin-bottom: 10px;
}
#top_philosophy .section .txt.fm .fm {
	font-size: 40px;
}
#top_philosophy .trial {
	margin-top: 50px;
}
#top_philosophy .trial .red.fm {
	font-size: 41px;
	font-weight: bold;
	margin-bottom: 0;
}
#top_philosophy .trial .txt {
	font-size: 150%;
}
#top_philosophy .trial .txt a {
	color: #fff;
	text-decoration: underline;
}
#top_philosophy .red_waku {
	position: relative;
	top: 60px;
	margin-top: -50px;
}
#top_philosophy .red_waku .box {
	width: 340px;
	background: rgba(229, 0, 18, 0.6);
	padding: 10px;
	border-radius: 30px;
}
#top_philosophy .red_waku .box .in {
	border: 1px solid #fff;
	border-radius: 29px;
	background: var(--color-red);
	padding: 15px 0 25px;
}
#top_philosophy .red_waku .box .in .ttl {
	text-align: center;
	font-weight: bold;
	font-size: 50px;
	line-height: 1.2;
	margin-bottom: 15px;
}
#top_philosophy .red_waku .box .in .label {
	background: var(--color-font);
	color: #fff;
	text-align: center;
	font-size: 22px;
	padding: 1px 0 3px;
}
#top_philosophy .red_waku a {
	color: #FFF;
}
#top_partner {
	padding-top: 170px;
}
#top_partner::before {
	background: url("../img/bg.jpg") repeat-y center / 100% auto;
}
#top_partner::after {
	top: auto;
	bottom: 0;
	background: #fff;
	height: 100px;
	clip-path: polygon(0 0, 0% 100%, 100% 100%);
}
#top_partner h3.sub {
	text-align: left;
	margin-bottom: 80px;
}
#top_partner h3.sub span.jp {
	font-size: 20px;
	color: var(--color-font);
	margin-left: 40px;
}
#top_partner .grid_list {
	display: grid;
	justify-content: space-between;
	grid-template-columns: repeat(4, 250px);
	gap: 40px 0;
}
#top_partner .grid_list a {
	display: block;
	background: #002d5c;
	color: #fff;
	padding: 10px 0 20px;
	border-radius : 20px 20px 0px 20px;
	position: relative;
}
#top_partner .grid_list a::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 70px;
	height: 70px;
	background: #e50012;
	clip-path: polygon(100% 100%, 0% 100%, 100% 0);
}
#top_partner .grid_list a.no_link:hover {
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
}
#top_partner .grid_list a .name {
	padding-left: 20px;
	border-bottom: 1px solid #9E9E9F;
	padding-bottom: 10px;
	margin-bottom: 20px;
}
#top_partner .grid_list a.no_link .name {
	border-bottom: none;
	height: 100%;
	display: flex;
	align-items: center;
	padding: 0 20px;
}
#top_partner .grid_list a .name.fs {
	font-size: 95%;
}
#top_partner .grid_list a .img {
	overflow: hidden;
	width: 100%;
	text-align: center;
	position: relative;
	z-index: 1;
}
#top_partner .grid_list a .img img {
	width: 210px;
}
#top_route {
	padding-bottom: 150px;
}
#top_route::before {
	top: auto;
	bottom: 0;
	height: 583px;
	background: url("../img/bg.jpg") repeat-y center / 100% auto;
}
#top_route .in {
	position: relative;
}
#top_route .in::before, #top_route .in::after {
	content: "Route";
	font-weight: normal;
	line-height: 0.68;
	font-size: 207px;
	font-family: var(--font-sans);
	position: absolute;
	top: -60px;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	width: 148px;
}
#top_route .in::after {
	content: "School";
	top: auto;
	bottom: -145px;
	left: auto;
	right: 2px;
	height: auto;
	transform: rotate(180deg);
}
#top_route .list {
	width: 1000px;
	margin: 0 auto;
	display: grid;
	justify-content: space-between;
	grid-template-columns: repeat(2, 50%);
	background: url("../img/top/bg-school.jpg") no-repeat center /cover;
}
#top_route .list a {
	display: block;
	color: #fff;
}
#top_route .list a {
	border-bottom: 1px solid #fff;
	background : rgba(51, 51, 51, 0.7);
	font-size: 20px;
	padding: 25px;
	height: 200px;
}
#top_route .list a:hover {
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
	background : rgba(229, 0, 18, 0.7);
}
#top_route .list a:nth-of-type(odd) {
	border-right: 1px solid #fff;
}
#top_route .list a:nth-last-child(-n+2) {
	border-bottom: none;
}
#top_route .list a .sans {
	font-size : 55px;
	line-height: 1;
	display: block;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
	/* お知らせ */
	#top_info dl {
		display: flex;
	}
	#top_info dt {
		width: 100px;
	}
	#top_info dd {
		width: calc(100% - 100px);
	}
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#top_news h3 {
		font-size: 100px;
	}
	#top_news .in {
		width: calc(100% - 100px);
		gap: 0 30px;
	}
	#top_philosophy .section:first-of-type {
		top: -35px;
	}
	#top_philosophy .section .txt.fm {
		font-size: 20px;
	}
	#top_philosophy .section .txt.fm .fm {
		font-size: 30px;
	}
	#top_philosophy .section .txt {
		font-size: 120%;
	}
	#top_philosophy .trial .red.fm {
		font-size: 30px;
	}
	#top_philosophy .trial .txt {
		font-size: 120%;
	}
	#top_philosophy .red_waku a {
		width: 33%;
	}
	#top_philosophy .red_waku .box {
		width: auto;
		padding: 5px;
	}
	#top_philosophy .red_waku .box .in .ttl {
		font-size: 25px;
	}
	#top_philosophy .red_waku .box .in .label {
		font-size: 14px;
	}
	#top_partner {
		padding-top: 100px;
	}
	#top_partner h3.sub {
		margin-bottom: 50px;
	}
	#top_partner .grid_list {
		display: grid;
		justify-content: space-between;
		grid-template-columns: repeat(3, 32%);
		gap: 15px 0;
	}
	#top_route {
		padding-bottom: 100px;
	}
	#top_route .list {
		width: 90%;
	}
	#top_route .in::before, #top_route .in::after {
		font-size: 100px;
		width: 74px;
	}
	#top_route .in::after {
		right: -24px;
		bottom: -99px;
	}
	#top_route .list a {
		height: 120px;
		padding: 15px;
	}
	#top_route .list a .sans {
		font-size: 30px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_news {
		margin-bottom: 50px;
	}
	#top_news::before, #top_news::after {
		height: 50px;
	}
	#top_news h3 {
		font-size: 50px;
	}
	#top_news .in {
		width: calc(100% - 50px);
		padding-top: 40px;
		gap: 0 20px;
		margin-bottom: 30px;
	}
	#top_news .btn01 {
		width: 100%;
		text-align: center;
	}
	#top_news .in .box .box_in .date {
		width: 60px;
		height: 60px;
		font-size: 15px;
		top: -40px;
	}
	#top_news .in .box .box_in .date .fm {
		font-size: 18px;
	}
	#top_news .in .box {
		padding: 5px;
		width: 280px;
	}
	#top_news .in .box .box_in {
		padding: 25px 10px 15px;
	}
	#top_news .in .box .box_in dl dt {
		padding-bottom: 5px;
		margin-bottom: 10px;
	}
	#top_news .in .box .box_in dl dt a {
		font-size: 18px;
	}
	#top_news .in .box .box_in dl dd {
		font-size: 100%;
	}
	#top_philosophy .section:first-of-type {
		top: -21px;
	}
	#top_philosophy .section .txt {
		font-size: 110%;
	}
	#top_philosophy .trial {
		margin-top: 30px;
	}
	#top_philosophy .trial .red.fm {
		font-size: 25px;
		line-height: 1.5;
		margin-bottom: 15px;
	}
	#top_philosophy .red_waku a {
		width: 49%;
		margin-bottom: 20px;
	}
	#top_philosophy .red_waku .box:last-of-type {
		margin: 0 auto;
	}
	#top_philosophy .red_waku .box .in .ttl {
		font-size: 23px;
	}
	#top_partner::after {
		height: 50px;
	}
	#top_partner h3.sub span.jp {
		font-size: 18px;
		margin-left: 20px;
	}
	#top_partner .grid_list {
		grid-template-columns: repeat(2, 48%);
		gap: 15px 0;
	}
	#top_partner .grid_list a::before {
		width: 30px;
		height: 30px;
	}
	#top_partner .grid_list a .name {
		padding: 0 10px 10px;
		margin-bottom: 10px;
	}
	#top_partner .grid_list a.no_link .name {
		padding: 0 10px;
	}
	#top_partner .grid_list a .img img {
		width: 90%;
	}
	#top_route {
		padding-bottom: 60px;
	} 
	#top_route::before {
		height: 300px;
	}
	#top_route .in::before, #top_route .in::after {
		font-size: 50px;
		width: 34px;
	}
	#top_route .in::after {
		right: -20px;
		bottom: -58px;
	}
	#top_route .list a {
		padding: 10px;
		font-size: 16px;
		height: 100px;
	}
	#top_route .list a .sans {
		font-size: 25px;
	}
}
@media only screen and (max-width: 320px){ /* スマホ */
	#top_philosophy .trial .txt {
		font-size: 110%;
	}
	#top_philosophy .red_waku .box .in .label {
		font-size: 13px;
	}
	#top_partner h3.sub span.jp {
		font-size: 16px;
	}
	#top_route .list a {
		font-size: 15px;
	}
	#top_route .list a .sans {
		font-size: 20px;
	}
}