/*** 
====================================================================
  content
====================================================================
***/

p {
  color: #707070;
}

label {
  margin-bottom: 0;
}

a:hover {
  text-decoration: none;
  color: inherit;
}

.contact {
  display: grid;
  grid-template-columns: 550px auto;
  gap: 64px;
  padding-top: 36px;
  padding-bottom: 47px;
  padding-left: 0;
  padding-right: 0;
}

.wp-content_fv-img {
  position: relative;
  aspect-ratio: 550/301;
  width: 100%;
}

.wp-content_h1 {
  margin-top: 40px;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  line-height: 33px;
  color: #000;
}

.wp-content_lists {
  margin-top: 44px;
}

.wp-content_list-hading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 20px;
  line-height: 33px;
  text-align: left;
  color: #c30d23;
  &::before {
    content: "";
    width: 30px;
    height: 1px;
    background: #c30d23;
  }
}

.wp-content_list {
  margin-top: 27px;
}

.wp-content_item {
  position: relative;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
  color: #000;
  padding-left: 16px;
  margin-left: 26px;
  &::before {
    position: absolute;
    top: 3px;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c30d23;
  }
}

/*** 
====================================================================
  Form
====================================================================
***/

.form-container {
  max-width: 493px;
  margin: 0 auto;
}

.form-items {
  display: grid;
  gap: 10px;
}

.form-group {
  display: flex;
  gap: 21px;
  margin-bottom: 0;
}

.form-item {
  width: 100%;
}

.label-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
  label {
    font-size: 16px;
    margin: 0;
  }
}

.noto-list {
  font-size: 9px;
  line-height: 12px;
}

.required,
.any {
  background-color: #c30d23;
  color: #fff;
  font-size: 8px;
  border-radius: 25px;
  padding: 4px 12px;
}

.any {
  color: #707070;
  background-color: #f1eeee;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 20px;
  height: 50px;
  border-radius: 25px;
  border: solid #707070 2px;
  margin-top: 5px;
  font-size: 14px;
  &::placeholder {
    font-size: 14px;
    color: #707070;
    opacity: 0.35;
  }
  &.error-border {
    border: solid #c30d23 2px !important;
  }
}

.form-group select:invalid {
  color: rgb(112 112 112 / 35%);
}
.form-group select option:first-child {
  color: rgb(112 112 112 / 35%);
}
.form-group select option {
  color: #707070;
}

#inquiryType option:not(.select-placeholder):checked {
  color: initial;
}

.error-message {
  color: #c30d23;
  padding: 8px 20px;
  font-size: 16px;
}

.error-message-checkbox {
  color: #c30d23;
  padding: 8px 0;
  text-align: center;
}

.form-group textarea {
  min-height: 70px;
  resize: vertical;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  &:invalid {
    border: #c30d23 2px solid;
  }
}

.form-checkbox {
  position: relative;
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  .required {
    position: absolute;
    top: 0;
    left: 20px;
  }
  label {
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 22px;
  }
}

.form-checkbox-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.link {
  display: flex;
  align-items: center;
  gap: 5px;
}

.link-text {
  color: #c30d23;
  border-bottom: 1px solid #c30d23;
  line-height: 100%;
}

.checkbox-icon {
  position: relative;
  aspect-ratio: 1/1;
  height: 18px;
  margin-bottom: 4px;
}

.submit-button {
  position: relative;
  display: grid;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-top: 15px;
  padding: 20px 0px;
  background-color: #c30d23;
  color: #fff;
  border: none;
  border-radius: 35px;
  font-size: 1.2em;
  cursor: pointer;
}

.submit-button:disabled {
  background-color: #ccc;
}

.button-text-small {
  font-size: 10px;
  color: #fff;
}

.button-text {
  font-weight: bold;
  font-size: 22px;
  line-height: 25px;
  text-align: center;
  color: #fff;
}

.notyf__toast {
  padding: 0 10px;
}
.notyf__toast--dismissible .notyf__wrapper {
  padding-right: 8px;
}

.notyf__icon {
  display: none;
}

.notyf__dismiss {
  margin-right: -10px;
}

.toast-error {
  color: #fff;
}

.arrow-icon {
  position: absolute;
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  aspect-ratio: 17/16;
  width: 17px;
}

@media screen and (max-width: 1024px) {
  main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact {
    padding-top: 0;
    padding-bottom: 37px;
    grid-template-columns: 1fr;
  }

  .wp-content_fv-img {
    margin: 0 calc(50% - 50vw);
    padding: 0 calc(50vw - 50%);
    width: auto;
  }

  .wp-content_h1 {
    margin-top: 24px;
    font-size: 16px;
  }

  .wp-content_lists {
    margin-top: 24px;
  }

  .form-items {
    gap: 20px;
  }

  .label-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 14px;
    label {
      font-size: 14px;
    }
  }

  .form-checkbox {
    margin-top: 21px;
    display: block;
    margin-left: 14px;
    .required {
      position: unset;
      display: block;
      max-width: 40px;
    }
  }
  .form-checkbox-items {
    margin-top: 16px;
  }
  .button-text {
    font-size: 18px;
  }
  .button-text-small {
    font-size: 14px;
  }
}
