@charset "UTF-8";

/* =============================================================
  contact.css
 =============================================================== */
#page-contact .page-title {
  width: 27.7%;
  max-width: 532px;
}

#contact {
  background: #adede6;
  padding: 50px 0 85px;
}

.contact__block {
  background: var(--white);
  border-radius: 20px;
  padding: 55px 55px 60px;
}

.contact__text {
  margin-bottom: 30px;
}

#contact ul {
  margin-bottom: 70px;
}

#contact ul li {
  line-height: 1.8;
}

#contact .button a {
  font-size: 1.8rem;
  max-width: 500px;
  margin: 0 auto 50px;
  padding: 24px;
}

#contact .button a::before,
#contact .button a::after {
  right: 25px;
  width: 12px;
}

@media screen and (max-width: 768px) {
  #page-contact .page-title {
    width: 58.13%;
    max-width: 437px;
  }

  #contact {
    padding: 40px 0 90px;
  }

  .contact__block {
    border-radius: 10px;
    padding: 30px 20px;
  }

  #contact ul {
    margin-bottom: 30px;
  }

  #contact .button a {
    border-radius: 25px;
    font-size: 1.5rem;
    max-width: 350px;
    margin: 0 auto 20px;
    padding: 12px;
  }

  #contact .button a::before,
  #contact .button a::after {
    right: 15px;
    width: 10px;
  }
}

@media screen and (max-width: 374px) {
  #contact .button a {
    font-size: 1.3rem;
  }

  #contact .button a::before,
  #contact .button a::after {
    right: 10px;
    width: 8px;
  }
}

/* contact-child */
.contact-child h3 {
  font-size: 4rem;
  margin-bottom: 45px;
  text-align: center;
}

.contact__iframe {
  border: 1px solid #ccc;
}

@media screen and (max-width: 1024px) {
  .contact-child h3 {
    font-size: 3rem;
  }
}

@media screen and (max-width: 768px) {
  .contact-child h3 {
    font-size: 2.4rem;
    line-height: 1.4;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 374px) {
  .contact-child h3 {
    font-size: 2rem;
  }
}
