/* ===== BASIC CSS===== */
.center-text {
    text-align: center;
}
.left-text {
    text-align: left;
}
.right-text {
    text-align: left;
}

/* ===== BASE ===== */
/* すべての要素の幅計算を「余白込み」に統一する設定 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: transparent;
}

/* ===== Matrix 背景 ===== */
#matrix {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* 背景ぼやけ演出 */
#matrix {
    filter: blur(0.75px);
}

@media (max-width: 600px) {

    /* 背景のCanvasを非表示にする */
    #matrix {
        display: none !important;
    }

    body {
        background-color: #f7fcfe;
        /* またはサイトの基調となる色 */
    }
}

/* ===== 前景ラッパー（修正） ===== */
.page-wrapper {
    position: relative;
    z-index: 1;
    /* ここから追加：フッター固定のための設定 */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* 画面の高さ分を最低限確保する */
}