html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af !important;
}

.confirm_area,
.thanks_area {
  display: none;
}

.wpcf7-response-output {
  display: none;
}

.wpcf7-spinner {
  display: none;
}

.submit-button,
.confirm_button {
  box-sizing: border-box;
  width: 100%;
  max-width: 446px;
  height: 60px;
  padding: 0 40px;
  border: none;
  border-radius: 4px;
  background-color: #FF6600;
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 60px;
  text-align: center;
  transition: opacity 0.3s ease;
}

@media (max-width: 767px) {
  .submit-button,
  .confirm_button {
    max-width: none;
    padding: 0 16px;
  }
}

@media (min-width: 768px) {
  .submit-button,
  .confirm_button {
    font-size: 24px;
  }
}

.submit-button:disabled,
.confirm_button:disabled {
  background-color: #2a2a2a;
  color: #D1D5DC;
  cursor: not-allowed;
}

.submit-button:hover,
.confirm_button:hover {
  opacity: 0.8;
}

.wpcf7-list-item {
  margin-left: 0 !important;
}

.wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;
}

#contact .wpcf7-form-control-wrap {
  display: block;
}

#contact input.contact-field,
#contact select.contact-field,
#contact textarea.contact-field {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #D1D5DC;
  border-radius: 0;
  background-color: #ffffff;
  color: #111111;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  outline: none;
}

#contact select.contact-field,
#contact input.contact-field,
#contact textarea.contact-field {
  padding: 8px 12px;
}

#contact select.contact-field {
  padding-right: 28px;
  color: rgb(0 0 0 / 50%);
}

@media (max-width: 767px) {
  #contact select.contact-field,
  #contact input.contact-field {
    height: 52px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 14px;
  }
}

#contact select.contact-field:has(option:checked:not([value=""])) {
  color: #111111;
}

#contact select.contact-field option {
  color: #111111;
}

#contact select.contact-field option[value=""] {
  color: rgb(0 0 0 / 50%);
}

#contact textarea.contact-field {
  font-size: 14px;
  min-height: 98px;
  height: 98px;
  resize: vertical;
}

#contact input.contact-field::placeholder,
#contact textarea.contact-field::placeholder {
  font-size: 14px;
  color: rgb(0 0 0 / 50%) !important;
}

#contact .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 24px;
  row-gap: 8px;
}

#contact input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #111111;
}

#contact .wpcf7-radio .wpcf7-list-item-label {
  color: #111111;
  font-size: 14px;
  line-height: 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1.2s ease-out forwards;
}

.hidden-element-fade-in {
  opacity: 0;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.hidden-element {
  opacity: 0;
  transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
  .animate-fade-in,
  .animate-fade-in-up,
  .hidden-element,
  .hidden-element-fade-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #FFCC00;
  border-radius: 50%;
  color: #111111;
  text-decoration: none;
  font-size: 16px;
}

a.next.page-numbers,
a.prev.page-numbers {
  width: 20px;
  height: 20px;
  background-color: #F3F4F6;
  color: #111111;
  border: none;
  border-radius: 0;
}

.page-numbers.current {
  background-color: #111111;
  color: #FFCC00;
}

@media (max-width: 767px) {
  .pagination .page-numbers {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }
}

.sp-header-tel-closed,
.sp-menu-bars {
  display: flex;
}

.sp-header-tel-open,
.sp-menu-close {
  display: none;
}

header.is-menu-open .sp-header-tel-closed,
header.is-menu-open .sp-menu-bars {
  display: none;
}

header.is-menu-open .sp-header-tel-open,
header.is-menu-open .sp-menu-close {
  display: flex;
  flex-direction: column;
}

header.is-menu-open .sp-menu-button {
  width: auto;
  height: auto;
  margin-left: 24px;
}

body.is-menu-open {
  overflow: hidden;
}

#mobile-menu {
  position: fixed;
  top: 68px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 49;
  width: 100%;
  height: calc(100dvh - 68px);
  overflow-y: auto;
  background-color: #111111;
}
