

/*下層コンタクトページ*/

/*コンタクト mail*/
#mail {
	margin-top: 100px;
	margin-bottom: 80px;
}
#mail .cntBox {
	margin-top: 52px;
	padding-left: 25px;
	padding-right: 25px;
}
#mail .cntCopy {
	font-size: 39px;
	letter-spacing: 0.05em;
	line-height: 1.71794;
	color: #222;
	position: relative;
	z-index: 1;
	text-align: center;
}


#mail .cntCopyBorder {
	display: none;
}
#mail .cntText {
	margin-top: 56px;
	line-height: 2;
	color: #444;
	display: flex;
	justify-content: center;
	position: relative;
	z-index: 1;
}
#mail .cntImg {
	width: 100%;
	position: relative;
	margin-top: -60px;
}
#mail .cntImg::before {
	content: "";
	display: block;
	padding-top: 20.2049%;
}
#mail .cntImg img {
	-o-object-position: center;
	height: 100%;
	left: 50%;
	object-position: center;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}

@media screen and (max-width: 767px) {
	#mail {
		margin-top: 50px;
		margin-bottom: 40px;
	}
	#mail .cntBox {
		padding-left: 20px;
		padding-right: 20px;
		margin-top: 26px;
	}
	#mail .cntCopy {
		font-size: 24px;
	}
	#mail .cntCopy::before {
		top: 25px;
		width: 345px;
		height: 12px;
	}
	#mail .cntCopy::after {
		bottom: 44px;
		height: 12px;
		transform: translateX(-50%);
		width: 345px;
	}
	/* #mail .cntCopyBorder {
		content: "";
		display: block;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		bottom: 3px;
		background-color: #E6E6E6;
		width: 170px;
		height: 12px;
		z-index: -1;
	} */
	#mail .cntText {
		margin-top: 28px;
	}
}

.contact-form__wrapper {
  background: #FDF8F0;
	margin: 60px auto 0;
	padding-top: 60px;
	padding-bottom: 60px;
	width: 1190px;
	max-width: 100%;
	border: 1px solid #E3A623;
}

@media screen and (max-width: 767px) {
	.contact-form__wrapper {
		margin-top: 30px;
		padding-top: 0;
		padding-bottom: 30px;
	}
}

.contact-form {
  margin: 0 auto;
  width: 967px;
  max-width: 100%;
	padding-left: 25px;
	padding-right: 25px;
}
@media screen and (max-width: 767px) {
  .contact-form {
    margin-top: 40px;
		padding-left: 20px;
		padding-right: 20px;
  }
}

.contact__form {
  
}
@media screen and (max-width: 767px) {
  .contact__form {
    
  }
}

.contact-form__dl {
  margin-top: 1px;
}

.contact-form__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 4px;
}
@media screen and (max-width: 767px) {
  .contact-form__row {
    display: block;
  }
}
.contact-form__row:not(:first-child) {
  margin-top: 30px;
}
@media screen and (max-width: 767px) {
  .contact-form__row:not(:first-child) {
    margin-top: 20px;
  }
}

.contact-form__label {
  width: 267px;
  padding-top: 2px;
}
.contact-form__label label {
  margin-top: 5px;
}
.contact-form__label label.is-required {
  position: relative;
  display: inline-block;
}
.contact-form__label label.is-required::after {
  position: absolute;
  content: "必須";
  right: -50px;
  font-size: 14px;
  font-weight: 700;
  background: #B82C69;
  line-height: 1;
  padding: 2px 8px 3px;
  border-radius: 10px;
  color: #FFFFFF;
  text-align: center;
  top: -1px;
}

/*20211123追記*/
.telBox{
	text-align: center;
	margin: 30px auto;
	max-width: 400px;
	width: 100%;
}
@media screen and (max-width: 767px) {
	.telBox{
		margin: 20px auto;
	}
}

@media screen and (max-width: 767px) {
  .contact-form__label label.is-required::after {
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    left: calc(100% + 6px);
    width: 50px;
  }
}

.contact-form__input {
  width: calc(100% - 267px);
}
@media screen and (max-width: 767px) {
  .contact-form__input {
    width: 100%;
		margin-top: 15px;
  }
}
.contact-form__input [type=text],.contact-form__input [type=email],.contact-form__input [type=tel],.contact-form__input textarea {
  -webkit-box-shadow: none;
          box-shadow: none;
  border: none;
  background: #FFFFFF;
  padding: 19px 16px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 0;
	outline: none;
  color: inherit;
  font-size: 16px;
  width: 100%;
  letter-spacing: 0.05em;
}
.contact-form__input textarea {
  height: 200px;
}
@media screen and (max-width: 767px) {
  .contact-form__input textarea {
    height: 160px;
  }
}
.contact-form__check {
	font-size: 16px;
	margin-top: 30px;
	color: #000;
	text-align: center;
}
.contact-form__check a{
	border-bottom: 1px solid #333333;
}
@media screen and (max-width: 767px) {
  .contact-form__check {
    font-size: 13px;
		margin-top: 15px;
  }
}
.contact-form__button {
  margin-top: 30px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .contact-form__button {
		margin-top: 15px;
  }
}
.contact-form__button [type=submit] {
  color: #fff;
  padding: 12px 117px;
  border-radius: 25px;
  font-family: inherit;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  display: inline-block;
  width: 300px;
  cursor: pointer;
  position: relative;
  font-size: inherit;
	background-color: #E3A623;
	border: 2px solid #E3A623;
	transition: all .3s ease 0s;
}
.contact-form__button [type=submit]:hover {
	background-color: #fff;
	color: #E3A623;
}

#resultBox{
	margin-top: 30px;
}
#resultBox .contact-result{
	line-height: 1.6;
  color: #B82C69;
  text-align: center;
  display: none;
}
@media screen and (max-width: 767px) {
	#resultBox .contact-result{
		font-size: 1.4rem;
	}
}