@charset "UTF-8";

/* --- 変数定義 --- */
:root {
    --primary-color: #2563eb;
    --accent-color: #f59e0b;
    --bg-base: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* --- ダークモード --- */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-base: #0f172a;
        --bg-card: #1e293b;
        --text-main: #f1f5f9;
        --text-muted: #94a3b8;
        --border: #334155;
        --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    }
}

/* --- 基本スタイル --- */
body {
    margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Segoe UI", sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.7;
    transition: background-color 0.3s, color 0.3s;
}

.inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
  outline-color: transparent;
}
a:link {
  color: #ffffff;
}
a:visited {
  color: #fff;
}
a:focus {
  text-decoration: none;
  background-color: #ccffcc;
}
a:hover {
  text-decoration: none;
  background-color: #ccffcc;
}
a:active {
  background-color: #ccffcc;
  color: #fff;
}

/* --- ヘッダー --- */
.hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 { font-size: 2.5rem; margin: 0; }
.subtitle { opacity: 0.8; font-size: 1.2rem; }

/* --- テーブル --- */
.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

th, td {
    padding: 15px;
    border: 1px solid var(--border);
    text-align: left;
}

th { background-color: var(--primary-color); color: white; border: none; }

/* --- カードレイアウト --- */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.card.highlight {
    border: 2px solid var(--primary-color);
    position: relative;
}

.tag {
    display: inline-block;
    padding: 2px 10px;
    background: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* --- 2026年セクション --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.grid-item {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
    border-top: 4px solid var(--accent-color);
}

/* --- フッター --- */
footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
}

/* --- アニメーション --- */
.card {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
    transform: translateY(-5px);
}
