/* style.css */

:root {
    --primary-color: #009800;
    --secondary-color: #e9ee95;
    --accent-color: #fa5936;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+ */
    user-select: none;         /* Standard */
}

body {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

h2, h3, h4 {
    font-family: 'M PLUS U', sans-serif;
}

@media (min-width: 768px) {
    body {
        font-size: 16px;
    }
}

p {
    font-size: 14px;
}
@media (min-width: 768px) {
    p {
        font-size: 16px;
    }
}

/* Base image styling */
img {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.shadow-text {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.5);
}

.section-padding {
    padding-top: 70px;
    padding-bottom: 70px;
}

/* SP Padding Overrides */
@media (max-width: 767px) {
    .p-6, .p-8 {
        padding: 40px 10px !important;
    }
}

/* FV Swiper Settings */
.fv-section {
    position: relative;
    width: 100%;
}
.fv-swiper {
    width: 100%;
    height: 100%;
}
.fv-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.fv-swiper img {
    vertical-align: bottom;
    transform: scale(1);
    transition: transform 6s linear;
}
.fv-swiper .swiper-slide-active img {
    transform: scale(1.1);
    transition: transform 6s linear;
}

.scroll-down span:last-child {
    animation: scrollDown 1.5s infinite;
}
@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Parallax Section */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
@media (max-width: 767px) {
    .parallax-section {
        background-attachment: scroll;
    }
}

/* Marquee Gallery */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    display: flex;
}
.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-track img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin-right: 20px;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.3s;
}
.marquee-track img:hover {
    opacity: 0.8;
}
@media (min-width: 768px) {
    .marquee-track img {
        width: 400px;
        height: 300px;
        margin-right: 30px;
    }
}

/* Hamburger Menu Animation */
.menu-open .line1 { transform: translateY(8px) rotate(45deg); }
.menu-open .line2 { opacity: 0; }
.menu-open .line3 { transform: translateY(-8px) rotate(-45deg); }

html { scroll-behavior: smooth; }

.mobile-link {
    color: #333;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}
.mobile-link:hover { color: var(--primary-color); }

/* FV Text Animation */
@keyframes fvTextFade {
    0% { opacity: 0; transform: translateX(150px); }
    100% { opacity: 1; transform: translateX(0); }
}
.fv-text-box {
    animation: fvTextFade 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
    opacity: 0; /* 読み込み直後は非表示 */
}

/* Wave Animation for Buttons */
@keyframes waveFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.wave-float {
    animation: waveFloat 2s ease-in-out infinite;
}

/* Fade Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}
.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}
