@charset "UTF-8";

/* =========================================================
    01. Design tokens
    テーマ（forest / city / sea）は html の data-theme 属性で切り替わります。
    色は下の [data-theme] ごとに定義し、写真・動画は common.js で差し替えます。
========================================================= */
@property --color-main {
    syntax: "<color>";
    inherits: true;
    initial-value: #123f46;
}

@property --color-accent {
    syntax: "<color>";
    inherits: true;
    initial-value: #d6a66f;
}

@property --color-base {
    syntax: "<color>";
    inherits: true;
    initial-value: #f2efe8;
}

@property --color-surface {
    syntax: "<color>";
    inherits: true;
    initial-value: #e3ded2;
}

@property --color-dark {
    syntax: "<color>";
    inherits: true;
    initial-value: #102c30;
}

@property --color-text {
    syntax: "<color>";
    inherits: true;
    initial-value: #1a292b;
}

:root {
    --color-main: #123f46;
    --color-accent: #d6a66f;
    --color-base: #f2efe8;
    --color-surface: #e3ded2;
    --color-dark: #102c30;
    --color-text: #1a292b;
    --color-white: #fdfcf8;
    --color-line: color-mix(in srgb, var(--color-text) 20%, transparent);
    --font-display: "Noto Sans JP", sans-serif;
    --font-sans: "Noto Sans JP", sans-serif;
    --wrapper: 1280px;
    --gutter: clamp(24px, 5vw, 72px);
    --section-space: clamp(112px, 15vw, 220px);
    --loading-logo-size: clamp(1.1rem, 2.4vw, 1.55rem);
    --loading-line-width: min(34vw, 120px);
    --footer-icon-size: 44px;
    --radius: 2px;
    --radius-pill: 999px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    transition:
        --color-main 0.8s var(--ease),
        --color-accent 0.8s var(--ease),
        --color-base 0.8s var(--ease),
        --color-surface 0.8s var(--ease),
        --color-dark 0.8s var(--ease),
        --color-text 0.8s var(--ease);
}

:root[data-theme="city"] {
    --color-main: #5d5fef;
    --color-accent: #ff8a5b;
    --color-base: #f4f3f8;
    --color-surface: #deddea;
    --color-dark: #1f2230;
    --color-text: #2b2d38;
}

:root[data-theme="sea"] {
    --color-main: #1f88a8;
    --color-accent: #f0c36e;
    --color-base: #f4fbfc;
    --color-surface: #d9f0f4;
    --color-dark: #0f3f4f;
    --color-text: #173b45;
}

/* =========================================================
    02. Base
========================================================= */
html {
    overflow-x: clip;
    scrollbar-color: var(--color-main) var(--color-base);
}

body {
    overflow-x: clip;
    background: var(--color-base);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.055em;
}

body.is-menu-open {
    overflow: hidden;
}

img,
video,
canvas {
    display: block;
    max-width: 100%;
}

a,
button {
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 5px;
}

.wrapper {
    width: min(
        calc(100% - var(--gutter) * 2),
        var(--wrapper)
    );
    margin-inline: auto;
}

.section {
    padding-block: var(--section-space);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================
    03. Loading / Header
========================================================= */
.loading {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 14px;
    background: var(--color-dark);
    color: var(--color-white);
}

.loading-logo {
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    font-family: var(--font-display);
    font-size: var(--loading-logo-size);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.14em;
    text-indent: 0.14em;
}

.loading-line {
    position: relative;
    width: var(--loading-line-width);
    height: 3px;
    margin-inline: auto;
    overflow: hidden;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.2);
}

.loading-line::after {
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    content: "";
    transform: translateX(-100%);
    animation: loadingLine 1.5s var(--ease) forwards;
}

@keyframes loadingLine {
    to {
        transform: translateX(0);
    }
}

.header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    color: var(--color-white);
    transition:
        color 0.4s,
        transform 0.4s;
}

.header::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: color-mix(
        in srgb,
        var(--color-base) 72%,
        transparent
    );
    box-shadow: 0 8px 32px rgba(16, 44, 48, 0.08);
    content: "";
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    transition: opacity 0.4s;
}

.header.is-scrolled {
    color: var(--color-text);
}

.header.is-scrolled::after {
    opacity: 1;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100% - 48px), 1440px);
    min-height: 88px;
    margin-inline: auto;
}

.logo {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    line-height: 1;
}

.nav {
    margin-left: auto;
    margin-right: clamp(24px, 3vw, 48px);
}

.nav-list {
    display: flex;
    gap: clamp(24px, 3vw, 52px);
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.nav a {
    position: relative;
}

.nav a::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}

.nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-tools {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-switch {
    display: flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
    border-radius: var(--radius-pill);
}

.theme-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 8px;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    line-height: 1;
    opacity: 0.65;
    transition:
        background-color 0.4s,
        opacity 0.4s;
}

.theme-btn:hover {
    opacity: 1;
}

.theme-btn.is-active {
    background: color-mix(in srgb, currentColor 16%, transparent);
    opacity: 1;
}

.theme-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dot-main) 50%, var(--dot-accent) 50%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.theme-btn[data-theme="forest"] {
    --dot-main: #123f46;
    --dot-accent: #d6a66f;
}

.theme-btn[data-theme="city"] {
    --dot-main: #5d5fef;
    --dot-accent: #ff8a5b;
}

.theme-btn[data-theme="sea"] {
    --dot-main: #1f88a8;
    --dot-accent: #f0c36e;
}

.menu {
    position: relative;
    z-index: 2;
    display: none;
    width: 44px;
    height: 44px;
}

.menu span:not(.visually-hidden) {
    position: absolute;
    left: 8px;
    width: 28px;
    height: 1px;
    background: currentColor;
    transition:
        transform 0.4s,
        top 0.4s;
}

.menu span:first-child {
    top: 17px;
}

.menu span:nth-child(2) {
    top: 26px;
}

.menu.is-active span:first-child {
    top: 22px;
    transform: rotate(45deg);
}

.menu.is-active span:nth-child(2) {
    top: 22px;
    transform: rotate(-45deg);
}

.drawer {
    position: fixed;
    z-index: 90;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(82vw, 360px);
    padding: 112px 32px 40px;
    overflow-y: auto;
    visibility: hidden;
    background: var(--color-dark);
    color: var(--color-white);
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition:
        transform 0.45s var(--ease),
        visibility 0.5s;
}

.drawer.is-open {
    visibility: visible;
    transform: translateX(0);
}

.drawer-overlay {
    position: fixed;
    z-index: 80;
    inset: 0;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.42);
    opacity: 0;
    transition:
        opacity 0.4s,
        visibility 0.4s;
}

.drawer-overlay.is-open {
    visibility: visible;
    opacity: 1;
}

.drawer-list {
    width: 100%;
}

.drawer-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.drawer-list a {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 18px 0;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 4vw, 1.6rem);
}

.drawer-list span {
    font-family: var(--font-sans);
    font-size: 0.7rem;
}

/* =========================================================
    04. Hero / Swiper
========================================================= */
.mv {
    position: relative;
    height: 100svh;
    min-height: 680px;
    overflow: hidden;
    background: var(--color-dark);
    color: var(--color-white);
}

.mv-slider,
.mv-slider .swiper-wrapper,
.mv-slide {
    width: 100%;
    height: 100%;
}

.mv-slide {
    overflow: hidden;
}

.mv-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: opacity 0.4s;
}

.mv-slide.swiper-slide-active img,
.mv-slide.is-leaving img {
    animation: heroZoom 9.5s linear forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.02);
    }

    to {
        transform: scale(1.14);
    }
}

.mv-canvas,
.mv-filter {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.mv-canvas {
    z-index: 2;
    opacity: 0.42;
    mix-blend-mode: screen;
}

.mv-filter {
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(4, 18, 20, 0.58),
            rgba(4, 18, 20, 0.08) 66%
        ),
        linear-gradient(
            0deg,
            rgba(4, 18, 20, 0.55),
            transparent 45%
        );
}

.mv-content {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: var(--gutter);
    transform: translateY(-43%);
}

.mv-sub {
    margin-bottom: 20px;
    font-size: 0.7rem;
    letter-spacing: 0.28em;
}

.mv-ttl {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6.2vw, 6.2rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.045em;
}

.mv-ttl span {
    display: block;
}

.mv-ttl span:last-child {
    margin-left: clamp(36px, 10vw, 180px);
}

.mv-txt {
    margin-top: 44px;
    margin-left: clamp(40px, 12vw, 220px);
    font-size: 0.9rem;
    line-height: 2.1;
}

.mv-bottom {
    position: absolute;
    z-index: 3;
    bottom: 28px;
    left: 50%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    width: calc(100% - var(--gutter) * 2);
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

.mv-bottom p:last-child {
    text-align: right;
}

.scroll-link {
    display: grid;
    justify-items: center;
    gap: 8px;
}

.scroll-link span {
    width: 1px;
    height: 42px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.4);
}

.scroll-link span::after {
    display: block;
    width: 100%;
    height: 45%;
    background: var(--color-white);
    content: "";
    animation: scrollLine 1.8s infinite;
}

@keyframes scrollLine {
    from {
        transform: translateY(-120%);
    }

    to {
        transform: translateY(240%);
    }
}

.mv-progress {
    position: absolute;
    z-index: 4;
    right: var(--gutter);
    bottom: 88px;
    width: 120px;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
}

.mv-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--color-white);
}

/* =========================================================
    05. Common sections
========================================================= */
.sec-head {
    display: grid;
    grid-template-columns: 72px 1fr;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-line);
    font-family: var(--font-display);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
}

.sec-head-light {
    border-color: rgba(255, 255, 255, 0.22);
}

.sec-ttl {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.3vw, 4.7rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
}

.sec-ttl-light {
    color: var(--color-white);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 38px;
    padding-bottom: 6px;
    border-bottom: 1px solid currentColor;
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1.4;
}

.text-link span {
    transition: transform 0.3s;
}

.text-link:hover span {
    transform: translateX(4px);
}

/* =========================================================
    06. Concept
========================================================= */
.sec-01-inner {
    display: grid;
    grid-template-columns: 0.75fr 3fr;
    gap: clamp(48px, 8vw, 120px);
}

.sec-01-body {
    padding-top: clamp(60px, 10vw, 130px);
}

.sec-01-lead {
    margin-bottom: clamp(70px, 10vw, 140px);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 2.1rem);
}

.sec-01-content {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr;
    gap: clamp(48px, 8vw, 130px);
    align-items: end;
}

.sec-01-txt p + p {
    margin-top: 1.4em;
}

.sec-01-txt .text-link {
    margin-top: 42px;
}

/* =========================================================
    07. Stays
========================================================= */
.sec-02 {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.75);
}

.sec-02-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 48px;
    margin:
        clamp(70px, 10vw, 130px)
        0
        clamp(80px, 12vw, 170px);
}

.card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(22px, 3vw, 52px);
}

.card-lower {
    transform: translateY(90px);
}

.card-img {
    aspect-ratio: 0.72;
    margin-bottom: 26px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
}

.card-meta span {
    margin-right: 12px;
    color: var(--color-accent);
}

.card h3 {
    margin-top: 12px;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 400;
    line-height: 1.2;
}

.image-zoom {
    overflow: hidden;
    background: var(--color-surface);
}

.image-zoom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 1s var(--ease),
        filter 0.6s,
        opacity 0.4s;
}

.image-zoom:hover img,
a:hover .image-zoom img {
    transform: scale(1.055);
    filter: brightness(0.9);
}

/* =========================================================
    08. Sticky video experience
========================================================= */
.sec-03-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.82fr)
        minmax(0, 1.18fr);
    gap: clamp(40px, 8vw, 120px);
    margin-top: clamp(70px, 10vw, 130px);
}

.sec-03-story {
    min-width: 0;
}

.story-item {
    display: flex;
    min-height: 92vh;
    flex-direction: column;
    justify-content: center;
    padding-block: 80px;
    opacity: 0.28;
    transition: opacity 0.6s;
}

.story-item.is-active {
    opacity: 1;
}

.story-num {
    margin-bottom: 28px;
    color: var(--color-main);
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
}

.story-item h2 {
    margin-bottom: 36px;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.story-item > p:last-child {
    max-width: 32em;
}

.movie {
    position: sticky;
    top: 10vh;
    height: 80vh;
    overflow: hidden;
    background: var(--color-main);
}

.movie-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        opacity 0.45s,
        transform 1.2s var(--ease);
}

.movie-video.is-changing {
    opacity: 0;
    transform: scale(1.04);
}

.movie-filter {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(4, 18, 20, 0.55),
        transparent 48%
    );
    pointer-events: none;
}

.movie-label {
    position: absolute;
    bottom: 28px;
    left: 30px;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
}

.movie-credit {
    position: absolute;
    right: 30px;
    bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
}

/* =========================================================
    09. Journal / Closing / Footer
========================================================= */
.sec-04 {
    padding-top: 0;
}

.sec-04-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin:
        clamp(70px, 10vw, 130px)
        0
        80px;
}

.article-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(26px, 5vw, 80px);
}

.article-card:nth-child(2) {
    margin-top: 120px;
}

.article-img {
    aspect-ratio: 1.3;
    margin-bottom: 22px;
}

.article-meta {
    color: var(--color-main);
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

.article-card h3 {
    margin-top: 12px;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    font-weight: 400;
    line-height: 1.7;
}

.sec-05 {
    position: relative;
    display: grid;
    min-height: 92svh;
    place-items: center;
    overflow: hidden;
    background: var(--color-main);
    color: var(--color-white);
    text-align: center;
}

.sec-05-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.72;
}

.sec-05-content {
    position: relative;
    z-index: 1;
}

.sec-05-content > p {
    margin-bottom: 28px;
    font-size: 0.68rem;
    letter-spacing: 0.25em;
}

.sec-05 h2 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6.2vw, 6.2rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.circle-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 160px;
    height: 160px;
    padding: 24px;
    margin: 58px auto 0;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 0.82rem;
    transition:
        color 0.4s,
        background 0.4s,
        transform 0.4s;
}

.circle-link:hover {
    background: var(--color-white);
    color: var(--color-main);
    transform: rotate(-5deg);
}

.footer {
    padding: 80px 0 30px;
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr auto;
    gap: 40px;
    align-items: start;
}

.footer-logo {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: clamp(2.7rem, 6vw, 5.5rem);
    line-height: 0.9;
    letter-spacing: 0.08em;
}

.footer address {
    font-style: normal;
    font-size: 0.82rem;
}

.footer-links {
    display: flex;
    gap: 10px;
}

.footer-links a {
    display: grid;
    width: var(--footer-icon-size);
    height: var(--footer-icon-size);
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1rem;
    transition:
        color 0.3s,
        background 0.3s,
        border-color 0.3s,
        transform 0.3s;
}

.footer-links a:hover {
    border-color: var(--color-white);
    background: var(--color-white);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.footer-copy {
    grid-column: 1 / -1;
    padding-top: 52px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.7rem;
}

/* =========================================================
    09-1. Page top
========================================================= */
.totop {
    position: fixed;
    z-index: 70;
    right: 28px;
    bottom: 28px;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-dark) 86%, transparent);
    color: var(--color-accent);
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition:
        opacity 0.4s,
        transform 0.4s var(--ease),
        background-color 0.4s,
        color 0.4s;
}

.totop.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.totop:hover {
    background: var(--color-accent);
    color: var(--color-dark);
}

/* =========================================================
    09-2. Theme change
    写真・動画を差し替える間だけ、一瞬フェードさせます。
========================================================= */
body.is-theme-changing .mv-slider img,
body.is-theme-changing .card-img img,
body.is-theme-changing .article-img img,
body.is-theme-changing .movie-video {
    opacity: 0;
}

/* =========================================================
    10. Responsive
========================================================= */
/* Tablet + Mobile */
@media screen and (max-width: 1199px) {
    .nav {
        display: none;
    }

    .menu {
        display: block;
    }

    .header.is-menu-open {
        color: var(--color-white);
    }

    .header.is-menu-open::after {
        opacity: 0;
    }

    .sec-03-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .movie {
        z-index: 1;
        grid-area: 1 / 1;
        align-self: start;
        top: 0;
        width: calc(100% + var(--gutter) * 2);
        height: 100svh;
        margin-inline: calc(var(--gutter) * -1);
    }

    .movie-label {
        top: 96px;
        bottom: auto;
    }

    .sec-03-story {
        position: relative;
        z-index: 2;
        grid-area: 1 / 1;
        margin-top: 0;
    }

    .story-item {
        min-height: 100svh;
        justify-content: end;
        padding: 48px 24px;
        color: var(--color-white);
        text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
    }

    .story-item h2 {
        margin-bottom: 20px;
    }

    .story-num {
        color: var(--color-accent);
    }

    .movie-filter {
        background:
            linear-gradient(
                0deg,
                rgba(4, 18, 20, 0.72),
                rgba(4, 18, 20, 0.3) 70%,
                rgba(4, 18, 20, 0.2)
            );
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-logo {
        grid-column: 1 / -1;
        margin-bottom: 30px;
    }
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .card-list {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(18px, 2.5vw, 32px);
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    :root {
        --gutter: 22px;
        --section-space: 100px;
    }

    .header-inner {
        width: calc(100% - 32px);
        min-height: 72px;
    }

    .header-tools {
        gap: 4px;
    }

    .totop {
        right: 16px;
        bottom: 16px;
        width: 46px;
        height: 46px;
    }

    .theme-btn {
        padding: 8px;
    }

    .theme-name {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .mv {
        min-height: 620px;
    }

    .mv-content {
        left: 22px;
        width: calc(100% - 44px);
    }

    .mv-ttl {
        font-size: clamp(2.5rem, 12vw, 3.8rem);
        line-height: 0.92;
    }

    .mv-ttl span:last-child {
        margin-left: 20px;
    }

    .mv-txt {
        margin-top: 34px;
        margin-left: 22px;
    }

    .mv-bottom p {
        display: none;
    }

    .mv-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .mv-progress {
        right: 24px;
        bottom: 44px;
        width: 80px;
    }

    .sec-head {
        grid-template-columns: 52px 1fr;
    }

    .sec-ttl {
        font-size: clamp(2rem, 9.5vw, 3rem);
    }

    .sec-01-inner,
    .sec-01-content {
        grid-template-columns: 1fr;
    }

    .sec-02-head,
    .sec-04-head {
        align-items: start;
        flex-direction: column;
    }

    .card-list {
        grid-template-columns: 1fr;
        gap: 72px;
    }

    .card-lower {
        transform: translateY(0);
    }

    .card-img {
        aspect-ratio: 0.86;
    }

    .movie-label {
        left: 22px;
    }

    .movie-credit {
        right: 22px;
    }

    .article-list {
        grid-template-columns: 1fr;
        gap: 72px;
    }

    .article-card:nth-child(2) {
        margin-top: 0;
    }

    .sec-05 h2 {
        font-size: clamp(2.5rem, 12vw, 3.8rem);
    }

    .circle-link {
        width: 140px;
        height: 140px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-logo,
    .footer-copy {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .mv-slide img {
        transform: scale(1.04);
    }
}