/* ================================================
   NEWSページ - アコーディオンスタイル
   ================================================ */

/* ニュースセクション */
.news-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

/* NEWSセクション下部の円を削除 */
.news-section::after {
    display: none;
}

/* ニュースリストセクション */
.news-list-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

/* アコーディオンアイテム */
.news-accordion-item {
    background-color: #ffffff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-accordion-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* アコーディオンヘッダー */
.news-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.news-accordion-header:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

.news-accordion-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

/* アコーディオン画像 */
.news-accordion-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.news-accordion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* アコーディオン情報 */
.news-accordion-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

/* カテゴリー */
.news-accordion-category {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--accent-color);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    align-self: flex-start;
}

/* タイトル */
.news-accordion-title {
    font-size: 18px;
    font-weight: 600;
    color: #192337;
    line-height: 1.5;
    margin: 0;
}

/* 日付 */
.news-accordion-date {
    font-size: 13px;
    color: #999999;
    font-family: var(--font-en);
}

/* トグルボタン */
.news-accordion-toggle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-accordion-toggle:hover {
    background-color: #b8952e;
    transform: scale(1.1);
}

.news-accordion-toggle i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* 開いた状態 */
.news-accordion-item.active .news-accordion-toggle i {
    transform: rotate(45deg);
}

.news-accordion-item.active .news-accordion-toggle {
    background-color: #b8952e;
}

/* アコーディオンボディ */
.news-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.news-accordion-item.active .news-accordion-body {
    max-height: 3000px;
}

/* アコーディオンコンテンツ */
.news-accordion-content {
    padding: 0 30px 30px 30px;
    color: #192337;
    line-height: 1.8;
}

/* 本文上部の記事画像 */
.news-article-main-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.news-article-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-accordion-content p {
    margin-bottom: 20px;
    font-size: 15px;
}

.news-accordion-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 30px 0 15px 0;
}

.news-accordion-content ul.news-schedule {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.news-accordion-content ul.news-schedule li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 15px;
}

.news-accordion-content ul.news-schedule li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 18px;
}

.news-accordion-content .news-info-box {
    background-color: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.news-accordion-content .news-info-box p {
    margin-bottom: 10px;
    font-size: 15px;
}

.news-accordion-content .news-info-box p:last-child {
    margin-bottom: 0;
}

.news-accordion-content .news-info-box strong {
    color: #192337;
    font-weight: 600;
}

/* 空の状態 */
.news-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999999;
}

.news-empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.news-empty-state p {
    font-size: 16px;
}

/* 戻るボタンセクション */
.back-to-home-section {
    padding: 60px 0;
}

.text-center {
    text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .news-accordion-header {
        padding: 20px;
    }
    
    .news-accordion-header-left {
        gap: 15px;
    }
    
    .news-accordion-image {
        width: 80px;
        height: 80px;
    }
    
    .news-accordion-title {
        font-size: 16px;
    }
    
    .news-accordion-content {
        padding: 0 20px 20px 20px;
    }
    
    .news-article-main-image {
        margin-bottom: 25px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .news-accordion-header {
        padding: 15px;
        position: relative;
    }
    
    .news-accordion-header-left {
        width: 100%;
        padding-right: 50px; /* +ボタンのスペースを確保 */
    }
    
    .news-accordion-toggle {
        position: absolute;
        top: 15px;
        right: 15px;
    }
    
    .news-accordion-image {
        width: 70px;
        height: 70px;
    }
    
    .news-accordion-title {
        font-size: 15px;
    }
    
    .news-accordion-content {
        padding: 0 15px 15px 15px;
        font-size: 14px;
    }
    
    .news-accordion-content p {
        font-size: 14px;
    }
    
    .news-accordion-content h3 {
        font-size: 16px;
    }
    
    .news-article-main-image {
        margin-bottom: 20px;
        border-radius: 8px;
    }
}
