body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: white;
    overflow-x: hidden;
}

/* 背景設定 */
.bg2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 320%;
    z-index: -1;
    object-fit: cover;
    pointer-events: none;
}

/* バナー設定 */
.banner {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    height: 50vh;
    background: url("bg.jpg") no-repeat center top;
    background-size: cover;
    background-color: black;
    animation: bannerScroll 120s linear infinite;
}

@keyframes bannerScroll {
    0% { background-position: center top; }
    50% { background-position: center bottom; }
    100% { background-position: center top; }
}

/* キャラクター画像 */
.character {
    position: absolute;
    right: -10%;
    bottom: 0;
    height: 100vh;
    z-index: 3;
    transition: all 0.5s ease;
}

@media (max-width: 768px) {
    .character {
        right: -120%;
        bottom: 0%;
        transform: translateX(-50%);
    }
}

/* コンテンツエリア (gb3-1.png) */
.content {
    position: absolute;
    right: 18%;
    top: 66%;
    transform: translateY(-50%);
    max-width: 400px;
    z-index: 2;
    transition: all 0.5s ease;
}

.content img {
    width: 80%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .content {
        right: 40%;
        top: 65%;
        max-width: 60%;
    }
    .content img { width: 100%; }
}

/* テキストエリア (image.png) */
.text2 {
    position: absolute;
    left: 0%;
    top: 3%;
    max-width: 400px;
    z-index: 2;
    transition: all 0.5s ease;
}

.text2 img {
    width: 200%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .text2 {
        left: 50%;
        top: 20%;
        transform: translateX(-100%);
    }
}

/* セクション2 タイトル */
.title-page2 {
    position: absolute;
    left: 50%;
    top: 110vh;
    transform: translateX(-50%);
    text-align: center;
    font-size: 3vw;
    color: black;
    z-index: 2;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .title-page2 {
        left: 50%;
        top: 20%;
        transform: translateX(-100%);
    }
}

/* ボタンセクション */
.button-section {
    position: absolute;
    left: 15%;
    bottom: 20%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: all 0.5s ease;
}

@media (max-width: 768px) {
    .button-section {
        left: 50%;
        bottom: -18%; 
        transform: translateX(-50%);
        align-items: center; 
        gap: 15px;
    }
}

/* メインボタン */
.btn-large {
    display: inline-block;
    background-color: black;
    color: white;
    padding: 1vw 3vw;
    text-decoration: none;
    border-radius: 0.5vw;
    font-size: 1.5vw;
    font-weight: bold;
    text-align: center;
    min-width: 12vw;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
    .btn-large {
        font-size: 15px !important; 
        padding: 12px 80px !important;
        border-radius: 8px !important;
        min-width: 180px !important;
    }
}

/* サブボタン（グループ） */
.btn-small-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* サブボタン（単体） */
.btn-small {
    display: inline-block;
    background-color: black;
    color: white;
    padding: 0.8vw 1.5vw;
    text-decoration: none;
    border-radius: 0.4vw;
    font-size: 1.1vw;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
    .btn-small {
        font-size: 14px !important;
        padding: 8px 20px !important;
        border-radius: 6px !important;
    }
}

/* コピーライト表示 */
.copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 0.75vw;
    padding: 1vw;
    text-align: center;
    z-index: 999;
    line-height: 1.6;
    border-top: 1px solid #ddd;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .copyright {
        font-size: 10px;
        padding: 8px 40px;
        text-align: center;
    }
}

/* 閉じるボタン */
.copyright-close {
    position: absolute;
    right: 1vw;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 3vw;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 6vw;
    height: 4vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .copyright-close {
        font-size: 18px;
        width: 30px;
        height: 30px;
        right: 5px;
    }
}