/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header styles */
.site-header {
    background: #fff;
    border-bottom: 2px solid #ff0000;
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ff0000;
}

.nav-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #333;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #ff0000;
}

/* Main content */
.site-main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Page styles */
.content-page,
.list-page {
    max-width: 600px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 0.5rem;
}

.page-date {
    color: #666;
    font-size: 0.9rem;
}

.page-content {
    font-size: 1rem;
    line-height: 1.7;
}

.page-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    color: #333;
}

.page-content h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem 0;
    color: #333;
}

.page-content p {
    margin-bottom: 1rem;
}

.page-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 4px;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.page-content th,
.page-content td {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.page-content th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.page-content iframe {
    margin: 2rem 0;
}

/* List styles */
.content-list {
    display: grid;
    gap: 2rem;
}

.list-item {
    padding: 1.5rem;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.list-item h2 {
    margin-bottom: 0.5rem;
}

.list-item h2 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.list-item h2 a:hover {
    color: #ff0000;
}

.item-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.item-description {
    color: #666;
    line-height: 1.5;
}

.list-page .list-item {
    text-align: center;
}

.list-page .item-date {
    margin: 0 auto 0.5rem;
}

/* Footer */
.site-footer {
    background: #f5f5f5;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.site-footer p {
    color: #666;
    font-size: 0.9rem;
}

/* Home page styles */
.home-content {
    text-align: center;
}

.home-header {
    padding: 2rem 0;
}

.home-logo {
    margin-bottom: 2rem;
}

.main-logo {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.about-logo {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 2rem auto;
}

.home-page {
    text-align: center;
}

.hero {
    text-align: center;
    padding: 0.5rem 0; /* 上下のpaddingをさらに狭くしてロゴを上に移動 */
}

.hero-logo {
    margin-bottom: 1rem;
}

.hero-logo .main-logo {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #333;
    margin: 0 0 1rem 0;
    letter-spacing: 0.5px;
}

.hero p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 300;
    margin: 0;
}

.latest-releases,
.latest-events {
    margin: 3rem 0;
}

.latest-releases h2,
.latest-events h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.release-grid,
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.release-card,
.event-card {
    padding: 1.5rem;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.release-card:hover,
.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.release-card h3,
.event-card h3 {
    margin-bottom: 0.5rem;
}

.release-card h3 a,
.event-card h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.release-card h3 a:hover,
.event-card h3 a:hover {
    color: #ff0000;
}

.release-card time,
.event-card time {
    color: #666;
    font-size: 0.9rem;
}

.view-all {
    color: #ff0000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: #cc0000;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        order: 2;
        gap: 1rem;
    }
    
    .nav-social {
        order: 3;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .main-logo {
        max-width: 100%;
    }
    
    .about-logo {
        max-width: 100%;
    }
    
    .list-item {
        padding: 1.2rem;
    }
    
    .list-item h2 {
        font-size: 1.3rem;
    }
    
    .page-content h2 {
        font-size: 1.5rem;
    }
    
    .page-content h3 {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-logo {
        margin-bottom: 1.2rem;
    }
    
    .hero-logo .main-logo {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin: 0 0 0.8rem 0;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .main-logo {
        max-width: 100%;
    }
    
    .about-logo {
        max-width: 100%;
    }
    
    .list-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .list-item h2 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .page-content {
        font-size: 0.95rem;
    }
    
    .page-content h2 {
        font-size: 1.3rem;
    }
    
    .page-content h3 {
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 1.5rem 0;
    }
    
    .hero-logo {
        margin-bottom: 1rem;
    }
    
    .hero-logo .main-logo {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 1.7rem;
        margin: 0 0 0.6rem 0;
    }
    
    .hero p {
        font-size: 0.9rem;
        padding: 0 15px;
        line-height: 1.4;
    }
    
    .list-item {
        padding: 1rem;
    }
}

/* iPhone SE and similar small devices */
@media (max-width: 375px) {
    .page-header h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .hero {
        padding: 1.2rem 0;
    }
    
    .hero-logo {
        margin-bottom: 0.8rem;
    }
    
    .hero-logo .main-logo {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        margin: 0 0 0.5rem 0;
        line-height: 1.1;
    }
    
    .hero p {
        font-size: 0.85rem;
        padding: 0 20px;
        line-height: 1.3;
    }
    
    .main-logo {
        max-width: 100%;
    }
    
    .about-logo {
        max-width: 100%;
    }
    
    .list-item {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .list-item h2 {
        font-size: 1.1rem;
        line-height: 1.2;
    }
    
    .page-content {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .page-content h2 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.8rem 0;
    }
    
    .page-content h3 {
        font-size: 1rem;
        margin: 1.2rem 0 0.8rem 0;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .nav-brand a {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        gap: 0.8rem;
        font-size: 0.9rem;
    }
    
    .nav-social {
        gap: 0.6rem;
    }
    
    .social-link {
        font-size: 1rem;
    }
    
    .site-footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
    
    .site-footer p {
        font-size: 0.8rem;
    }
}
