.fv__movie::after {
    content: "";
    width: min(26.3157894737vw, 250px);
    height: min(26.3157894737vw, 250px);
    background: url(../images/common/Philippine_torikki_web.png) no-repeat center bottom / contain;
    bottom: -30px;
    right: min(-3.9473684211vw, -20px);
}

@media only screen and (max-width: 650px) {
    .fv__movie::after {
        width: min(51.2820512821vw, 170px);
        height: min(51.2820512821vw, 170px);
        bottom: -20px;
        right: -9.2564102564vw;
    }
}

.top-40 {
    background: #f1c600;
}

.top-40__text-content {
    text-align: center;
    padding: 0px 0 60px 0;
}

.top-40__text-content h2 {
    font-size: 3rem;
    color: #B41D23;
    font-weight: bold;
    margin-bottom: 1rem;
}

.top-40__text-content .subtitle {
    font-size: 1.8rem;
    color: #1C1C1C;
    font-weight: bold;
    margin-bottom: 2rem;
    display: inline-block;
    border-bottom: 2px solid #B41D23;
    padding-bottom: 0.5rem;
}

.top-40__text-content p {
    font-size: 1.25rem;
    color: #1C1C1C;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.top-40__text-content .final-message {
    font-size: 1.5rem;
    font-weight: bold;
}


br.sp {
    display: none;
}

@media only screen and (max-width: 650px) {
    br.sp {
        display: initial;
    }

    .top-40__text-content {
        padding: 10px 0px 55px 0px;
    }

    .top-40__text-content h2 {
        font-size: 2rem;
    }

    .top-40__text-content .subtitle {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .top-40__text-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .top-40__text-content .final-message {
        font-size: 1.25rem;
    }
}



.nav2 {
    position: relative;
}

.nav2__list__item.icon {
    width: 33px;
    height: 33px;
    margin-left: 15px;
    padding-top: 2px;
}

.nav2__list__item.icon img {
    width: 100%;
    height: auto;
}
  
@media screen and (max-width: 650px) {
    .nav2__list__item.icon {
        padding-top: 0;
        position: absolute;
        right: -65px;
        width: 33px;
        height: 33px;
        margin-top: 1vw;
        margin-left: 0;
    }
    
    .nav2__list__item.icon:nth-of-type(2) {
        top: calc(100% + 8px);
    }
    .nav2__list__item.icon:nth-of-type(3) {
        top: calc(100% + 50px);
    }
    .nav2__list__item.icon:nth-of-type(4) {
        top: calc(100% + 92px);
    }
}

/* --- COUNTDOWN --- */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- BACKGROUND SLIDESHOW --- */
@keyframes bgZoomFade {
    0%   { opacity: 0; transform: scale(1.0); }
    4%   { opacity: 1; transform: scale(1.0); }
    20%  { opacity: 1; transform: scale(1.15); }
    24%  { opacity: 0; transform: scale(1.15); }
    100% { opacity: 0; transform: scale(1.0); }
}

.background-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.background-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: bgZoomFade 25s ease-in-out infinite;
}

.background-slideshow img:nth-child(1) { animation-delay: 0s; }
.background-slideshow img:nth-child(2) { animation-delay: 5s; }
.background-slideshow img:nth-child(3) { animation-delay: 10s; }
.background-slideshow img:nth-child(4) { animation-delay: 15s; }
.background-slideshow img:nth-child(5) { animation-delay: 20s; }

.background-slideshow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

body.modal-open {
    overflow: hidden;
}

/* --- TRIGGER BUTTON ANIMATION --- */
@keyframes pulseBtn {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.open-popup-btn {
    position: relative;
    z-index: 2;
    background: #f5ca00;
    color: #b81c22;
    font-size: 18px;
    font-weight: 900;
    padding: 14px 28px;
    border: 2px solid #b81c22;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    transition: transform 0.2s ease, background-color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-out forwards, pulseBtn 2s infinite ease-in-out 1s;
}

.open-popup-btn:hover {
    transform: scale(1.08);
    background: #ffffff;
    color: #b81c22;
}

/* --- POPUP / MODAL OVERLAY --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 15px;
    box-sizing: border-box;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- POPUP ZOOM & SMOOTH ENTRANCE ANIMATION --- */
.kiosk-card { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-align: center;
    background: #f5ca00; 
    color: #fff;
    padding: 20px;
    border-radius: 18px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    display: flex;
    flex-direction: column;
    width: min(90vw, 450px);
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    z-index: 1000;
    transform: scale(0.8) translateY(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    box-sizing: border-box;
}

.modal-overlay.active .kiosk-card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* --- CLOSE BUTTON --- */
.close-popup-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #b81c22;
    color: #ffffff;
    border: none;
    font-size: 22px;
    font-weight: bold;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 1001;
}

.close-popup-btn:hover {
    background: #2b0304;
    color: #f5ca00;
    transform: scale(1.1);
}

.logo-container {
    margin-bottom: 2px;
}

.logo-container img {
    max-width: 120px;
    width: 100%;
    height: auto;
}

.branch-title {
    font-size: 24px;
    font-weight: 900;
    margin: 4px 0 12px 0;
    letter-spacing: 1px;
    color: #b81c22;
    text-transform: uppercase;
}

/* --- COUNTDOWN BOX STYLES --- */
.countdown-box {
    background: #b81c22;
    border-radius: 14px;
    padding: 12px 20px;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.countdown-title {
    font-size: 16px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timer-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-number {
    background: #2b0304;
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    padding: 6px 8px;
    border-radius: 8px;
    min-width: 45px;
    box-sizing: border-box;
    line-height: 1;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.time-label {
    font-size: 11px;
    font-weight: 700;
    color: #f5ca00;
    margin-top: 5px;
    text-transform: uppercase;
}

.colon {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin-top: -12px;
}

.countdown-footer {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 10px;
}

/* --- STORE LOCATION STYLES --- */
.location-box {
    background: #b81c22;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.location-title {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.map-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    line-height: 0;
}

.map-container img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

.view-map-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #2b0304;
    color: #ffffff;
    border: 1.5px solid #f5ca00;
    padding: 9px 18px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 18px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
}

.view-map-btn:hover {
    background: #f5ca00;
    color: #b81c22;
    border-color: #2b0304;
}

/* --- RESERVE BUTTON --- */
.reserve-container {
    margin-top: 14px;
}

.reserve-btn {
    display: inline-block;
    background: #b81c22;
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    border: 1.5px solid #2b0304;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reserve-btn:hover {
    background: #2b0304;
    color: #f5ca00;
    border-color: #f5ca00;
    transform: translateY(-2px);
}

/* --- SOCIAL FOOTER STYLES --- */
.social-footer {
    margin-top: 12px;
    color: #b81c22;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #b81c22;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.social-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.social-icon:hover {
    transform: translateY(-2px);
    background: #2b0304;
    color: #f5ca00;
}


/* --- CONTACT/CAREER追加後削除 --- */
.footer__inner {
    justify-content: flex-end;
}