@charset "UTF-8";

/* ==========================================================================
   Base Design System
   ========================================================================== */
:root {
    --primary-color: #285D3F;
    --gold-color: #C5A059;
    --white: #FFFFFF;
    --text-color: #333333;
    --font-heading: 'Shippori Mincho', 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --section-margin-pc: 120px;
    --section-margin-sp: 80px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.8;
    letter-spacing: 0.05em;
    background-color: var(--white);
    overflow-x: hidden;
    padding-top: 80px;
    /* Header Offset */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media (max-width: 1024px) {
    body {
        padding-top: 70px;
    }
}



/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
dt,
.section-title-main {
    font-family: 'Shippori Mincho', serif !important;
    color: #285D3F !important;
}

/* Internal titles in sections */
.section-margin h2,
.section-margin h3,
.section-margin h4,
.section-margin .font-bold {
    font-family: 'Shippori Mincho', serif !important;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding: 40px 0;
}

.section-title-main {
    display: inline-block;
    font-size: 2.2rem;
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 0.3em;
    padding: 25px 80px;
    background: url('../img/flame.png') no-repeat center center;
    background-size: 100% 100%;
    text-transform: uppercase;
    position: relative;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .section-title-main {
        font-size: 1.6rem;
        padding: 15px 50px;
    }
}

/* Button Refinement */
.reserve-btn-custom {
    display: inline-block;
    border: 1px solid var(--gold-color);
    color: var(--primary-color);
    padding: 12px 40px;
    font-weight: 700;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
    background: transparent;
    text-align: center;
}

.reserve-btn-custom:hover {
    background: var(--gold-color);
    color: #fff;
}

/* FV Styles from Reference */
.fv {
    width: 100%;
    position: relative;
    overflow: visible;
    margin-bottom: 80px;
    display: block;
    margin-top: 0;
}

@media (max-width: 1024px) {
    .fv {
        margin-bottom: 40px;
    }
}

.swiper-fv {
    width: 100%;
    height: auto;
}

.swiper-slide {
    width: 100%;
    height: auto;
    text-align: center;
}

.swiper-slide img,
.swiper-slide picture img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-width: 100%;
    margin: 0 auto;
}

/* ==========================================================================
   Custom Components
   ========================================================================== */

/* Section Spacing */
.section-margin {
    margin-bottom: var(--section-margin-pc);
}

@media (max-width: 768px) {
    .section-margin {
        margin-bottom: var(--section-margin-sp);
    }
}

/* Image Reset */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.glitter-bg {
    position: relative;
    background-color: #ffffff !important;
    overflow: hidden;
    z-index: 1;
}

/* S-Curve Shining Line Section */
.glitter-bg::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -150%;
    width: 200%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(230, 206, 138, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    /* S字のような軌道で動かすための設定 */
    animation: sCurveShimmer 12s infinite ease-in-out;
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

/* Twinkling dots - Enhanced visibility */
.glitter-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, rgba(200, 160, 89, 0.6) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(200, 160, 89, 0.4) 2px, transparent 2px);
    background-size: 80px 80px, 120px 120px;
    background-position: 0 0, 40px 40px;
    animation: twinkle 4s infinite alternate;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

@keyframes sCurveShimmer {
    0% {
        left: -150%;
        top: 10%;
    }

    25% {
        top: -10%;
    }

    50% {
        left: 50%;
        top: 20%;
    }

    75% {
        top: -10%;
    }

    100% {
        left: 150%;
        top: 10%;
    }
}

@keyframes twinkle {
    0% {
        opacity: 0.4;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.glitter-bg>* {
    position: relative;
    z-index: 2;
}

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

/* Recommend Background Switching */
#recommend {
    background-image: linear-gradient(rgba(40, 93, 63, 0.4), rgba(40, 93, 63, 0.4)), url('../img/sprecommend04.png');
}

@media (min-width: 768px) {
    #recommend {
        background-image: linear-gradient(rgba(40, 93, 63, 0.4), rgba(40, 93, 63, 0.4)), url('../img/recommend03.png');
    }
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

#back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* SP Floating CTA */
.sp-floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

@media (min-width: 769px) {
    .sp-floating-cta {
        display: none;
    }
}

.sp-cta-item {
    flex: 1;
    padding: 15px;
    text-align: center;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sp-cta-tel {
    background-color: var(--primary-color);
    color: white;
}

.sp-cta-web {
    background-color: #C5A059;
    color: white;
}

/* Broken Grid specific for About section */
.broken-grid-about {
    position: relative;
}

@media (min-width: 1024px) {
    .about-text-content {
        padding: 60px;
        background: white;
        z-index: 2;
        margin-right: -100px;
        position: relative;
    }

    .about-img-content {
        z-index: 1;
    }
}

/* Swiper Fade Optimization */
.swiper-fade .swiper-slide {
    pointer-events: none;
    transition-property: opacity;
}

.swiper-fade .swiper-slide-active {
    pointer-events: auto;
}

/* Lightbox Simple */
.custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.custom-lightbox img {
    max-width: 90%;
    max-height: 90%;
}

.custom-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* Navigation Styles */
.nav-link {
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 1001;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.hamburger-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
}

.hamburger-menu-list {
    text-align: center;
    list-style: none;
}

.hamburger-menu-list li {
    margin: 20px 0;
    font-size: 1.5rem;
}

.hamburger-menu-list a {
    color: white;
    text-decoration: none;
    font-weight: 700;
}

/* Pagination Adjustments */
.voice-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 8px;
}

/* Swiper default bullet overrides if needed */
.voice-pagination .swiper-pagination-bullet {
    margin: 0 !important;
    background: var(--primary-color);
    opacity: 0.3;
}

.voice-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--gold-color);
}