body {
    font-family: sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f0f2f5; /* 少し変更 */
    color: #333;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    background-color: #fff;
    padding: 20px 30px; /* 少し調整 */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* 少し強めに */
    width: 100%;
    max-width: 800px; /* 少し広げる */
}

h1, h2, h3 {
    color: #333;
    text-align: left; /* 左寄せ基本に */
}
h1 { text-align: center; margin-bottom: 25px; }
h2 { margin-top: 30px; border-bottom: 2px solid #007bff; padding-bottom: 8px; }
h3 { margin-top: 20px; font-size: 1.1em; color: #555;}


#uploadForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

#uploadForm input[type="file"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
}

button {
    padding: 10px 18px; /* 少し調整 */
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px; /* 少し調整 */
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

button:hover:not(:disabled) { /* disabledでないときだけhover効果 */
    background-color: #0056b3;
}

button:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.7;
}

.status-message { /* #status と #minutesStatus に適用 */
    margin-top: 5px;
    margin-bottom: 15px;
    font-weight: bold;
    min-height: 20px; 
}
#status { text-align: center; } /* 認識ステータスは中央寄せ継続 */


/* 共通のボックススタイル */
.result-box {
    border: 1px solid #ddd;
    padding: 15px;
    min-height: 80px; /* 少し小さく */
    background-color: #fdfdfd;
    border-radius: 4px;
    white-space: pre-wrap; 
    word-wrap: break-word;
    margin-bottom: 20px;
    max-height: 300px; /* 長文スクロール用 */
    overflow-y: auto;   /* 長文スクロール用 */
}
.result-box p:first-child { margin-top: 0; }
.result-box p:last-child { margin-bottom: 0; }


.segment {
    padding: 6px 8px; /* 少し調整 */
    margin-bottom: 6px;
    border-radius: 3px;
    background-color: #f0f0f0; /* 少し調整 */
    font-size: 0.95em;
}
.segment:nth-child(even) {
    background-color: #e9e9f9; /* 少し調整 */
}

/* セクションごとの区切り */
.section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ccc;
}
.section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* 議事録作成ボタン周り */
#createMinutesButton {
    margin-right: 10px; /* ステータスとの間隔 */
}
#minutesStatus {
    display: inline; /* 横並びにするため */
    font-weight: normal;
    color: #007bff;
}

/* === ここから追記 === */
.notes {
    background-color: #fffbe6; /* やや黄色がかった背景で注意を促す */
    border: 1px solid #ffe58f;
    border-left: 5px solid #ffc107; /* 左側にアクセントボーダー */
    padding: 10px 15px;
    margin-bottom: 20px; /* フォームとの間隔 */
    border-radius: 4px;
    font-size: 0.9em;
}

.notes p strong {
    color: #333;
    display: block; /* 見出しをブロック要素にしてマージンを取りやすくする */
    margin-bottom: 5px;
}

.notes ul {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 20px; /* 箇条書きのインデント */
    list-style-type: disc; /* 通常の黒丸 */
}

.notes li {
    margin-bottom: 5px;
    color: #555;
}

.notes li:last-child {
    margin-bottom: 0;
}
/* === ここまで追記 === */

/* ヘッダー */
.site-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.site-header img {
    max-width: 300px;
    width: 80%;
    height: auto;
}

/* サイトマップテーブル */
.tbl-r02 {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.9em;
}
.tbl-r02 th, .tbl-r02 td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: middle;
}
.tbl-r02 th {
    background-color: #f7f7f7;
    width: 120px;
    font-weight: bold;
}
.tbl-r02 td a {
    color: #007bff;
    text-decoration: none;
}
.tbl-r02 td a:hover {
    text-decoration: underline;
}