* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    min-height: 100vh;
    justify-content: center;
}

.container {
    width: 100%;
    /* height: 200px; */
    height: 555x;
    margin-top: 100px;
    background: #727984;
    position: relative;
}

.wave {
    width: 100%;
    /* height: 100px; */
    height: 100%;
    /* background: url('images/wave.png'); */
    /* background: url('images/aki-impact.jpg'); */
    background: url('images/bg2.jpeg');

    /* background-size: 1000px 100px; */
    /* background-size: 508px 555px; アキの場合 */
    background-size: 600px 400px;
    background-repeat: no-repeat;
    position: absolute;
    top: -100px;
}

.wave1 {
    opacity: 0.6;
    animation: wave 3s;
}

.wave2 {
    opacity: 0.7;
    animation: wave 4s;
}

.wave3 {
    opacity: 0.8;
    animation: wave 5s;
}

.wave4 {
    opacity: 1;
    animation: wave 6s;
}

@keyframes wave {
    0% {
        background-position: 500px;
    }
    100% {
        background-position: 0;
    }
}
/* --- ボタンの修正 --- */
.custom-btn {
    position: fixed; /* 画面に固定 */
    top: 20px; /* 上から20px */
    left: 50%; /* 中央寄せの起点 */
    transform: translateX(-50%); /* 自身の幅の半分戻して完全に中央へ */

    padding: 10px 24px;
    background-color: #ffffff;
    color: #3586ff;
    border: 2px solid #3586ff;
    border-radius: 30px; /* 少し丸みを持たせると今風です */
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    /* 波よりも手前に持ってくるための設定 */
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* 浮いている感を出して視認性アップ */
}

.custom-btn:hover {
    background-color: #3586ff;
    color: #ffffff;
}

/* --- ソース表示（フッター）の強制固定 --- */
#source {
    position: fixed; /* 画面に対して固定 */
    bottom: 0; /* 最下部に配置 */
    left: 0; /* 左端から */
    width: 100%; /* 横幅いっぱい */
    background-color: rgba(
        255,
        255,
        255,
        0.8
    ); /* 背景を少し透過させて読みやすく */
    padding: 10px; /* 内側の余白 */
    text-align: center; /* 文字を中央寄せ */
    z-index: 10000; /* ボタン(9999)より手前、または同等に設定 */
    font-size: 12px; /* スマホで見やすいサイズ */
    border-top: 1px solid #ccc;
}

#source a {
    color: #3586ff;
    text-decoration: none;
    font-weight: bold;
}

#source a:hover {
    text-decoration: underline;
}
