/* forbiz配下の「フォームページ」共通スタイル（無料トライアル・法人お問い合わせ）
   両ページで完全に同一の内容だったため、このファイルに一本化しています。 */

:root {
  --accent: #e03222;
  --accent-dark: #c42a1c;
}

/* forbizページと同じ、透過ではなく塗りのヘッダー */
.l-header,
.l-header.is-scrolled {
  background-color: #fff !important;
  backdrop-filter: none !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.l-main {
  padding-top: 140px !important;
  display: block;
  background: #fff;
}
.l-main__background {
  display: none !important;
}

.p-terms-header {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.p-terms-header__label {
  font-family: 'Figtree', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  text-align: center;
  margin-bottom: 10px;
}
.p-terms-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
  text-align: center;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  color: #1a1a1a;
  line-height: 1.6;
}
.p-terms-header p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  line-height: 1.9;
  color: #595750;
}

.p-contact-form-container {
  margin: 60px auto;
  max-width: 800px;
  padding: 0 20px;
}
.p-contact-form-fallback {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  color: #595750;
  text-align: center;
  margin-bottom: 24px;
}
.p-contact-form-fallback a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
}
.p-contact-form-fallback a:hover { color: var(--accent-dark); }

/* --- フォーム埋め込み：スクロール不具合を避けるため
   アスペクト比固定ではなく、十分な高さの固定値を確保し
   ページ全体のスクロールのみで完結させる --- */
.p-contact-form-container iframe {
  display: block;
  width: 100%;
  border: none;
  border-radius: 8px;
  background: #fff;
  height: 1500px; /* PC：フォーム全体が収まる十分な高さ（自動リサイズが効かない場合のフォールバック） */
}
@media (max-width: 600px) {
  .p-contact-form-container iframe {
    height: 1900px; /* SP：改行が増える分、余裕を持たせる */
  }
}
