/* ============================================
   ルナスティア -忘却の少女と魔法学校- 公式サイト
   ver4.0《構造リニューアル》CSS
   © 2024-2026 kotonoha*
   ============================================ */

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

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: #8a6d3b;
}

body {
    background: #12161e url('../img/back.jpg') top center no-repeat fixed;
    color: #2d2a25;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
}

/* Header */
.header {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.main-visual {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: #12161e;
    text-align: center;
}

.main-visual img {
    width: 100%;
    display: block;
    margin: 0 auto;
    height: 480px;
    object-fit: cover;
    object-position: top center;
}

/* 受賞帯（控えめ） */
.award-banner {
    background: #0f1318;
    border-top: 1px solid rgba(201,169,110,0.2);
    border-bottom: 1px solid rgba(201,169,110,0.2);
    text-align: center;
    padding: 12px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.award-banner p {
    font-size: 14px;
    color: rgba(201,169,110,0.7);
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.1em;
}

.award-banner a {
    color: rgba(201,169,110,0.7);
}

.award-banner a:hover {
    color: #e0c88a;
}

/* Navigation — ビジュアル下のボタンバー */
.nav {
    background: #12161e;
    padding: 0;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.nav ul {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0;
}

.nav li {
    flex: 1;
    display: flex;
}

.nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 100%;
    color: #fff;
    text-decoration: none;
    font-family: 'Crimson Pro', serif;
    font-size: 20px;
    letter-spacing: 0.1em;
    padding: 12px 0;
    border-right: 1px solid rgba(255,255,255,0.12);
    background: transparent;
    transition: all 0.3s ease;
}

.nav li:first-child a {
    border-left: none;
}

.nav li:last-child a {
    border-right: none;
}

.nav a .jp {
    font-size: 14px;
    font-family: 'Noto Serif JP', serif;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.08em;
}

.nav a:hover {
    color: #c9a96e;
    background: rgba(255,255,255,0.05);
}

.nav a:hover .jp {
    color: rgba(201,169,110,0.75);
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: #c9a96e;
    margin: 6px 0;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Main Content */
.main-wrapper {
    padding-bottom: 80px;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: #f2ece2;
    color: #2d2a25;
    position: relative;
}

.section {
    padding: 60px 60px;
    opacity: 1;
    position: relative;
}

.section:nth-child(even) {
    background: #ebe4d8;
}

/* セクション間のゴールド区切り線 */
.section + .section::before {
    content: '── ◆ ──';
    display: block;
    text-align: center;
    font-size: 14px;
    color: rgba(138,109,59,0.35);
    letter-spacing: 0.3em;
    margin-bottom: 50px;
}

.section-top {
    padding-top: 50px;
}

.section-title {
    font-size: 32px;
    color: #8a6d3b;
    margin-bottom: 45px;
    text-align: center;
    position: relative;
    letter-spacing: 0.25em;
    font-family: 'Crimson Pro', 'Noto Serif JP', serif;
}

/* 下線をゴールドのオーナメントに */
.section-title::after {
    content: '─── ◆ ───';
    display: block;
    margin-top: 18px;
    font-size: 14px;
    color: rgba(138,109,59,0.4);
    letter-spacing: 0.3em;
}

/* Footer */
.footer {
    background: #12161e;
    color: rgba(255,255,255,0.8);
    padding: 50px 20px;
    position: relative;
    border-top: 1px solid rgba(201,169,110,0.3);
}

/* フッター上部にオーナメント */
.footer::before {
    content: '◆';
    display: block;
    text-align: center;
    color: rgba(201,169,110,0.35);
    font-size: 16px;
    margin-bottom: 25px;
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
}

.footer-content a {
    color: rgba(255,255,255,0.8);
}

.footer-content a:hover {
    color: #c9a96e;
    text-decoration: underline;
}

.to-top {
    position: fixed;
    right: 40px;
    bottom: 40px;
    width: 50px;
    height: 50px;
    background: #1a2235;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #c9a96e;
    font-size: 24px;
    transition: all 0.3s ease;
    border: 1px solid rgba(201,169,110,0.25);
}

.to-top:hover {
    transform: translateY(-5px);
    border-color: rgba(201,169,110,0.5);
    color: #e0c88a;
}

/* News Section */
.news-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    text-align: center;
    padding: 30px 40px;
    background: #e8e0d4;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid rgba(138,109,59,0.15);
    transition: all 0.3s ease;
    color: #2d2a25;
}

.news-item2 {
    text-align: center;
    padding: 30px 40px;
    background: #e8e0d4;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid rgba(138,109,59,0.15);
    transition: all 0.3s ease;
    color: #2d2a25;
}

.news-date {
    font-family: 'Crimson Pro', serif;
    color: #8a6d3b;
    font-size: 20px;
    display: block;
    margin-bottom: 12px;
    letter-spacing: 0.08em;
}

.news-title {
    font-size: 22px;
    font-weight: bold;
    margin: 10px 0;
    line-height: 1.5;
}

.news-title a {
    color: #2d2a25;
}

.news-title a:hover {
    color: #8a6d3b;
}

.news-text {
    font-size: 16px;
    color: #6b6560;
    line-height: 1.8;
}

.news-text a {
    color: #8a6d3b;
}

.news-text a:hover {
    color: #c9a96e;
}

/* Story Section */
.story {
    margin-bottom: 45px;
    font-size: 19px;
    line-height: 2.2;
    text-align: center;
    color: #2d2a25;
    font-family: 'Noto Serif JP', serif;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.story p {
    margin-bottom: 1.8em;
}

.story-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 45px;
}

.story-image {
    aspect-ratio: 8/6;
    overflow: hidden;
    border-radius: 4px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.story-image:hover img {
    transform: scale(1.05);
}

.red {
    color: #c03030;
}
.white {
    color: #2d2a25;
}

/* SPEC（ゲーム基本情報）セクション */
.spec-section {
    background: #e8e0d4;
    padding: 40px 50px;
    border-radius: 4px;
    margin-top: 40px;
    border: 1px solid rgba(138,109,59,0.15);
    color: #2d2a25;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.spec-section p {
    font-size: 17px;
    line-height: 2.2;
    text-align: center;
}

/* WHAT'S NEW（完全版の新要素）セクション */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    background: #e8e0d4;
    padding: 30px;
    border-radius: 4px;
    border-left: 3px solid #c9a96e;
    color: #2d2a25;
}

.feature-card h4 {
    font-size: 18px;
    color: #8a6d3b;
    margin-bottom: 12px;
    font-weight: bold;
    font-family: 'Noto Serif JP', serif;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #6b6560;
}

/* STORE（販売）セクション */
.shop-lead {
    text-align: center;
    font-size: 18px;
    color: #6b6560;
    font-family: 'Noto Serif JP', serif;
    margin-top: -30px;
    margin-bottom: 35px;
    letter-spacing: 0.1em;
}

.shop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.shop-card {
    background: #e8e0d4;
    border: 1px solid rgba(138,109,59,0.2);
    border-radius: 8px;
    padding: 40px 35px;
    text-align: center;
    position: relative;
}

.shop-icon {
    font-size: 40px;
    color: #8a6d3b;
    margin-bottom: 20px;
    line-height: 1;
}

.shop-card h4 {
    font-size: 20px;
    color: #8a6d3b;
    margin-bottom: 15px;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.05em;
}

.shop-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #6b6560;
    margin-bottom: 20px;
}

.shop-badge {
    display: inline-block;
    padding: 6px 24px;
    border: 1px solid rgba(138,109,59,0.4);
    border-radius: 20px;
    font-size: 13px;
    color: #8a6d3b;
    letter-spacing: 0.15em;
    font-family: 'Noto Serif JP', serif;
}

/* Comment Section */
.comment {
    background: #e8e0d4;
    padding: 50px 60px;
    position: relative;
    margin-top: 0;
    font-size: 18px;
    line-height: 2;
    border-radius: 4px;
    border: 1px solid rgba(138,109,59,0.15);
    color: #2d2a25;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.comment p {
    margin-bottom: 1.5em;
}

.comment p:last-child {
    margin-bottom: 0;
    text-align: right;
    font-family: 'Crimson Pro', serif;
    color: #8a6d3b;
}

/* キャラクター */
.character-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

.character-item {
    display: flex;
    gap: 40px;
    background: #e8e0d4;
    padding: 40px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.character-item:hover {
    background: #e2d9cc;
}

.character-image {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.character-item:hover .character-image img {
    transform: scale(1.05);
}

.character-info {
    flex: 1;
}

.character-name {
    font-size: 28px;
    margin-bottom: 10px;
    color: #8a6d3b;
    display: flex;
    align-items: center;
    gap: 15px;
}

.character-name-en {
    font-family: 'Crimson Pro', serif;
    font-size: 20px;
    color: #6b6560;
}

.character-title {
    font-size: 16px;
    color: #6b6560;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(138,109,59,0.2);
}

.character-description {
    font-size: 16px;
    line-height: 2;
    text-align: justify;
    color: #2d2a25;
}

.author-comment {
    margin-top: 25px;
    padding: 20px 25px;
    background: #f2ece2;
    border: 1px solid rgba(138,109,59,0.15);
    border-radius: 4px;
    position: relative;
}

.author-comment-label {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #f2ece2;
    padding: 0 10px;
    font-size: 14px;
    color: #8a6d3b;
    font-weight: bold;
}

.author-comment p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    color: #6b6560;
}

.sub-character-title {
    font-size: 32px;
    color: #8a6d3b;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Crimson Pro', serif;
}

.sub-characters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.sub-character-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #e8e0d4;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sub-character-item:hover {
    background: #e2d9cc;
}

.sub-character-image {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.sub-character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.sub-character-item:hover .sub-character-image img {
    transform: scale(1.05);
}

.sub-character-info {
    flex: 1;
}

.sub-character-name {
    font-size: 20px;
    margin-bottom: 5px;
    color: #8a6d3b;
}

.sub-character-description {
    font-size: 14px;
    line-height: 1.8;
    color: #2d2a25;
}

/* システム */
.system-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.system-heading {
    text-align: center;
    margin-bottom: 40px;
    color: #8a6d3b;
}

.system-heading-en {
    display: block;
    font-family: 'Crimson Pro', serif;
    font-size: 40px;
    margin-bottom: 8px;
    letter-spacing: 0.08em;
}

.system-heading-jp {
    display: block;
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: normal;
}

.system-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px auto;
}

.system-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* 画像なしシステム項目のプレースホルダー */
.system-placeholder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px auto;
}

.system-placeholder-box {
    background: #e8e0d4;
    border: 1px dashed rgba(138,109,59,0.3);
    border-radius: 4px;
    padding: 40px 20px;
    text-align: center;
    color: #6b6560;
    font-size: 14px;
    font-family: 'Noto Serif JP', serif;
}

.system-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    line-height: 2;
    color: #2d2a25;
}

.system-content p {
    margin-bottom: 1.5em;
    font-size: 16px;
}

.system-content p:last-child {
    margin-bottom: 0;
}

/* ダウンロード */
.download-area {
    max-width: 900px;
    margin: 0 auto 80px;
}

.download-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 60px;
}

.download-button {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #8a6d3b;
    color: #fff;
    padding: 22px 35px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 420px;
    font-weight: bold;
}

.download-button:hover {
    color: #fff;
    background: #a07d45;
    transform: translateY(-3px);
}

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

.button-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

.button-content {
    display: flex;
    flex-direction: column;
}

.button-title {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.button-desc {
    font-size: 14px;
    opacity: 0.8;
}

/* Legacy Downloads — 思い出版 */
.legacy-section {
    margin-top: 50px;
    border-top: 1px solid rgba(138,109,59,0.15);
    padding-top: 30px;
}

.legacy-title {
    font-size: 18px;
    color: #6b6560;
    text-align: center;
    margin-bottom: 8px;
    font-family: 'Crimson Pro', 'Noto Serif JP', serif;
    letter-spacing: 0.1em;
}

.legacy-note {
    text-align: center;
    color: #6b6560;
    margin-bottom: 20px;
    font-size: 13px;
}

.legacy-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.legacy-thumb {
    flex-shrink: 0;
    width: 180px;
}

.legacy-thumb img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.legacy-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legacy-links a {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid rgba(138,109,59,0.3);
    border-radius: 4px;
    color: #6b6560;
    font-size: 13px;
    transition: all 0.3s ease;
}

.legacy-links a:hover {
    border-color: #8a6d3b;
    color: #8a6d3b;
}

/* Download Notice */
.download-notice {
    text-align: center;
    padding: 40px;
    background: #e8e0d4;
    border-radius: 8px;
    color: #2d2a25;
}

/* セーブデータ互換性の注意 */
.save-warning {
    text-align: center;
    padding: 20px 30px;
    background: #f5e6d0;
    border: 1px solid rgba(138,109,59,0.5);
    border-radius: 8px;
    margin-bottom: 30px;
    color: #8a6d3b;
    font-weight: bold;
}

.external-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.external-links a {
    color: #8a6d3b;
    text-decoration: none;
    padding: 12px 25px;
    border: 1px solid #8a6d3b;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.external-links a:hover {
    background: #8a6d3b;
    color: #fff;
}

/* Update History */
.update-history {
    max-width: 800px;
    margin: 0 auto 30px;
}

.update-title {
    font-size: 30px;
    color: #8a6d3b;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Crimson Pro', serif;
    letter-spacing: 0.08em;
}

.update-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.update-item {
    padding: 30px;
    background: #e8e0d4;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #2d2a25;
}

.update-item:hover {
    background: #e2d9cc;
}

.update-date {
    font-family: 'Crimson Pro', serif;
    color: #8a6d3b;
    font-size: 20px;
    margin-bottom: 5px;
}

.update-version {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
}

.update-content {
    margin-bottom: 30px;
}

.update-content ul {
    list-style: none;
    padding-left: 20px;
}

.update-content li {
    position: relative;
    margin-bottom: 8px;
    line-height: 1.6;
}

.update-content li::before {
    content: '•';
    position: absolute;
    left: -20px;
    color: #8a6d3b;
}

/* v2.0更新履歴の★ハイライト */
.update-content li.major::before {
    content: '★';
    color: #8a6d3b;
}

/* アコーディオン（更新履歴折りたたみ） */
.accordion-toggle {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    background: #e8e0d4;
    border: 1px solid rgba(138,109,59,0.25);
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    color: #8a6d3b;
    font-family: 'Noto Sans JP', sans-serif;
    transition: background 0.3s ease;
    margin-top: 20px;
}

.accordion-toggle:hover {
    background: #e2d9cc;
}

.accordion-toggle::after {
    content: ' ▼';
    font-size: 12px;
}

.accordion-toggle.active::after {
    content: ' ▲';
}

.accordion-content {
    display: none;
}

.accordion-content.active {
    display: block;
}

/* 攻略 */
.guide-container {
    max-width: 900px;
    margin: 0 auto;
}

.chapter {
    margin-bottom: 80px;
}

.chapter:last-child {
    margin-bottom: 0;
}

.chapter-title {
    background: #8a6d3b;
    color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.chapter-number {
    font-family: 'Crimson Pro', serif;
    font-size: 24px;
    letter-spacing: 0.05em;
}

.chapter-name {
    font-size: 20px;
    opacity: 0.9;
}

.chapter-content {
    padding: 0 30px;
    font-size: 16px;
    line-height: 1.8;
    color: #2d2a25;
}

.chapter-content p {
    margin-bottom: 1.5em;
}

/* Special Sections */
.special-section {
    margin: 40px 0;
    padding: 15px 30px;
    border-radius: 8px;
    position: relative;
}

.special-section.boss {
    background: rgba(180, 32, 32, 0.08);
    border-left: 4px solid rgba(180, 32, 32, 0.7);
}

.special-section.boss .special-title {
    color: #b42020;
}

.special-section.stamp {
    background: rgba(32, 128, 180, 0.06);
    border-left: 4px solid rgba(50, 140, 200, 0.7);
}

.special-section.stamp .special-title {
    color: #2878a8;
}

.special-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.special-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: currentColor;
    border-radius: 2px;
}

.special-content {
    font-size: 15px;
    line-height: 1.7;
    color: #2d2a25;
}

.special-content p {
    margin-bottom: 1em;
}

.special-content p:last-child {
    margin-bottom: 0;
}

.hidden {
    display: none;
}
.checkbox-group {
    margin-bottom: 15px;
}
.checkbox-container {
    margin: 0px auto 30px auto;
    text-align: center;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 40px;
    background: #f2ece2;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(138,109,59,0.15);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    background: #e8e0d4;
    padding: 25px 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.faq-question h3 {
    font-size: 18px;
    margin: 0;
    flex: 1;
    line-height: 1.6;
    color: #2d2a25;
}

.faq-answer {
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.faq-label {
    font-family: 'Crimson Pro', serif;
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
}

.faq-question .faq-label {
    color: #8a6d3b;
}

.faq-answer .faq-label {
    color: #c03030;
}

.faq-content {
    flex: 1;
}

.faq-content p {
    margin-bottom: 1.5em;
    line-height: 1.8;
    color: #2d2a25;
}

.faq-content p:last-child {
    margin-bottom: 0;
}

.faq-content ul {
    list-style: none;
    margin: 1em 0;
    padding-left: 1.5em;
}

.faq-content li {
    position: relative;
    margin-bottom: 0.8em;
    line-height: 1.6;
}

.faq-content li::before {
    content: '•';
    position: absolute;
    left: -1.5em;
    color: #8a6d3b;
}

.faq-content strong {
    color: #8a6d3b;
}

/* stamp */
.stamp-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 20px;
}

.table-section {
    background: #e8e0d4;
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.table-section:hover {
    background: #e2d9cc;
}

.table-title {
    font-size: 26px;
    color: #8a6d3b;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Crimson Pro', serif;
    letter-spacing: 0.05em;
}

.table-wrapper {
    overflow-x: auto;
}

.stamp-table {
    width: 100%;
    border-collapse: collapse;
    background: #f2ece2;
    border: 1px solid rgba(138,109,59,0.15);
    table-layout: fixed;
}

.stamp-table .col-number {
    width: 100px;
    text-align: center;
}

.stamp-table .col-title {
    width: 265px;
}

.stamp-table .col-location {
    width: auto;
}

.stamp-table th,
.stamp-table td {
    vertical-align: top;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(138,109,59,0.1);
}

.stamp-table th {
    background: #8a6d3b;
    color: #fff;
    font-weight: normal;
    font-family: 'Crimson Pro', serif;
    font-size: 18px;
}

.stamp-table td {
    font-size: 16px;
    color: #2d2a25;
    line-height: 1.6;
}

.stamp-table td.col-location {
    word-wrap: break-word;
    white-space: normal;
}

.stamp-table tbody tr:hover {
    background: rgba(138,109,59,0.06);
}

.linkguide {
    max-width: 600px;
    background-color: #e8e0d4;
    margin: 0px auto;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    color: #2d2a25;
}
.linkguide a {
    color: #8a6d3b;
}
.pv {
    margin: 40px auto;
    text-align: center;
}
.pviframe {
    width: 720px;
    height: 405px;
}

/* ============================================
   レスポンシブ
   ============================================ */

@media (max-width: 1200px) {
    .main-visual {
        border: none;
    }
}

@media (max-width: 980px) {
    .nav a {
        font-size: 16px;
        padding: 8px 0;
    }
    .nav a .jp {
        font-size: 10px;
    }
    .section {
        padding: 45px 25px;
    }
}

@media (max-width: 768px) {
    /* ナビ → ハンバーガー */
    .nav {
        padding: 8px 0;
    }

    .hamburger {
        display: block;
    }

    .nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px;
        background: #12161e;
    }

    .nav ul.active {
        display: flex;
    }

    .nav li {
        flex: none;
        display: block;
    }

    .nav a {
        font-size: 18px;
        padding: 10px 30px;
        width: 220px;
        text-align: center;
    }

    /* セクション */
    .section {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 35px;
    }

    .section + .section::before {
        margin-bottom: 35px;
    }

    /* ニュース */
    .news-item {
        padding: 25px 20px;
    }

    .news-title {
        font-size: 18px;
    }

    .news-text {
        font-size: 14px;
    }

    /* ストーリー */
    .story {
        font-size: 16px;
        line-height: 2;
    }

    .story-images {
        gap: 20px;
        margin-top: 40px;
    }

    /* コメント */
    .comment {
        padding: 30px 25px;
        font-size: 16px;
    }

    /* 新要素グリッド */
    .feature-grid {
        grid-template-columns: 1fr;
    }

    /* STORE */
    .shop-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .shop-card {
        padding: 30px 25px;
    }

    /* キャラクター */
    .character-item {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }

    .character-image {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .character-name {
        text-align: center;
        display: block;
    }

    .character-name-en {
        display: block;
        text-align: center;
        margin-top: 5px;
    }

    .sub-characters {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sub-character-item {
        padding: 20px;
    }

    .author-comment {
        margin-top: 20px;
        padding: 15px 20px;
    }

    /* システム */
    .system-list {
        gap: 50px;
    }

    .system-image {
        grid-template-columns: 1fr;
    }

    .system-placeholder {
        grid-template-columns: 1fr;
    }

    /* レガシーダウンロード */
    .legacy-row {
        flex-direction: column;
        gap: 15px;
    }
    .legacy-thumb {
        width: 200px;
    }
    .legacy-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .system-heading-en {
        font-size: 28px;
    }

    .system-heading-jp {
        font-size: 16px;
    }

    .system-content p {
        font-size: 14px;
    }

    /* ダウンロード */
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .download-button {
        width: 100%;
        max-width: 300px;
        min-width: unset;
    }

    .external-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .external-links a {
        width: 100%;
        max-width: 200px;
    }

    .update-item {
        padding: 20px;
    }

    /* 攻略 */
    .chapter-title {
        flex-direction: column;
        gap: 5px;
        padding: 15px 20px;
    }

    .chapter-number {
        font-size: 20px;
    }

    .chapter-name {
        font-size: 16px;
    }

    .chapter-content {
        padding: 0 15px;
    }

    .special-section {
        padding: 20px;
        margin: 30px 0;
    }

    .special-title {
        font-size: 16px;
    }

    .special-content {
        font-size: 14px;
    }

    /* FAQ */
    .faq-question,
    .faq-answer {
        padding: 20px;
        gap: 15px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-label {
        font-size: 20px;
    }

    .faq-content {
        font-size: 14px;
    }

    .faq-content ul {
        padding-left: 1.2em;
    }

    /* スタンプ */
    .stamp-container {
        gap: 40px;
        padding: 15px;
    }

    .table-section {
        padding: 20px;
    }

    .table-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .stamp-table {
        display: block;
        border: none;
    }

    .stamp-table thead {
        display: none;
    }

    .stamp-table tbody {
        display: block;
    }

    .stamp-table tr {
        display: block;
        background: #f2ece2;
        margin-bottom: 20px;
        padding: 15px;
        border: 1px solid rgba(138,109,59,0.15);
        border-radius: 8px;
    }

    .stamp-table td {
        display: block;
        width: 100%;
        padding: 8px 0;
        border: none;
        font-size: 14px;
    }

    .stamp-table td.col-number::before {
        font-weight: bold;
        color: #8a6d3b;
        display: inline-block;
        margin-right: 10px;
    }

    .stamp-table td.col-title::before {
        content: "スタンプ名";
        font-weight: bold;
        color: #8a6d3b;
        display: block;
        margin-bottom: 5px;
    }

    .stamp-table td.col-location::before {
        content: "場所";
        font-weight: bold;
        color: #8a6d3b;
        display: block;
        margin-bottom: 5px;
    }

    .stamp-table .col-number {
        width: auto;
        text-align: left;
        border-bottom: 1px solid rgba(138,109,59,0.1);
        padding-bottom: 12px;
        font-family: 'Crimson Pro', serif;
    }

    .stamp-table .col-title {
        width: auto;
        padding: 12px 0;
        border-bottom: 1px solid rgba(138,109,59,0.1);
    }

    .stamp-table .col-location {
        width: auto;
        padding-top: 12px;
    }

    .stamp-table tbody tr:hover {
        transform: translateY(-2px);
    }

    /* PV */
    .pviframe {
        width: 100%;
        height: 300px;
    }

    /* 受賞帯 */
    .award-banner p {
        font-size: 12px;
    }
}

@media (max-width: 640px) {
    .story-images {
        grid-template-columns: 1fr;
    }

    .news-item {
        padding: 20px 15px;
    }

    .comment {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .faq-item {
        margin-bottom: 20px;
    }

    .faq-question,
    .faq-answer {
        padding: 15px;
        gap: 10px;
    }

    .table-section {
        padding: 15px;
    }

    .stamp-table tr {
        padding: 12px;
    }

    .stamp-table td {
        font-size: 13px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-card h4 {
        font-size: 16px;
    }

    .section {
        padding: 30px 15px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .award-banner p {
        font-size: 11px;
    }

    .shop-card {
        padding: 25px 20px;
    }

    .shop-icon {
        font-size: 32px;
    }

    .shop-card h4 {
        font-size: 17px;
    }
}
