/* styles.css */
body {
    font-family: 'LINE Seed JP', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    /* ロゴとナビを中央寄せ */
}

.logo-container {
    margin-bottom: 1rem;
}

.site-logo {
    max-width: 200px;
    /* ロゴの最大幅を指定 */
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 1rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

main {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

h1,
h2,
h3 {
    color: #2c3e50;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th,
td {
    border: 1px solid #ddd;
    padding: 0.5rem;
    text-align: left;
}

th {
    background: #f4f4f4;
}

.timeline-item,
.summary-item,
.diary-entry {
    border-left: 2px solid #3498db;
    padding-left: 1rem;
    margin-bottom: 2rem;
}

footer {
    text-align: center;
    padding: 1rem;
    background: #f4f4f4;
    margin-top: 2rem;
}

.voice-cta {
    margin-top: 1rem;
    font-weight: bold;
}

.voice-cta a {
    color: #3498db;
    text-decoration: underline;
}

/* 日記用スタイル */
.diary-entries {
    margin-top: 2rem;
}

#diary-search {
    padding: 0.5rem;
    width: 60%;
    margin-right: 1rem;
}

button {
    padding: 0.5rem 1rem;
    cursor: pointer;
}

/* 皆様の声 (Voices) スタイル */
.filter-controls {
    margin-bottom: 2rem;
    text-align: center;
}

.filter-btn {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

.voice-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.voice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.voice-date {
    font-size: 0.9rem;
    color: #888;
}

.voice-status {
    padding: 0.25rem 0.8rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    color: #fff;
}

.status-doing {
    background-color: #e74c3c;
}

/* Red for Doing */
.status-consider {
    background-color: #f1c40f;
    color: #333;
}

/* Yellow for Consider */
.status-done {
    background-color: #3498db;
}

/* Blue for Done */

.voice-user {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: bold;
}

.user-icon {
    margin-right: 0.5rem;
}

.voice-content {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
}

.voice-content::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    border-width: 0 10px 10px;
    border-style: solid;
    border-color: #f9f9f9 transparent;
    display: block;
    width: 0;
}

.voice-response {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.response-label {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}