/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Color System */
:root {
    --primary: #8B0000;
    --secondary: #003366;
    --accent: #FFD700;
    --success: #28a745;
    --warning: #ffc107;
    --error: #dc3545;
    --neutral-50: #f8f9fa;
    --neutral-100: #e9ecef;
    --neutral-200: #dee2e6;
    --neutral-300: #ced4da;
    --neutral-400: #adb5bd;
    --neutral-500: #6c757d;
    --neutral-600: #495057;
    --neutral-700: #343a40;
    --neutral-800: #212529;
}

/* Header */
.header {
    background-color: white;
    border-bottom: 2px solid var(--accent);
    padding: 16px 0;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    display: block;
}

.brand-name {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--neutral-50) 0%, #fff 100%);
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-description {
    font-size: 20px;
    color: var(--neutral-600);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-button {
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:not(.secondary) {
    background-color: var(--primary);
    color: white;
}

.cta-button:not(.secondary):hover {
    background-color: #6b0000;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta-button.secondary:hover {
    background-color: var(--primary);
    color: white;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.centered-content {
    text-align: center;
}

.centered-content .game-content,
.centered-content .cultural-content {
    text-align: left;
}

.section:nth-child(even) {
    background-color: var(--neutral-50);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 48px;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.content-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.content-card .icon {
    margin-bottom: 16px;
}

.content-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.content-card p {
    color: var(--neutral-600);
    font-size: 16px;
}

/* Game Content */
.game-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.game-content.reverse {
    direction: rtl;
}

.game-content.reverse > * {
    direction: ltr;
}

.game-text h2 {
    text-align: left;
    text-align: left;
    margin-bottom: 24px;
}

.game-text p {
    font-size: 18px;
    color: var(--neutral-600);
    margin-bottom: 24px;
}

.game-text ul {
    list-style: none;
    padding: 0;
}

.game-text li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--neutral-600);
}

.game-text li:before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.game-image {
    text-align: center;
}

.game-image img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Cultural Section */
.cultural-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.cultural-image {
    text-align: center;
}

.cultural-image img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.cultural-text p {
    font-size: 18px;
    color: var(--neutral-600);
    margin-bottom: 24px;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin: 24px 24px 16px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 24px 8px;
}

.product-card p {
    color: var(--neutral-600);
    margin: 0 24px 24px;
    font-size: 14px;
}

.contact-btn {
    width: calc(100% - 48px);
    margin: 0 24px 24px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-btn.phone {
    background-color: var(--primary);
    color: white;
}

.contact-btn.phone:hover {
    background-color: #6b0000;
}

.contact-btn.email {
    background-color: var(--secondary);
    color: white;
}

.contact-btn.email:hover {
    background-color: #002244;
}

.contact-btn:hover {
    transform: translateY(-1px);
}

/* Contacts Section */
.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    padding: 8px;
    background-color: var(--neutral-50);
    border-radius: 8px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-details p {
    color: var(--neutral-600);
    font-size: 16px;
}

.contact-map {
    text-align: center;
}

.contact-map img {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Placeholder Styles */
.placeholder {
    background-color: var(--neutral-200);
    border: 2px dashed var(--neutral-400);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-500);
    font-size: 14px;
    text-align: center;
}

.placeholder-text {
    padding: 16px;
}

/* Footer */
.footer {
    background-color: var(--neutral-800);
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h4 {
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-brand {
    font-size: 20px;
    font-weight: 600;
}

.footer-description {
    color: var(--neutral-300);
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--neutral-300);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    color: var(--neutral-300);
    font-size: 14px;
    margin: 4px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--neutral-600);
}

.footer-bottom p {
    color: var(--neutral-400);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .game-content,
    .cultural-content,
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 56px 0;
    }
    
    .hero {
        padding: 56px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .brand-name {
        font-size: 24px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}