:root {
    --black: #1a1a1a;
    --gold: #c5a059;
    --light-gray: rgba(255, 255, 255, 0.1); /* テーブルの偶数行を半透明の白に */
    --border-gray: rgba(255, 255, 255, 0.2); /* 境界線もうっすら白い線に変更 */
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #ffffff; /* ページ全体のデフォルト文字色を白に変更 */
    margin: 0;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-height: 100vh;
    box-sizing: border-box;

    /* --- 背景画像の設定 --- */
    background-image: url('plane_P-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* 背景画像の上に半透明の黒を重ねるレイヤー（透過率の調整用） */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 写真をシックに沈め、白文字を際立たせるため少し暗め（0.5）に設定しています */
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: -1;
}

/* ヘッダー（黒背景・白文字の白抜きデザイン） */
h2 {
    width: 100%;
    max-width: 1000px;
    background-color: rgba(26, 26, 26, 0.85); /* 少しだけ透明感を持たせた黒背景 */
    color: #ffffff;
    padding: 20px 25px;
    border-left: 6px solid var(--gold);
    font-size: 1.4rem;
    font-weight: normal;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    box-sizing: border-box;
}

/* セクション共通 */
.search-section, .table-wrapper {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 20px;
}

/* 検索エリア（入力欄を暗めの半透明にして白文字に） */
input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-gray);
    box-sizing: border-box;
    outline: none;
    background-color: rgba(0, 0, 0, 0.6); /* 暗い半透明の背景 */
    color: #ffffff; /* 入力文字を白に */
}
input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.6); /* プレースホルダーの文字は少し薄めの白に */
}
input[type="text"]:focus {
    border-color: var(--gold);
}

/* テーブル（全体を半透明の黒ベースで統一） */
.table-wrapper {
    overflow-x: auto;
    border-top: 2px solid var(--gold);
    background-color: rgba(26, 26, 26, 0.85); /* テーブル全体の背景を黒ベースに */
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: rgba(0, 0, 0, 0.9);
    color: var(--gold); /* ヘッダーの文字色をゴールドにしてより高級感を演出 */
    padding: 12px;
    text-align: left;
    font-weight: normal;
    border-bottom: 1px solid var(--border-gray);
}

td {
    padding: 12px;
    border-bottom: 1px solid var(--border-gray);
    color: #ffffff; /* セルの文字を白に */
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05); /* 偶数行はうっすらと白を重ねる */
}

/* 区分ごとのゴールドアクセント */
tr.row-baibai { border-left: 4px solid var(--gold); }

/* その他 */
.placeholder {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.7); /* 「ファイルが読み込まれていません」などの文字を白系に */
}

.btn-back {
    display: inline-block;
    margin-top: 20px;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid #ffffff;
}
.btn-back:hover {
    color: var(--gold);
    border-color: var(--gold);
}