@charset "utf-8";

/* * ベース設定 */
html {
    scroll-behavior: smooth;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    background-color: #1a1b1c;
    color: #e2e8f0;
    font-family: "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
    overflow-x: hidden;
    letter-spacing: 0.02rem;
}

/* 背景Canvas (固定) */
#sketchCanvas {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
}

/* ノイズレイヤー */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* コンテンツラッパー */
.site-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    cursor: crosshair;
}

/* カスタムボタンスタイル */
.btn-outline {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

/* フェードインアニメーション */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* テキストアニメーション */
.char-reveal {
    opacity: 0;
    display: inline-block;
    white-space: pre;
    filter: blur(10px);
    transform: scale(1.1);
}

@keyframes blurReveal {
    0% {
        opacity: 0;
        filter: blur(12px);
        transform: translateY(5px) scale(1.1);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
}

/* 画像オーバーレイ */
.thumb-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    pointer-events: none;
}

/* モバイルメニュー */
#mobileMenu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.menu-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.menu-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
