@charset "UTF-8";
.contact-title-section {
  background-color: #FCF8E7;
  text-align: center;
  position: relative;
  padding: 48px 0 32px;
  overflow: hidden;
}

.contact-bg-text {
  font-size: 12vw;
  color: #FCEBC6;
  font-weight: 900;
  letter-spacing: 1.5px;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}

.contact-title {
  position: relative;
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 900;
  color: #000;
  margin-top: -1.6rem;
  z-index: 2;
}

.contact-line1 {
  width: 90px;
  height: 6px;
  margin: 6px auto 0;
  border-radius: 3px;
  background: linear-gradient(to right, #F18627, #FEB202);
}

.contact-section {
  background: #FCF8E7;
  padding: 12px 24px 55px;
  text-align: center;
}

/* 説明文 */
.contact-intro p {
  color: #000;
  line-height: 1.8;
  font-size: 15px;
}

/* 電話 */
.contact-tel-area {
  margin-top: 40px;
}

.contact-line {
  height: 2px;
  background: #F36A3A;
  margin: 16px 0;
}

.contact-tel-text {
  color: #F36A3A;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
}

.tel-small {
  font-size: 5vw;
}

.tel-number {
  text-decoration: none;
  font-size: 8vw;
  font-weight: 700;
  text-decoration: none;
  color: #F36A3A;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
}

.contact-time {
  color: #000;
  font-size: 13px;
}

/* フォーム */
.form-area {
  margin-top: 40px;
  text-align: left;
}

.form-block {
  margin-bottom: 24px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.form-title {
  font-weight: 600;
  font-size: 15px;
}

.form-required {
  background: #F55555;
  color: #fff;
  font-size: 12px;
  border-radius: 12px;
  padding: 2px 8px;
}

.field,
.textarea-field {
  width: 100%;
  padding: 8px;
  border: 1px solid #000;
  border-radius: 4px;
  background-color: #fff;
}

.privacy-sentence {
  font-size: 0.7rem;
}

/* プライバシーポリシー */
.privacy-scroll {
  height: 180px;
  overflow-y: scroll;
  background: #fff;
  padding: 12px;
  border: 1px solid #ddd;
}

.privacy-title {
  font-size: 0.9rem;
  font-weight: 700;
}

.privacy-check {
  margin: 42px;
  text-align: center;
}

.privacy-check label {
  font-size: 3.5vw;
}

#agree_validate_msg {
  font-size: 3vw;
}

/* ボタン全体 */
.button_solid012 button {
  background: #1E55B1;
  border-radius: 3px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 20px 25px;
  color: #fff;
  transition: 0.3s ease-in-out;
  font-weight: 600;
  z-index: 1;
  border-radius: 30px;
}
.button_solid012 button:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: #1E55B1;
  z-index: -1;
  border: 2px solid #000;
  border-radius: 30px;
}
.button_solid012 button:after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  content: "";
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transform: translate3d(0, 0.4rem, -1rem);
  transform: translate3d(0, 0.4rem, -1rem);
  border: 2px solid #000;
  border-radius: inherit;
  background: #fff;
  -webkit-box-shadow: 0 0.6rem 0 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.4rem 0 0 rgba(0, 0, 0, 0.2);
  z-index: -2;
}
.button_solid012 button:hover {
  transform: translate3d(0, 0.8rem, -1rem);
  background-color: #133a7c;
}
.button_solid012 button:hover:after {
  transform: translate3d(0, 0.2rem, -1rem);
  box-shadow: 0 0.2rem 0 0 rgba(0, 0, 0, 0.2);
}
.button_solid012 button:hover:before {
  background-color: #133a7c;
}

/* 左アイコン（紙飛行機） */
.contact-btn {
  /* ボタン文字 */
  /* 右アイコン（三角形PNG） */
}
.contact-btn .icon-left {
  width: 1.2rem;
  height: auto;
  margin-right: 1.2rem;
}
.contact-btn .btn-text {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}
.contact-btn .icon-right {
  width: 25px;
  height: auto;
  margin-left: 0.75rem;
  transition: transform 0.3s ease;
}
.contact-btn:hover .icon-right {
  transform: translateX(3px);
}
.contact-btn .btn-text {
  font-size: 1rem;
  font-weight: 700;
}

#confirmation-modal {
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none; /* 初期は非表示 */
  overflow: auto;
}

.modal-content {
  background: #FCF8E7;
  padding: 32px 24px;
  border-radius: 8px;
  width: 90%;
  max-width: 480px;
  text-align: left;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  position: relative;
}
.modal-content p {
  font-size: 3.5vw;
}

/* モーダル共通 */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content h2 {
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.modal-line {
  height: 1px;
  background: #DDD;
  margin: 12px 0;
}

.confirm-item p {
  font-weight: 600;
  margin-bottom: 4px;
}

.modal-btns {
  display: flex;
  justify-content: space-around;
  gap: 12px;
  margin-top: 24px;
}

.btn-back {
  background: #D9D9D9;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  width: 110px;
}
.btn-back:hover {
  background: #bfbfbf;
}

.btn-send {
  background: #F36A3A;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  width: 110px;
  font-weight: bold;
}
.btn-send:hover {
  background: #d95c2f;
}

/* 完了モーダル */
.thanks-sub {
  margin-top: 8px;
  font-size: 3.5vw;
}

.btn-close {
  display: block;
  background: #D9D9D9;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  margin: 24px auto 0;
}

#company_validate_msg, #name_validate_msg, #number_validate_msg,
#email_validate_msg {
  color: red;
}

@media (min-width: 768px) {
  .modal-content p {
    font-size: 1.2rem;
  }
  .form-block {
    display: flex;
    align-items: flex-start;
    gap: 16px; /* ラベルと入力欄の間の余白 */
  }
  .thanks-sub {
    font-size: 1.2rem;
  }
  .contact-intro p {
    font-size: 1.2rem;
  }
  .form-label {
    width: 232px;
    flex-shrink: 0; /* 幅を縮めない */
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .textarea-field {
    max-width: 600px;
  }
  .field, .textarea-field {
    width: 400px;
  }
  .tel-small {
    font-size: 2.5rem;
  }
  .tel-number {
    font-size: 4rem;
  }
  .contact-tel-area {
    width: 700px;
    margin: 48px auto;
  }
  .contact-time {
    font-size: 1.3rem;
  }
  .form-block {
    display: flex;
  }
  .form-title {
    font-size: 1.2rem;
  }
  .form-required {
    font-size: 1rem;
    border-radius: 6px;
  }
  .privacy-check label {
    font-size: 1.3rem;
  }
  .square {
    width: 115px;
    height: 22px;
  }
  #agree_validate_msg {
    font-size: 1rem;
  }
  .validate-column {
    display: flex;
    flex-direction: column;
  }
  #company_validate_msg, #name_validate_msg, #number_validate_msg,
  #email_validate_msg {
    margin-top: 10px;
  }
  #confirmation-modal .modal-content p {
    font-size: 1rem;
  }
  .contact-title {
    font-size: 2.5rem;
    margin-top: -2.2rem;
  }
}
@media (min-width: 1024px) {
  .contact-section {
    margin: 0 auto;
    max-width: 960px;
    padding: 12px 0 96px;
  }
  .contact-container {
    background-color: #FCF8E7;
  }
  .field, .textarea-field {
    width: 600px;
  }
  .contact-btn .btn-text {
    font-size: 1.3rem;
  }
  .button_solid012 button {
    padding: 28px 56px;
  }
  .contact-btn .icon-left {
    width: 1.5rem;
  }
  .contact-btn .icon-right {
    width: 1.8rem;
  }
}/*# sourceMappingURL=contact.css.map */