@charset "UTF-8";

/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    --color-primary: #d21c15;
    /* 変更後の色 */
    --color-text: #4a3021;
    /* 茶色 */
    --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;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 2.0;
    letter-spacing: 0.08em;
    -webkit-font-smoothing: antialiased;
    background-color: #ffffff;
    /* ベース: 白 */
    -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-color: #ffffff;
    position: relative;
}

.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;
}

.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: center;
    /* 中央配置に変更 */
    align-items: center;
    padding: 20px;
    /* パディングを調整 */
    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: #ffffff;
}

.split-left-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%) scale(1);
    animation: slowZoomVideo 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

@keyframes slowZoomVideo {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

@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.7);
}

.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;
    background-color: #ffffff;
}

.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;
    padding-left: 0;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: rgba(74, 48, 33, 0.1);
    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;
    will-change: transform;
    transform: translateZ(0);
}

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

.catch-main {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: 6rem;
    /* 少し文字数が多いので調整 */
    line-height: 1.15;
    display: block;
}

.catch-sub {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-style: italic;
}

.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: var(--color-text);
    /* 白背景上に茶色文字 */
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.about-title {
    font-size: 3.5rem;
    letter-spacing: 0;
    margin-bottom: 2rem;
    color: #ffffff;
}

.about-text {
    font-size: 1.05rem;
    line-height: 2.2;
    letter-spacing: 0;
    font-weight: 500;
    color: #ffffff;
}

.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: 4rem;
    }
}

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

    .split {
        width: 100vw;
        height: 100%;
    }

    .split-left {
        width: 100vw;
        height: 100%;
    }

    .split-right {
        display: none;
    }

    .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.1);
    }

    .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;
        padding-left: 0;
        z-index: 10;
    }

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

    .catchcopy {
        margin-bottom: 5px;
    }

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

    .catch-desc {
        font-size: 12px;
        margin-top: 0px;
    }

    .about-content {
        width: 90%;
    }

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

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

    .catch-sub {
        color: hsl(0, 76%, 22%) !important;
    }

    .catch-desc {
        color: hsl(0, 76%, 22%) !important;
        font-weight: 700;
    }
}

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

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    font-family: var(--font-display);
    font-size: 3rem;
    font-style: italic;
    color: #f3f4f6;
    /* 薄いグレー */
}

@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);
}

/* ==========================================================================
   Fixed Background Sections (PC)
   ========================================================================== */
.section-voice-bg {
    background-image: url('img/voicebg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-cta-bg {
    background-image: url('img/ctabg.jpg');
    background-size: cover;
    background-position: center;
}

/* ==========================================================================
   SP Fixed Background (iOS/Android 対応)
   ========================================================================== */
@media (max-width: 767px),
       (max-width: 1024px) and (hover: none) and (pointer: coarse) {

    .section-voice-bg {
        position: relative;
        background: none;
        isolation: isolate;
        -webkit-clip-path: inset(0);
        clip-path: inset(0);
    }

    .section-voice-bg::before {
        content: '';
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background-image: url('img/voicebg.jpg');
        background-size: cover;
        background-position: center;
        z-index: 0;
        pointer-events: none;
    }

    .section-voice-bg > * {
        position: relative;
        z-index: 1;
    }

    .section-cta-bg {
        position: relative;
        background: none;
        isolation: isolate;
        -webkit-clip-path: inset(0);
        clip-path: inset(0);
    }

    .section-cta-bg::before {
        content: '';
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background-image: url('img/ctabg.jpg');
        background-size: cover;
        background-position: center;
        z-index: 0;
        pointer-events: none;
    }

    .section-cta-bg > * {
        position: relative;
        z-index: 1;
    }
}
