   :root {
        --brand-color: #F26649;
        --text-dark: #111;
        --text-gray: #666;
        --text-white: #fff;
        --input-bg: #f5f5f7;
    }

    * { box-sizing: border-box; }

    body, html {
        margin: 0;
        padding: 0;
        height: 100%;
        width: 100%;
        font-family: 'Noto Sans JP', sans-serif;
        background-color: #fff;
        overflow: hidden;
    }

    /* カスタムスクロールバー */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
    ::-webkit-scrollbar-thumb:hover { background: #000; }

    /* =========================================
       Split Layout (Fixed Ratio 4:6)
       ========================================= */
    .split-container {
        display: flex;
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }

    .panel {
        height: 100%;
        position: relative;
    }

    /* 左パネル (40%) */
    .left-side {
        flex: 4;
        background-color: var(--brand-color);
        color: var(--text-white);
        padding: 80px 50px 60px; 
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        z-index: 10;
        box-shadow: 10px 0 30px rgba(0,0,0,0.1); 
        position: relative;
    }

    /* 右パネル (60%) */
    .right-side {
        flex: 6;
        background-color: #fff;
        overflow-y: auto;
        position: relative;
        scroll-behavior: smooth;
    }


    /* =========================================
       Left Side Design
       ========================================= */
    .brand-header { margin-bottom: 20px; }
    
    .brand-mark {
        width: 0; height: 0; border-style: solid;
        border-width: 40px 40px 0 0; 
        border-color: #fff transparent transparent transparent;
        margin-bottom: 20px;
    }
    .logo {
        font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 4rem;
        line-height: 1; letter-spacing: -0.02em; display: block; color: #fff;
    }
    
    .vertical-copy-area {
        flex-grow: 1; display: flex; align-items: center; justify-content: center; gap: 20px;
    }
    .vertical-text {
        writing-mode: vertical-rl; font-size: 1.4rem; letter-spacing: 0.3em;
        line-height: 2; color: #fff; font-weight: 500; text-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
    .skill-tags {
        writing-mode: vertical-rl; font-family: 'Outfit', sans-serif; font-size: 0.75rem;
        color: rgba(255,255,255,0.6); letter-spacing: 0.2em; transform: rotate(180deg);
    }

    .left-footer {
        display: flex; flex-direction: column; gap: 30px; align-items: flex-start; padding-top: 20px;
    }
    .footer-links { display: flex; flex-direction: column; gap: 8px; }
    .footer-links a {
        color: rgba(255,255,255,0.8); text-decoration: none; transition: opacity 0.3s;
        font-size: 0.85rem; display: inline-flex; align-items: center; gap: 8px;
    }
    .footer-links a:hover { opacity: 1; text-decoration: underline; }

    .btn-white {
        background: #fff; color: var(--brand-color); padding: 15px 40px; border-radius: 50px;
        font-weight: 700; text-decoration: none; display: inline-flex; align-items: center;
        gap: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.15); transition: transform 0.2s, box-shadow 0.2s;
        width: 100%; justify-content: center; max-width: 280px;
    }
    .btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,0.25); }


    /* =========================================
       Right Side Design
       ========================================= */
    .right-content {
        padding: 80px 10%;
        max-width: 900px;
        margin: 0 auto;
        min-height: 100%;
        position: relative;
    }

    /* スクロール位置調整 */
    #contact, #media {
        scroll-margin-top: 60px;
    }

    .intro-section {
        margin-bottom: 100px; border-bottom: 1px solid #eee; padding-bottom: 60px;
    }
    .intro-label {
        font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 500;
        letter-spacing: 0.1em; color: #ccc; display: block; margin-bottom: 20px;
    }
    .profile-name {
        font-size: 3rem; font-weight: 700; margin-bottom: 15px; line-height: 1.2; color: var(--text-dark);
    }
    .profile-name span {
        display: block; font-size: 1.2rem; font-family: 'Outfit', sans-serif; font-weight: 400; color: #999; margin-top: 5px;
    }
    .profile-desc {
        color: #666; line-height: 2; margin-top: 25px; font-weight: 400; font-size: 0.95rem;
    }

    .content-list {
        display: flex; flex-direction: column; gap: 100px; padding-bottom: 100px;
        border-bottom: 1px solid #eee; 
        margin-bottom: 80px;
    }

    .project-item { text-decoration: none; color: inherit; display: block; transition: opacity 0.3s; }
    .project-item:hover { opacity: 0.9; }

    .img-wrapper {
        width: 100%; height: 380px; background-color: #f5f5f5; overflow: hidden;
        margin-bottom: 25px; position: relative; border-radius: 4px;
    }
    .img-wrapper img {
        width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.8s ease;
    }
    .project-item:hover .img-wrapper img { transform: scale(1.05); }

    .project-meta {
        display: flex; justify-content: space-between; align-items: flex-end;
        border-bottom: 1px solid #ddd; padding-bottom: 15px;
    }
    .project-info h3 {
        font-size: 1.5rem; margin: 0 0 8px 0; font-weight: 700; font-family: 'Outfit', sans-serif; color: var(--text-dark);
    }
    .project-desc { font-size: 0.9rem; color: #888; letter-spacing: 0.05em; }
    .arrow-icon { font-size: 1.2rem; color: #ccc; transition: transform 0.3s, color 0.3s; }
    .project-item:hover .arrow-icon { color: var(--brand-color); transform: translateX(10px); }

    
    /* Scroll Line Indicator */
    .scroll-line-indicator {
        position: fixed;
        right: 40px;
        bottom: 0;
        z-index: 20;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        mix-blend-mode: difference;
    }

    .scroll-text-simple {
        font-family: 'Outfit', sans-serif;
        font-size: 0.75rem;
        letter-spacing: 0.2em;
        writing-mode: vertical-rl;
        color: #111; 
        font-weight: 700;
        margin-bottom: 10px;
    }

    .scroll-line {
        width: 1px;
        height: 80px;
        background-color: #111;
        position: relative;
        overflow: hidden;
    }
    .scroll-line::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #ccc;
        transform: translateY(-100%);
        animation: scrollDown 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
    }
    @keyframes scrollDown {
        0% { transform: translateY(-100%); }
        50% { transform: translateY(0%); }
        100% { transform: translateY(100%); }
    }


    /* Contact Form Style */
    .contact-section { padding-bottom: 60px; }
    .contact-title {
        font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark);
    }
    .contact-desc { font-size: 0.9rem; color: #888; margin-bottom: 40px; }

    .form-group { margin-bottom: 30px; }
    .form-label {
        display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-dark);
        margin-bottom: 8px; letter-spacing: 0.05em;
    }
    .form-label span { color: var(--brand-color); font-size: 0.7rem; margin-left: 5px; }

    .form-input, .form-textarea {
        width: 100%;
        padding: 18px 20px;
        background-color: var(--input-bg);
        border: 1px solid transparent;
        border-radius: 6px;
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 1rem;
        color: #333;
        transition: all 0.3s ease;
    }
    
    .form-input:focus, .form-textarea:focus {
        outline: none;
        background-color: #fff;
        border-color: #ddd;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    .form-textarea { resize: vertical; min-height: 160px; }

    .btn-submit {
        background-color: var(--text-dark); color: #fff; border: none; padding: 18px 60px;
        font-size: 1rem; font-weight: 700; border-radius: 50px; cursor: pointer;
        transition: background-color 0.3s, transform 0.2s; font-family: 'Outfit', sans-serif;
        letter-spacing: 0.1em; margin-top: 20px; display: inline-block;
    }
    .btn-submit:hover { background-color: var(--brand-color); transform: translateY(-2px); }

    /* ★ Copyright in Right Content (New) */
    .right-footer {
        text-align: center;
        font-size: 0.7rem;
        color: #ccc;
        margin-top: 40px;
        margin-bottom: 20px;
        font-family: 'Outfit', sans-serif;
    }


    /* スマホ対応 */
    @media (max-width: 900px) {
        body, html { overflow: auto; height: auto; }
        .split-container { flexDirection: column; height: auto; display: block; }
        .left-side { height: auto; min-height: 80vh; padding: 80px 30px 50px; box-shadow: none; }
        .brand-mark { border-width: 30px 30px 0 0; }
        .vertical-text { writing-mode: horizontal-tb; text-align: center; height: auto; margin: 20px 0; font-size: 1.6rem; }
        .skill-tags { writing-mode: horizontal-tb; transform: none; text-align: center; margin-bottom: 20px; }
        .vertical-copy-area { display: block; margin: 60px 0; text-align: center; }
        .right-side { height: auto; overflow: visible; scroll-behavior: auto; }
        .right-content { padding: 60px 30px; }
        .img-wrapper { height: 240px; }
        .content-list { gap: 60px; }
        .btn-white { width: 100%; max-width: none; }
        
        .scroll-line-indicator { display: none; }
        ::-webkit-scrollbar { width: 4px; } 
    }