html {
  scroll-behavior: smooth;
}

.contact-section {
  background: #f9f9f9;
}

#renovation,
#painting {
  scroll-margin-top: 120px;
}

#painting {
  background: #f5f8ff;
}

#renovation {
  background: #fff;
}

#privacy {
  background: #f9f9f9;
}

.link {
  text-decoration: underline;
}

.contact-section-title {
  position: relative;
  font-size: 38px;
  font-weight: 700;
  color: #08238c;
  margin-bottom: 50px;
  padding-left: 25px;
}

.contact-section-title::before {
  content: "";
  width: 12px;
  height: 40px;
  background: #14a6e8;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 20px;
}

.contact-section-title::after {
  content: "";
  width: 180px;
  height: 12px;
  background: #f4c400;
  position: absolute;
  left: 25px;
  bottom: -10px;
  border-radius: 20px;
}

.contact-cta-inner {
  background: #08238c;
  border-radius: 30px;
  padding: 50px 50px 55px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-direction: column;
}

.contact-cta-text {
  width: 100%;
  text-align: center;
}

.contact-cta-text h3 {
  width: 100%;
  color: #fff;
  font-size: 40px;
  margin-bottom: 15px;
  border-bottom: 1px solid #fff;
}

.contact-cta-text p {
  color: #fff;
  line-height: 2;
}

.inquriy-way {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.inquiry-item {
  width: 300px;
  border: 2px solid #fff;
  transition: 0.3s ease-in;
  box-shadow: 3px 3px 0 #fff;
}

.inquiry-item a:hover {
  opacity: 1 !important;
}

.contact-cta .inquiry-box a {
  height: 105px;
}

.inquiry-item:hover {
  opacity: 1 !important;
  box-shadow: 0px 0px 0 #fff;
}

.inquriy-way .tel-box {
  border-radius: 10px;
}

.inquriy-way .tel-box .eigyou-tel {
  margin: 0px auto;
}

.inquriy-way .tel-text {
  color: #fff;
  font-size: 1.5rem;
}

.inquriy-way .tel-time p {
  letter-spacing: 0 !important;
}

.inquiry-info-box {
  background: #fff;
  border-radius: 20px;
  border: 2px solid #eee;
  padding: 25px;
  margin-bottom: 30px;
}

.inquiry-text span {
  display: block;
  line-height: 1.8;
}

.inquiry-form {
  background: #fff;
  border-radius: 30px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-row {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.form-label {
  width: 220px;
  flex-shrink: 0;
  font-weight: 700;
  color: #08238c;
}

.form-label span {
  display: inline-block;
  background: #e60012;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-right: 10px;
}

.form-label .any {
  display: inline-block;
  background: #999;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-right: 10px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  font-size: 16px;
  background: #fafafa;
}

.form-row textarea {
  min-height: 200px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #14a6e8;
}

.form_btn {
  border: none;
  justify-content: center;
  margin-top: 40px;
}

.inquiry_send_btn {
  width: 320px;
  height: 70px;
  border: none;
  border-radius: 100px;
  background: #08238c;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.inquiry_send_btn:hover {
  background: #14a6e8;
}

.acd-label {
  display: block;
  background: #08238c;
  color: #fff;
  padding: 20px 30px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 20px;
}

.acd-content {
  border: 1px solid #ddd;
  border-top: none;
  padding: 30px;
  background: #fff;
}

.scroll_bar {
  max-height: 350px;
  overflow-y: auto;
}

@media (max-width: 1200px) {
  .contact-cta .inquiry-guide-text p {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 1024px) {
  .contact-cta-inner {
    padding: 20px 20px 25px;
    gap: 20px;
    border-radius: 20px;
  }

  .main-area .inquiry-box {
    gap: 10px;
    margin-top: 0;
  }

  .main-area .tel-time {
    flex-direction: column;
    text-align: center;
    gap: 0;
    padding: 5px 0;
    text-align: left;
  }

  .main-area .tel-time p {
    font-size: 0.8rem;
  }

  .inquiry-form {
    border-radius: 20px;
    padding: 30px;
  }

  .form-row input,
  .form-row select,
  .form-row textarea {
    font-size: 0.9rem;
  }

  .contact-cta-text h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .inquriy-way {
    display: flex;
    flex-direction: column;
  }

  .inquriy-way .tel-box {
    padding: 10px;
  }

  .main-area .tel-time {
    flex-direction: row;
  }

  .main-area .tel-time p {
    font-size: 0.65rem;
  }

  .contact-section-title {
    font-size: 28px;
  }

  .contact-section-title::after {
    width: 120px;
  }

  .contact-cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .contact-cta-text h3 {
    font-size: 1.5rem;
  }

  .inquiry-form {
    padding: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-label {
    width: 100%;
  }

  .inquiry_send_btn {
    margin: auto;
    height: 50px;
    width: 200px;
    font-size: 1rem;
  }

  .acd-content {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .contact-cta-text {
    text-align: left;
  }

  .contact-cta-text h3 {
    font-size: 1.3rem;
    text-align: center;
  }

  .inquriy-way,
  .inquiry-item {
    width: 100%;
  }

  .inquriy-way .tel-box .eigyou-tel {
    margin: 0px auto 5px;
  }
}
