@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

/* 全体のスタイル */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 上下に要素を配置 */
}

/* コンテンツエリアの下部にフッターのスペースを確保 */
.container {
    background-color: white;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding:50px 20px 100px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    flex-grow: 1;
}

/* 見出しと画像のレイアウト */
h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-size: 24px;
    font-weight: 700;
    position: relative;
}

h1::before {
    content: '';
    display: inline-block;
    width: 60px;
    height: 60px;
    background-image: url('https://bonworld.jp/img/event_icon.png');
    background-size: cover;
    border-radius: 22%; /* 角丸をiPhoneのアイコン風に */
    margin-right: 15px; /* アイコンとテキストの間隔を調整 */
}

/* pタグのスタイルを移動 */
p {
    text-align: center;
    font-size: 90%;
}

/* 入力フィールドのデザイン */
.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.input-group label {
    font-weight: 500;
    color: #555;
    margin-bottom: 5px;
}

.input-group select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f0f8ff;
}

/* 表形式のイベントリスト */
/* Google Fonts 読み込み */
@import url("https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap");

table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    border: 2px solid #007BFF;
    border-radius: 10px;
    overflow: hidden;
    font-family: 'Share Tech Mono', monospace;
}

th, td {
    padding: 12px;
    text-align: center;
    border: 2px solid #ffffff; /* 各セルに薄い1pxの線 */
}

th {
    background-color: #333; 
    color: #f5f7fa;
}

tr:nth-child(even) {
    background-color: #f5f7fa; /* 非常に淡い色 */
}

tr:nth-child(odd) {
    background-color: #f0f0f0; 
}


@media (max-width: 600px) {
    .container {
        padding: 50px 15px 100px;
    }
    h1 {
        font-size: 20px;
    }
}

/* 共通イベントの背景色 */
.common-event {
    background-color: #f8d7da; /* 淡い赤色 */
}