@charset "utf-8";

.entry-form-wrapper {
  width: 100%; /* 追加 */
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px; /* 追加：スマホで画面端にくっつかないようにする余白 */
  box-sizing: border-box; /* 追加：paddingを幅に含める */
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #333;
}

.form-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 15px;
  box-sizing: border-box; /* 追加 */
}

/* 行のボーダー */
.form-table th, 
.form-table td {
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 20px;
  vertical-align: middle;
  box-sizing: border-box; /* 追加：paddingによるはみ出しを防止 */
}

/* 見出し（th）の装飾：左側にアクセントライン */
.form-table th {
  background-color: #f8f9fa; /* うっすらグレーの背景 */
  width: 28%;
  text-align: left;
  font-weight: 600;
  position: relative;
  line-height: 1.5;
}

/* 青系のアクセントライン（カンサイグループ様の雰囲気に合わせたカラー） */
.form-table th::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #0050a0; 
}

.form-table td {
  background-color: #ffffff;
}

/* 必須ラベル */
.required-label {
  display: inline-block;
  background-color: #e60012;
  color: #ffffff;
  font-size: 11px;
  font-weight: normal;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 10px;
  vertical-align: 2px;
}

/* 入力フィールドの装飾 */
.form-table input[type="text"],
.form-table input[type="email"],
.form-table input[type="tel"],
.form-table input[type="date"],
.form-table input[type="month"],
.form-table textarea,
.form-table select {
  width: 100%;
  max-width: 500px; /* PC画面で広がりすぎないように制限 */
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  box-sizing: border-box;
  background-color: #fafafa;
  transition: all 0.3s ease;
  font-family: inherit;
}

/* フォーカス時のハイライト */
.form-table input:focus,
.form-table textarea:focus,
.form-table select:focus {
  outline: none;
  border-color: #0050a0;
  background-color: #ffffff;
  box-shadow: 0 0 5px rgba(0, 80, 160, 0.2);
}

/* ラジオボタンの余白 */
.radio-group label {
  margin-right: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.radio-group input[type="radio"] {
  margin-right: 6px;
  transform: scale(1.1);
}

.note-text {
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
  display: block;
}

/* 送信ボタンの装飾 */
.submit-btn {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 40px auto;
  padding: 18px 0;
  background-color: #0050a0; /* アクセントカラー */
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 80, 160, 0.3);
  transition: all 0.3s;
  letter-spacing: 2px;
}

.submit-btn:hover {
  background-color: #003b7a;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 80, 160, 0.4);
}

/* 出し分け用クラス */
.new-grad-item, .mid-career-item {
  display: none;
}

/* ご提示いただいた独自装飾 */
section.interview01 {
  padding-bottom: 0 !important;
}

.mainTit3 {
  margin: 0 auto 30px;
  font-size: clamp(2rem, 4vw, 5.9rem);
}
.mainTit3 .en_tit{
  display:block;
  font-weight:400;
  font-size: clamp(2.4rem,5vw,6.2rem); /* 重複していたためこちらに統合 */
  color:#e79e07;
  line-height: 1;
  margin-bottom: 2.8%;
}
.interview01 p {
  font-size: 2rem;
  color: #FFF;
  margin: 20px auto 50px;
}
a:visited {
  color: #FFF;
}

/* =========================================
   スマートフォン対応（レスポンシブ）
========================================= */
@media screen and (max-width: 768px) {
  .form-table th, 
  .form-table td {
    display: block;
    width: 100%;
    padding: 15px;
  }
  .form-table th {
    border-bottom: none; /* 見出しの下線を消す */
  }
  .form-table td {
    border-top: none;    /* データの上線を消す */
    padding-top: 5px;
    padding-bottom: 20px;
  }
  .form-table input[type="text"],
  .form-table input[type="email"],
  .form-table input[type="tel"],
  .form-table input[type="date"],
  .form-table input[type="month"],
  .form-table textarea,
  .form-table select {
    max-width: 100%;
  }

  /* 追加：スマホでラジオボタンが横にはみ出さないように折り返しを許可 */
  .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .radio-group label {
    margin-right: 0;
  }
  .entry-form-wrapper {
    padding: 0%;
  }
  .inner {
    width: 100%;
}
.form-table input[type="date"],
  .form-table input[type="month"] {
    min-width: 0; /* ブラウザ標準の最小幅を無効化 */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none; /* iOS Safari等での幅計算バグをリセット */
    appearance: none;
    min-height: 46px; /* 他のテキスト枠（padding12px + 文字サイズ）と高さを揃える */
    line-height: 1.5;
    background-color: #fafafa;
  }
  .form-table th::before {
      display:none;
  }
}