@charset "UTF-8";

/*============================================
  お知らせ一覧・詳細ページ共通スタイル
============================================*/

/* CSS変数定義 */
:root {
    --news-title-color: #2d3a4b;
    --news-date-color: #6b7a8a;
    --news-text-color: #4a5568;
    --news-border-color: #d1d5db;
    --news-gold-start: #D4A574;
    --news-gold-end: #A0704A;
}

/*============================================
  お知らせ一覧セクション
============================================*/
.news-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-section__container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* 左側：タイトル装飾エリア */
.news-section__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    min-width: 100px;
}

.news-section__circle {
    width: 80px;
    height: 80px;
    margin-bottom: 8px;
}

.news-section__circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.news-section__title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--news-title-color);
    letter-spacing: 0.3em;
    margin: 0;
    line-height: 1.4;
}

/* 右側：記事リスト */
.news-section__list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

/*============================================
  記事アイテム
============================================*/
.news-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--news-border-color);
}

.news-item:first-child {
    padding-top: 0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item__link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.news-item__link:hover {
    opacity: 0.7;
}

.news-item__date {
    display: block;
    font-size: 0.875rem;
    color: var(--news-date-color);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.news-item__title {
    font-size: 1rem;
    color: var(--news-text-color);
    line-height: 1.8;
    margin: 0;
    font-weight: 400;
}

/*============================================
  レスポンシブ（タブレット以下）
============================================*/
@media screen and (max-width: 834px) {
    .news-section {
        padding: 50px 20px;
    }

    .news-section__container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .news-section__header {
        align-items: center;
    }

    .news-section__circle {
        width: 60px;
        height: 60px;
    }

    .news-section__title {
        font-size: 1.3rem;
    }

    .news-section__list {
        width: 100%;
    }
}

/*============================================
  レスポンシブ（スマホ）
============================================*/
@media screen and (max-width: 480px) {
    .news-section {
        padding: 40px 16px;
    }

    .news-section__container {
        gap: 30px;
    }

    .news-item {
        padding: 16px 0;
    }

    .news-item__date {
        font-size: 0.8rem;
    }

    .news-item__title {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

/*============================================
  お知らせ詳細ページ
============================================*/
.news-single {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.news-single__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.news-single__circle {
    width: 80px;
    height: 80px;
    margin-bottom: 8px;
}

.news-single__circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.news-single__section-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--news-title-color);
    letter-spacing: 0.3em;
    margin: 0;
    line-height: 1.4;
}

.news-single__meta {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--news-border-color);
}

.news-single__date {
    display: block;
    font-size: 0.9rem;
    color: var(--news-date-color);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.news-single__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--news-title-color);
    line-height: 1.6;
    margin: 0;
}

.news-single__content {
    color: var(--news-text-color);
    line-height: 2;
    font-size: 1rem;
}

.news-single__content p {
    margin-bottom: 1.5em;
}

.news-single__content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--news-title-color);
    margin: 2em 0 1em;
    padding-left: 1em;
    border-left: 3px solid var(--news-gold-start);
}

.news-single__content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--news-title-color);
    margin: 1.5em 0 0.75em;
}

.news-single__content ul,
.news-single__content ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.news-single__content li {
    margin-bottom: 0.5em;
}

.news-single__content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1.5em 0;
}

.news-single__content a {
    color: var(--news-gold-end);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.news-single__content a:hover {
    opacity: 0.7;
}

/*============================================
  ナビゲーション（前後の記事）
============================================*/
.news-single__nav {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--news-border-color);
}

.news-single__nav-list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.news-single__nav-item {
    flex: 1;
}

.news-single__nav-item--prev {
    text-align: left;
}

.news-single__nav-item--next {
    text-align: right;
}

.news-single__nav-link {
    display: inline-block;
    text-decoration: none;
    color: var(--news-text-color);
    font-size: 0.9rem;
    transition: opacity 0.2s ease;
    padding: 10px 0;
}

.news-single__nav-link:hover {
    opacity: 0.7;
}

.news-single__nav-label {
    display: block;
    font-size: 0.75rem;
    color: var(--news-date-color);
    margin-bottom: 5px;
}

.news-single__back-link {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.news-single__back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--news-border-color);
    color: var(--news-text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.news-single__back-btn:hover {
    background: var(--news-title-color);
    border-color: var(--news-title-color);
    color: #fff;
}

/*============================================
  詳細ページ レスポンシブ
============================================*/
@media screen and (max-width: 834px) {
    .news-single {
        padding: 50px 20px;
    }

    .news-single__header {
        margin-bottom: 40px;
    }

    .news-single__title {
        font-size: 1.3rem;
    }

    .news-single__nav-list {
        flex-direction: column;
        gap: 15px;
    }

    .news-single__nav-item--next {
        text-align: left;
    }
}

@media screen and (max-width: 480px) {
    .news-single {
        padding: 40px 16px;
    }

    .news-single__circle {
        width: 60px;
        height: 60px;
    }

    .news-single__section-title {
        font-size: 1.3rem;
    }

    .news-single__meta {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .news-single__title {
        font-size: 1.2rem;
    }

    .news-single__content {
        font-size: 0.95rem;
        line-height: 1.9;
    }
}
