.contact-main{
}

.contact-main .contents-heading{
    background-image: url('../images/contact/contact-heading-back.jpg');
    margin-bottom: 121px;
}

.contact-main .contents-heading p{
	/*color:#000;*/
}

.contact-contents {
    width: 1030px;
    max-width: 100%;
    margin: 0px auto 70px;
}

.contact-main .second-heading{
	margin-bottom:55px;
}

.contact-main .contents-container>p {
    font-size: .17rem;
    line-height: 2.4;
	margin-bottom: 52px;
	font-weight: 500;
}

.contact_table  th span {
    color: #fff;
    background-color: #C35427;
    font-size: .12rem;
    margin-left: 7px;
    padding: 2px 5px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    margin-top: -6px;
}
.contact_table  {
    width: 100%;
    max-width: 100%;
	padding: 0 20px;
    display: inline-block;
}

.contact_table tr {
    margin-bottom: 38px;
    display: block;
	width: 100%;
}

.contact_table th{
	font-size:.17rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	width: 290px;
}

.contact_table th p {
    display: inline-block;
    letter-spacing: -0.4em;
}

.form_radio {
    width: 70%;
}

.contact_table td {
    width: 70.55%;
}

#mfp_element_0_label {
    width: 55.5%;
}

.contact-main .mfp_element_radio{
    transform: scale(1.8);
    vertical-align: baseline;
	margin-right: 22px;
}

.contact-main form#mailformpro label {
    border-radius: 3px;
    margin: 3px;
    display: inline-block;
    white-space: nowrap;
    width: 42%;
}

label#mfp_element_0_label {
    font-size: .17rem;
}

.form_radio p{
	font-size:.15rem;
	margin-top: 6px;
}

.mfp_element_all {
    max-width: 100%;
}

.form-width2 {
    width: 100% !important;
    max-width: 97% !important;
}

.mfp_element_all {
    font-size: .17rem;
    padding: 19px 0 19px 22px;
    font-family: "Noto Serif JP", serif;
    border-radius: 0;
    border: solid 1px #B2B2B2;
}

.contact-main .mfp_element_text,
.contact-main .mfp_element_email{
	width:100%;
	max-width: 97%;
}

.contact-main textarea {
    width: 100% !important;
	max-width: 96%;
}

.contact-textarea th{
	vertical-align: top;
}

.contact-alert p {
    color: #C35427;
    font-size: .17rem;
    line-height: 2.5;
}

.contact-alert td{
	display:block;
	margin-left:auto;
}

.contact-privacy-policy td{
	margin-bottom: 65px;
	margin-left:auto;
	display: block;
}

.privacy-policy__text {
    width: 100%;
    height: 360px;
    overflow: scroll;
    font-size: .14rem;
    border: 1px #B2B2B2 solid;
    padding: 12px 23px;
}

.privacy-policy__text p {
    line-height: 2;
}

.privacy_item{
	margin-bottom: 25px;
}
.privacy_head{
	margin-bottom: 5px;
	display: block;
}
.privacy_list{
	margin-top: 5px;
	list-style: none;
}
.privacy_listitem{
	margin-bottom: 5px;
	margin-left: .2rem;
	text-indent: -.2rem;
	line-height: 2;
}

.privacy-policy__text::-webkit-scrollbar {
  width: 6px;
}

.privacy-policy__text::-webkit-scrollbar-thumb {
  background-color: #A3A3A3;
  border-radius: 15px;
}



.contact-privacy-policy td > p {
    font-size: .34rem;
    font-family: "adobe-garamond-pro", serif;
    letter-spacing: 0.1em;
    margin-top: -4px;
    margin-bottom: 17px;
}

.submit-btn td{
	margin-left:auto;
	display:block
}

.submit-btn input {
    padding: 0;
    background: none;
    font-size: .17rem;
    width: 415px;
    max-width: 100%;
    color: #C35427;
    border: solid 1px #C35427;
	padding: 27px 0;
	    transition: 0.8s;
    /* margin: 0 auto; */
    /* display: block; */
}

.submit-btn input:hover{
	box-shadow:none;
	background: #C35427;
    color: #fefefe;
	text-shadow:none;
}

.contact-contents .mfp_element_file {
    font-size: .17rem;
}

#file-upload-button{
	border:none;
}

.file-button::file-selector-button {
  color: #fff;
  background: #C35427;
  border: 0;
  padding: 17px 16px;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  width:221px;
  margin-right:45px;
}

.contact-contents .mfp_element_file {
    display: inline-block;
    padding: 0;
    vertical-align: middle;
    border: none;
    border-radius: 0;
    box-shadow: none;
	background: none;
	color:#ADADAD;
	width: 61%;
	margin-bottom: 22px;
}

input::placeholder,
textarea::placeholder{  
	color: #ADADAD;
}

div#mfp_overlay{
	z-index: 111111!important;
}

div#mfp_phase_confirm h4 {
    margin-bottom: 40px !important;
    font-size: .28rem !important;
}
table#mfp_confirm_table tr th, table#mfp_confirm_table tr td {
    font-size: 14px !important;
    padding: 13px 10px !important;
}

div.mfp_buttons{
	margin-top: 20px;
}
div.mfp_buttons button#mfp_button_send,
div.mfp_buttons button#mfp_button_cancel{
	padding: 10px 20px;
    min-width: 140px;
	box-shadow:none;
	text-shadow:none;
	border-radius: 0;
	border: 0;
}
div.mfp_buttons button#mfp_button_send{
	margin-right: 20px;
	background: #C35427;
    color: #fefefe;
}
div.mfp_buttons button#mfp_button_cancel{
	background: #CCC;
	color: #000;
}


@media screen and (min-width:801px) and ( max-width:1000px){
.contact-contents {
    margin: 0px auto 100px;
}

.contact-main .contents-container>p {
    padding:0 20px;
}

.contact-contents .mfp_element_file {
    width: 78%;
}

}


@media screen and (max-width:800px){
	.contact-main {
		margin-top:0;
	}
	
	.contact-main .contents-heading{
    	background-image: url('../images/contact/sp-contact-heading-back.jpg');
    	margin-bottom: 76px;
}

.contact-main .contents-heading p {
    color: #fff;
}

	.contact-main .contents-container>p {
    	font-size: .14rem;
    	line-height: 2.45;
    	margin-bottom: 39px;
    	text-align: justify;
    	padding: 0 43px;
	}
	
    .contact-contents {
        width: 1000px;
        max-width: 100%;
        margin: 0px auto 25px;
    }
	
	.contact-main .second-heading {
    	margin-bottom: 32px;
}

.contact_table  {
    	padding: 0 44px;
    	display: block;
}

.contact_table tbody {
    width: 100%;
    display: block;
}

.form_radio {
    width: 100%;
}


.contact_table tr {
    	margin-bottom: 40px;
    	display: block;
    	display: flex;
    	flex-direction: column;
}

.contact_table tr:nth-of-type(n+2){
    margin-bottom: 46px;
}

.contact_table th {
    	margin-bottom: 20px;
	}
	

.contact_table tr:nth-of-type(n+2) th{
    margin-bottom: 13px;
}
	
.contact_table  th span {
    margin-left: 13px;
}

.contact_table td {
    width: 100%;
}

.form-width2 {
    max-width: 99% !important;
}

.contact-main .mfp_element_radio {
    transform: scale(1.4);
    margin-left: 0;
    margin-right: 15px;
	vertical-align: middle;
}

.contact-main form#mailformpro label {
    font-size: .14rem;
    display: block;
    margin: 0 0 18px;
}

.mfp_element_all {
   	padding: 16px 0 21px 4px;
   	font-size: .16rem;
}

.contact-main textarea {
    width: 100% !important;
    max-width: 98%;
    padding: 9px 3px;
}

.contact-textarea {
    margin-bottom: 40px !important;
}

.contact-alert p {
    font-size: .14rem;
    line-height: 2.2;
}

.contact-privacy-policy td > p {
    font-size: .30rem;
    margin-top: -9px;
	margin-bottom: 12px;
}

.privacy-policy__text {
    font-size: .14rem;
    padding: 14px 12px;
}

.contact-privacy-policy td {
    margin-bottom: 0px;
}

.contact-privacy-policy {
    margin-bottom: 37px !important;
}

.submit-btn input {
	margin: 0 auto;
    font-size: .14rem;
    padding: 17px 0;
	display: block;
}

.file-button::file-selector-button {
  padding: 17px 16px;
  text-align: center;
  width:100%;
  margin:0 auto 10px;
  display:block;
  text-align: center;
  border-radius: 0;
}

.contact-contents .mfp_element_file {
    display: block;
	width: 100%;
	max-width:100%;
	margin-bottom: 36px;
	font-size:.14rem;
	text-align: center;
}


}