
:root {
    --primary: #e10600; 
    --secondary: #1a1a1a;
    --accent: #ffd700;
    --text: #f5f5f5;
    --bg: #121212;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.page-header {
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 2px solid var(--primary);
}

.header_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_logo img {
    height: 50px;
    width: auto;
}

.header_nav ul {
    display: flex;
    list-style: none;
}

.header_nav li {
    margin-left: 30px;
    position: relative;
}

.header_nav li a {
    font-weight: 700;
    font-size: 1.1rem;
}

.header_nav li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}

.header_nav li a:hover::after {
    width: 100%;
}


.mainvisual {
    margin-top: 82px; 
    position: relative;
    height: 80vh;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.mainvisual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    
}


.main_contents {
    padding: 60px 0;
}

.intro_text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.intro_text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}


.banner_area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.banner_area section {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.banner_area section:hover {
    transform: translateY(-10px);
}

.banner_area h2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: white;
    font-size: 1.5rem;
    text-align: center;
}

.banner_area img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}


.page-footer {
    background-color: var(--secondary);
    padding: 40px 0 20px;
    border-top: 1px solid #333;
}

.footer_nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer_nav li {
    margin: 0 15px 10px;
}

.copyright {
    text-align: center;
    margin-bottom: 20px;
    color: #aaa;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links img {
    width: 30px;
    height: 30px;
    filter: brightness(0.8);
    transition: all 0.3s ease;
}

.social-links img:hover {
    filter: brightness(1.2) drop-shadow(0 0 5px var(--primary));
}


.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


@media (max-width: 768px) {
    .header_wrapper {
        flex-direction: column;
    }
    
    .header_nav ul {
        margin-top: 20px;
    }
    
    .header_nav li {
        margin: 0 10px;
    }
    
    .mainvisual {
        height: 60vh;
    }
    
    .banner_area {
        grid-template-columns: 1fr;
    }
}
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background:  no-repeat center center fixed;
            background-size: cover;
            color: #fff;
            min-height: 100vh;
            position: relative;
        }
        
        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: -1;
        }
        
        
        
        .mainvisual_second {
            height: 400px;
            overflow: hidden;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .mainvisual_second img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(0.7);
        }
        
        .mainvisual_second::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
        }
        
        .main_contents_second {
            max-width: 1200px;
            margin: 0 auto;
            padding: 3rem 2rem;
        }
        
        .main_contents_second h2 {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 3rem;
            color: #fff;
            text-shadow: 0 0 10px rgba(255, 0, 51, 0.5);
            position: relative;
            padding-bottom: 1rem;
        }
        
        .main_contents_second h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: #ff0033;
        }
        
        .main_wrapper {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }
        
        .content_wrapper {
            background: rgba(0, 0, 0, 0.8);
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        }
        
        .content_wrapper:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(255, 0, 51, 0.3);
        }
        
        .content_img {
            height: 350px;
            overflow: hidden;
        }
        
        .content_img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .content_wrapper:hover .content_img img {
            transform: scale(1.1);
        }
        
        .content_text {
            padding: 1.5rem;
            text-align: center;
        }
        
        .character_name {
            color: #ff0033;
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }
        
        .content_text h3 {
            font-size: 1.8rem;
            color: #fff;
            margin-bottom: 1rem;
        }
        
        .page-footer {
            background: rgba(0, 0, 0, 0.9);
            padding: 2rem 0;
            text-align: center;
            margin-top: 3rem;
            border-top: 2px solid #ff0033;
        }
        
        .footer_nav ul {
            display: flex;
            justify-content: center;
            list-style: none;
            gap: 2rem;
            margin-bottom: 1.5rem;
        }
        
        .footer_nav a {
            color: #fff;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer_nav a:hover {
            color: #ff0033;
        }
        
        .copyright {
            color: #ccc;
            font-size: 0.9rem;
        }
        
        @media (max-width: 768px) {
            .header_wrapper {
                flex-direction: column;
                gap: 1rem;
            }
            
            .header_nav ul {
                gap: 1rem;
            }
            
            .mainvisual_second {
                height: 300px;
            }
            
            .main_contents_second h2 {
                font-size: 2rem;
            }
            
            .main_wrapper {
                grid-template-columns: 1fr;
            }
            
            .footer_nav ul {
                flex-direction: column;
                gap: 1rem;
            }
        }
    