@charset "UTF-8";

/*オープンキャンパス 共通CSSファイル*/
/*----header------------------------------*/
.noto{ font-family: 'Noto Serif JP', serif; }
header{
	background: url(/with-rehabilitation/img/with-rehabilitation/head-bg.jpg) top center no-repeat;
	background-size: cover;
	height: 590px;
	-ms-box-shadow:0px -20px 20px -20px #dfdfdf inset;
	box-shadow:0px -20px 20px -20px #dfdfdf inset;
	}
header:after{
	content: "";
	bottom: 0;
	display: block;
	background: url(/with-rehabilitation/img/with-rehabilitation/main-nami.png);
	position: absolute;
	width: 100%;
	height: 26px;
	left: 0;
}
main{ margin-bottom: 0; }
.main-copy{
	position: relative;
	margin-top: 60px;
	text-align: center;
	width: auto;
}
.main-copy img{
	max-width: 100%;
	width: auto;
}
.zen-kaku{ font-family: 'Zen Kaku Gothic New', sans-serif; }
.kurenai{ font-family: 'Zen Kurenaido', sans-serif; }

.content-inner{
	margin: 0 auto;
	width: 1150px;
}
.main-img{
	text-align: center;
	position: absolute;
	top: -240px;
	left: 0;
	right: 0;
	margin: auto;
}
.main-img img{
	width: auto;
	max-width: 100%;
}
@media screen and (max-width: 768px) {
	.content-inner{
		width: 100%;
	}
	.main-copy{
		margin-top: 40px;
		padding-left: 50px;
		padding-right: 50px;
	}
	header{
		background: url(/with-rehabilitation/img/with-rehabilitation/head-bg.jpg) top center no-repeat;
		background-size: cover;
		max-height: 280px;
		padding-right: 3%;
	}
	.main-img{
		width: 118px;
		top: -120px;
	}
}
.footer .inner{ padding-top: 0; }


.about-section{
	padding: 100px 40px 100px;
	position: relative;
}
.about-section .content-inner{
	display: flex;
	flex-wrap: wrap;
}
.about-section h2,
.about-section p{
	max-height: 100%;
	width: 50%;
	box-sizing: border-box;
}
.about-section h2{
	font-size: 2.8rem;
	padding-right: 2em;
}
.about-section h2 span{
	line-height: 1;
	display: block;
	letter-spacing: 0.05em;
}
.about-section h2 .en{ color: #38baae; }
.about-section h2 .jp{
	margin-top: 0.75em;
	font-size: 3.8rem;
	font-weight: 500;
}
.about-section p{
	font-size: 1.4rem;
	line-height: 2;
}
@media screen and (max-width: 769px) {
	.about-section{
		padding: 60px 30px 60px;
		position: relative;
	}
	.about-section .content-inner{ display: block; }
	.about-section h2,
	.about-section p{ width: 100%; }
	.about-section h2{
		font-size: 1.6rem;
		padding-right: 0;
	}
	.about-section h2 .jp{ font-size: 2.2rem; }
	.about-section p{
		margin-top: 2em;
		font-size: 1.2rem;
	}
}

/* 各学科 */
.list-section{
	flex-wrap: wrap;
	display: flex;
}
.class-item{
	position: relative;
	border-top-style: solid;
	border-top-width: 3px;
	width: calc((100% - 6px) / 3 );
	background: #fff;
	margin-right: 3px;
}
.class-item:nth-child(3n){ margin-right: 0; }
.class-item:nth-child(1){border-color: #39baaf; }
.class-item:nth-child(2){border-color: #ffd11a; }
.class-item:nth-child(3){border-color: #e87705; }
.class-item figure{
	position: relative;
	margin: 0;
	padding: 0;
}
.class-item h2{
	font-weight: 400;
	font-size: 3rem;
	background: #fff;
	padding: 0.4em;
	line-height: 1;
	left: 0;
	right: 0;
	margin: auto;
	bottom: 0;
	transform: translateY(50%);
	max-width: 290px;
	display: block;
	border-radius: 60px;
	text-align: center;
	position: absolute;
}
.class-item h3{
	font-size: 2rem;
	line-height: 1.5;
	margin-bottom: 1.25em;
	text-align: center;
}
.class-item__text{
	padding: 50px 40px 130px;
}
.class-item__text p{
	text-align: justify;
	line-height: 2;
}
.class-item:nth-child(1) h2,
.class-item:nth-child(1) h3{ color: #39baaf; }
.class-item:nth-child(2) h2,
.class-item:nth-child(2) h3{ color: #ffd11a; }
.class-item:nth-child(3) h2,
.class-item:nth-child(3) h3{ color: #e87705; }
.class-item .button{
	text-align: center;
	color: #343434;
	border-radius: 60px;
	border: solid 2px #343434;
	color: #fff;
	padding: 1em;
	line-height: 1;
	display: inline-block;
	width: 100%;
	max-width: 328px;
	font-size: 1.8rem;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 50px;
	margin: auto;
	-moz-transition: .1s;
	-webkit-transition: .1s;
}
.class-item:nth-child(1) .button{background: #39baaf; border-color: #39baaf;  }
.class-item:nth-child(2) .button{background: #ffd11a; border-color: #ffd11a; }
.class-item:nth-child(3) .button{background: #e87705; border-color: #e87705; }
.class-item .button:hover{
	color: #fff;
}
.class-item:nth-child(1) .button:hover{ color: #39baaf; background: transparent;}
.class-item:nth-child(2) .button:hover{ color: #ffd11a; background: transparent; }
.class-item:nth-child(3) .button:hover{ color: #e87705; background: transparent; }
.class-item .button{}
@media screen and (max-width: 769px) {
	.list-section{ display: block; }
	.class-item{
		width: 100%;
		margin-right: 3px;
	}
	.class-item h2{ font-size: 2.6rem; }
	.class-item__text{ padding: 30px 30px 120px; }
	.class-item h3{ font-size: 1.6rem; }
	.class-item__text p{ font-size: 1.2rem; }
	.class-item .button{
		max-width: calc(100% - 80px);
		bottom: 50px;
		font-size: 1.425rem;
	}
}

/* 各学科テーブル */
.table-section{ padding: 100px 40px 140px; }
.table-section table{
	table-layout: fixed;
	border-collapse: collapse;
	font-family: 'Zen Kaku Gothic New', sans-serif;
	width: 1150px;
}
.table-section table p{
	font-family: 'Zen Kaku Gothic New', sans-serif;
}
.table-section tr:nth-child(1) th{
	border-radius: 6px;
	overflow: hidden;
}
.table-section tr:nth-child(1) th img{
	vertical-align: bottom;
}
.table-section tr:nth-child(1) th p{
	padding: 15px 10px;
}
.table-section th:nth-child(1){
	width: 218px;
	vertical-align: middle;
	font-weight: 500;
	font-size: 1.8rem;
	color: #38baae;
}
.table-section td{
	vertical-align: top;
	padding: 1.5em 1em;
	line-height: 1.7;
}
.table-section tr:nth-child(2) td{ vertical-align: middle; }
.table-section tr:nth-child(1) th:nth-child(2) p{ background: #39baaf; }
.table-section tr:nth-child(1) th:nth-child(3) p{ background: #ffd11a; }
.table-section tr:nth-child(1) th:nth-child(4) p{ background: #e87705; }
.table-section tr:nth-child(1) th span.jp{
	font-size: 2.6rem;
	color: #fff;
	line-height: 1;
	display: block;
}
.table-section tr:nth-child(1) th span.en{
	margin-top: 8px;
	padding: 2px 1em;
	border-radius: 30px;
	background: #fff;
	font-size: 1.2rem;
	display: inline-block;
}
.table-section tr:nth-child(1) th:nth-child(2) span.en{ color: #39baaf; }
.table-section tr:nth-child(1) th:nth-child(3) span.en{ color: #ffd11a; }
.table-section tr:nth-child(1) th:nth-child(4) span.en{ color: #e87705; }

.table-section tr:nth-child(even){
	background: #fff;
}
.table-section td,
.table-section th{
	width: calc((100% - 224px) / 3);
	box-sizing: border-box;
	border-right: solid 2px #f7f7f7;
	border-bottom: solid 2px #f7f7f7;
}
.table-section th{ text-align: center; }
.table-section td:nth-child(2){ background: #e9f5f0; }
.table-section td:nth-child(3){ background: #fcf4e2; }
.table-section td:nth-child(4){ background: #faeee2; }
.table-section td:last-child,
.table-section th:last-child{
	border-right: none;
}
.table-section tr:last-child{
	border-bottom: none;
}


@media screen and (max-width: 769px) {
	.table-section{ padding: 50px 30px 70px; }
	.table-section tr:nth-child(1) th span.jp{ font-size: 2rem; }
	.table-section tr:nth-child(1) th span.en{ font-size: 0.875rem; }
	.table-section th:nth-child(1){
		font-size: 1.4rem;
		width: 0;
		white-space: nowrap;
	}
	.table-section th:nth-child(n+2),
	.table-section td:nth-child(n+2){ width: calc((100% - 134px) / 3 ); }
	.table-section td{ font-size: 1.2rem; }
	.table-section .content-inner{
		overflow: scroll;
	}
}

/* スペシャルムービー */
.sp-section{
	text-align: center;
	padding: 120px 40px;
	background: #e9f5f0;
}
.sp-section h2{
	font-family: 'Zen Kurenaido', sans-serif;
	font-size: 3.8rem;
	text-align: center;
	margin-bottom: 1.315em;
	color: #38baae;
}
.sp-section h2 span{
	display: inline-block;
	position: relative;
	padding: 0 50px;
}
.sp-section h2 span:before,
.sp-section h2 span:after{
	content: "";
	display: block;
	width: 18px;
	height: 20px;
	position: absolute;
	bottom: 5px;
}
.sp-section h2 span:before{
	left: 0;
	background: url(/with-rehabilitation/img/with-rehabilitation/sp-mid-before.png);
}
.sp-section h2 span:after{
	right: 0;
	background: url(/with-rehabilitation/img/with-rehabilitation/sp-mid-after.png);
}
.sp-section p{
	line-height: 2;
	font-size: 1.4rem;
	text-align: center;
}
.sp-section p.mid{
	margin-bottom: 2em;
	margin-top: 1.25em;
	font-size: 1.8rem;
	color: #38baae;
	font-weight: 300;
}

@media screen and (max-width: 769px) {
	.sp-section{ padding: 60px 30px; }
	.sp-section h2{ font-size: 3rem; }
	.sp-section h2 span{ padding: 0 1em; }
	.sp-section h2 span:before,
	.sp-section h2 span:after{ bottom: 2px; }
	.sp-section p{
		text-align: left;
		font-size: 1.2rem;
	}
	.sp-section p.mid{
		text-align: left;
		font-size: 1.5rem;
	}
	.sp-section p.mid span{ display: none; }
}
.txt-button{
	display: block;
	width: 100%;
	border-radius: 50px;
	text-align: center;
	color: #fff;
	padding: 0.5em;
	line-height: 1;
	-moz-transition: .1s;
	-webkit-transition: .1s;
}
.txt-button:hover{ opacity: .7; }
.table-section td:nth-child(2) .txt-button{ background: #39baaf; }
.table-section td:nth-child(3) .txt-button{ background: #ffd11a; }
.table-section td:nth-child(4) .txt-button{ background: #e87705; }

.table-section td span.mid{ font-weight: bold; }
.table-section td ul{ margin-bottom: 1em; }
.table-section td li{
	margin-top: 0.5em;
	position: relative;
	padding-left: 1.2em;
}
.table-section td li:before{
	content: "-";
	display: block;
	left: 0;
	top: 0;
	position: absolute;
}
.table-section td:nth-child(2) span.mid{ color: #39baaf; }
.table-section td:nth-child(3) span.mid{ color: #ffd11a; }
.table-section td:nth-child(4) span.mid{ color: #e87705; }
