/* ==========================================
   懐ゲードットコム
   幻のバーチャルボーイ 専用CSS
   ========================================== */

.vb-phantom {
    --vbp-red: #ff3939;
    --vbp-light: #ff8585;
    --vbp-dark: #0c0808;
    --vbp-border: #522020;
    --vbp-text: #e5dada;

    position: relative;
    width: 100%;
    margin: 25px auto;
    padding: 0;
    background: var(--vbp-dark);
    color: var(--vbp-text);
    border: 1px solid var(--vbp-border);
    border-radius: 8px;
    font-family: Arial, "Noto Sans JP", sans-serif;
    font-size: 15px;
    line-height: 1.95;
    overflow: hidden;
    isolation: isolate;
}

.vb-phantom *,
.vb-phantom *::before,
.vb-phantom *::after {
    box-sizing: border-box;
}

/* AFFINGERの既存装飾を解除 */

.vb-phantom h2,
.vb-phantom h3 {
    position: relative;
    background: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    color: inherit;
    line-height: 1.5;
}

.vb-phantom h2::before,
.vb-phantom h2::after,
.vb-phantom h3::before,
.vb-phantom h3::after {
    display: none;
    content: none;
}

.vb-phantom p {
    color: inherit;
    margin: 0 0 18px;
    padding: 0;
    line-height: 1.95;
}

.vb-phantom a {
    color: var(--vbp-light);
    text-decoration: none;
    transition: color .25s, background .25s,
                border-color .25s, box-shadow .25s;
}

.vb-phantom a:hover {
    color: #fff;
}

.vb-phantom figure {
    margin: 0;
    padding: 0;
}

.vb-phantom img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

/* メインビジュアル */

.vb-phantom .vbp-hero {
    position: relative;
    text-align: center;
    padding: 75px 20px 55px;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(255, 0, 0, .035) 0,
            rgba(255, 0, 0, .035) 1px,
            transparent 1px,
            transparent 4px
        ),
        radial-gradient(
            ellipse at center,
            #380909 0%,
            #150404 45%,
            #060606 85%
        );

    border-bottom: 1px solid #702020;
}

.vb-phantom .vbp-kicker {
    color: #bd5555;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    line-height: 1.6;
}

.vb-phantom .vbp-year {
    margin: 28px 0 8px;
    color: #b14949;
    font-size: 13px;
    letter-spacing: 5px;
}

.vb-phantom .vbp-title {
    font-size: clamp(25px, 5vw, 48px);
    font-weight: 900;
    color: var(--vbp-red);
    line-height: 1.4;
    letter-spacing: 2px;

    text-shadow:
        0 0 8px rgba(255, 30, 30, .7),
        0 0 25px rgba(255, 0, 0, .3);
}

.vb-phantom .vbp-subtitle {
    margin-top: 15px;
    font-size: 16px;
    color: #edb4b4;
    letter-spacing: 3px;
}

.vb-phantom .vbp-hero-line {
    width: 70px;
    height: 2px;
    margin: 30px auto;
    background: #ff3939;
    box-shadow: 0 0 12px #ff0000;
}

.vb-phantom .vbp-catch {
    margin: 0;
    color: #dec0c0;
    font-size: 15px;
    letter-spacing: 2px;
    line-height: 2.2;
}

/* 導入文 */

.vb-phantom .vbp-intro {
    padding: 35px 30px 20px;
    border-bottom: 1px solid #351515;
}

.vb-phantom .vbp-intro p:first-child {
    color: #ff9090;
    font-weight: bold;
}

/* ページ内メニュー */

.vb-phantom .vbp-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 28px;
    padding: 20px;
    background: #130b0b;
    border: 1px solid var(--vbp-border);
}

.vb-phantom .vbp-index-title {
    grid-column: 1 / -1;
    color: #d26161;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    padding-bottom: 10px;
    border-bottom: 1px solid #421717;
}

.vb-phantom .vbp-index a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #1a0e0e;
    border: 1px solid #351717;
    color: #ff5555;
    font-size: 13px;
    font-weight: bold;
}

.vb-phantom .vbp-index a span {
    color: #e2c8c8;
}

.vb-phantom .vbp-index a:hover {
    background: #341010;
    border-color: #cc3333;
}

/* 各作品セクション */

.vb-phantom .vbp-section {
    margin: 45px 28px;
    padding: 0 0 40px;
    border-bottom: 1px solid var(--vbp-border);
    scroll-margin-top: 90px;
}

.vb-phantom .vbp-file {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #c75050;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
}

.vb-phantom .vbp-file::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(
        to right, #6d2323, transparent
    );
}

.vb-phantom .vbp-game-title {
    color: var(--vbp-red);
    font-size: clamp(25px, 4vw, 37px);
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.3;
    text-shadow: 0 0 12px rgba(255, 0, 0, .2);
}

.vb-phantom .vbp-japanese {
    color: #d5baba;
    font-size: 15px;
    margin: 8px 0 15px;
}

/* 発売情報 */

.vb-phantom .vbp-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 15px 0 25px;
}

.vb-phantom .vbp-meta span {
    font-size: 11px;
    padding: 3px 10px;
    color: #c9b6b6;
    border: 1px solid #412424;
    background: #1b1010;
}

.vb-phantom .vbp-meta .vbp-status {
    color: #ff7777;
    font-weight: bold;
    border-color: #b63131;
    background: #301010;
    letter-spacing: 1px;
}

.vb-phantom .vbp-meta .vbp-revival {
    color: #f3cf85;
    border-color: #85652c;
    background: #29200e;
}

/* メイン画像 */

.vb-phantom .vbp-main-image {
    padding: 8px;
    margin: 20px 0 28px;
    background: #050505;
    border: 1px solid #7d2929;
    box-shadow: 0 0 20px rgba(255, 0, 0, .06);
}

.vb-phantom .vbp-main-image img {
    width: 100%;
    object-fit: contain;
}

.vb-phantom figcaption {
    margin: 0;
    padding: 10px 8px;
    color: #b18a8a;
    font-size: 11px;
    text-align: center;
    line-height: 1.6;
}

/* 作品紹介本文 */

.vb-phantom .vbp-story {
    margin: 25px 0;
}

.vb-phantom .vbp-story h3 {
    margin: 25px 0 20px;
    padding: 2px 0 2px 13px;
    border-left: 3px solid #e83c3c;
    color: #ff9090;
    font-size: 19px;
    font-weight: bold;
}

.vb-phantom .vbp-story p {
    color: #ded3d3;
    font-size: 15px;
    line-height: 2.1;
}

/* 画像ギャラリー */

.vb-phantom .vbp-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 25px 0;
}

.vb-phantom .vbp-gallery figure {
    padding: 5px;
    background: #050505;
    border: 1px solid #572121;
    overflow: hidden;
}

.vb-phantom .vbp-gallery a {
    display: block;
    overflow: hidden;
}

.vb-phantom .vbp-gallery img {
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #000;
    transition: transform .3s ease,
                filter .3s ease;
}

.vb-phantom .vbp-gallery a:hover img {
    transform: scale(1.04);
    filter: brightness(1.15);
}

/* 出典・保存資料 */

.vb-phantom .vbp-source {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 25px 0 0;
    padding: 18px;
    background: #140c0c;
    border: 1px solid #3d1919;
    font-size: 13px;
}

.vb-phantom .vbp-source strong {
    color: #bc6060;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.vb-phantom .vbp-source a::before {
    content: "›";
    margin-right: 9px;
    color: #ff3939;
}

.vb-phantom .vbp-source a:hover {
    text-decoration: underline;
}

/* エピローグ */

.vb-phantom .vbp-ending {
    margin: 30px 28px;
    padding: 35px 25px;
    text-align: center;

    background: radial-gradient(
        ellipse at center,
        #260b0b,
        #100808
    );

    border: 1px solid #612020;
}

.vb-phantom .vbp-ending h2 {
    margin: 20px 0 25px;
    color: #ff6666;
    font-size: 24px;
    font-weight: bold;
}

.vb-phantom .vbp-ending p {
    color: #dac5c5;
    font-size: 14px;
    line-height: 2.2;
}

/* 権利表記 */

.vb-phantom .vbp-copyright {
    margin: 25px 28px;
    color: #a88f8f;
    font-size: 11px;
    line-height: 1.8;
}

/* 戻るボタン */

.vb-phantom .vbp-back {
    padding: 15px 28px 35px;
    text-align: center;
}

.vb-phantom .vbp-back a {
    display: block;
    padding: 15px 10px;
    border: 1px solid #9c3333;
    background: #260c0c;
    color: #ff9999;
    font-size: 14px;
    font-weight: bold;
}

.vb-phantom .vbp-back a:hover {
    background: #501414;
    border-color: #ff5555;
    box-shadow: 0 0 15px rgba(255, 0, 0, .2);
    color: #fff;
}

/* 特集ページ末尾 */

.vb-phantom .vbp-footer {
    padding: 25px 10px;
    border-top: 1px solid #381616;
    background: #060606;
    color: #b06161;
    font-size: 10px;
    line-height: 2;
    letter-spacing: 3px;
    text-align: center;
}

/* スマートフォン対応 */

@media screen and (max-width: 600px) {

    .vb-phantom {
        margin: 15px auto;
        font-size: 14px;
        border-radius: 4px;
    }

    .vb-phantom .vbp-hero {
        padding: 45px 12px 35px;
    }

    .vb-phantom .vbp-kicker {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .vb-phantom .vbp-title {
        font-size: 25px;
        letter-spacing: 0;
    }

    .vb-phantom .vbp-subtitle {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .vb-phantom .vbp-year {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .vb-phantom .vbp-catch {
        font-size: 13px;
    }

    .vb-phantom .vbp-intro {
        padding: 25px 15px 10px;
    }

    .vb-phantom .vbp-index {
        grid-template-columns: 1fr;
        margin: 15px;
        padding: 12px;
        gap: 8px;
    }

    .vb-phantom .vbp-section {
        margin: 30px 15px;
        padding-bottom: 25px;
    }

    .vb-phantom .vbp-game-title {
        font-size: 27px;
    }

    .vb-phantom .vbp-story h3 {
        font-size: 17px;
    }

    .vb-phantom .vbp-story p {
        font-size: 14px;
        line-height: 2;
    }

    .vb-phantom .vbp-gallery {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .vb-phantom .vbp-main-image {
        padding: 4px;
    }

    .vb-phantom .vbp-ending {
        margin: 20px 15px;
        padding: 25px 15px;
    }

    .vb-phantom .vbp-ending h2 {
        font-size: 20px;
    }

    .vb-phantom .vbp-copyright {
        margin: 20px 15px;
    }

    .vb-phantom .vbp-back {
        padding: 10px 15px 25px;
    }

    .vb-phantom .vbp-back a {
        font-size: 12px;
    }
}

/* 動きを抑える設定への対応 */

@media (prefers-reduced-motion: reduce) {
    .vb-phantom *,
    .vb-phantom *::before,
    .vb-phantom *::after {
        transition: none;
        animation: none;
    }
}


/* ======================================
   今後制作するファミコン特集
   ====================================== */

.fc-special {
    background: #ffffff;
    color: #333333;
}


/* ======================================
   今後制作するディスクシステム特集
   ====================================== */

.fds-special {
    background: #fff8e0;
    color: #333333;
}