@charset "UTF-8";

/* ==========================================================================
   下層ページ メインビジュアル（ヘッダー下バナー）※追加
   ========================================================================== */
.sub-mv {
  margin-top: 80px; /* ヘッダー高さ分 */
  width: 100%;
  height: 260px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.sub-mv-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

@media screen and (max-width: 768px) {
  .sub-mv {
    margin-top: 60px;
    height: 180px;
  }
}

/* ==========================================================================
   下層ページ ヘッダータイトル ＆ 区切り線 ※追加
   ========================================================================== */
.sub-page-header {
  margin-bottom: 6rem;
}

.sub-page-header .header-line {
  width: 80px;
  height: 3px;
  background-color: #555555;
  margin: 2rem auto 0;
}

.section-divider {
  border: none;
  border-top: 2px solid #555555;
  width: 100%;
  margin: 8rem 0 0;
}

@media screen and (max-width: 768px) {
  .sub-page-header {
    margin-bottom: 4rem;
  }
  .section-divider {
    margin: 5rem 0 0;
  }
}

/* ==========================================================================
   フォーム説明文エリア
   ========================================================================== */
.form-intro {
  max-width: 800px;
  margin: 0 auto 6rem;
  font-size: 1.6rem;
  line-height: 2;
}

.intro-main {
  font-weight: 700;
  color: #222222;
  margin-bottom: 1rem;
}

.intro-notice {
  color: #d9534f; /* 注意を引く落ち着いた赤（営業お断りメッセージ） */
  font-weight: 700;
  font-size: 1.5rem;
}

@media screen and (max-width: 768px) {
  .form-intro {
    margin-bottom: 4rem;
    font-size: 1.45rem;
  }
}

/* ==========================================================================
   フォーム全体の枠組み（テーブル／グリッド構造）
   ========================================================================== */
.form-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-top: 2px solid #222222;
}

.form-row {
  display: flex;
  align-items: flex-start;
  padding: 3.5rem 0;
  border-bottom: 1px solid #dddddd;
  margin: 0;
}

/* 左側：ラベル部分 */
.form-label {
  flex: 0 0 28%;
  width: 28%;
  font-size: 1.6rem;
  font-weight: 700;
  color: #222222;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.6rem;
}

/* 右側：入力パーツ部分 */
.form-input {
  flex: 1 1 72%;
  width: 72%;
  margin: 0;
}

/* バッジ（必須・任意） */
.badge-required,
.badge-optional {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 2px;
  line-height: 1.4;
}
.badge-required {
  background-color: #d9534f; /* 赤色 */
  color: #ffffff;
}
.badge-optional {
  background-color: #888888; /* グレー */
  color: #ffffff;
}

/* スマホ時の縦並び化 */
@media screen and (max-width: 768px) {
  .form-row {
    flex-direction: column;
    padding: 2.5rem 0;
  }
  .form-label {
    width: 100%;
    margin-bottom: 1.5rem;
    padding-top: 0;
  }
  .form-input {
    width: 100%;
  }
}

/* ==========================================================================
   入力パーツ（インプット、テキストエリア、チェックボックス）
   ========================================================================== */
.input-text,
.input-textarea {
  width: 100%;
  padding: 1.4rem 1.6rem;
  font-size: 1.5rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333333;
  background-color: #fcfcfc;
  border: 1px solid #cccccc;
  border-radius: 4px;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* フォーカス時のアクセント表示 */
.input-text:focus,
.input-textarea:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #00B7CE; /* サイトアクセントのブルー */
  box-shadow: 0 0 0 3px rgba(0, 183, 206, 0.15);
}

/* プレースホルダーの文字色 */
::placeholder {
  color: #aaaaaa;
}

/* ヒントテキスト（小書き注釈） */
.input-hint {
  font-size: 1.3rem;
  color: #666666;
  margin-bottom: 1.2rem;
}

/* チェックボックス群のグリッド配置 */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 1.45rem;
  color: #333333;
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.3rem;
  transform: scale(1.2);
  cursor: pointer;
  accent-color: #00B7CE; /* チェック時の色をサイトブルーに統一 */
}

/* 「その他」選択時のフリーテキストボックス */
.other-text-box {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed #dddddd;
}

@media screen and (max-width: 768px) {
  .checkbox-group {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

/* ==========================================================================
   個人情報保護方針の同意エリア ＆ 送信ボタン
   ========================================================================== */
.privacy-consent-box {
  margin: 5rem 0 4rem;
  padding: 3rem 2rem;
  background-color: #f8f9fa;
  border: 1px solid #eeeeee;
  border-radius: 6px;
}

.privacy-link-text {
  font-size: 1.45rem;
  color: #444444;
  margin-bottom: 2rem;
}
.privacy-link-text a {
  color: #00B7CE;
  font-weight: 700;
  text-decoration: underline;
}
.privacy-link-text a:hover {
  opacity: 0.7;
}

.consent-label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: #222222;
  cursor: pointer;
  padding: 0.8rem 2rem;
  background-color: #ffffff;
  border: 2px solid #222222;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.consent-label:hover {
  background-color: #eeeeee;
}
.consent-label input[type="checkbox"] {
  transform: scale(1.4);
  accent-color: #00B7CE;
  cursor: pointer;
}

/* 確認画面へ進むボタン */
.form-submit-wrap {
  margin-bottom: 4rem;
}

.btn-form-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  width: 320px;
  max-width: 100%;
  padding: 1.8rem 3rem;
  background-color: #222222;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Noto Sans JP', sans-serif;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-form-submit:hover:not(.is-disabled) {
  background-color: #00B7CE; /* ホバーでアクセントブルーに変化 */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 183, 206, 0.25);
}

/* 同意チェック前の無効（グレーアウト）状態 */
.btn-form-submit.is-disabled {
  background-color: #cccccc !important;
  color: #888888 !important;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* ==========================================================================
   下層ページ共通：導線アイコン一覧（フッター直上 6連ナビゲーション）※追加
   ========================================================================== */
.sub-nav-icons {
  padding: 5rem 0 6rem;
  background-color: #ffffff;
}

.nav-icons-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  text-align: center;
}

.nav-icons-list li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  border-radius: 6px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.nav-icons-list li a:hover {
  transform: translateY(-4px);
  background-color: #f9f9f9;
  opacity: 1;
}

.nav-icons-list .icon-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin-bottom: 1.2rem;
}
.nav-icons-list .icon-img img {
  max-height: 40px;
  width: auto;
}

.nav-icons-list .icon-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #222222;
  line-height: 1.3;
}

@media screen and (max-width: 1024px) {
  .nav-icons-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .sub-nav-icons {
    padding: 3rem 0 5rem;
  }
  .nav-icons-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }
  .nav-icons-list li a {
    padding: 1.2rem 0.5rem;
    border: 1px solid #eeeeee;
    background-color: #fafafa;
  }
  .nav-icons-list .icon-img {
    height: 40px;
    margin-bottom: 0.8rem;
  }
  .nav-icons-list .icon-img img {
    max-height: 32px;
  }
  .nav-icons-list .icon-text {
    font-size: 1.3rem;
  }
}

/* ==========================================================================
   送信完了画面（COMPLETE）のスタイリング
   ========================================================================== */
.complete-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.complete-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #222222;
  margin-bottom: 3rem;
  line-height: 1.4;
}

.complete-text {
  font-size: 1.6rem;
  line-height: 2;
  color: #333333;
  margin-bottom: 5rem;
}

/* メールが届かない場合の注意事項ボックス */
.complete-notice {
  background-color: #f8f9fa;
  border: 1px solid #dddddd;
  border-left: 4px solid #d9534f; /* フォーム注意書きと同じ落ち着いた赤アクセント */
  padding: 3rem;
  text-align: left;
  margin-bottom: 5rem;
  border-radius: 4px;
}

.complete-notice p {
  font-size: 1.45rem;
  line-height: 1.8;
  color: #555555;
  margin: 0;
}

.complete-notice strong {
  color: #d9534f;
  display: block;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

/* TOPへ戻るボタン配置 */
.complete-btn-wrap {
  margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
  .complete-title {
    font-size: 2.0rem;
    margin-bottom: 2rem;
  }
  .complete-text {
    font-size: 1.45rem;
    margin-bottom: 3.5rem;
    text-align: left;
  }
  .complete-notice {
    padding: 2rem 1.5rem;
    margin-bottom: 4rem;
  }
  .complete-notice strong {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   確認画面 2連ボタンの配置とスタイリング
   ========================================================================== */
.confirm-btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin: 5rem 0 4rem;
  flex-wrap: wrap;
}

/* 「内容を修正する」ボタン（白背景×黒枠線の上品なリバース仕様） */
.btn-form-back {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  width: 320px;
  max-width: 100%;
  padding: 1.6rem 3rem;
  background-color: #ffffff;
  color: #222222;
  font-size: 1.6rem;
  font-weight: 700;
  border: 2px solid #222222;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Noto Sans JP', sans-serif;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.btn-form-back:hover {
  background-color: #f5f5f5;
  color: #00B7CE; /* ホバー時にアクセントブルーへ変化 */
  border-color: #00B7CE;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 183, 206, 0.15);
}

/* 矢印（< と >）の装飾 */
.btn-form-back .arrow,
.btn-form-submit .arrow {
  font-family: monospace, sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1;
}

@media screen and (max-width: 768px) {
  .confirm-btn-group {
    flex-direction: column-reverse; /* スマホ時は「送信する」を上に配置 */
    gap: 1.5rem;
  }
  .btn-form-back,
  .btn-form-submit {
    width: 100%;
    max-width: 320px;
  }
}

/* ==========================================================================
   プルダウン（セレクトボックス）のスタイリング
   ========================================================================== */
.input-select {
  width: 100%;
  padding: 1.4rem 1.6rem;
  font-size: 1.5rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333333;
  background-color: #fcfcfc;
  border: 1px solid #cccccc;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  /* 右側に下向き矢印のカスタムアイコンを設定 */
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23666666' d='M0 0l6 8 6-8z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.6rem center;
}

.input-select:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #00B7CE; /* サイトアクセントのブルー */
  box-shadow: 0 0 0 3px rgba(0, 183, 206, 0.15);
}
