@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Template:   cocoon-master
Version:    1.1.3
*/

/* ============================================ */
/* FW Fullwidth No Header Footer 隙間削除 最終版 */
/* ============================================ */

/* 1. 全体の余白を強制削除 */
body.page-template-page-builder-no-header-footer,
body.page-template-page-builder-no-header-footer #main,
body.page-template-page-builder-no-header-footer #content,
body.page-template-page-builder-no-header-footer .entry-content,
body.page-template-page-builder-no-header-footer .wrap {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    min-height: auto !important;
}

/* 2. 【真犯人】TOPへ戻るボタンを抹消 */
#go-to-top,
.go-to-top-common,
.go-to-top-button {
    display: none !important;
    height: 0 !important;
}

/* 3. フッターやSNSボタン等を完全非表示 */
body.page-template-page-builder-no-header-footer footer,
body.page-template-page-builder-no-header-footer #footer,
body.page-template-page-builder-no-header-footer .footer,
body.page-template-page-builder-no-header-footer .sns-share,
body.page-template-page-builder-no-header-footer .sns-follow,
body.page-template-page-builder-no-header-footer .pager,
body.page-template-page-builder-no-header-footer .pagination,
body.page-template-page-builder-no-header-footer .related-entry,
body.page-template-page-builder-no-header-footer .comment-area,
body.page-template-page-builder-no-header-footer .author-box,
body.page-template-page-builder-no-header-footer #copyright,
body.page-template-page-builder-no-header-footer .under-entry-content {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 4. スペーサーブロック無効化 */
body.page-template-page-builder-no-header-footer .wp-block-spacer {
    display: none !important;
}

/* ============================================ */
/* ここから下は、元々あったメニューなどの設定 */
/* ============================================ */
/* メニューの装飾 */
.menu-drawer a:hover{
    color: rgba(255,255,255,0.7);
    background-color: rgba(30,124,209,0);
}
.vk-mobile-nav-menu-btn {
    left:auto;
    right:5px;
}

/* モバイル調整 */
@media screen and (max-width: 1023px) {
    body, html, #content, .wrap, #main, .entry-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    .entry-content > *:first-child {
        margin-top: -100px !important; 
        position: relative;
        z-index: 9999;
    }
    .mobile-header, .mobile-container {
        display: none !important;
        min-height: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}
/* PC/スマホ表示切り替え */
@media screen and (max-width: 1023px) {
    .pc-only { display: none !important; }
}
.sp-only { display: none !important; }
@media screen and (max-width: 1023px) {
    .sp-only { display: block !important; }
}
