/* ------------------------------------------------------------
// Form Tag
------------------------------------------------------------ */
.ripples {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/index/ripples-img.png);
  background-size: cover;
  z-index: 1;
}

::-webkit-input-placeholder {
  color: #cccccc;
}

::-moz-placeholder {
  color: #cccccc;
}

label {
  display: flex;
  align-items: center;
  gap: 5px;
}
label input[type=text] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cccccc;
  border-radius: 4px;
}
@media (max-width: 768px) {
  label input[type=text] input[type=text] {
    padding: 12px 16px;
  }
}
label input[type=radio] {
  width: auto;
  margin-top: 2px;
}
label input[type=checkbox] {
  width: 1em;
  height: 1em;
  margin-top: 4px;
  vertical-align: middle;
}
label textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px 14px;
  border: 1px solid #cccccc;
  border-radius: 4px;
}

.button-box {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.button-box button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  width: 100%;
  max-width: 280px;
  height: 46px;
  padding-bottom: 2px;
  background: #005bad;
  border-radius: 23px;
  transition: 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 102, 255, 0.2);
}
.button-box button i {
  position: absolute;
  right: 20px;
  font-size: 14px;
}
.button-box button:hover {
  background: #003462;
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 51, 128, 0.3);
}
.button-box button.return {
  color: #121212;
  background: #fafafa;
  border: 1px solid #cccccc;
}
.button-box button.return:hover {
  background: #cccccc;
}
@media screen and (max-width: 575px) {
  .button-box button {
    font-size: 16px;
    max-width: 240px;
    height: 44px;
    border-radius: 22px;
  }
  .button-box button i {
    font-size: 12px;
    right: 15px;
  }
}
@media print, screen and (max-width: 767px) {
  .button-box button {
    height: 50px;
  }
}

/* ------------------------------------------------------------
// table Layout
------------------------------------------------------------ */
.required,
.optional {
  float: right;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #ffffff;
  line-height: 20px;
  margin-top: 6px;
  padding: 0 0.4em;
  border-radius: 3px;
}
@media print, screen and (max-width: 767px) {
  .required,
  .optional {
    margin-top: 4px;
  }
}

.required {
  background: #b9072d;
}

.optional {
  background: #cccccc;
}

.flex-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 20px;
}

/* ------------------------------------------------------------
// privacy policy
------------------------------------------------------------ */
.privacy-title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  margin: 30px auto;
}
@media print, screen and (max-width: 767px) {
  .privacy-title {
    font-size: 16px;
    font-weight: 500;
  }
}

.scroll-box {
  width: 100%;
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  border: 1px solid #cccccc;
}
@media print, screen and (max-width: 767px) {
  .scroll-box {
    padding: 30px 20px;
  }
}

.privacy-box {
  font-size: 15px;
  width: 100%;
  height: 360px;
  overflow-y: auto;
  padding-right: 20px;
}
.privacy-box .privacy-item-title {
  font-size: 16px;
  color: #ffffff;
  margin: 30px 0 15px;
  padding: 8px 15px;
  background: #666666;
}
.privacy-box p {
  margin-bottom: 1em;
}
.privacy-box ul {
  padding-left: 1.5em;
}
.privacy-box ul li {
  list-style-type: decimal;
  margin-bottom: 1em;
}

.privacy-checkbox {
  font-size: 18px;
  font-weight: 700;
  margin: 30px auto;
}
.privacy-checkbox label {
  justify-content: center;
  gap: 6px;
}
@media print, screen and (max-width: 767px) {
  .privacy-checkbox {
    font-size: 16px;
    font-weight: 500;
  }
}

/* ------------------------------------------------------------
// design
------------------------------------------------------------ */
.contact-txt {
  line-height: 1.8;
  text-align: center;
  color: #333333;
  padding: 40px;
  border-top: 1px dashed #d2d2d2;
  border-bottom: 1px dashed #d2d2d2;
}
@media print, screen and (max-width: 767px) {
  .contact-txt {
    text-align: left;
    padding: 40px 20px;
  }
}

.contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: center;
  margin: 120px 0;
}
.contact-info .info-box {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #cccccc;
}
.contact-info .info-box .tel-number {
  display: flex;
  align-items: center;
}
.contact-info .info-box .tel-number .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  line-height: 1;
  width: 60px;
  height: 60px;
  background: #005bad;
}
.contact-info .info-box .tel-number .number {
  flex: 1;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}
.contact-info .info-box .tel-number .number .time {
  font-size: 13px;
  font-weight: 400;
  margin-top: 8px;
}
@media (max-width: 991px) {
  .contact-info {
    flex-direction: column;
    gap: 10px;
    margin: 40px 0 120px;
  }
}

.contact-form-box {
  max-width: 990px;
  margin: 0 auto;
}
.contact-form-box table {
  width: 100%;
}
.contact-form-box table tr {
  display: grid;
  grid-template-columns: 240px auto;
}
.contact-form-box table tr th,
.contact-form-box table tr td {
  text-align: left;
  vertical-align: top;
}
.contact-form-box table tr th {
  padding: 1em 0;
}
.contact-form-box table tr td {
  padding: 1em;
}
.contact-form-box table tr td a {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media screen and (max-width: 767px) {
  .contact-form-box table {
    width: 100%;
  }
  .contact-form-box table tr {
    display: flex;
    flex-direction: column;
    border-top: none;
  }
  .contact-form-box table tr th,
  .contact-form-box table tr td {
    display: block;
    width: 100%;
    border-bottom: none;
  }
  .contact-form-box table tr th {
    font-weight: 700;
    padding: 0.6em 1em;
    background: #fafafa;
  }
  .contact-form-box table tr td {
    padding: 1em 1em 2em;
  }
  .contact-form-box table tr td .municipalities {
    font-weight: 700;
  }
}