/* 見た目を整えるための簡単なCSS */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    background-color: #f9f9f9;
}
h1 {
    color: #1a1a1a;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}
h2 {
    color: #444;
    font-size: 1.2em;
}
#downloads-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.category {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
/* ===== Select Box のスタイル調整 ===== */
.download-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}
/* セレクトボックスの基本スタイル */
select.version-select {
    /* ダウンロードボタンの高さに合わせる */
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    font-size: 16px;
    cursor: pointer;
    /* 必要に応じて幅を調整 */
    min-width: 150px;
    /* デフォルトの矢印を非表示にしたい場合は appearance: none; を追加 */
    /* appearance: none; */
}
select.version-select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}
a.download-button {
    display: inline-block;
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s;
    cursor: pointer; /* クリックできることを示す */
}
a.download-button:hover {
    background-color: #0056b3;
}
/* ダウンロード中のスタイル */
a.download-button.is-downloading {
    background-color: #5a6268;
    pointer-events: none; /* 連続クリックを防止 */
}
p.no-file {
    color: #888;
}
#updated-date {
    text-align: right;
    color: #666;
    font-size: 0.9em;
}
/* ===== フッターのスタイル ===== */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    background-color: #f8f9fa;
    color: #6c757d;
    font-family: sans-serif;
    border-top: 1px solid #e7e7e7;
}
/* コピーライトのテキスト */
.copyright {
    margin: 0;
    font-size: 14px;
}
/* GitHubのリンク全体 */
footer a {
    display: inline-flex; /* アイコンとテキストをきれいに中央揃えにする */
    align-items: center;   /* 垂直方向の中央揃え */
    gap: 8px; /* アイコンとテキストの間のスペース */
    color: inherit;
    text-decoration: none;
}
/* アイコンのスタイル */
footer .fa-github {
    font-size: 24px; /* アイコンのサイズ */
}
/* テキストのスタイル */
footer a span {
    font-size: 14px; /* 文字のサイズ */
    text-decoration: underline;
}
