/*
Theme Name: w_gogaku
*/
#schedule th,
#schedule td {
	text-align: center;
	padding: 6px 20px;
	border: 1px solid #ddd
}

#schedule .wpcf7-list-item-label {
	display: none;
}

.wpcf7 .pref-options th,
.wpcf7 .pref-options td {
	padding: 6px 20px;
	border: 1px solid #ddd
}

.wpcf7 .pref-options .align-right {
	text-align: right;
	padding-right: 10px;
}

.wpcf7-form-control-wrap .short,
.wpcf7-form-control-wrap .mid,
.wpcf7-form-control-wrap .long {
	margin: 5px;
}

.wpcf7-form-control-wrap .short {
	width: 120px;
}
.wpcf7-form-control-wrap .mid {
	width: 180px;
}
.wpcf7-form-control-wrap .long {
	width: 240px;
}
.wpcf7-form-control-wrap .full {
	width: 780px;
}
.wpcf7-form-control-wrap .w-100 {
	width: 100%;
}
.recruit-form-head {
	margin-bottom: 10px;
}

#wpcf7-f842-p843-o1	th,
#wpcf7-f842-p843-o1	td {
	padding-left: 16px;
}
#wpcf7-f842-p843-o1 .schedule-table th,
#wpcf7-f842-p843-o1 .schedule-table td {
	text-align: center;
}

.margin-3px {
	margin:3px;
}

.large-txt {
	font-size: 20px;
}
.x-large-txt {
	font-size: 30px;
}

a.black, 
a.black:hover {
	color: #000;
}

/*中国語*/

.voice_area {
	overflow: hidden;
	border-bottom: 2px dotted #a68100;
	padding-bottom: 30px;
	margin-bottom: 30px;
}

.homepage .voice_area h4 {
	font-size: 20px;
	background: none;
	margin-top: 0;
	margin-bottom: 1em;
	padding: 0;
	clear: both;
}

.homepage .voice_area h5 {
	font-size: 18px;
	font-weight: bold;
	background: none;
	margin-top: 1em;
	padding: 0;
	clear: both;
}

.voice_area .img_box {
	float: left;
	width: 22%;
	margin-bottom: 10px;
}

.voice_area .img_box img {
	width: 100%;
}

.voice_area .text_area {
	float: right;
	width: 75%;
}

.voice_area .show-text {
	position:  relative;
}

.voice_area .show-text p {
	margin: 0;
	letter-spacing: 0.11rem;
}


.voice_area .show-text.text-ellipsis:before {
	background: none;
}

.voice_area .hide-area {
	display: none;
	clear: both;
}

.voice_area .hide-text {
	display: none;
}

.voice_area .hide-text p {
	letter-spacing: 0.11rem;
}

.voice_area .hide-img {
	float: left;
	width: 22%;
	display: none;
}

.voice_area .hide-img img {
	margin-bottom: 1em;
	width: 100%;
}

.voice_area .readmore {
	cursor: pointer;
	text-decoration: underline;
	color: #2e79c5;
	text-align: center;
	clear: both;
	z-index: 10;
	position: relative;
	padding-top: 20px;
}

.sp-item {
	display: none;
}

.sp_ab {
	float: right;
	width: 75%;
}

table td hr {
	margin-top: 10px;
	margin-bottom: 10px;
	border: 0;
	border-top: 1px solid #000;
	vertical-align: middle;
}

@media screen and (max-width: 769px) {
	.sp-item {
		display: block;
	}

	.secondpage .faq_box {
		margin-bottom: 10px;
		padding: 10px;
		border-bottom: 2px dotted #5882FA;
		position: relative;
	}

	.sp_ab {
		/*position: absolute;*/
		width: 100%;
		left: 0;
	}

	.sp_ab h5 {
		font-size: 18px;
		font-weight: bold;
		background: none;
		margin-top: 0;
		padding: 0;
		clear: both;
	}

	.voice_area .img_box {
		float: left;
		width: 40%;
	}

	.voice_area {
		box-sizing: border-box;
		padding: 0 10px;
	}

	.homepage .voice_area h4 {
		margin-bottom: 5px;
	}

	.homepage .voice_area h5 {
		margin-top: 0;
	}


	.voice_area .img_box img {
		width: 100%;
	}

	.voice_area .text_area {
		float: right;
		width: 55%;
	}

	.voice_area .show-text {
		position:  relative;
	}

	.voice_area .show-text p {
		margin: 0;
		letter-spacing: 0.11rem;
	}


	.voice_area .show-text.text-ellipsis:before {
		background: none;
	}

	.voice_area .hide-area {
		display: none;
		clear: both;
	}

	.voice_area .hide-text {
		display: none;
		width: 100%;
	}

	.voice_area .hide-text p {
		letter-spacing: 0.11rem;
	}

	.voice_area .hide-img {
		display: none;
		width: 100%;
	}

	.voice_area .hide-img img {
		margin-bottom: 1em;
		width: 50%;
	}

	.voice_area .readmore {
		cursor: pointer;
		text-decoration: underline;
		color: #2e79c5;
		text-align: center;
		margin-bottom: 20px;
		clear: both;
	}
	.youtube_top {
		position: relative;
		width: 100%;
		padding-top: 56.25%;
	}
	.youtube_top iframe {
		position: absolute;
		top: 0;
		right: 0;
		width: 100% !important;
		height: 100% !important;
	}


	.hide-img .pc-item {
		display: none;
	}

	.hide-img .sp-item {
		display: inline-block;
	}

}

/*中国語END*/

.secondpage h4.a_name {
	margin-top: 30px;
}

.secondpage .faq-pull-text-right {
	text-align: right;
	margin-top: 30px;
}

.secondpage .voice_box {
	margin-bottom: 20px;
	overflow: hidden;
	display: block;
}

.secondpage .table-condensed {
	margin-top: 30px;
}

.secondpage .faq_box {
	margin-bottom: 10px;
	padding: 5px 20px 15px 0;
	border-bottom: 2px dotted #5882FA;
	position: relative;
}

.secondpage .faq_box h5 {
	font-size: 14px;
	font-weight: normal;
	color: inherit;
	padding: 10px 0px 0px;
	margin: 0 0 10px;
}

.secondpage .faq_box p {
	margin: 0;
	padding-left: 1em;
	text-indent: -1em;
	padding-top: .5em;
}

.secondpage .faq_box .collapsed > a p:after {
	content: '▼';
	position: absolute;
	right: 0;
}

.secondpage .faq_box a p:after {
	content: '▲';
	position: absolute;
	right: 0;
}

.secondpage .faq_box .panel-title > a {
	display: block;
	cursor: pointer;
}

.secondpage .faq_box .panel-title > a:hover {
	text-decoration: none;
}

.secondpage .faq_box .wp-text {
	width: 100%;
	margin: 0 auto;
	padding: 0 10px 10px 10px;
	background: #f3f3f3;
}


.secondpage .faq_box .wp-text table{
	width: 85%;
	margin: 20px auto;
	box-sizing: border-box;
}

.secondpage .faq_box .wp-text table th {
	background: #dcdcdc;
	border: solid 1px #ccc;
}

.secondpage .faq_box .wp-text table td {
	border: solid 1px #ccc;
	padding-left: 20px;
}

.secondpage .faq_box p b, strong {
	font-weight: bold;
	font-size: 22px;
}

.secondpage .faq_box .wp-text p b, strong {
	font-weight: bold;
	font-size: 22px;
	color: #9f1d2c;
}

.homepage h2 span {
	margin-left: 15px;
	font-size: 13px;
	font-weight: normal;
}

.homepage .table-bordered {
	border: 1px solid #FFF;
}

.homepage .table-bordered td {
	border: 1px solid #FFF;
}

.homepage .table-bordered td a {
	text-decoration: none;
	color: #ffffff;
}

.homepage .manabu {
	background: #ffffff;
	text-align: center;
}

.homepage td.blue {
	background: #1700ff;
	color: #FFF;
	height: 60px;
}

.homepage td.academic {
	background: #58c8ff;
	color: #FFF;
	height: 60px;
}

.homepage td.green {
	background: #00d2a3;
	color: #FFF;
	height: 60px;
}

.homepage td.orange {
	background: #ef8838;
	color: #FFF;
	height: 60px;
}

.homepage td.purple {
	background: #d300ff;
	color: #FFF;
	height: 60px;
}

.homepage td.yellow {
	background: #d2d300;
	color: #FFF;
	height: 60px;
}

.homepage .subject_map {
	position: relative;
}

table.subject {
	width: 100%;
	border-collapse: collapse;
	position: relative;
	z-index: 1;
}

table.subject td {
	border: 1px solid #c8818a;
}

table.subject td.ae {
	height: 360px;
	font-size: 18px;
	padding-bottom: 150px;
	font-weight: bold;
	text-align: center;
}

table.subject td.teng {
	height: 200px;
	width: 100px;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
}

table.subject th {
	height: 60px;
	border: 1px solid #c8828a;
}

table.subject th:nth-of-type(1) {
	width: 50px;
	background: none;
	border: none;
}

table.subject th:nth-of-type(2) {
	width: 177px;
}

table.subject th:nth-of-type(3) {
	width: 540px;
}

table.subject th:nth-of-type(4) {
	width: 357px;
}

.homepage .subject_map a {
	color: #FFF;
	display: block;
	width: 100%;
}

.homepage .subject_map ul.gte{
	position: absolute;
	right: 0;
	top: 85px;
	padding: 0;
	font-size: 1px;
	z-index: 10;
	display: flex;
	display: flex;
	justify-content: flex-end;
}

.homepage .subject_map ul.gte li {
	display: inline-block;
	background: #1a66cc;
	color: #FFF;
	height: 65px;
	width: 171px;
	font-size: 16px;
	margin-left: 3px;
	padding-left: 1rem;
	display: flex;
	align-items: center;
}

.homepage .subject_map ul.wte {
	position: absolute;
	left: 97px;
	top: 170px;
	padding: 0;
	font-size: 1px;
	z-index: 10;
	display: flex;
}

.homepage .subject_map ul.wte li {
	display: inline-block;
	background: #5cffb0;
	color: #FFF;
	height: 65px;
	width: 350px;
	font-size: 16px;
	margin-left: 3px;
	padding-left: 10px;
	vertical-align: top;
	display: flex;
	align-items: center;
}

.homepage .subject_map ul.wte li a {
	color: #000;
}

.homepage .subject_map ul.crw {
	position: absolute;
	right: 0;
	top: 278px;
	padding: 0;
	font-size: 1px;
	z-index: 10;
	background: none;
	display: flex;
}

.homepage .subject_map ul.crw li {
	display: inline-block;
	background: #4db3ff;
	color: #FFF;
	height: 65px;
	width: 345px;
	margin-left: 3px;
	padding-left: 10px;
	font-size: 16px;
	vertical-align: top;
	display: flex;
	align-items: center;
}

.homepage .subject_map ul.crw li:first-child {
	width: 250px;
}

.homepage .subject_map ul.awde {
	position: absolute;
	right: 35px;
	top: 360px;
	padding: 0;
	font-size: 1px;
	z-index: 10;
	display: flex;
}

.homepage .subject_map ul.awde li {
	display: inline-block;
	background: #c4bd54;
	color: #FFF;
	height: 65px;
	width: 625px;
	margin-left: 3px;
	padding-left: 10px;
	font-size: 16px;
	vertical-align: top;
	display: flex;
	align-items: center;
}

.homepage .subject_map ul.lrwt {
	position: absolute;
	left: 110px;
	bottom: 100px;
	padding: 0;
	font-size: 1px;
	z-index: 10;
	display: flex;
	width: 80%;
}

.homepage .subject_map ul.lrwt li {
	display: inline-block;
	background: #9980ff;
	color: #FFF;
	height: 65px;
	width: 310px;
	margin-left: 3px;
	padding-left: 10px;
	font-size: 16px;
	vertical-align: top;
	display: flex;
	align-items: center;
}

.homepage .subject_map ul.wsp {
	position: absolute;
	right: 30px;
	padding: 0;
	bottom: 15px;
	font-size: 1px;
	z-index: 10;
	display: flex;
	width: 72%;
}

.homepage .subject_map ul.wsp li {
	display: inline-block;
	background: #82ff29;
	color: #FFF;
	height: 65px;
	width: 100%;
	margin-left: 3px;
	padding-left: 10px;
	font-size: 16px;
	display: flex;
	align-items: center;
}

.homepage .subject_map ul.wsp li a {
	color: #000;
}

img.alignright { display: block; margin: 0 0 0 auto; }
img.alignleft { display: block; margin: 0 auto 0 0; }
img.aligncenter { display: block; margin: 0 auto; }

.tube_img {
	display: inline-block;
}

.tube_img img{
	vertical-align: top;
	margin-left: 140px;
}

.voice_area {
	overflow: hidden;
	border-bottom: 2px dotted #a68100;
	padding-bottom: 30px;
	margin-bottom: 30px;
}

.homepage .voice_area h4 {
	font-size: 20px;
	background: none;
	margin-top: 0;
	margin-bottom: 1em;
	padding: 0;
	clear: both;
}

.homepage .voice_area h5 {
	font-size: 18px;
	font-weight: bold;
	background: none;
	margin-top: 1em;
	padding: 0;
	clear: both;
}

.voice_area .img_box {
	float: left;
	width: 22%;
	margin-bottom: 10px;
}

.voice_area .img_box img {
	width: 100%;
}

.voice_area .text_area {
	float: right;
	width: 75%;
}

.voice_area .show-text {
	position:  relative;
}

.voice_area .show-text p {
	margin: 0;
	letter-spacing: 0.11rem;
}


.voice_area .show-text.text-ellipsis:before {
	background: none;
}

.voice_area .hide-area {
	display: none;
	clear: both;
}

.voice_area .hide-text {
	display: none;
}

.voice_area .hide-text p {
	letter-spacing: 0.11rem;
}

.voice_area .hide-img {
	float: left;
	width: 22%;
	display: none;
}

.voice_area .hide-img img {
	margin-bottom: 1em;
	width: 100%;
}

.voice_area .readmore {
	cursor: pointer;
	text-decoration: underline;
	color: #2e79c5;
	text-align: center;
	clear: both;
	z-index: 10;
	position: relative;
	padding-top: 20px;
}

.sp-item {
	display: none;
}

.sp_ab {
	float: right;
	width: 75%;
}

@media screen and (max-width: 769px) {
	.sp-item {
		display: block;
	}

	.secondpage .faq_box {
		margin-bottom: 10px;
		padding: 10px;
		border-bottom: 2px dotted #5882FA;
		position: relative;
	}

	.sp_ab {
		/*position: absolute;*/
		width: 100%;
		left: 0;
	}

	.sp_ab h5 {
		font-size: 18px;
		font-weight: bold;
		background: none;
		margin-top: 0;
		padding: 0;
		clear: both;
	}

	.voice_area .img_box {
		float: left;
		width: 40%;
	}

	.voice_area {
		box-sizing: border-box;
		padding: 0 10px;
	}

	.homepage .voice_area h4 {
		margin-bottom: 5px;
	}

	.homepage .voice_area h5 {
		margin-top: 0;
	}


	.voice_area .img_box img {
		width: 100%;
	}

	.voice_area .text_area {
		float: right;
		width: 55%;
	}

	.voice_area .show-text {
		position:  relative;
	}

	.voice_area .show-text p {
		margin: 0;
		letter-spacing: 0.11rem;
	}


	.voice_area .show-text.text-ellipsis:before {
		background: none;
	}

	.voice_area .hide-area {
		display: none;
		clear: both;
	}

	.voice_area .hide-text {
		display: none;
		width: 100%;
	}

	.voice_area .hide-text p {
		letter-spacing: 0.11rem;
	}

	.voice_area .hide-img {
		display: none;
		width: 100%;
	}

	.voice_area .hide-img img {
		margin-bottom: 1em;
		width: 50%;
	}

	.voice_area .readmore {
		cursor: pointer;
		text-decoration: underline;
		color: #2e79c5;
		text-align: center;
		margin-bottom: 20px;
		clear: both;
	}
	.youtube_top {
		position: relative;
		width: 100%;
		padding-top: 56.25%;
	}
	.youtube_top iframe {
		position: absolute;
		top: 0;
		right: 0;
		width: 100% !important;
		height: 100% !important;
	}

	header .hidden-xs {
		display: block !important;
		width: 100%;
	}

	header .hidden-xs img {
		width: 100%;
	}
	.hide-img .pc-item {
		display: none;
	}

	.hide-img .sp-item {
		display: inline-block;
	}

}

.youtube_top {
	display: inline-block;
}

video.width {
	max-width: 100%;
	width: 100%;
}

table td hr {
	margin-top: 10px;
	margin-bottom: 10px;
	border: 0;
	border-top: 1px solid #000;
	vertical-align: middle;
}

@supports (-ms-ime-align:auto) {
	.homepage .subject_map ul.gte li {
		width: 162px;
	}
	.homepage .subject_map ul.lrwt {
		left: 163px;
	}
	.homepage .subject_map ul.lrwt li {
		width: 300px;
	}
	.homepage .subject_map ul.wte {
		left: 149px;
	}
	.homepage .subject_map ul.wsp {
		width: 68%;
	}
}

.map_top {
	width: 100%;
	max-width: 1140px;
}

@media screen and (max-width: 1200px) {
	.homepage .subject_map ul.gte li {
		display: inline-block;
		background: #1a66cc;
		color: #FFF;
		height: 65px;
		width: 138px;
		font-size: 14px;
		margin-left: 3px;
		padding-left: 1rem;
		display: flex;
		align-items: center;
	}
	table.subject th:nth-of-type(2) {
		width: 166px;
	}
	@supports (-ms-ime-align:auto) {
		.homepage .subject_map ul.gte li {
			width: 131px;
		}
		.homepage .subject_map ul.wte {
			left: 135px;
		}
		.homepage .subject_map ul.wsp {
			width: 67%;
		}
		.homepage .subject_map ul.lrwt li {
			width: 220px;
		}
	}
}

@media screen and (max-width: 991px) {
	table.subject th:nth-of-type(2) {
		width: 145px;
	}
	table.subject th:nth-of-type(3) {
		width: 550px;
	}
	table.subject th:nth-of-type(4) {
		width: 346px;
	}
	.homepage .subject_map ul.crw {
		width: 51%;
	}
	.homepage .subject_map ul.awde {
		width: 55%;
	}
	.homepage .subject_map ul.wsp {
		width: 66%;
	}
	.homepage .subject_map ul.gte li {
		display: inline-block;
		background: #1700ff;
		color: #FFF;
		height: 65px;
		width: 101.6px;
		font-size: 13px;
		margin-left: 3px;
		padding-left: 1rem;
		display: flex;
		align-items: center;
	}
	.homepage .subject_map ul.wte {
		left: 91px;
	}
	.homepage .subject_map ul.lrwt {
		width: 75%;
	}
	@supports (-ms-ime-align:auto) {
		.homepage .subject_map ul.wte {
			left: 119px;
		}
		.homepage .subject_map ul.wsp {
			width: 64%;
		}
		.homepage .subject_map ul.gte li {
			width: 97px;
		}
	}
}

.jc-item .left_box {
	float:left;
	width: 48%;
}

.jc-item .right_box {
	float:right;
	width: 48%;
}

.clear {
	clear: both;
}

.sc-item .jc-table-1 td,
.sc-item .sc-table-1 td,
.hy-item .hy-table-1 td {
	vertical-align: middle;
}

tr.double {
	border-top: double 3px #000;
	border-bottom: double 3px #000;
}

tr.double_top {
	border-top: double 3px #000;
}

.round-rect-1 .float-left {
	margin-right: 20px;
	margin-bottom: 60px;
}

.voice_right_box {
	float: right;
	width: 40%;
}

.sc-desc,
.jc-desc {
	padding: 0 15px;
	overflow: hidden;
}

.constitution {
	margin-top: 10px;
}

.sc_list {
	display: inline-block;
	float: left;
}

@media screen and (min-width: 991px) {
	table.hy-table-1,
	table.sc-table-1,
	table.jc-table-1 {
		width: 460px;
		min-width: 460px!important;
	}
}

@media screen and (max-width: 991px) {
	.hj-item .round-rect-1 ul {
		padding-left: 43%;
	}
	.sc_list {
		display: block;
		float: inherit;
	}
	ul.sc_list {
		padding-left:  0;
	}
	.voice_right_box {
		float: right;
		width: 100%;
	}
}


.header .flex_fix {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.header .flex_fix .search_form {
	margin-left: 30px;
	margin-top: 20px;
}

@media screen and (max-width: 991px) {
	.header .flex_fix {
		display: block;
	}
	.header .flex_fix .search_form {
		margin-left: 0;
		margin-top: 20px;
		margin-bottom: 20px;
		text-align: center;
	}
	.header .flex_fix .search_form input {
		border: solid 1px #ccc;
	}
}
