@charset "utf-8";
/* CSS Document */

/* 共通スタイル（PC用） */
.notice-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid #63b1e3;
    overflow: hidden;
}

.notice-label-cell {
    background-color: #e5f3fb;
    text-align: center;
    padding: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #008dd0;
    border-bottom: 2px solid #008dd0;
    width: 100%; /* 幅をコンテナいっぱいに設定 */
}

.notice-list {
    padding: 10px;
}

.notice-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 6px;
}

.notice-date {
    color: #333;
    font-size: 0.9rem;
    flex-shrink: 0;
    width: 100px;
    text-align: right;
}

.notice-title {
    color: #333;
    text-decoration: underline;
    font-size: 0.9rem;
}

.notice-title:hover {
    text-decoration: underline;
}

/* スマホ表示用（768px以下） */
@media screen and (max-width: 768px) {
    .notice-box {
        border-radius: 0;
    }

    .notice-label-cell {
        font-size: 1rem; /* 文字サイズを適度に調整 */
        padding: 10px;
        border-bottom-width: 2px; /* スマホではアンダーラインを少し細く */
	}

    .notice-list {
        padding: 12px;
    }

    .notice-row {
        flex-direction: column;
        gap: 5px;
    }

    .notice-date {
        text-align: left;
        width: auto;
		line-height: 1rem;
		margin-top: 2px;
		margin-bottom: 0px;
    }

    .notice-title {
        font-size: 0.9rem;
        line-height: 1.5;
		margin-bottom: 2px;
    }
}
