/*
Theme Name: Lightning Child Sample
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/

/* 会社概要ページの行間と余白の調整 */
.post-type-page.page-template-default .entry-body {
    /* ページ本文全体の行間を少し狭める */
    line-height: 1.6; /* デフォルトより少し小さめに調整 (好みで1.5〜1.7の間で調整) */
}

/* 各ブロックの下の余白を狭める */
.post-type-page.page-template-default .wp-block {
    margin-bottom: 1em !important; /* ブロックの下の余白を狭める (好みで0.8em〜1.2emの間で調整) */
}

/* 特に、見出し2とpタグの間の余白を調整 */
.post-type-page.page-template-default h2 {
    margin-top: 1.5em !important; /* 見出しの上の余白を少し確保 */
    margin-bottom: 0.8em !important; /* 見出しの下の余白を狭める */
    line-height: 1.3 !important; /* 見出しの行間を狭める */
}

.post-type-page.page-template-default p {
    margin-bottom: 1em !important; /* 段落の下の余白を調整 */
}

/* リスト（ul/ol）の余白調整 */
.post-type-page.page-template-default ul,
.post-type-page.page-template-default ol {
    margin-bottom: 1em !important;
    margin-top: 0.5em !important; /* リストの上の余白を少し狭める */
}

/* Googleマップブロックの上下余白調整（VK Blocks用） */
.post-type-page.page-template-default .vk_google_map {
    margin-top: 1.5em !important;
    margin-bottom: 1.5em !important;
}

/* 会社概要ページ上部の余白調整 */
/* メインコンテンツエリア全体の上の余白を調整 */
.post-type-page.page-template-default .entry-body {
    padding-top: 1em !important; /* 例: 2emに設定。好みで調整 (0〜4em程度) */
    /* line-height は既存の調整を維持 */
    line-height: 1.6;
}

/* ページのタイトル直下の余白を調整 */
.post-type-page.page-template-default .entry-header {
    margin-bottom: 1em !important; /* 例: 1.5emに設定。好みで調整 (0〜3em程度) */
}

/* 最初のブロックの上の余白を調整（もし直接ブロックに余計な余白がある場合） */
.post-type-page.page-template-default .entry-body > *:first-child {
    margin-top: 0 !important;
}

/* ヒーローエリアのサブキャッチフレーズ文字色変更 */
.main-section-hero .main-section-hero-text-sub {
    color: red !important; /* ← ここで「red」を指定 */
    /* 必要であれば、フォントサイズなども調整可能 */
    /* font-size: 1.1em !important; */
}