/* --- 共通設定 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- index共通ナビゲーション --- */
header {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 40px;
    width: auto;
    transition: 0.3s;
}

.header-logo:hover img {
    opacity: 0.7;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.15em;
    position: relative;
    padding-bottom: 8px;
    transition: 0.3s;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #ff3300;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ff3300;
}

nav ul li a:hover::after {
    width: 100%;
}

/* --- プレミアム・背景アニメーション --- */
.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #000;
    overflow: hidden;
}

.aura {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    mix-blend-mode: screen;
    animation: auraMove 20s infinite alternate ease-in-out;
}

.aura-1 {
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(255, 51, 0, 0.2) 0%, transparent 70%);
    top: -20%;
    left: -10%;
}

.aura-2 {
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(255, 120, 0, 0.1) 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
}

@keyframes auraMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(10%, 10%);
    }
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.04;
    pointer-events: none;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/7/76/1k_Grain.vis.png');
}

/* --- コンテンツエリア --- */
.container {
    max-width: 1100px;
    margin: 150px auto 100px;
    padding: 0 20px;
}

.page-title-area {
    text-align: center;
    margin-bottom: 80px;
}

.page-title-area h1 {
    font-size: 3rem;
    letter-spacing: 0.3em;
    margin-bottom: 10px;
}

.title-line {
    width: 40px;
    height: 2px;
    background: #ff3300;
    margin: 0 auto 20px;
}

.page-title-area p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* --- 記事カードグリッド --- */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.post-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.post-card:hover {
    transform: translateY(-10px);
    border-color: #ff3300;
    background: rgba(255, 255, 255, 0.05);
}

.post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #111;
}

/* ★WPのアイキャッチ画像が綺麗に収まるように追記 */
.post-thumbnail img,
.post-thumbnail .wp-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.08);
}

.category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff3300;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 12px;
    z-index: 10;
}

.post-content {
    padding: 25px;
}

.post-content time {
    font-size: 12px;
    color: #ff3300;
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.post-content h2 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.post-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* --- ページネーション --- */
.pagination {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* ★WPの出力を考慮して .page-numbers を追加 */
.page-numbers {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}

.page-numbers:hover,
.page-numbers.current {
    background: #ff3300;
    border-color: #ff3300;
    color: #fff;
}

.page-numbers.dots {
    border: none;
    background: transparent;
}

/* ... の部分 */
.next.page-numbers,
.prev.page-numbers {
    width: auto;
    padding: 0 20px;
}

footer {
    text-align: center;
    padding: 60px 0;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-title-area h1 {
        font-size: 2rem;
    }
}