* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000;
    color: #333;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.8s ease-in;
}

body.loaded {
    opacity: 1;
  }

header {
    background-color: #000;
    padding: 20px 0;
}

#navi-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

#navi-menu li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

#navi-menu li a:hover {
    color: #ffd700;
}

#main-slide {
    background: url('img/partner-banner.png') no-repeat center center;
    width: 80vw;
    height: auto;
    aspect-ratio: 16 / 6;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 40px;
    color: white;
    text-align: left;
}

#main-slide h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #003366;
}

#main-slide p {
    font-size: 18px;
    color: #555;
    max-width: 600px;
}

.cta-button {
    background-color: #ffcc00;
    color: #003366;
    font-size: 18px;
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color,padding,font-size 0.3s ease;
    text-decoration: none;
    position: absolute;
    top: 70%;
    left: 15%;
}

.cta-button:hover {
    background-color: #e6b800;
    padding: 15px 30px;
    font-size: 23px;
}


/* Partner Section */
#partner-box {
    background-color: #000;
    padding: 40px 20px;
    text-align: center;
}

#partner-box h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 20px;
}

#partner-box ul {
    list-style-type: none;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

#partner-box li {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

#promo-links {
    background-color: #000;
    padding: 40px 20px;
    text-align: center;
}

#promo-links h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 30px;
}

#promo-links table {
    margin: 0 auto;
    border-spacing: 30px;
}

#promo-links img {
    width: 30vw;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#promo-links img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-content p {
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    body {
        padding: 0 10px;
    }

    #navi-menu ul {
        flex-direction: column;
        gap: 10px;
    }

    #main-slide {
        height: 250px;
    }

    #main-slide h1 {
        font-size: 24px;
    }

    #main-slide p {
        font-size: 16px;
    }

    .cta-button {
        font-size: 16px;
        padding: 8px 20px;
    }

    #partner-box h2,
    #promo-links h2 {
        font-size: 22px;
    }

    #promo-links table {
        width: 100%;
        border-spacing: 15px;
    }

    #promo-links tr {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #promo-links td {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    #promo-links img {
        width: 90%;
        height: auto;
    }
}

#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    background-color: #003366;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    display: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#scrollTopBtn:hover {
    background-color: #0055a5;
    transform: scale(1.1);
}
