/* 基本スタイル */
.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 65px;
    background: rgba(255,255,255,0.0);
    /*color: #e5e5e5 !important;*/
    z-index: 1000;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.0);
    width: 100vw;
    /*color: #e5e5e5 !important;*/
    transition: .5s;
    height: 65px;
}

.site-header.transform {
    background: rgba(255,255,255,1.0);
    /*color: #e5e5e5 !important;*/
    z-index: 1000;
    height: 65px;
}

.navbar-custom {
    background-color: rgba(255,255,255,0.0);
    border: none;
    margin-bottom: 0;
    position: fixed;
    width: 100%;
    z-index: 100;
}

.navbar-custom .navbar-brand {
    color: #003366;
    font-size: 24px;
}

.navbar-custom .navbar-nav > li > a {
    color: #003366;
    padding: 15px 20px;
}

.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:focus {
    color: #ff6452;
    background-color: #fff;
}

.navbar-custom .dropdown-menu {
    background-color: #fff;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar-custom .dropdown-menu > li > a {
    color: #003366;
    padding: 10px 20px;
}

.navbar-custom .dropdown-menu > li > a:hover {
    color: #ff6452;
    background-color: #fff;
}

.navbar-custom .navbar-toggle {
    border: none;
    margin-right: 15px;
}

.navbar-custom .navbar-toggle .icon-bar {
    background-color: #003366;
}

@media (min-width: 891px) {
    .navbar-toggle {
        display: none;
    }
    
    .navbar-collapse.collapse {
        display: block !important;
        height: auto !important;
        padding-bottom: 0;
        overflow: visible !important;
    }
    
    .navbar-nav {
        float: left;
        margin: 0;
    }
    
    .navbar-nav > li {
        float: left;
    }
    
    .navbar-nav > li > a {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .mobile-footer-menu {
        
        display:none !important;
    }
    
    .mobile-menu-item {
        display:none !important;
    } 

}

@media (max-width: 890px) {
    .navbar-header {
        float: none;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    
    .navbar-collapse.collapse {
        display: none !important;
    }
    
    .navbar-nav {
        float: none !important;
        margin: 7.5px -15px;
    }
    
    .navbar-nav > li {
        float: none;
    }
    
    .navbar-nav > li > a {background:#fff;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .navbar-custom .dropdown-menu > li > a:hover {
    color: #ff6452;
    background-color: #fff;
}
    .navbar-collapse.collapse.in {background-color: #fff;
        display: block !important;
    }
    
    .collapsing {background-color: #fff;
        overflow: hidden !important;
    }

    
    /* スマホ用フッターメニュー */
    body {
        padding-bottom: 60px !important; /* スマホ用フッターメニューの高さ分 */
    }
    
    .mobile-footer-menu {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background-color: #fff;
        border-top: 1px solid #e7e7e7;
        z-index: 9999; /* 最前面に表示 */
        padding: 10px 0;
        display: block !important;
    }
    
    .mobile-menu-item {
        text-align: center;
        padding: 5px 0;
        cursor: pointer;
    }
    
    .mobile-menu-item i {
        display: block;
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .mobile-menu-item.active {
        color: #ff6452; /* 活性色を変更 */
    }
    
    /* スマホ用ドロップダウンメニュー - 重要な修正 */
    .mobile-dropdown-menu {
        position: fixed;
        bottom: 60px;
        left: 0;
        width: 100%;
        background-color: #fff;
        border-top: 1px solid #e7e7e7;
        box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
        max-height: 70vh;
        overflow-y: auto;
        z-index: 9998; /* フッターより下、他要素より上 */
    }
    
    /* ドロップダウンメニューのリスト */
    .list-group {
        margin-bottom: 0;
    }
    
    .list-group-item {
        border-left: none;
        border-right: none;
        color: #003366;
    }
    
    .list-group-item:first-child {
        border-top: none;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    
    .list-group-item:last-child {
        border-bottom: none;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    
    .list-group-item:hover {
        color: #ff6452;
        background-color: #f9f9f9;
    }
    .navbar-custom .dropdown-menu {
    background-color: #fff;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
}