@charset "UTF-8";

/* Base & Typography */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: #333;
}

/* Base Container */
.base-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

/* Margin Bottom - SP: 80px / PC: 120px以上 */
.section-spacing-mb {
    margin-bottom: 80px;
}
@media (min-width: 768px) {
    .section-spacing-mb {
        margin-bottom: 120px;
    }
}

/* SP menu links */
.menu-link {
    font-size: 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
}
.menu-link:hover {
    color: #9B7D5F;
}

/* Swiper Fade Transition Additions */
.swiper-fade .swiper-slide {
    transition-duration: 1.5s !important;
}

/* Custom Swiper Pagination */
.swiper-pagination-bullet {
    background-color: #5C4033;
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    background-color: #5E6E5B;
    opacity: 1;
}

/* Outline Frame without Shadow/Radius */
.outline-frame {
    position: relative;
    background-color: #FDFCFB;
}
.outline-frame::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border: 1px solid #5E6E5B;
    z-index: -1;
}
.outline-frame-light {
    position: relative;
    background-color: #fff;
}
.outline-frame-light::after {
    content: '';
    position: absolute;
    top: -15px;
    right: 15px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: -1;
}

/* Heading Image Config */
.heading-img {
    width: 100%;
    max-width: 50%;
    height: auto;
    object-fit: cover;
}
@media (max-width: 767px) {
    .heading-img {
        max-width: 80%;
    }
}

/* Parallax settings */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* Disable Select */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide Swiper Pagination on Mobile sometimes */
@media (max-width: 768px) {
    .hide-sp-pagination .swiper-pagination {
        display: none;
    }
}

/* Gallery Pure CSS Treadmill */
.gallery-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.gallery-track {
    display: flex;
    width: max-content;
    animation: treadmill 40s linear infinite;
}

/* Ensure animation doesn't stop on hover */
.gallery-track:hover {
    animation-play-state: running; 
}

@keyframes treadmill {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.3333%);
    }
}

.gallery-item {
    width: 300px;
    height: 200px;
    margin-right: 15px;
    flex-shrink: 0;
    cursor: pointer;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Scroll Animation: Slide in from bottom */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
