/* ========================================
   レイアウト関連CSS
   #container, #main_contents, #main_col, #side_col など
   
   ブレークポイント:
   - モバイル: 650px以下
   - タブレット: 651px〜1210px
   - PC: 1211px以上
   
   注意: PC表示（1211px以上）は元のレイアウトを維持
======================================== */

/* ========================================
   基本スタイル（全デバイス共通）
======================================== */

/* ========================================
   ドロワーメニューのカスタマイズ
======================================== */

/* ホバー時の色（少し暗くする） */
#mobile_menu a:hover,
#drawer_menu .close_button:hover,
#mobile_menu .child_menu_button:hover {
    background: #9e2339 !important;
}

body {
    background: #ffffff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    line-height: 1;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* ========================================
   PC表示: デフォルト（親テーマのレイアウトを維持）
======================================== */

/* メインコンテンツエリア */
#main_contents {
    width: 1080px;
    margin: 0 auto;
    padding: 20px 0 30px !important;
}

/* サイドバー */
#side_col {
    width: 258px;
    float: right;
}

/* ========================================
   レスポンシブ対応
======================================== */

/* タブレット: 651px〜1210px */
@media (min-width: 651px) and (max-width: 1210px) {
    #side_col {
        border-top: 1px solid #000;
        padding-top: 30px;
        margin-top: 30px;
    }
}

/* モバイル: 650px以下 */
@media (max-width: 650px) {
    #main_contents {
        width: 100%;
        padding: 20px 10px 30px !important;
        box-sizing: border-box;
    }

    #side_col {
        width: 100%;
        float: none;
        margin-top: 0px;
        border-top: 0.5px solid #000;
        padding-top: 30px;
    }
}