/* dialogue-box.css */
body {
    background-color: #a1b9c9;
    color: #1f1930;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.dialogue-container {
    max-width: 800px;
    width: 100%;
}

.dialogue-box {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
    background-color: #1f1930;
    border: 2px solid #f9f9f9;
    padding: 15px;
}

.image-placeholder {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.image-placeholder img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.text-content {
    background-color: #e0e0e0;
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.character-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.text-body {
    line-height: 1.4;
}

/* 左側のキャラクターのスタイル */
.dialogue-box.left {
    flex-direction: row;
color: #523333;
}

/* 右側のキャラクターのスタイル */
.dialogue-box.right {
    flex-direction: row;
    color: #5c54a7;
}

.jinobun {
    margin: 25px auto;
    padding: 20px;
    max-width: 600px;
    background-color: #1f1930;
    color: #e0e0e0;
    border: 4px solid #e0e0e0;
    text-align: center;
    line-height: 1.4;
}

.jinobun p {
    margin: 0;
    line-height: 1.5;
}

.red {
    color: rgb(199, 17, 17);
}

.link-like {
    color: #7282c8;
    text-decoration: underline;
    margin: 0 5px;
    cursor: pointer;
}

.link-like:hover {
    color: rgb(199, 17, 17);
}

.small {
    font-size: small;
}

.imgilu{
    text-align: center;
}