/* general-contact.html（一般のお問い合わせ）専用。
 * 共通の見た目は common.css / request.css / common-otp.css を使い、ここには
 * 「フォーム送信後の流れ」とお客さま区分のラジオ（moushikomi.css の .radio-pill と同じ見た目）だけを置く。 */

/* ===== フォーム送信後の流れ ===== */
.gc-flow {
  margin: 0 0 2.4rem;
  padding: 1.6rem 2rem;
  border: 2px solid #d8e0da;
  border-radius: 12px;
  background: #f6faf6;
}
.gc-flow__title {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0b5d0d;
}
.gc-flow__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}
.gc-flow__steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.5rem;
  line-height: 1.7;
}
.gc-flow__num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: #117713;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}
.gc-noscript {
  margin: 0 0 2rem;
  padding: 1.2rem 1.6rem;
  border-radius: 8px;
  background: #fff4f4;
  font-size: 1.5rem;
  line-height: 1.7;
}

/* ===== お客さま区分（個人／法人） ===== */
#generalContactForm .radio-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.4rem;
}
#generalContactForm .radio-pill {
  display: inline-flex;
  margin: 0;
  cursor: pointer;
}
#generalContactForm .radio-pill input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
}
#generalContactForm .radio-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  padding: 1.1rem 2.2rem;
  border: 2px solid #d8e0da;
  border-radius: 999px;
  background: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  color: #3a463f;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
#generalContactForm .radio-pill span:hover {
  border-color: #b8c7bc;
}
#generalContactForm .radio-pill input:checked + span {
  border-color: #117713;
  background: #117713;
  color: #fff;
  box-shadow: 0 2px 8px rgba(17, 119, 19, 0.28);
}
#generalContactForm .radio-pill input:focus-visible + span {
  outline: 3px solid rgba(17, 119, 19, 0.45);
  outline-offset: 2px;
}
@media (max-width: 480px) {
  .gc-flow {
    padding: 1.4rem 1.4rem;
  }
  #generalContactForm .radio-pill span {
    min-width: 8.5rem;
    padding: 0.9rem 1.6rem;
  }
}

/* ===== フッターの下に白い余白を出さない（2026-10-20） =====
   中身が短いページでも、フッターが画面の下端にくるよう main を伸ばす */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body > #main {
  flex: 1 0 auto;
}

/* ===== 確認コードの送信ボタンと案内 =====
 * お申込みフォーム（moushikomi.css）と同じ見た目にそろえる（2026-11-25）。
 * それまでは request.css の青いボタンのままで、3つのフォームで色と形が違っていた。
 * 値を変えるときは moushikomi.css・renewal.css の同じ箇所も合わせる。 */
.btn-testmail {
  padding: 1.2rem 2.2rem;
  border-radius: 1.2rem;
  font-size: 1.5rem;
  background: #0b5d0d;
  box-shadow: 0 3px 10px rgba(11, 93, 13, 0.22);
}
.btn-testmail:hover {
  background: #0a4f0c;
  box-shadow: 0 5px 14px rgba(11, 93, 13, 0.3);
}
.btn-testmail--success {
  background: #117713;
}
.testmail-note {
  margin-top: 1.3rem;
  font-size: 1.35rem;
  color: #8a6708;
  background: #fff8ec;
  border: 1px solid #f4dca6;
  border-radius: 1.2rem;
  padding: 1.2rem 1.5rem;
  line-height: 1.7;
}
.testmail-note .next-strong {
  color: #0b5d0d;
  font-weight: 800;
}

/* 「入力欄はすべて必須です」の注記（request.html の #reqAllNote と同じ見た目。2026-11-29） */
.req-all-note {
  margin: 0 0 1.6rem;
  font-size: 1.4rem;
  line-height: 1.6;
  color: #4b564e;
}
