html,
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    scroll-behavior: smooth;
}

.section {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: calc(100vh - 90px);
    justify-content: center;
    align-items: center;

}

.section-content {
    flex: 1 1 auto;
    /* 上部のコンテンツ部分 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    font-size: 2rem;
    color: white;
    background-color: white;
    border-radius: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.section-bottom-button {
    width: 100vw;
    height: 90px;
    background: radial-gradient(circle at center, #ffffff 0%, #b3b3b3 100%);
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 999;
}

/* 各セクションの背景色例 */
.section:nth-child(1) {
    background: #fff3da;
}

.main-visual-img {
    width: 100vw;
    height: calc(100vh - 90px);
    object-fit: contain;
    display: block;
}

.section:nth-child(2) {
    background: #ffe9b9;
}

.card-scroll-wrapper {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 16px;
    width: 100%;
    padding: 20px 0;
    scrollbar-width: none;
    /* Firefox用 */
    -ms-overflow-style: none;
}

.card-scroll-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari用 */
}

.card-scroll-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 16px;
    color: #343a40;
    text-align: center;
    height: calc(20vh - 90px);
    justify-content: center;
    align-content: center;
}

.card-scroll-item {
    width: 80vw;
    height: calc(80vh - 90px);
    background: #fffbe6;
    border: 2px solid #ffc767;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #333;
    flex-shrink: 0;
}

.section:nth-child(3) {
    background: #9b59b6;
}

.section:nth-child(4) {
    background: #34495e;
}

.section:nth-child(5) {
    background: #f39c12;
}

.section:nth-child(6) {
    background: #e67e22;
}

.section:nth-child(7) {
    background: #e74c3c;
}

.section:nth-child(8) {
    background: #2ecc71;
}

.section:nth-child(9) {
    background: #b3b3b3;
    justify-content: center;
}


.height {
    height: 90px;
    width: 100vw;
    background: radial-gradient(circle at center, #ffffff 0%, #ffb347 100%)
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ボタン画像のスタイル */
.floating-button {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: 200px;
    /* 必要に応じて調整 */
    height: auto;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.5s;
    pointer-events: auto;
    animation: bounce 2s infinite;
}