/* 全体 */
body {
    margin: 0;
    font-family: sans-serif;
    background-color: #4e2613;
}

/* ヘッダー */
.header-image {
    display: block;
    width: 100%;
    height: auto;
}

/* ヘッダー下のメニュー */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    justify-content: center;

    border-top: 4px solid #4e2613;
    border-bottom: 4px solid #4e2613;

    background-color: #d3ae6f;
    height: 50px;
}

/* ボタン */
.nav-list li {
    border-left: 2px solid #4e2613;
    border-left: 2px solid #4e2613;
    flex: 1;
}

/* ボタンの中のリンク */
.nav-list a {
    display: flex;

    width: 100%;
    height: 100%;

    justify-content: center;
    align-items: center;

    text-decoration: none;
    color: #4e2613;
}

.nav-list a:hover {
    background-color: #d36922;
    color: #f1ede4;
}

.nav-list li:last-child {
    border-right: 2px solid #4e2613;
}

.nav-list a.target {
    background-color: #d36922;
    color: #f1ede4;
}

/* セクション */
.content-section {
    width: 80%;
    max-width: 900px;
    margin: 50px auto;
    padding: 0px 30px 30px 30px;
    background-color: #f1ede4;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    color: #4e2613
}

.content-section li {
    margin-left: 50px;
}

/* セクションのタイトル */
.section-title {
    display: flex;
    align-items: flex-end;

    font-size: 2rem;
    margin-bottom: 20px;

    border-bottom: 3px solid #4e2613;
    padding-bottom: 10px;

    color: #4e2613;
}

/* セクションタイトルのアイコン */
.section-title img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 10px;
}

/* 画像 */
.section-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
}

/* 会話風の画像 */
.comment {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* みのむしの大きさ */
.section-image-minomushi {
    width: 30%;
    max-width: 100px;
    height: auto;
}

.speech {
    padding: 40px 60px;
    background-image: url("../images/index/speech.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;

    box-sizing: border-box;
    flex: 1;
}

.speech>img {
    width: 100%;
    height: auto;
    display: block;
}

.speech>p {
    padding: 0 10%;
}

.speech .section-text {
    margin: 0 0 1em 0;
    line-height: 1.6;
}

.speech .section-text:last-child {
    margin-bottom: 0;
}

/* スマホ用 */
@media (max-width: 600px) {
    .comment {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .speech {
        background-image: none;
        padding: 0;
    }

    .speech>p {
        padding: 0;
    }
}

#greeting {
    white-space: pre-line;
}

/* ニュースセクションのテキスト */
.news-text {
    max-height: 200px;
    overflow-y: auto;
}

/* おみくじ*/
.fortuneResult {
    font-size: 5rem;
    font-weight: bold;
    margin: 0;
}

button {
    background-color: #d3ae6f;
    color: #4e2613;
    width: 100%;
    height: 150%;
}

button:hover {
    background-color: #d36922;
    color: #f1ede4;
}

.fortune-result-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.fortune-resultA {
    font-size: 2rem;
    margin: 0;
}

/* フッター */
.footer {
    text-align: center;
    padding: 3px;
    background-color: #d3ae6f;
    color: #4e2613;
}

/* SNS用 */
.icon-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

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

/* TRPG */
details ul {
    padding-left: 0px;
    margin-top: 0px;
}

details li {
    padding-left: 0px;

}