/* サイト全体のリセットとフォント設定 */
body {
    font-family: 'Kosugi Maru', 'Hiragino Kaku Gothic ProN', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f8f8ff; /* 全体の背景色 (薄いパステルカラー) */
    margin: 0;
    padding: 0;
}

/* ヘッダー / イントロダクション */
.hero {
    background-image: url(image/header.png);
    background-size: cover;
    background-position: center;
    height: 70vh;
}

.logo-title {
    font-size: 3.5em;
    color: #ff69b4; /* ホットピンク */
    margin-bottom: 5px;
    text-shadow: 2px 2px 0 #fff;
    letter-spacing: 2px;
}

.catchphrase {
    font-size: 1.5em;
    color: #87cefa; /* ライトスカイブルー */
    font-weight: bold;
    margin-bottom: 25px;
}

.main-image {
    max-width: 90%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    border: 5px solid #fff;
}

/* ダウンロードボタン (共通スタイル) */
.btn-download {
    display: inline-block;
    background-color: #ff69b4; /* メインアクセントカラー */
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s, transform 0.1s;
    box-shadow: 0 5px 0 #e84a96;
}

.btn-download:hover {
    background-color: #e84a96;
    transform: translateY(2px);
    box-shadow: 0 3px 0 #e84a96;
}

.btn-download.large {
    font-size: 1.5em;
    padding: 20px 60px;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* 全セクションの共通スタイル */
.section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    color: #ff69b4;
    border-bottom: 3px solid #87cefa;
    padding-bottom: 10px;
    margin-bottom: 50px;
    display: inline-block;
}

/* ストーリーセクション */
#story {
    background-color: #fff;
}
.story-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
}

/* キャラクターセクション */
.character-section {
    
}

.character-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.character-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s;
}

.character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.chara-image {
    width: 100%;
    max-height: 400px; /* 画像のアスペクト比を維持しつつ高さを制限 */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 3px solid #87cefa;
}

.chara-role {
    color: #ff69b4;
    font-weight: bold;
    margin: 5px 0 15px;
    border-bottom: 1px dashed #fce4ec;
    padding-bottom: 5px;
}

.chara-desc {
    text-align: left;
    font-size: 0.95em;
    color: #555;
}

/* ゲームのポイント (Features) セクション */
.features-section ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.features-section li {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #ff69b4;
    font-size: 1.1em;
}

.features-section li strong {
    color: #ff69b4;
    font-size: 1.2em;
}


/* 製品情報 (Specs) セクション */
.specs-section {
    background-color: #fff;
}

.specs-section table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0 10px;
    text-align: left;
}

.specs-section th, .specs-section td {
    padding: 15px;
}

.specs-section th {
    background-color: #87cefa;
    color: #fff;
    width: 30%;
    border-radius: 5px 0 0 5px;
    font-weight: normal;
}

.specs-section td {
    background-color: #e3f2fd;
    border-radius: 0 5px 5px 0;
    color: #555;
    font-weight: bold;
}


/* フッター */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9em;
}

.sns-links a {
    color: #ff69b4;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.sns-links a:hover {
    color: #fff;
}

/* ============================ */
/* レスポンシブ対応 (スマートフォン向け) */
/* ============================ */
@media (max-width: 480px) {
    /* ヒーローセクションの高さ調整 */
    .hero {
        background-size: cover;
        background-position: center;
        height: 20vh; 
    }

    .logo-title {
        font-size: 2.5em;
    }

    .catchphrase {
        font-size: 1.2em;
    }

    .section {
        /* パディングを上下左右均等に調整し、コンテンツが端に寄りすぎるのを防ぐ */
        padding: 40px 5%;
    }

    .section-title {
        font-size: 2em;
        margin-bottom: 30px; /* 見出し下のスペースを調整 */
    }
    
    /* キャラクターカードを縦に並べる設定は維持 */
    .character-list {
        flex-direction: column;
        align-items: center;
        gap: 20px; /* カード間のスペースを調整 */
    }
    
    .character-card {
        width: 90%;
    }
    
    .chara-image {
        max-height: none; /* 画像の縦横比を保つために、高さの制限を解除 */
    }

    /* ダウンロードセクション */
    .download-section .section-title {
        margin-bottom: 10px;
    }
    
    /* ダウンロードボタンの調整 */
    .btn-download.large {
        font-size: 1.2em;
        padding: 15px 40px;
        width: 90%; /* 幅を広げてタップしやすく */
        max-width: 350px; /* 広げすぎないように制限 */
        box-sizing: border-box; /* paddingをwidthに含める */
        margin-top: 10px; /* 上のスペースを調整 */
        margin-bottom: 10px;
    }
    
    /* 製品情報テーブルのレスポンシブ対応 */
    .specs-section table {
        display: block;
        width: 90%; /* 親要素の幅を使う */
        margin: 0 auto;
    }
    
    /* 元のCSSのレスポンシブなテーブルデザインは適切なので、それを維持 */
    .specs-section tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
        align-items: center;
        text-align: center;
        
    }
    
    .specs-section th, .specs-section td {
        display: block;
        width: 100%;
        padding: 8px 15px;
        align-items: center;
        text-align: center;
    }

    .specs-section th {
        background-color: #87CEFA;
        border-radius: 5px 5px 0 0;
        width: 100%; 
        align-items: center;
        font-weight: bold;
    }

    .specs-section td {
        border-radius: 0 0 5px 5px;
        background-color: #fff;
        border: 1px solid #e3f2fd;
        border-top: none;
    }
}