@charset "utf-8";

/* =====================================================================
   資料ダウンロード（/pro-lp/ai-02/request/）専用
   ---------------------------------------------------------------------
   ヘッダー・フッター・ボタンなどは style.css、フォームの見た目は mailform.css を
   そのまま使い、ここではこのページだけのレイアウトを指定する。
   ブレークポイントはLPと同じ（SPが基本、769px以上でPCを上書き）。
   ===================================================================== */

.page-request main {
  background: #f5f5f5;
}

/* --- 左：資料の紹介 ／ 右：フォーム --------------------------------------
   SP：紹介は非表示にしてフォームだけ（ai-01 と同じ）
   PC：左右2列
   ---------------------------------------------------------------------- */
.p-request {
  padding: 24px 0 40px;
}

.p-request__intro {
  display: none;
}

.p-request__title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--c-purple);
}

.p-request__intro-text {
  width: fit-content;
  max-width: 100%;
  margin: 16px auto 0;
}

.p-request__intro-text p {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
}

.p-request__img {
  width: 100%;
  margin: 24px auto 0;
}

/* フォーム（mailform.css の form#mail_form を、このページ用に調整） */
.p-request form#mail_form {
  margin: 0 auto;
}

.p-request form#mail_form h1 {
  padding: 32px 5% 0;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-purple);
}

.p-request form#mail_form h4 {
  margin-top: 8px;
  padding-inline: 5%;
  font-size: 0.875rem;
  font-weight: 700;
}

/* 個人情報の取り扱い（プライバシーポリシーの説明文） */
.c-form__atte {
  margin-top: 24px;
  padding: 16px;
  font-size: 0.75rem;
  line-height: 1.7;
  border: 1px solid #d1d1cb;
  border-radius: 6px;
}

.c-form__atte p + p {
  margin-top: 1.2em;
}

.c-form__atte a,
.check-pol a {
  color: var(--c-purple);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* 「プライバシーポリシーに同意する」のチェック */
.check-pol {
  margin-top: 24px;
  text-align: center;
}

/* --- メール・電話でのお問い合わせ ---------------------------------------- */
.p-request-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 var(--gutter) 56px;
  text-align: center;
}

.p-request-contact__title {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.p-request-contact__value {
  margin-top: 4px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.p-request-contact__value a {
  color: var(--c-purple);
  text-decoration: none;
}

.p-request-contact__note {
  margin-top: 4px;
  font-size: 0.8125rem;
}

@media (min-width: 769px) {
  .p-request {
    display: flex;
    align-items: center;
    gap: 48px;
    width: min(100% - 48px, 1440px);
    margin-inline: auto;
    padding-block: 64px 72px;
  }

  .p-request__intro {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .p-request__title {
    font-size: 2.0625rem;   /* 33px（LPのセクション見出しと同じ） */
  }

  .p-request__intro-text p {
    font-size: 1.25rem;
  }

  .p-request__form {
    flex: 1;
    min-width: 0;
  }

  .p-request form#mail_form h1 {
    padding-top: 40px;
    font-size: 1.5625rem;   /* 25px */
  }

  .p-request form#mail_form h4 {
    font-size: 0.9375rem;
  }

  /* 2列で幅が狭くなるため、項目名の幅を広げて「メールアドレス」を1行に */
  .p-request form#mail_form dl dt {
    width: 40%;
  }
  .p-request form#mail_form dl dd {
    width: 55%;
  }
  /* 電話番号の欄は、2列だと30%では番号が見切れるため広げる */
  .p-request form#mail_form input[name="phone"] {
    width: 60%;
  }

  .p-request-contact {
    flex-direction: row;
    justify-content: center;
    gap: 64px;
    padding-bottom: 72px;
  }

  .p-request-contact__value {
    font-size: 1.75rem;
  }
}
