@charset "utf-8";
/* Y'S GEAR : school.css */

body {
	overflow-x: hidden;
	margin-right: auto !important;
}

.contentsWidth {
	font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
	font-size: 1.6rem;
	font-weight: 500;
}
.contentsWidth *,
.contentsWidth *::before,
.contentsWidth *::after { box-sizing: border-box; }
.contentsWidth a,
.contentsWidth a::before,
.contentsWidth a::after,
.contentsWidth a img { transition: all 0.3s ease; }

.contentsWidth h2,
.contentsWidth h3,
.contentsWidth h4,
.contentsWidth h5 { line-height: 1.2; } 


@media screen and (min-width: 769px) {
	.contentsWidth .sp { display: none; }
} /* */

@media screen and (max-width: 768px) {
	.contentsWidth .pc { display: none; }
} /* */


/*==============================================*
 *  [ メイン ] 
 *==============================================*/

.main-txt {
	height: 180px;
	text-align: center;
	font-weight: bold;
	background-image: linear-gradient(180deg, rgba(238, 238, 238, 1), rgba(255, 255, 255, 1));
	margin-bottom: 100px;
}

.main-txt h2 {
	font-size: 3.0rem;
	margin-bottom: 30px;
}

.main-txt p {
	font-size: 1.6rem;
	line-height: 3.0rem;
}


@media screen and (max-width: 768px) {
	.main-img {
		margin: 0 -10px;
	}
	.main-img img {
		width: 100%;
		height: auto;
	}
	.main-txt {
		margin-left: -10px;
		margin-right: -10px;
		margin-bottom: 50px;
		padding: 10px;
	}
	.main-txt h2 {
		font-size: 2.5rem;
	}
	.main-txt p {
		font-size: 1.2rem;
		line-height: 2.0rem;
		font-weight: 500;
	}
}



/*==============================================*
 *  [ 年表 ] 
 *==============================================*/

.chronology-wrap {
	text-align: center;
}

.chronology-wrap h3 {
	font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
	color: #333;
	width: fit-content;
	font-size: 3.0rem;
	font-weight: 200;
	border-bottom: 2px solid #ddd;
	margin: 0 auto 20px;
}

.chronology-wrap > img {
	position: relative;
	z-index: -1;
}


/* [ タブ ] */
.tabs {
	position: relative;
	width: 980px;
	height: 50px;
	padding: 0;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	margin: -180px auto 0;
	z-index: +1;
}

.tab {
	width: calc((100% - 60px) / 4);
	padding: 0;
	list-style-type: none;
	text-align: center;
	border: 1px solid #D02A46;
	background-color: #fff;
	line-height: 50px;
	font-size: 16px;
	font-weight: bold;
	color: #D02A46;
	cursor: pointer;
}

.tab.active {
	background-color: #D02A46;
	color: #fff;
}

.tab:hover {
	background-color: #D02A46;
	color: #fff;
}

.tab-content {
	height: fit-content;
	padding: 26px 0 0 26px;
}

.tabs.tab-botom {
	margin: 0 auto;
}


/* [ 年表の中身 ] */

.chronology-list {
	width: 100%;
}

.list-wrap {
	position: relative;
}

.list-wrap .list-box {
	display: flex;
	justify-content: flex-start;
	padding-top: 50px;
	padding-bottom: 50px;
}
.list-wrap::after {
	content: "";
	display: block;
	width: 92.4%;
	margin-left: auto;
	border-bottom: 1px solid #ddd;
}

.list-wrap .list-box .year {
	flex: 1;
}

.list-wrap .list-box .year .stepcircle {
	position: absolute;
	display: inline-block;
	width: 17px;
	height: 17px;
	content: "";
	border-radius: 50%;
	background-color: #CC1533;
	top: 50px;
	left: 0;
}

.list-wrap .list-box .year .year-txt {
	margin-left: 95px;
}

.list-wrap .list-box .year > p {
	font-size: 3.0rem;
	font-weight: bold;
	text-align: left;
	padding-left: 44px;
	margin-top: -11px;
}
.list-wrap .list-box .year > p span {
	font-size: 2.0rem;
}

.list-wrap .list-box .chronology-content {
	width: 730px;
}
.list-wrap .list-box .chronology-content .chronology-box {
	display: flex;
	align-items: center;
	width: 100%;
	gap: 20px;
	padding: 20px;
	background-color: #F8F8F8;
	border-radius: 10px;
}

.list-wrap .list-box .chronology-content .chronology-box:nth-of-type(n+2) {
	margin-top: 20px;
}

.list-wrap .list-box .chronology-content .chronology-box img {
	width: 150px;
}

.list-wrap .list-box .chronology-content .chronology-box .box-txt {
	text-align: left;
	line-height: 3.0rem;
}

.list-wrap .stepline {
	position: absolute;
	width: 2px;
	height: calc(100% + 1em);
	background-color: #ccc;
	top: 50px;
	left: 0.5em;
	z-index: -1;
}


.list-wrap:last-of-type .stepline:last-of-type {
	display: none;
}
.list-wrap:last-of-type::after {
	display: none;
}

.list-wrap:last-child {
	margin-bottom: 0
}

@media screen and (max-width: 960px) {
	#chronology {
		margin: 0 -10px;
	}
	.tabs {
		width: 100%;
		height: 31px;
		margin-top: -60px;
		padding-left: 10px;
		padding-right: 10px;
	}
	.tab {
		width: calc((100% - 15px) / 4);
		line-height: 3.1rem;
	}
	.tab-content {
		padding: 50px 0 0 25px;
	}
	.list-wrap .list-box {
		display: block;
		padding-right: 20px;
	}
	.list-wrap:first-of-type .list-box:first-of-type {
		padding-top: 0;
	}

	.list-wrap .list-box .year .stepcircle {
		top: 45px;
	}
	.list-wrap:first-of-type .list-box:first-of-type .year:first-of-type .stepcircle:first-of-type {
		top: 5px;
	}

	.list-wrap .list-box .chronology-content {
		width: 100%;
		padding-top: 10px;
		padding-left: 28px;
		text-align: left;
	}
	.list-wrap .list-box .year > p {
		font-size: 2.0rem;
		padding-left: 27px;
	}
	.list-wrap .list-box .year > p span {
		font-size: 1.6rem;
	}
	.list-wrap .list-box .chronology-content .chronology-box {
		display: block;
	}
	.list-wrap .list-box .chronology-content .chronology-box .box-txt {
		display: block;
		margin-top: 20px;
	}
	.list-wrap .stepline {
		height: calc(100% + 45px);
		top: 17px;
	}
}

/*==============================================*
 *  [ 大バナー ] 
 *==============================================*/

.page-link {
	margin: 50px 0;
}



/*==============================================*
 *  [ コンテンツバナー ] 
 *==============================================*/

.bunnerArea {
	background-color: #ddd;
	padding: 20px;
	margin-bottom: 50px;
}

.bunnerArea ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}
.bunnerArea li {
	width: calc((940px - 20px) / 3);
}

.bunnerArea li img {
	width: 100%;
}

@media screen and (max-width: 768px) {
	.bunnerArea {
		margin: 0 -10px 50px;
	}
	.bunnerArea ul {
		gap: 20px;
	}
	.bunnerArea li {
		width: 100%;
	}
}


/*==============================================*
 *  [ TOPへ戻る ] 
 *==============================================*/

.returntop {
	text-align: center;
	margin-bottom: 100px;
	height: 60px;
}

.returntop a {
	color: #333;
	font-size: 2.0rem;
	border: 3px solid #F5F5F5;
	background-color: #fff;
	padding: 17px 32px 17px 26px;
}
.returntop a:hover {
	border: 3px solid #F5F5F5!important;
}

.returntop a b::before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 1.2rem;
	height: 1.2rem;
	border: 3px solid #CC1533;
	border-left: 0;
	border-bottom: 0;
	box-sizing: border-box;
	transform: translateX(25%) rotate(-135deg);
	margin-right: 30px;
}

@media screen and (max-width: 768px) {
	.returntop a {
		height: 40px;
		font-size: 1.6rem;
	}
	.longbtn a b::before {
		margin-right: 10px;
	}
}
