/* page.css - ページビルダーフロント共通 */

.page-block {
  width: 100%;
}
.page-block__inner {
  margin-inline: auto;
  padding-block: 48px;
  padding-inline: var(--gutter-pc);
}

/* ── バナー ──────────────────────────────────────── */
.page-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── テキスト ────────────────────────────────────── */
.page-text {
  font-size: 15px;
  line-height: 2;
}
.page-text p { margin-bottom: 1.5em; }
.page-text h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 2em 0 0.8em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}
.page-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 1.8em 0 0.6em;
  padding-left: 10px;
  border-left: 3px solid var(--color-primary);
}
.page-text img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-block: 16px;
}

/* ── 2カラム ─────────────────────────────────────── */
.page-col2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.page-col2__image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.page-col2__body {
  font-size: 15px;
  line-height: 2;
}
.page-col2__body p { margin-bottom: 1.2em; }

/* ── 3カラム ─────────────────────────────────────── */
.page-col3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.page-col3__image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 12px;
}
.page-col3__body {
  font-size: 14px;
  line-height: 1.8;
}

/* ── SP対応 ──────────────────────────────────────── */
@media (max-width: 740px) {
  .page-block__inner {
    padding-block: 32px;
    padding-inline: var(--gutter-sp);
  }
  .page-col2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-col2--img-right .page-col2__image {
    order: -1;
  }
  .page-col3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}