@charset "utf-8";

/* --- 1. フッター本体 --- */
.site-footer {
    background: #0a0a0a;
    color: #fff;
    padding: 80px 20px;
    border-top: 2px solid #00bfff;
    display: block;
    text-align: left; 
    clear: both;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; 
    gap: 40px;
}

/* --- 2. 左カラム --- */
.footer-left {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    font-size: 2.2rem !important; 
    color: #00bfff !important; 
    font-weight: bold;
    letter-spacing: 0.2em;
    text-decoration: none;
}

.footer-desc {
    font-size: 16px !important;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.copyright {
    font-size: 16px !important; 
    margin-top: 30px;           
    color: #ffffff !important;  
    opacity: 1;                 
    font-weight: normal;        
}


/* --- 3. 右カラム（メニュー・リンク集） --- */
.footer-right {
    flex: 2;
    display: flex;
    justify-content: space-around;
    min-width: 300px;
}

.footer-link-group h3 {
    font-size: 17px !important;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
}

.footer-link-group ul {
    list-style: none;
    padding: 0;
}

.footer-link-group li {
    margin-bottom: 12px;
    font-size: 15px !important;
}

.footer-link-group a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 15px !important;
    transition: 0.3s;
}

.footer-link-group a:hover {
    color: #00bfff;
}

.rekishi-link {
    color: #00bfff !important;
    font-weight: bold !important;
}


/*--階層--*/

.l-link {
    text-decoration: none !important;
    display: inline-block;
}

.l-link::before {
    content: "｜＿ ";
    display: inline-block;
    text-decoration: none;
    color: inherit;
    opacity: 0.8;
    margin-right: 4px;
}





/* --- 4. TOPへ戻るボタン --- */
#page-top {
    position: fixed !important; 
    right: 30px !important;    
    bottom: 30px !important;   
    z-index: 9999 !important;  
}

#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    border: 2px solid #fff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

#page-top a:hover {
    background: #00f3ff;
    border-color: #00f3ff;
    box-shadow: 0 0 15px #00f3ff, 0 0 35px rgba(0, 243, 255, 0.7);
    transform: translateY(-5px);
    color: #fff;
}

