/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Feb 22 2026 | 09:07:55 */
/*================================================
 * グローバルナビゲーション
 ================================================*/
#menu-box {
    width: 100%;
    background-color: #000000;
    position: relative;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    min-height: 60px;
}

/* 左側のサイトロゴ/サイト名 */
.menu-left-text {
    flex-shrink: 0;
}

.menu-left-text a {
    display: block;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}

/* メニュー項目（PC共通） */
#menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu li {
    margin: 0;
}

#menu li a {
    display: block;
    padding: 15px 20px;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

#menu li a:hover {
    background-color: #333333;
    text-decoration: none;
}

/* 現在のページのハイライト */
#menu li.current-menu-item a,
#menu li.current_page_item a {
    background-color: #444444;
}

/* ハンバーガーボタン - PCでは非表示 */
#toggle {
    display: none;
}

#toggle a {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    background: #333;
    padding: 8px 15px;
    border-radius: 4px;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

#toggle a::before {
    content: "☰";
    font-size: 18px;
    margin-right: 8px;
}

/*================================================
 * デスクトップ用（769px以上）
 ================================================*/
@media screen and (min-width: 769px) {
    #menu-box {
        justify-content: flex-start;
        position: relative;
    }
    
    .menu-left-text {
        margin-right: 40px;
    }
    
    #menu {
        position: static;
        margin-left: auto;
        margin-right: auto;
    }
}

/*================================================
 * スマホ・タブレット用（768px以下）
 ================================================*/
@media screen and (max-width: 768px) {
    /* ナビゲーションコンテナ */
    #menu-box {
        padding: 0 15px;
        min-height: 50px;
    }
    
    /* サイトロゴ */
    .menu-left-text a {
        font-size: 16px;
    }
    
    /* ハンバーガーボタン表示 */
    #toggle {
        display: block;
    }
    
    /* スマホメニュー - 中央揃え */
    #menu {
        position: absolute;
        top: 100%; /* #menu-boxのすぐ下に配置 */
        left: 0;
        right: 0;
        width: 100%;
        background: #000000;
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        max-height: calc(100vh - 50px);
        overflow-y: auto;
        border-top: 1px solid #333;
        display: none;
        z-index: 99999; /* ナビゲーションより前に出す */
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    }
    
    /* メニュー表示状態 */
    #menu.active,
    #menu.open {
        display: flex;
    }
    
    /* メニュー項目 */
    #menu li {
        width: 100%;
        margin: 0;
        text-align: center;
    }
    
    #menu li a {
        padding: 15px 20px;
        border-bottom: 1px solid #333;
        width: 100%;
        text-align: center;
    }
    
    /* 管理バーがある場合の調整 */
    body.admin-bar #menu {
        top: calc(50px + var(--wp-admin--admin-bar--height, 46px)) !important;
    }
}