@charset "utf-8";
/* CSS Document */

/* ===== Contact Form Base ===== */
.form0 {
  max-width: 840px;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
}

/* 各入力ブロック */
.form00 dd {
  margin-bottom: 2em;
}

/* ラベル */
.form00 label {
  display: block;
  font-weight: 600;
  font-size: 15px;
}



/* 入力欄共通 */
.form00 input[type="text"],
.form00 input[type="email"],
.form00 textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* textarea */
.form00 textarea {
  resize: vertical;
  min-height: 120px;
}

/* フォーカス時 */
.form00 input:focus,
.form00 textarea:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 1px rgba(0, 115, 170, 0.2);
}

/* 送信ボタン */
.form00 button[type="submit"] {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background-color: #0073aa;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* hover */
.form00 button[type="submit"]:hover {
  background-color: #005f8d;
}

/* 必須マーク */
.aster {
  color: #d63638;
  margin-left: 4px;
}
.error01,
.error02 {
  color: #d63638;
  margin-bottom: 10px;
}

/* レスポンシブ */
@media (max-width: 600px) {
  .form00 {
    padding: 16px;
  }
}

.btn {
  text-align: center;
  margin: 30px 0 60px 0;
}
.btn span {
  display: inline-block;
}
.btn input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(135deg, #1e88e5, #1565c0);
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  padding: 14px 36px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
/* ホバー時 */
.btn input[type="submit"]:hover {
  background: linear-gradient(135deg, #2196f3, #1976d2);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* ボタン共通エリア */
.btn-confirm {
  text-align: center;
  margin-top: 30px;
}

.btn-confirm span {
  display: inline-block;
  margin: 0 10px;
}

/* ボタン共通スタイル */
.btn-confirm input[type="button"],
.btn-confirm input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  font-size: 16px;
  font-weight: bold;
  padding: 14px 34px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* 戻るボタン（控えめなブルーグレー） */
.btn-confirm .btn-back {
  background: linear-gradient(135deg, #90a4ae, #607d8b);
  color: #ffffff;
}

.btn-confirm .btn-back:hover {
  background: linear-gradient(135deg, #b0bec5, #78909c);
  transform: translateY(-2px);
}

/* 送信ボタン（メインのブルー） */
.btn-confirm .btn-submit {
  background: linear-gradient(135deg, #1e88e5, #1565c0);
  color: #ffffff;
}

.btn-confirm .btn-submit:hover {
  background: linear-gradient(135deg, #2196f3, #1976d2);
  transform: translateY(-2px);
}

/* クリック時 */
.btn-confirm input:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* フォーカス（アクセシビリティ） */
.btn-confirm input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.4);
}

/* 確認画面用テーブル */
.custom-table {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  border-top: 1px solid #ccc;
}

.custom-table dt {
  width: 30%;        /* ラベルの幅 */
  padding: 15px;
  background-color: #f9f9f9;
  border-bottom: 1px solid #ccc;
  font-weight: bold;
  box-sizing: border-box;
}

.custom-table dd {
  width: 70%;        /* 値の幅 */
  margin: 0;         /* デフォルトの余白を消す */
  padding: 15px;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
}

/* スマホ用の設定（画面幅が狭いときに縦並びにする） */
@media (max-width: 600px) {
  .custom-table dt, 
  .custom-table dd {
    width: 100%;
  }
  .custom-table dt {
    border-bottom: none; /* 境界線を調整 */
  }
}

/* ===== 確認画面ボタン ===== */
.btn_check {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  padding: 0;
  list-style: none;
}

/* li / form の余白リセット */
.btn_check li,
.btn_check form {
  margin: 0;
  padding: 0;
}

/* ボタン共通 */
.btn_check input[type="submit"] {
  min-width: 160px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  appearance: none;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

/* 修正ボタン */
.form304 input[type="submit"] {
  background-color: #e0e0e0;
  color: #333;
}

.form304 input[type="submit"]:hover {
  background-color: #cfcfcf;
}

/* 送信ボタン（メイン） */
.form303 input[type="submit"] {
  background-color: #0073aa;
  color: #fff;
}

.form303 input[type="submit"]:hover {
  background-color: #005f8d;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .btn_check {
    flex-direction: column;
    align-items: center;
  }

  .btn_check input[type="submit"] {
    width: 100%;
    max-width: 280px;
  }
}
