@charset "utf-8";

html { scroll-behavior: auto;}

body:has(.green-bg) .cta{
  display:none;
}

/*thanks*/

.thanks{
  text-align:center;
}

.thanks .container{
  padding:5rem 5% !important;
  background:#fff;
  position:relative;
}

.thanks .container::before{
  content:"";
  position:absolute;
  width:100%;
  aspect-ratio: 2692/52;
  background:url(https://asunosmile.com/system_panel/uploads/images/20260907152837215596.png) repeat-x left/contain;
  top:0;
  left:0;
}

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

.thanks-tel{
  margin:20px auto ;
  display:flex;
  gap:10px;
  width:fit-content;
  align-items: end;
}

.thanks-tel p:last-child{
  font-size:clamp(1.25rem, 1rem + 0.83vw, 2rem);
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 767px) {
  .thanks .container{
    padding: 4rem 5% !important;
    width: 100%;
  }
  .thanks h2{
    margin-bottom:1rem;
  }
}

/*contact*/

.contact > .container{
  padding:4rem 5% 3rem !important;
  background:#fff;
}

.contact form{
  margin:2.5rem auto 0;
  max-width:1152px;
  color:#000;
}

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

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

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

input[type=checkbox], input[type=radio]{
  width: fit-content;
}

.radioArea,
.checkArea{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 0;
}

.radioArea .d-inline-block,
.checkArea .d-inline-block{
  display:flex !important;
  align-items: center;
  gap: 4px;
  width: 50%;
  padding-right: 1rem;
  word-break: break-all;
}

.addArea {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.addArea:first-child input {
  width: 120px;
}

.addArea:first-child input:last-child {
  width: 160px;
}

.addArea:nth-child(n + 2) label {
  width: 100px;
}

.addArea:nth-child(n + 2) input {
  width: calc(100% - 108px);
}

.selectArea {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.selectArea .d-md-inline-block{
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
}

.selectArea select{
  width:fit-content;
}

textarea{
  min-height:160px;
}

form .row{
  padding: 0 0 0rem;
}

form .row.top{
  align-items: flex-start;
}

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

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

select {
  appearance: revert;
  border-radius: 0px;
}

.formTh{
  border: 1px solid #000000;
  border-bottom: none;
  border-right: none;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 1.5rem;
  gap: 0.5rem;
  background:#FFFCEA;
}

.last-row .formTh{
  border-bottom:1px solid #000000;
}

.formTd{
  padding: 20px 40px;
  border: 1px solid #000000;
  border-bottom: none;
}

.last-row .formTd{
  border-bottom:1px solid #000000;
}

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

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:40%;
  max-width:180px;
}

form label{
  margin: 0;
}

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

.formBtnTd button{
  background:#fff;
  display: inline-block;
  cursor: pointer;
  position: relative;
  border-radius:5px;
  width:290px;
  padding:1rem;
  border: none;
  color:#000;
  transition:0.3s;
  font-weight:500;
  letter-spacing:0.1em;
  border: 3px solid #FF8F2D;
  border-radius: 2.5rem;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.formBtnTd button:hover{
  opacity:0.7;
}

.requiredText{
  color:#fff;
  font-size:12px;
  line-height: 1;
  padding:4px 10px;
  background:#FF8F2D;
  border-radius:4px;
}

.optionalText{
  color:#fff;
  font-size:12px;
  line-height: 1;
  padding:4px 10px;
  background:#D1D1D1;
  border-radius:4px;
}

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

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

.fileCaution a{
  color:#BFBFBF;
  text-decoration:underline;
}

@media screen and (max-width: 1600px) {
  .requiredText{
    padding: 3px 6px;
  }
  .green-bg.contact .container {
    width: 90%;
  }
}

@media screen and (max-width: 1200px) {
  .formTh{
    background:transparent;
  }
  .formTh, .formTd {
    max-width: none;
    width: 100%;
    flex: auto;
    padding: 0;
    justify-content: flex-start;
    border: none;
  }
  .last-row .formTd,
  .last-row .formTh{
    border: none;
  }
}

@media screen and (max-width: 1024px) {
  .formBtnTd {
    margin: 1rem auto 0;
  }
  .contact .container{
    width:90%;
  }
  form .row {
    padding: 0 0 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }
}


@media screen and (max-width: 767px) {
  .radioArea .d-inline-block,
  .checkArea .d-inline-block{
    width:100%;
  }
  .addArea:first-child input {
    width: 90px;
  }
  .addArea:first-child input:last-child {
    width: 140px;
  }
  .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:13px;
  }
  form .policy{
    margin: 1rem 0 0;
  }
  .requiredText{
    font-size: 12px;
  }
  .formBtnTd button{
    font-size: 16px;
    min-width: 280px;
    padding:0.8rem;
  }
  .contact form{
    border-radius: 0;
    padding:0;
    margin: 0;
  }
  .formBtnTd{
    margin: 1rem auto 0;
  }
  .two-column{
    gap: 1.5rem;
  }
  .selectArea select {
    width: fit-content;
    padding: 8px;
  }
  .selectArea{
    gap:0.5rem;
  }
  .contact .container {
    width: 100%;
    padding: 2rem 5% 3rem !important;
  }
}

.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;
}