/* 全体のスタイルリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}

/* ヘッダー */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #000;
    color: #fff;
}

.logo h1 {
    font-size: 2rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* フッター */
footer {
    padding: 1rem;
    background-color: #000;
    color: #fff;
    text-align: center;
}

footer nav ul {
    list-style: none;
    padding: 0;
}

footer nav ul li {
    display: inline;
    margin: 0 1rem;
}

footer nav ul li a {
    color: #fff;
    text-decoration: none;
}

footer nav ul li a:hover {
    text-decoration: underline;
}

/* システムステータスページ */
.status-section {
    padding: 2rem;
    text-align: center;
    background-color: #f2f2f2;
    min-height: 100vh;
}

.status-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.status-cards, .cyber-security {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.status-card, .cyber-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    width: 300px;
    text-align: center;
}

.status-card h3, .cyber-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.status-indicator {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0.5rem;
    border-radius: 5px;
}

.status-indicator.active {
    background-color: #28a745;
    color: #fff;
}

.status-indicator.inactive {
    background-color: #dc3545;
    color: #fff;
}

/* サイバーセキュリティセクション */
.cyber-security {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #e9ecef;
    border-radius: 10px;
    flex-wrap: wrap;
    text-align: center; /* 見出しと内容を中央揃えに */
}

.cyber-card h3 {
    text-align: center; /* 見出しを中央に揃える */
}

.attack-count {
    font-size: 2rem;
    color: #dc3545;
    font-weight: bold;
}

.attack-types {
    list-style: none;
    padding: 0;
}

.attack-types li {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* メディアクエリでレスポンシブ対応 */
@media (max-width: 768px) {
    .status-cards, .cyber-security {
        flex-direction: column;
        align-items: center;
    }
}
