/* CSS Document */
@charset "utf-8";

/*html5バリデーション用*/
input[type=radio],
input[type=checkbox] {
    /*display: none; html5でバリデーションできるように変更*/
opacity: 0;
width: 1px;
}
input[type=radio]:checked + .radio:before {
  opacity: 0;/*html5でバリデーションできるように変更*/
}

input[type=radio]:checked + .radio:before {
  opacity: 1;
}

/*-- hidden　：非表示タグ用 --*/
.hidden{display:none; }

/*-- invalid 疑似クラス：エラー --*/
input[type="number"]:invalid, input[type="email"]:invalid, input[type="tel"]:invalid {
	background: #ffdddd;
}

select:required:invalid {
	background: -moz-linear-gradient(top, #ffffff 0%, #ffdddd 100%); 
background: -webkit-linear-gradient(top, #ffffff 0%, #ffdddd 100%); 
background: linear-gradient(to bottom, #ffffff 0%, #ffdddd 100%); 
}

/*-- required 必須--*/
input[type="text"]:required, input[type="number"]:required, input[type="email"]:required, input[type="tel"]:required, input[type="checkbox"]:required {
	background: #ffdddd;
}
input[type="radio"]:required + label.choicecontainer::before {
	background: #ffdddd;
}
select:required {
	background: #fff;
	background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); 
background: -webkit-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); 
background: linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%); 
}


/*-- valid  疑似クラス：正常--*/
input[type="text"]:valid, input[type="number"]:valid, input[type="email"]:valid, input[type="tel"]:valid {
	background: transparent;
} 
input[type="radio"]:valid + label.choicecontainer::before, input[type="checkbox"]:valid + label::before {
	background: transparent;
} 

/*-- valid  疑似クラス：特殊--*/
input:focus:valid + .error .invalid {
	display: none;
}


/*-- 通常スタイル　--*/



.label-text {
	margin: 5px 10px 0 0;
}
.label-text2 {　/*予備*/
	margin: 5px 5px 0 10px;
}

/*汎用*/
input[type="text"], input[type="number"], input[type="email"], input[type="tel"] {
	padding: 10px;
	font-family: "Helvetica Neue", Helvetica, Arial, Roboto, "Droid Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "游ゴシック", YuGothic, sans-serif;
	background-color: #fff;
	border: solid 1px #ccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow: inset 1px 4px 9px -6px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: inset 1px 4px 9px -6px rgba(0, 0, 0, 0.5);
	box-shadow: inset 1px 4px 9px -6px rgba(0, 0, 0, 0.5);
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
}

/*数字用*/
input[type="number"].w40{
width: 40%;
}

/*テキストエリア*/
textarea {
	padding: 10px;
	font-family: "Helvetica Neue", Helvetica, Arial, Roboto, "Droid Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "游ゴシック", YuGothic, sans-serif;
	background-color: #fff;
	border: solid 1px #ccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow: inset 1px 4px 9px -6px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: inset 1px 4px 9px -6px rgba(0, 0, 0, 0.5);
	box-shadow: inset 1px 4px 9px -6px rgba(0, 0, 0, 0.5);
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	max-width: 620px;
	min-height: 100px;
}

/*セレクト用*/
/*　装飾　下向き矢印：css  selct inputにはbeforeafter効かない為box*/
.selectWrap{
position: relative;
}
.selectWrap::before{
	z-index: 1;
	position: absolute;
	top: 1.25em;
	right: 1em;
	width: 0;
	height: 0;
	padding: 0;
	content: '';
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #3e8ddd;
	pointer-events: none;
}
.selectcontainer {
	display: block;
	font-size: 16px; /*iOSのSafariでズームインでレイアウトを拡大時バグ回避用　スマホ用cssを別で用意しない場合は変更しない*/
	font-weight: 400;
	color: #444;
	line-height: 1.3;
	padding: .6em 1.4em .5em .8em;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	border: 1px solid #aaa;
	box-shadow: 0 1px 0 1px rgba(0, 0, 0, .04);
	border-radius: 3px;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); 
background: -webkit-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); 
background: linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%); 
cursor: pointer;
}
.selectcontainer::-ms-expand {
	display: none;
}


.selectcontainer:hover,input[type="text"]:hover, input[type="number"]:hover, input[type="email"]:hover, input[type="tel"]:hover,textarea:hover {
	border-color: #3e8ddd;
}
/*ラジオボタン用*/
label.choicecontainer {
	position: relative;
	display: inline-block; 
	padding: 3px 0 3px 24px; 
	cursor: pointer;
}
label.choicecontainer::before {
	position: absolute;
	content: '';
	left: 2px;
	top:5px;
	width: 18px;
	height: 18px;
	background: #fff;
	border: 1px solid #aaa;
	border-radius: 100%;
}
.choicecontainer {
	margin-right: 10px;
}
input[type="radio"]:checked + label.choicecontainer::after {
	position: absolute;
	content: '';
	left: 6px;
	top:5px;
	width: 10px;
	height: 10px;
	margin-top: 4px;
	background: #3e8ddd;
	border-radius: 100%;
}

.choicecontainer label {
	display: inline-block;
}
.choicecontainer label {
	position: relative;
	display: inline-block;
	padding: 3px 3px 3px 30px;
	cursor: pointer;
}
.choicecontainer label::before {
	position: absolute;
	content: '';
	left: 5px;
	width: 18px;
	height: 18px;
	background: #fff;
	border: 1px solid #ccc;
	background: #ffcdd2;
}

/*チェックボックス用*/

/*input[type="checkbox"]:checked + label::after {
	position: absolute;
	content: '';
	top: 5px;
	left: 7px;
	width: 20px;
	height: 8px;
	border-left: 5px solid #3498db;
	border-bottom: 3px solid #3498db;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}*/


/*ラジオボタン、チェックボックスホーバー*/
input[type="radio"]:hover + label.choicecontainer::before,
input[type="checkbox"]:hover + label::before{
border-color: #3e8ddd;
}





/*入力後のハイライト　スタイル最後に入れる*/
input[type='text']:focus::after {
	background: none;
}
input[type='number']:focus::after {
	background: none;
}
/*クリック時のハイライト　スタイル最後に入れる*/
input[type="text"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {
	border: solid 1px #3e8ddd;
	box-shadow: 0 0 5px 1px rgba(52, 141, 221, .5);
}
.selectcontainer:focus {
	box-shadow: 0 0 5px 1px rgba(52, 141, 221, .5);
	box-shadow: 0 0 5px 1px -moz-mac-focusring;
	border: solid 1px #3e8ddd;
	color: #222; /*検討予定*/
	outline: none;
}
input[type="radio"]:focus + label.choicecontainer::before {
	border: solid 1px #3e8ddd;
	box-shadow: 0 0 5px 1px rgba(52, 141, 221, .5);
}
input[type="checkbox"]:focus + label::before {
	border: solid 1px #3e8ddd;
	box-shadow: 0 0 5px 1px rgba(52, 141, 221, .5);
}


/* submitボタン*/
input[type="submit"] {
	-webkit-appearance: none; /*スタイルリセット*/
	text-decoration: none;
	font-size: 1.8rem;
	margin-bottom: 5px;
	display: inline-block;
	padding: 10px 40px;
	cursor: pointer;
	border: 1px solid #5ca7f3;
	background-color: #5ca7f3;
	background-image: -webkit-linear-gradient(top, #5ca7f3 0%, #3e8ddd 100%);
	background-image: linear-gradient(to bottom, #5ca7f3 0%, #3e8ddd 100%);
	border-radius: 3px;
	color: #fff;
	-webkit-transition: none;
	transition: none;
	text-shadow: 0 1px rgba(0, 0, 0, 0.3);
	
}
input[type="submit"]:hover {
	border: 1px solid #7db9f5;
	background-color: #7db9f5;
	background-image: -webkit-linear-gradient(top, #7db9f5 0%, #5ca7f3 100%);
	background-image: linear-gradient(to bottom, #7db9f5 0%, #5ca7f3 100%);
}
input[type="submit"]:active {
	background: #3e8ddd;
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, .2);
	text-shadow: 0 1px 1px rgba(255, 255, 255, .5);
}

/*戻るボタン*/
input[type="button"] {
	-webkit-appearance: none; /*スタイルリセット*/
	text-decoration: none;
	font-size: 1.4rem;
	margin-bottom: 5px;
	margin-right: 20px;
	display: inline-block;
	padding: 5px 10px;
	cursor: pointer;
	border: 1px solid #c4beb6;
	background-color: #c4beb6;
	background-image: -webkit-linear-gradient(top, #eee 0%, #c4beb6 100%);
	background-image: linear-gradient(to bottom, #eee 0%, #c4beb6 100%);
	border-radius: 3px;
	color: #333;
	-webkit-transition: none;
	transition: none;
	
}
input[type="button"]:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
}
input[type="button"]:active {
	background: #c4beb6;
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, .2);
	text-shadow: 0 1px 1px rgba(255, 255, 255, .5);
}


/*姓名レイアウト用*/
.nameItem1 ,.nameItem2 {
position:relative;
}
.nameItem1 label,.nameItem2 label{
	position:absolute; 
	margin: 0;
	color: #777;
top: .4em;
	left: 1em;
	}
	
	.nameItem1 input,.nameItem2 input {
	padding-left: 3em;
	}

input[type="number"] {
 -moz-appearance:textfield;　/*firefox 2回目：数字入力のプレースホルダ非表示*/	
}
input[type="number"]:hover,
input[type="number"]:focus {
    -moz-appearance: textfield; /*firefox 数字入力のプレースホルダ非表示*/	
}


.eduFormBox{box-sizing:border-box;margin-top:30px;font-size:1.2rem;line-heigth:1.4rem;}
.mktoForm{width:722px;}
.mktoForm input,.mktoForm textarea{width:300px !important;}
.mktoForm #LblemailPermissionStatus{width:600px !important;}
.mktoForm .mktoButton {
display:inline-block;
margin-top:15px !important;
    color: #fff;
    border: 1px solid #a3bee2;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #779dd5;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#779dd5), to(#5186cb));
    background-image: -webkit-linear-gradient(top, #779dd5, #5186cb);
    background-image: -moz-linear-gradient(top, #779dd5, #5186cb);
    background-image: linear-gradient(to bottom, #779dd5, #5186cb);
    padding: 0.4em 1em;
    font-size: 1em;
}
.mktoForm input[type=checkbox] + label:before, .mktoForm input[type=radio] + label:before {
    content: "";
    position: absolute;
    width: 1em;
    height: 1em;
    margin-left: -22.5em;
	/*margin-left: -1.5em;*/
    line-height: 1em;
    background-color: #fff;
    box-shadow: inset 1px 1px 4px 1px #ddd;
    font-family: Arial, sans-serif;
    font-size: 13px;
    border: 1px solid #aeb0b6;
}
.mktoForm input[type=checkbox]:checked + label:before {
    content: "\2713 ";
}


@media(max-width:480px){
.eduFormBox{font-size:1.6rem !important;}
.mktoForm .mktoLabel {line-height:1.8em !important;}
.mktoForm{width:100%;}
.mktoForm input,.mktoForm textarea{width:100% !important;}
.mktoForm #LblemailPermissionStatus{width:100% !important;}
.mktoForm input[type=checkbox] + label:before, .mktoForm input[type=radio] + label:before {margin-left:-16.5em;}
}

