@charset "UTF-8";
/**
 * SWELLテーマ子テーマ用ベースリセットCSS
 * 
 * 【簡易インデックス】
 * 1. サイト全体のテキストカラー
 * 2. 見出し（h1～h3）のリセット
 *    - h2タグの完全リセット
 *    - h2疑似要素の非表示
 * 3. 段落（p）スタイル
 * 4. リスト（ul/ol/li）スタイル
 * 5. リンク（a）スタイル
 * 6. 本文テキスト用クラス
 * 7. BEMクラスのベース定義
 * 8. プラグインスタイルのリセット
 */

/* 
 * サイト全体のテキストカラー
 * ---------------------------------------- */
body {
  color: #ffffff;
}

/* 
 * 見出し（h1～h3）のリセット
 * ---------------------------------------- */
h1,
.post_content h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin: 1.5rem 0 0.75rem;
}

/* h2リセット＋疑似要素リセット
   - 対象: h2, .post_content h2, それぞれの::before
   - 理由: ボーダー演出除去＋純粋スタイル適用
*/

/* 本体リセット */
h2,
.post_content h2 {
  all: unset;
  display: block;
  font-size: 2rem;
  line-height: 1.35;
  margin: 1.25rem 0 0.65rem;
}

/* 疑似要素リセット */
h2::before,
.post_content h2::before {
  all: unset;
  display: none;
}

h3,
.post_content h3 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin: 1rem 0 0.5rem;
}

/* 
 * 段落（p）
 * ---------------------------------------- */
p {
  margin: 0 0 1rem;
  line-height: 1.8;
}

/* 
 * リスト（ul/ol/li）
 * ---------------------------------------- */
ul, ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* 
 * リンク（a）
 * ---------------------------------------- */
a {
  color: inherit;
  text-decoration: none;
}

a:hover, a:focus {
  text-decoration: underline;
}

/* 
 * 本文テキスト用クラス
 * ---------------------------------------- */
.site-tx {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 1rem;
}

/* 
 * BEM クラスのベース定義
 * ---------------------------------------- */
.base-box__tl {
  margin-bottom: 0.5em;
}

.base-box__tl--large {
  font-size: 2rem;
}

.base-box__tl--small {
  font-size: 1.25rem;
}

.base-box__tx {
  margin: 0;
}

/* プラグイン「投稿リストブロック」のデフォルトpaddingリセット
   - 対象: .p-postList.-type-card.-pc-col3 .p-postList__item
   - 理由: レスポンシブ3カラムレイアウト時に余計な横幅オーバーを防ぐため
*/
.p-postList.-type-card.-pc-col3 .p-postList__item {
    padding: 0;
    margin: 0;
} 