@charset "UTF-8";

.novel {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 16px;
    color: #eee;
    line-height: 1.8;
}

.title {
    text-align: center;
    margin: 60px auto;
    padding: 28px 20px;
    font-size: 1.9rem;
    font-family: "Yu Mincho", serif;
    letter-spacing: 0.12em;
    color: #e6d8a8;
    background: linear-gradient(
        135deg,
        #0f2e24,
        #1c4d3c
    );
    border: 3px solid #c6a756;
    border-radius: 12px;
    box-shadow:
        0 0 25px rgba(198,167,86,0.4),
        inset 0 0 30px rgba(0,0,0,0.5);
}

.title {
    text-shadow:
        0 0 6px rgba(198,167,86,0.6),
        0 0 12px rgba(198,167,86,0.3);
}

.novel h2{
    margin: 60px 0 30px;
    padding: 8px 16px;
    font-family: "Yu Mincho", serif;
    font-size: 1.4rem;
    font-weight: normal;
    color: #e6d8a8;
    letter-spacing: 0.08em;
    border-left: 4px solid #c6a756;
    border-bottom: 1px solid rgba(198,167,86,0.35);
    background: linear-gradient(
        90deg,
        rgba(198,167,86,0.08),
        rgba(198,167,86,0)
    );
    text-shadow: 0 0 4px rgba(198,167,86,0.3);
    margin-top: 80px;
}

.talk {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.talk.right {
    flex-direction: row-reverse;
}

.talk img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: #222;
}

.text-body {
    background: #4f4f4f;
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 90%;
    margin: 20px 0;
}

.talk p {
    background: #222;
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 70%;
}

.talk.right p {
    background: #333;
}

.center {
    text-align: center;
}

@media (max-width: 768px) {

.talk {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-width: 0;
}

.talk p {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}
}