/* ==== レイアウト全体（2カラム） ==== */
.fo-form-layout {
  display: flex;
  gap: 10%;
padding: 10%;
  --fo-accent: #184f95; /* ドット装飾の色。サイトの基調色に合わせて変更してください */
}
.fo-form-layout__content {
  flex: 1 1 55%;
}
.fo-form-layout__form {
  flex: 1 1 45%;
}

/* ==== 共通：画像がはみ出さないための防御 ==== */
.fo-form-layout__content img {
  max-width: 100%;
  height: auto;
  width: auto;
}
.fo-form-layout__content * {
  max-width: 100%;
  box-sizing: border-box;
}

/* ==== Materials ラベル ==== */
.fo-form-layout__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fo-accent);
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
}
.fo-form-layout__eyebrow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fo-accent);
}

/* ==== 資料名タイトル ==== */
.fo-form-layout__title {
  color: black;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.4;
  margin: 5% 0;
}

/* ==== 説明文 ==== */
.fo-form-layout__desc {
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 24px;
}

/* ==== メイン画像（表紙イメージ） ==== */
.fo-form-layout__hero {
  display: block;
  margin: 0 0 32px;
}

/* ==== 主な内容／スライドイメージ 見出し（下線デザイン） ==== */
.fo-form-layout__subheading {
  margin-top: 0;
  font-size: 1.1rem;
  border-bottom: 2px solid var(--fo-accent);
  padding-bottom: 10px;
  margin-bottom: 15px;
  color: var(--fo-accent);
  font-weight: bold;
}

/* ==== 主な内容：リスト ==== */
.fo-form-layout__list {
  font-size: 18px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.fo-form-layout__list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 6px;
}
.fo-form-layout__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ==== スライドイメージ（1枚表示＋矢印カルーセル） ==== */
.fo-form-layout__slider {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 24px;
}
.fo-form-layout__slider-track {
  display: flex;
  transition: transform 0.3s ease;
}
.fo-form-layout__slider-slide {
  flex: 0 0 100%;
  width: 100%;
}
.fo-form-layout__slider-slide img {
  display: block;
  width: 100%;
  height: auto;
}
.fo-form-layout__slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.fo-form-layout__slider-arrow::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 3px solid var(--fo-accent);
  border-right: 3px solid var(--fo-accent);
}
.fo-form-layout__slider-arrow--prev {
  left: 8px;
}
.fo-form-layout__slider-arrow--prev::before {
  transform: rotate(-135deg);
  margin-left: 3px;
}
.fo-form-layout__slider-arrow--next {
  right: 8px;
}
.fo-form-layout__slider-arrow--next::before {
  transform: rotate(45deg);
  margin-right: 3px;
}
.fo-form-layout__slider-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* ==== レスポンシブ対応（768px以下） ==== */
@media (max-width: 768px) {
  .fo-form-layout {
    flex-direction: column;
    align-items: stretch;
  }
  .fo-form-layout__title {
    font-size: 22px;
  }
  .fo-form-layout__slider-arrow {
    width: 30px;
    height: 30px;
  }
}
