:root {
    --bg-white: #fcfaf5;
    --accent-orange: #f3d6b6;
    --accent-gray: #d4d9dc;
    --text-main: #5d524a;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Quicksand", "Inter", "Hiragino Sans", "Meiryo", sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* ★ 大事な猫の画像設定：右半分に固定 */
.cat-background {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%; /* 画面の右半分 */
    height: 100%;
    /* 画像パスが正しいかご確認ください。../ はcssフォルダから見たパスです */
    background-image: url('../images/CENTER_0001_BURST20201202063705813_COVER~2.JPG');
    background-size: cover;
    background-position: center;
    z-index: 1; /* コンテンツの下、Canvasの上 */
}

/* 左側のコンテンツを縦に並べるコンテナ */
.main-container {
    position: relative;
    z-index: 10;
    width: 50%; /* 左半分を使用 */
    height: 100vh;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

/* タイトル */
.brand-title {
    margin: 0;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

/* 中央リンク */
.content-nav {
    display: flex;
    align-items: center;
}

.main-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px 40px;
    border-radius: 40px 10px 40px 40px;
    border-left: 10px solid var(--accent-orange);
    box-shadow: 15px 15px 40px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    min-width: 250px;
}

.main-link:hover {
    transform: translateX(10px);
    border-left-color: var(--accent-gray);
}

.link-label { font-size: 0.75rem; color: #b5ada3; letter-spacing: 0.1em; }
.link-title { font-size: 1.8rem; font-weight: 700; color: var(--text-main); }
.link-arrow { margin-top: 10px; font-size: 1.2rem; }

/* 下部エリア */
.bottom-interface {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact { font-size: 14px; }
.contact a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-orange);
}

#ui-panel {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--accent-gray);
    width: 260px;
}

#obj-count { font-size: 1.5rem; font-weight: 700; }
input[type="range"] { width: 100%; accent-color: var(--accent-orange); }

/* Canvas（最背面） */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
}

/* プロジェクトリスト全体のコンテナ */
.project-list {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* 上の区切り線 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* 下の区切り線 */
}

/* 個々のアイテム */
.project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* アイテム間の細い線 */
}

/* 最後のアイテムの線は消す */
.project-item:last-child {
    border-bottom: none;
}

/* ホバー時の挙動 */
.project-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.item-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.link-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.6;
    letter-spacing: 0.1em;
}

.link-title {
    font-size: 1.2rem;
    font-weight: 500;
}

.link-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.project-item:hover .link-arrow {
    transform: translateX(5px); /* ホバー時に猫の足跡が少し動く遊び心 */
}