.contact_form {
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
	width: 100%;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    padding: 0;
}
tr, td, th {
    margin: 0;
    padding: 0;;
}
body, button, input, textarea {
    color: #000000;
    line-height: 1.9;
	letter-spacing: 0.08em;
    font-size: .15rem;
    overflow-x: hidden;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea {
    color: #666;
    border: 1px solid #9a9a9a;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, textarea:focus {
    color: #111;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"] {
    padding: 3px;
}
textarea {
    padding-left: 3px;
    width: 100%;
}
select {
    width: 100%;
    max-width:250px;
}
#mailformpro .form_radio label{
	display: inline-flex;
	align-items: center;
    margin-right: 20px;
}
.form_radio label>*{
	flex: 0 0 auto;
}
#mailformpro input{
    box-sizing: border-box;
}
#mailformpro table {
    max-width: 1020px;
    width:	100%;
    margin: 0 auto;
}
input,
select{
    vertical-align: middle;
    font-size: 14px;
    line-height: 1.2;
    padding: 8px;
    padding-top: 8px;
    padding-right: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
    border: 1px solid #000;
}
#mailformpro table{
border:0!important;
}
#mailformpro table th,
#mailformpro table td {
	border:0!important;
    padding: 20px 20px;
    color: #000;
    vertical-align: middle;
    text-align: left;
}
#mailformpro table tr:first-child th,
#mailformpro table tr:first-child td{
	border-top: 1px solid #000!important;
}
#mailformpro table tr:not(:last-child) td{
	border-bottom: 1px solid #000!important;
}
#mailformpro table tr:nth-last-of-type(2) .agree_td{
	border-bottom: 0!important;
	text-align: center;
}
form#mailformpro .agree_td label{
	display: inline-block!important;
}
.agree_td a{
	text-decoration: underline 1px #0071B2;
    color: #0071B2;
}


#mailformpro table tr:not(:last-child) th{
	/*border-right: 1px solid #0096ac!important;*/
	border-bottom: 1px solid #000!important;
}
#mailformpro table th {
    width: 27%;
    font-size: .16rem;
    color: #00122a;
    border-right: 1px dotted #30343f;
    font-weight: normal;
}
#mailformpro table th div {
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: center;
    color: #000;
    font-weight: 500;
}
#mailformpro table td {
    text-align: left;
    font-size: .16rem;
    padding-left: 30px;
}
.imperative {
    background: #000;
    color: #FFF;
    padding: 2px 5px;
    margin-right: 18px;
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
}
.arbitrary {
    background: #8C8C8B;
    color: #FFF;
    padding: 2px 5px;
    margin-right: 18px;
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
}
.reserve_tr_ninzu select{
    width:100px;
}
.reserve_date{
	display: flex;
	justify-content: space-between;
}
.reserve_date div{
	flex: 0 1 auto;
	width: 30%;
}
.reserve_date select{
	width: 85%;
}
.reserve_date div:not(:last-child) select{
	margin-right: 10px;
}

/*
.entry_tr_point label {
    font-size: .15rem;
    line-height: 2.3;
}*/
textarea {
    height: 300px;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea {
    color: #000;
}

#submitxxx {
    display: block;
    margin-top: 0px;
    max-width: 350px;
    width: 100%;
    display: inline-block;
    font-size: .18rem;
    text-align: center;
    color: #fff;
    background-color:#000;
    text-decoration: none;
    font-weight: 500;
    line-height: .36rem;
    position: relative;
    border:none;
	cursor: pointer;
}
input#submitxxx{
border-radius: 0;
-webkit-appearance: none;
}
#mailformpro #submitxxx:hover {
    opacity: 0.7;
    text-shadow: none;
}
.mfp_element_submit:hover, .mfp_element_reset:hover, .mfp_element_button:hover, button.mfp_next:hover, button.mfp_prev:hover{
	background: #8C8C8B!important;
	box-shadow: none!important;
}
#mailformpro input[type="text"],
#mailformpro input[type="email"] {
    width: 100%;
    padding: 8px;
}

#mailformpro textarea {
    width: 100% !important;
    padding: 0;
    height: 160px;
}
#mailformpro input.form-width2 {
    width: 100%;
    max-width: 250px;
}
#mailformpro td.last_td {
    border: none;
    padding-top: 60px;
}
.top_contact table th span{
    margin-top: 10px;
    display: block;
    color: #666;
    font-weight: normal;
    font-size: .13rem;
}
.shine.submit_outer {
    display: block;
    text-align: center;
}
.form_caution{
    text-align: center;
}
#mailformpro .form_q_number td span{
    display: inline-block;
    width: 110px;
}
#mailformpro .form_q_number input{
    margin-bottom: 10px;
    width: 150px;
}
#mailformpro .form_q_number .calc_btn{
    width: 60px;
}
#mailformpro .form_q_number output{
    margin-left: 47px;
    display: inline-block;
    width: 150px;
    text-align: right;
}
form#mailformpro label{
	display: flex!important;
	align-items: center;
	width: fit-content;
}
form#mailformpro label>*{
	flex: 0 1 auto;
}
form#mailformpro label input{
	margin-right: 10px;
}

.submit-btn[disabled] {
  background-color: #ccc!important;
  cursor: not-allowed!important; /* クリック不可のカーソルを表示 */
}

@media screen and (max-width: 1050px) {
	.contact_form{
		width: calc(100% - 50px);
	}
}
@media screen and (max-width: 700px) {
    .form_pc_only{
        display: none;
    }
	.contact_form {
		margin: 0 auto 0;
		padding: 0 0;
		max-width: calc(100% - 40px);
	}
	.contact_form .container_h3{
	    max-width: calc(100% - 40px);
	}
	.contact_intro {
    	padding: 40px 20px 6px;
    	text-align: justify;
	}
	.contact_intro p{
		text-align: justify;
	}
	.contact_intro span{
		text-align: center;
	}
    .top-mailfrom {
        padding: 4em 2em;
        margin-top: 0em;
    }

    #mailformpro input.form-width2 {
        width: 200px;
    }
    #mailformpro input.form-width1sp {
        width: 100%;
    }
    #mailformpro table th, #mailformpro table td {
        width: 100%;
        font-size: .15rem;
        display: block;
        padding: 10px 15px;
        box-sizing: border-box;
        border: none;
    }
    #mailformpro table th {
        background: #f2f2f2;
    }
    #mailformpro table td {
        font-size: .13rem;
        padding: 17px 15px 30px;
    }
    #mailformpro .mfp_element_all {
        max-width: 100%;
    }
    .imperative,
    .arbitrary {
        margin-right: 12px;
    }
    .form_caution{
        padding-bottom: 30px;
	    font-size: .13rem;
    }
	#mailformpro table tr:not(:last-child) th{
		border-right: 0!important;
	}
	#mailformpro table tr:first-child td{
		border-top:0!important;
	}
}