@charset "utf-8";
html {
  scroll-padding-top: unset;
  scroll-behavior: unset;
}
@media (max-width: 767px)　{
  html {
    scroll-padding-top: unset;
  }
}

.contact {
  padding: clamp(3.75rem, 1.25rem + 5.21vw, 7.5rem) 0;
}
.contact__inner {
  padding: 0 clamp(1.25rem, -17.833rem + 39.76vw, 29.875rem);
}
.contact__container {
      display: flex;
    flex-direction: column;
    align-items: center;
}
.contact__title {
      font-size: clamp(1.5rem, 1.167rem + 0.69vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-align: center;
}
.contact__text {
      margin-top: clamp(1.5rem, 0.417rem + 2.26vw, 3.125rem);
    text-align: center;
    line-height: 1.7;
    font-weight: 500;
}
.contact__box {
      margin-top: clamp(1.5rem, 0.417rem + 2.26vw, 3.125rem);
    display: flex;
    align-items: baseline;
    column-gap: 8px;
  padding-bottom: 40px;
}
.contact__phone {
      display: flex;
    column-gap: clamp(0.5rem, 0.167rem + 0.69vw, 1rem);
    align-items: baseline;
}
.contact-phone__icon {
      width: clamp(1.125rem, 0.792rem + 0.69vw, 1.625rem);
    object-fit: contain;
}
.contact-phone__text {
      font-size: clamp(1.5rem, 1.167rem + 0.69vw, 2rem);
    font-weight: 700;
}
.contact__time {
    font-size: clamp(0.75rem, 0.667rem + 0.17vw, 0.875rem);
    font-weight: 500;
}
.contact__form {
  width: 100%;
      padding-top: 40px;
    border-top: 1px solid #9D9D9D;
}
.contact__items {
      display: flex;
    flex-direction: column;
    row-gap: 8px;
}
.formRow {
      display: flex;
    column-gap: 20px;
}
.formTh {
      width: 34%;
    padding: clamp(1rem, 0.5rem + 1.04vw, 1.75rem) 20px;
    display: flex;
    justify-content: space-between;
    background-color: #F7F7F7;
}
.label {
  margin-top: 5px;
      margin-bottom: 0;
    line-height: 1;
  font-weight: 700;
  height: fit-content;
}
.requiredText {
      font-size: 13px;
    padding: 5px 10px;
    background-color: #717171;
    color: #fff;
    line-height: 1;
  height: fit-content;
}
.formTd {
  width: 66%;
      border: 1px solid #D5D5D5;
    display: flex;
  flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 11px 25px;
}
.formInput {
        width: 100%;
    padding: clamp(1rem, 0.833rem + 0.35vw, 1.25rem) 20px;
    border: none;
    font-weight: 500;
    background-color: #F5F4F4;
    color: #575757;
}
.formTextArea {
        width: 100%;
    height: 174px;
    padding: clamp(1rem, 0.833rem + 0.35vw, 1.25rem) 20px;
    border: none;
    font-weight: 500;
    background-color: #F5F4F4;
    color: #575757;
}
.privacyBox {
    height: 174px;
    width: 100%;
    padding:clamp(1rem, 0.833rem + 0.35vw, 1.25rem) 20px;
    overflow-y: scroll;
    overflow-x: hidden;
  font-weight: 500;
    background-color: #F5F4F4;
    color: #575757;
}
.privacyBox p {
  font-size: 14px;
}
.privacy__text {
    display: flex;
    align-items: center;
    column-gap: 5px;
  justify-content: center;
      margin-right: auto;
    margin-top: 20px;
}
.checkbox {
      height: 26px;
    width: 24px;
}
.privacyLabel {
    font-weight: 500;
}
.formBtnTd {
        margin-top: clamp(2.5rem, 0.833rem + 3.47vw, 5rem);
    margin-left: auto;
    margin-right: auto;
}
.formBtn {
        cursor: pointer;
    width: clamp(14.375rem, 7rem + 15.36vw, 25.438rem);
    height: 56px;
    background-color: #000000;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border: none;
    transition: all 0.5s;
}
.formBtn:hover {
  opacity: 0.5;
}

@media (max-width: 767px) {
  .contact__text {
    font-size: 14px;
    line-height: 1.7;
  }
  .contact__box {
        flex-direction: column;
    align-items: flex-end;
  }
  
  .contact__items {
    row-gap: 20px;
  }
  .formRow {
        flex-direction: column;
    row-gap: 8px;
  }
  .formTh {
        background-color: unset;
    justify-content: flex-start;
    column-gap: 20px;
    align-items: center;
    padding: 0;
    width: 100%;
  }
  .label {
    margin-top: 0;
  }
  .formTd {
    width: 100%;
    padding: 10px;
  }
}

@media (max-width: 389px) {
  .privacyLabel {
    font-size: clamp(0.625rem, 0.045rem + 2.9vw, 0.75rem);
  }
  .formBtn {
    width: 280px;
  }
}


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