.top-reservation-notice {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    padding-inline: 20px;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.6;
    text-align: center;
}



.top-reservation-notice p:first-child {
    margin-top: 0;
}

.top-reservation-notice p:last-child {
    margin-bottom: 0;
}


.top-container {
    max-width: 750px;
    margin: 0 auto;
}



.top-container-inner {
    min-width: 100%;
}



.top-scroll-notice {
    display: none;
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    padding: 4px 0;
}

.top-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 6px;
    row-gap: 4px;
    margin-bottom: 2px;
}

@media (max-width: 517px) {
    .top-tabs {
        max-width: 329px;
        margin-inline: auto;
    }
}

@media (max-width: 578px) {
    .top-scroll-notice {
        display: block;
    }
}

.top-tab-button {
    background-color: #fff;
    padding: 12px 10px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
    position: relative;
    border: 2px solid #937BB5;
}

@media (max-width: 717px) {
    .top-tab-button {
        padding: 9px 9px;
    }
}

@media (max-width: 677px) {
    .top-tab-button {
        font-size: clamp(12px, 1.5vw, 14px);
    }
}

@media (max-width: 517px) {
    .top-tab-button {

        padding: 7px 11px;
        font-size: clamp(14px, 1.5vw, 12px);
    }
}




.top-tab-button:hover {
    background-color: #937BB5;
    color: #fff;
    opacity: 0.7;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.top-tab-button.active {
    color: #fff;
    font-weight: 700;
    background-color: #937BB5;
    cursor: default;
}

.top-tab-button.active:hover {
    opacity: 1;
    clip-path: none;
}

.top-tab-content {
    min-width: 477px;
    position: relative;
    padding: 20px 20px 0;
    border-radius: 0 0 8px 8px;
    border: 2px solid #937BB5;
    background: #fff;
}

@media (max-width: 578px) {
    .top-container-inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.top-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.top-tab-panel.active {
    display: block;
}

.top-tab-panel iframe {
    border: none;
    width: 100%;
    max-width: 580px;
    height: 210px;
    display: block;
    margin: 0 auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sp_only {
    display: none;
}

@media (max-width: 717px) {
    .sp_only {
        display: block;
    }
}