body {
    font-family: "Helvetica Neue",
        Arial,
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        Meiryo,
        sans-serif;
    background-color: #343132;
    margin: 0;
    padding: 1rem;
    /* 背景色を変更 */
    color: #f4f4f4;
    height: 100%;
}

.keyword-list .card {
    margin-bottom: 10px;
    background-color: #4a4a4a;
    /* カードの背景色を変更 */
    color: #f4f4f4;
    /* カードの文字色を変更 */
}

.keyword-list a {
    color: #f4f4f4;
    text-decoration: none;
}

.keyword-list :hover {
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.summary-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    margin-top: 5rem;
}

.summary-icon-container {
    position: absolute;
    top: -70px;
    /* 画像の高さに応じて調整 */
    left: 50%;
    transform: translateX(-50%);
}

.summary-icon {
    width: 80px;
    /* 画像のサイズに応じて調整 */
    height: 80px;
    /* 画像のサイズに応じて調整 */
    border-radius: 50%;
}

.comment-bubble {
    padding: 1.5em 1em 0.5em 1em;
    width: 90%;
    background-color: #4a4a4a;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.position-relative {
    position: relative;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: f4f4f4;
    padding: 5px 10px;
    border-radius: 0 0 10px 10px;
    font-size: 8px;
    text-align: center;
    width: 100%;
}

.comment-section {
    margin-bottom: 40px;
    /* コメントとリストの間に余白を追加 */
}

.footer {
    background-color: #343132;
    /* フッターの背景色を変更 */
    color: #f4f4f4;
    /* フッターの文字色を変更 */
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #555;
}


.date-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* 新しいスタイル */
.date-container input[type="date"] {
    color: #f4f4f4;
    /* テキストカラーを白に設定 */
    background-color: #333;
    /* 背景色をダークに設定（必要に応じて調整） */
    border: 1px solid #555;
    /* ボーダーの色を調整 */
    padding: 0.5rem;
    /* パディングを調整 */
    border-radius: 5px;
    /* 角を丸くする */
}

.date-container input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    /* カレンダーアイコンの色を反転 */
}

/* 選択できない部分のテキストカラーを白に設定 */
.date-container input[type="date"]::-webkit-datetime-edit-year-field,
.date-container input[type="date"]::-webkit-datetime-edit-month-field,
.date-container input[type="date"]::-webkit-datetime-edit-day-field,
.date-container input[type="date"]::-webkit-datetime-edit-text {
    color: #f4f4f4;
    /* テキストカラーを白に設定 */
}

/* カレンダーのスタイルをカスタマイズ */
#date-picker {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f4f4f4;
    z-index: 1000;
    background-color: #343132;
    border: 1px solid #555;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

/* アコーディオンのスタイル */
details {
    margin-top: 20px;
    border-radius: 5px;
    padding: 10px;
    background-color: #343132;
}

summary {
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    background-color: #343132;
    border-radius: 5px;
}

/* カードのスタイル */
.card {
    border: 1px solid #555;
    border-radius: 5px;
    padding: 10px;
    background-color: #343132;
}

.card-title {
    font-size: 1.2em;
}

.card-link {
    color: #f4f4f4;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
    color: #f4f4f4;
}

.category {
    padding: 15px;
    margin-bottom: 20px;
}

.pills .badge {
    margin: 5px;
    font-size: 1.1em;
    /* フォントサイズを調整 */
    padding: 10px;
    /* パディングを調整 */
    font-weight: normal;
    /* 太字を解除 */
    color: #f4f4f4;
    /* 文字色を変更 */
    background-color: #555;
    /* 背景色を変更 */
}