/* ==========================================================================
   共通スタイル - Mikan.inc Game Website
   ========================================================================== */

/* リセチE�� & 基本設宁E*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #5F869D;
    background-color: #1D262E;
    overflow-x: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease-in-out;
    padding-top: 80px;
    position: relative;
    z-index: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: auto;
}

/* ==========================================================================
   タイポグラフィ
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    color: #FDFDFD;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(253, 253, 253, 0.3);
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FDFDFD, #8F9EA3);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    color: #8F9EA3;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

ul {
    list-style: none;
}

a {
    color: #FDFDFD;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #8F9EA3;
    text-shadow: 0 0 5px rgba(253, 253, 253, 0.5);
}

/* ==========================================================================
   ヘッダー & ナビゲーション
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(29, 38, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    border-bottom: 1px solid rgba(253, 253, 253, 0.3);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    width: 100%;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #FDFDFD;
    text-shadow: 0 0 10px rgba(253, 253, 253, 0.5);
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.logo:hover {
    color: #FDFDFD;
    text-shadow: 0 0 15px rgba(253, 253, 253, 0.8);
    transform: scale(1.02);
    text-decoration: none !important;
}

.logo::after {
    display: none !important;
}

.logo:hover::after {
    display: none !important;
}

.logo:hover .logo-image {
    filter: drop-shadow(0 0 12px rgba(253, 253, 253, 0.5));
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(253, 253, 253, 0.3));
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #FDFDFD;
    text-shadow: 0 0 10px rgba(253, 253, 253, 0.5);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #8F9EA3;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #FDFDFD;
    text-shadow: 0 0 5px rgba(253, 253, 253, 0.5);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FDFDFD, #8F9EA3);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* アクチE��ブなナビゲーションリンクのスタイル */
nav a.active {
    color: #FDFDFD !important;
    text-shadow: 0 0 5px rgba(253, 253, 253, 0.5);
}

nav a.active::after {
    width: 100%;
    background: linear-gradient(90deg, #FDFDFD, #8F9EA3);
}

/* 無効なナビゲーションリンクのスタイル */
nav a.disabled {
    color: #5F869D;
    cursor: not-allowed;
    opacity: 0.5;
}

nav a.disabled:hover {
    color: #5F869D;
    text-shadow: none;
    transform: none;
}

nav a.disabled::after {
    display: none;
}

/* 無効なナビゲーション項目（span）のスタイル */
.nav-disabled {
    color: #5F869D;
    cursor: not-allowed;
    opacity: 0.5;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-disabled:hover {
    color: #5F869D;
    opacity: 0.7;
}

/* フッター内の無効なリンクのスタイル */
.footer-disabled {
    color: #5F869D;
    cursor: not-allowed;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.footer-disabled:hover {
    opacity: 0.7;
}

.page-header {
    background: linear-gradient(135deg, #1D262E 0%, #2A3A44 50%, #1D262E 100%);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(253, 253, 253, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(253, 253, 253, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* ==========================================================================
   ボタンスタイル
   ========================================================================== */
.btn-primary {
    background: linear-gradient(45deg, #FDFDFD, #8F9EA3);
    color: #1D262E;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(253, 253, 253, 0.3);
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(253, 253, 253, 0.5);
    color: #1D262E;
}

.btn-secondary {
    background: transparent;
    color: #FDFDFD;
    padding: 12px 24px;
    border: 2px solid #FDFDFD;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background: #FDFDFD;
    color: #1D262E;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(253, 253, 253, 0.3);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-download {
    background: linear-gradient(45deg, #FDFDFD, #8F9EA3);
    color: #1D262E !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 253, 253, 0.4);
}

.btn-download::after {
    display: none;
}

/* ==========================================================================
   セクション共通スタイル
   ========================================================================== */
.section-padded {
    padding: 100px 0;
    position: relative;
    z-index: auto;
}

.section-alt {
    background: linear-gradient(135deg, #2A3A44 0%, #3F4F5F 100%);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(253, 253, 253, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(253, 253, 253, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    color: #FDFDFD;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(253, 253, 253, 0.3);
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FDFDFD, #8F9EA3);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    color: #8F9EA3;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   フッター
   ========================================================================== */
footer {
    background: #1D262E;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(253, 253, 253, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #FDFDFD;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: #FDFDFD;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.footer-section p {
    color: #8F9EA3;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #8F9EA3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FDFDFD;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #5F869D;
}

.footer-bottom p {
    color: #5F869D;
    font-size: 0.9rem;
}

/* ==========================================================================
   レスポンシブデザイン
   ========================================================================== */

/* タブレチE�� */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section-padded {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* スマ�Eトフォン */
@media (max-width: 480px) {
    nav ul {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    nav a {
        font-size: 0.9rem;
    }
    
    .logo {
        gap: 0.5rem;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .section-padded {
        padding: 40px 0;
    }
}

/* ==========================================================================
   アニメーション
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(253, 253, 253, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(253, 253, 253, 0.8);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}













