/* --- H1: 記事タイトル（中心となる存在感） --- */
.entry-title {
    font-size: 24px !important;
    color: #333;
    line-height: 1.4;
    text-align: left;
    letter-spacing: 0.05em; /* 文字の間隔を広げてゆとりを */
    margin-bottom: 30px;
    font-weight: 600;
}

/* --- H2: 上質な付箋デザイン（信頼感と視認性） --- */
.entry-content h2 {
    position: relative;
    padding: 12px 15px 12px 15px; /* 左側にゆとりを */
    background: #f9f9f9; /* 非常に淡いグレーで清潔感を */
    color: #444;
	  line-height: 1.4;
    font-size: 21px;
    font-weight: 600;
    border-left: 8px solid #bda67e; /* 落ち着いたゴールドベージュの「付箋」アクセント */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* わずかな影で立体感を */
    margin: 40px 0 20px;
}

/* --- H3: シンプルな下線（リズムを作る） --- */
.entry-content h3 {
    font-size: 19px;
    color: #444;
    padding-bottom: 8px;
    border-bottom: 1px solid #bda67e; /* H2と同色の細いラインで統一感 */
    margin-top: 30px;
    font-weight: 600;
    display: inline-block; /* 下線を文字の長さに合わせる */
    min-width: 150px; /* 短すぎないように最低幅を設定 */
}

/* 1. ヘッダー内側の余白を上下ともゼロにする */
#header-in {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important; /* 最低高さの制限を解除 */
}

/* 2. ロゴ画像エリア自体の高さを中身（画像）に合わせる */
#h-top {
    min-height: 0 !important;
    margin-bottom: 0 !important;
}

/* 3. 画像の上下にある余計な隙間をカット */
#site-title a {
    display: inline-block;
    line-height: 1;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#site-title a img {
    display: block; /* 画像の下にできる謎の数ピクセルの隙間を消す */
    margin: 0 auto; /* 中央寄せにする場合 */
    padding: 0 !important;
}

/* 4. もしキャッチフレーズ（説明文）が邪魔をしているなら消すか詰める */
#site-description {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
}
/* 記事一覧のサムネイルサイズを統一 */
.post-thumbnail img, 
.entry-card img, 
.wp-block-post-featured-image img {
    width: 100%;          /* 横幅を目一杯広げる */
    height: 250px;        /* 高さを固定（お好みで調整してください） */
    object-fit: cover;    /* 縦横比を維持したまま、枠に合わせて切り抜く */
    object-position: center; /* 画像の中央を基準に切り抜く */
}
.post-thumbnail img:hover {
    transform: scale(1.05); /* マウスを乗せた時に少し大きくする */
}
.single.style1 article figure.post-thumbnail {
 display: none;
}

.site-description {
 margin: 15px 0 0 0;
 color: #798f8f;
}
.style-six.site-banner {
 padding: 30px 0;
}
header.site-header {
 background-color: rgba(var(--primary-color-rgb), 0.1);
}
.site-title {
 line-height: 32px;
}
.wp-block-image img {
 margin-bottom: 10px;
}
.category .page-title {
 font-size: 1.6em;
}
@media (max-width: 1024px) {
.site .header-lay9 .main-header .site-branding {
 padding: 10px 0;
}
.mobile-menu-wrapper .main-header .toggle-button {
 margin-bottom: auto;
 margin-top: 10px;
}
.site-banner {
 margin-bottom: 10px;
}
.site-content {
 margin-top: 10px;
}
.home h3.entry-title {
 font-size: 20px !important;
}
.home .entry-content {
 font-size: 14px;
}
}

/* バナーリード文のスタイル */
.banner-lead-section {
    text-align: left;      /* 中央揃え */
    padding: 20px 20px;     /* 上下の余白 */
    background: ;    /* 優しいベージュ背景（不要なら削除） */
    color: #555;            /* 文字色を少し柔らかい黒に */
}

.banner-catch {
    font-size: 1.0em;       /* キャッチコピーを大きく */
    font-weight: bold;
    color: #8a745b;         /* アクセントカラー（茶系） */
    margin-bottom: 20px;
    line-height: 1.4;
}

.banner-description {
    font-size: 1.05em;
    line-height: 1.4;       /* 行間を広くして読みやすく */
}

/* スマホ表示での調整 */
@media screen and (max-width: 768px) {
    .banner-catch {
        font-size: 1.0em;
    }
}

html {
  scroll-behavior: smooth;
}
/* 見出しにスクロールした際、上に少し余白を作る（ヘッダー被り防止） */
h2[id], h3[id] {
  scroll-margin-top: ; /* ヘッダーの高さに合わせて調整してください */
}

/* スムーススクロールの設定 */
html {
    scroll-behavior: smooth;
}

/* 目次のデザイン */
.motto-toc {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.motto-toc-title {
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
}

.motto-toc ul {
    margin-bottom: 0;
    line-height: 1.6;
	  list-style: none;    /* 黒丸を消す */
    padding-left: 0px;     /* 左側の余白を消して左寄せにする */
    margin-left: 0px;
	   counter-reset: motto-counter; /* 番号をリセット */
}
.motto-toc li {
    margin-bottom: 8px;
    counter-increment: motto-counter; /* 番号を1ずつ増やす */
    display: flex; /* 番号とテキストを綺麗に並べる */
}

/* 番号部分のデザイン */
.motto-toc li::before {
    content: counter(motto-counter) ". "; /* 番号とドットを表示 */
    color: #8a745b; /* 番号の色をブログカラーに */
    font-weight: bold;
    margin-right: 8px; /* 番号と文字の間の余白 */
    flex-shrink: 0; /* 番号が潰れないように固定 */
}

.motto-toc a {
    color: #8a745b; /* ブログのメインカラーに調整してください */
    text-decoration: none;
}

.motto-toc a:hover {
    text-decoration: underline;
}

/* 補足情報のボックスデザイン */
.motto-info-box {
    background-color: #fff9f0;
    padding: 20px;
    border: 1px solid #ffedcc;
    border-radius: 8px;
    margin: 25px 0;
}

.motto-box-title {
    font-weight: bold;
    margin-top: 0;
    color: #d88b00;
}

/* Q&Aのデザイン */
.motto-faq-container {
    margin: 30px 0;
    background: #fff9f0;
    padding: 20px;
    border-radius: 8px;
}

.motto-faq-item {
    margin-bottom: 15px;
    border-bottom: 1px dotted #ccc; /* 点線の下線 */
    padding-bottom: 10px;
}

/* ★一番最後の項目だけ下線を消す設定 */
.motto-faq-item:last-child {
    border-bottom: none;   /* 下線をなしにする */
    margin-bottom: 0;      /* 下の余白も不要なら0にする */
    padding-bottom: 0;     /* 下のパディングも不要なら0にする */
}
.last {
	border-bottom: none;
	padding-bottom: 0;
}
.motto-faq-question {
    font-weight: bold;
    color: #8a745b;
}

.motto-faq-answer {
    margin-top: 5px;
    color: #555;
}


/* ポイント解説用のボックスデザイン */
.motto-point-box {
    background-color: #ffffff;
    border-left: 0px solid #8a745b; /* ブログのテーマカラー */
    padding: 15px 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
/* ポイント解説の見出し（h4）のデザイン */
.motto-point-box h4 {
    margin-top: 0;
    color: #8a745b; /* ブログのテーマカラー */
    font-size: 1.1em;
    margin-bottom: 10px;
    padding-bottom: 5px;          /* 下線との間の余白 */
    border-bottom: 2px dotted #8a745b; /* 点線の下線を追加（2pxの太さ） */
    display: inline-block;        /* 下線の長さを文字に合わせる（横いっぱいに引く場合は削除） */
	line-height: 1.4;
}

.motto-point-box ul {
    margin-bottom: 0;
    font-size: 0.95em;
}
