html {
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
    /* 64px for sticky header */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

main {
    flex-grow: 1;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.logo-gradient {
    background: linear-gradient(to right, #4f46e5, #9333ea);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}



.hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* --- ブラッシュアップ用追加CSS --- */
.hero-bg {
    background-color: #1a202c;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 25% 25%, rgba(124, 58, 237, 0.3), rgba(124, 58, 237, 0) 40%),
        radial-gradient(circle at 75% 75%, rgba(79, 70, 229, 0.3), rgba(79, 70, 229, 0) 40%);
    background-size: 20px 20px, 20px 20px, 100% 100%, 100% 100%;
    position: relative;
    overflow: hidden;
}

.hero-light-bg {
    background-color: #f8fafc;
    /* slate-50 */
    background-image:
        linear-gradient(to right, #e2e8f0 1px, transparent 1px),
        linear-gradient(to bottom, #e2e8f0 1px, transparent 1px),
        radial-gradient(at 10% 20%, rgb(224 231 255 / 0.6) 0px, transparent 50%),
        radial-gradient(at 80% 90%, rgb(235 228 255 / 0.6) 0px, transparent 50%);
    background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%;
}

.glow-effect {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: #7c3aed;
    top: -150px;
    left: -150px;
    animation: pulse 8s infinite alternate;
}

.glow-2 {
    width: 300px;
    height: 300px;
    background: #4f46e5;
    bottom: -100px;
    right: -100px;
    animation: pulse 10s infinite alternate-reverse;
}

@keyframes pulse {
    from {
        transform: scale(0.8);
        opacity: 0.2;
    }

    to {
        transform: scale(1.2);
        opacity: 0.4;
    }
}

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 10s infinite;
}

.animation-delay-4000 {
    animation-delay: -5s;
}

.theme-card-container:hover .theme-card {
    transform: rotateX(0deg) rotateY(0deg) !important;
}

/* --- ここまで --- */

.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: block;
}

.logo-icon {
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}