/* ベーススタイル */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5; /* 明るい背景色 */
    color: #333; /* 視認性の高いテキスト色 */
    margin: 0;
    padding: 0;
}

/* コンテナ */
.container {
    max-width: 800px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 柔らかいシャドウ */
    padding: 20px;
}

/* 見出し */
h1, h2, h3 {
    color: #222;
    font-weight: 600;
    margin-bottom: 15px;
}

/* テキスト */
p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* ボタン */
button {
    background-color: #4CAF50; /* アクセントカラー */
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049; /* ホバーカラー */
}

/* 入力フィールド */
input, textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
}

/* カードスタイル */
.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 20px;
}

/* モバイル対応 */
@media (max-width: 600px) {
    .container {
        padding: 15px;
        margin: 10px;
    }

    button {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* 表全体に丸みをつける */
table {
    width: 100%; /* 全幅 */
    border-collapse: separate; /* セル間に余白をつけるために separate */
    border-spacing: 0; /* セル間のスペースをなくす */
    border-radius: 12px; /* 表全体に丸み */
    overflow: hidden; /* 丸みを表示するために必要 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 軽いシャドウ */
}

/* テーブルのセル */
th, td {
    padding: 10px;
    border: 1px solid #ddd; /* セルのボーダー */
}

/* テーブルのヘッダー */
th {
    background-color: #f0f0f0; /* ヘッダーの背景色 */
    font-weight: bold;
}

/* カードや枠用のスタイル */
.card, .box {
    border-radius: 12px; /* 角を丸く */
    border: 1px solid #ddd; /* 外枠 */
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 軽いシャドウ */
    background-color: #fff; /* 背景色 */
}

/* 吹き出し全体 */
.comment-bubble {
    position: relative;
    background-color: #f1f1f1; /* 吹き出しの背景色 */
    border-radius: 15px; /* 角を丸く */
    padding: 10px 15px;
    margin: 10px 0;
    display: inline-block;
    max-width: 80%; /* 吹き出しの幅 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 軽いシャドウ */
}

/* 吹き出しの矢印部分 */
.comment-bubble::after {
    content: '';
    position: absolute;
    bottom: 0; /* 矢印を下に配置 */
    left: 20px; /* 矢印の左側の位置 */
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #f1f1f1; /* 吹き出しと同じ色 */
    border-bottom: 0;
    margin-left: -10px;
    margin-bottom: -10px;
}

/* コメントの作者を表示するスタイル */
.comment-author {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

/* コメント本文 */
.comment-text {
    margin-top: 5px;
    line-height: 1.4;
}

.custom-form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.custom-form-container label {
    margin-bottom: 5px;
    text-align: left;
    width: 100%;
}

.custom-form-container input,
.custom-form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.custom-form-container input[type="submit"] {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}


#calendar-container {
    width: 80%;
    margin: 0 auto;
}

#calendar-content {
    margin-top: 20px;
}

#event-list {
    margin-top: 30px;
}

#event-list a {
    color: #0073aa;
}