/* =========================================================
   資料請求（page-Request-Info.php）
   配色トークン（--blue 等）は lower-style.css で定義済みのものを利用
   フォーム部分（.contact-main / .contact-phone-card / .contact-form-card）は
   lower-style.css のお問い合わせ用スタイルを流用している
   ========================================================= */
.request-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) 0 clamp(20px, 4vw, 40px);
}

/* 導入 */
.request-intro {
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.request-intro .section-kicker {
  color: var(--blue);
}

.request-intro h2 {
  margin: 10px 0 16px;
  color: #102032;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.5;
}

.request-intro p {
  margin: 0;
  color: #25364a;
  font-weight: 500;
  line-height: 1.9;
}

/* 資料でわかること（3カード） */
.request-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: clamp(56px, 8vw, 88px);
}

.request-point {
  position: relative;
  padding: 40px 28px 32px;
  background: #fff;
  border: 1px solid rgba(214, 229, 241, 0.9);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(4, 22, 38, 0.08);
}

.request-point-no {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
}

.request-point h3 {
  margin: 0 0 12px;
  color: #102032;
  font-size: 1.2rem;
  line-height: 1.5;
}

.request-point p {
  margin: 0;
  color: #47586c;
  font-weight: 500;
  line-height: 1.9;
}

/* 資料請求の流れ */
.request-flow-block {
  width: min(880px, 100%);
  margin: 0 auto;
}

.request-flow-head {
  margin-bottom: 28px;
  text-align: center;
}

.request-flow-head .section-kicker {
  color: var(--blue);
}

.request-flow-head h3 {
  margin: 8px 0 0;
  color: #102032;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
}

.request-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.request-flow-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid rgba(214, 229, 241, 0.9);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(4, 22, 38, 0.06);
}

.request-flow-num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff;
  background: linear-gradient(135deg, #238fff, #005be4);
  border-radius: 50%;
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.request-flow-copy h4 {
  margin: 0 0 6px;
  color: #102032;
  font-size: 1.08rem;
}

.request-flow-copy p {
  margin: 0;
  color: #47586c;
  font-weight: 500;
  line-height: 1.8;
}

/* フォームエリア（お問い合わせ用スタイルを流用しつつ調整） */
.request-form-area {
  padding-top: clamp(20px, 4vw, 40px);
}

/* フォームカードに背景・枠・影を付与（お問い合わせページの body 背景に依存しないため） */
.request-form-area .contact-form-card {
  background: hsla(0, 0%, 100%, 0.97);
  border: 1px solid rgba(214, 229, 241, 0.72);
  box-shadow: none;
  border-radius: 8px;
}

.request-form-lead {
  margin: 0 0 28px;
  color: #47586c;
  font-weight: 500;
  line-height: 1.9;
  text-align: center;
}

/* フォーム未設定時の管理者向け案内 */
.request-form-setup {
  margin: 0;
  padding: 20px 24px;
  color: #7a3b00;
  background: #fff6e8;
  border: 1px solid #f2d19b;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.9;
}

.request-form-setup code {
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  font-size: 0.9em;
}

/* 個人情報の同意チェックボックス（CF7 acceptance）
   ※ .contact-form input の共通スタイル（幅100%・高さ62px・枠線）が当たると
      巨大な四角になり文字も折り返すため、ここでネイティブのチェックボックスに戻す */
.request-form-area .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.request-form-area .wpcf7-acceptance label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0c2138;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.request-form-area .wpcf7-acceptance input[type="checkbox"] {
  -webkit-appearance: auto;
  appearance: auto;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  accent-color: var(--blue);
  cursor: pointer;
}

/* 「プライバシーポリシーに同意します」を折り返さない */
.request-form-area .wpcf7-acceptance .wpcf7-list-item-label {
  white-space: nowrap;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .request-points {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .request-flow-item {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
    justify-items: center;
  }
}
