body {
    display: flex;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.image-container {
    position: relative;
    display: inline-block;
}

.thumbnail {
    width: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fullsize {
    width: 500px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.hidden {
    display: none;
}

#projectControls {
    margin-top: 10px;
}

#project-list {
    list-style-type: none;
    padding: 0;
}

#project-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

#project-list li:hover {
    background-color: #f0f0f0;
}

.delete-button {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 5px;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.delete-button:hover {
    background-color: #e60000;
}

.container {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}

.container.left {
    border-right: 1px solid #ccc;
    flex-basis: 50%;
    overflow: hidden;
}

.container.right {
    overflow: auto;
    flex-basis: 50%;
}

.fixed-header, .fixed-footer {
    position: sticky;
    background-color: white;
    z-index: 0;
}

.fixed-header {
    top: 0;
    padding-bottom: 10px;
}

.fixed-footer {
    bottom: 0;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.script-container {
    overflow-y: auto;
    flex: 1;
    padding-bottom: 100px;
}

.script-line {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.script-line select,
.script-line textarea,
.script-line span {
    margin-right: 10px;
}

.script-line button {
    margin-right: 5px;
}


#character-list {
    width: 200px;
    height: 100px;
}

#update-button {
    margin-bottom: 20px;
}

.total-char-count {
    margin-left: 10px;
    font-weight: bold;
}

.mindmap-node {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 5px;
    display: inline-block;
    cursor: pointer;
    background-color: #f9f9f9;
    position: relative;
}

.mindmap-node:hover {
    background-color: #e0e0e0;
}

.mindmap-node button {
    position: absolute;
    top: 5px;
    right: 5px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    color: #999;
    font-size: 12px;
}

.mindmap-node button:hover {
    color: #666;
}

.mindmap-node .delete-button {
    top: 25px;
}

.script-line textarea {
    width: calc(26ch + 2rem);
    height: 2em;
    resize: none;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

/* フッター帯のスタイル */
.footer-band {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.footer-band button {
    background-color: #555;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.footer-band button:hover {
    background-color: #777;
}
.attention-message {
    font-size: 0.9em;  /* 文字サイズを少し小さく */
    color: #ff4500;  /* 明るい赤色で目立たせる */
    font-weight: bold;  /* 太字にする */
    background-color: #fffacd;  /* 薄い黄色の背景色を追加 */
    padding: 10px;  /* 内側に余白を追加 */
    border: 2px solid #ff4500;  /* 赤い枠線を追加 */
    border-radius: 5px;  /* 角を丸く */
    text-align: center;  /* テキストを中央寄せ */
    margin-bottom: 15px;  /* 下部に余白を追加 */
}
