@charset "UTF-8";

/* =========================================
   Base Design & Dynamic Background
   ========================================= */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    box-sizing: border-box;
    background-color: #f0f2f5;
}

/* --- 1. 動く背景層 --- */
#dynamic-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    padding: 10px;
    opacity: 0.4;
    pointer-events: none;
}

@keyframes pataPata {
    0%, 100% { opacity: 0.3; transform: scale(0.95); }
    50% { opacity: 1.0; transform: scale(1.05); }
}

.bg-grid-item {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation-name: pataPata;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* --- 2. 白い膜の層 --- */
#white-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(5px);
}

/* Header & Title (★変更: Homeボタンの配置調整) */
header {
    display: flex; 
    flex-direction: column; /* 常に縦並びにして、ボタンをタイトルの下に */
    align-items: center; 
    justify-content: center; 
    margin-bottom: 20px; 
    width: 100%; 
    max-width: 1000px; 
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05); 
    position: relative; 
    z-index: 10;
}

.title-wrapper { 
    display: flex; align-items: center; gap: 15px; 
    justify-content: center;
    margin-bottom: 15px; /* ボタンとの隙間 */
}
.title-image { height: 60px; width: auto; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); flex-shrink: 0; }

h1 {
    font-size: 3rem; margin: 0; 
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase; letter-spacing: 2px; font-weight: 900;
    white-space: nowrap; line-height: 1.2;
    filter: drop-shadow(0 2px 0 rgba(255,255,255,1)); 
    text-align: center;
}

@media (max-width: 600px) { 
    h1 { font-size: 7vw; white-space: normal; } 
    .title-image { height: 45px; }
    .title-wrapper { margin-bottom: 10px; }
}

/* Home Button (★変更: デザイン調整) */
.header-controls {
    display: flex;
    justify-content: center;
    width: 100%;
}

.home-btn {
    background: #2c3e50; color: #fff; border: none; padding: 8px 30px;
    border-radius: 25px; cursor: pointer; display: none; /* 初期は非表示(JSで制御) */
    font-weight: bold; transition: 0.2s; font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.home-btn:hover { background: #34495e; transform: translateY(-2px); }

/* Animations */
.fade-transition { transition: opacity 0.4s ease, transform 0.4s ease; opacity: 1; transform: scale(1); }
.fade-out { opacity: 0; transform: scale(0.95); pointer-events: none; display: none; /* fade-out時は非表示に */ }

/* --- Mode Selection Screen (パステル & 立体デザイン) --- */
#mode-screen { 
    display: flex; 
    gap: 30px; 
    margin-top: 10px; 
    flex-wrap: wrap; 
    justify-content: center; 
    width: 100%; 
    max-width: 1100px; 
}

.mode-card {
    /* ベースの形と影 */
    width: 300px;
    padding: 30px 20px; 
    border-radius: 30px; /* 角丸を強く */
    text-align: center; 
    cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* ぽよんとした動き */
    position: relative; 
    overflow: hidden;

    /* ★ここがポイント: 白い太枠と立体感 */
    border: 5px solid #ffffff; 
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.1), /* 全体の影 */
        inset 0 0 20px rgba(255, 255, 255, 0.5); /* 内側の光沢 */
}

/* ホバー時の動き（浮き上がる） */
.mode-card:hover { 
    transform: translateY(-10px) scale(1.03); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* --- 各ボタンのパステルカラー設定 --- */

/* 1. Review Mode (爽やかブルー系) */
.mode-review {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}
.mode-review .mode-icon { color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,0.1); }
.mode-review h2 { color: #5e6482; }

/* 2. Quiz Mode (可愛いピンク系) */
.mode-quiz {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
}
.mode-quiz .mode-icon { color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,0.1); }
.mode-quiz h2 { color: #825e5e; }

/* 3. Image Match (元気なイエロー・オレンジ系) */
.mode-img-quiz {
    background: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
}
.mode-img-quiz .mode-icon { color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,0.1); }
.mode-img-quiz h2 { color: #826e5e; }

/* 4. Party Mode (楽しいパープル・ピンク系) */
.mode-party {
    background: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%); /* ちょっと落ち着いたシルバー系で差別化 */
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}
.mode-party .mode-icon { color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,0.1); }
.mode-party h2 { color: #6a5e82; }


/* スマホ表示の調整 */
@media (max-width: 600px) {
    #mode-screen { gap: 15px; margin-top: 10px; }
    .mode-card { 
        width: 100%; 
        padding: 20px; 
        display: flex; flex-direction: row; 
        align-items: center; justify-content: start; text-align: left;
        gap: 15px;
        border-width: 4px; /* スマホは少し枠を細く */
    }
    .mode-icon { font-size: 3.5rem !important; margin-bottom: 0 !important; }
    .mode-info { flex-grow: 1; }
    .mode-card h2 { font-size: 1.4rem !important; margin-bottom: 3px !important; }
    .mode-card p { font-size: 0.9rem !important; color: rgba(255,255,255,0.8); font-weight: bold; text-shadow: 0 1px 2px rgba(0,0,0,0.1); }
}

/* アイコン共通設定 */
.mode-icon { 
    font-size: 6rem; 
    display: block; 
    margin-bottom: 15px; 
    line-height: 1; 
    transition: all 0.3s ease;
}

/* タイトルと説明文の共通設定 */
.mode-card h2 { 
    margin-bottom: 10px; 
    font-size: 1.8rem; 
    font-weight: 900; 
    letter-spacing: 1px;
    background: rgba(255,255,255,0.4); /* 文字の背景に薄い白を入れて読みやすく */
    padding: 2px 10px;
    border-radius: 10px;
    display: inline-block;
}
.mode-card p { 
    color: #fff; /* 白文字に変更 */
    font-size: 1rem;
    line-height: 1.5; 
    font-weight: bold; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 文字に影をつけて読みやすく */
}
/* App Content */
#app-content { display: none; width: 100%; max-width: 1000px; flex-direction: column; align-items: center; padding-bottom: 50px; position: relative; z-index: 5; }

/* Controls (About Button) */
.top-controls { width: 100%; max-width: 1000px; display: flex; justify-content: flex-end; align-items: center; margin-bottom: 15px; }
.method-btn { 
    background: #fff; border: 2px solid #3498db; color: #3498db; 
    padding: 8px 15px; border-radius: 20px;
    cursor: pointer; font-size: 0.9rem; font-weight: bold;
    transition: 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.method-btn:hover { background: #3498db; color: #fff; }

/* Methodology Box */
.methodology-box { 
    display: none; background: rgba(255, 255, 255, 0.95); padding: 25px; max-width: 800px; 
    border-left: 5px solid #3498db; margin-bottom: 30px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.1); border-radius: 8px; 
    animation: fadeIn 0.3s ease; 
    line-height: 1.8; color: #444; font-size: 1rem;
}
.bio-link { color: #3498db; text-decoration: none; font-weight: bold; border-bottom: 1px dashed #3498db; }
.bio-link:hover { color: #2980b9; border-bottom-style: solid; }
@keyframes fadeIn { from{opacity:0;transform:translateY(-5px)} to{opacity:1;transform:translateY(0)} }

/* Search & Tabs */
.search-area { width: 100%; max-width: 800px; display: flex; justify-content: center; gap: 10px; margin-bottom: 25px; }
.search-input { padding: 12px 20px; border-radius: 25px; border: 1px solid #ddd; width: 300px; font-size: 1rem; outline: none; transition: 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.search-input:focus { border-color: #3498db; box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2); }
.search-btn { padding: 10px 25px; border-radius: 25px; border: none; background: #3498db; color: white; font-weight: bold; cursor: pointer; transition: 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.search-btn:hover { background: #2980b9; }

/* Quiz Category Selection Screen */
.quiz-category-screen { display: none; flex-direction: column; align-items: center; width: 100%; }
.quiz-cat-title { font-size: 1.5rem; margin-bottom: 10px; color: #2c3e50; font-weight: bold; text-align: center; }

/* Category Buttons */
.genre-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; justify-content: center; margin-bottom: 30px; width: 100%; max-width: 600px; }
@media (max-width: 400px) { .genre-tabs { grid-template-columns: repeat(2, 1fr); } }
.genre-btn { padding: 12px 0; background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(0,0,0,0.1); border-radius: 10px; cursor: pointer; color: #555; font-weight: bold; transition: all 0.2s ease; font-size: 1rem; box-shadow: 0 2px 5px rgba(0,0,0,0.05); text-align: center; width: 100%; }
.genre-btn:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.genre-btn.active { background: #2c3e50; color: #fff; border-color: #2c3e50; box-shadow: 0 2px 10px rgba(44, 62, 80, 0.2); transform: translateY(0); }

/* Review Mode */
#gallery-list { width: 100%; max-width: 1000px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; padding-bottom: 40px; }
.gallery-thumb { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 3px 6px rgba(0,0,0,0.1); cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; text-align: center; display: flex; flex-direction: column; }
.gallery-thumb:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0,0,0,0.15); }
.thumb-img-wrapper { width: 100%; height: 110px; background: #f0f0f0; border-bottom: 1px solid #eee; }
.thumb-img { width: 100%; height: 100%; object-fit: cover; }
.thumb-info { padding: 8px; font-weight: bold; color: #2c3e50; font-size: 0.9rem; background: #fafafa; }

/* Text Quiz Mode Styles */
#quiz-container { width: 100%; max-width: 800px; background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: none; flex-direction: column; margin-bottom: 50px; }
.quiz-progress { text-align: center; padding: 15px; font-size: 1.2rem; font-weight: bold; color: #2c3e50; background: #f9f9f9; border-bottom: 1px solid #eee; }
#quiz-final-result { display: none; text-align: center; animation: fadeIn 0.5s; padding: 40px; }
.final-score { font-size: 4rem; font-weight: 800; color: #2c3e50; margin-bottom: 10px; }
.final-comment { font-size: 1.5rem; color: #e67e22; margin-bottom: 40px; font-weight: bold; }
.final-actions { display: flex; gap: 20px; justify-content: center; }
.quiz-main-area { display: block; }
.quiz-image-wrapper { position: relative; width: 100%; background: #eee; min-height: 300px; text-align: center; display: flex; align-items: center; justify-content: center; }
.quiz-main-image { max-width: 100%; max-height: 50vh; display: block; }
.quiz-question-area { padding: 30px; text-align: center; }
.quiz-sentence { font-size: 1.4rem; font-weight: bold; margin-bottom: 20px; color: #2c3e50; line-height: 1.5; }
.blank { border-bottom: 2px solid #3498db; color: transparent; padding: 0 8px; display: inline-block; min-width: 60px; }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; }
.option-btn { background: #fff; border: 2px solid #ddd; padding: 15px; border-radius: 10px; cursor: pointer; font-size: 1rem; font-weight: bold; transition: 0.2s; }
.option-btn:hover { border-color: #3498db; background: #f0f8ff; }
.option-btn.correct { background: #27ae60; color: white; border-color: #27ae60; }
.option-btn.wrong { background: #e74c3c; color: white; border-color: #e74c3c; opacity: 0.6; }

/* Common Hint & Timer */
.hint-wrapper { margin-bottom: 20px; }
.hint-btn { background: rgba(0,0,0,0.1); border: 1px solid #ccc; color: #555; padding: 5px 15px; border-radius: 20px; cursor: pointer; font-size: 0.9rem; transition: 0.2s; }
.hint-btn:hover { background: rgba(0,0,0,0.2); }
.hint-box { display: none; margin-top: 10px; background: #f9f9f9; padding: 10px 20px; border-radius: 10px; font-size: 1rem; text-align: left; color: #333; }
.hint-box ul { margin: 0; padding-left: 20px; }
.timer-bar { width: 100%; height: 6px; background: #eee; border-radius: 3px; overflow: hidden; margin-top: 10px; margin-bottom: 20px; }
.timer-progress { height: 100%; background: #3498db; width: 100%; transition: width 1s linear; }

/* Image Match Styles */
#image-quiz-container { width: 100%; max-width: 1000px; display: none; flex-direction: column; align-items: center; height: 100%; }
#iq-anchor { width: 100%; height: 1px; }
.iq-progress { font-size: 1.2rem; color: #2c3e50; font-weight: bold; margin-bottom: 10px; }
.iq-text-phase { width: 100%; max-width: 800px; min-height: 350px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 20px; color: white; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px; box-sizing: border-box; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.2); position: relative; }
.iq-sentence { font-size: 2rem; font-weight: bold; line-height: 1.4; margin-bottom: 20px; }
@media (max-width: 600px) { .iq-sentence { font-size: 1.5rem; } }
.iq-hint-wrapper { margin-bottom: 60px; }
.iq-hint-btn { background: rgba(255,255,255,0.2); border: 1px solid white; color: white; padding: 8px 20px; border-radius: 20px; cursor: pointer; font-size: 1rem; transition: 0.2s; }
.iq-hint-btn:hover { background: rgba(255,255,255,0.4); }
.iq-hint-box { display: none; margin-top: 15px; background: rgba(0,0,0,0.3); padding: 15px; border-radius: 10px; font-size: 1rem; text-align: left; }
.iq-ready-btn { background: #f1c40f; color: #2c3e50; border: none; padding: 15px 40px; border-radius: 50px; font-size: 1.5rem; font-weight: bold; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: 0.2s; animation: pulseBtn 2s infinite; }
.iq-ready-btn:hover { transform: scale(1.05); background: #f39c12; }
@keyframes pulseBtn { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.iq-timer-bar { width: 100%; height: 8px; background: rgba(255,255,255,0.3); border-radius: 4px; overflow: hidden; margin-top: 30px; }
.iq-timer-progress { height: 100%; background: #fff; width: 100%; transition: width 1s linear; }
.iq-image-phase { width: 100%; display: none; grid-template-columns: 1fr 1fr; gap: 15px; }
@media (max-width: 600px) { .iq-image-phase { grid-template-columns: 1fr; gap: 5px; margin-top: 5px; } .iq-img-card { width: 90%; margin: 0 auto; } }
.iq-img-card { background: #fff; border-radius: 12px; overflow: hidden; cursor: pointer; position: relative; aspect-ratio: 16/9; border: 4px solid transparent; transition: transform 0.2s; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.iq-img-card:hover { transform: scale(1.02); z-index: 2; }
.iq-img-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.iq-file-num { position: absolute; top: 0; left: 0; background: rgba(0,0,0,0.6); color: white; font-size: 0.8rem; padding: 2px 6px; border-bottom-right-radius: 6px; font-family: monospace; }
.iq-img-card.correct { border-color: #27ae60; opacity: 1; }
.iq-img-card.wrong { border-color: #e74c3c; opacity: 0.4; }
.iq-img-card.disabled { pointer-events: none; }
#iq-final-result { display: none; text-align: center; animation: fadeIn 0.5s; padding: 40px; }
.quiz-controls { margin-top: 20px; min-height: 60px; width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; visibility: hidden; padding-bottom: 20px; }
#q-result-msg, #iq-result-msg { font-size: 2rem !important; font-weight: 800 !important; display: block; }
.next-btn { background: #2c3e50; color: white; border: none; padding: 15px 60px; border-radius: 50px; cursor: pointer; font-size: 1.5rem; font-weight: bold; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: 0.2s; }
.next-btn:hover { transform: translateY(-3px); background: #34495e; }

/* Modal */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 1000; justify-content: center; align-items: center; padding: 20px; box-sizing: border-box; backdrop-filter: blur(5px); }
.modal-content { width: 100%; max-width: 800px; max-height: 90vh; overflow-y: auto; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); position: relative; animation: modalPop 0.3s ease-out; }
@keyframes modalPop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.close-modal-btn { position: absolute; top: 10px; right: 15px; font-size: 2rem; color: #aaa; cursor: pointer; background: none; border: none; z-index: 10; line-height: 1; }
.photo-card { background: #fff; overflow: hidden; }
.card-header { padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; background: #fdfdfd; border-bottom: 1px solid #eee; margin-right: 30px; }
.card-number { font-family: 'Courier New', monospace; font-weight: bold; font-size: 1.1rem; color: #2c3e50; }
.toggle-frame-btn { padding: 6px 12px; background: #27ae60; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 0.85rem; transition: 0.2s; }
.toggle-frame-btn:hover { background: #219150; }
.toggle-frame-btn.active { background: #e74c3c; }
.image-wrapper { position: relative; width: 100%; background: #f4f4f4; text-align: center; }
.main-image { width: 100%; max-height: 60vh; object-fit: contain; display: block; margin: 0 auto; }
.hotspot { position: absolute; cursor: pointer; border: 3px solid; background: rgba(255,255,255,0.1); border-radius: 4px; display: none; transition: 0.2s; box-shadow: 0 0 5px rgba(0,0,0,0.3); }
.hotspot:hover { background: rgba(255,255,255,0.3); box-shadow: 0 0 15px rgba(255,255,255,0.8); }
.desc-box { padding: 25px; display: none; border-top: 3px solid #ddd; background: #fff; }
.desc-title { font-size: 1.3rem; font-weight: bold; margin-bottom: 10px; display: block; }
.speak-btn { background: none; border: 1px solid #eee; color: #2c3e50; cursor: pointer; font-size: 1rem; padding: 4px; border-radius: 50%; transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-left: 8px; vertical-align: middle; }
.speak-btn:hover { background-color: #2c3e50; color: #fff; border-color: #2c3e50; }
.mini-speak-btn { background: none; border: none; cursor: pointer; font-size: 1rem; color: #bdc3c7; margin-left: 5px; padding: 0; line-height: 1; }
.mini-speak-btn:hover { color: #2c3e50; }
.eng-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.eng-text { font-size: 1.1rem; color: #222; line-height: 1.4; flex-grow: 1; }
.jp-text { font-size: 0.9rem; color: #666; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px dashed #ddd; }
.learning-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .learning-grid { grid-template-columns: 1fr; } header { flex-direction: column; text-align: center; } h1 { font-size: 1.5rem; } }
.learn-item h4 { margin: 0 0 5px 0; font-size: 0.8rem; color: #95a5a6; text-transform: uppercase; display: flex; align-items: center; }
.learn-item ul { margin: 0; padding-left: 20px; font-size: 0.9rem; }
.learn-item li { margin-bottom: 3px; }

/* News Section Design */
.news-section {
    width: 100%; max-width: 800px; margin: 0 auto 30px auto; padding: 0 10px; box-sizing: border-box;
    /* transition: opacity 0.4s ease;  <-- HTML側のクラスで管理するので削除 */
}
.news-box {
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    border-radius: 12px; padding: 15px 20px;
    display: flex; flex-direction: column; gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid rgba(255,255,255,0.8);
    position: relative; overflow: hidden;
}
.news-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(to bottom, #3498db, #8e44ad); }
.news-badge { display: inline-block; font-size: 0.8rem; font-weight: 900; color: #3498db; letter-spacing: 1px; margin-bottom: 5px; }
.news-list { display: flex; flex-direction: column; gap: 8px; }
.news-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 0.95rem; line-height: 1.5; border-bottom: 1px dashed #eee; padding-bottom: 8px; }
.news-row:last-child { border-bottom: none; padding-bottom: 0; }
.news-date { font-family: 'Courier New', monospace; font-weight: bold; color: #888; font-size: 0.85rem; white-space: nowrap; }
.news-text { color: #444; }
@media (max-width: 600px) { .news-box { padding: 15px; } .news-row { flex-direction: column; gap: 2px; } .news-date { font-size: 0.8rem; color: #aaa; } }

/* ★追加: Copyright Footer */
footer {
    width: 100%;
    text-align: center;
    padding: 20px 10px;
    margin-top: auto; /* コンテンツが少ない時も下に配置 */
    border-top: 1px solid rgba(0,0,0,0.05);
}
footer p {
    font-size: 0.75rem;
    color: #aaa;
    margin: 0;
}
footer a {
    color: #aaa;
    text-decoration: none;
    font-weight: bold;
}
footer a:hover {
    color: #888;
    text-decoration: underline;
}