@charset "utf-8";

body:has(.thanks) .cta{
  display:none;
}

body:has(.thanks) .page-top{
  color:#0B0B0B;
}

body:has(.thanks) .page-top img {
  filter: brightness(0);
}

/*thanks*/
.thanks{
  text-align:center;
  margin-bottom:7.5rem;
}

.thanks h2{
  font-size:clamp(1.25rem, 1rem + 0.83vw, 2rem);
  margin-bottom:2rem;
}

.thanks .tel-a{
  margin:5rem auto 3rem;
  background: transparent;
  padding: 0;
  max-width: 800px;
}

.thanks .tel-a > div{
  padding: 2.5rem 0;
  border: 1.3px solid #175534;
  height: auto;
}

@media screen and (max-width: 767px) {
  .thanks .tel-a{
    margin: 3rem auto 3rem;
  }
  .thanks .tel-a > div {
    padding: 1.5rem 0;
  }
  .thanks h2{
    margin-bottom:2rem;
  }
}

/*contact*/



.contact{
  margin:240px 0 5rem;
}


.contact .top-title h2{
  font-size:clamp(1.25rem, 0.833rem + 1.39vw, 2.5rem);
  margin-top: 4px;
}

.contact .top-title + p{
  text-align:center;
}

.contact-bg{
  margin:5rem auto 2rem;
  background:#D6D6CA;
  border-radius:3px;
  padding:5rem 5%;
}

.contact-bg > h3,
.contact-bg > p{
  text-align:center;
}

.contact-bg > h3{
  font-size:clamp(1.25rem, 1.083rem + 0.56vw, 1.75rem);
  margin-bottom:20px;
}

.contact-bg .container{
  max-width:730px;
}

.privacyBox {
  height: 180px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 5% ;
  border: 1px solid #898989;
  background-color: #FFFFFF;
  overflow-y: scroll;
  overflow-x: hidden;
  text-align:left;
}

.privacyBox a{
  color:#000 !important;
}

input,
textarea,
select{
  padding: 14px 1rem;
  width: 100%;
  border: 1px solid #BABEA8;
  background-color: #FFFFFF;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 2px;
}

textarea{
  min-height:160px;
}

form{
  margin-top:5rem;
}

form .row{
  display: block;
  padding: 0 0 20px;
}

form .row:has(.policy){
  border-top:none;
  padding-top:0;
}

form .container{
  padding:0;
  width: 100% !important;
}

select {
  appearance: revert;
}

select {
    -webkit-appearance: none;
    appearance: none;
}

.formTd:has(select) > div{
  position:relative;
}

.formTd:has(select) > div::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 16px;
    width: 12px;
    height: 12px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
}

.formTh{
  padding: 0;
  width: 100%;
  max-width: none;
  display: flex;
  margin-bottom:10px;
}

.formTd{
  display: block;
  padding: 0;
  width: 100%;
  max-width: none;
}

form .policy{
  margin-top:1rem;
  display: flex;
  align-items: center;
  gap:10px;
  justify-content: center;
}

form .policy input{
  width: 1rem;
  height: 1rem;
  appearance: auto;
}

form .policy label{
  margin: 0;
}
input[type=checkbox], input[type=radio]{
  appearance: auto;
}

.two-column{
  display: flex;
  gap: 2.5rem;
}

.two-column input{
  width:calc((100% - 2.5rem ) / 2);
}

form label{
  margin: 0;
}

.formBtnTd{
  margin: 3rem auto 0;
  width: fit-content;
  display: flex;
  justify-content: center;
  position:relative;
}

.formBtnTd button{
  background:transparent;
  display: inline-block;
  cursor: pointer;
  position: relative;
  width: fit-content;
  margin: 0;
  padding:20px 3rem;
  color:#175534;
  border:1px solid ;
  font-size:20px;
  font-family: "Zen Old Mincho", serif;
}

.formBtnTd button:hover{
  opacity:0.7;
}

.requiredText{
  color:#FF0000;
  font-size:14px;
  line-height: 1;
}

.formError {
  margin-top: -40px !important;
}

form .row:has(.formBtnTd){
  padding:0;
}


@media screen and (max-width: 1024px) {
  .contact .container{
    width:90%;
  }
}


@media screen and (max-width: 767px) {
  .formTh {
    text-align: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }  
  .form-btn{
    gap:1.5rem;
  }
  .formBtnTd button{
    width:230px;
  }
  .formBtnTd button{
    padding: 16px;
  }
  input,
  textarea,
  select{
    padding: 10px 1rem;
  }
  form label,
  .privacyBox{
    font-size:14px;
  }
  form .policy{
    justify-content: center;
    margin: 0;
  }
  .requiredText{
    font-size: 12px;
  }
  .formBtnTd button{
    font-size:20px;
    min-width: 280px;
    padding:0.8rem;
  }
  .contact form{
    border-radius: 0;
    margin-top: 2rem;
  }
  .formBtnTd{
    margin: 1rem auto 0;
  }
  .two-column{
    gap: 1.5rem;
  }
  .formTd:has(select) > div::after{
    top:14px;
  }
}


.formError {
  margin-top: -40px !important;
}

/* Z-INDEX */

.formError {
  z-index: 990;
}

.formError .formErrorContent {
  z-index: 991;
}

.formError .formErrorArrow {

  z-index: 996;
}

.ui-dialog .formError {
  z-index: 5000;
}

.ui-dialog .formError .formErrorContent {

  z-index: 5001;
}

.ui-dialog .formError .formErrorArrow {
  z-index: 5006;
}

.inputContainer {
  position: relative;
  float: left;
}

.formError {
  position: absolute;

  top: 300px;
  left: 300px;
  display: block;
  cursor: pointer;
  text-align: left;
}

.formError.inline {
  position: relative;
  top: 0;
  left: 0;
  display: inline-block;
}

.ajaxSubmit {
  padding: 20px;
  background: #55ea55;
  border: 1px solid #999;
  display: none;
}

.formError .formErrorContent {
  width: 100%;
  background: #ee0101;
  position:relative;
  color: #fff;
  min-width: 120px;
  font-size: 11px;
  border: 2px solid #ddd;
  box-shadow: 0 0 6px #000;
  -moz-box-shadow: 0 0 6px #000;
  -webkit-box-shadow: 0 0 6px #000;
  -o-box-shadow: 0 0 6px #000;
  padding: 4px 10px 4px 10px;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  -o-border-radius: 6px;
}

.formError.inline .formErrorContent {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  -o-box-shadow: none;
  border: none;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -o-border-radius: 0;
}

.greenPopup .formErrorContent {
  background: #33be40;
}

.blackPopup .formErrorContent {
  background: #393939;
  color: #FFF;
}

.formError .formErrorArrow {
  width: 15px;
  margin: -2px 0 0 13px;
  position:relative;
}

body[dir='rtl'] .formError .formErrorArrow,
body.rtl .formError .formErrorArrow {
  margin: -2px 13px 0 0;
}

.formError .formErrorArrowBottom {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  -o-box-shadow: none;
  margin: 0px 0 0 12px;
  top:2px;
}

.formError .formErrorArrow div {
  border-left: 2px solid #ddd;
  border-right: 2px solid #ddd;
  box-shadow: 0 2px 3px #444;
  -moz-box-shadow: 0 2px 3px #444;
  -webkit-box-shadow: 0 2px 3px #444;
  -o-box-shadow: 0 2px 3px #444;
  font-size: 0px;
  height: 1px;
  background: #ee0101;
  margin: 0 auto;
  line-height: 0;
  font-size: 0;
  display: block;
}

.formError .formErrorArrowBottom div {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  -o-box-shadow: none;
}

.greenPopup .formErrorArrow div {
  background: #33be40;
}

.blackPopup .formErrorArrow div {
  background: #393939;
  color: #FFF;
}


.formError .formErrorArrow .line10 {
  width: 13px;
  border: none;
}

.formError .formErrorArrow .line9 {
  width: 11px;
  border: none;
}

.formError .formErrorArrow .line8 {
  width: 11px;
}

.formError .formErrorArrow .line7 {
  width: 9px;
}

.formError .formErrorArrow .line6 {
  width: 7px;
}

.formError .formErrorArrow .line5 {
  width: 5px;
}

.formError .formErrorArrow .line4 {
  width: 3px;
}

.formError .formErrorArrow .line3 {
  width: 1px;
  border-left: 2px solid #ddd;
  border-right: 2px solid #ddd;
  border-bottom: 0 solid #ddd;
}

.formError .formErrorArrow .line2 {
  width: 3px;
  border: none;
  background: #ddd;
}

.formError .formErrorArrow .line1 {
  width: 1px;
  border: none;
  background: #ddd;
}