/* =========================================================
■ お問合せ
id=scr_contact
をつけて利用
========================================================= */
/******---共通目次---*****/
/* CSS Document */


A:link {COLOR: #000000; TEXT-DECORATION: none}
A:visited {COLOR: #000000; TEXT-DECORATION: none}
A:hover {COLOR: #000000; TEXT-DECORATION: none}
A:active {COLOR: #000000; TEXT-DECORATION: none}


/**----------h1について----------**/
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
	font-style: normal;
	font-weight: bold;
	font-size: 100%;
}
ul {
	list-style-type: none;
}


/*===================================
    お問い合わせ用CSS
=======================================*/

/**----------テーブル---------**/
#scr_contact table{
	width:100%;
	max-width:700px;
	line-height: 150%;		
	margin:0 auto 60px;
	border-collapse: separate;
	border-spacing:0 5px;
}

#scr_contact table caption{
	font-weight: bold;
}

#scr_contact table th{
	padding:0;
	width: 20%;
	text-align: left;
	padding-left:20px;
	vertical-align: middle;
	border-bottom:1px solid #ccc;
}

#scr_contact table td{
	padding:5px 1% 5px 2%;
	vertical-align: middle;
	border-bottom:1px solid #ccc;
}
#scr_contact table td.cmnt{
	height:180px;
}
#scr_contact .td_attention {
	display:inline-block;
	font-size:15px;
	padding-left:7px;
}
@media (max-width: 480px) {
	#scr_contact table {
		margin-bottom:50px;
	}
}

/**----------フォーム文字余白---------**/
#scr_contact input[type="text"], select, textarea {
	border:0;
	background-color: #fff;
	padding:5px 2%;
	color:#000000;
	border:solid 1px #ccc;
	width:100%;
	box-sizing:border-box;
	font-size:16px;
	line-height:1.8em;
}
#scr_contact select{
	padding:7px 2%;
}
#scr_contact select option {
	font-size:16px;
}
#scr_contact .font_sty {
	font-size:16px;
}
#scr_contact table span.addrno input{
	padding:5px 5px;
	font-size:14px;
}
#scr_contact table input.w_l{
	max-width:100%;
}
#scr_contact table input.w_m{
	max-width:350px;
}
#scr_contact table input.w_m2{
	max-width:90%;
}
#scr_contact table input.w_s{
	max-width:200px;
}
#scr_contact table input.w_ss{
	max-width:100px;
}
#scr_contact table input.w_sss{
	max-width:80px;
}
#scr_contact table textarea{
	max-width:600px;
}
#scr_contact table select.uketuke{
	max-width:100px;
}
#scr_contact table select.area{
	max-width:130px;
}
#scr_contact table select.select_s {
	max-width:70px;
}

#scr_contact input#postcode,
#scr_contact select#address1,
#scr_contact input.mb_space {
	margin-bottom:10px;
}
/**----------メッセージ---------**/
#scr_contact .form_msg{
	width: 96%;
	max-width:840px;
	margin: 10px auto;
	text-align: left;
}
/**----------送信---------**/
#scr_contact .send{
	width: 96%;
	max-width:840px;
	text-align: center;
}

/**----------テーブルinチェックボックスとラジオボタンを大きく---------**/
#scr_contact table  input[type=checkbox] {
	display: none;
}
#scr_contact table .checkbox {
	/*width:30.33%;
	min-width:185px;*/
	box-sizing: border-box;
	-webkit-transition: background-color 0.2s linear;
	transition: background-color 0.2s linear;
	position: relative;
	display: inline-block;
	margin: 4px 0 4px 0;
	padding: 7px 10px 5px 42px;
	border-radius: 8px;
	background-color: #fff;
	vertical-align: middle;
	cursor: pointer;
}
#scr_contact table .checkbox_w1 {
    width:230px;
}
#scr_contact table td.inputbtn_txt .checkbox {
	width:150px;
	min-width:100px;
	margin:0 auto 10px 0;
	font-size:17px;
	border:1px solid #ccc;
}
#scr_contact table td.inputbtn_txt2 .checkbox {
	width:180px;
	margin-right:10px;
}
#scr_contact table tr td.inputbtn_txt .checkbox:last-child {
	margin-bottom:0;
}
#scr_contact table td.inputbtn_txt span {
	display: inline-block;
	box-sizing:border-box;
	width: calc(100% - 170px);
	font-size:15px;
	padding-left:10px;
}

#scr_contact table .checkbox:hover {
	background-color: #eee;
}
#scr_contact .checkbox:hover:after {
	border-color: #53b300;
}
#scr_contact table .checkbox:after {
	-webkit-transition: border-color 0.2s linear;
	transition: border-color 0.2s linear;
	position: absolute;
	top: 50%;
	left: 15px;
	display: block;
	margin-top: -10px;
	width: 16px;
	height: 16px;
	border: 2px solid #bbb;
	border-radius: 6px;
	content: '';
}

#scr_contact table .checkbox:before {
	-webkit-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
	position: absolute;
	top: 50%;
	left: 21px;
	display: block;
	margin-top: -7px;
	width: 5px;
	height: 9px;
	border-right: 3px solid #53b300;
	border-bottom: 3px solid #53b300;
	content: '';
	opacity: 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
#scr_contact table input[type=checkbox]:checked + .checkbox:before {
	opacity: 1;
}

#scr_contact .radio1 input[type=radio]{
	display: none;
}
#scr_contact .radio1 label{
	display: inline-block;
	position: relative;
	cursor: pointer;
	margin-left: 10px;
	margin-right:10px;
	padding: 10px 20px;
	border-radius: 2px;
	text-align: center;
	line-height: 1;
}

#scr_contact .radio1 label:before{
	position: absolute;
	content: "";
	top: 50%;
	left: -10px;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	background: #bdc3c7;
	border-radius: 50%;
}

#scr_contact .radio1 input[type="radio"]:checked + label:after {
	position: absolute;
	content: "";
	top: 50%;
	left: -4px;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-radius: 50%;
	background:#53b300;
}
@media (max-width: 768px) {
	#scr_contact table td.inputbtn_txt span {
		font-size:14px;
	}
}
@media (max-width: 480px) {
	
}
@media (max-width: 414px) {
	#scr_contact table td.inputbtn_txt .checkbox {
		width:140px;
	}
	#scr_contact table td.inputbtn_txt span {
		width:calc(100% - 140px);
	}
}



/**----------必須マーク---------**/
#scr_contact .marker_water {
	display:block;
	width:40px;
	margin:5px auto 0;
	text-align:center;
	padding:2px 0 5px;
	font-size:11px;
	color:#fff;
	line-height:1.2em;
	background:#7aba3e;
	border-radius:5px;
}
#scr_contact .inputbtn_txt_come {
	margin-top:10px;
	display:inline-block;
	font-size:15px;
}
@media (max-width: 768px) {
	#scr_contact .inputbtn_txt_come {
		font-size:14px;
	}
}
@media (max-width: 480px) {
	#scr_contact .inputbtn_txt_come {
		font-size:13px;
	}
}
/**----------エラー---------**/
#scr_contact #err_message_top{
	color:#D91C1D;
	width: 100%;
    max-width: 700px;
    margin: 20px auto 5px;
    padding: 5px 10px;
	text-align:center;
}
/**----------必須エラー---------**/
#scr_contact .d_error {
	text-align:left;
	font-weight:normal;
	color:#D91C1D;
}
#scr_contact .d_error img{
	margin-bottom:-0.2em;
}


@media (max-width: 1100px) {
}
@media (max-width: 768px) {
	#scr_contact table th {
		width:135px;
	}
	.td_attention {
		font-size:14px;
	}
	#scr_contact table .checkbox {
		min-width:173px;
	}
	
}


@media (max-width: 540px) {
	#scr_contact table {
		border-collapse: collapse;
		border-spacing:0;
		border-top:1px solid #ccc;
	}
	#scr_contact table th {
		display:block;
		width:100%;
		box-sizing:border-box;
		text-align:center;
		padding:10px 0;
		border-right:none;
		background: #efefef;
	}
	#scr_contact table td {
		display:block;
		width:100%;
		box-sizing:border-box;
		padding:23px 2% 25px;
	}
	#scr_contact .marker_water {
		display:inline-block;
		margin:0 0 0 10px;
	}
}
@media (max-width: 480px) {
	#scr_contact .td_attention {
		font-size:13px;
		padding-left:0;
	}
	#scr_contact table .checkbox:after {
		left:10px;
	}
	#scr_contact table .checkbox:before {
		left:16px;
	}
	#scr_contact table .checkbox {
		padding-left:35px;
		min-width:160px;
	}
	#scr_contact .marker_water {
		font-size:10.5px;
	}
}

/**----------　ボタン　---------**/

#scr_contact .dl_btn {
	margin:60px auto;
	width:100%;
	text-align:center;
}
#scr_contact .dl_btn p {
	display:inline-block;
	margin:0 27px;
}
#scr_contact .button a {
    display: inline-block;
	width:250px;
	height:50px;
	text-align:center;
	box-sizing:border-box;
	border:1px solid #666;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
	font-size:21px;
	letter-spacing:2px;
	padding-top:4px;
	color:#666!important;
    line-height: 2.0em;
}
#scr_contact .button a:hover {
	border:1px solid #000;
	color:#ccc!important;
}
#scr_contact .button a:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f8f8f6;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
#scr_contact .button.button1 a:before {
	background: url(../item/bg_btn.png) repeat center top;
}
#scr_contact .button a:hover:before, 
#scr_contact .button a:active:before,
#scr_contact .button span:hover:before, 
#scr_contact .button span:focus:before, 
#scr_contact .button span:active:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}
#scr_contact .button a img + img,
#scr_contact .button span img + img {
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0 !important;
	-webkit-transition: all ease 0.5s;
	-o-transition: all ease 0.5s;
	transition: all ease 0.5s;
}
#scr_contact .button a:hover img,
#scr_contact .button a.active img,
#scr_contact .button span:hover img {
	opacity: 0;
}
#scr_contact .button a:hover img + img,
#scr_contact .button a.active img + img,
#scr_contact .button span:hover img + img {
	opacity: 1 !important;
}

#scr_contact .button a.txt_s{
	font-size: 18px;
	padding-top: 6px;
}

@media (max-width: 768px) {
	#scr_contact .button a {
		font-size:18px;
		padding-top:6px;
	}
}
@media (max-width: 480px) {
	#scr_contact .dl_btn {
		margin-top:0;
	}
	#scr_contact .button a {
		font-size:16px;
		width:270px;
		padding-top:8px;
	}
}
