@charset "utf-8";
/*
Template: jstorkse
Theme Name: STORK SE Child
Theme URI: https://open-cage.com/stork-se/
Version: 1.0.0
Author: opencage
Author URI: https://open-cage.com/
*/

/* ===============================
   レイアウト：サイドバー付き
   =============================== */

/* 共通 */
#inner-content.has-sidebar {
    display: block;
}

/* PCレイアウトでメイン＋サイドバーを横並びにする */
@media (min-width: 960px) {
    #inner-content.has-sidebar {
        display: flex;
        align-items: flex-start;
        gap: 3rem;
    }

    #inner-content.has-sidebar #main {
        flex: 0 1 70%;
        min-width: 0;
    }

    /* 親テーマのウィジェット出力をサイドバーとして扱う */
    #inner-content.has-sidebar #aside-content {
        flex: 0 0 30%;
        max-width: 30%;
    }

    /* サイドバー内の .wrap をリセット（横幅が狭くなりすぎないように） */
    #inner-content.has-sidebar #aside-content .wrap {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }

    /* サイドバーの見た目調整（任意でいい感じに） */
    #inner-content.has-sidebar .widgetarea {
        background-color: var(--inner-content-bg, #fff);
        border-radius: 8px;
        padding: 1.5rem 1.75rem;
    }

    #inner-content.has-sidebar .widget {
        margin-bottom: 1.75rem;
    }

    #inner-content.has-sidebar .widgettitle {
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 0.9rem;
        border-bottom: 2px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 0.4rem;
    }
}
