#page_contact_hp .ec-layoutRole{
  background-color: #7e765f;
  padding: 120px 0 0px;
}
#page_contact_hp .sp-only,#page_contact_complete_hp .sp-only{
  display: none;
}
#page_contact_hp .ec-headerNaviRoleWrapper {
  background: linear-gradient(to bottom, #2a1d00 0%, rgba(42, 29, 0, 0) 100%);
}
#page_contact_hp .ec-contactRole{
  padding-bottom: 100px;
}
#page_contact_hp .ec-layoutRole .ec-para-normal{
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  margin-top: 40px;
  text-align: center;
  line-height: 2;
}
#page_contact_hp .ec-layoutRole .ec-borderedDefs{
  margin-top: 60px;
}

#page_contact_hp .ec-borderedDefs dl{
  padding: 30px 0px;
  border-bottom: 1px solid #a39d8c;
}
#page_contact_hp .ec-borderedDefs dt {
  padding-top: 10px;
}
#page_contact_hp .ec-borderedDefs dl dt .ec-label{
  color: #FFFFFF;
  font-weight: 400;
}
#page_contact_hp .ec-borderedDefs dl dt .ec-required{
  background-color: #7A183B;
  padding: 4px 12px;
  letter-spacing: 0.1em;
}
#page_contact_hp .ec-borderedDefs dl dd{
  color: #FFFFFF;
}
#page_contact_hp .ec-borderedDefs dl dd p{
  color: #FFFFFF;
  font-size: 14px;
}
#page_contact_hp .ec-borderedDefs dl dd .ec-zipInput{
  margin-top: 1px;
}
#page_contact_hp .ec-borderedDefs dl dd textarea{
  min-height: 120px;
}
#page_contact_hp .ec-borderedDefs dl dd .ec-zipInputHelp a{

}
#page_contact_hp .ec-borderedDefs dl dd .ec-zipInputHelp a span{
  color: #FFFFFF;
  text-decoration: underline;
  font-size: 14px;
}
#page_contact_hp .ec-borderedDefs dl dd #contact_address_pref{
  background-color: #fff;
  min-height: 40px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  border: none;
}
#page_contact_hp .ec-input input, 
#page_contact_hp .ec-halfInput input, 
#page_contact_hp .ec-numberInput input, 
#page_contact_hp .ec-zipInput input, 
#page_contact_hp .ec-telInput input, 
#page_contact_hp .ec-select input,
#page_contact_hp .ec-input select,
#page_contact_hp .ec-input textarea,
#page_contact_hp .ec-birth input {
  margin-bottom: 0;
  /* border: 1px solid #000; */
  border-radius: 0;
  min-height: 40px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  color: #493e1e;
}
#page_contact_hp .ec-birth select,
#page_contact_hp .ec-select select {
  background-color: #FFFFFF;
    color: #493e1e;
    /* border: 1px solid #000; */
    border-radius: 0;
    min-height: 40px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
    background-position: center right 16px;
}
#page_contact_hp .ec-input:last-child{
  margin-top: 30px;
}
#page_contact_hp dd {
  margin-bottom: 0;
}
#page_contact_hp .ec-borderedDefs dl {
  align-items: flex-start;
}
.ec-contactCompleteRole{
  background: #ece0e2;
  padding: 100px;
}
.contact__btn{
  width: 100%;
  max-width: 160px;
  margin:80px auto 0;
}
.contact__btn .ec-blockBtn--action{
  width: 100%;
  border-radius: 50px;
  background-color: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  text-align: center;
  font-size: 15px;
  height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #493e1e;
  letter-spacing: 0.1em;
  font-family: "Forum", serif;
  transition: box-shadow 0.3s ease;
}
/* 確認ページ */
#page_contact_hp .contactConfirm{
  padding-bottom: 120px;
}
#page_contact_hp .contactConfirm dl dt{
  line-height: 1.5;
  padding: 0;
  margin: 0;
}
#page_contact_hp .contactConfirm dl dt label{
  margin: 0;
}
#page_contact_hp .contactConfirm dl dd{
  line-height: 1.5;
}
#page_contact_hp .contactConfirm .btn-flex{
  display: flex;
  justify-content: space-between;
  max-width: 360px;
  margin: 64px auto 0;
}
#page_contact_hp .contactConfirm .btn-flex .ec-blockBtn--cancel{
  width: 160px;
  border-radius: 50px;
  background-color: #2a2a2a;
  border: none;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  text-align: center;
  font-size: 15px;
  height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  letter-spacing: 0.1em;
  font-family: "Forum", serif;
  transition: box-shadow 0.3s ease;
}
#page_contact_hp .contactConfirm .btn-flex .ec-blockBtn--action{
  width: 160px;
  border-radius: 50px;
  background-color: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  text-align: center;
  font-size: 15px;
  height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #493e1e;
  letter-spacing: 0.1em;
  font-family: "Forum", serif;
  transition: box-shadow 0.3s ease;
}
#contact_hp_contact_kind label {
  width: calc(100% - 20px);
}
@media only screen and (max-width: 768px) {
  #page_contact_hp .sp-only,#page_contact_complete_hp .sp-only{
    display: block;
  }
  #page_contact_hp .ec-layoutRole{
    padding: 64px 0 0px;
  }
  #page_contact_hp .ec-contactRole{
    padding-bottom: 80px;
  }
  #page_contact_hp .ec-borderedDefs dt{
    padding-top: 0;
  }
  #page_contact_hp .ec-layoutRole .ec-para-normal{
    font-size: 12px;
    margin-top: 32px;
  }
  #page_contact_hp .ec-layoutRole .ec-borderedDefs{
    margin-top: 30px;
  }
  #page_contact_hp .ec-borderedDefs dl dd p{
    font-size: 12px;
  }
  #page_contact_hp .ec-borderedDefs dl dd{
    margin-top: 16px;
  }
  .contact__btn{
    margin:48px auto 0;
  }
  #page_contact_hp .contactConfirm{
    padding-bottom: 80px;
  }
  #page_contact_hp .contactConfirm dl dd{
    font-size: 14px;
  }
  #page_contact_hp .contactConfirm .btn-flex{
    max-width: 340px;
    margin: 40px auto 0;
  }
}
/* お問い合わせ完了ページ */
#page_contact_complete_hp .ec-layoutRole{
  background-color: #7e765f;
  padding: 120px 0 0px;
}
#page_contact_complete_hp .ec-headerNaviRoleWrapper {
  background: linear-gradient(to bottom, #2a1d00 0%, rgba(42, 29, 0, 0) 100%);
}
#page_contact_complete_hp .ec-contactCompleteRole{
  background-color: inherit;
  padding: 0;
  margin-top: 64px;
  color: #FFFFFF;
  padding-bottom: 120px;
}
#page_contact_complete_hp .ec-contactCompleteRole h3{
  text-align: center;
  font-size: 22px;
  line-height: 1.5;
}
#page_contact_complete_hp .ec-reportDescription{
  text-align: center;
  font-size: 16px;
  margin-top: 40px;
}
@media only screen and (max-width: 768px) {
  #page_contact_complete_hp .ec-layoutRole{
    padding: 60px 0 0px;
  }
  #page_contact_complete_hp .ec-contactCompleteRole{
    margin-top: 40px;
    padding-bottom: 80px;
  }
  #page_contact_complete_hp .ec-contactCompleteRole h3{
    font-size: 18px;
  }
  #page_contact_complete_hp .ec-reportDescription{
    font-size: 14px;
  }
}
/* 追加 */
#page_contact_hp .pageBtn{
  border-radius: 50px;
  width: 250px;
  background-color: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  text-align: center;
  font-size: 13px;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #493e1e;
  letter-spacing: 0.1em;
  font-family: "Forum", serif;
  transition: box-shadow 0.3s ease;
  border: none;
  margin: 40px auto 0;
}
#page_contact_hp .pageBtn:hover{
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 4px 20px rgba(255, 255, 255, 0.4);
}
#page_contact_hp .pageText{
  color: #FFFFFF;
  text-align: center;
  font-size: 12px;
  margin: 10px 0 0;
}
#contact_hp_contact_kind input[type="radio"] {
  display: none;
}

#contact_hp_contact_kind label {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 0;
}

/* カスタムラジオボタンの見た目 */
#contact_hp_contact_kind label:before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  margin-top: 2px;
  border: 1px solid #ccc;
  border-radius: 50%;
  padding: 3px;
  background-clip: content-box;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

/* 選択されていないとき */
#contact_hp_contact_kind input[type="radio"]:not(:checked) + label:before {
  border-color: #FFFFFF;
}

/* 選択されているとき */
#contact_hp_contact_kind input[type="radio"]:checked + label:before {
  background-color: #FFFFFF;
}