@charset "UTF-8";

.thanks .btn_close{
    text-align: center;
    margin-top: 3em;
} 

.form_kakunin .tbl_form td {
	vertical-align: middle;
}
    
/* 入力フォーム
--------------------------------------------------------------------*/
.required {
	display: inline-block;
	color: #FFF;
	font-family: "Hiragino Kaku Gothic ProN","游ゴシック","Yu Gothic","Hiragino Sans",Meiryo,sans-serif;
	font-size: 60%;
	letter-spacing: .1em;
	line-height: 1;
	background-color: #b05f5f;
	box-sizing: border-box;
	border-radius: 5px;
	padding: .3em .7em;
	vertical-align: .2em;
	margin-left: .5em;
}
/* テーブル */
.tbl_form {
	width: 100%;
	font-size: 126%;
	font-family: "Noto Serif JP", serif;
	font-weight: 400;
	font-style: normal;
	line-height: 1.6;
}
.tbl_form tr:nth-child(odd) {
	background: #faf9f8;
}
.tbl_form th {
	width: 30%;
	text-align: left;
	font-weight: 400;
	letter-spacing: .1em;
	vertical-align: top;
	white-space: nowrap;
	padding: 1.5rem 1.5% 1.5rem 3%;
}
.tbl_form td {
	vertical-align: top;
	padding: 1.5rem 5% 1.5rem 0;
}

/* レイアウト */
.tbl_form .radio_list li {
	float: left;
    margin-right: 2em;
}
.tbl_form .radio_list li:last-of-type {
    margin-right: 0;
}
.tbl_form .radio_list.service li {
	margin-bottom: .5em;
}
/* ボタンレイアウト */
.submit_box {
	text-align:center;
	padding-top: 45px;
	margin-top: 20px;
	border-top: 1px solid #ccc;
}
.submit_box .btnlist {
	max-width: 530px;
	margin: 0 auto;
}
.submit_box .btnlist button {
	display: inline-block;
}
.submit_box .btnlist button:first-of-type {
	width: 60%;
	max-width: 314px;
}
.submit_box .btnlist button:first-of-type::after {
	font-family: 'fontello';
	content: '\e801';
	line-height: 1;
	margin-left: .3em;
}
.submit_box .btnlist button:last-of-type {
	width: 39%;
	max-width: 206px;
}
.submit_box .chk_btn {
	margin-top: 2em;
	margin-bottom: 3em;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {

/* テーブル */
.tbl_form {
	font-size: 110%;
}
.tbl_form th {
	letter-spacing: .05em;
}   
.submit_box {
	margin-top: 4%;
}
.submit_box p {
	margin-bottom: 6%;
}

}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
	
/* テーブル */
.tbl_form {
	font-size: 100%;
}
.tbl_form tr,
.tbl_form th,
.tbl_form td {
	display: block;
	width: 100%;
	box-sizing: border-box;
}
.tbl_form th,
.tbl_form td {
	font-size: 100%;
}
.tbl_form th {
    letter-spacing: normal;
	padding: 1em 5% .7em;
	border-bottom: none;
}
.tbl_form td {
	padding: 0 4% 1.2em;
}

/* レイアウト */
.tbl_form .radio_list li {
    margin-right: 1.5em;
}
.tbl_form .radio_list.service li {
	margin-bottom: .2em;
}
.submit_box {
	padding-top: 6%;
	margin-top: 5%;
}
.submit_box .btnlist button {
	display: block;
	margin: 0 auto 10px;
	width: 80% !important;
	max-width: none !important;
}
.submit_box .chk_btn {
	margin-top: 1.5em;
	margin-bottom: 2.5em;
}

}


/* 入力項目デザイン
------------------------------------------------------------------*/
.tbl_form .max_txt {
	width: 100%;
}
.tbl_form .mid_txt {
	width: 40%;
}
.tbl_form .min_txt {
	width: 156px;
}
/********************/
/* テキストボックス */
/********************/
.com_form input[type="text"] {
	padding: .2em .8em;
	height: 2em;
	box-sizing: border-box;
	background: #fff;
	font-size: 100%;	
	outline: none;   
	border: solid 1px #b3b3b3;
	border-radius: 5px;
	-webkit-appearance: none;
}
.com_form textarea {
	padding: 1em;
	box-sizing: border-box;
	background: #fff;
	font-size: 100%;
	font-weight: normal;
	outline: none;
	border: solid 1px #b3b3b3;
	border-radius: 5px;
	-webkit-appearance: none;
	height: 200px;
	resize: none;
}
::placeholder {
    color: #ccc;
	font-weight: normal;
}

/*********************************/
/* ラジオボタン・チェックボックス */
/*********************************/
.com_form input[type=radio],
.com_form input[type=checkbox] {
    display: inline-block;
}
.com_form input[type=radio] + label,
.com_form input[type=checkbox] + label {
    position: relative;     
    display: inline-block;
    cursor: pointer;
}
 
@media (min-width: 1px) {
    .com_form input[type=radio],
    .com_form input[type=checkbox] {
/*        display: none;*/
		position: absolute;		/* 上に別の要素が乗るようにする */
		z-index: -1;			/* 最背面にする */
		pointer-events: none;	/* クリック無効 */
		visibility: hidden;		/* 非表示 */
        margin: 0;
    }
    .com_form input[type=radio] + label,
    .com_form input[type=checkbox] + label {
        padding-left: 2em;
    }
    .com_form input[type=radio] + label::before,
    .com_form input[type=checkbox] + label::before {
        content: "";
        position: absolute;
        top: .2em;
        left: 0;         
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        display: block;
        width: 1.3em;
        height: 1.3em;
        background: #fff;
    }
    .com_form input[type=radio] + label::before {   
		border: solid 1px #b3b3b3;   
        border-radius: 50%;
    }
    .com_form input[type=checkbox] + label::before {   
		border: solid 1px #b3b3b3; 
		border-radius: 5px;
    }
    .com_form input[type=radio]:checked + label::after,
    .com_form input[type=checkbox]:checked + label::after {
        content: "";
        position: absolute;
        top: .8em;       
        box-sizing: border-box;
        display: block;
    }
    .com_form input[type=radio]:checked + label::after {
        width: .6em;
        height: .6em;
        background: #b3b3b3;
        border-radius: 50%;
        left: .25em;         
		top: 0;
    }
    .com_form input[type=checkbox]:checked + label::after {
        left: .2em;
        width: 1em;
        height: .5em;
        margin-top: -8px;         
        border-left: 3px solid #b05f5f;
        border-bottom: 3px solid #b05f5f;         
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
}

/******************/
/* コンボボックス */
/******************/
.com_form select {
	font-size: 100%;
	padding: 0.7em;
	padding-right: 2em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: linear-gradient(to bottom, #E6E6E6 0, #FFF 100%);
    outline: none;
    border: solid 1px #b3b3b3;
	-webkit-appearance: none;
}

/**********/
/* ボタン */
/**********/
.com_form button[type="submit"],
.com_form button[type="button"],
.com_form button[type="reset"] {
	-webkit-appearance: none;
	width: 100%;
	border: none;
	cursor: pointer;
	border-radius: 0;
	color: #fff;
	font-family: "Noto Serif JP", serif;
	font-weight: 400;
	font-style: normal;
	font-size: min(2.2vw,113%);
	letter-spacing: .2em;
	line-height: 1.2;
	padding: 1.4em 1em;
	transition: all .5s;
}
.com_form button[type="submit"] {
	background-color:#8c7155;
}
.com_form button[type="submit"]:disabled {
	pointer-events: none;
	background-color: #ccc;
}
.com_form button[type="reset"],
.com_form button[type="button"] {
	background-color: #a3a3a3;
}
.com_form button[type="submit"]:hover {
	background-color:#775b40;
}
.com_form button[type="reset"]:hover,
.com_form button[type="button"]:hover {
	opacity: 0.8;
}


/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
	
.com_form input[type="text"] {
	height: 2.5em;
	padding: .5em .7em;
}
.com_form select {
	padding: .5em;
}

}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {

.tbl_form .mid_txt {
	width: 100%;
}
.tbl_form .min_txt {
	width: 30%;
}
	
.com_form textarea {
	height: 150px;
}
.com_form input[type="text"],
.com_form textarea {
	font-size: 16px;	
}
.com_form button[type="submit"],
.com_form button[type="button"],
.com_form button[type="reset"] {
	font-size: 105%;
	letter-spacing: .1em;
	padding: 1.2em 1em;
}

}



/* 確認画面、完了ページ
-----------------------------------------------------------------------------*/
.kakunin .m_img {
	background-image: url("../images/contact/m_img@2x.jpg");
}
.kakunin .kakunin_txt {
	text-align: center;
}
.kakunin .fs19 {
	font-size: 126%;
	letter-spacing: .1em;
	line-height: 1.6;
	margin-bottom: 50px;
}
.kakunin .submit_box {
	margin-top: 80px;
}
/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.kakunin .fs19 {
	font-size: 115%;
	letter-spacing: .05em;
	margin-bottom: 5%;
}	
.kakunin .submit_box {
	margin-top: 8%;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.kakunin .fs19 {
	font-size: 100%;
	letter-spacing: .04em;
	margin-bottom: 8%;
}
.kakunin .submit_box {
	margin-top: 12%;
}	

}