
/* 全体のスタイル */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    margin: 0;
    display: block;
    min-height: 100vh;
    transition: opacity 0.5s ease-in-out;
}

/* コンテンツを囲むカード */
.container {
    background-color: #ffffff;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
    width: 100%;
    margin: 40px auto;
}

/* ゲームタイトル */
h1 {
    color: #1a237e;
    margin-bottom: 20px;
    font-size: 2.5em;
}

/* ゲーム画像 */
.game-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.youtube-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9のアスペクト比 */
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 説明文 */
p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* 詳細セクション */
.details-section {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: left;
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
}

.details-section h2 {
    text-align: center;
    color: #3f51b5;
    margin-bottom: 30px;
    font-size: 2em;
}

.detail-block {
    margin-bottom: 25px;
}

.detail-block h3 {
    color: #1a237e;
    border-bottom: 2px solid #ff4081;
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.detail-block p,
.detail-block ul {
    font-size: 1.1em;
    line-height: 1.7;
    margin-left: 0;
    padding-left: 0;
}

.detail-block ul {
    list-style: none;
}

.detail-block ul li {
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23ff4081" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>') no-repeat left 5px;
    padding-left: 28px;
    margin-bottom: 10px;
}

.detail-block ul li span {
    font-weight: bold;
    color: #333;
}

/* 表のスタイル */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

table th, table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

table th {
    background-color: #1a237e;
    color: #ffffff;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tr:hover {
    background-color: #e0e0e0;
}


/* ボタンコンテナ */
.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* 購入ボタン */
.purchase-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #ff4081;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.2s;
    font-size: 1.2em;
    box-shadow: 0 2px 8px rgba(255, 64, 129, 0.4);
}

.purchase-button:hover {
    background-color: #f50057;
    transform: translateY(-2px);
}

/* トップに戻るボタン */
.back-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #ffffff;
    color: #1a237e;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.2s;
    font-size: 1.2em;
    border: 2px solid #1a237e;
}

.back-button:hover {
    background-color: #f0f2f5;
    transform: translateY(-2px);
}
