@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 4.0
 ----------------------
 2026.07.30 プラグインの影響で崩れる部分の調整設定を追加
 2026.08.03 blogtop-2col-pickupへの調整を追加
 2026.09.02 add capitalize指定をキャンセル追加
 2026.09.09 add ページヘッダー(PC版)の調整
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/

/* 英字のcapitalize指定をキャンセル 2026.07.30 add 
 * 2026.08.15 add 
 *   blogtop-2col-pickup h1スタイル追加
 *   最新投稿一覧画面 ＝ blogのスタイルを追加
 *   ページネーションスタイル 調整追加
 *   最新投稿一覧画面、記事カテゴリ名、サイドバータイトル スタイル追加
 * 2026.09.02 add single-post/category のaタグを追加
 */
body.single-post .entry-header h1,
body.single-post :is(.entry-content, .sidebar) :is(h1, h2, h3, h4, h5, a),
body.single-post .article-footer .related-posts li a,
body.single-post .prnx_box .prnx_tb,
body.single-post .sidebar li a,
body.category .catpost-cards :is(h1, h2, h3, h4, h5,a),
body.category .sidebar li a,
body.blogtop-2col-pickup li a,
body.blogtop-2col-pickup h1,
body.blog h2,
body.blog .sidebar li a {
  text-transform: none;
}

/* ブログTOPタイトル 2026.08.15 add */
body.blogtop-2col-pickup header.article-header.entry-header{
    padding-left: 3%;
}
body.blogtop-2col-pickup h1{
    /* font-size: 2.5em; 2026.08.15 update */
    font-size: 2em;
}

/* 記事タイトル(entry-header内のh1) 調整 2026.07.30 add */
body.single-post .entry-header h1 { 
    font-size: 1.9em;
}

/* 記事本文中の見出し(entry-content内) 調整 2026.07.30 add */
body.single-post .entry-content h2 { 
    font-size: 1.9em;
}
body.single-post .entry-content h3 { 
    font-size: 1.6em;
}

/* サイドバーの見出し(sidebar内) 調整 2026.07.30 add 
 * 2026.08.03 add blogtop-2col-pickupのスタイル
 * 2026.08.15 add 最新投稿一覧画面 ＝ blogのスタイルを追加
 */
body.single-post .sidebar h4,
body.category .sidebar h4,
body.blogtop-2col-pickup .sidebar h4,
body.blog .sidebar h4  { 
    font-size: 1.6em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

/* サイドバーパーツ間隔(sidebar内) 調整 2026.08.15 add */
body:is(.single-post, .category, .blogtop-2col-pickup, .blog)
 .sidebar .normal-sidebar .widget {
    margin: 0 0 1.5em;
}
/* サイドバー一番上の見出し要素の位置(sidebar内) 調整 2026.08.15 add */
body:is(.single-post, .category, .blogtop-2col-pickup, .blog)
 .sidebar .normal-sidebar .widget h2:first-of-type{
    margin-top: 0;
}

/* カテゴリ画面：サイドバーの位置(sidebar内) 調整 2026.08.15 add */
body:is(.category) .sidebar{
    margin-top: 1.5em;
}

/* カテゴリ画面：カテゴリタイトル(catpost-cards内のh1) 調整 2026.07.30 add */
body.category .archive_header h1{
    font-size: 1.9em;
}

/* カテゴリ画面：記事タイトル(catpost-cards内のh2) 調整 2026.07.30 add */
body.category .catpost-cards h2 { 
    font-size: 1.1em;
    line-height: 1.5;
}

/* カテゴリ画面：ヘッダー上部余白 */
body.category .archive_header {
    margin-top: 2em;
}

/* 新投稿一覧画面：記事タイトル 調整 2026.08.15 add */
body.blog h2{
    font-size: 1em;
    line-height: 1.3;
}
/* 新投稿一覧画面：記事カテゴリ名 調整 2026.08.15 add */
body.blog .cat-name {
    line-height: 22px;
}


/* ページネーション 調整 2026.08.15 add */
.pagination .page-numbers a.page-numbers {
    line-height: 46px !important; 
}


/*記事上部の円形FAB形式シェアボタン 調整 start 2026.07.30 add */
.fab-btn i {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
}

.fab-btn i:after {
  white-space: nowrap;
}
/*記事上部の円形FAB形式シェアボタン 調整 end */


/* ページヘッダー(PC版)の調整 2026.09.09 add start */
.elementor-2315 .elementor-element.elementor-element-df1975e .wpr-nav-menu > .menu-item a {
    line-height: 1.6;
    padding: 0.3em;
}
.wpr-nav-menu-horizontal .wpr-menu-item .wpr-sub-icon {
    margin: 0 1em 0 0 !important;
}
nav.wpr-nav-menu-container.wpr-nav-menu-horizontal {
    padding-right: 1em;
}
.elementor-2315 .elementor-element.elementor-element-df1975e .wpr-nav-menu > .menu-item {
    margin-right: 8px;
}

/* ロゴのサイズに関する指定をキャンセル */
.elementor-2315 .elementor-element.elementor-element-7f2aa55 {
    width: auto !important;
    max-width: unset !important;
}
/* ロゴとメニューの比率*/
/* @media (max-width:1024px) and (min-width:768px){ */
@media (min-width:768px){
    .elementor-2315 .elementor-element.elementor-element-d067d8f {
        width: 15% !important;
    }
    .elementor-2315 .elementor-element.elementor-element-2e35125 {
        width: 85% !important;
    }
}
/* ページヘッダーの調整 2026.09.09 add end */
