/* ======== 青雲寮だより専用CSS - Liquid Glass Design & Apple-style UI ======== */

/* ----------------------------------------------
 * 基本変数定義
 * ---------------------------------------------- */
:root {
    --primary-blue-start: #007aff;
    --primary-blue-end: #5ac8fa;
    --primary-gradient: linear-gradient(135deg, var(--primary-blue-start) 0%, var(--primary-blue-end) 100%);
    --text-gradient-up: linear-gradient(to top, #5ac8fa, #007aff);

    --text-dark: #1d1d1f;
    --text-light: #6e6e73;

    --glass-bg: rgba(242, 242, 247, 0.75);
    --glass-border-color: rgba(255, 255, 255, 0.6);
    --glass-blur: blur(20px);
    --glass-saturate: saturate(180%);

    --border-radius: 20px;
    --soft-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --soft-shadow-hover: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
    
    /* モバイルナビゲーション用の変数を追加 */
    --header-height: 72px;
    --mobile-nav-padding-top: 100px;
}

/* ----------------------------------------------
 * 基本スタイル
 * ---------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* ----------------------------------------------
 * ヘッダー
 * ---------------------------------------------- */
.header {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-saturate) var(--glass-blur);
    border-bottom: 1px solid var(--glass-border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    min-height: var(--header-height);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section h1, 
.seiun-title {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-section .subtitle {
    font-size: 0.875rem;
    color: var(--primary-blue-start);
    font-weight: 500;
}

.seiun-title {
    font-size: 2rem;
}

/* ----------------------------------------------
 * ハンバーガーメニュー（修正版）
 * ---------------------------------------------- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary-blue-start);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    position: relative;
    transform-origin: center;
}

.hamburger.active span:first-child { 
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) { 
    opacity: 0; 
    transform: translateX(20px); 
}

.hamburger.active span:last-child { 
    transform: translateY(-10.5px) rotate(-45deg);
}

/* ----------------------------------------------
 * ナビゲーション
 * ---------------------------------------------- */
.nav-container {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-saturate) var(--glass-blur);
    border-bottom: 1px solid var(--glass-border-color);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
}

.main-nav { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1rem; 
}

.nav-list { 
    display: flex; 
    list-style: none; 
    margin: 0; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: none; 
}

.nav-list::-webkit-scrollbar { 
    display: none; 
}

.nav-item {
    flex-shrink: 0;
}

.nav-link { 
    display: block; 
    padding: 1rem 1.5rem; 
    color: var(--text-dark); 
    text-decoration: none; 
    transition: all 0.3s ease; 
    position: relative; 
    white-space: nowrap; 
    font-size: 0.9rem; 
    font-weight: 500; 
}

.nav-link:hover { 
    color: var(--primary-blue-start); 
    background: rgba(255, 255, 255, 0.3); 
}

.nav-link.active { 
    color: var(--primary-blue-start); 
    font-weight: 600; 
}

.nav-link.active::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 1.5rem; 
    right: 1.5rem; 
    height: 3px; 
    background: var(--primary-gradient); 
    border-radius: 3px; 
}

@media (min-width: 992px) {
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
    }
}

.additional-nav { 
    background: rgba(242, 242, 247, 0.3); 
    padding: 0.5rem 0; 
}

.additional-nav-content { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1rem; 
    font-size: 0.875rem; 
}

.additional-nav a { 
    color: var(--text-dark); 
    text-decoration: none; 
    margin-right: 1.5rem; 
    transition: color 0.3s ease; 
}

.additional-nav a:hover { 
    color: var(--primary-blue-start); 
}

/* ----------------------------------------------
 * モバイルナビゲーション（修正版）
 * ---------------------------------------------- */
@media (max-width: 768px) {
    .hamburger { 
        display: flex; 
    }
    
    .seiun-title { 
        display: none; 
    }
    
    .nav-container { 
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 280px; 
        height: 100vh; 
        background: var(--glass-bg); 
        backdrop-filter: var(--glass-saturate) var(--glass-blur); 
        -webkit-backdrop-filter: var(--glass-saturate) var(--glass-blur); 
        border-left: 1px solid var(--glass-border-color); 
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
        box-shadow: none; 
        overflow-y: auto;
        /* スクロールを許可してコンテンツの見切れを防ぐ */
    }
    
    .nav-container.active { 
        right: 0; 
    }
    
    .nav-list { 
        flex-direction: column; 
        /* padding-topを増やしてヘッダーとの重なりを解消 */
        padding-top: var(--mobile-nav-padding-top);
        /* 下部にも余白を追加してスクロール時の見やすさを向上 */
        padding-bottom: 2rem;
        margin: 0;
        list-style: none;
    }
    
    .nav-item {
        flex-shrink: 0;
        margin: 0;
        width: 100%;
    }
    
    .nav-item:first-child .nav-link {
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-link { 
        padding: 1rem 2rem; 
        border-bottom: 1px solid rgba(0,0,0,0.05);
        display: block;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        line-height: 1.5;
        vertical-align: middle;
        /* フォントサイズを少し大きくしてタップしやすくする */
        font-size: 1rem;
    }
    
    .overlay { 
        display: none; 
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        height: 100%; 
        background: rgba(0,0,0,0.2); 
        z-index: 998; 
        opacity: 0; 
        transition: opacity 0.3s ease; 
    }
    
    .overlay.active { 
        display: block; 
        opacity: 1; 
    }
}

/* ----------------------------------------------
 * メインコンテンツ
 * ---------------------------------------------- */
.main-content { 
    max-width: 1200px; 
    margin: 2rem auto; 
    padding: 0 1rem; 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 2rem; 
}

@media (min-width: 768px) { 
    .main-content { 
        grid-template-columns: 280px 1fr; 
    } 
}

.content-area {
    min-width: 0; /* グリッドオーバーフロー防止 */
}

/* ----------------------------------------------
 * サイドバー
 * ---------------------------------------------- */
.sidebar { 
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-saturate) var(--glass-blur);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border-color);
    box-shadow: var(--soft-shadow);
    padding: 1.5rem; 
    height: fit-content;
    transition: all 0.4s ease;
}

.sidebar:hover {
    box-shadow: var(--soft-shadow-hover);
    transform: translateY(-5px);
}

.sidebar h3 { 
    color: var(--primary-blue-start); 
    font-size: 1.125rem; 
    margin-bottom: 1rem; 
    padding-bottom: 0.5rem; 
    border-bottom: 1px solid rgba(0,0,0,0.1); 
}

.sidebar-links { 
    list-style: none; 
    margin-bottom: 2rem; 
}

.sidebar-links li { 
    margin-bottom: 0.5rem; 
}

.sidebar-links a { 
    display: block; 
    padding: 0.75rem; 
    color: var(--text-dark); 
    text-decoration: none; 
    border-radius: 10px; 
    transition: all 0.3s ease; 
}

.sidebar-links a:hover { 
    background: rgba(0, 122, 255, 0.1); 
    color: var(--primary-blue-start); 
    transform: translateX(4px); 
}

.cta-button { 
    display: block; 
    background: var(--primary-gradient); 
    color: white; 
    text-align: center; 
    padding: 1rem; 
    border-radius: 15px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: all 0.3s ease; 
    margin-bottom: 2rem; 
    border: none; 
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3); 
}

.cta-button:hover { 
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4); 
}

.contact-card { 
    background: rgba(0, 122, 255, 0.05); 
    backdrop-filter: var(--glass-saturate) var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-saturate) var(--glass-blur);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border-color);
    box-shadow: var(--soft-shadow);
    padding: 1.5rem; 
    font-size: 0.875rem; 
    line-height: 1.8; 
}

.contact-card a {
    color: var(--primary-blue-start);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--primary-blue-end);
}

/* ----------------------------------------------
 * コンテンツセクション
 * ---------------------------------------------- */
.content-section { 
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-saturate) var(--glass-blur);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border-color);
    box-shadow: var(--soft-shadow);
    padding: 2rem;
    margin-bottom: 2rem; 
    animation: fadeIn 0.6s ease;
    transition: all 0.4s ease;
}

.content-section:hover {
    box-shadow: var(--soft-shadow-hover);
    transform: translateY(-5px);
}

@keyframes fadeIn { 
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    } 
    to { 
        opacity: 1; 
        transform: translateY(0); 
    } 
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--text-gradient-up);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid;
    border-image: var(--primary-gradient) 1;
    display: inline-block;
}

.content-text { 
    color: var(--text-dark); 
    margin-bottom: 1.5rem; 
    line-height: 1.8; 
}

/* ----------------------------------------------
 * ニュース記事専用スタイル
 * ---------------------------------------------- */
.news-article {
    margin-top: 2rem;
}

/* 記事の日付見出し - 修正版 */
.news-article .article-date {
    color: var(--primary-blue-start);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    border-left: 4px solid var(--primary-blue-start);
    padding-left: 1rem;
    font-weight: 600;
    background: transparent;
    border-right: none;
    border-top: none;
    border-bottom: none;
}

/* 記事のメインタイトル */
.news-article .article-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* 記事内の大見出し */
.news-article .section-heading {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 2rem 0 1rem 0;
    color: var(--primary-blue-start);
}

/* 記事内の小見出し */
.news-article .subsection-heading {
    font-size: 1.125rem;
    font-weight: bold;
    margin: 1.5rem 0 0.75rem 0;
    color: var(--primary-blue-start);
}

/* 写真説明文 */
.photo-description {
    margin: 2rem 0 1rem 0;
    padding: 1rem;
    background: rgba(0, 122, 255, 0.05);
    border-radius: 10px;
    font-style: italic;
    color: var(--text-light);
    border-left: 4px solid var(--primary-blue-start);
}

/* 記事末尾のメッセージ */
.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    text-align: center;
    font-style: italic;
    color: var(--text-light);
}

/* バックナンバーリンク */
.backnumber-link {
    color: var(--primary-blue-start);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.backnumber-link:hover {
    color: var(--primary-blue-end);
}

/* ----------------------------------------------
 * 画像ギャラリー
 * ---------------------------------------------- */
.image-gallery { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 1rem; 
    margin: 2rem 0; 
}

.gallery-item { 
    border-radius: var(--border-radius); 
    overflow: hidden; 
    box-shadow: var(--soft-shadow); 
    transition: all 0.3s ease; 
    position: relative;
    opacity: 0;
    animation: none;
}

.gallery-item:hover { 
    transform: scale(1.05) translateY(-5px); 
    box-shadow: var(--soft-shadow-hover); 
}

.gallery-item img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    display: block; 
}

.gallery-caption { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    background: rgba(0,0,0,0.5); 
    backdrop-filter: blur(5px); 
    color: white; 
    padding: 0.75rem; 
    font-size: 0.875rem; 
    text-align: center; 
}

/* アニメーション用スタイル（JavaScriptで制御） */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----------------------------------------------
 * フッター
 * ---------------------------------------------- */
.footer { 
    background: var(--text-dark); 
    color: #d1d1d6; 
    padding: 3rem 1rem 1rem; 
    margin-top: 4rem; 
    border-top-left-radius: 30px; 
    border-top-right-radius: 30px; 
}

.footer-content { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 2rem; 
    margin-bottom: 2rem; 
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-weight: 600;
    background: var(--text-gradient-up);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.footer-section a { 
    color: #8e8e93; 
    text-decoration: none; 
    display: block; 
    margin-bottom: 0.5rem; 
    transition: color 0.3s ease; 
}

.footer-section a:hover { 
    color: var(--primary-blue-end); 
}

.footer-bottom { 
    text-align: center; 
    padding-top: 2rem; 
    border-top: 1px solid #3a3a3c; 
    color: #8e8e93; 
    font-size: 0.875rem; 
}

/* ----------------------------------------------
 * モバイル対応
 * ---------------------------------------------- */
@media (max-width: 767px) { 
    .content-section { 
        padding: 1.5rem; 
    } 
    
    .sidebar { 
        order: 2; 
    } 
    
    .main-content { 
        margin-top: 1rem; 
    }
    
    .news-article h1 {
        font-size: 1.25rem;
    }
    
    .news-article h2 {
        font-size: 1.25rem;
    }
    
    .news-article h3 {
        font-size: 1.125rem;
    }
    
    .gallery-item img {
        height: 150px;
    }
}

/* ----------------------------------------------
 * アクセシビリティ
 * ---------------------------------------------- */
:focus { 
    outline: 2px solid var(--primary-blue-start); 
    outline-offset: 2px; 
}

.sr-only { 
    position: absolute; 
    width: 1px; 
    height: 1px; 
    padding: 0; 
    margin: -1px; 
    overflow: hidden; 
    clip: rect(0, 0, 0, 0); 
    white-space: nowrap; 
    border: 0; 
}

/* ----------------------------------------------
 * 特殊な装飾要素
 * ---------------------------------------------- */
/* 記事末尾の装飾スタイル */
.content-text[style*="border-top"] {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1) !important;
    text-align: center;
    font-style: italic;
    color: var(--text-light);
}

/* 写真説明文の装飾 */
div[style*="background: rgba(0, 122, 255, 0.05)"] {
    margin: 2rem 0 1rem 0;
    padding: 1rem;
    background: rgba(0, 122, 255, 0.05) !important;
    border-radius: 10px;
    font-style: italic;
    color: var(--text-light);
    border-left: 4px solid var(--primary-blue-start);
}

/* リンクのスタイル調整 */
a[style*="color: var(--primary-blue-start)"] {
    color: var(--primary-blue-start) !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

a[style*="color: var(--primary-blue-start)"]:hover {
    color: var(--primary-blue-end) !important;
}

/* ==========================================================================
   青雲寮だより投稿システム用 追加CSS (Liquid Glass Design対応)
   ========================================================================== */

/* ----------------------------------------------
 * 記事一覧用スタイル
 * ---------------------------------------------- */
.news-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    gap: 1rem;
}

.news-list li {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-saturate) var(--glass-blur);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border-color);
    box-shadow: var(--soft-shadow);
    padding: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.news-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 0 4px 4px 0;
}

.news-list li:hover {
    box-shadow: var(--soft-shadow-hover);
    transform: translateY(-5px) scale(1.02);
}

.news-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    display: block;
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
}

.news-list a:hover {
    background: var(--text-gradient-up);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 日付部分のスタイル */
.news-list a::after {
    content: attr(data-date);
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
    background: rgba(0, 122, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.news-list li:hover a::after {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.05);
}

/* ----------------------------------------------
 * 記事フッター用スタイル（修正版）
 * ---------------------------------------------- */
.article-footer {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-saturate) var(--glass-blur);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border-color);
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    position: relative;
    overflow: hidden;
}

.article-footer::before {
    content: '✨';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    background: white;
    padding: 0 0.5rem;
    border-radius: 50%;
}

/* ----------------------------------------------
 * 記事日付表示（修正版）
 * ---------------------------------------------- */
.article-date {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue-start);
    margin-bottom: 0.5rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.article-title {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--text-gradient-up);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    line-height: 1.3;
}

/* ----------------------------------------------
 * セクション見出し強化
 * ---------------------------------------------- */
.section-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue-start);
    margin: 2rem 0 1rem 0;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-saturate) var(--glass-blur);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ----------------------------------------------
 * 画像ギャラリー強化
 * ---------------------------------------------- */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.gallery-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-saturate) var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-saturate) var(--glass-blur);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border-color);
    box-shadow: var(--soft-shadow);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--soft-shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* ----------------------------------------------
 * バックナンバーリンク
 * ---------------------------------------------- */
.backnumber-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue-start);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.backnumber-link:hover {
    background: rgba(0, 122, 255, 0.15);
    transform: translateX(5px);
}

.backnumber-link::after {
    content: "→";
    font-weight: bold;
    transition: transform 0.3s ease;
}

.backnumber-link:hover::after {
    transform: translateX(3px);
}

/* ----------------------------------------------
 * レスポンシブ対応（追加分）
 * ---------------------------------------------- */
@media (max-width: 768px) {
    .news-list {
        gap: 0.75rem;
    }
    
    .news-list li {
        padding: 1rem;
    }
    
    .news-list a::after {
        position: static;
        display: block;
        margin-top: 0.5rem;
        text-align: right;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-caption {
        transform: translateY(0);
        position: static;
        background: rgba(0, 0, 0, 0.8);
    }
    
    .article-date {
        font-size: 1.125rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
}