/* カスタムプロパティ */
:root {
    --blue: #0a58ca;
}

/* ページ基本デザイン */
body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Noto Sans JP', 'Noto Sans CJK JP', sans-serif;
}

/* フッター */
footer {
    margin-top: auto;
    font-size: 0.8em;
}

footer .sections {
    margin: 40px 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

footer a {
    --bs-link-color-rgb: 255, 215, 0;
    --bs-link-hover-color-rgb: 255, 235, 126;
}
footer .contact-label {
    width: 4em;
    font-weight: bold;
}
footer .footer-bottom {
    padding-top: 1em;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* flash メッセージ用 */
.messages .card {
    background-color: whitesmoke;
}
.messages .error {
    color: brown;
    border: 1px solid brown;
    background-color: #ffe4e4;
}

/* ボタンの背景を無しにする */
.btn-bg-none {
    --bs-btn-bg: none;
    --bs-btn-border-color: none;
}

/* スクロール可能なコンテンツ */
.scrollable-column {
    height: 100%;
    overflow-y: auto;
}

/* スクロールバーのスタイリング（Webkit系ブラウザ） */
.scrollable-column::-webkit-scrollbar {
    width: 8px;
}

.scrollable-column::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.scrollable-column::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.scrollable-column::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 中期計画・年度計画の内容スタイル */
.annual-plan-content p {
    margin-bottom: 0.5rem;
}
.annual-plan-content p:last-child {
    margin-bottom: 0;
}
.annual-plan-content ol {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
}
.annual-plan-content ul {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
}

/* フォントサイズの拡張 */
.fs-7 {
    font-size: 0.85rem;
}