@charset "utf-8";

/* ---------------------------------------------------------- */
/* TITLE */
/* ---------------------------------------------------------- */
#title {
	background: url(../img/school_life/bg_title.jpg) center center no-repeat;
	background-size: cover;
	}

@media (max-width: 768px){
#title {
	background: url(../img/school_life/bg_title_sp.jpg) center center no-repeat;
	background-size: cover;
	}
}


/* ---------------------------------------------------------- */
/* NAVI */
/* ---------------------------------------------------------- */
#navi {
	text-align: center;
	border-bottom: 1px solid #e6e6e6;
	padding: 10px;
	}

#navi ul {
	font-size: 1.6rem;
	font-family: 'Noto Serif JP' , serif , 游明朝 , "Yu Mincho" , YuMincho , "Hiragino Mincho ProN" , "Hiragino Mincho Pro" , HGS明朝E , メイリオ , Meiryo , sans-serif;
	display: -webkit-inline-flex;
	display: -ms-inline-flex;
	display: inline-flex;
	}

#navi ul li:after {
	content:"｜";
	padding: 0 10px;
	}

#navi ul li:first-child:before {
	content:"｜";
	padding: 0 10px 0 0;
	}

#navi ul li a.active {
	color: #000;
	text-decoration: none;
	pointer-events: none;
	}

#navi ul li span {
	color: #ccc;
	}

@media (max-width: 768px){
#navi {
	border-bottom: none;
	padding: 0;
	}

#navi ul {
	width: 100%;
	font-size: 1.4rem;
	flex-wrap: wrap;
	}
	
#navi ul li {
	width: 50%;
	border-bottom: 1px solid #e6e6e6;
	}

#navi ul li:first-child ,
#navi ul li:nth-child(3) {
	border-right: 1px solid #e6e6e6;
	}

#navi ul li:after ,
#navi ul li:first-child:before {
	content:"";
	padding: 0;
	}

#navi ul li a ,
#navi ul li span {
	text-decoration: none;
	background: #fff8f8;
	padding: 10px;
	display: block;
	}

#navi ul li span {
	background: #fafafa
	}

#navi ul li a.active {
	color: #000;
	text-decoration: none;
	}
}

@media (max-width: 768px){
#navi ul {
	font-size: 1.2rem;
	}
}


/* ---------------------------------------------------------- */
/* 新入生へのメッセージ */
/* ---------------------------------------------------------- */
.message ul {
	width: calc(100% + 50px);
	margin: 0 0 -40px -25px;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	flex-wrap: wrap;
	}

.message ul li {
	width: 50%;
	margin: 0 0 40px 0;
	padding: 0 25px;
	}

.message ul li .movie {
	height: 0;
	padding: 0 0 56.25% 0;
	overflow: hidden;
	position: relative;
	}

.message .movie iframe {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
	}

.message ul li p {
	font-size: 1.8rem;
	text-align: center;
	margin: 10px 0 0 0;
	}

@media (max-width: 768px){
.message ul {
	width: calc(100% + 20px);
	margin: 0 0 -30px -10px;
	}

.message ul li {
	width: 50%;
	margin: 0 0 30px 0;
	padding: 0 10px;
	}

.message ul li p {
	font-size: 1.6rem;
	}
}

@media (max-width: 640px){
.message h2 span {
	font-size: 1.8rem;
	}

.message ul {
	width: 100%;
	margin: 0;
	}

.message ul li {
	width: 100%;
	margin: 0 0 20px 0;
	padding: 0;
	}

.message ul li:last-child {
	margin: 0;
	}
}


/* ---------------------------------------------------------- */
/* カリキュラム */
/* ---------------------------------------------------------- */
.curriculum .class {
	margin: 0 0 60px 0;
	}

.curriculum .class .box {
	margin: 0 0 30px 0;
	}

.curriculum .box:last-child {
	margin: 0;
	}

.curriculum .timetable table {
	width: 100%;
	text-align: center;
	border-collapse: collapse;
	}

.curriculum .timetable table tr th {
	font-weight: normal;
	border: 1px solid #e6e6e6;
	padding: 20px 10px;
	}

.curriculum .timetable table tr td {
	border: 1px solid #e6e6e6;
	padding: 20px 10px;
	}

.curriculum .timetable table thead tr th {
	width: 15.5%;
	color: #fff;
	background: #ffa5c0;
	padding: 10px;
	}

.curriculum .timetable table thead tr th:first-child {
	width: 7%;
	background: #fff;
	}

.curriculum .timetable table tbody tr th {
	color: #fff;
	background: #ffa5c0;
	}

.curriculum .timetable table tbody tr:nth-child(odd) td:nth-child(even) {
	background: #fafafa;
	}

.curriculum .timetable table tbody tr:nth-child(even) td:nth-child(odd) {
	background: #fafafa;
	}

.curriculum .timetable dl {
	display: none;
	}

@media (max-width: 768px){
.curriculum .class {
	margin: 0 0 50px 0;
	}

.curriculum .timetable table {
	display: none;
	}

.curriculum .timetable dl {
	width: 100%;
	display: block;
	}

.curriculum .timetable dl dt {
	color: #fff;
	text-align: center;
	background: #ffa5c0;
	padding: 5px 10px;
	}

.curriculum .timetable dl dd ul {
	width: 100%;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	align-items: center;
	}

.curriculum .timetable dl dd ul {
	border-bottom: 1px solid #e6e6e6;
	border-left: 1px solid #e6e6e6;
	border-right: 1px solid #e6e6e6;
	}

.curriculum .timetable dl dd ul:last-child {
	border-bottom: none;
	}

.curriculum .timetable dl dd:last-child ul {
	border-bottom: 1px solid #e6e6e6;
	}

.curriculum .timetable dl dd ul li {
	padding: 10px;
	}

.curriculum .timetable dl dd ul li:first-child {
	width: 50px;
	text-align: center;
	}

.curriculum .timetable dl dd ul li:last-child {
	width: calc(100% - 50px);
	border-left: 1px solid #e6e6e6;
	}
}

@media (max-width: 640px){
.curriculum .class {
	margin: 0 0 40px 0;
	}

.curriculum .class .box {
	margin: 0 0 20px 0;
	}
}


/* ---------------------------------------------------------- */
/* 学び舎 */
/* ---------------------------------------------------------- */
.building.wrapper {
	padding: 80px 0 40px 0;
	}

.building ul {
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	flex-wrap: wrap;
	}

.building ul li {
	width: 50%;
	padding: 0 20px 40px 0;
	}

.building ul li:nth-child(even) {
	padding: 0 0 0 20px;
	}

.building ul li a:hover {
	opacity: 0.7;
	}

.building ul li a img {
	width: 100%;
	}

@media (max-width: 768px){
.building.wrapper {
	padding: 60px 30px;
	}

.building ul {
	display: block;
	}

.building ul li ,
.building ul li:nth-child(even) {
	width: 100%;
	padding: 0 0 30px 0;
	}

.building ul li:last-child {
	padding: 0;
	}
}

@media (max-width: 640px){
.building.wrapper {
	padding: 40px 15px;
	}

.building ul li ,
.building ul li:nth-child(even) {
	padding: 0 0 20px 0;
	}
}


/* ---------------------------------------------------------- */
/* 活動報告 */
/* ---------------------------------------------------------- */
.report .box {
	background: #fff8f8;
	margin: 0 0 20px 0;
	}

.report .box:last-child {
	margin: 0;
	}

.report .box h4 {
	text-align: left;
	padding: 10px 20px;
	}

.report .box .detail {
	padding: 20px;
	}

.report .box .detail p {
	margin: 0 0 20px 0;
	}

.report .box .detail ul {
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	flex-wrap: wrap;
	}

.report .box .detail ul li {
	width: 50%;
	padding: 0 10px 0 0;
	}

.report .box .detail ul li:nth-child(even) {
	padding: 0 0 0 10px;
	}

.report .box .detail ul li img {
	width: 100%;
	}

@media (max-width: 640px){
.report .box h4 {
	padding: 10px 15px;
	}

.report .box .detail {
	padding: 15px;
	}

.report .box .detail p {
	margin: 0 0 10px 0;
	}

.report .box .detail ul li {
	padding: 0 5px 0 0;
	}

.report .box .detail ul li:nth-child(even) {
	padding: 0 0 0 5px;
	}
}