/* Custom Styles for ONZS LP */

:root {
    --primary-beige: #f9f7f2;
    --accent-red: #9c3d3d;
    --accent-blue: #3d5a80;
    --onzs-dark: #2c2c2c;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

p {
    line-height: 2;
    letter-spacing: 0.05em;
}

/* Image behavior according to rules */
img {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.vertical-bottom {
    vertical-align: bottom;
}

/* Header transition */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header.scrolled .logo a,
header.scrolled nav ul li a,
header.scrolled #menu-trigger {
    color: var(--onzs-dark);
}

#fv h1,
#fv p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Section Titles */
.section-title {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 3rem 0;
}

.section-title h2 {
    color: var(--onzs-dark);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--accent-red);
}

/* Swiper overrides */
.gallery-swiper .swiper-slide {
    width: 300px;
}

@media (max-width: 768px) {
    .gallery-swiper .swiper-slide {
        width: 80%;
    }
}

/* Voice Swiper */
.voice-swiper {
    padding-bottom: 50px !important;
}

.voice-swiper .swiper-pagination-bullet-active {
    background: var(--onzs-dark) !important;
}

/* Q&A Accordion */
.qa-content {
    transition: max-height 0.3s ease-out;
}

.qa-trigger.active .qa-icon {
    transform: rotate(45deg);
}

/* Back to Top */
#back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

/* Right Click Protection Utility */
.no-select {
    user-select: none;
    -webkit-user-select: none;
}

/* Hover effects */
.menu-link {
    position: relative;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-red);
    transition: width 0.3s ease;
}

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

/* SP Fixed CTA spacing */
main {
    padding-bottom: 72px;
    /* SP CTA height */
}

@media (min-width: 768px) {
    main {
        padding-bottom: 0;
    }
}