@charset "UTF-8";
/* =========================================
   CF7 / 共通スタイル（style.scss）
   ========================================= */
/* ---- Variables ---- */
/* ---- Utilities ---- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* =========================================
   CF7: レイアウト / タイポ
   ========================================= */
.wpcf7 .wpcf7-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1rem;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  /* 行間（各行の余白） */
  /* ラベル */
  /* 入力欄（Bootstrap .form-control を軽く上書き） */
  /* テキストエリア高さ */
  /* プライバシーポリシー（このフォーム内だけに限定） */
  /* CF7のacceptanceは .wpcf7-acceptance が付く */
  /* 送信ボタン（有効/無効） */
  /* モバイル微調整 */
}
.wpcf7 .wpcf7-form .mb-3 {
  margin-bottom: 1.2rem;
}
.wpcf7 .wpcf7-form .form-label {
  display: inline-block;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: #fff;
}
.wpcf7 .wpcf7-form .form-control {
  width: 100%;
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  background-color: #0d1a40;
  border: 1px solid #334;
  color: #fff;
}
.wpcf7 .wpcf7-form .form-control::placeholder {
  color: #aaa;
}
.wpcf7 .wpcf7-form .form-control:focus {
  border-color: #66ccff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(102, 204, 255, 0.3);
}
.wpcf7 .wpcf7-form textarea.form-control {
  min-height: 220px;
}
.wpcf7 .wpcf7-form .wpcf7-acceptance a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}
.wpcf7 .wpcf7-form .wpcf7-acceptance a:hover {
  color: #66ccff;
  text-decoration-thickness: 2px;
}
.wpcf7 .wpcf7-form input.wpcf7-submit,
.wpcf7 .wpcf7-form .wpcf7-submit {
  display: block;
  margin: 2rem auto 0;
  min-width: 220px;
  padding: 0.85rem 2.4rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  /* 無効時（グレー） */
  background-color: #ccc;
  color: #fff;
  cursor: not-allowed;
  /* 有効時（disabled が外れたら） */
}
.wpcf7 .wpcf7-form input.wpcf7-submit:not(:disabled),
.wpcf7 .wpcf7-form .wpcf7-submit:not(:disabled) {
  background-color: #fff !important;
  color: #000 !important;
  cursor: pointer;
  border: 2px solid #000;
}
@media (max-width: 575.98px) {
  .wpcf7 .wpcf7-form {
    padding: 1.5rem 1rem;
  }
  .wpcf7 .wpcf7-form .wpcf7-submit {
    min-width: 200px;
  }
}

/* モーダルがヘッダーに隠れる場合の保険 */
.modal {
  z-index: 2000;
}

.modal-backdrop {
  z-index: 1990;
}

/* =========================================
   ページ固有: 404 ヘッダーかぶり対策
   ========================================= */
body.error404 .page-header {
  margin-top: 70px;
}

/* =========================================
   ナビゲーション: 下線アニメーション
   （Sassの入れ子を維持）
   ========================================= */
.wp-block-navigation-item__label {
  position: relative;
  display: inline-block;
}
.wp-block-navigation-item__label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: #00185a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.wp-block-navigation-item__label:hover::after {
  transform: scaleX(1);
}

.wpcf7 .wpcf7-form .form-control {
  background-color: #fff !important;
  color: #111 !important;
  border: 1px solid #cfd6e0;
}

/* =========================================
   Modal (Privacy Policy)
   ========================================= */
/* ---- Variables ---- */
.modal {
  z-index: 12000;
  /* プライバシーモーダル専用 */
}
.modal-backdrop {
  z-index: 11990;
}
.modal#privacyModal .modal-dialog {
  margin: calc(56px + 10px) auto 1rem;
}
.modal#privacyModal .modal-dialog.modal-dialog-scrollable .modal-body {
  max-height: calc(100dvh - 56px - 6rem);
  overflow: auto;
}