@charset "UTF-8";

/* ==========================================
   ヒーローセクション
   ========================================== */
.contact-hero {
  width: 100%;
  padding: 0;
}

.hero-container {
  max-width: 100%;
  margin: 0 auto;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   フォーム全体
   ========================================== */
.contact-section {
  max-width: 820px;
  margin: 80px auto 120px;
  padding: 0 20px;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header .title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 5px;
}

.contact-header .en {
  font-size: 1rem;
  color: #666666;
  margin-bottom: 40px;
  font-family: 'Poppins', sans-serif;
}

.contact-header .ja {
  font-size: 0.95rem;
  color: #444444;
  font-weight: 500;
}

.form-wrapper {
  width: 100%;
}

/* ==========================================
   入力フォームレイアウト
   ========================================== */
.form-row {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.form-row.align-top {
  align-items: flex-start;
}

.form-label {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 10px; /* テキストエリア等との上揃え調整 */
}

.badge {
  background-color: #fbd038; /* 黄色バッジ */
  color: #444444;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 0;
  width: 120px;
  text-align: center;
  border-radius: 20px;
}

.req {
  color: #ff3333;
  font-weight: 700;
  margin-left: 8px;
  font-size: 1.2rem;
  line-height: 1;
}

.form-input {
  flex-grow: 1;
}

.form-input input[type="text"],
.form-input input[type="email"],
.form-input input[type="tel"],
.form-input textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #333333;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-input input:focus,
.form-input textarea:focus {
  outline: none;
  border-color: #0088e3;
  background-color: #f6fbff;
}

.form-input input::placeholder,
.form-input textarea::placeholder {
  color: #bbbbbb;
}

/* ラジオボタン */
.radio-label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #555555;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.radio-label:last-child {
  margin-bottom: 0;
}

.radio-label input[type="radio"] {
  margin-right: 8px;
  transform: scale(1.2);
  accent-color: #555555;
}

/* エラーメッセージ・注記 */
.err-msg {
  color: #e60000;
  font-size: 0.85rem;
  margin-top: 6px;
  font-weight: 500;
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: #666666;
  margin: 40px 0 30px;
}

.form-note .req {
  font-size: 1rem;
}

/* ==========================================
   ボタン周り
   ========================================== */
.submit-area {
  text-align: center;
  margin-bottom: 25px;
}

.submit-area.btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-submit {
  /* 水色から青へのグラデーション */
  background: linear-gradient(90deg, #007aff 0%, #00c8ff 100%);
  color: #ffffff;
  border: none;
  border-radius: 35px;
  padding: 18px 0;
  width: 100%;
  max-width: 360px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 162, 255, 0.35);
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 162, 255, 0.45);
}

.btn-back {
  background: #777777;
  color: #ffffff;
  border: none;
  border-radius: 35px;
  padding: 18px 0;
  width: 100%;
  max-width: 240px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.alt-contact {
  text-align: center;
  font-size: 0.82rem;
  color: #777777;
}

.alt-contact a {
  color: #0088e3;
  text-decoration: none;
}

.alt-contact a:hover {
  text-decoration: underline;
}

/* ==========================================
   確認画面テーブル・完了画面
   ========================================== */
.confirm-msg {
  text-align: center;
  color: #333333;
  font-weight: 700;
  margin-bottom: 30px;
}

.confirm-table {
  border-top: 1px solid #dddddd;
  margin-bottom: 40px;
}

.confirm-row {
  display: flex;
  border-bottom: 1px solid #dddddd;
  padding: 20px 0;
}

.confirm-head {
  width: 180px;
  font-weight: 700;
  color: #555555;
  flex-shrink: 0;
}

.confirm-data {
  flex-grow: 1;
  color: #222222;
  line-height: 1.6;
}

.complete-msg {
  text-align: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
}

.complete-msg h3 {
  font-size: 1.6rem;
  color: #0088e3;
  margin-bottom: 20px;
}

.complete-msg p {
  color: #555555;
  line-height: 1.8;
  margin-bottom: 40px;
}

.btn-back-home {
  display: inline-block;
  background-color: #555555;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 30px;
  font-weight: 700;
  transition: 0.3s;
}

.btn-back-home:hover {
  background-color: #333333;
}

/* ==========================================
   スマホ・タブレット対応
   ========================================== */
@media (max-width: 768px) {
  .contact-section {
    margin: 40px auto 80px;
  }

  .form-row, .form-row.align-top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .form-label {
    width: 100%;
    margin-bottom: 10px;
    padding-top: 0;
  }

  .form-input {
    width: 100%;
  }

  .confirm-row {
    flex-direction: column;
  }

  .confirm-head {
    width: 100%;
    margin-bottom: 10px;
    color: #888888;
    font-size: 0.9rem;
  }

  .submit-area.btn-group {
    flex-direction: column-reverse;
  }

  .btn-back, .btn-submit {
    max-width: 100%;
  }

  .radio-label {
    margin-left: 15px;
    margin-top: 5px;
  }
}

/* ==========================================
   お電話でのお問合せセクション
   ========================================== */
.phone-contact-section {
  width: 100%;
  padding: 80px 20px;
  /* 画像と同じ方眼紙風グリッド背景 */
  background-color: #fafafa;
  background-image:
    linear-gradient(#ececec 1px, transparent 1px),
    linear-gradient(90deg, #ececec 1px, transparent 1px);
  background-size: 24px 24px;
  text-align: center;
  border-top: 1px solid #eeeeee; /* 上の要素との区切り線 */
}

.phone-contact-inner {
  max-width: 800px;
  margin: 0 auto;
}

.phone-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.phone-sub {
  font-size: 0.85rem;
  color: #777777;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
}

/* 3つのピンクのドット */
.phone-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 25px;
}

.phone-dots span {
  display: block;
  width: 7px;
  height: 7px;
  background-color: #e93366; /* ピンク色 */
  border-radius: 50%;
}

/* 電話番号リンク */
.phone-number {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #005689; /* 画像の濃いブルーに近い色 */
  text-decoration: none;
  margin-bottom: 10px;
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  transition: opacity 0.3s ease;
}

/* スマホ等でタップした時の反応 */
.phone-number:hover {
  opacity: 0.7;
}

.phone-hours {
  font-size: 0.8rem;
  color: #666666;
}

/* スマホ表示用の調整 */
@media (max-width: 768px) {
  .phone-contact-section {
    padding: 50px 20px;
  }
  .phone-title {
    font-size: 1.15rem;
  }
  .phone-number {
    font-size: 2rem;
  }
}
