@charset "utf-8";
/* CSS Document */
/* ===============================
	common
 =============================== */
main header {
  height: 440px;
  background: url("../imgs/contact/index_header_bg.jpg") no-repeat center center;
  background-size: cover;
  position: static;
  z-index: 0;
  padding: 250px 0 0;
  margin-bottom: 150px;
}
main header h1 {
  margin-bottom: 125px;
  text-align: center;
  color: #fff;
}
main section {
  margin-bottom: 140px;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  main header {
    background-position: center;
  }
}
@media screen and (max-width: 767px) {
  main header {
    padding: 110px 0 70px;
    height: auto;
    background-position: left -4rem center;
    margin-bottom: 70px;
  }
  main header h1 {
    margin-bottom: 0;
  }
}

/*お問い合わせ*/
main article > section {
  width: 920px;
  margin: auto;
}
main article > section h2 {
  font-size: 3.2rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-weight: 500;
}
main article > section p {
  font-size: 1.6rem;
}
main article > section h2 + p {
  margin-bottom: 8rem;
}
main article > section strong,em {
  color: #EB0000;
}
main article > section > dl {
  border: #0B5798 1px solid;
  font-size: 1.8rem;
  padding: 2rem;
  line-height: 2.4;
  margin: 4rem auto;
}
main article > section > dl dt {
  color: #0B5798;
  font-size: 2rem;
  margin-bottom: 1rem;
}
main article > section > dl dd li {
  display: inline-block;
}
.form-block {
  font-size: 1.8rem;
}
.form-block li {
  margin-bottom: 4.6rem;
}
.Q,.A {
  display: inline-block;
}
.Q {
width: 25%;
}
.Q strong {
  margin-left: 1rem;
}
.A {
  width: 74.5%;
}
.w340 {
  width: 340px;
}
input,textarea {
  background: #fff;
  border: #808080 1px solid;
}
textarea {
  height: 40rem;
}
.form-block li:nth-child(11) .A dd {
  font-size: 1.79rem;
  display: inline-block;
}
.check-radio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.check-radio > span {
  width: 31%;
  margin-left: 0 !important;
}
.check-radio > span,
.check-radio > span label {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}
/*MW FORM用*/
.check-radio > span label span {
  width: auto;
  display: inline;
}
.multiline > span {
  margin-bottom: 3rem;
}
/*.form-block li:nth-child(12) input + label,
.form-block li:nth-child(13) input + label {
  font-size: 1.6rem;
  width: 27%;
  display: inline-block;
}
.form-block li:nth-child(13) input + label {
  margin-bottom: 3rem;
}*/
/*同意*/
#check {
  margin: 0 auto 8rem;
}
#check p {
  margin: 12rem auto 3rem;
}
#check a {
  border-bottom: #000 1px solid;
}
#check span {
  color: #000;
}
#check input {
  width: 40px;
  height: 40px;
}
#check label {
  font-size: 1.6rem; 
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}
#check label input {
  margin-right: 1rem;
}
#confirm #check span {
  display: none;
}
/*ボタン*/
.button {
  display: flex;
  justify-content: center;
  margin-bottom: 3.0rem;
}
.button li {
  margin: 0 3.0rem 1.5rem;
}
.button button {
  font-size: 1.5rem;
  letter-spacing: 4px;
}
.button .btn-type2 {
  color: #0B5798;
}
.button .btn-type1 {
  color: #fff;
}
#input .button li:first-child {
  display: none;
}
.thanks span {
  color: #0B5798 !important;
  font-weight: 900;
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
  .intro,
  .form-block {
    padding: 0 4%;
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  main article > section {
    width: auto;
    margin: auto 6%;
  }
  main article > section h2 + p {
    margin-bottom: 5rem;
  }
  main article > section > dl dt {
    font-size: 3rem;
  }
  main article > section > dl {
    font-size: 2.6rem;
    padding: 2rem 2rem;
  }
  main article > section > dl dd ul {
    text-align: left;
  }
  form {
    margin-top: 110px;
  }
  .form-block,
  main article > section p {
    font-size: 2.5rem;
  }
  .w340 {
    width: 260px;
  }
  .Q,.A {
    width: 100%;
  }
  .form-block li {
    margin-bottom: 20px;
  }
  .A input,.A select {
    height: 11vw;
  }
  textarea {
    height: 92vw;
    margin-bottom: 2rem;
  }
  .form-block li:nth-child(11) .A dd {
    font-size: 2.5rem;
  }
  .check-radio > span {
    font-size: 2.4rem;
    width: 40%;
  }
  .multiline > span {
    margin-bottom: 0;
  }
/*  .form-block li:nth-child(12) input + label,
  .form-block li:nth-child(13) input + label {
    font-size: 2.4rem;
    width: 40%;
    vertical-align: 2rem;
  }
  .form-block li:nth-child(13) input + label {
    margin-bottom: 5rem;
  }*/
  #check {
    margin: 0 auto 12rem;
  }
  #check p {
    margin: 8rem auto 5rem;
    font-size: 2.2rem;
    line-height: 2.4;
  }
  #check label {
    font-size: 2.4rem;
  }
  #check input {
    width: 28px;
    height: 28px;
  }
  .button {
    display: block;
  }
  .button li {
    margin: 0 0 1.5rem;
    text-align: center;
  }
  .button button {
    width: 90%;
    min-width: 90%;
    font-size: 2.4rem;
    letter-spacing: 4px;
    padding: 8px;
  }
  .thanks {
    margin-top: 4rem;
  }
}



.mw_wp_form .error {
  color: #B70000 !important;
}
