/* ------------------------------
   基本設定
------------------------------ */
body {
    font-family: "Helvetica", "Arial", sans-serif;
    background: #fafafa;
    margin: 0;
    padding: 20px;
    color: #333;
}

/* タイトル */
h1, h2, h3 {
    font-weight: 600;
    color: #444;
    margin-bottom: 15px;
}

/* ------------------------------
   カードレイアウト
------------------------------ */
.card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

/* ------------------------------
   ボタン
------------------------------ */
button, .btn {
    background: #ff8fb1;
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
}

button:hover, .btn:hover {
    background: #ff6f9c;
}

/* ------------------------------
   入力フォーム
------------------------------ */
input[type="text"],
input[type="number"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 15px;
    background: #fff;
}

/* ------------------------------
   テーブル
------------------------------ */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

table th {
    background: #ffe3ec;
    padding: 10px;
    border-bottom: 2px solid #ffb6d2;
    text-align: left;
}

table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

/* ------------------------------
   グリッド（一覧ページ用）
------------------------------ */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.grid .item {
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* ------------------------------
   ナビゲーション
------------------------------ */
.nav {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.nav a {
    background: #ffd1e0;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #444;
    font-weight: 500;
}

.nav a:hover {
    background: #ffb6d2;
}

/* ------------------------------
   ライトボックス（画像・動画）
------------------------------ */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
}

#lightbox img,
#lightbox iframe {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}