/* 全体の基本設定 */
body {
    background-color: #000000;
    color: #ffffff;
    font-family: "Noto Sans JP", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.8;
}

/* コンテンツの中央寄せ設定 */
body > section {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 5%;
    box-sizing: border-box;
}

/* aタグのスタイル */
a {
    color: #ffffff;
    text-decoration: underline;
    display: block; /* 中央寄せを有効にするため */
    width: fit-content;
    margin: 10px 0;
}

a:hover {
    text-decoration: none;
    opacity: 0.7;
}

/* h1見出しの1文字目を赤く */
h1 {
    margin-top: 50px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

h1::first-letter {
    color: #ff0000;
}

h2 {
    margin-top: 30px;
    color: #eeeeee;
}

/* テーブルのレスポンシブ対応 */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border: 1px solid #444;
}

table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap; /* スクロールさせるために改行を防ぐ */
}

th, td {
    border: 1px solid #444;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #222;
}

/* 画像スタイル */
.standard-img {
    width: 100%;
    height: auto;
    margin: 20px 0;
    display: block;
}

/* ワイプアニメーション（下からふわっと） */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ページトップボタン */
.pagetop-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    opacity: 0;
    transition: opacity 0.3s;
    width: 100px;
    z-index: 100;
    text-decoration: none;
}

.pagetop-btn img {
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .pagetop-btn {
        width: 65px;
        right: 40px;
        bottom: 40px;
    }
}

