/* ==============================================================
   style.css — HaptiKode エントランスページ専用
   （現時点ではロゴを中央配置するのみ。将来的にPixelSnug/CodePaint for AI/
   MarkupBoostなど各サービスへの導線を追加予定）
   ============================================================== */

:root {
    /* -- color tokens（PixelSnugサイトと共通のブランドカラー）-- */
    --color-bg: #f1f1f1;
    --color-white: #ffffff;
    --color-accent: #9c63ff;
    --color-accent-title-start: #9d62ff;
    --color-accent-blue: #20a4de;
    --color-accent-gradient: linear-gradient(90deg, var(--color-accent-title-start) 0%, var(--color-accent-blue) 100%);
    --color-text-dark: #1e1e2d;
    --color-text-gray: #666666;
    --color-border: #e2dddd;
}

html {
    background-color: var(--color-bg);
}

body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    color: var(--color-text-dark);
    background-color: var(--color-bg);
    background-attachment: fixed;
    background-image: linear-gradient(var(--color-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
    font-weight: 500;

    /*-pc*/
    @media (min-width: 768px) {
        background-size: 32px 32px;
    }
    /*-sp*/
    @media (max-width: 767px) {
        background-size: 6vw 6vw;
    }
}

.entrance_section {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8vw;
}

.entrance_inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.entrance_logo {
    height: auto;
    opacity: 0;
    transform: translateY(8px);
    animation: entranceLogoFadeIn 0.9s ease forwards 0.15s;

    /*-pc*/
    @media (min-width: 768px) {
        width: 420px;
    }
    /*-sp*/
    @media (max-width: 767px) {
        width: 68vw;
    }
}

@keyframes entranceLogoFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .entrance_logo {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
