@charset "UTF-8";

/* ==========================================================
   Base
========================================================== */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    -webkit-user-select: none;
    user-select: none;
}

/* ==========================================================
   Typography & Smoothing
========================================================== */
.font-serif {
    font-family: 'Noto Serif JP', serif;
}

.font-sans {
    font-family: 'Noto Sans JP', sans-serif;
}

/* ==========================================================
   Section Component
========================================================== */
.section-container {
    width: 100%;
    position: relative;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 1rem;
}

.heading-text {
    font-family: 'Cinzel', 'Noto Serif JP', serif;
    font-size: 2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #32373c;
    margin: 0;
    font-weight: 400;
}

.heading-text::after {
    content: "";
    display: block;
    width: 45px;
    height: 1px;
    background-color: #32373c;
    margin: 1.2rem auto 0.8rem;
}

.heading-sub {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.95rem;
    color: #333333;
    font-weight: 700;
    margin: 0;
}

@media (min-width: 768px) {
    .heading-text {
        font-size: 2.5rem;
    }
}

/* ==========================================================
   Animations
========================================================== */
.opacity-0 {
    opacity: 0;
}

.fade-in-up {
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-left {
    transform: translateX(-30px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-right {
    transform: translateX(30px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.is-visible {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

.delay-200 {
    transition-delay: 0.2s;
}

/* ==========================================================
   Hamburger Menu
========================================================== */
#hamburger-btn.active .line-1 {
    transform: translateY(7px) rotate(45deg);
}

#hamburger-btn.active .line-2 {
    opacity: 0;
}

#hamburger-btn.active .line-3 {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================
   Swiper Adjustments
========================================================== */
/* FV Swiper cross-fade duration */
.fv-swiper .swiper-slide {
    transition-duration: 2s !important;
}

/* Voice Swiper container shadow hack to prevent clipping */
.shadow-sm-container {
    padding-top: 2rem;
    padding-bottom: 4rem; /* For pagination */
}

.swiper-pagination-bullet {
    background: #404040 !important;
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
}

/* ==========================================================
   Page Top Button
========================================================== */
#page-top.is-visible {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================
   Fixed Background Sections
========================================================== */
.bg-fixed-section {
    background-image: url('../img/fixedbgs.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

/* Add an overlay to ensure text readability over the background image */
.bg-fixed-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85); /* Adjust opacity for visibility */
    z-index: -1;
}

/* ==========================================================
   Menu Sections Background
========================================================== */
.bg-menu-section {
    background-image: url('../img/menubgs.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}
/* ==========================================================
   Voice / Review Cards
========================================================== */
.review-content {
    transition: max-height 0.5s ease-in-out;
}

/* Apply mask ONLY when truncated (not when max-height is none) - REMOVED AS REQUESTED */
.review-content:not([style*="max-height: none"]) {
    /* mask-image removed */
}

.truncate-fade {
    /* Optional: additional text styling if needed */
}
