/* #region 会計年度選択 */

/* 会計年度選択コンテナ */
.header .fiscal-year-container,
.fiscal-year-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 会計年度ラベル */
.header .fiscal-year-label,
.fiscal-year-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

/* 会計年度セレクトボックス */
.header .fiscal-year-select,
.fiscal-year-select {
    padding: 10px 16px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

/* ホバー時 */
.header .fiscal-year-select:hover,
.fiscal-year-select:hover {
    border-color: #DC0714;
}

/* フォーカス時 */
.header .fiscal-year-select:focus,
.fiscal-year-select:focus {
    outline: none;
    border-color: #DC0714;
    box-shadow: 0 0 0 3px rgba(220, 7, 20, 0.1);
}

/* #endregion */

/* #region ページ説明 */

.page-description {
    background: #f5f7fa;
    padding: 16px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
}

.description-text {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* #endregion */

/* レスポンシブデザイン */
@media (max-width: 768px) {
    /* 会計年度選択はタイトルの右に横並びのまま、コンパクトに表示 */
    .header .fiscal-year-container,
    .fiscal-year-container {
        flex-direction: row;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
    }

    .header .fiscal-year-label,
    .fiscal-year-label {
        font-size: 13px;
    }

    /* 会計年度セレクトボックスはコンパクトな幅に */
    .header .fiscal-year-select,
    .fiscal-year-select {
        width: auto;
        min-width: 90px;
        padding: 8px 10px;
        font-size: 13px;
    }
    
    /* ページ説明のレスポンシブ */
    .page-description {
        padding: 14px 16px;
        margin-bottom: 20px;
    }

    .description-text {
        font-size: 13px;
    }
}
