@charset "utf-8";
/* ===================================================================
CSS
 file name  :  form.css
=================================================================== */
/*チェックボックス基本カスタマイズ*/
input[type="checkbox"],
input[type="radio"]{
	opacity:0;
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
}
label.check,
label.radio{
	position: relative;
	display: block;
	word-break: break-all;
	line-height: 1.4;
}
label.check input[type="checkbox"] + span,
label.radio input[type="radio"] + span{
	position: relative;
	padding: 0 10px 0 30px;
}
label.check.check_only {
	line-height: 1.0;
}
label.check.check_only input[type="checkbox"] + span{
	padding: 0 0 0 0;
}
label.check span,
label.radio span{
	display: inline-block;
}
label.check input[type="checkbox"],
label.radio input[type="radio"]{
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
}
/*チェックボックス*/
label.check input[type="checkbox"] + span::before,
label.check input[type="checkbox"] + span::after {
	position: absolute;
	top: 0;
	left: 0;
	display: inline-block;
	content: '';
	box-sizing: border-box;
}
label.check input[type="checkbox"] + span::before {
	z-index: 0;
	background-color: #FFF;
	width: 18px;
	height: 18px;
	border: 1px solid #A5A5A5;
	border-radius: 3px;
}
label.check input[type="checkbox"] + span::after {
	z-index: 1;
	margin: 3px 6px;
	width: 6px;
	height: 10px;
}
label.check input[type="checkbox"]:checked + span::before {
	background-color: #202466;
	border: 1px solid #202466;
}
label.check input[type="checkbox"]:checked + span::after {
	border: 2px solid #fff;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
/*ラジオボタン*/
label.radio input[type="radio"] + span::before {
	position: absolute;
	display: inline-block;
	content: '';
	box-sizing: border-box;
	border-radius: 20px;
}
label.radio input[type="radio"] + span::before {
	z-index: 0;
	top: 0;
	left: 0;
	background-color: transparent;
	width: 18px;
	height: 18px;
	border: 1px solid #A5A5A5;
}
label.radio input[type="radio"]:checked + span::before {
	border: 6px #202466 solid;
}
/*セレクトボックス基本カスタマイズ*/
.select_wrap{
	position: relative;
	display: inline-block;
}
.select_wrap::after {
	content: '';
	width: 10px;
	height: 10px;
	border: 0px;
	border-bottom: solid 1px #202466;
	border-right: solid 1px #202466;
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	top: 50%;
	right: 15px;
	margin-top: -6px;
	z-index: 2;
}
.select_wrap .select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	position: relative;
	z-index: 1;
	padding: 0.5em 40px 0.5em 0.7em;
	border: 1px solid #A5A5A5;
	background: #FFF;
	color: #333;
	border-radius: 2px;
	cursor: pointer;
}
select::-ms-expand {
	display: none;
}
/*テキスト系基本カスタマイズ*/
input[type="text"],input[type="email"],input[type="tel"],input[type="password"],textarea{
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	border: 1px solid #A5A5A5;
	border-radius: 2px;
	padding: 0.5em 0.7em;
	width: 100%;
    position: relative;
}
/* =====================================
フォーム
======================================== */
.form_wrap{
	margin: auto;
	max-width: 980px;
	padding: 70px 50px 0 50px;
}
.required{
	color: #BE2D1B;
	font-size: 1.4rem;
	margin-left: 1em;
}
.form_table{
	width: 100%;
	border-top: 1px solid #CCCCCC;
	line-height: 1.8;
    margin-top: 30px;
}
.form_table th{
	width: 100%;
    display: block;
	text-align: left;
	padding: 20px 0 0;
	position: relative;
}
.form_table td{
	width: 100%;
    display: block;
	border-bottom: 1px solid #E5ECF6;
	padding: 20px 0;
}
.form_table ul.list li:not(:first-child){
    margin-top: 1em;
}
.form_table .form_attemtion{
    font-weight: normal;
	color: #BE2D1B;
}
.form_table .width_select{
    width: 100%;
}
.agree_comment{
    margin-top: 10px;
}
.form_btn_area{
    margin: 50px auto auto;
	max-width: 480px;
}
.form_btn_area .btn_wrap{
	width: 100%;
    border-radius: 5px;
	background: #BE2D1B;
    border-bottom: 5px solid #882215;
	transition: all .3s;
}
@media print, screen and (min-width: 769px) {
    .form_btn_area .btn_wrap:hover{
        background: #951000;
        border-bottom: 5px solid #670B00;
    }
}
.form_btn_area .btn_wrap input[type="submit"]{
	text-decoration: none;
	display: block;
    border-radius: 5px;
	background: none;
	padding: 1.2em 1em;
	text-align: center;
    font-size: 2.0rem;
	color: #FFF;
	font-weight: bold;
	width: 100%;
	line-height: 1;
}
.thanks_txt{
	border: 1px solid #CCC;
	padding: 3em 5em;
}
.thanks_txt .top_btn_area{
	margin: 50px auto auto;
	max-width: 480px;
}
@media screen and (max-width: 768px) {
    .form_wrap{
        padding: 30px 0 0 0;
    }
    .required{
        font-size: 1.2rem;
    }
    .form_table{
        margin-top: 20px;
    }
    .form_table td{
        padding: 10px 0 20px 0;
    }
    .form_btn_area{
        margin: 30px auto auto;
    }
    .form_btn_area .btn_wrap input[type="submit"]{
        font-size: 1.4rem;
    }
}