@charset "UTF-8";
/* CSS Document */
.h1-subarea {
	width: 100%;
	max-width: 2800px;
	margin: 0 auto;
	padding: 200px 8vw 150px;
	height: 50vh;
	background-image: url("../img/contact/contact-box-bg.jpg");
	background-size: cover;
	background-position: top 120% center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	z-index: -1;
	text-align: left;
}
.h1-subarea h1 {
	max-width: 1400px;
	margin: 0 auto;
	font-family: 'Lato', noto-sans-cjk-jp, sans-serif;
	font-weight: 400;
	font-size: 3rem;
	letter-spacing: .25em;
	padding-bottom: 80px;
}
.contact-box .inner {
	padding: 50px 8vw 0;
	text-align: center;
	font-weight: normal;
}
.contact-box .inner .form {
  max-width: 1000px;
	margin: 50px auto;
}
.contact-box .inner .contactText {
  padding: 0 8vw 70px;
  font-size: 1.3rem;
  text-align: left;
}
.contact-box .inner form#mailformpro .mailform{
  display: flex;
  justify-content: space-between;
  border-top: 1px dotted #333;
  padding-top: 16px;
  margin-bottom: 16px;
}
.contact-box .inner form#mailformpro dl.mailform dt{
	display: block;
	float: none;
	height: auto;
	margin: 0;
	padding: 6px 0 0 3em;
	width: 35%;
	font-size: 1.4rem;
	color: #FFF;
	text-align: left;
}
.contact-box .inner form#mailformpro dl.mailform dt.must::after{
	content: "必須";
	color: #CB1C24;
	margin-left: 24px;
	font-family: dnp-shuei-mincho-pr6n, sans-serif;
	font-weight: 500;
	font-style: normal;
}
.contact-box .inner form#mailformpro dl.mailform dd{
	display: flex;
	justify-content: flex-start;
	float: none;
	height: auto;
	margin: 0;
	padding: 0;
	width: 65%;
	flex-wrap: wrap;
	font-size: 1.4rem;
	color: #CCC;
	border-top: none;
}
.mfp_element_text,
.mfp_element_number,
.mfp_element_select-one,
.mfp_element_email,
.mfp_element_tel,
.mfp_element_textarea,
.mfp_element_date{
  padding: 9px 8px;
}
.contact-box .inner .inner dl.name input{
  width: 310px;
}
.contact-box .inner dl.postcode input{
  width: 100px;
	height: 100%;
}
.contact-box .inner form#mailformpro dl.postcode .postcode1_wrap{
  margin: 0;
  display: block;
}
.contact-box .inner dl.postcode .postcode1_wrap::after{
  content: "-";
  margin: 0 14px;
}
.contact-box .inner form#mailformpro dl.mailform.postcode dd{
  justify-content: flex-start;
}
.contact-box .inner dl.postcode .address_autoinput{
  border: solid 1px #CB1C24;
  padding: 5px 8px;
  vertical-align: middle;
  border-radius: 5px;
  color: #CB1C24;
  font-size: 1.4rem;
  margin-left: 24px;
}
.contact-box .inner dl.postcode .address_search{
	 margin-top: 7px;
}
.contact-box .inner dl.postcode .address_search a {
	border-radius: 5px;
	border: 1px solid #C73337;
	text-decoration: none !important;
	font-size: 1.4rem;
	margin-left: 14px;
	color: #C73337 !important;
	transition: .3s;
	padding: 5px 8px;
}
.contact-box .inner dl.postcode .address_search a:hover{
  color: #fff !important;
  background-color: #C73337;
}
.contact-box .inner form#mailformpro dl.address dd{
  flex-direction: column;
}
.contact-box .inner form#mailformpro dl.address dd .prefecture{
  width: 160px;
  padding: 6px 8px;
}
.contact-box .inner form#mailformpro dl.address dd .city{
  margin: 20px 0;
}
.contact-box .inner dl.tel input{
  width: 100px;
	height: 100%;
}
.contact-box .inner form#mailformpro dl.mailform.tel dd{
  justify-content: flex-start;
}
.contact-box .inner form#mailformpro dl.tel .tel02_wrap{
  margin: 0;
  display: block;
}
.contact-box .inner dl.tel .tel02_wrap::before,
.contact-box .inner dl.tel .tel02_wrap::after{
  content: "-";
  margin: 0 14px;
}
.contact-box .inner dl.mail input{
  width: 100%;
}
.contact-box .inner dl.contact_content p{
  font-size: 1.4rem;
}
.contact-box .inner dl.contact_content textarea{
  width: 100% !important;
  height: 180px !important;
  margin-bottom: 14px;
}
.contact-box .inner dl.contact_content p span{
  letter-spacing: -4px;
}
div.mfp_buttons {
  padding: 47px 0 0 !important;
}
.mfp_element_submit,
.mfp_element_reset,
.mfp_element_button{
  width: 215px;
  min-width: 215px;
  font-size: 1.4rem;
  padding: 20px 0px;
  background: #CCC;
  transition: .3s;
}

/* //contentArea */
/* content thanks */
.thanks {
  padding-left: 250px;
}
.thanks .inner {
  padding: 95px 20px 130px;
	text-align: center;
}
.thanks .inner h3  {
	font-size: 16px;
	font-weight: bold;
	padding-bottom: 20px;
}
.thanks .inner p {
	font-weight: 500;
	font-style: normal;
}
div.mfp_buttons {
	padding: 47px 0 0 !important;
	text-align: center;
}
.mfp_achroma {
    background-color: #0C0C0C;
	color: #000;
}
table#mfp_confirm_table tr th {
	color: #000;
}
table#mfp_confirm_table tr td {
	color: #000;
}
.must {
    background-image: none;
	border: none;
    text-shadow: none;
	border-radius: none;
    box-shadow: none;
}
.mfp_colored {
    background-color: #0C0C0C;
}
div#mfp_warning {
	color: #000;
}
form#mailformpro dl dt {
    border-top: none;
}
.mfp_element_submit, .mfp_element_reset, .mfp_element_button, button.mfp_next, button.mfp_prev {
    border: solid 1px #CCC;
    text-shadow: none;
    font-size: 1.5rem;
}
@media only screen and (max-width: 1130px) {
	.contact-box .inner form#mailformpro dl.mailform dt {
		width: 22%;
	}
	.contact-box .inner form#mailformpro dl.mailform dd {
		width: 68%;
	}	
	.contact-box .inner dl.name input {
		width: 48%;
	}
	.contact-box .inner form#mailformpro dl.mailform dt.must::after {
    margin-left: 10px;
	}	
}
@media only screen and (max-width: 950px) {
	.contact-box .inner dl.tel input {
		width: 75px;
	}
	.contact-box .inner dl.postcode input {
		width: 70px;
	}

}
@media only screen and (max-width: 820px) {
	.contact-box .inner form#mailformpro .mailform {
		display: block;
	}	
	.contact-box .inner form#mailformpro dl.mailform dt {
		display: block;
		padding: 0 0 10px 0;
		width: 100%;
	}
	.contact-box .inner form#mailformpro dl.mailform dt.must::after {
		margin-left: 6px;
	}
	.contact-box .inner form#mailformpro dl.mailform dd {
		width: 100%;
	}
	.contact-box .inner dl.postcode input {
		width: 73px;
	}
	.contact-box .inner dl.tel input {
		width: 75px;
	}
	div.mfp_buttons {
		padding: 0px 0 0 !important;
	}	
	div.mfp_buttons button {
		font-size: 13px;
		padding: 20px 0;
	}	
	.thanks .inner {
		padding: 50px 5vw;
		text-align: left;
	}
	.thanks .inner p {
		font-size: 13px;
	}	
	.thanks .inner h3 {
		font-size: 15px;
		padding-bottom: 15px;
	}	
	.thanks {
		padding-left: 0;
	}
}
@media screen and (max-width: 768px) {
.h1-subarea {
	height: 50vh;
	background-size: 150%;
	background-position: top 30% left 15%;
	background-attachment: inherit;
}
  .contact-box .inner .contactText {
    padding: 0 0 30px;
    line-height: 1.4;
    font-size: 1.2rem;
    text-align: justify;
  }
}
