/* 全体のスタイル */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    padding: 20px;
    background-color: #f9f9f9;
}

h1 {
    color: #333;
}

.navbar {
    overflow: hidden;
    background-color: #333;
}

.navbar a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
}

.navbar a:hover {
    background-color: #ddd;
    color: black;
}

.container {
    padding: 20px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); /* Subtler shadow */
}

.footer {
    margin-top: 20px;
    text-align: center;
    color: #777;
}

/* 重要なお知らせのスタイル */
.important-updates {
    margin-top: 30px;
    padding: 15px;
    background-color: #f5f5f5; /* Subtle background */
    border-left: 4px solid #3F7735; /* 松葉色 */
    border-radius: 4px;
}

.important-updates h2 {
    color: #3F7735; /* 松葉色 */
    margin-bottom: 10px;
    font-size: 1.2em; /* Slightly smaller heading */
}

.important-entry {
    display: flex;
    align-items: flex-start; /* Align date and message at the top */
    margin-bottom: 10px; /* Add spacing between entries */
}

.important-date {
    flex-shrink: 0; /* Prevent date from shrinking */
    width: 150px; /* Set a fixed width for the date column */
    padding-right: 10px; /* Add some space between date and message */
}

.important-message {
    flex-grow: 1; /* Allow message to take the remaining space */
    word-wrap: break-word; /* Ensure long messages wrap within the container */
}


/* 更新情報（新規データ追加）のスタイル */
.update-log {
    margin-top: 30px;
    padding: 15px;
    background-color: #f5f5f5; /* Subtle background */
    border-left: 4px solid #3F7735; /* 松葉色 */
    border-radius: 4px;
}

.update-log h2 {
    color: #3F7735; /* 松葉色 */
    margin-bottom: 10px;
    font-size: 1.2em; /* Slightly smaller heading */
}

.update-log p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 5px;
}

.update-log ul {
    list-style-type: disc;
    padding-left: 20px;
}

.update-log li {
    margin-bottom: 5px;
}

.update-entry {
    display: flex;
    align-items: flex-start; /* Align date and message at the top */
    margin-bottom: 10px; /* Add spacing between entries */
}

.update-date {
    flex-shrink: 0; /* Prevent date from shrinking */
    width: 150px; /* Set a fixed width for the date column */
    padding-right: 10px; /* Add some space between date and message */
}

.update-message {
    flex-grow: 1; /* Allow message to take the remaining space */
    word-wrap: break-word; /* Ensure long messages wrap within the container */
}


/* 開発情報のスタイル */
.develop-updates {
    margin-top: 30px;
    padding: 15px;
    background-color: #f5f5f5; /* Subtle background */
    border-left: 4px solid #3F7735; /* 松葉色 */
    border-radius: 4px;
}

.develop-updates h2 {
    color: #3F7735; /* 松葉色 */
    margin-bottom: 10px;
    font-size: 1.2em; /* Slightly smaller heading */
}

.develop-entry {
    display: flex;
    align-items: flex-start; /* Align date and message at the top */
    margin-bottom: 10px; /* Add spacing between entries */
}

.develop-date {
    flex-shrink: 0; /* Prevent date from shrinking */
    width: 150px; /* Set a fixed width for the date column */
    padding-right: 10px; /* Add some space between date and message */
}

.develop-message {
    flex-grow: 1; /* Allow message to take the remaining space */
    word-wrap: break-word; /* Ensure long messages wrap within the container */
}



/* テーブルのスタイル */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 12px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 6px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

/* ページネーションのスタイル */
.pagination {
    display: inline-block;
    margin-top: 20px;
}

.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
    margin: 0 4px;
}

.pagination a.active {
    background-color: #3F7735; /* 松葉色 */
    color: white;
    border: 1px solid #3F7735;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}

.back-link {
    display: inline-block;
    margin-bottom: 15px;
    color: #3F7735; /* 松葉色 */
    text-decoration: none;
    font-size: 0.95em;
}

.back-link:hover {
    text-decoration: underline;
}