/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 27 2026 | 01:02:06 */
/* --- 1. 全体と親メニューの設計 --- */
.school-footer-nav {
    margin-bottom: 20px !important; /* 下の要素との隙間を少し狭く */
}

/* カラムの見出し */
.school-footer-nav .nav-title {
    font-size: 1.05rem !important;
    font-weight: bold !important;
    color: #ffffff !important;
    margin-bottom: 10px !important; /* 見出し下の余白を15pxから10pxに縮小 */
    padding-bottom: 4px !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3) !important;
}

/* メニュー全体のリスト */
.school-footer-nav .nav-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 親メニューの各行 */
.school-footer-nav .nav-list > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}
.school-footer-nav .nav-list > li:last-child {
    border-bottom: none !important;
}

/* 通常の親ページリンクの文字 */
.school-footer-nav .nav-list > li > a {
    display: block !important;
    padding: 8px 5px !important; /* 上下の余白を12pxから8pxに縮小 */
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    transition: opacity 0.2s ease;
}
.school-footer-nav .nav-list > li > a:hover {
    opacity: 0.7;
}


/* --- 2. 子ページアコーディオンの設計 --- */
.school-footer-nav details {
    width: 100%;
}

/* タップする親項目の見た目 */
.school-footer-nav details summary {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 8px 5px !important; /* 上下の余白を12pxから8pxに縮小 */
    color: #ffffff !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    list-style: none !important;
}
.school-footer-nav details summary::-webkit-details-marker {
    display: none !important;
}

/* 右端の開閉サイン（＋とー） */
.school-footer-nav .toggle-arrow {
    position: relative;
    width: 12px;
    height: 12px;
}
.school-footer-nav .toggle-arrow::before,
.school-footer-nav .toggle-arrow::after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    transition: transform 0.25s ease !important;
}
.school-footer-nav .toggle-arrow::before {
    top: 5px; left: 0; width: 12px; height: 1px;
}
.school-footer-nav .toggle-arrow::after {
    top: 0; left: 5px; width: 1px; height: 12px;
}
.school-footer-nav details[open] .toggle-arrow::after {
    transform: rotate(90deg) scaleX(0);
}


/* --- 3. 格納される子ページ（詳細）リストの設計 --- */
.school-footer-nav .child-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 0 6px 15px !important; /* 下側の余白を10pxから6pxに縮小 */
}

.school-footer-nav .child-list li a {
    display: block !important;
    padding: 5px 5px !important; /* 上下の余白を8pxから5pxに縮小 */
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
}
.school-footer-nav .child-list li a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* --- Lightningの初期リスト余白を完全に破壊して狭くする --- */

/* 1. 親メニュー全体の行間を極限まで詰める */
.school-footer-nav .nav-list,
.school-footer-nav .nav-list > li {
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. 親メニューの文字の上下の隙間を狭く固定（パディングを4pxに） */
.school-footer-nav .nav-list > li > a,
.school-footer-nav details summary {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    margin: 0 !important;
    min-height: 0 !important; /* Lightning独自の高さをリセット */
}

/* 3. 子ページ（アコーディオンの中身）の行間を極限まで詰める */
.school-footer-nav .child-list {
    margin: 0 !important;
    padding: 0 0 4px 15px !important; /* 下側の余白を削減 */
}

.school-footer-nav .child-list li {
    margin: 0 !important;
    padding: 0 !important;
}

/* 4. 子ページの文字の上下の隙間を狭く固定 */
.school-footer-nav .child-list li a {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    margin: 0 !important;
}

/* --- 中央カラムと右カラムを中央揃えにする --- */

/* カラムの見出しを中央揃えにする */
.school-footer-nav .nav-title {
    text-align: center !important;
}

/* 通常の親ページリンクの文字を中央揃えにする */
.school-footer-nav .nav-list > li > a {
    text-align: center !important;
}

/* 子ページアコーディオンの見出しを中央に寄せる */
.school-footer-nav details summary {
    justify-content: center !important; /* 文字と開閉サインを中央に集める */
    gap: 10px !important;               /* 文字と開閉サインの間の隙間 */
}

/* 子ページ（詳細）リストの字下げを無くし、中央揃えにする */
.school-footer-nav .child-list {
    padding-left: 0 !important; /* 左側の字下げをリセット */
}
.school-footer-nav .child-list li a {
    text-align: center !important;
}

/* カスタムHTML内のWordPress自動生成による不要な改行・空白を消去 */
.school-footer-nav br,
.school-footer-nav p:empty {
    display: none !important;
}
.school-footer-nav .child-list br {
    display: none !important;
}



.site-footer {
    border-bottom: none !important;
}
