@charset "UTF-8";

/* Base styles & Smooth Scrolling setup */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px; /* Offset for sticky nav */
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
}

/* Hide scrollbar for horizontal nav menu */
.no-scrollbar::-webkit-scrollbar { 
    display: none; 
}
.no-scrollbar { 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

/* Image zoom effect on hover */
.img-zoom-img { 
    transition: transform 0.5s ease; 
}
.group:hover .img-zoom-img { 
    transform: scale(1.1); 
}

/* Swiper Custom Pagination */
.swiper-pagination {
    position: relative !important;
    margin-top: 1.5rem;
    bottom: 0 !important;
}
.swiper-pagination-bullet {
    background-color: #d1d5db !important;
    opacity: 1 !important;
}
.swiper-pagination-bullet-active {
    background-color: var(--swiper-theme-color) !important;
}

/* --- Swiper Custom Navigation (ベーススタイル) --- */
.swiper-button-next, .swiper-button-prev {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    
    /* 画像部分の高さ(160px) + py-2(8px) の中央に配置 */
    top: 88px !important;
    transform: translateY(-50%);
    margin-top: 0 !important;
    
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    color: var(--swiper-theme-color) !important;
    transition: all 0.2s ease;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-weight: bold;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: #ffffff;
    /* hover時の拡大時もY軸中央を維持 */
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

/* --- Hero Section Background Crossfade Animation --- */
.bg-slider-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
    z-index: 0;
}
.bg-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: crossFade 16s ease-in-out infinite; 
}
.bg-slide:nth-child(1) { animation-delay: 0s; }
.bg-slide:nth-child(2) { animation-delay: 4s; }
.bg-slide:nth-child(3) { animation-delay: 8s; }
.bg-slide:nth-child(4) { animation-delay: 12s; }

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}
.hero-slide-1 { animation: slide1 24s infinite; }
.hero-slide-2 { animation: slide2 24s infinite; }
.hero-slide-3 { animation: slide3 24s infinite; }
.hero-slide-4 { animation: slide4 24s infinite; }

@keyframes slide1 {
    0% { opacity: 1; z-index: 2; }
    0.01% { opacity: 1; z-index: 1; }
    16.66% { opacity: 1; z-index: 1; }
    25% { opacity: 1; z-index: 1; }
    25.01% { opacity: 0; z-index: 0; }
    91.66% { opacity: 0; z-index: 2; }
    100% { opacity: 1; z-index: 2; }
}
@keyframes slide2 {
    0% { opacity: 0; z-index: 0; }
    16.66% { opacity: 0; z-index: 2; }
    25% { opacity: 1; z-index: 2; }
    25.01% { opacity: 1; z-index: 1; }
    41.66% { opacity: 1; z-index: 1; }
    50% { opacity: 1; z-index: 1; }
    50.01% { opacity: 0; z-index: 0; }
    100% { opacity: 0; z-index: 0; }
}
@keyframes slide3 {
    0% { opacity: 0; z-index: 0; }
    41.66% { opacity: 0; z-index: 2; }
    50% { opacity: 1; z-index: 2; }
    50.01% { opacity: 1; z-index: 1; }
    66.66% { opacity: 1; z-index: 1; }
    75% { opacity: 1; z-index: 1; }
    75.01% { opacity: 0; z-index: 0; }
    100% { opacity: 0; z-index: 0; }
}
@keyframes slide4 {
    0% { opacity: 0; z-index: 0; }
    66.66% { opacity: 0; z-index: 2; }
    75% { opacity: 1; z-index: 2; }
    75.01% { opacity: 1; z-index: 1; }
    91.66% { opacity: 1; z-index: 1; }
    100% { opacity: 1; z-index: 1; }
}