@charset "UTF-8";

/* --- 変数設定 --- */
:root {
    --bg-color: #121212;
    --surface-color: #1e1e1e;
    --text-main: #f5f5f5;
    --text-sub: #aaaaaa;
    --accent-cyan: #00e5ff;
    --accent-pink: #ff4081;
    --steam-color: #171a21;
    --booth-color: #fc4d50;
    --font-en: 'Montserrat', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
}

/* --- 基本スタイル --- */
body {
    margin: 0; padding: 0;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-jp);
    line-height: 1.6;
    scroll-behavior: smooth;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }

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

.section-title {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* --- ヘッダー --- */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-en);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.logo img {
    height: 32px;
    width: auto;
}

.logo .jp-name {
    font-size: 10px;
    color: #888;
    font-weight: normal;
    margin-left: 4px;
}

nav ul { display: flex; gap: 20px; align-items: center; }
nav a { font-family: var(--font-en); font-size: 13px; font-weight: 500; transition: color 0.3s; }
nav a:hover { color: var(--accent-cyan); }

/* 言語切替ボタン */
.lang-switch {
    border: 1px solid #444;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-sub);
    transition: all 0.3s;
}
.lang-switch:hover { border-color: var(--accent-cyan); color: #fff; }

/* --- ボタン共通設定 --- */
.btn-group { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 20px; justify-content: center; }

.btn-steam {
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(90deg, #1b2838 0%, #2a475e 100%);
    color: #66c0f4;
    padding: 15px 30px; border-radius: 4px;
    font-family: var(--font-en); font-weight: 700; font-size: 16px;
    border: 1px solid #66c0f4; transition: all 0.3s; cursor: pointer;
}
.btn-steam:hover { background: #66c0f4; color: #171a21; box-shadow: 0 0 15px rgba(102, 192, 244, 0.4); }

.btn-outline {
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; color: var(--text-main);
    padding: 15px 30px; border-radius: 4px; border: 1px solid var(--text-main);
    transition: all 0.3s; font-family: var(--font-en); font-weight: 700;
}
.btn-outline:hover { background: var(--text-main); color: var(--bg-color); }

.link-presskit {
    display: inline-block; font-size: 13px; color: var(--text-sub);
    text-decoration: none; border-bottom: 1px solid rgba(170, 170, 170, 0.5);
    transition: color 0.3s, border-color 0.3s;
}
.link-presskit:hover { color: var(--text-main); border-color: var(--text-main); }

.game-actions { display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 20px; }

/* --- 1. HOME (ファーストビュー) --- */
#home {
    height: 100vh;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    /* 【修正ポイント】cssフォルダから見て2階層上のimgフォルダを指定 */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)), url('../../img/neonvillage/hero.png') no-repeat center center/cover;
    background-color: #111;
    padding-top: 70px;
    box-sizing: border-box;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 10;
}

.hero-badge {
    display: inline-block; background-color: var(--accent-pink); color: #fff;
    padding: 5px 15px; font-size: 14px; font-weight: 700; border-radius: 20px; margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-en); font-size: clamp(40px, 8vw, 80px);
    margin: 0 0 10px 0; line-height: 1.1; text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.hero-desc { font-size: 18px; color: var(--text-sub); margin-bottom: 40px; }

/* --- 2. GAME --- */
#game { padding: 100px 0; background-color: var(--bg-color); overflow-x: hidden; }
.game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.video-wrapper { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.video-wrapper iframe { width: 100%; height: 100%; border: none; }
.game-info h3 { font-size: 28px; margin: 0 0 20px 0; color: var(--accent-cyan); }
.game-info p { margin-bottom: 30px; color: #ccc; }
.game-specs { background-color: var(--surface-color); padding: 20px; border-radius: 8px; margin-bottom: 30px; font-size: 14px; }
.game-specs p { margin: 5px 0; color: #fff; }
.game-specs span { color: var(--text-sub); display: inline-block; width: 120px; }

/* --- 3. GOODS --- */
#goods { padding: 100px 0; background-color: var(--surface-color); }
.goods-desc { text-align: center; max-width: 600px; margin: 0 auto 40px auto; color: var(--text-sub); font-size: 14px; }
.goods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; }
.goods-card {
    background-color: var(--bg-color); border-radius: 8px; overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column;
    border: 1px solid rgba(255,255,255,0.05); position: relative;
}
.goods-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.5); border-color: var(--booth-color); }
.goods-img { width: 100%; aspect-ratio: 1 / 1; background-color: #222; display: flex; align-items: center; justify-content: center; position: relative; }
.goods-card::after {
    content: 'BOOTHで購入 ↗'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background-color: rgba(252, 77, 80, 0.9); color: #fff; padding: 12px 24px; border-radius: 30px;
    font-size: 14px; font-weight: bold; opacity: 0; transition: opacity 0.3s; pointer-events: none; white-space: nowrap;
}
.goods-card:hover::after { opacity: 1; }
.more-link::after { display: none !important; }
.goods-info { padding: 20px; text-align: center; }
.goods-info h4 { margin: 0 0 10px 0; font-size: 15px; line-height: 1.4; }
.goods-price { color: var(--booth-color); font-weight: 700; font-size: 16px; }
.goods-img img { width: 100%; height: 100%; object-fit: cover; }
.booth-tag { position: absolute; top: 10px; right: 10px; background: var(--booth-color); color: #fff; padding: 2px 8px; font-size: 10px; font-weight: bold; border-radius: 3px; z-index: 5; }

/* --- 4. NEWS --- */
#news { padding: 100px 0; }
.news-list { max-width: 800px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.1); }
.news-item { display: flex; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.1); align-items: center; }
.news-date { width: 120px; color: var(--text-sub); font-family: var(--font-en); font-size: 14px; }
.news-category { background-color: #333; color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 4px; margin-right: 20px; }
.news-title { flex: 1; font-size: 15px; }

/* --- 5. CONTACT --- */
#contact { background-color: #000; padding: 80px 0 40px; text-align: center; }
.contact-info { margin-bottom: 50px; }
.contact-info h3 { font-family: var(--font-en); font-size: 24px; margin-bottom: 20px; }
.contact-info p { color: var(--text-sub); margin-bottom: 20px; }
.btn-mail { display: inline-block; border: 1px solid #fff; padding: 10px 30px; border-radius: 4px; transition: all 0.3s; }
.btn-mail:hover { background-color: #fff; color: #000; }
.footer-bottom { border-top: 1px solid #333; padding-top: 30px; font-size: 12px; color: #666; font-family: var(--font-en); }

/* --- アニメーション --- */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fade-right { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fade-left { opacity: 0; transform: translateX(50px); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.is-visible { opacity: 1; transform: translate(0, 0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; justify-content: center; gap: 10px; height: auto; padding: 15px; }
    nav ul { gap: 15px; }
    .game-grid { grid-template-columns: 1fr; }
    .btn-group { justify-content: center; }
    .news-item { flex-direction: column; align-items: flex-start; gap: 10px; }
    .news-category { margin-bottom: 10px; }
    .fade-right, .fade-left { transform: translateY(30px); }
    .delay-1, .delay-2, .delay-3, .delay-4 { transition-delay: 0s; }
}