/* ================================
   パーティクル演出用スタイル - YAMAHA版
   作成場所: css/particle-hero.css
================================ */

/* ヒーロー画像の調整 */
.hero-image {
    position: relative;
    overflow: hidden;
}

/* 縦書きテキストラッパー */
.vertical-text-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 縦書きメインテキスト */
.vertical-text {
    /* 縦書き設定（ベンダープレフィックス付き） */
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    
    /* テキストの向き */
    -webkit-text-orientation: upright;
    -ms-text-orientation: upright;
    text-orientation: upright;
    
    /* フォント設定 */
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.8rem;
    line-height: 1;
    white-space: nowrap;
    
    /* YAMAHAブルーのエフェクト */
    text-shadow: 
        0 0 20px rgba(14, 95, 216, 0.8),
        0 0 40px rgba(14, 95, 216, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    
    /* アニメーション */
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 1.5s ease-out forwards;
    animation-delay: 0.5s;
    margin: 0 auto;
}

/* 英語サブタイトル（画像上） */
.vertical-text-wrapper .english-subtitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #0E5FD8;  /* YAMAHAブルー */
    letter-spacing: 0.5rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1.5s;
    text-shadow: 0 0 10px rgba(14, 95, 216, 0.6);
}

/* 装飾的な線 */
.decoration-line {
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #0E5FD8, transparent);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: expandLine 1.5s ease-out forwards;
}

.line-top {
    top: -100px;
    height: 80px;
    animation-delay: 0.3s;
}

.line-bottom {
    bottom: -100px;
    height: 80px;
    animation-delay: 0.8s;
}

/* パーティクルコンテナ */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

/* パーティクル（YAMAHAブルー） */
.particle {
    position: absolute;
    background: #0E5FD8;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 
        0 0 6px #0E5FD8,
        0 0 12px rgba(14, 95, 216, 0.5);
}

/* 火花（ブルー系） */
.spark {
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, #66a3ff, #0E5FD8, transparent);
    border-radius: 2px;
    pointer-events: none;
    box-shadow: 0 0 4px #0E5FD8;
}

/* アニメーション定義 */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes expandLine {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        height: 80px;
        opacity: 0.8;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .vertical-text {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
        letter-spacing: 0.5rem;
    }
    
    .vertical-text-wrapper .english-subtitle {
        font-size: clamp(1.2rem, 3vw, 1.8rem);
        margin-top: 1.5rem;
    }
    
    .line-top,
    .line-bottom {
        height: 60px;
    }
    
    .line-top {
        top: -80px;
    }
    
    .line-bottom {
        bottom: -80px;
    }
}

@media (max-width: 480px) {
    .vertical-text {
        font-size: 2.5rem;
        letter-spacing: 0.3rem;
    }
    
    .vertical-text-wrapper .english-subtitle {
        font-size: 1.2rem;
        letter-spacing: 0.3rem;
    }
}