@charset "UTF-8";

/* ==========================================================================
   Pattern 08: Minimal Mono (白黒・極限のシンプル)
   Designer: "ミニマリズム至上主義のUIクリエイター"
   Concept: 余白、巨大な白黒写真、サンセリフ体、徹底的な要素の削ぎ落とし
   ========================================================================== */

:root {
    --c-black: #050505;
    --c-white: #FFFFFF;
    --c-gray: #888888;
    --c-gray-light: #F0F0F0;

    --font-en: 'Inter', sans-serif;
    --font-ja: 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-en);
    color: var(--c-black);
    background-color: var(--c-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 日本語にはJPフォントを適用 */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-ja);
}

/* ただし、英数字メインのクラスは英語フォントを優先 */
.c-logo,
.l-header__nav,
.l-footer,
h3 {
    font-family: var(--font-en);
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.4s ease;
}

a:hover {
    opacity: 0.5;
}

img {
    max-width: 100%;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.8s;
}

/* 完全白黒 */
ul {
    list-style: none;
}

/* =========================================
   Typography & Components
========================================= */
.c-logo {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.c-logo--large {
    font-size: 10vw;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 20px;
}

.c-lead {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.c-text-muted {
    font-size: 14px;
    color: var(--c-gray);
    line-height: 2.4;
    max-width: 600px;
}

/* =========================================
   Layout
========================================= */
.l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 40px 0;
    mix-blend-mode: difference;
    /* 背景色に応じて白黒反転（白黒デザインの王道テクニック） */
    color: var(--c-white);
}

.l-header__inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.l-header__nav ul {
    display: flex;
    gap: 40px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.l-section {
    padding: 150px 0;
}

.l-section__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

/* =========================================
   Hero
========================================= */
.p-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-hero__img-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65vw;
    height: 75vh;
    overflow: hidden;
}

.p-hero__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    /* パララックス動作用の余白 */
}

.p-hero__content {
    position: relative;
    z-index: 10;
    mix-blend-mode: difference;
    color: var(--c-white);
    text-align: center;
    pointer-events: none;
}

.p-hero__title {
    font-family: var(--font-en);
    font-size: clamp(60px, 10vw, 150px);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.p-hero__text {
    font-size: 14px;
    letter-spacing: 0.2em;
    font-weight: 300;
}

.c-scroll {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100px;
    width: 1px;
    mix-blend-mode: difference;
}

.c-scroll__line {
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--c-white);
    transform-origin: top;
    animation: scrollScale 2s infinite cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes scrollScale {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* =========================================
   About
========================================= */
.p-about__layout {
    display: flex;
    justify-content: flex-end;
    /* 右寄せの余白美 */
}

.p-about__text {
    width: 50%;
}

/* =========================================
   Works (Gallery)
========================================= */
.p-works {
    padding-bottom: 200px;
}

.p-work-item {
    margin-bottom: 250px;
    /* 巨大な余白 */
    width: 80%;
}

.p-work-item--reverse {
    margin-left: auto;
    text-align: right;
}

.p-work-item:last-child {
    margin-bottom: 0;
}

.p-work-item__img {
    width: 100%;
    height: 80vh;
    /* 縦長の巨大な写真 */
    max-height: 1000px;
    overflow: hidden;
    margin-bottom: 40px;
}

.p-work-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    /* パララックス用 */
}

.p-work-item:hover .p-work-item__img img {
    filter: grayscale(0%);
    /* ホバーで一瞬だけ色が少し戻る演出（完全なモノクロ写真なら変化なし） */
}

.p-work-item__info h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
}

.p-work-item__info p {
    font-family: var(--font-en);
    font-size: 13px;
    color: var(--c-gray);
    letter-spacing: 0.1em;
}

/* =========================================
   Footer
========================================= */
.l-footer {
    padding: 150px 0 50px;
    text-align: center;
}

.p-contact-info {
    margin-bottom: 100px;
}

.c-mail-link {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 300;
    letter-spacing: 0.2em;
    position: relative;
    padding-bottom: 10px;
}

.c-mail-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--c-black);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.c-mail-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.l-footer__nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 80px;
}

.l-footer__copy {
    font-size: 10px;
    color: var(--c-gray);
    letter-spacing: 0.1em;
}

/* =========================================
   Animations
========================================= */
.js-fade-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1), transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.js-fade-item.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Responsive
========================================= */
@media screen and (max-width: 900px) {
    .l-header__inner {
        padding: 0 20px;
    }

    .l-header__nav {
        display: none;
    }

    .l-section__inner {
        padding: 0 20px;
    }

    .p-hero__img-wrap {
        width: 90vw;
        height: 60vh;
    }

    .p-about__text {
        width: 100%;
    }

    .p-work-item {
        width: 100%;
        margin-bottom: 150px;
    }

    .p-work-item__img {
        height: 60vh;
    }

    .c-logo--large {
        font-size: 15vw;
    }
}

/* --- Hover Interaction Updates --- */
.p-work-item { transition: transform 0.4s; }
.p-work-item:hover { transform: translateY(-5px); }
.p-work-item__img, .p-hero__img-wrap { overflow: hidden; }
.p-work-item:hover .p-work-item__img img { transform: scale(1.05) translateY(0) !important; filter: grayscale(0%); }
.p-work-item__img img, .p-hero__img-wrap img { transition: transform 0.8s, filter 0.8s; }
.p-hero__img-wrap:hover img { transform: scale(1.02); }
