        /* ==========================================================================
           【設定エリア】 配色やフォント等の基本設定
           ========================================================================== */
        :root {
            /* ▼ カーソルのサイズ */
            --cursor-size: 20px;
            --cursor-hover-size: 60px;

            /* ▼ 配色設定 */
            --text-main: #111;
            --text-sub: #555;
            --bg-body: #f8f8f8;
            --bg-footer: #0a0a0a;

            /* ▼ レイアウト設定 */
            /* フォント設定 */
            --font-main: 'Futura', 'Noto Sans JP', sans-serif;
            /* レイアウト用パディング変数 */
            --spacing-container: 24px;
            --spacing-container-md: 96px;
        }

        /* ==========================================================================
           以下、スタイルの定義
           ========================================================================== */

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

        html {
            background-color: var(--bg-body);
            overscroll-behavior-y: none;
            /* バウンススクロール防止 */
        }

        body {
            font-family: var(--font-main);
            background-color: var(--bg-body);
            color: var(--text-main);
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
            width: 100%;
            cursor: none;
            /* カスタムカーソルのためデフォルトカーソルを非表示 */
            overscroll-behavior-y: none;
        }

        a {
            text-decoration: none;
            color: inherit;
            cursor: none;
            /* リンク上でもカーソル非表示 */
        }

        button {
            cursor: none;
        }

        ul {
            list-style: none;
        }

        /* タッチデバイスではデフォルトカーソルに戻す */
        @media (hover: none) and (pointer: coarse) {

            body,
            a,
            button {
                cursor: auto;
            }

            #custom-cursor {
                display: none;
            }
        }

        /* --- カスタムカーソル --- */
        #custom-cursor {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--cursor-size);
            height: var(--cursor-size);
            border: 1px solid #111;
            /* 背景が明るいので黒枠に変更、あるいはmix-blend-modeに依存 */
            border-radius: 50%;
            pointer-events: none;
            z-index: 9999;
            transform: translate(-50%, -50%);
            mix-blend-mode: exclusion;
            /* 背景色と反転させる */
            background-color: transparent;
            transition: width 0.3s cubic-bezier(0.19, 1, 0.22, 1),
                height 0.3s cubic-bezier(0.19, 1, 0.22, 1),
                background-color 0.3s ease;
        }

        /* カーソル本体の色調整（mix-blend-mode使用時） */
        #custom-cursor {
            background-color: #fff;
            mix-blend-mode: difference;
            border: none;
        }

        #custom-cursor.hovered {
            width: var(--cursor-hover-size);
            height: var(--cursor-hover-size);
            background-color: #fff;
            /* 反転色で目立たせる */
            mix-blend-mode: difference;
        }

        /* --- ローディング画面 --- */
        #loader {
            position: fixed;
            inset: 0;
            background-color: #111;
            z-index: 10000;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
        }

        .loader-text-wrapper {
            overflow: hidden;
        }

        .loader-text {
            font-size: 1.5rem;
            font-weight: 300;
            letter-spacing: 0.3em;
            transform: translateY(100%);
            opacity: 0;
        }

        /* --- フローティングナビゲーション (NEW) --- */
        .floating-nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            /* ヘッダーコンテンツより手前 */
            display: flex;
            justify-content: space-between;
            align-items: center;
            /* パディングを減らしてバーを細くする（1.5rem -> 0.8rem） */
            padding: 0.8rem 1.5rem;
            /* 【変更】背景色を追加し、下のコンテンツを隠す */
            background-color: var(--bg-body);
        }

        @media (min-width: 768px) {
            .floating-nav {
                padding: 1rem 3rem;
            }
        }

        /* ナビゲーション内のブランド名 (otamochi) */
        .nav-brand {
            font-size: 0.875rem;
            font-weight: 600;
            letter-spacing: 0.05em;
            line-height: 1.2;
        }

        @media (min-width: 768px) {
            .nav-brand {
                font-size: 1rem;
            }
        }

        /* Contactボタン */
        .nav-contact-btn {
            pointer-events: auto;
            /* ボタンはクリック可能に */
            display: inline-block;
            background-color: #111;
            color: #fff;
            padding: 0.6em 1.4em;
            border-radius: 9999px;
            /* カプセル型 */
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.05em;
            transition: transform 0.3s ease, background-color 0.3s ease;
        }

        .nav-contact-btn:hover {
            transform: scale(1.05);
            background-color: #333;
        }

        @media (min-width: 768px) {
            .nav-contact-btn {
                font-size: 0.85rem;
            }
        }

        /* --- ヘッダー --- */
        .header-section {
            /* 基本は画面いっぱいだが、スマホなどコンテンツが縦に伸びる場合は自動で伸ばす */
            min-height: 100vh;
            min-height: 100svh;
            /* コンテンツが溢れる場合は高さを自動拡張 */
            height: auto;

            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            padding-top: 8rem;
            padding-bottom: 4rem;
            position: relative;
            width: 100%;
            overflow: hidden;

            padding-left: 1.5rem;
            padding-right: 1.5rem;
        }

        @media (min-width: 768px) {
            .header-section {
                padding-top: 10rem;
                padding-left: 3rem;
                padding-right: 3rem;
            }
        }

        /* 背景の巨大文字 (PORTFOLIO) */
        .parallax-bg {
            position: absolute;
            right: -5%;
            top: 10%;
            font-weight: bold;
            color: #e5e7eb;
            user-select: none;
            /* 初期状態を非表示にする（アニメーションで表示させるため） */
            opacity: 0;
            mix-blend-mode: multiply;
            pointer-events: none;
            z-index: 0;
            white-space: nowrap;
            line-height: 0.8;
            font-size: 15vw;
            transform: translateY(0);
            will-change: transform;
        }

        @media (max-width: 768px) {
            .parallax-bg {
                font-size: 20vw;
                /* スマホ時の最終透明度はJSアニメーションで制御しますが、CSSの初期値は0でOK */
                top: 15%;
                right: -10%;
            }
        }

        .header-content {
            position: relative;
            z-index: 10;
            width: 100%;
            max-width: none;
            margin: 0;
        }

        /* Welcome! 大見出し */
        .brand-welcome {
            font-family: 'Quicksand', sans-serif;
            font-size: 1.25rem;
            font-weight: 700;
            letter-spacing: -0.02em;
            color: #111;
            line-height: 1.1;
            margin-bottom: 2rem;
            /* アニメーション用 */
            opacity: 0;
            transform: translateY(20px);
            margin-left: 0;
        }

        @media (min-width: 768px) {
            .brand-welcome {
                font-size: 2rem;
                margin-bottom: 3rem;
                margin-left: 6rem;
            }
        }

        @media (min-width: 1024px) {
            .brand-welcome {
                font-size: 2.2rem;
            }
        }

        /* --- 名前・肩書エリア（左寄せ） --- */
        .header-profile-area {
            margin-left: 0;
            margin-right: auto;
            width: fit-content;
            max-width: 800px;
            display: flex;
            flex-direction: column;
            position: relative;
            align-items: flex-start;
            text-align: left;
        }

        @media (min-width: 768px) {
            .header-profile-area {
                margin-left: 6rem;
            }
        }

        /* 名前 */
        .user-name {
            font-size: 2.2rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            margin-bottom: 0.5rem;
            mix-blend-mode: darken;
            word-break: normal;
            line-height: 1.1;
            text-align: left;
            width: 100%;
            white-space: nowrap;
        }

        @media (min-width: 768px) {
            .user-name {
                font-size: 4.5rem;
            }
        }

        /* 肩書 */
        .user-subtitle {
            font-size: 0.9rem;
            line-height: 1.8;
            font-weight: 400;
            color: #6b7280;
            letter-spacing: 0.025em;
            margin-bottom: 2rem;
            text-align: left;
            width: 100%;
            /* アニメーション用 */
            opacity: 0;
            transform: translateY(20px);
        }

        @media (min-width: 768px) {
            .user-subtitle {
                font-size: 1.1rem;
                white-space: nowrap;
            }
        }

        /* 名前下の黒い区切り線 */
        .separator-line {
            width: 4rem;
            height: 2px;
            background-color: #000;
            margin-bottom: 2rem;
            align-self: flex-start;
            transform-origin: left;
            transform: scaleX(0);
        }

        @media (min-width: 768px) {
            .separator-line {
                width: 6rem;
            }
        }

        /* --- コピーテキストブロック（中央寄せ） --- */
        .header-copy {
            display: flex;
            flex-direction: column;
            /* 少し下に配置するためマージンを増やす */
            margin-top: 5rem;
            margin-left: auto;
            margin-right: auto;
            width: fit-content;
            /* テキスト自体は左揃え */
            align-items: flex-start;
            text-align: left;
        }

        /* 3行コピー */
        .copy-line {
            font-size: 1.4rem;
            font-weight: 400;
            line-height: 1.6;
            letter-spacing: 0.02em;
            color: #333;
            text-align: left;
            white-space: nowrap;
            /* アニメーション用 */
            opacity: 0;
            transform: translateY(20px);
        }

        @media (min-width: 768px) {
            .copy-line {
                font-size: 2.4rem;
            }
        }

        /* コピー文の署名 (-- with Notion.) */
        .copy-line-accent {
            font-size: 1.6rem;
            font-weight: 400;
            line-height: 1.6;
            letter-spacing: 0.03em;
            color: #111;
            margin-top: 1rem;
            /* 右端に配置 */
            align-self: flex-end;
            text-align: right;
            border-bottom: 2px solid #111;
            padding-bottom: 2px;
            white-space: nowrap;
            /* アニメーション用 */
            opacity: 0;
            transform: translateY(20px);
        }

        @media (min-width: 768px) {
            .copy-line-accent {
                font-size: 2.7rem;
                border-bottom-width: 2px;
            }
        }

        /* 特定単語の強調 (Notion) */
        .accent-highlight {
            font-weight: 800;
        }

        /* 文字出現アニメーション用のラッパー */
        .reveal-text {
            overflow: hidden;
            display: inline-block;
            vertical-align: bottom;
            padding-right: 0.15em;
            margin-right: -0.15em;
            padding-bottom: 0.05em;
        }

        .reveal-text span {
            display: block;
            transform: translateY(100%);
            opacity: 0;
        }

        /* スマホ用改行制御クラス */
        .br-mobile {
            display: block;
        }

        @media (min-width: 768px) {
            .br-mobile {
                display: none;
            }
        }

        /* スクロール指示 */
        .scroll-indicator {
            position: absolute;
            bottom: 1.5rem;
            left: 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            /* アニメーション用 */
            opacity: 0;
            transform: translateY(20px);
            transform-origin: bottom;
        }

        @media (min-width: 768px) {
            .scroll-indicator {
                left: 6rem;
                bottom: 3rem;
            }
        }

        @media (max-height: 700px) {
            .scroll-indicator {
                display: none;
            }
        }

        /* スクロールのバウンドアニメーション */
        @keyframes bounce-slow {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(10px);
            }
        }

        .scroll-text {
            font-size: 10px;
            font-weight: 500;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            writing-mode: horizontal-tb;
            transform: none;
        }

        .scroll-line {
            width: 1px;
            height: 70px;
            background-color: #000;
        }

        /* --- ギャラリー --- */
        .container-padding {
            padding-left: var(--spacing-container);
            padding-right: var(--spacing-container);
        }

        @media (min-width: 768px) {
            .container-padding {
                padding-left: var(--spacing-container-md);
                padding-right: var(--spacing-container-md);
            }
        }

        .section-py {
            padding-top: 8rem;
            padding-bottom: 8rem;
        }

        .gallery-section {
            background-color: #fff;
            position: relative;
            z-index: 20;
        }

        .section-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            margin-bottom: 6rem;
            border-bottom: 1px solid #f3f4f6;
            padding-bottom: 1.5rem;
        }

        .section-title {
            font-size: 1.875rem;
            font-weight: 700;
            letter-spacing: -0.025em;
        }

        @media (min-width: 768px) {
            .section-title {
                font-size: 3rem;
            }
        }

        .section-number {
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #9ca3af;
            margin-bottom: 0.25rem;
        }

        @media (min-width: 768px) {
            .section-number {
                font-size: 0.75rem;
            }
        }

        #gallery-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        @media (min-width: 768px) {
            #gallery-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 2rem;
            }
        }

        @media (min-width: 1024px) {
            #gallery-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .gallery-item {
            position: relative;
            width: 100%;
            aspect-ratio: 1 / 1;
            overflow: hidden;
            background-color: #e5e7eb;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
            cursor: none;
            /* ホバー時もカスタムカーソル */
        }

        .gallery-item.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
            will-change: transform;
            display: block;
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        .gallery-overlay {
            position: absolute;
            inset: 0;
            background-color: #000;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 0.3;
        }

        .gallery-caption {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .gallery-item:hover .gallery-caption {
            opacity: 1;
        }

        .view-btn {
            color: #fff;
            font-size: 0.75rem;
            letter-spacing: 0.3em;
            font-weight: 300;
            border: 1px solid rgba(255, 255, 255, 0.5);
            padding: 0.5rem 1rem;
            background-color: rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(2px);
        }

        /* --- フリーテキストセクション --- */
        .text-section {
            background-color: #f8f8f8;
            position: relative;
            z-index: 20;
        }

        .text-content-wrapper {
            max-width: 800px;
            margin: 0 auto;
        }

        .text-body {
            font-size: 0.95rem;
            line-height: 2.2;
            color: var(--text-sub);
            white-space: pre-line;
            font-weight: 400;
        }

        @media (min-width: 768px) {
            .text-body {
                font-size: 1.05rem;
            }
        }

        /* テキスト間の区切り線 */
        .text-separator {
            width: 100%;
            height: 1px;
            background-color: #e5e7eb;
            margin: 3rem 0;
        }

        /* --- Contact / Footer --- */
        .contact-section {
            background-color: var(--bg-footer);
            color: #fff;
            position: relative;
            padding-bottom: 3rem;
        }

        .contact-inner {
            max-width: 1280px;
            margin: 0 auto;
        }

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

        @media (min-width: 768px) {
            .contact-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        .contact-label {
            display: block;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #6b7280;
            margin-bottom: 2rem;
        }

        .contact-heading {
            font-size: 1.75rem;
            font-weight: 400;
            letter-spacing: -0.025em;
            margin-bottom: 3rem;
            line-height: 1.2;
        }

        @media (min-width: 768px) {
            .contact-heading {
                font-size: 2.75rem;
            }
        }

        .links-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .link-item {
            border-bottom: 1px solid #1f2937;
            padding-bottom: 1rem;
            position: relative;
        }

        .link-anchor {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 1.25rem;
            font-weight: 300;
            transition: all 0.3s ease;
            width: 100%;
        }

        @media (min-width: 768px) {
            .link-anchor {
                font-size: 1.5rem;
            }
        }

        .link-anchor:hover {
            padding-left: 1rem;
        }

        .link-label {
            transition: color 0.3s;
        }

        .link-anchor:hover .link-label {
            color: #d1d5db;
        }

        .link-arrow {
            font-size: 0.75rem;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .link-anchor:hover .link-arrow {
            opacity: 1;
        }

        .footer-bottom {
            margin-top: 8rem;
            padding-top: 2rem;
            border-top: 1px solid #1f2937;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: flex-start;
            font-size: 10px;
            color: #6b7280;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            gap: 1rem;
        }

        @media (min-width: 768px) {
            .footer-bottom {
                flex-direction: row;
                align-items: flex-end;
            }
        }

        /* --- モーダル（画像拡大） --- */
        #image-modal {
            position: fixed;
            inset: 0;
            z-index: 15000;
            display: none;
            align-items: center;
            justify-content: center;
            background-color: rgba(255, 255, 255, 0.98);
            opacity: 0;
            padding-top: env(safe-area-inset-top);
            padding-bottom: env(safe-area-inset-bottom);
        }

        #modal-image {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transform: scale(0.95);
            opacity: 0;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
        }

        .close-btn {
            position: fixed;
            top: max(1.5rem, env(safe-area-inset-top));
            right: max(1.5rem, env(safe-area-inset-right));
            z-index: 20000;
            cursor: none;
            /* カーソル統一 */
            width: 48px;
            height: 48px;
            background-color: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(4px);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, background-color 0.3s ease;
        }

        .close-btn:hover {
            background-color: #fff;
        }

        .close-btn svg {
            transition: transform 0.5s ease;
            width: 24px;
            height: 24px;
        }

        .close-btn:hover svg {
            transform: rotate(90deg);
        }

        .modal-content-wrapper {
            width: 100%;
            height: 100%;
            padding: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        @media (min-width: 768px) {
            .modal-content-wrapper {
                padding: 4rem;
            }
        }
