.contactMainVisual {
  background: url(../img/contact/mainVisual02.jpg) no-repeat center 24% / cover;
}
@media screen and (max-width: 767px) {
  .contactMainVisual {
    background: url(../img/contact/mainVisual_sp.jpg) no-repeat center center / cover;
  }
}


/*下層コンタクトページ*/
#contact {
	padding-bottom: 45px;
	margin-top: 156px;
}
#contact .cntBox {
	width: 850px;
	max-width: 100%;
	margin: 39px auto 0;
	padding-left: 25px;
	padding-right: 25px;
}
#contact .cntText {
	font-size: 16px;
	letter-spacing: 0.02em;
	line-height: 1.875;
	color: #013281;
  text-align: center;
}
.contact-form {
  margin: 50px auto 0;
  background: #F4F4F4;
  width: 800px;
  max-width: 100%;
	border-radius: 20px;
}
@media screen and (max-width: 767px) {
  #contact{
    margin-top: 100px;
  }
  .contact-form {
    margin-top: 40px;
  }
  #contact .cntBox {
    width: 95%;
    padding: 0;
  }
  #contact .cntText{
    text-align: left;
  }
}

.contact__form {
  padding: 48.5px 35px;
}
@media screen and (max-width: 767px) {
  .contact__form {
    padding: 40px 20px;
  }
}

.contact-form__dl {
  margin-top: 1px;
}

.contact-form__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
	align-items: center;
}
@media screen and (max-width: 767px) {
  .contact-form__row {
    display: block;
  }
}
.contact-form__row:not(:first-child) {
  margin-top: 20px;
}
@media screen and (max-width: 767px) {
  .contact-form__row:not(:first-child) {
    margin-top: 30px;
  }
}

.contact-form__label {
  width: 213px;
	margin-top: -6px;
}
.contact-form__label label {
	margin-top: 0;
}
.contact-form__label label.is-required {
  position: relative;
  display: inline-block;
}
.contact-form__label label.is-required::after {
  position: absolute;
  content: "必須";
  top: -1px;
  right: -48px;
  font-size: 12px;
  font-weight: 700;
  background: #1557C2;
  border-radius: 20px;
  line-height: 1.4;
  padding: 1px 9px;
  border-radius: 12px;
  color: #FFFFFF;
  text-align: center;
}
@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: 44px;
  }
}

.contact-form__input {
  width: calc(100% - 213px);
}
@media screen and (max-width: 767px) {
  .contact-form__input {
    width: 100%;
    margin-top: 15px;
  }
}

.contact-form__input [type=text], .contact-form__input [type=tel], .contact-form__input [type=email], .contact-form__input select, .contact-form__input textarea {
  -webkit-box-shadow: none;
          box-shadow: none;
  background: #FFFFFF;
  padding: 21.5px 16px;
	border: 1px solid #fff;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
	outline: none;
  border-radius: 0;
  color: #222;
  font-size: 14px;
  width: 100%;
}
.contact-form__input select {
  background: #FFFFFF url(../img/select-arrow.png) no-repeat right 12px center/17px 14px;
}
.contact-form__input textarea {
  height: 154px;
  resize: none;
  padding: 5px 15px;
}
@media screen and (max-width: 767px) {
  .contact-form__input textarea {
    height: 160px;
  }
}

.contact-form__radio {
  line-height: 2;
  padding: 21.5px 16px;
	background-color: #fff;
}
.contact-form__radio > label{
  display: block;
}
.contact-form__radio [type=radio] {
  display: none;
}
.contact-form__radio span {
	position: relative;
	padding-left: 18px;
	font-size: 15px;
	letter-spacing: 0.02em;
  display: inline-block;
  line-height: 1.5;
}
.contact-form__radio label:first-child span {
	margin-left: 20px;
}
.contact-form__radio span:not(:first-child) {
  margin-left: 17px;
}
@media screen and (max-width: 767px) {
  .contact-form__radio span {
    margin-bottom: 8px;
  }
  .contact-form__radio label {
    display: block;
  }
  .contact-form__radio label:not(:first-child) {
    margin-top: 10px;
  }
  .contact-form__radio label:first-child span {
    margin-left: 17px;
  }
}
.contact-form__radio span::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border: 1px solid #393939;
  left: 0;
  background: #fff;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
.contact-form__radio span::after {
  content: "";
  width: 6px;
  height: 6px;
  background: #3F51B5;
  position: absolute;
  left: 3.5px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
	border-radius: 50%;
  display: none;
}
.contact-form__radio [type=radio]:checked + span::after {
  display: block;
}

.contact-form__block {
	display: flex;
	align-items: center;
}
.contact-form__block:nth-child(2) {
	margin-top: 10px;
}
.contact-form__block-date,.contact-form__block-time {
	width: 130px;
	font-size: 13px;
	text-align: right;
	padding-right: 18px;
  letter-spacing: -0.05em;
}
.contact-form__block-input {
	width: calc(100% - 130px);
}
@media screen and (max-width: 767px) {
  .contact-form__block{
    flex-flow: column;
    justify-content: start;
    align-items: flex-start;
  }
  .contact-form__block-date, .contact-form__block-time{
    text-align: left;
    margin-bottom: 10px;
    padding-left: 10px;
    padding-top: 10px;
  }
  .contact-form__block-input{
    width: 100%;
  }
}



.contact-form__input [type=date] {
  -webkit-box-shadow: none;
          box-shadow: none;
  background: #FFFFFF;
  padding: 21.5px 16px;
	border: 1px solid #fff;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
	outline: none;
  border-radius: 0;
  color: inherit;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
}
.contact-form__input [type=time] {
  -webkit-box-shadow: none;
          box-shadow: none;
  background: #FFFFFF;
  padding: 21.5px 16px;
	border: 1px solid #fff;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
	outline: none;
  border-radius: 0;
  color: inherit;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
}
.contact-form__check {
  margin-top: 30px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .contact-form__check {
    margin-top: 32px;
  }
}
.contact-form__check [type=checkbox] {
  display: none;
}
.contact-form__check span {
  display: inline-block;
	letter-spacing: 0.02em;
}
.contact-form__check span a {
  text-decoration: underline !important;
}
@media screen and (max-width: 767px) {
  .contact-form__check span {
    line-height: 1.875;
  }
}
.contact-form__check [type=checkbox]:checked + span::after {
  display: block;
}

.contact-form__button {
  margin-top: 35px;
  text-align: center;
}
.contact-form__button [type=submit] {
  color: #fff;
  padding: 18px 120px;
  background: #1557C2;
  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;
	font-size: 16px;
	letter-spacing: 0.02em;
}
#contact .contact-result {
  width: 100%;
  padding: 8px 0;
  background-color: #e1a948;
  text-align: center;
  color: white;
  display: none; 
}

/*アイコン表示*/
.contact-form__row .date,.contact-form__row .time{
  position: relative;
}
.contact-form__row .date::after{
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f783";
}
.contact-form__row .time::after{
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f017";
}
.contact-form__row .date::after,.contact-form__row .time::after{
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  display: inline-block;
  height: 18px;
  right: 10px;
  pointer-events: none;
  color: #1557C2;
}

@media screen and (max-width: 767px) {
  .contact-form__button [type=submit] {
    width: 286px;
    padding: 18px 109px;
  }
}

.info{
  margin: 20px 0;
  line-height: 2;
  background-color: #CA9F1F;
  padding: 2px 10px 4px;
  border-radius: 50px;
  text-align: center;
  color: #fff;
}