/* =========================================
   Note-style Blog CSS
   Target: Blog posts only (Page Builder wrapped)
   ========================================= */

/* Step 1: Restore post title when using SiteOrigin */
.single-post .entry-title {
  display: block;
}

/* Step 2: Align title container with note-article width */
.single-post .entry-header {
  max-width: 720px;
  margin: 64px auto 40px;
  padding: 0 24px;
}

/* Step 3: Post title typography */
.single-post .entry-title {
  font-size: 32px;
  line-height: 1.35;
  font-weight: 700;
  color: #111;
}

/* Step 4: Mobile adjustments */
@media (max-width: 768px) {
  .single-post .entry-header {
    margin: 40px auto 24px;
    padding: 0 16px;
  }

  .single-post .entry-title {
    font-size: 26px;
  }
}

/* 글 영역 래퍼 (Page Builder Row에 note-article 클래스 적용) */
.note-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 공통 폰트 */
.note-article,
.note-article p,
.note-article h1,
.note-article h2,
.note-article h3,
.note-article ul,
.note-article ol {
  font-family:
    "Meiryo",
    "Noto Sans JP",
    "Hiragino Sans",
    "Yu Gothic",
    "MS PGothic",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #111;
}

/* =========================
   タイトル
   ========================= */
.note-article h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 48px;      /* ← 제목 상단 여백 */
  margin-bottom: 32px;
}

/* =========================
   中間タイトル
   ========================= */
.note-article h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 56px;
  margin-bottom: 20px;
}

/* =========================
   本文
   ========================= */
.note-article p {
  font-size: 17px;
  line-height: 2;
  margin-bottom: 1.6em;
}

/* 첫 문단 살짝 강조 (note 느낌) */
.note-article p:first-of-type {
  font-size: 17.5px;
}

/* =========================
   リスト（불릿 복구）
   ========================= */
.note-article ul {
  list-style: disc;
  padding-left: 1.6em;
  margin: 24px 0;
}

.note-article ol {
  list-style: decimal;
  padding-left: 1.6em;
  margin: 24px 0;
}

.note-article li {
  margin-bottom: 0.6em;
  line-height: 1.9;
}

/* =========================
   区切り線
   ========================= */
.note-article hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 48px 0;
}

/* =========================
   画像
   ========================= */
.note-article img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
}

/* =========================
   モバイル調整
   ========================= */
@media (max-width: 768px) {
  .note-article {
    padding: 0 16px;
  }

  .note-article h1 {
    font-size: 26px;
    margin-top: 32px;
  }

  .note-article h2 {
    font-size: 20px;
    margin-top: 40px;
  }

  .note-article p {
    font-size: 16px;
    line-height: 1.9;
  }
}

/* 블로그 목록(아카이브)에서는 Page Builder 제목 숨김 */
.blog .post-title-row,
.archive .post-title-row {
  display: none;
}