/* 全体設定 */
:root {
    --midnight-blue: #0a1128;
    --gold-main: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #aa7c11;
    --text-white: #f8f9fa;
}
body {
    margin: 0;
    padding: 0;
    background-color: var(--midnight-blue);
    color: var(--text-white);
    font-family: 'Noto Serif JP', serif;
    line-height: 2.0;
    letter-spacing: 0.05em;
}
h1, h2, h3 {
    font-weight: 400;
    letter-spacing: 0.1em;
    margin: 0;
}

/* --- ヘッダー領域（ナビゲーション & 言語スイッチャー） --- */
header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-link { color: #a0aec0; text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.nav-link:hover { color: var(--gold-main); }

/* --- エレガントな言語スイッチャー（CSSドロップダウン） --- */
.language-switcher {
    position: relative;
    display: inline-block;
}

.lang-button {
    background: transparent;
    color: var(--gold-main);
    border: 1px solid var(--gold-main);
    padding: 8px 16px;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-button:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.lang-button::after {
    content: '▼';
    font-size: 0.6rem;
    margin-left: 4px;
}

.lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 5px;
    background: rgba(10, 17, 40, 0.95);
    border: 1px solid var(--gold-dark);
    border-radius: 4px;
    min-width: 140px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.lang-dropdown a {
    color: #cbd5e0;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    text-align: left;
}

.lang-dropdown a:hover {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--midnight) 100%);
    color: white;
}

/* 現在選択されている言語のスタイル */
.lang-dropdown a.active {
    color: var(--gold-main);
    font-weight: bold;
    pointer-events: none; /* クリック不可に */
}

/* ボタンとメニューの隙間を埋める透明な橋（当たり判定） */
.lang-dropdown::before {
    content: "";
    position: absolute;
    top: -10px; /* 上に透明なエリアを伸ばす */
    left: 0;
    width: 100%;
    height: 10px;
}

/* 変更後（代わりにこれを追加） */
.lang-dropdown.show {
    display: block;
}


/* 1. ファーストビュー（ヒーローセクション） */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0 60px 0;
}
.hero-image-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
}
.hero-copy {
    margin-top: 40px;
    font-size: 1.2rem;
    color: var(--gold-light);
}
.store-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}
/* ストアボタンのダミーデザイン */
.btn-store {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--gold-main);
    background: transparent;
    color: var(--gold-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    border-radius: 4px;
}
.btn-store:hover {
    background: var(--gold-main);
    color: var(--midnight-blue);
}
/* 準備中ボタンのグレーアウト設定 */
.btn-store.disabled {
    background-color: #333333; /* 暗いグレーの背景 */
    color: #888888;            /* 文字色も沈ませる */
    border: 1px solid #444444; /* 枠線も暗くする */
    pointer-events: none;      /* クリック操作を完全に無効化 */
    cursor: not-allowed;       /* マウスカーソルを禁止マークに */
    opacity: 0.7;              /* 全体を少し透過させる */
    box-shadow: none;          /* 立体感（影）を消して押せない感を出す */
    
    /* 縦並びにするための設定（既存のスタイルに合わせて調整してください） */
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ボタンの下部に「Coming Soon」を追加 */
.btn-store.disabled::after {
    content: "Coming Soon";
    display: block;
    font-size: 0.75em;
    color: #C5A059;            /* アンティークゴールドのアクセントカラー */
    margin-top: 4px;
    letter-spacing: 1px;
}

/* 2. コンセプトセクション */
.concept-section {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(180deg, var(--midnight-blue) 0%, #0d1a3a 50%, var(--midnight-blue) 100%);
}
.concept-text {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-white);
}
.concept-text p {
    margin-bottom: 30px;
}
.gold-line {
    width: 40px;
    height: 1px;
    background-color: var(--gold-main);
    margin: 40px auto;
}

/* 3. ゲーム体験セクション */
.experience-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}
.experience-text {
    flex: 1;
}
.experience-text h2 {
    color: var(--gold-main);
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.experience-image {
    flex: 1;
    display: flex;
    justify-content: center;
}
/* スマホモックアップ風のCSS装飾 */
.smartphone-mockup {
    border: 4px solid #2c3e50;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 20px rgba(212, 175, 55, 0.1);
    max-width: 300px;
    background-color: #000;
    position: relative;
}
.smartphone-mockup img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.smartphone-mockup:hover img {
    transform: scale(1.02);
}

/* 4. Expressパス セクション */
.premium-section {
    padding: 80px 20px;
    text-align: center;
}
.premium-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 50px 40px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background-color: rgba(255, 255, 255, 0.02);
    position: relative;
}
/* 四隅のアンティーク風装飾 */
.premium-card::before, .premium-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid var(--gold-main);
}
.premium-card::before {
    top: 10px; left: 10px;
    border-right: none; border-bottom: none;
}
.premium-card::after {
    bottom: 10px; right: 10px;
    border-left: none; border-top: none;
}
.premium-title {
    color: var(--gold-light);
    font-size: 1.5rem;
    margin-bottom: 20px;
}
/* --- フッター --- */
footer {
	padding: 40px 30px;
	text-align: center;
	font-size: 0.75rem;
	color: #718096;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	}
footer .footer-links { margin-bottom: 10px; }
footer .footer-links a { color: #a0aec0; text-decoration: none; margin: 0 10px; transition: color 0.3s; }
footer .footer-links a:hover { color: var(--gold-main); }

/* レスポンシブ対応（スマホ表示） */
@media (max-width: 768px) {
    .experience-section {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-copy {
        font-size: 1rem;
        padding: 0 20px;
    }
    .store-buttons {
        flex-direction: column;
        align-items: center;
    }
}
