@charset "UTF-8";
/* =========================================================
   Contact Section
========================================================= */
/* セクション背景 */
.contact-section-wrapper {
  background: rgba(255, 217, 121, 0.4);
  padding: 80px 40px;
}

/* タイトル */
.contact-main-title {
  background: #005C8B;
  color: #fff;
  text-align: center;
  font-size: clamp(24px, 3vw, 48px);
  font-weight: bold;
  padding: 12px 40px;
  margin: 0 auto 80px;
  width: clamp(200px, 30vw, 500px);
}

/* 最大幅 */
.contact-section,
.form-area {
  max-width: 960px;
  margin: 0 auto;
}

/* リード文 */
.contact-lead {
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

/* 横並びレイアウト */
.form-block {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

/* 左側ラベル */
.form-label {
  width: 240px;
  min-width: 240px;
  display: flex;
  align-items: center;
}

/* 入力欄 */
.validate-column {
  flex: 1;
}

.form-title {
  font-weight: bold;
  font-size: 18px;
}

.form-asterisk {
  color: red;
  font-size: 18px;
  margin-left: 4px;
}

/* 入力フィールド */
.field,
.textarea-field {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #000;
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
}

.textarea-field {
  height: 180px;
  resize: vertical;
}

/* セレクト */
select.field {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

/* エラー */
.validate-column p {
  color: red;
  font-size: 14px;
  margin-top: 6px;
}

/* 送信ボタン */
.button_solid012 {
  text-align: center;
  margin-top: 50px;
}

.contact-btn {
  background: #DA7400;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 18px 40px;
  border-radius: 100px;
  border: 2px solid #DA7400;
  cursor: pointer;
  transition: 0.3s;
}

.contact-btn:hover {
  background: #fff;
  color: #DA7400;
}

/* =========================================================
   Confirmation & Thanks Modal（統合デザイン）
========================================================= */
/* 背景 */
#confirmation-modal,
#thanks-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  justify-content: center;
  align-items: center;
  z-index: 100000;
}

/* モーダル本体 */
.modal-content {
  background: #FFF9E5;
  max-width: 640px;
  width: calc(100% - 40px);
  padding: 48px 48px 40px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  animation: modalFadeUp 0.4s ease;
}

/* アニメーション */
@keyframes modalFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* タイトル */
.modal-content h2 {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

/* 区切り線 */
.modal-line {
  width: 100%;
  height: 1px;
  background: #D6C79A;
  margin: 24px 0;
}

/* 確認項目 */
.confirm-item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.confirm-item p {
  font-size: 14px;
  font-weight: bold;
  color: #555;
}

.confirm-item span {
  background: #fff;
  padding: 5px 16px;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-height: 220px;
  overflow-y: auto;
}

/* ボタンエリア */
.modal-btns {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  justify-content: center;
}

/* 共通ボタン */
.btn-back,
.btn-send,
.btn-close {
  flex: 1;
  padding: 0.5vw 2vw;
  font-size: 16px;
  font-weight: bold;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

/* 戻る */
.btn-back {
  background: #E0E0E0;
}

.btn-back:hover {
  background: #CFCFCF;
}

/* 送信・閉じる */
.btn-send,
.btn-close {
  background: #DA7400;
  color: #fff;
}

.btn-send:hover,
.btn-close:hover {
  background: #B85F00;
  transform: translateY(-2px);
}

/* 完了モーダル専用 */
#thanks-modal .modal-content {
  text-align: center;
}

#thanks-modal p {
  line-height: 1.8;
  margin-bottom: 16px;
}

.thanks-sub {
  color: #666;
  margin-bottom: 32px;
}

/* スマホ */
@media (max-width: 769px) {
  .validate-column {
    width: 100%;
  }
  .field,
  .textarea-field,
  select.field {
    display: block;
    width: 100%;
    margin: 0;
  }
  .form-label {
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    min-width: auto;
  }
  .form-block {
    flex-direction: column;
    gap: 10px;
  }
  .btn-send {
    padding: 1vw 5vw;
  }
  .modal-content {
    padding: 32px 24px;
  }
}
.hidden-submit {
  display: none;
}

@media (max-width: 500px) {
  .confirm-item span {
    max-height: 160px;
  }
  .contact-main-title {
    margin-bottom: 40px;
  }
}/*# sourceMappingURL=contact.css.map */