@charset "UTF-8";
@media screen and (min-width: 1281px) {
  main #contact {
    padding-top: 150px;
    padding-bottom: 100px;
  }
}
@media screen and (min-width: 501px) and (max-width: 1280px) {
  main #contact {
    padding-top: 150px;
    padding-bottom: 100px;
  }
}
@media screen and (max-width: 500px) {
  main #contact {
    padding-top: 100px;
    padding-bottom: 50px;
  }
}
@media screen and (min-width: 1367px) and (max-width: 1536px) {
  main #contact .wrap_cnt {
    width: 80%;
    margin: 0 auto;
  }
}
@media screen and (min-width: 1281px) and (max-width: 1366px) {
  main #contact .wrap_cnt {
    width: 80%;
    margin: 0 auto;
  }
}
@media screen and (min-width: 501px) and (max-width: 1280px) {
  main #contact .wrap_cnt {
    width: 90%;
    margin: 0 auto;
  }
}
@media screen and (min-width: 1281px) {
  main #contact .wrap_cnt .flexbox {
    justify-content: space-evenly;
  }
}
@media screen and (min-width: 501px) and (max-width: 1280px) {
  main #contact .wrap_cnt .flexbox {
    justify-content: space-evenly;
  }
}
@media screen and (max-width: 500px) {
  main #contact .wrap_cnt .flexbox {
    justify-content: space-evenly;
  }
}
@media screen and (min-width: 1281px) {
  main #contact .wrap_cnt .flexbox .wrap_contact {
    width: 50%;
  }
}
@media screen and (min-width: 501px) and (max-width: 1280px) {
  main #contact .wrap_cnt .flexbox .wrap_contact {
    width: 50%;
  }
}
@media screen and (min-width: 1281px) {
  main #contact .wrap_cnt .flexbox .txt {
    width: max(320px, 4rem);
  }
}
@media screen and (min-width: 501px) and (max-width: 1280px) {
  main #contact .wrap_cnt .flexbox .txt {
    width: max(320px, 4rem);
  }
}
main #contact .wrap_cnt .flexbox .txt p {
  margin-top: 1em;
}

main #contact .wrap_cnt h2 img {
  mask-image: linear-gradient(135deg, rgb(0, 0, 0) 30%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(135deg, rgb(0, 0, 0) 30%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0) 100%);
  mask-size: 250% 250%;
  -webkit-mask-size: 250% 250%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: 130% 130%;
  -webkit-mask-position: 130% 130%;
}
@media screen and (max-width: 500px) {
  main #contact .wrap_cnt h2 img {
    width: 90%;
    margin: 0 auto;
  }
}
main #contact .wrap_cnt h2.show img {
  animation: mask-animation 1.5s linear forwards;
}
@keyframes mask-animation {
  0% {
    mask-position: 130% 130%;
    -webkit-mask-position: 130% 130%;
  }
  100% {
    mask-position: 0 0;
    -webkit-mask-position: 0 0;
  }
}
/* 全体のフォーム入力欄を統一 */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 10px 20px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #fff;
  appearance: none; /* デフォルトの矢印などを消す（Chrome, Safari, Edge対応） */
  -moz-appearance: none; /* Firefox対応 */
  -webkit-appearance: none; /* Safari対応 */
}

/* セレクトボックス用の擬似的な矢印アイコン */
.contact-form select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23999' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px auto;
  cursor: pointer;
}

/* フォーカス時の統一効果 */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #333;
  outline: none;
}

/* スピンボタンを非表示（念のため） */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  appearance: textfield;
  -moz-appearance: textfield;
}
@media screen and (max-width: 500px) {
  .contact-form {
    margin-top: 2em;
  }
}
.contact-form {
  max-width: 680px;
  font-size: max(16px, 0.16rem);
}
.form-group {
  margin-bottom: 1.2em;
}
.form-group button {
  display: inline-block;
}
.form-group:last-child {
  text-align: center;
}
label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: bold;
}
input, textarea {
  width: 100%;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.submit-group {
  text-align: center;
}
button {
  background: #333;
  color: #fff;
  padding: 0.7em 1.5em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button:hover {
  background: #555;
}
.required {
  color: #f75c03;
  margin-left: 0.3em;
  font-size: 0.9em;
}
.footer .copyright {
  display: block;
  text-align: center;
  font-size: max(12px, 0.12rem);
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  line-height: 40px;
  background: #fff;
  font-family: "Oswald", sans-serif;
}
@media screen and (min-width: 1281px) {
  .footer .copyright {
    font-size: 13px;
  }
}