@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

body {
    font-family: 'Noto Sans JP', sans-serif;
    scroll-behavior: smooth;
}

.hero-ise {
    background: url('../img/hero-ise.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* 紙吹雪（パーティクル）用キャンバス */
#particle-canvas,
#environment-particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}



.hero-content {
    position: relative;
    z-index: 10;
}

.glass-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.card-hover:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.sakura-border {
    border-bottom: 4px solid #ffb7c5;
}

.map-container {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
    border-radius: 0.75rem;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 文字集結アニメーション用スタイル */
.char-assemble {
    display: inline-block;
    opacity: 0;
    animation: assemble 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* 集結後のゆらゆらウェーブアニメーション */
.char-wave {
    display: inline-block;
    animation: wave-float 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes assemble {
    0% {
        opacity: 0;
        transform: translate(var(--tw-x), var(--tw-y)) rotate(var(--tw-rotate)) scale(var(--tw-scale));
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(0.9);
        filter: blur(0);
    }
}

/* ゆらゆらウェーブ（滑らかな波打ち）のキーフレーム */
@keyframes wave-float {
    0%, 100% {
        transform: translateY(0) scale(0.92);
    }
    50% {
        transform: translateY(-25.6px) scale(1.16);
    }
}

/* 働きやすい環境用：ウェーブ＋サイズ変化アニメーション */
.char-wave-env {
    display: inline-block;
    animation: wave-float-env 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes wave-float-env {
    0%, 100% {
        transform: translateY(0) scale(0.92);
    }
    50% {
        transform: translateY(-17.9px) scale(1.16);
    }
}

/* 既存のカスタムアニメーション */
.animate-spin-slow {
    animation: spin 8s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-swing-left {
    animation: swing-left 3s ease-in-out infinite;
    transform-origin: center center;
}
@keyframes swing-left {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-45deg); }
}

.animate-pulse-slow {
    animation: pulse-slow 3s ease-in-out infinite;
}
@keyframes pulse-slow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* 右から転がりながら登場するアニメーション */
.char-roll-in {
    display: inline-block;
    opacity: 0;
    animation: roll-in 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes roll-in {
    0% {
        opacity: 0;
        transform: translateX(100px) rotate(360deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

/* 左から転がりながら登場するアニメーション */
.char-roll-in-left {
    display: inline-block;
    opacity: 0;
    animation: roll-in-left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes roll-in-left {
    0% {
        opacity: 0;
        transform: translateX(-100px) rotate(-360deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}


