@charset "UTF-8";

/* ============================================
   ニュースリリース専用 (news.css)
   ============================================ */

/* --- 1. メインセクション（白パネル化） --- */
.news-release-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 60px 50px;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;
}

/* --- 2. 見出しデザイン --- */
.section-title {
    font-size: 2rem;
    color: var(--main-green);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--main-green);
    margin: 15px auto 0;
}

/* --- 3. 年ごとのグループ --- */
.year-group {
    margin-bottom: 60px;
}

.year-group:last-child {
    margin-bottom: 0;
}

.year-title {
    font-size: 1.5rem;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-weight: 700;
}

/* --- 4. リスト（月と内容）のデザイン（PC） --- */
.release-items {
    display: grid;
    grid-template-columns: 80px 1fr; /* 月の幅を固定 */
    gap: 15px 0;
    line-height: 1.8;
}

.release-items dt {
    grid-column: 1;
    font-weight: 700;
    color: var(--main-green);
    padding-top: 5px;
}

.release-items dd {
    grid-column: 2;
    margin: 0;
    padding: 5px 0 15px;
    border-bottom: 1px dotted #ccc;
    display: flex; /* PCでも【分類】とテキストを少し離すため */
    gap: 10px;
}

.release-items dd .category {
    flex-shrink: 0; /* 分類タグが潰れないように */
    color: #666;
}

.release-items dd:last-of-type {
    border-bottom: none;
}

/* リンクのスタイル */
.release-items dd a {
    color: #0044cc;
    text-decoration: none;
    transition: 0.3s;
}

.release-items dd a:hover {
    color: var(--main-green);
    text-decoration: underline;
}

/* --- 5. 背景設定の突き抜け防止 --- */
.bg-fixed-wrapper {
    width: 100%;
    overflow: hidden;
}

/* --- 6. レスポンシブ対応（スマホ） --- */
@media (max-width: 768px) {
    .news-release-section {
        padding: 40px 20px;
        margin: 30px 15px;
    }

    /* 月・分類・テキストをすべて縦に並べる */
    .release-items {
        display: block;
    }

    .release-items dt {
        display: block;
        margin-top: 25px;
        padding-bottom: 5px;
        border-bottom: 1px solid var(--main-green); /* 下線を入れて区切りを明確に */
        font-size: 0.9rem;
    }

    .release-items dd {
        display: block; /* Flexを解除して縦並びに */
        padding: 0;
        border-bottom: 1px dotted #ccc;
    }

    /* 2行目：分類（【お知らせ】など）の設定 */
    .release-items dd .category {
        display: block;
        margin-top: 10px;
        font-size: 0.85rem;
        color: #888;
    }

    /* 3行目：リンクテキストの設定 */
    .release-items dd a {
        display: block;
        margin-top: 5px;
        padding-bottom: 15px;
        font-weight: 500;
        line-height: 1.5;
        font-size: 0.95rem;
    }
}