/* ============================================================
   Archive Core Layout
   ============================================================ */
.archive-body { 
    background-color: #050a14; /* サイト全体の基調となる濃紺 */
    color: #fff; 
    overflow-x: hidden; 
    margin: 0; 
    font-family: 'Helvetica Neue', Arial, sans-serif; 
}

.container-wide { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 40px; 
}

/* --- Header --- */
.archive-header { 
    padding: 30px 0; 
    border-bottom: 1px solid rgba(197, 160, 89, 0.2); 
    background: rgba(5, 10, 20, 0.9); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    backdrop-filter: blur(10px); 
}

.header-nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.back-link { 
    font-size: 0.75rem; 
    color: #fff; 
    text-decoration: none; 
    opacity: 0.6; 
    transition: 0.3s; 
}

.back-link:hover { 
    opacity: 1; 
    color: #c5a059; 
}

.gold-label { 
    color: #c5a059; 
    letter-spacing: 0.2em; 
    font-size: 0.8rem; 
    font-weight: bold; 
}

/* ============================================================
   Search Section
   ============================================================ */
.search-section { 
    padding: 100px 0 40px; 
    text-align: center; 
}

.container-search { 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.search-instruction { 
    font-size: 1rem; 
    color: #fff; 
    margin-bottom: 25px; 
    letter-spacing: 0.05em; 
    font-weight: 300; 
}

.search-pill { 
    display: flex; 
    background: #fff; 
    border-radius: 50px; /* 特徴的な丸み */
    padding: 8px 15px 8px 30px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); 
    align-items: center; 
    transition: 0.3s;
}

.search-pill input { 
    flex: 1; 
    border: none; 
    background: transparent; 
    padding: 15px 0; 
    font-size: 1.1rem; 
    color: #333; 
    outline: none; 
}

.search-pill button { 
    background: #f8f9fa; 
    border: none; 
    color: #666; 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-left: 10px; 
    transition: 0.3s; 
}

.search-pill button:hover { 
    background: #c5a059; 
    color: #fff; 
}

/* ============================================================
   Shelf & Grid System
   ============================================================ */
.shelf { 
    padding: 80px 0; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
}

.search-results-shelf { 
    background: rgba(197, 160, 89, 0.05); 
}

.shelf-title { 
    font-size: 1.3rem; 
    margin-bottom: 45px; 
    display: flex; 
    align-items: baseline; 
    gap: 15px; 
}

.shelf-title .en { 
    font-size: 0.7rem; 
    color: #c5a059; 
    opacity: 0.5; 
    letter-spacing: 0.2em; 
}

/* 5列グリッド */
.static-grid { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 30px; 
}

/* --- Book Card --- */
.book-card { 
    transition: 0.4s; 
}

.book-card:hover { 
    transform: translateY(-10px); 
}

.book-cover { 
    width: 100%; 
    aspect-ratio: 1 / 1.45; 
    position: relative; 
    border-radius: 4px; 
    overflow: hidden; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.6); 
    background: #111; 
}

.book-cover img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

/* Badges */
.book-badge { 
    position: absolute; 
    top: 12px; 
    left: 12px; 
    background: #c5a059; 
    color: #000; 
    font-size: 0.65rem; 
    font-weight: 800; 
    padding: 6px 10px; 
    border-radius: 2px; 
    z-index: 10;
}

.star-badge { 
    position: absolute; 
    top: 12px; 
    left: 12px; 
    width: 44px; 
    height: 44px; 
    background: #ffcc00; 
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 10;
}

.rank-num-inner { 
    color: #000; 
    font-size: 1rem; 
    font-weight: 900; 
}

.book-info h3 { 
    font-size: 0.9rem; 
    margin-top: 20px; 
    color: #fff; 
    font-weight: 400; 
    line-height: 1.5; 
}

.book-link { 
    text-decoration: none; 
}

/* ============================================================
   Information (News) Section 【白抜き・黒文字Ver.】
   ============================================================ */
.news-scroll-box { 
    max-height: 450px; 
    overflow-y: auto; 
    background: #ffffff; /* 背景を白に変更 */
    padding: 40px; 
    border-radius: 12px; 
    border: 1px solid rgba(197, 160, 89, 0.3); /* 枠線を少し強調 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* 浮遊感を追加 */
}

.news-item { 
    display: flex; 
    gap: 30px; 
    padding: 25px 0; 
    border-bottom: 1px solid rgba(0,0,0,0.08); /* 黒背景用の線を淡い黒へ */
    align-items: flex-start;
}

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

/* ニュースの視覚要素（書影またはスナフキン） */
.news-visual { 
    min-width: 60px; 
    max-width: 60px; 
}

.news-thumb { 
    width: 100%; 
    height: auto; 
    border-radius: 2px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
    transition: 0.3s; 
}

.news-book-anchor:hover .news-thumb { 
    transform: scale(1.1); 
}

.news-icon-placeholder { 
    width: 40px; 
    height: auto; 
    opacity: 0.8; /* 白背景なので透過を抑えてスナフキンをクッキリさせる */
    margin-top: 5px; 
}

.news-meta { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    min-width: 100px; 
}

.news-date { 
    font-size: 0.75rem; 
    color: #666; /* 日付を濃いグレーに */
    font-weight: bold;
}

.news-tag { 
    font-size: 0.65rem; 
    color: #c5a059; 
    border: 1px solid #c5a059; 
    padding: 3px 8px; 
    border-radius: 2px; 
    text-align: center; 
}

.tag-new { 
    background: #c5a059; 
    color: #000 !important; 
    font-weight: bold; 
}

.news-content {
    flex: 1;
}

.news-title { 
    font-size: 1.05rem; 
    color: #1a2639; /* タイトルを黒系に */
    margin: 0 0 12px; 
    letter-spacing: 0.05em; 
    font-weight: bold;
}

.news-summary { 
    font-size: 0.85rem; 
    color: #333; /* 本文を濃い黒に */
    line-height: 1.8; 
}

/* ============================================================
   RCDC Logo in Button
   ============================================================ */
.rcdc-btn-logo { 
    height: 18px; 
    width: auto; 
    margin-right: 10px; 
}

/* ============================================================
   Footer
   ============================================================ */
.archive-footer { 
    padding: 60px 0; 
    background: #050a14; 
    text-align: center; 
    border-top: 1px solid rgba(255,255,255,0.05); 
}

.copyright { 
    font-size: 0.8rem; 
    color: #8892b0; 
    opacity: 0.6; 
    letter-spacing: 0.1em; 
}

/* --- Swiper --- */
.swiper-button-next, .swiper-button-prev { 
    color: #c5a059 !important; 
    scale: 0.7; 
}