:root {
    --bg-white: #fafafa;
    --text-black: #111111;
    --text-soft: #555555;
    /* カラフルな色の定義 */
    --color-1: #4facfe; /* Blue */
    --color-2: #00f2fe; /* Cyan */
    --color-3: #f093fb; /* Pink */
    --color-4: #f5576c; /* Red */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-white);
    color: var(--text-black);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}
body {
    background: transparent;
    color: var(--text-black);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.site-bg {
    position: fixed;
    inset: 0;
    z-index: -10;
    background: var(--bg-white);
    overflow: hidden;
    pointer-events: none;
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.4rem 8%;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;
    
}
.header-logo {
    display: flex;
    align-items: center;

    padding: 0;

    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;

    transition:
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.3s ease;
}

.header-logo:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
.header-logo {
    color: rgba(0,0,0,0.86);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-nav a {
    color: rgba(0,0,0,0.82);

    text-decoration: none;

    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.04em;

    transition:
        opacity 0.3s ease,
        transform 0.4s ease;
}

.header-nav a:hover {
    opacity: 0.55;

    transform: translateY(-1px);
}
.header-cta {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 0.9rem;

    padding: 1rem 1.5rem;

    border-radius: 999px;

    overflow: hidden;

    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.68),
            rgba(255,255,255,0.34)
        );

    border: 1px solid rgba(0,0,0,0.08);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.8);

    transition:
        transform 0.5s cubic-bezier(0.16,1,0.3,1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.header-cta:hover {
    transform:
        translateY(-4px)
        scale(1.02);

    box-shadow:
        0 18px 45px rgba(0,0,0,0.12);

    border-color:
        rgba(255,255,255,0.8);
}

.header-cta-text {
    position: relative;
    z-index: 2;

    color: #111;

    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: -0.02em;

    transition:
        transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

.header-cta-icon {
    position: relative;
    z-index: 2;

    color: #111;

    font-size: 1rem;
    font-weight: 700;

    transition:
        transform 0.45s cubic-bezier(0.16,1,0.3,1);
}

.header-cta:hover .header-cta-icon {
    transform:
        translateX(6px);
}

.header-cta:hover .header-cta-text {
    transform:
        translateX(2px);
}

.header-cta-glow {
    position: absolute;
    inset: -40%;

    background:
        linear-gradient(
            120deg,
            transparent 20%,
            rgba(255,255,255,0.9) 50%,
            transparent 80%
        );

    transform:
        translateX(-120%)
        rotate(12deg);

    transition:
        transform 0.9s cubic-bezier(0.16,1,0.3,1);

    pointer-events: none;
}

.header-cta:hover .header-cta-glow {
    transform:
        translateX(120%)
        rotate(12deg);
}
.menu-button {
    display: none;
}

.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .site-header {
        padding: 2rem 8%;
        z-index: 1000;
    }

    .header-nav,
    .header-cta {
        display: none;
    }

    .header-logo {
        position: relative;
        z-index: 1002;
        max-width: 140px;
        font-size: 1rem;
        line-height: 1.15;
    }

    .menu-button {
        position: relative;
        z-index: 1002;

        display: grid;
        place-items: center;

        width: 64px;
        height: 64px;
        border-radius: 50%;

        border: none;
        background: linear-gradient(135deg, #4facfe, #0077ff);
        box-shadow: 0 18px 45px rgba(79, 172, 254, 0.28);

        cursor: pointer;
    }

    .menu-button span {
        position: absolute;
        width: 24px;
        height: 2px;
        border-radius: 999px;
        background: #fff;
        transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .menu-button span:first-child {
        transform: translateY(-5px);
    }

    .menu-button span:last-child {
        transform: translateY(5px);
    }

    body.menu-open .menu-button span:first-child {
        transform: rotate(45deg);
    }

    body.menu-open .menu-button span:last-child {
        transform: rotate(-45deg);
    }

    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 1001;

        display: block;

        padding: 9rem 8% 4rem;

        background: linear-gradient(135deg, #0879d6, #0b7be8);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);

        transition:
            opacity 0.35s ease,
            transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    }

    body.menu-open .mobile-menu {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-menu-inner {
        display: flex;
        flex-direction: column;
        gap: 1.8rem;
    }

    .mobile-menu a {
        display: flex;
        justify-content: space-between;
        align-items: center;

        color: #fff;
        text-decoration: none;

        font-size: clamp(2.1rem, 10vw, 3.4rem);
        line-height: 1;
        font-weight: 900;
        letter-spacing: -0.05em;
    }

    .mobile-menu a::after {
        content: "+";
        font-size: 2rem;
        font-weight: 900;
    }
}
.mobile-close {
    position: absolute;
    top: 2rem;
    right: 8%;

    width: 68px;
    height: 68px;

    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.9);

    background: transparent;

    display: grid;
    place-items: center;

    cursor: pointer;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
}

.mobile-close:hover {
    transform: rotate(90deg) scale(1.05);

    background: rgba(255,255,255,0.08);

    border-color: #fff;
}

.mobile-close span {
    position: absolute;

    width: 26px;
    height: 2px;

    border-radius: 999px;

    background: #fff;
}

.mobile-close span:first-child {
    transform: rotate(45deg);
}

.mobile-close span:last-child {
    transform: rotate(-45deg);
}
/* --- HERO SECTION --- */
.hero {
    position: relative;
    isolation: isolate;

    width: 100%;
    min-height: 100svh;
    height: auto;

    display: flex;
    align-items: center;

    padding: 8.5rem 8% 5rem;

    overflow: hidden;

    background-image:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.08),
            rgba(245,247,255,0.16)
        ),
        url("./assets/images/hero/chillworks-hero-bg.png");

    background-size: 112%;
    background-position: right center;
    background-repeat: no-repeat;
}

.hero,
.philosophy-section,
.next-section {
    background-color: transparent;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 18% 28%,
            rgba(240,147,251,0.16),
            transparent 36%
        ),
        radial-gradient(
            circle at 78% 48%,
            rgba(79,172,254,0.16),
            transparent 42%
        );

    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
}

.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,0.08),
            rgba(255,255,255,0)
        );

    mix-blend-mode: soft-light;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(100%, 980px);

    transform: translateY(-1.2rem);
}

.scroll-guide {
    position: absolute;

    left: 50%;
    bottom: 0.1rem;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;

    z-index: 5;
}
.scroll-line {
    width: 1px;
    height: 80px;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.05),
            rgba(0,0,0,0.45),
            transparent
        );
}

.scroll-text {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.35em;
    text-transform: uppercase;

    color: rgba(0,0,0,0.55);
}

/* 背景のblob */
.blob {
    position: absolute;
    width: 60vw;
    height: 60vw;
    filter: blur(100px);
    opacity: 0.15;
    border-radius: 50%;
    animation: moveBlob 25s infinite alternate;
}

.blob-1 {
    background: var(--color-1);
    top: -20%;
    right: -10%;
}

.blob-2 {
    background: var(--color-3);
    bottom: -10%;
    left: -10%;
    animation-delay: -5s;
}

.blob-3 {
    background: #fce38a;
    top: 20%;
    left: 30%;
    animation-duration: 18s;
}

@keyframes moveBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(15%, 10%) scale(1.3);
    }
}
@media (min-width: 1024px) {
    .hero {
        background-size: 92%;
        background-position: 155% center;
    }
}
@media (min-width: 1024px) {
    .scroll-guide {
        display: none;
    }
}
/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {
    .hero {
        min-height: 100svh;

        align-items: flex-start;

        padding:
            8.8rem 8%
            4.5rem;

        background-size: 155%;
        background-position: center top;
    }

.hero-content {
        width: 100%;
        max-width: 340px;

        margin: 0 auto;
        padding-top: 3.5rem;

        text-align: center;
        transform: none;
    }

    .hero-title {
        margin-bottom: 1.6rem;
    }

    .hero-title .en {
        font-size: clamp(2.6rem, 12vw, 3.35rem);
        line-height: 0.98;
        letter-spacing: -0.07em;
    }

    .hero-sub {
        margin-top: 0;
    }

    .en-sub {
        font-size: 1.02rem;
        line-height: 1.45;
    }

    .hero-message {
        margin-top: 4.2rem;
    }

    .jp-message {
        font-size: clamp(1.45rem, 7vw, 2rem);
        line-height: 1.55;
    }

    .scroll-guide {
        left: 50%;
        bottom: 2.2rem;

        transform: translateX(-50%);
    }

    .blob {
        filter: blur(70px);
        opacity: 0.1;
    }
}
/* --- PHILOSOPHY SECTION (Upgraded Layer Design) --- */
.philosophy-section {
    position: relative;
    min-height: 160vh; /* スクロールによるストーリー体験のため高めに設定 */
    display: flex;
    align-items: center;
    padding: 15rem 8%;
    overflow: hidden;
    background: transparent;
}

.philosophy-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.philosophy-blob-1 {
    background: var(--color-2);
    top: 10%;
    right: -20%;
    opacity: 0.12;
}

.philosophy-blob-2 {
    background: var(--color-3);
    bottom: 5%;
    left: -18%;
    opacity: 0.11;
    animation-delay: -8s;
}

.philosophy-content {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.philosophy-label {
    margin-bottom: 2rem;

    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.42em;
    text-transform: uppercase;

    color: var(--color-1);
}

.philosophy-title {
    max-width: 1080px;

    margin-bottom: 2.6rem;

    font-size: clamp(4.4rem, 8.4vw, 8.4rem);
    line-height: 0.9;

    font-weight: 900;
    letter-spacing: -0.085em;
}

.philosophy-jp {
    max-width: 560px;

    margin-bottom: 12rem;

    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.45;

    font-weight: 700;
    color: var(--text-soft);
}

/* --- キーワードフローの再定義 --- */
.philosophy-words {
    display: flex;
    flex-direction: column;
    gap: 10vh;

    margin-bottom: 15rem;
    padding-left: 2rem;
}
.philosophy-word::before {
    display: none;
}
.philosophy-item {
    position: relative;

    display: flex;
    align-items: center;

    opacity: 0;
    transform: translateY(50px);

    transition:
        opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.philosophy-item.active {
    opacity: 1;
    transform: translateY(0);
}

.philosophy-item::before {
    content: attr(data-en);

    position: absolute;
    left: -2rem;

    font-size: clamp(3rem, 15vw, 10rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;

    color: rgba(79, 172, 254, 0.06);

    white-space: nowrap;
    z-index: -1;
    pointer-events: none;

    opacity: 0;

    transform:
        translateX(-24px)
        scale(0.96);

    transition:
        opacity 1.1s ease,
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.philosophy-item.active::before {
    opacity: 1;

    transform:
        translateX(0)
        scale(1);
}

.philosophy-item span {
    position: relative;

    padding-left: 1.5rem;

    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;

    font-weight: 700;
    letter-spacing: 0.08em;

    color: var(--text-black);

    transition:
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.4s ease,
        text-shadow 0.4s ease;
}

.philosophy-item span::before {
    content: "";

    position: absolute;
    left: 0;
    top: 50%;

    width: 6px;
    height: 6px;

    border-radius: 999px;

    background:
        linear-gradient(135deg, #4facfe, #f093fb);

    transform: translateY(-50%) scale(0.6);

    opacity: 0;

    transition:
        opacity 0.6s ease,
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.philosophy-item.active span::before {
    opacity: 1;

    transform:
        translateY(-50%)
        scale(1);
}

.philosophy-item:hover span {
    color: #4facfe;

    transform: translateX(16px);

    text-shadow:
        0 12px 40px rgba(79,172,254,0.16);
}

.philosophy-item:hover::before {
    opacity: 1;

    transform:
        translateX(20px)
        scale(1.1);

    color: rgba(79,172,254,0.24);
}

/* 最後のブランド着地部分 */
.philosophy-closing {
    width: 100%;
    max-width: 980px;

    margin: 0 auto;

    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2.2rem, 6vw, 5.5rem);
    line-height: 1.22;
    font-weight: 700;

    color: var(--text-black);

    text-align: center;
}

.brand-highlight {
    display: block;

    margin-top: 1rem;

    font-size: 1.25em;
    letter-spacing: -0.02em;
}

#philosophy .philosophy-content {
    max-width: 1120px;
    margin: 0 auto;
}

#philosophy .philosophy-title,
#philosophy .philosophy-jp {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#philosophy .philosophy-label {
    text-align: center;
}

@media (max-width: 768px) {
    .philosophy-closing {
        max-width: 100%;

        font-size: clamp(2rem, 9vw, 3.2rem);
        line-height: 1.35;

        text-align: center;
    }

    .brand-highlight {
        margin-top: 0.6rem;
    }
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    .philosophy-section {
        min-height: auto;
        padding: 8rem 8% 12rem;
    }

    .philosophy-words {
        gap: 8vh;
        margin-bottom: 10rem;
    }

    .philosophy-item::before {
        font-size: 5rem;
        left: -0.5rem;
    }
        .philosophy-content {
        max-width: 340px;
        margin: 0 auto;
    }

    .philosophy-label {
        margin-bottom: 1.5rem;
        font-size: 0.64rem;
        letter-spacing: 0.34em;
    }

    .philosophy-title {
        max-width: 100%;

        margin-bottom: 2rem;

        font-size: clamp(2.8rem, 13vw, 4.2rem);
        line-height: 0.96;
        letter-spacing: -0.075em;
    }

    .philosophy-jp {
        max-width: 100%;

        margin-bottom: 8rem;

        font-size: clamp(1.65rem, 7vw, 2.15rem);
        line-height: 1.55;
    }
    #philosophy .philosophy-content {
    max-width: 340px;
    text-align: center;
}

#philosophy .philosophy-title {
    font-size: clamp(2.7rem, 12vw, 3.8rem);
    line-height: 1;
}

#philosophy .philosophy-jp {
    font-size: clamp(1.6rem, 6.5vw, 2rem);
    line-height: 1.6;
}
}
@media (min-width: 1024px) {
    #philosophy .philosophy-title {
        max-width: 980px;
        margin-left: auto;
        margin-right: auto;

        font-size: clamp(4.8rem, 7.2vw, 7.4rem);
        line-height: 0.92;
    }

    #philosophy .philosophy-jp {
        margin-top: 3rem;
        font-size: clamp(2rem, 2.7vw, 2.8rem);
        line-height: 1.55;
    }
}

/* --- FLOWLESS SECTION BASE --- */
.flowless-section {
    position: relative;
    min-height: 130vh;
    display: flex;
    align-items: center;
    padding: 14rem 8%;
    overflow: hidden;
    background: transparent;
}

.flowless-content {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.flowless-label {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-3);
    margin-bottom: 3rem;
}

.flowless-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.flowless-copy {
    max-width: 680px;
}

.flowless-title {
    max-width: 760px;

    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.06em;
    margin-bottom: 3rem;
}

.flowless-lead {
    max-width: 620px;

    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.8rem, 4vw, 3.8rem);
    line-height: 1.55;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 3rem;
}

.flowless-text {
    max-width: 620px;

    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 2;
    color: var(--text-soft);
    font-weight: 700;
}

.highlight-text {
    color: var(--text-black);
}

.flowless-visual {
    position: relative;
}

.flowless-card {
    position: relative;
    width: 100%;
    min-height: 520px;
    padding: 2rem;
    border-radius: 2rem;
    backdrop-filter: blur(24px);
    overflow: hidden;
}

.flowless-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.flowless-card-header span {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.flowless-card-header small {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.flowless-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-body {
    flex: 1;
}

.step-body p {
    margin-bottom: 0.35rem;
}

.step-body small {
    display: block;

    font-size: 0.72rem;
    line-height: 1.5;
    font-weight: 900;
    letter-spacing: 0.08em;

    color: rgba(17, 17, 17, 0.42);
}

.progress-track {
    width: 100%;
    height: 4px;
    margin-top: 0.8rem;
    border-radius: 999px;
    background: rgba(0,0,0,0.06);
    overflow: hidden;
}

.progress-fill {
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(120deg, var(--color-1), var(--color-3));
}
.flowless-lead {
    font-family: "Noto Serif JP", serif;
    font-size: clamp(2rem, 3.2vw, 4.4rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .flowless-section {
        min-height: auto;
        padding: 8rem 8% 12rem;
    }

    .flowless-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .flowless-copy {
        max-width: 340px;
        margin: 0 auto;
        text-align: center;
    }

    .flowless-title {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;

        font-size: clamp(2.65rem, 12vw, 3.8rem);
        line-height: 0.96;
    }

    .flowless-lead {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;

        font-size: clamp(1.55rem, 7vw, 2.05rem);
        line-height: 1.62;
    }

    .flowless-text {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;

        font-size: 0.95rem;
        line-height: 1.9;
    }

    .flowless-card {
        min-height: auto;
        text-align: left;
    }

    .flowless-card-header {
        margin-bottom: 3rem;
    }
}

/* カード背後の巨大な発光体（2枚目のダーク感を白背景で表現） */
.visual-glow-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    animation: sphereFloat 10s infinite alternate ease-in-out;
}

@keyframes sphereFloat {
    from { transform: translate(-50%, -52%); }
    to { transform: translate(-50%, -48%); }
}

.flowless-card {
    /* 既存のスタイルを継承しつつ、枠線をより繊細に */
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.04);
}

/* AIステータス */
.ai-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--color-1);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-1);
    animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.8); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* タイムラインの進化 */
.flowless-step {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.flowless-step.active {
    background: #fff;
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(79, 172, 254, 0.2);
}

.step-num {
    background: var(--accent) !important; /* 各ステップ固有の色 */
    width: 36px !important;
    height: 36px !important;
    font-size: 0.7rem !important;
}

/* フローティング・データチップ */
.floating-chip {
    position: absolute;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.node-1 { top: 15%; right: -5%; animation: float 6s infinite alternate; }
.node-2 { bottom: 20%; left: -10%; animation: float 8s infinite alternate-reverse; }

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-20px); }
}
/* --- CREATIVE CTA (Enhanced Positioning) --- */

.flowless-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center; /* デフォルト（モバイル）は中央揃え */
}

.flowless-cta-wrapper {
    position: relative;
    z-index: 20;
    margin-top: -2rem; /* カードと少し重ねて一体感を出す */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- PCレイアウト：カードの右側に浮遊させる設定 --- */
@media (min-width: 1024px) {
    .flowless-cta-wrapper {
        position: absolute;
        bottom: 10%;   /* カードの下部付近に配置 */
        right: -12%;   /* カードの右側へ大胆にはみ出させる */
        margin-top: 0;
        flex-direction: row; /* 線を横向きに伸ばす */
        align-items: center;
        gap: 0;
    }

    /* コネクターラインを横向きに変換 */
    .cta-connector-line {
        width: 80px;
        height: 1px;
        background: linear-gradient(to right, rgba(79, 172, 254, 0.6), transparent);
        margin-bottom: 0;
        margin-right: -10px; /* 線とボタンを近づける */
    }

    /* 横方向の光の粒アニメーション */
    .cta-connector-line::after {
        width: 30px;
        height: 2px;
        top: -1px;
        left: 0;
        animation: dropLightHorizontal 3s infinite ease-in;
    }
}

@keyframes dropLightHorizontal {
    0% { left: -30px; opacity: 0; }
    30% { opacity: 1; }
    100% { left: 80px; opacity: 0; }
}

/* --- モバイルレイアウト：カードの下に綺麗に収める設定 --- */
@media (max-width: 1023px) {
    .flowless-cta-wrapper {
        margin-top: 2rem;
        width: 100%;
        max-width: 320px;
    }
    
    .flowless-cta {
        width: 100%;
        justify-content: space-between;
        padding: 1rem 1.5rem;
    }

    /* モバイル時は縦方向の光のアニメーション */
    .cta-connector-line {
        width: 1px;
        height: 40px;
        background: linear-gradient(to bottom, rgba(79, 172, 254, 0.5), transparent);
    }
}

/* --- ボタン本体の装飾（ベースデザイン） --- */
.flowless-cta {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.2rem 2.5rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    text-decoration: none;
    color: var(--text-black);
    backdrop-filter: blur(12px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cta-content {
    display: flex;
    flex-direction: column;
}

.cta-label {
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-1);
    margin-bottom: 2px;
}

.cta-text {
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
}

.cta-icon {
    width: 40px;
    height: 40px;
    background: var(--text-black);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: transform 0.5s ease;
}

/* ホバー演出 */
.flowless-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(79, 172, 254, 0.15);
    border-color: var(--color-1);
    background: #fff;
}

.flowless-cta:hover .cta-icon {
    transform: translateX(6px) rotate(-45deg);
    background: var(--color-1);
}

/* ボタン表面を走る光の筋 */
.cta-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.5s;
}

.flowless-cta:hover .cta-shimmer {
    left: 150%;
    transition: 0.8s;
}

/* 線の上を光の粒が落ちる（モバイル・基本用） */
.cta-connector-line::after {
    content: "";
    position: absolute;
    background: var(--color-1);
    filter: blur(2px);
}

@media (max-width: 1023px) {
    .cta-connector-line::after {
        width: 3px;
        height: 20px;
        top: 0;
        left: -1px;
        animation: dropLight 3s infinite ease-in;
    }
}

@keyframes dropLight {
    0% { top: -20px; opacity: 0; }
    30% { opacity: 1; }
    100% { top: 40px; opacity: 0; }
}
/* --- WORKS SECTION --- */
.works-section {
    position: relative;
    min-height: 140vh;
    padding: 14rem 8%;
    background: transparent;
    overflow: hidden;
}

.works-content {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.works-head {
    margin-bottom: 6rem;
}

.works-label {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-1);
    margin-bottom: 1rem;
}

.works-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2.8rem, 7vw, 6rem);
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-black);
}

.works-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: start;
}

.work-card {
    position: relative;
}

.work-card-offset {
    margin-top: 12rem;
}

.work-image {
    position: relative;
    overflow: hidden;
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.08);
}

.work-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-image img {
    transform: scale(1.06);
}

.work-category {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: var(--text-soft);
}

.work-card h3 {
    margin-top: 0.8rem;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.work-description {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-soft);
    font-weight: 700;
}

@media (max-width: 900px) {
    .works-section {
        min-height: auto;
        padding: 8rem 8% 10rem;
    }

    .works-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .work-card-offset {
        margin-top: 0;
    }
}
.work-card:nth-child(2) {
    margin-top: 10rem;
}

.work-card:nth-child(3) {
    margin-top: 4rem;
}
/* --- WHAT WE DESIGN SECTION --- */
.design-section {
    position: relative;
    min-height: 120vh;
    padding: 12rem 8%;
    overflow: hidden;
    background: transparent;
}

.design-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.design-bg-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.design-bg-item.is-active {
    opacity: 1;
}

.design-bg-item::before {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: 3rem;
    filter: blur(10px);
    opacity: 0.75;
}

.design-bg-item[data-bg="brand"]::before {
    background:
      radial-gradient(circle at 25% 30%, rgba(240,147,251,0.28), transparent 35%),
      radial-gradient(circle at 70% 60%, rgba(79,172,254,0.22), transparent 45%);
}

.design-bg-item[data-bg="reservation"]::before {
    background:
      radial-gradient(circle at 70% 30%, rgba(0,242,254,0.28), transparent 38%),
      radial-gradient(circle at 25% 75%, rgba(79,172,254,0.22), transparent 42%);
}

.design-bg-item[data-bg="ai"]::before {
    background:
      radial-gradient(circle at 50% 40%, rgba(245,87,108,0.22), transparent 40%),
      radial-gradient(circle at 80% 70%, rgba(240,147,251,0.25), transparent 45%);
}

.design-bg-item[data-bg="operation"]::before {
    background:
      radial-gradient(circle at 30% 70%, rgba(252,227,138,0.32), transparent 42%),
      radial-gradient(circle at 75% 35%, rgba(79,172,254,0.20), transparent 40%);
}

.design-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 7rem;
    align-items: start;
}

.design-label {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.4em;
    color: var(--color-1);
    margin-bottom: 1.5rem;
}

.design-head h2 {
    font-size: clamp(3.4rem, 8vw, 8rem);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.07em;
    color: var(--text-black);
}

.design-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.design-item {
    position: relative;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    cursor: pointer;
    transition:
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.45s ease;
}

.design-item span {
    display: block;
    margin-bottom: 0.7rem;
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--text-soft);
}

.design-item h3 {
    font-size: clamp(2.4rem, 5vw, 5.2rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.06em;
    color: rgba(17, 17, 17, 0.42);
    transition:
        color 0.45s ease,
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.design-item p {
    margin-top: 1rem;
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1rem, 2vw, 1.4rem);
    line-height: 1.7;
    color: var(--text-soft);
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.45s ease,
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.design-item.is-active {
    transform: translateX(1.2rem);
}

.design-item.is-active h3 {
    color: var(--text-black);
    transform: scale(1.02);
}

.design-item.is-active p {
    opacity: 1;
    transform: translateY(0);
}
.work-card h3.work-title-yamashiro {
    background: linear-gradient(120deg, #8b5e3c, #d6a35d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.work-card h3.work-title-bright {
    background: linear-gradient(120deg, #111111, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.work-card h3.work-title-420koza {
    background: linear-gradient(120deg, #b6c84f, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (max-width: 900px) {
    .design-section {
        min-height: auto;
        padding: 8rem 8% 10rem;
    }

    .design-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .design-head {
        text-align: center;
    }

    .design-head h2 {
        margin-left: auto;
        margin-right: auto;
    }

    .design-head .gradient-text {
        display: inline-block;
    }

    .design-item.is-active {
        transform: translateX(0);
    }
}

.design-section {
    position: relative;
    overflow: hidden;
}

.design-bg-item::before {
    content: "";
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    opacity: 0.42;

    filter: blur(2px);

    transform: scale(1.03);

    pointer-events: none;
}

.design-bg-item[data-bg="brand"]::before {
    background-image: url("./assets/images/design/brand-experience-bg.png");
}

.design-bg-item[data-bg="reservation"]::before {
    background-image: url("./assets/images/design/reservation-flow-bg.png");
}

.design-bg-item[data-bg="ai"]::before {
    background-image: url("./assets/images/design/ai-concierge-bg.png");
}

.design-bg-item[data-bg="operation"]::before {
    background-image: url("./assets/images/design/operation-design-bg.png");
}

.design-content {
    position: relative;
    z-index: 1;
}
/* --- WORKS SECTION CTA POSITIONING --- */

.works-content {
    position: relative; /* CTAの絶対配置の基準 */
}

.works-cta-wrapper {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
}

/* PC：右下に浮かせる（Goodpatchスタイル） */
@media (min-width: 1024px) {
    .works-cta-wrapper {
        position: absolute;
        bottom: -20px; /* セクションの境界線に少し被せる */
        right: 0;      /* コンテンツの右端に合わせる（または -5% でさらにはみ出す） */
        margin-top: 0;
        flex-direction: row;
        align-items: center;
    }

    /* 横向きの線：実績グリッドから伸びているように見せる */
    .works-cta-wrapper .cta-connector-line {
        width: 100px;
        height: 1px;
        background: linear-gradient(to right, rgba(79, 172, 254, 0.6), transparent);
        margin-right: -10px;
        margin-bottom: 0;
    }
}

/* モバイル：中央に配置 */
@media (max-width: 1023px) {
    .works-cta-wrapper {
        margin-top: 3rem;
        padding: 0 20px;
        width: 100%;
    }
    
    .works-cta-wrapper .flowless-cta {
        width: 100%;
        max-width: 340px;
        justify-content: space-between;
    }
}


/* --- CONTACT SECTION --- */
.contact-section {
    position: relative;
    min-height: 100vh;
    padding: 14rem 8%;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0) 0%,
            rgba(6,12,24,0.35) 20%,
            rgba(5,10,20,0.98) 100%
        );

    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.contact-bg {
    position: absolute;
    inset: 0;
background:
    radial-gradient(circle at 20% 30%, rgba(59,130,246,0.22), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(96,165,250,0.12), transparent 40%);
    filter: blur(40px);
    opacity: 0.9;
    z-index: -1;
}

.contact-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 6rem;
    align-items: center;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 1.5rem;
}

.contact-title {
    font-size: clamp(3.6rem, 9vw, 8rem);
    line-height: 0.88;
    font-weight: 900;
    letter-spacing: -0.07em;
    color: #fff;

    margin-bottom: 2.5rem;

    max-width: 7ch;
}

.contact-text {
    max-width: 620px;

    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    line-height: 2;

    color: rgba(255,255,255,0.78);
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    position: relative;
    padding: 2.4rem;
    border-radius: 2rem;
    background: rgba(12,18,30,0.52);
    border: 1px solid rgba(96,165,250,0.16);
    backdrop-filter: blur(20px);
    text-decoration: none;
    overflow: hidden;

    transition:
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}
.contact-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(96,165,250,0.34),
            transparent 36%
        );
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.contact-card::after {
    content: "";
    position: absolute;
    top: -120%;
    left: -40%;
    width: 60%;
    height: 300%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.22),
        transparent
    );
    transform: rotate(22deg) translateX(-120%);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.contact-card:hover {
    transform: translateY(-14px) scale(1.025);
    background: rgba(20,28,45,0.78);
    border-color: rgba(96,165,250,0.38);
    box-shadow:
        0 35px 90px rgba(59,130,246,0.18),
        inset 0 1px 0 rgba(255,255,255,0.12);
}
.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover::after {
    transform: rotate(22deg) translateX(260%);
}
.contact-card-top span {
    display: block;
    font-size: clamp(1.6rem, 3vw, 2.8rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #fff;
    margin-bottom: 0.8rem;
}

.contact-card-top small {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.contact-arrow {
    margin-top: 2.5rem;
    font-size: 2rem;
    color: rgba(255,255,255,0.9);

    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-card-top,
.contact-arrow {
    position: relative;
    z-index: 1;
}

.contact-card-top p {
    margin-top: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.64);
    font-weight: 700;
}
.contact-card:hover .contact-arrow {
    transform: translateX(10px);
}

@media (max-width: 900px) {

    .contact-section {
        min-height: auto;
        padding: 8rem 8% 10rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-copy {
        text-align: center;
    }

    .contact-title {
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;

        font-size: clamp(3rem, 15vw, 4.8rem);
        line-height: 0.9;
        letter-spacing: -0.075em;
    }

    .contact-text {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;

        font-size: 1.05rem;
        line-height: 1.9;

        text-align: center;
    }

}
/* --- FOOTER --- */
.site-footer {
    position: relative;
    padding: 6rem 8% 3rem;
    overflow: hidden;
    color: #fff;

    background:
        linear-gradient(
            180deg,
            rgba(8,12,22,0.82) 0%,
            rgba(5,10,20,0.96) 100%
        );
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 20% 20%, rgba(59,130,246,0.18), transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(96,165,250,0.10), transparent 42%);

    filter: blur(40px);
    opacity: 0.9;
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;

    max-width: 1180px;
    margin: 0 auto;
    padding-bottom: 4rem;

    display: grid;
    grid-template-columns: 1.15fr 0.7fr 0.85fr;
    gap: 4rem;
    align-items: start;

    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    width: 190px;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.95;

    filter:
        brightness(0)
        invert(1)
        drop-shadow(0 10px 30px rgba(255,255,255,0.04));

    transition:
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.4s ease;
}

.footer-logo:hover {
    transform: translateY(-4px) scale(1.02);
    opacity: 1;
}

.footer-brand p {
    margin-top: 2rem;

    font-size: 0.98rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.62);
    font-weight: 700;
}

.footer-heading {
    margin-bottom: 1.4rem;

    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;

    color: rgba(255,255,255,0.34);
}

.footer-nav,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav a,
.footer-contact p {
    color: rgba(255,255,255,0.66);
    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.footer-nav a {
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-nav a:hover {
    color: #fff;
    transform: translateX(6px);
}

.footer-contact-title {
    margin-top: 1.4rem;

    color: rgba(255,255,255,0.38);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.footer-socials {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.footer-socials a {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(96,165,250,0.16);
    backdrop-filter: blur(18px);

    transition:
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.footer-socials a:hover {
    transform: translateY(-6px) scale(1.06);
    background: rgba(20,28,45,0.72);
    border-color: rgba(96,165,250,0.36);
    box-shadow: 0 18px 50px rgba(59,130,246,0.16);
}

.footer-socials img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-bottom {
    position: relative;
    z-index: 1;

    max-width: 1180px;
    margin: 0 auto;
    padding-top: 2rem;

    display: flex;
    justify-content: space-between;
    gap: 1rem;

    color: rgba(255,255,255,0.38);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

@media (max-width: 900px) {
    .site-footer {
        padding: 5rem 8% 2.5rem;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        justify-items: center;
    }

    .footer-brand,
    .footer-nav,
    .footer-contact {
        align-items: center;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
@media (min-width: 901px) {
    .footer-nav,
    .footer-contact {
        padding-top: 4.8rem;
    }
}

/* --- TYPOGRAPHY --- */
.hero-title {
    margin-bottom: 2rem;

    font-size: clamp(3.8rem, 8vw, 8.2rem);
    line-height: 0.94;

    font-weight: 900;
    letter-spacing: -0.075em;
}

.gradient-text {
    background: linear-gradient(120deg, #4facfe 0%, #00f2fe 30%, #f093fb 60%, #f5576c 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 6s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-sub {
    max-width: 640px;

    margin-bottom: 4.8rem;

    font-size: clamp(1.35rem, 2.8vw, 2rem);
    line-height: 1.45;

    font-weight: 900;
    color: var(--text-soft);
}

.hero-message {
    max-width: 760px;

    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2rem, 3.8vw, 3.25rem);
    line-height: 1.5;

    color: var(--text-black);
}

/* --- UI ELEMENTS --- */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;

    padding: 1.4rem 8%;

    font-weight: 900;
    z-index: 1000;
}

@media (max-width: 768px) {
    .hero-title {
        margin-bottom: 1.6rem;

        font-size: clamp(2.55rem, 11.5vw, 3.35rem);
        line-height: 1;
        letter-spacing: -0.07em;
    }

    .hero-sub {
        margin-bottom: 0;

        font-size: 1.02rem;
        line-height: 1.5;
    }

    .hero-message {
        margin-top: 4.2rem;

        font-size: clamp(1.45rem, 6.6vw, 1.95rem);
        line-height: 1.58;
    }

    .scroll-guide {
        left: 50%;
        bottom: 2.1rem;

        transform: translateX(-50%);
    }

    .scroll-line {
        height: 52px;
    }
}

/* --- ANIMATION --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}