/* 基本的なリセット */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    line-height: 1.6;
    color: #555; /* Slightly darker text for readability on lighter background */
    background-color: #fce4ec; /* Light pink background */
}

.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #ff80ab;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    z-index: 1000; /* Ensure it's above other content */
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #e91e63;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

header {
    background: #f8bbd0; /* Soft pink header */
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    margin-bottom: 0.5rem;
    /* 差し替えが必要な箇所: ゲームロゴのフォントやスタイル */
}

/* ナビゲーション - 必要であれば追加 */
/*
nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
}
*/

main {
    padding: 20px 0;
}

section {
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

section h2 {
    color: #d81b60; /* Darker pink for headings */
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 2px solid #f8bbd0; /* Soft pink border */
    padding-bottom: 10px;
}

/* Hero Section */
#hero {
    text-align: center;
    background: linear-gradient(to right, #ffe0f0, #f8bbd0); /* Pink gradient for hero */
    color: #fff;
    padding: 60px 20px;
    border-radius: 0; /* Heroセクションは丸みをなくす */
    box-shadow: none;
}

#hero h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: none;
    padding-bottom: 0;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons .btn {
    display: inline-block;
    background: #e91e63; /* Bright pink CTA */
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 10px;
    transition: background-color 0.3s ease;
}

.cta-buttons .btn.primary {
    background: #e91e63; /* メインCTAの色 */
}

.cta-buttons .btn.secondary {
    background: #ff80ab; /* Lighter pink for secondary CTA */
}

.cta-buttons .btn:hover {
    background: #d81b60; /* Darker pink on hover */
}

/* About & Features Section */
#about p, #features ul {
    text-align: center;
    margin-bottom: 1rem;
}

#features ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

#features li {
    background: #fff;
    border: 1px solid #fce4ec; /* Light pink border */
    border-radius: 5px;
    padding: 15px;
    flex: 1 1 calc(33% - 40px); /* 3列表示 */
    box-sizing: border-box;
    min-width: 280px;
    text-align: left;
}

#features li strong {
    color: #e91e63; /* Bright pink for strong text */
    display: block;
    margin-bottom: 5px;
}

/* Gallery for screenshots */
.gallery {
    text-align: center;
    margin-top: 20px;
}

.gallery img {
    margin: 10px;
    border: 1px solid #f8bbd0;
    border-radius: 5px;
    max-width: 100%; /* Ensure images are responsive */
    height: auto;
}


/* Release Info Section */
#release-info p {
    text-align: center;
    font-size: 1.1rem;
}

#release-info strong {
    color: #e91e63; /* Bright pink for strong text */
}

footer {
    text-align: center;
    padding: 20px;
    background: #f8bbd0; /* Soft pink footer */
    color: #fff;
    margin-top: 20px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    #hero h2 {
        font-size: 1.8rem;
    }

    #hero p {
        font-size: 1rem;
    }

    .cta-buttons .btn {
        display: block;
        margin: 10px auto;
    }

    #features li {
        flex: 1 1 calc(50% - 40px); /* 2列表示 */
    }
}

@media (max-width: 480px) {
    #features li {
        flex: 1 1 100%; /* 1列表示 */
    }
}
