@charset "UTF-8";



/*PCとスマホ表示分岐
****************************************************** */

.Box-pc {
	display: block !important;
}

.Box-pc_inline {
	display: inline-block !important;
}

.Box-sp {
	display: none !important;
}


/* ヘッダー
****************************************************** */
header {
	background-color: #bc1c47;
	background-image: url(../img/bg01.gif);
}

@media screen and (max-width: 750px) {
	header {
		height: 60px;
		position: fixed;
		width: 100%;
		z-index: 9999;
	}
}

#head_info {
	width: 1020px;
	margin: 0 auto;
	height: 90px;
	display: flex;
	align-items: center;
}

@media screen and (max-width: 750px) {
	#head_info {
		height: auto;
	}
}

#head_info h1 a {
	font-family: 'Noto Serif JP', serif;
	font-weight: 500;
	font-size: 1.5em;
	text-decoration: none;
	letter-spacing: 0.13em;
	color: #fff;
}

@media screen and (max-width: 750px) {
	#head_info h1 {
		max-width: inherit !important;
		width: inherit !important;
	}

	#head_info h1 a {
		margin: 0.06em 0 0 0.5em !important;
		font-size: 1.31em;
		letter-spacing: 0.06em;
	}
}

/*---------------------------------------------------------
  						nav
---------------------------------------------------------*/

/*----- 生徒さん教室用 ------*/

/*ナビゲーションの縦スクロール*/
#g-nav-list {
	display: none;
	/*はじめは表示なし*/
	/*ナビの数が増えた場合縦スクロール*/
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100vh;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

#g-nav-list.panelactive {
	display: block;
	/*クラスが付与されたら出現*/
	-webkit-transition: 5s;
	transition: 5s;
}

/*========= ナビゲーションのためのCSS ===============*/
#g-nav {
	margin-left: auto;
}

#g-nav ul {
	display: flex;
	height: 100%;
}

#g-nav ul li a {
	color: #fff;
	text-decoration: none;
	margin: 0 10px;
	font-size: 0.88em;
	display: flex;
	align-items: center;
	height: 100%;
}

#g-nav ul li a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 750px) {
	#g-nav {
		position: fixed;
		z-index: 999;
		/*ナビのスタート位置と形状*/
		top: 60px;
		left: 0;
		width: 100%;
		height: 0;
		/*ナビの高さ*/
		opacity: 0;
		background-color: rgba(195, 64, 118, 0.95);
		transition: all 0.5s;
	}

	/*アクティブクラスがついたら位置を0に*/
	#g-nav.panelactive {
		top: 60px;
		height: calc(100vh - 60px);
		opacity: 1;
	}

	/*ナビゲーションの縦スクロール*/
	#g-nav.panelactive #g-nav-list {
		/*ナビの数が増えた場合縦スクロール*/
		position: fixed;
		z-index: 999;
		width: 100%;
		height: 100vh;
		/*表示する高さ*/
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}

	/*ナビゲーション*/
	#g-nav ul {
		/*ナビゲーション天地中央揃え*/
		position: absolute;
		justify-content: center;
		align-items: center;
		z-index: 999;
		flex-direction: column;
		top: 45%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	/*リストのレイアウト設定*/

	#g-nav li {
		list-style: none;
		text-align: center;
	}

	#g-nav li a {
		color: #fff;
		text-decoration: none;
		padding: 10px;
		display: block;
		letter-spacing: 0.13em;
		text-transform: uppercase;
		font-weight: normal;
	}

}

/*========= ボタンのためのCSS ===============*/

.openbtn {
	display: none;
}

@media screen and (max-width: 750px) {
	.openbtn {
		position: fixed;
		z-index: 9999;
		/*ボタンを最前面に*/
		top: 5px;
		right: 5px;
		cursor: pointer;
		width: 50px;
		height: 50px;
	}

	/*×に変化*/
	.openbtn span {
		display: inline-block;
		transition: all .4s;
		position: absolute;
		left: 14px;
		height: 3px;
		border-radius: 2px;
		background-color: #666;
		width: 45%;
	}

	.openbtn span:nth-of-type(1) {
		top: 15px;
	}

	.openbtn span:nth-of-type(2) {
		top: 23px;
	}

	.openbtn span:nth-of-type(3) {
		top: 31px;
	}

	.openbtn.active span:nth-of-type(1) {
		top: 18px;
		left: 18px;
		transform: translateY(6px) rotate(-45deg);
		width: 30%;
	}

	.openbtn.active span:nth-of-type(2) {
		opacity: 0;
	}

	.openbtn.active span:nth-of-type(3) {
		top: 30px;
		left: 18px;
		transform: translateY(-6px) rotate(45deg);
		width: 30%;
	}


	/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
	.openbtn {
		display: block;
		cursor: pointer;
		width: 50px;
		height: 50px;
	}

	/*ボタン内側*/
	.openbtn span {
		display: inline-block;
		transition: all .4s;
		/*アニメーションの設定*/
		position: absolute;
		left: 12px;
		height: 2px;
		border-radius: 5px;
		background: #fff;
		width: 50%;
	}


	.openbtn span:nth-of-type(1) {
		top: 11px;
	}

	.openbtn span:nth-of-type(2) {
		top: 19px;
	}

	.openbtn span:nth-of-type(3) {
		top: 27px;
	}

	.openbtn span:nth-of-type(3)::after {
		content: "メニュー";
		/*3つ目の要素のafterにMenu表示を指定*/
		position: absolute;
		top: 4px;
		left: -5px;
		color: #fff;
		font-size: 9px;
		text-transform: uppercase;
		word-break: keep-all;
	}

	/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/

	.openbtn.active span:nth-of-type(1) {
		top: 16px;
		left: 15px;
		transform: translateY(4px) rotate(-45deg);
		width: 50%;
	}

	.openbtn.active span:nth-of-type(2) {
		opacity: 0;
	}

	.openbtn.active span:nth-of-type(3) {
		top: 26px;
		left: 15px;
		transform: translateY(-6px) rotate(45deg);
		width: 50%;
	}

	.openbtn.active span:nth-of-type(3)::after {
		content: "Close";
		/*3つ目の要素のafterにClose表示を指定*/
		transform: translateY(0) rotate(-45deg);
		top: 5px;
		left: 11px;
	}
}


/* メイン
****************************************************** */
#wrap {
	background:
		url(./bg_p001_right.png) no-repeat right -130px top,
		url(./bg_p001_left.png) no-repeat left -130px top,
		url(./bg_p003.png) no-repeat left 70px top 570px,
		url(./bg_p004.png) no-repeat right 30px top 800px,
		url(./bg_p005.png) no-repeat left -15px top 1000px,
		url(./bg_g01.png) repeat;
	padding-bottom: 3em;
}

#studentsteacher {
	background: url(./bg_g02.png) repeat;
	padding: 20px;
}

#contents {
	background-color: #FFF;
	width: 1020px;
	margin: 0 auto;
	border-radius: 3px;
	box-shadow: 1px 2px 2px 1px rgba(0, 0, 0, 0.1);
}

div#main {
	width: 100%;
	padding: 20px;
	box-sizing: border-box;
}

#c_main {
	float: left;
	width: 700px;
	padding: 20px 20px 30px;
}


/* サイドバー
****************************************************** */
#sidebar {
	width: 240px;
	float: right;
	padding: 20px;
}


/* フッター
****************************************************** */
#f_info {
	width: 1020px;
	margin: 35px auto;
}

#f_date {
	float: left;
	margin: 0 20px 0 0;
	/* width: 250px; */
}

@media screen and (max-width: 750px) {
	#f_date {
		margin-top: 1em !important;
	}
}

#f_date img {
	width: 250px;
	height: auto;
}

#f_date .f_titlelogo {
	font-family: 'Noto Serif JP', serif;
	font-weight: 500;
	font-size: 1.25em;
	color: #C34076;
	text-align: center;
}

#f_date #f_address {
	font-size: 1em;
	line-height: 1.4;
	text-align: center;
	font-weight: 300;
	margin-top: 5px;
}

/* ナビ */
.foot_nav {
	float: right;
	width: 750px;
}

ul#menu-footnav {
	margin-bottom: 1em;
}

@media screen and (max-width: 750px) {
	ul#menu-footnav {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
}

ul.f_menu li {
	float: left;
	position: relative;
}

ul.f_menu li a {
	color: #444;
	cursor: pointer;
	display: block;
	font-size: 0.88em;
	padding: 0.2em 9px;
	text-decoration: none;
}

@media screen and (max-width: 750px) {
	ul.f_menu li:first-of-type a {
		border-left: 1px solid #ccc;
	}
}

.ul_sns li {
	float: left;
	margin-right: 10px;
}

p.copyright {
	border-top: 1px dotted #bbb;
	color: #333;
	font-size: 0.81em;
	margin: 0 auto;
	padding: 5px 0 5px;
	text-align: center;
	width: 1020px;
	font-weight: 200;
}

/* cv */

/* その他
****************************************************** */
/* パンくず */
#breadcrumb {
	/* min-width: 1020px; */
	width: 1020px;
	margin: 0 auto;
	font-size: 0.88em;
	padding: 1.5em 0;
}

#breadcrumb ul li {
	display: inline;
	list-style-type: none;
}


/* 検索 */
#searchform label {
	display: none;
}

#searchform input#s {
	padding: 0.6em;
	width: 65%;
	font-family: 'Noto Sans Japanese', 'YuGothic', 'Yu Gothic', '游ゴシック', '游ゴシック体', sans-serif !important;
	font-weight: 300;
	border: 1px solid #ccc;
	border-radius: 2px;
}

#searchform input#searchsubmit {
	font-size: 1.06em;
	margin-left: 4%;
	padding: 0.2em;
	width: 20%;
	font-family: 'Noto Sans Japanese', 'YuGothic', 'Yu Gothic', '游ゴシック', '游ゴシック体', sans-serif !important;
	font-weight: 300;
}