@charset "UTF-8";

/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    --color-primary: #8b7355;
    --color-text: #3d2b1f;
    --font-sans: 'Zen Kaku Gothic New', sans-serif;
    --font-display: 'Zen Kaku Gothic New', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 14px;
    /* SP Base Font Size */
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
        /* PC Base Font Size */
    }
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 2.0;
    letter-spacing: 0.08em;
    -webkit-font-smoothing: antialiased;
    background-color: #fff;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input,
textarea {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

img {
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}

.font-display {
    font-family: var(--font-display);
}

.font-display-italic {
    font-family: var(--font-display);
    font-style: italic;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.style-gradient-bg {
    background: linear-gradient(120deg, #fff, #fdfaf5, #fcf9f2, #fff);
    background-size: 350% 350%;
    animation: gradientShift 18s ease-in-out infinite;
    position: relative;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.is-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    animation: headerSlideDown 0.4s ease-out;
    z-index: 2000 !important;
}

@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.hamburger-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    background: #fff;
    z-index: 1000;
    transform: translateY(-100%);
    transition: all 0.6s cubic-bezier(0.7, 0, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 80px 20px 60px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    pointer-events: none;
}

.hamburger-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   FV & About Scroll Experience
   ========================================================================== */
.animate-elem {
    opacity: 0;
    translate: 0 20px;
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), translate 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

body.is-loaded .animate-elem {
    opacity: 1;
    translate: 0 0;
}

.scroll-area {
    height: 300vh;
    position: relative;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
}

.split {
    height: 100%;
    position: relative;
    will-change: opacity;
}

.split-left {
    position: relative;
    width: 50vw;
    overflow: hidden;
    background-color: #fcf9f2;
}

.split-left::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('../img/fvbg.jpg');
    background-size: cover;
    background-position: center;
    animation: slowZoom 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

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

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
}

.vertical-text {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    color: var(--color-primary);
    font-size: 0.9rem;
    z-index: 0;
    text-shadow: none;
}

.split-right {
    width: 50vw;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: calc((75vh * 2 / 3) / 2 + 5vw);
    position: relative;
}

.text-overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    display: flex;
    z-index: 10;
    pointer-events: none;
}

.split-left-text {
    position: relative;
    width: 50vw;
    height: 100%;
}

.split-right-text {
    width: 50vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: calc((75vh * 2 / 3) / 2 + 5vw);
    position: relative;
}

.catchcopy-wrapper,
.vertical-text,
.scroll-indicator {
    pointer-events: auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 0;
    color: var(--color-primary);
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    padding-left: 0.25em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    animation: scrollDraw 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scrollDraw {
    0% {
        top: -100%;
    }

    50% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

.catchcopy-wrapper {
    position: relative;
    max-width: 500px;
    padding: 0;
    z-index: 10;
}

.catchcopy {
    line-height: 1.4;
    margin-bottom: 2.5rem;
    color: var(--color-text);
}

.catch-small {
    font-size: 1.25rem;
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    line-height: 1;
}

.catch-main {
    font-family: 'Libre Baskerville', serif;
    font-size: 7rem;
    font-weight: 700;
    line-height: 1.15;
    display: block;
}

.pad-br {
    display: none;
}

.center-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 75vh;
    width: calc(75vh * 2 / 3);
    object-fit: cover;
    z-index: 1;
    will-change: width, height, filter, transform, top;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform-origin: center center;
}

.about-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    color: #fff;
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.about-title {
    font-size: 3.5rem;
    letter-spacing: 0.25em;
    margin-bottom: 2rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.about-text {
    font-size: 1.05rem;
    line-height: 2.2;
    letter-spacing: 0.05em;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* FV Media Queries */
@media (max-width: 1100px) {
    .center-image {
        height: 60vh;
        width: calc(60vh * 2 / 3);
    }

    .split-right,
    .split-right-text {
        padding-left: calc((60vh * 2 / 3) / 2 + 4vw);
    }

    .catch-main {
        font-size: 5rem;
    }

    .pad-br {
        display: block;
    }
}

@media (max-width: 768px) {
    .sticky-container {
        flex-direction: column;
        top: 60px;
        height: calc(100vh - 60px);
    }

    .split {
        width: 100vw;
        height: 50vh;
    }

    .split-left {
        width: 100vw;
    }

    .split-right {
        width: 100vw;
        justify-content: center;
        align-items: flex-end;
        padding-bottom: 20px;
        padding-left: 0;
        padding-right: 0;
    }

    .text-overlay-container {
        display: block;
    }

    .split-left-text {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100%;
        padding: 0;
    }

    .split-right-text {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100%;
        padding: 0;
    }

    .center-image {
        top: 39%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 307.75px;
        height: 437.625px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }

    .pad-br {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .vertical-text {
        position: absolute;
        writing-mode: horizontal-tb;
        top: 2%;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        text-align: center;
        font-size: 12px;
        letter-spacing: 0.15em;
        padding-left: 0.15em;
        z-index: 10;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    }

    .catchcopy-wrapper {
        position: absolute;
        top: 70%;
        left: 0;
        width: 100%;
        padding: 0 20px;
        text-align: center;
        z-index: 30;
    }

    .catchcopy {
        margin-bottom: 5px;
    }

    .catch-small {
        font-size: 0.95rem;
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
    }

    .catch-main {
        font-size: 3.5rem;
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
    }

    .catch-desc {
        font-size: 12px;
        margin-top: 0px;
        text-shadow: 0 0 10px rgba(255, 255, 255, 1);
    }

    .about-content {
        width: 90%;
    }

    .about-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .about-text {
        font-size: 14px;
        line-height: 2;
    }
}

/* ==========================================================================
   Marquee Section
   ========================================================================== */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    font-family: var(--font-display);
    font-size: 3rem;
    font-style: italic;
    color: #dcdcdc;
}

@media (max-width: 768px) {
    .marquee-content {
        font-size: 2rem;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   Mobile CTA Button (Bottom Fixed)
   ========================================================================== */
.mobile-cta {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.mobile-cta.visible {
    transform: translateY(0);
}
