
/* contact.css */
:root{
  --bg:#ffffff;
  --text:#1a1a1a;
  --muted:#757a83;
  --line:#e5e7eb;
  --field:#eef1f5;      /* 入力欄の薄いグレー */
  --field2:#f4f6f9;
  --req:#28619f;;        /* 必須バッジ */
  --radius:10px;
}

*{ box-sizing:border-box; }

#main{
  width: 100%;
}

.contact__title{
  font-size: 20px;
  margin: 0 0 20px;
  font-weight: 700;
  text-align: center;
}

.box_blue_column,
.box_orange_column{
  padding: 20px;
}

.contact__stitle {
    width: fit-content;
    font-size: 16px;
    margin: 0 auto 5px;
    color: #28619f;
    font-weight: 600;
}

.area_contact_tel{
  height: 40px;
  width:fit-content;
  margin: 0 auto;
}

.area_contact_tel p,
.area_contact_tel img{
  height: 100%;
  width: auto;
}



/* 2カラム：左ラベル＋右入力 */
.row{
  display:grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  padding: 14px 0;
}
.row--top{ align-items:start; }

.row__label{
  display:flex;
  align-items:center;
  gap:10px;
  padding-top: 10px;
  white-space:nowrap;
}
.row__label label,
.row__label .label{
  font-weight:600;
}



.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 2px 13px;
  font-size:11px;
  font-weight:700;
  border-radius: 999px;
  line-height: 1.6;
}
.badge--req{
  color:#fff;
  background: var(--req);
}

.row__field{ min-width:0; }

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.grid2 .field{
  min-width: 0;
}

/* 入力UI（input/textarea/select） */
.input, .textarea{
  width:100%;
  border:1px solid transparent;
  background: var(--field);
  border-radius: var(--radius);
  padding: 14px 14px;
  line-height:1.6;
  outline:none;
  transition: border-color .15s ease, background .15s ease;
}
.input::placeholder,
.textarea::placeholder{ color:#9aa3af; }

.input:focus,
.textarea:focus{
  border-color:#c7d2fe;
  background: var(--field2);
}

.textarea{
  resize: vertical;
  min-height: 220px;
  padding: 14px 16px;
}


/* 性別ラジオ */
.radios{
  display:flex;
  gap: 26px;
  padding-top: 6px;
}
.radio{
  display:inline-flex;
  align-items:center;
  gap: 8px;
}
.radio input{ transform: translateY(1px); }

/* 郵便番号の 〒 */
.zip{
  display:flex;
  align-items:center;
  gap: 10px;
}
.zip__mark{
  color:#6b7280;
  flex: 0 0 auto;
}

/* ネイティブ select（角丸・薄グレー・右端▼） */
.nselect{ position:relative; }
.nselect__control{
  width:100%;
  border:1px solid transparent;
  background: var(--field);
  border-radius: var(--radius);
  padding: 14px 44px 14px 14px;
  line-height:1.6;
  outline:none;

  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;

  transition: border-color .15s ease, background .15s ease;
}
.nselect__control:focus{
  border-color:#c7d2fe;
  background: var(--field2);
}
.nselect__chev{
  position:absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right:2px solid #28619f;
  border-bottom:2px solid #28619f;
  transform: translateY(-60%) rotate(45deg);
  pointer-events:none;
}

/* 追加入力の案内文 */
.note{
  margin: 18px 0 6px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* 同意枠 */
.consent{ margin-top: 18px; }
.consent__box{
  border:1px solid #111827;
  border-radius: 6px;
  padding: 18px 18px 14px;
  /* text-align: center; */
}
.consent__title{
  margin:0 0 10px;
  font-size:16px;
  font-weight: 800;
  text-align:center;
}
.consent__text{
  margin:0 0 12px;
  font-size:12.5px;
  line-height:1.8;
  color:#111827;
}

/* チェックボックス */
.checkbox{
  display:flex;
  align-items:center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
}
.checkbox input{
  width: 18px;
  height: 18px;
}

/* reCAPTCHA 風の枠（見た目用） */
.captcha{
  margin-top: 18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
}
.captcha__mock{
  width: 340px;
  max-width: 100%;
  border:1px solid var(--line);
  border-radius: 4px;
  padding: 12px 12px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#fff;
}
.captcha__right{
  text-align:right;
  font-size:10px;
  color: var(--muted);
  line-height:1.3;
}
.captcha__logo{
  font-weight:800;
  letter-spacing:.02em;
  color:#111827;
}
.captcha__links{ opacity:.85; }
.captcha__note{
  margin:0;
  font-size:11.5px;
  color: var(--muted);
  line-height:1.7;
  text-align:center;
}

/* 送信ボタン */
.actions{
  margin-top: 18px;
  display:flex;
  justify-content:center;
}
.btn{
  width: 360px;
  max-width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px 16px;
  background: #d1d5db;
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  cursor:pointer;
  transition: filter .15s ease;
}
.btn:hover{ filter: brightness(.97); }
.btn:active{ filter: brightness(.94); }

/* レスポンシブ */
@media (max-width: 768px){
  .row{
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0;
  }
  .row__label{ padding-top: 0; }
  .grid2{ grid-template-columns: 1fr; }
  .radios{ padding-top: 0; }
}

@media(min-width: 768px){
.row__label label,
.row__label .label,
.input, .textarea,.radio,
.zip__mark,.nselect__control{
  font-size:16px;}

.box_blue_column, .box_orange_column {
  padding:60px;
}
}

.btn:disabled{
  opacity: .5;
  cursor: not-allowed;
  filter: none;
}

/* 名前の性・名ラベルを隠す */
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.captcha__note a:link,
.captcha__note a:visited,
.captcha__note a:hover {
    color: var(--muted);
    text-decoration: none;
}
/* =========================================================
   確認画面（表示用） 追記
   ========================================================= */

/* 既存の .alert_entry（文字色だけ）を「枠付き」に上書き */
.alert_entry{
  margin-top: 8px;
  color: #ea2c49;
  font-size: 13px;
  line-height: 1.6;
}

.alert_entry.text16{
  font-size: 16px;
}

/* ページ上部の総合エラーメッセージ（alert_entry を付けた <p> 用） */
.alert_entry.attention{
  border-radius: 8px;
  background: #fff1f2;      /* 薄い赤 */
  border: 1px solid #fecdd3;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  padding: 10px;
}

.finish .box_blue_column,
.thanks .box_blue_column{
  background-image: none;
}
/* 確認画面：値表示（入力欄の代わりに見せる） */
.confirm__value{
  width: 100%;
  border: 1px solid transparent;
  background: var(--field);
  border-radius: var(--radius);
  padding: 14px 14px;
  line-height: 1.6;
  color: var(--text);
  min-height: 52px;         /* input と高さを揃える */
  display: flex;
  align-items: center;
  word-break: break-word;
}

/* textarea 相当（複数行） */
.confirm__value--textarea{
  min-height: 220px;        /* 既存 .textarea と揃える */
  align-items: flex-start;
  white-space: pre-wrap;    /* 改行を表示（br運用でも害は少ない） */
}

/* （未入力）表示：:has ではなく class で確実に */
.confirm__value.is-empty{
  color: var(--muted);
}

/* grid2 内の confirm__value が崩れないように */
.grid2 .field{
  min-width: 0;
}

/* 確認画面ボタン（戻る＋送信） */
.actions--confirm{
  gap: 12px;
  flex-wrap: wrap;
}

/* サブボタン（戻る） */
.actions.actions--confirm .btn.btn--sub{
  background: #e5e7eb;
  color: #111827;
  border: 1px solid #d1d5db;
}

/* メインボタン（送信） */
.actions.actions--confirm .btn:not(.btn--sub){
  background: #28619f;
  color: #fff;
}
.actions.actions--confirm .btn:not(.btn--sub):hover{
  filter: brightness(1.02);
}
.actions.actions--confirm .btn:not(.btn--sub):active{
  filter: brightness(.98);
}

/* ボタン幅：2つ並んでも綺麗に */
@media (min-width: 769px){
  .actions--confirm .btn{
    width: 260px;
  }
}
@media (max-width: 768px){
  .actions--confirm .btn{
    width: 360px;
    max-width: 100%;
  }
}



/* リニューアル用 */
.are_pamphlet{
  margin: 40px auto;
  text-align: center;
}

.are_text_attention__head{
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.are_text_attention_slash_r{
  width: 2px;
  height: 38px;
  background: #111;
  transform: rotate(28deg);
  border-radius: 2px;
}

.are_text_attention_slash_l{
  width: 2px;
  height: 38px;
  background: #111;
  transform: rotate(337deg);
  border-radius: 2px;
}

/* --- text_attention ---　　/一目でわかる！/ */
.text_attention{
  line-height: 1.2;
}
.text_attention p{
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #111;
  margin-bottom: 6px;
}

/* --- btn_bluegrad --- */
/*ボタンを中央寄せ  */
.btn_center{
  display: flex;
  justify-content: center;
}

a.btn_bluegrad{
    text-decoration: none;
}
.btn_bluegrad{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 10px 30px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(90deg, #1e4fb7 0%, #1aaed6 100%);
  box-shadow: 0 10px 24px rgba(0, 70, 140, .20);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn_bluegrad__text{
  font-size: 16px;
  /* font-weight: 800; */
  letter-spacing: .12em;
  color: #fff;
}

.btn_bluegrad__icon{
  width: 19px;
  height: 32px;
  margin-left: 3px;
  border-radius: 999px;
  color: #fff;
  display: grid;
  place-items: center;
}

/* フォントを使わず、ボーダーで矢印を描く */
.btn_bluegrad__icon::before{
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg); /* 右向き矢印 */
}

.btn_bluegrad:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 70, 140, .24);
  filter: brightness(1.02);
}
.btn_bluegrad:active{
  transform: translateY(0);
}
.btn_bluegrad:focus-visible{
  outline: 3px solid rgba(26, 174, 214, .45);
  outline-offset: 4px;
}



