@charset "UTF-8";

/*
Theme Name: Cocoon Child
Template: cocoon-master
Author: わいひら
Author URI: https://wp-cocoon.com/
Description: Cocoon専用の子テーマです。
Version: 1.1.2
*/


/* 投稿ID106限定でサイドバーを狭く、メインを広く */
/* ページ文字サイズ変更 */
.postid-106 #main,
.postid-854 #main,
.postid-872 #main,
.postid-873 #main,
.postid-874 #main,
.postid-875 #main,
.postid-876 #main,
.postid-877 #main,
.postid-1159 #main,
.postid-1876 #main,
.postid-5774 #main,
.postid-5775 #main,
.postid-5820 #main,
.postid-5821 #main,
.postid-5822 #main {
    width: 76%; /* メインカラムを広めに */
    font-size: 12px !important;
}

.postid-106 #sidebar,
.postid-106 #sidebar,
.postid-854 #sidebar,
.postid-872 #sidebar,
.postid-873 #sidebar,
.postid-874 #sidebar,
.postid-875 #sidebar,
.postid-876 #sidebar,
.postid-877 #sidebar,
.postid-1159 #sidebar,
.postid-1876 #sidebar,
.postid-5774 #sidebar,
.postid-5775 #sidebar,
.postid-5820 #sidebar,
.postid-5821 #sidebar,
.postid-5822 #sidebar {
    width: 22%; /* サイドバーを狭く */
}


/* 長過ぎカスタムCSS対策 これで編集画面負荷軽減になる？意味あるか分からん */
function my_custom_styles() {
    wp_enqueue_style('my-custom-style', get_stylesheet_directory_uri() . '/custom.css');
}
add_action('wp_enqueue_scripts', 'my_custom_styles');



