/* page-contact.css */
@charset "UTF-8";

/* Header */
a.header-scroll__link {
  display: none;
}
.fv-walker {
  width: 330px;
  position: absolute;
  inset: 100px 0 0 0;
  margin: auto;
}
.header-nav__circle::after {
  width: 80px;
}
.header-scroll__image img {
  height: 450px;
  object-fit: cover;
  align-self: initial;
  width: 100%;
}
.header-nav {
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  bottom: -10px;
  width: 480px;
}
.header-scroll__container {
  padding-bottom: 160px;
  background-color: #f4f4f4;  
}

@media screen and (max-width: 768px) { 
  .header-scroll__container {
    padding-bottom: 0px;
  }
  .header-scroll__image img {
    height: 250px;
  }
  .header-nav {
    bottom: -5px;
    width: 80%;
    max-width: 345px;
  }
  .fv-walker {
    width: 200px;
    inset: 45px 0 0 0;
  }
  .header-nav__circle::after {
    width: 188%;
  }
}

@media screen and (max-width: 415px) { 
  .header-nav__circle::after {
      width: 162%;
  }
}


/* Contact Section */
.contact-section {
  background-color: #f4f4f4;
  padding: 80px 0 120px;
}

.contact-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Contact Header */
.contact-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 80px;
}

.contact-header__subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0.1em;
  color: #000000;
}

.contact-header__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 80px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #ffffff;
  -webkit-text-stroke: 2px #000000;
  paint-order: stroke fill;
}

/* Contact Content */
.contact-content {
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .contact-info {
    padding: 0px 100px;
  }
}

@media screen and (max-width: 768px) {
  .contact-section {
    padding: 40px 0 60px;
  }

  .contact-header {
    margin-bottom: 40px;
  }

  .contact-header__subtitle {
    font-size: 16px;
  }

  .contact-header__title {
    font-size: 50px;
  }

}

@media screen and (max-width: 500px) {
  .contact-header__title {
    font-size: 36px;
  }

}


/* Contact Form 7 Styling */
input, button, textarea, select {
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-weight: normal;
}

input[type="checkbox"] {
  width: 20px !important;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 0 !important;
  position: relative;
  margin-right: 10px;
  transition: background-color 0.3s;
}

.contact_privacy input[type="checkbox"]:after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 7px;
  height: 12px;
  border: solid #007BFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}

.contact_privacy input[type="checkbox"]:checked:after {
  opacity: 1;
}

.contact_privacy .wpcf7-list-item-label {
  display: none;
}

button {
  text-decoration: none;
  opacity: 0.8;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

button:hover {
  cursor: pointer;
}

.fl_contact {
  padding: 0 100px;
}

.fl_contact h2{
  text-align: center;
  border-bottom: solid 1px #333;
  padding-bottom: 1rem;
  margin-bottom: 5rem;
}

.ic_must {
  background-color: #E93838;
  font-size: 1.2rem;
  text-align: center;
  padding: 3px 5px;
  border-radius: 5px;
  color: #fff;
  margin-right: 1rem;
}

.contact_inner {
  margin-bottom: 3rem;
}

.contact_inner textarea,
.contact_inner input {
  background-color: #FAFAFA;
  padding: 1rem;
  border-radius: 5px;
  width: 100%;
}

.contact_inner label {
  width: 100%;
  display: block;
  margin-bottom: 1rem;
}

.contact_inner.contact_privacy label {
  display: inline;
}

.contact_privacy .checkbox_icon {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 0;
  position: relative;
  margin-right: 10px;
  transition: background-color 0.3s;
}

.contact_privacy .checkbox_icon:after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 7px;
  height: 12px;
  border: solid #007BFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}

.contact_privacy .checkbox_icon:checked:after {
  opacity: 1;
}

.contact_privacy {
  text-align: center;
}

.contact_privacy .checkbox_text {
  width: fit-content;
  display: inline-block;
  vertical-align: middle;
}

.contact_privacy a {
  display: inline-block;
  text-decoration: underline;
}

.fl_contact .round_btn {
  width: 27rem;
  margin: 5rem auto 0;
  display: block;
}

.fl_contact .round_btn:hover {
  opacity: 0.5;
}

.wpcf7-form-control.wpcf7-submit.has-spinner {
  color: #fff;
  padding: 1.5rem 6vw;
  text-align: center;
  background-color: #369cdf;
  width: 27rem;
  margin: 5rem auto 0;
  display: block;
  letter-spacing: .5rem;
  position: relative;
  border-radius: 2.7rem;
}

.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
  cursor: pointer;
  opacity: 0.7;
}

.contact_inner br {
  display: none;
}

.codedropz-upload-handler {
  width: 100%;
  height: 267px;
  display: inline-block;
}

.codedropz-upload-container {
  /* background-image: url(../images/lucide_file-up.png); */
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: contain;
  margin-top: 8rem;
}

.codedropz-upload-inner h6 {
  color: #00A4F0;
}

/* File upload styling from kowa theme */
.fl_contact input[type=file] {
  display: none;
}

.fl_contact .file_contents {
  height: 20rem;
  border: dashed 1px #ccc;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.fl_contact .file_contents img {
  width: 5rem;
  height: auto; 
}

.fl_contact .file_contents p {
  font-size: 1.2rem;
  margin-top: 1rem;  
}

.fl_contact .file_contents .file_text {
  color: #00A4F6;  
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .fl_contact {
    padding: 0;
  }
  
  .wpcf7-form-control.wpcf7-submit.has-spinner {
    width: 100%;
    max-width: 27rem;
  }
}
