/* Themify Customize Styling */
#headerwrap {	background: none;
	background-color: #c8102e;
	background-repeat: no-repeat;
	padding-bottom: 10px; 
}
#header {	background-image: none;
	font-family:Arial, Helvetica, sans-serif;	font-weight:bold;
	font-size:130%;
 
}
#header a {	
	color: #f2f216; 
}
#header a:hover {	
	color: #ffffff; 
}
#site-description {	display: none; 
}
#footerwrap {	background: none;
	background-color: #c8102e;
	padding-left: 10px; 
}
#footer {	
	color: #ffffff; 
}

/* Themify Custom CSS */
h3.midashi{
	font-size:1.3em;
	margin:0;
}
h3.module-title{
	margin:0;
}
.mobile_menu_active #header #searchform {display:none;}
.social-widget div.rss {
    display: none;
}
#site-logo{
	width:280px;
	height:80px;
}
#site-logo span{
	display:none;
}
.mobile_menu_active .mobile-button {
	margin-top:-39px;}
.mobile_menu_active .social-widget {display:none;}

div#media_image-2.widget .widget_media_image{
	margin-left:30px;
}
.formTable td, .formTable th{
	padding:10px;
	border:1px solid #ccc;
	
}

.formTable{
	margin:0 auto;
	border-collapse:collapse;
	border-spacing:0;
}

.formTable th{
	background:#ffd65c;
	text-align:left;
	white-space: nowrap;
}


.formTable span.require{
	color:#F00;
}


/*fair2017.css*/

a .g1:hover{
	background:url(http://www.spain-ryugaku.jp/img/fair2014/images/g1_on.jpg);
}

#schoolwrap{
	margin:10px;
}
.school_l{
	float:left;
}
.school_fuchi{
	border-bottom:3px solid #c01700;
	border-left:3px solid #c01700;
	border-right:3px solid #c01700;
	margin:0 3px 10px 4px;
	padding:5px;
	text-align:center;
}

.tokutenhyo{
	line-height:1.5;
	width: 100%;
}

.tokutenhyo th{
	font-size:1.0em;
}
.tokutenhyo th, .tokutenhyo td{
	padding:5px;
	text-align: center;
	/*border: 1px solid #ccc;*/
	
}
.jyouken{
	font-size:0.95em;
	border-bottom:2px solid #fff;
	padding:0 0 0 5px !important;
	font-weight:bold;
	width:38%;
}

.jyouken span, .tokuten span {
	font-weight:700!important;
}

.tokuten{
	font-weight:bold;
	color:#F00;
	font-size: 0.95em;
}

/* 条件（N週間以上の予約：）と特典を1行で並べる */
.tokutenhyo .jyouken{
	width:50%;
	color:#000;
	text-align:right;
}
.tokutenhyo .jyouken + .tokuten{
	text-align:left;
}

/* 特典が1行だけの枠は、枠の高さに対して上下中央に置く */
.scholar_center_col{
	flex-direction:column !important;
	flex-wrap:nowrap !important;
}
.scholar_center_col > .tb-column-inner{
	flex:1;
	display:flex;
	flex-direction:column;
}
.scholar_center_col .module-text{
	flex:1;
	display:flex;
	align-items:center;
	/* 2行の枠と同じ高さにそろえる（クリックのように隣に枠がない場合用） */
	min-height:124px;
}

/* 奨学金の枠内、テキストの周りに余白をとる */
.module-text > .tokutenhyo{
	margin:14px 0;
}
.tokutenhyo .jyouken,
.tokutenhyo .tokuten{
	padding-top:6px !important;
	padding-bottom:6px !important;
}

/* 奨学金の内容（条件・特典）の文字を大きくする */
.tokutenhyo .jyouken,
.tokutenhyo .tokuten{
	font-size:1.4em;
}
/* SPは横並びだと特典が折り返すため、条件の下に特典を置いて中央にそろえる */
@media screen and (max-width: 680px){
	.tokutenhyo .jyouken,
	.tokutenhyo .tokuten{
		font-size:1.2em;
	}
	.tokutenhyo .jyouken,
	.tokutenhyo .jyouken + .tokuten{
		display:block;
		width:auto;
		text-align:center;
	}
	.tokutenhyo .jyouken{
		border-bottom:0;
		padding-bottom:0 !important;
	}
	.tokutenhyo .jyouken + .tokuten{
		padding-top:2px !important;
	}
}

/* TOP奨学金欄: エクスパニッシュの文言下にもPCで他校と同じ余白をとる（SPは生成CSSで25px） */
@media screen and (min-width: 681px){
	.themify_builder .text-24-0-1-9.module-text{
		padding-bottom:15px;
	}
}

/* 参加校ページ: 各校の「学校詳細はこちら」の下の余白をそろえる */
.school_detail_link{
	padding-bottom:19px;
}
/* 参加校ページ: マラビーヤスのロゴ欄の余白を他校（エクスパニッシュ等）とそろえ、写真と本文の開始位置を合わせる */
.themify_builder .text-745-3-0-2.module-text{
	padding:5px;
}
/* 参加校ページ(SP): 各校ボックス内の左右に余白をとる（先頭の学校名の帯は枠いっぱいのまま） */
@media screen and (max-width: 680px){
	.themify_builder_content-745 .col4-2 .tb-column-inner > .module:not(:first-child){
		margin-left:10px;
		margin-right:10px;
	}
}

.scholar_deadline{
	margin:10px 0 0;
	padding:0;
	font-size:1.6em;
	font-weight:bold;
	text-align:center;
	color:#000;
}

.ninnzuu{
	font-size:0.95em;
	text-align: center;
}


.photo{
	margin:5px 15px 10px 5px;
}
.school_r{
	width:460px;
	float:right;
}
.fairPoint{
	width:920px;
	font-size:16px;
	margin:0 auto;

}
.y_bg{
	background:#FFe;
	padding:10px 20px;
	width:850px;
	text-align:left;
	line-height:30px;
	margin:0 auto 20px;
	font-weight:bold;
	font-size:14px;
	color:#666;
	
	border-bottom:#FCC 1px dotted;
	border-left:#FCC 1px dotted;
	border-right:#FCC 1px dotted;
}
.pointText{
	float:left;
}
.pointPhoto{

	float:right;
}

.fairSeminarWrap{

	margin:0 auto;
	text-align:left;
}
.fairH3{
	font-size:1.3em;
	color:#c60b1e;
	text-decoration:underline;
	font-weight:bold;
	margin-bottom:5px;

	}
.fairSeminar{
	width:850px;
	margin:20px auto;
	font-size:14px;
	line-height:25px;
}

h4{
	text-align:left;
	font-weight:bold;
}

.schoolPoint{
	border-left:3px solid #0051a8;
	border-right:3px solid #0051a8;
	margin:0 3px 0 4px;
	padding-top: 5px;

}
.sPoint{
}
.sPoint h4{
	font-size: 110%;
	width: 460px;
}
.sLogo{
	float:left;
	margin:0 10px 5px;
}
.sComment{
	border-bottom:3px solid #0051a8;
	border-left:3px solid #0051a8;
	border-right:3px solid #0051a8;
	margin:0 3px 10px 4px;
	padding:5px;
	text-align:left;
	height:580px;
}
.sComment p{
	font-size:110%;
	line-height: 170%;
}

.sCommentShort{
	border-bottom:3px solid #0051a8;
	border-left:3px solid #0051a8;
	border-right:3px solid #0051a8;
	margin:0 3px 10px 4px;
	padding:5px;
	text-align:left;
	height:564px;
}
.sCommentShort p{
	font-size:110%;
	line-height: 170%;
}


.sCommentLong{
	border-bottom:3px solid #0051a8;
	border-left:3px solid #0051a8;
	border-right:3px solid #0051a8;
	margin:0 3px 10px 4px;
	padding:5px;
	text-align:left;
	height:600px;
}
.sCommentLong .youtube{
	margin-top:10px ;
	margin-bottom:10px;
	margin-left:8px;
}
.sComment .youtube{
	margin-top:10px ;
	margin-bottom:10px;
	margin-left:8px;
}

.sCommentShort .youtube{
	margin-top:10px ;
	margin-bottom:10px;
	margin-left:8px;
}

h1,h2,h3{
	margin:0 !important;
	padding:0 !important;
	height:auto !important;
	background:none !important;
	width:100% !important;
	text-indent:0 !important;
}
h2{
	text-align:center;
}
.fairForm{
	text-align:left;
	margin:30px auto 20px;
}
.formTable{
}
fieldset{
}
/*voice*/

.fair_voice{
	margin:20px 200px;
	clear: both;
}
.voice_left{
	float:left;
	margin-right:5px;
	margin-bottom:10px;
}
.voice_right{
	float:right;
	margin-left:5px;
	margin-bottom:10px;
}
.zannen_p{
	margin: 0 130px 40px;
}

.formBtn{
	margin-top: 20px;
}
p{
	margin:0;
}
input[type=text], input[type=search], input[type=email], input[type=url] {
	margin-top:6px;
	margin-left:5px;
	margin-bottom:10px;
}
input#touroku_name1.inputText.inputTextShortest,input#touroku_name2.inputText.inputTextShortest{
	margin-right: 30px;
}
@media screen and (min-width: 681px){
br.br-sp{display: none;}
}
@media screen and (max-width: 680px){
br.br-pc{display: none;}
}
input[type="submit"] {
  -webkit-appearance: none;
  padding:0px 20px;
  line-height:47px;
  text-align:center;
  margin:10px auto;
  background:url(http://spain-ryugaku.jp/sp/img/base/submitBg.jpg) repeat-x;
  height:47px;
  color:#FFF;
  border-radius:5px;
  border:1px solid #ccc;
  font-weight:bold;
  font-size:1.05em;
}

@media screen and (max-width: 680px)
{.formBtn{
	margin:0 auto;
}
}
@media screen and (max-width: 680px)
{fieldset{
	width:100%;
	margin:0 auto;
	border-radius: 7px;      
    -webkit-border-radius: 7px;   
    -moz-border-radius: 7px;
	}}
@media screen and (max-width: 680px)
{
.formTable td, .formTable th{
	padding:10px 0px 10px 3px ;
	border:1px solid #ccc;
}}
@media screen and (max-width: 680px)
{
.inputTextShort, .inputTextLong, textarea{
	width:87%;
	}}
@media screen and (max-width: 680px)
{
.formTable{
	font-size:12px;
	width:98%;
	margin:0 auto;
	border-collapse:collapse;
	border-spacing:0;
	}
.formTable th{
	background:#ffd65c;
	text-align:left;
	width: 28%;
	padding-right: 2px;

	/*white-space: nowrap;*/
}}

@media screen and (max-width: 680px){
.formTable span.require{
	color:#F00;}}
@media screen and (max-width: 1200px){
#pagewrap {
	max-width: 100%;}}

#header #searchform #s {display:none;}
#header #searchform {
	display:none;}
/*
#main-nav a {
    border-color: #ffffff;
}

#main-nav > li > a {
    color: #ffffff;
}
#main-nav a {
    background: none;
    background-color: rgba(255,255,255,0.24);
}*/

div.image-wrap a:hover {
    background-color: rgba(255,255,255,0.24);
}	
@media screen and (min-width: 681px){
img.wp-post-image.wp-image-474 {
		display: none;}
img.wp-post-image.wp-image-493 {
		display: none;}	
img.wp-post-image.wp-image-496 {
		display: none;}		
}
@media screen and (max-width: 680px){
img.wp-post-image.wp-image-179 {
		display: none;}
img.wp-post-image.wp-image-180 {
		display: none;}
img.wp-post-image.wp-image-204 {
		display: none;}
}
@media screen and (max-width: 680px){
.full_width
.themify_builder_row .row_inner {
    max-width: 100%;
}
	.f_point_p{
		padding-top:10px;
		padding-left:10px;
		padding-right:8px;
		text-align:left;
		font-size:1.3em;
		line-height:1.6em;
	}
	span.fform_sc_sp{
		display:block;
		text-indent:1.6em;
	}
	p.fform_p{
		text-align:left;
		margin-left:1%;
		font-size:1.1em;
		line-height:1.3em;
	}	
	p.fform_p2{
		text-align:left;
		margin-left:1%;
		font-size:1.1em;
		line-height:1.3em;
		margin-bottom:10px;
	}	
	.themify_builder .buttons-24-0-1-12 div.module-buttons{
		background-color:white;
	}
	span.kome_sp{display:block;
	text-indent:1em;}	
	span.dore_sp{display:block;
	text-indent:4em;}		
}
@media screen and (min-width: 681px){
.f_point_p{
		padding-top:10px;
		padding-left:6px;
		text-align:left;
		font-size:14px;
		line-height:21px;
	}
p.fform_p{
		text-align:left;
		margin-left:24%;
		font-size:1.3em;
		line-height:1.4em;
	}	
	p.fform_p2{
		text-align:left;
		margin-left:24%;
		font-size:1.3em;
		line-height:1.4em;
		margin-bottom:10px;
	}	
}

/* スマホ用の非表示クラス */
@media screen and (max-width: 680px){
	.hidden-mobile {
		display: none !important;
	}
}