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

html {

    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff; 
}

img {
    max-width: 100%;
    height: auto;
    display: block; 
}

section[id] {
    scroll-margin-top: 20px;
}

main > section:not(:last-child) {
    margin-bottom: 25px;
}

.page-wrapper {
    top:0;
    width: 100%;
    height: auto;
    overflow-x: hidden; 
    background-image: url('../images/main_background.webp');
    background-size: 101% auto;
    background-repeat: no-repeat;
    background-color: #fff;
    padding-top: 54px;
    padding-bottom: 80px; 
}

header, footer,
.image-gallery {
    padding-left: 20px;
    padding-right: 20px;
}

header {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}

.logo {
    max-width: 150px;
    margin: 0 auto;
}

.mobile-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; 
    display: block;
    transform: translateY(-100%);
    animation: slideDown 0.5s ease-out 0.5s forwards;
}

.mobile-top-bar img {
    width: 100%;
    height: auto;
    display: block; 
}

.text-content {
    text-align: center;

    margin: 40px 0;
    padding: 30px 0;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600; 
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    margin-top: 20px; 
}

@keyframes bg-fade-in-out {
    from {
        opacity: 0;
    }
    20%, 60% {
        opacity: 1;
    }
    to {
        opacity: 0; 
    }
}

@keyframes logo-fade-in {
    from, 60% {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes logo-slide-up {
    from, 85% { 
        opacity: 0;
        transform: translateY(30px); 
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.intro {
    position: relative; 
}

.intro-image {

    opacity: 0;
    width: 100%; 
    animation: logo-fade-in 7.5s forwards;
}

.intro::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('../images/main_intro.webp') top center / 100% auto no-repeat;
    animation: bg-fade-in-out 5s forwards;
}

.intro-subtitle {
    opacity: 0; 
    animation: logo-slide-up 3s forwards;
}

.content-image {
}

.ticket-link:hover img {
    transform: scale(1.03); 
}

.animated-waves {
    position: relative;

    z-index: 2; 
    overflow: hidden; 
    color: #fff; 
}

.animated-waves-inner {

    background: linear-gradient(160deg, #0080cb, #43bcc5, #00a4b0);

    padding: 120px 0;

}

.poster-content-wrapper {
    position: relative; 
    z-index: 10; 
    padding: 0 20px; 
}

.animated-waves::before,
.animated-waves::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 100px; 
    background-size: 1000px 100px; 

    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1000 100" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 C250,100 350,0 500,50 C650,100 750,0 1000,50 L1000,100 L0,100 Z" fill="%23ffffff"></path></svg>');
    z-index: 5; 
}

.animated-waves::before {
    top: 0;
    transform: rotate(180deg); 
    animation: wave 15s linear infinite;
}

.animated-waves::after {
    bottom: 0;
    animation: wave-reverse 10s linear infinite;
}

@keyframes wave {
    0% { background-position-x: 0; }
    100% { background-position-x: 1000px; }
}
@keyframes wave-reverse {
    0% { background-position-x: 0; }
    100% { background-position-x: -1000px; }
}

.static-waves-section {
    position: relative;
    height: 140px; 
    z-index: 1; 
}

.static-waves-top {

    margin-bottom: -140px;
}

.static-waves-bottom {

    margin-top: -140px;
}

.static-waves-section .static-wave {
    position: absolute;
    left: 0;
    width: 100%;

    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1000 100" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 C250,100 350,0 500,50 C650,100 750,0 1000,50 L1000,100 L0,100 Z"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1000 100" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 C250,100 350,0 500,50 C650,100 750,0 1000,50 L1000,100 L0,100 Z"></path></svg>');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.static-waves-top .static-wave {
    top: 0;
    transform: rotate(180deg);
}

.static-waves-bottom .static-wave {
    bottom: 0;
}

#static-wave-1-top, #static-wave-1-bottom {
    height: 120px;
    z-index: 2; 
    background: linear-gradient(to top, #e7b9b0, #f4faf9);
}

#static-wave-2-top, #static-wave-2-bottom {
    height: 140px;
    z-index: 1; 
    background: linear-gradient(to top, #f6e4e9, #f4faf9);
}

.concept-text {
    text-align: center;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 2.8; 
    color: #fff; 
}

.concept-text span {
    display: block; 
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.concept-text.is-visible span {
    opacity: 1;
    transform: translateY(0);
}

.concept-text.is-visible span:nth-child(1) { transition-delay: 0.1s; }
.concept-text.is-visible span:nth-child(2) { transition-delay: 0.2s; }
.concept-text.is-visible span:nth-child(3) { transition-delay: 0.3s; }
.concept-text.is-visible span:nth-child(4) { transition-delay: 0.4s; }
.concept-text.is-visible span:nth-child(5) { transition-delay: 0.5s; }
.concept-text.is-visible span:nth-child(6) { transition-delay: 0.6s; }
.concept-text.is-visible span:nth-child(7) { transition-delay: 0.7s; }
.concept-text.is-visible span:nth-child(8) { transition-delay: 0.8s; }
.concept-text.is-visible span:nth-child(9) { transition-delay: 0.9s; }
.concept-text.is-visible span:nth-child(10) { transition-delay: 1.0s; }
.concept-text.is-visible span:nth-child(11) { transition-delay: 1.1s; }
.concept-text.is-visible span:nth-child(12) { transition-delay: 1.2s; }
.concept-text.is-visible span:nth-child(13) { transition-delay: 1.3s; }
.concept-text.is-visible span:nth-child(14) { transition-delay: 1.4s; }
.concept-text.is-visible span:nth-child(15) { transition-delay: 1.5s; }
.concept-text.is-visible span:nth-child(16) { transition-delay: 1.6s; }
.concept-text.is-visible span:nth-child(17) { transition-delay: 1.7s; }
.concept-text.is-visible span:nth-child(18) { transition-delay: 1.8s; }
.concept-text.is-visible span:nth-child(19) { transition-delay: 1.9s; }

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.title_artist,
.title_spot_feature {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px 20px;
    background: linear-gradient(to bottom, #ffffff, #ebf6f4, #ffffff);

}

.title_artist > .text-content.artist-profile {

    margin: 0;
    width: 100%;
}

.artist-profile.text-content {
    margin-top: 0;
    padding-top: 30px;
}

.artist-name {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;

    color: #ff4600;
    font-size: 2.4em;
    margin-top: -1em;
    margin-bottom: -0.3em;
}

.artist-subname {
    margin-bottom: 2.5em;
    color: #ff4600;
    font-weight: 600;
    font-size: 1.5em;
}

.artist-bio {
    text-align: left;
    line-height: 2;
    color: #00505d;
    font-weight: 600;
    margin: 0;
}

.artist-photo-container {
    width: 70%;
    height: auto;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;

}

.artist-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.artist-photo-container:hover .artist-photo {
    transform: scale(1.1);
}

.spot-description {
    margin: 0;
    padding-top: 20px;
}

.spot-title {
    font-family: 'Noto Sans JP', sans-serif;
    color: #00505d;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 0.5em;
}

.spot-text {
    text-align: left;
    line-height: 2;
    color: #00505d;
    font-weight: 600;
    margin: 0;
}

.spot-item {

    background-size: 100% auto;
    background-position: right top 400px;
    background-repeat: no-repeat;

    padding-top: 150px;
}

.title_spot_feature .spot-item:nth-of-type(1) {
    background-image: url('../images/bbq_space_background.webp');
}
.title_spot_feature .spot-item:nth-of-type(2) {
    background-image: url('../images/kitchen_car_background.webp');
}
.title_spot_feature .spot-item:nth-of-type(3) {
    background-image: url('../images/marche_background.webp');
}
.title_spot_feature .spot-item:nth-of-type(4) {
    background-image: url('../images/kidscorner_background.webp');
}

.info-section {
    padding: 0 20px;
}

.left-column {
    display: none;
}

.anchor-nav {
    display: none;
}

footer {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    background-color: #f4f4f4;
    padding-top: 20px;
    padding-bottom: 20px;
}

.shooting-star-container {
    display: none; 
}

@keyframes shooting-star-anim {
    0% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-45deg);
    }
    5% {
        opacity: 1;
    }
    65% {
        opacity: 1;
    }
    70% {
        opacity: 0;
    }
    100% {
        opacity: 0;

        transform: translateX(-120vw) translateY(120vh) rotate(-45deg);
    }
}

@media (min-width: 768px) {
    .artist-name {
        font-size: 3rem;
    }

    body {
        position: relative; 
        overflow-x: hidden; 
        display: flex;
        align-items: flex-start; 
        justify-content: center;

        background-image: 
            url('../images/background_bottom.png'), 
            url('../images/background.webp');       
        background-position: 
            bottom center,                         
            center center;                         
        background-size: 
            100% auto,                             
            cover;                                 
        background-repeat: no-repeat;              
        background-attachment: fixed;              
    }

    body::before,
    body::after,
    .shooting-star-container {
        content: '';
        position: fixed;
        z-index: 0; 
        width: 250px; 
        height: 2px;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.4), transparent);
        animation-name: shooting-star-anim;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
    }

    .shooting-star-container {
        display: block; 
    }

    body::before {
        top: 10vh; 
        left: 100vw; 
        animation-duration: 15s;
        animation-delay: 5s;
    }

    body::after {
        top: -5vh; 
        left: 100vw; 
        background: linear-gradient(to right, rgba(255, 255, 255, 0.4), transparent); 
        animation-name: shooting-star-anim; 
        animation-duration: 12s; 
        animation-delay: 8s; 
    }

    .shooting-star-container {
        top: 25vh; 
        left: 100vw;
        animation-duration: 18s; 
        animation-delay: 1s;   
    }

    .left-column {
        order: 0; 
        flex: 0 0 33%; 
        display: flex; 
        justify-content: center; 
        align-items: flex-start; 
        position: sticky; 
        height: 100vh; 
        top: 0; 
        padding-top: 15vh; 
        transform: translateZ(0); 
    }

    .mobile-top-bar {
        display: none;
    }

    .left-logo {
        width: 70%;

    }

    .page-wrapper {

        order: 1; 

        flex: 0 0 34%;
        max-width: 1100px; 

        margin-left: 0;

        margin-top: 0;
        padding-top: 0; 
        margin-right: 0;
        box-shadow: 0 0 15px rgba(0,0,0,0.1); 

        overflow: hidden; 

        min-height: 100vh;
    }

    .poster-content-wrapper,
    .title_artist,
    .title_spot_feature,
    .info-section,
    .timetable-section {
        padding-left: 30px;
        padding-right: 30px;
    }

    .page-wrapper .text-content:first-child {
        padding-top: 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    .anchor-nav {
        order: 2; 
        z-index: 10;
        flex: 1 1 33%;
        position: sticky; 
        display: flex;
        flex-direction: column;
        justify-content: flex-start; 
        align-items: center; 
        gap: 5px;
        height: 100vh; 
        top: 0; 
        padding-top: 15vh; 
        transform: translateZ(0); 
    }

    .anchor-nav a {
        text-decoration: none;

        padding: 10px; 
        border-radius: 5px;
        transition: background-color 0.3s ease;
        display: inline-block; 
        line-height: 0; 
        width: 70%;
    }

    .anchor-nav a img {
        display: block; 
        transition: filter 0.3s ease; 
    }

    .anchor-nav a.active img {
        filter: drop-shadow(0 0px 8px rgba(0, 0, 0, 0.99)); 
    }

    .timetable-list {
        font-size: 1.5rem;
    }

    .timetable-list .time {
        font-size: 1.8rem;
    }
}

.timetable-section {
    padding: 40px 20px;
    text-align: center;
}

.timetable-content-wrapper {
    background-color: transparent; 
    border-radius: 20px; 
    padding: 30px 20px;
}

.timetable-special-item {
    font-family: 'Oswald', sans-serif;
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding: 10px 0;
    background-color: #ff4600;
    border-radius: 50px;
}

.timetable-special-item .time {
    font-size: 1.4rem;
    margin-right: 15px;
}

.timetable-special-item .event {
    font-size: 1.2rem;
}

.timetable-list {
    position: relative; 
    list-style: none;
    padding: 0;
    margin: 0 auto 20px;
    max-width: 500px;
    font-family: 'Oswald', sans-serif;
    color: #00505d; 
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
    padding-left: 40px; 
    margin-top: 20px;
}

.timetable-list::before {
    content: '';
    position: absolute;
    left: 15px; 
    top: 25px; 
    bottom: 25px; 
    width: 3px;
    background-color: #00505d; 
    border-radius: 2px;
}

.timetable-list li {
    display: flex;
    align-items: center; 
    padding: 15px 10px;
    position: relative; 
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.timetable-list li::before {
    content: '';
    position: absolute;
    left: -32px; 
    top: 23px;
    width: 15px;
    height: 15px;
    background-color: #ff4600; 
    transition: background-color 0.3s ease;
    border-radius: 50%;
    border: 3px solid #fff; 
}

.timetable-list li:nth-child(even) {
    background-color: rgba(0, 80, 93, 0.1); 
    border-radius: 50px;
}

.timetable-list li:nth-child(even) .event {
    color: #00505d; 
}

.timetable-list .event {
    font-size: 1.4rem; /* 將活動名稱字體放大 */
}

.timetable-list .time {
    flex: 0 0 90px;
    font-size: 1.1rem; /* 將時間字體縮小 */
    text-align: right; 
    padding-right: 20px;
    color: #009d9c;
    font-weight: 400;
}

.timetable-note {
    text-align: center;
    font-size: 0.9rem;
    color: #00505d; 
    margin-top: 20px;
}

.section-title-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: #00505d;
    font-size: 5rem; 
    text-align: center;
    margin-bottom: 25px;
    line-height: 1; 
}

.section-subtitle-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: #00505d;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: -20px;
}

@media (min-width: 768px) {
    .timetable-content-wrapper {
        padding: 40px;
    }
}