/* Artist専用の背景設定 */
.artist-back {
  /* 複数の背景レイヤーでつなぎ目を目立たなくする */
  background-image: 
    linear-gradient(45deg, rgba(0,0,0,0.1) 0%, rgba(255,255,255,0.05) 50%, rgba(0,0,0,0.1) 100%),
    var(--bg-ticket) !important;
  background-size: 
    100% 100%,
    600px 900px !important;
  background-position: 
    center,
    center !important;
  background-repeat: 
    no-repeat,
    repeat !important;
  background-attachment: fixed !important;
  background-blend-mode: overlay, normal !important; /* ブレンドモードでなじませる */
  min-height: 100vh;
  position: relative;
  z-index: 1; /* ロケットボタンより低いz-indexを設定 */
}

/* デフォルト背景を無効化 */
.artist-back .back {
  background: none !important;
}

.artist-back .back::before {
  background-image: none !important;
  background: none !important;
  content: none !important;
  display: none !important;
}

.artist {
    color: white;
    /* opacityは削除（デフォルトの1で表示） */
    margin: 0 3vw;
    padding: 0;
    text-align: center;
}

.artist-section {
    background-color: rgba(0,0,0,0.85);
    border-radius: 18px;
    margin: auto 0px;
    padding: 25px 30px 25px 30px;
    border: 2.5px solid black;
    position: relative;
    overflow: hidden;
    text-align: left;
    line-height: 1.8; /* 行間を広く */
    font-size: 16px; /* 基本フォントサイズを設定 */
    color: #ffffff; /* 明確な白色 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* テキストの可読性向上 */
}

.artist-page h1 {
    text-align: center;
    font-size: clamp(22px, 3vw, 36px); /* 最小22px、最大36px */
    color: #FFD700; /* ゴールドカラーで目立たせる */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    margin-bottom: 20px; /* 下部に余白を追加 */
    font-weight: bold;
}

.artist-schedule-section {
    font-size: clamp(18px, 2.5vw, 26px); /* 最小18px、最大26px */
    text-align: center;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.artist-ticket-section {
    width: auto;
    background-color: rgba(0,0,0,0.85);
    border-radius: 18px;
    margin: auto auto;
    padding: 25px 30px 25px 30px;
    border: 2.5px solid black;
    position: relative;
    text-align: center;
    line-height: 1.7; /* 行間を広く */
    font-size: 15px; /* 基本フォントサイズを設定 */
    color: #ffffff; /* 明確な白色 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* テキストの可読性向上 */
}

.artist-attention-section {
    text-align: left;
    line-height: 1.7; /* 行間を広く */
    font-size: 15px; /* 基本フォントサイズを設定 */
    color: #ffffff; /* 明確な白色 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* テキストの可読性向上 */
}

.artist-hachi {
    text-align: center;
}

/* Artist専用のページタイトルスタイル */
.artist-back .page-title {
    background-color: rgba(0, 0, 0, 0.7) !important;
    color: #FFD700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
    padding: 20px 40px !important;
    border-radius: 10px !important;
    margin: 20px auto !important;
    display: inline-block !important;
    border: 2px solid #FFD700 !important;
}

.singer-back {
    padding-top: 100px;
}
.singer-back .page-title {
    background-color: rgba(0, 0, 0, 0.7) !important;
    color: #FFD700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
    padding: 20px 40px !important;
    border-radius: 10px !important;
    margin: 50px auto 20px auto;
    display: inline-block !important;
    border: 2px solid #FFD700 !important;
    /* アニメーション追加 */
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInDown 1s ease-out 0.2s forwards;
}

/* Comedian専用のページタイトルスタイル */
.comedian-back .page-title {
    background-color: rgba(0, 0, 0, 0.7) !important;
    color: #FFD700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
    padding: 20px 40px !important;
    border-radius: 10px !important;
    margin: 150px auto;
    display: inline-block !important;
    border: 2px solid #FFD700 !important;
}

/* キーフレームアニメーション定義 */
@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.6);
    }
}

/* アーティスト画像のアニメーション */
.artist-photo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    /* アニメーション追加 */
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 1s ease-out 0.5s forwards;
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.artist-photo:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

/* アーティストセクションのアニメーション */
.artist-section {
    background-color: rgba(0,0,0,0.85);
    border-radius: 18px;
    margin: auto 0px;
    padding: 25px 30px 25px 30px;
    border: 2.5px solid black;
    position: relative;
    overflow: hidden;
    text-align: left;
    line-height: 1.8;
    font-size: 16px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    /* アニメーション追加 */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artist-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* スケジュールセクションのアニメーション */
.artist-schedule-section {
    font-size: clamp(18px, 2.5vw, 26px);
    text-align: center;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    /* アニメーション追加 */
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease-out 1.2s forwards;
}

/* チケットセクションのアニメーション */
.artist-ticket-section {
    width: auto;
    background-color: rgba(0,0,0,0.85);
    border-radius: 18px;
    margin: auto auto;
    padding: 25px 5px 25px 5px;
    border: 2.5px solid black;
    position: relative;
    text-align: center;
    line-height: 1.7;
    font-size: 15px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    /* アニメーション追加 */
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease-out 1.6s forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artist-ticket-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* 注意事項セクションのアニメーション */
.artist-attention-section {
    text-align: left;
    line-height: 1.7;
    font-size: 15px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    /* アニメーション追加 */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 2s forwards;
}

/* 見出しのアニメーション */
.artist-page h1 {
    text-align: center;
    font-size: clamp(22px, 3vw, 36px);
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    margin-bottom: 20px;
    font-weight: bold;
    /* アニメーション追加 */
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.artist-section h1:hover,
.artist-schedule-section h1:hover,
.artist-ticket-section h1:hover,
.artist-attention-section h1:hover {
    color: #FFF700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    animation: pulse 1s ease-in-out;
}

/* 背景のアニメーション効果 */
.singer-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 215, 0, 0.1) 50%, 
        transparent 70%);
    opacity: 0;
    animation: backgroundShimmer 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundShimmer {
    0%, 100% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
        transform: translateX(100%);
    }
}

/* スクロールアニメーション用の追加クラス */
.animate-in {
    animation-play-state: running !important;
}

/* 初期状態でアニメーションを一時停止 */
.artist-section,
.artist-ticket-section,
.artist-attention-section {
    animation-play-state: paused;
}

/* スクロール時に発動するアニメーション */
.artist-section.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.artist-ticket-section.animate-in {
    animation: slideInRight 0.8s ease-out forwards;
}

.artist-attention-section.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* テキストの段階的表示アニメーション */
.artist-section br {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

.artist-section br:nth-child(1) { animation-delay: 0.1s; }
.artist-section br:nth-child(2) { animation-delay: 0.2s; }
.artist-section br:nth-child(3) { animation-delay: 0.3s; }
.artist-section br:nth-child(4) { animation-delay: 0.4s; }
.artist-section br:nth-child(5) { animation-delay: 0.5s; }
.artist-section br:nth-child(6) { animation-delay: 0.6s; }
.artist-section br:nth-child(7) { animation-delay: 0.7s; }
.artist-section br:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* パフォーマンス最適化のためのアニメーション設定 */
.artist-page * {
    will-change: auto;
}

.artist-section,
.artist-ticket-section,
.artist-attention-section,
.artist-photo {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

/* 滑らかなスクロールを有効化 */
html {
    scroll-behavior: smooth;
}

/* アニメーション中のちらつき防止 */
.artist-page {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* GPU加速の有効化 */
.artist-section:hover,
.artist-ticket-section:hover,
.artist-photo:hover {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* アニメーション設定の統一 */
.artist-page * {
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* 高解像度ディスプレイ対応 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .artist-section,
    .artist-ticket-section,
    .artist-attention-section {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* レスポンシブアニメーションの調整 */
@media (max-width: 768px) {
    .artist-section,
    .artist-ticket-section,
    .artist-attention-section {
        animation-duration: 0.6s;
    }
    
    .artist-photo {
        animation-duration: 0.8s;
    }
}

@media (max-width: 480px) {
    .artist-section,
    .artist-ticket-section,
    .artist-attention-section {
        animation-duration: 0.5s;
    }
    
    .artist-photo {
        animation-duration: 0.6s;
    }
}

/* 段落間のスペーシングを改善 */
.artist-section br {
    line-height: 2.2; /* br要素の行間を調整 */
    margin: 8px 0; /* 上下にマージンを追加 */
}

.ticket-section br {
    line-height: 2.0; /* br要素の行間を調整 */
    margin: 6px 0; /* 上下にマージンを追加 */
}

.attention-section br {
    line-height: 2.0; /* br要素の行間を調整 */
    margin: 6px 0; /* 上下にマージンを追加 */
}

/* 文章のかたまりごとに視覚的な区切りを作る */
.artist-section p,
.ticket-section p,
.attention-section p {
    margin-bottom: 15px; /* 段落間の余白 */
    text-indent: 1em; /* 段落の最初の文字をインデント */
    letter-spacing: 0.05em; /* 文字間隔を調整して可読性向上 */
    text-align: justify; /* 両端揃え */
    text-justify: inter-ideograph; /* 日本語の両端揃えを最適化 */
}

/* 重要な情報をハイライト */
.artist-section strong,
.ticket-section strong,
.attention-section strong {
    color: #FFD700;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

/* 画像のレスポンシブ対応 */
.artist-photo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* タブレット対応 */
@media (max-width: 768px) {
    
    .artist-back {
        margin: 0 20px;
    }
    
    .artist-section {
        margin: auto 30px;
        padding: 18px;
        font-size: 17px;
        line-height: 1.9;
        background-color: rgba(0,0,0,0.87);
    }
    
    h1 {
        font-size: 26px;
        margin-bottom: 18px;
    }
    
    .schedule-section {
        font-size: 18px;
        line-height: 1.8;
    }
    
    .ticket-section {
        width: 80%;
        margin: auto 30px;
        padding: 16px;
        font-size: 16px;
        line-height: 1.8;
        background-color: rgba(0,0,0,0.87);
    }
    
    .attention-section {
        font-size: 16px;
        line-height: 1.8;
    }
    
    .artist-photo {
        width: 80% !important;
        height: auto !important;
        margin: 20px auto;
    }
}

/* スマートフォン対応 */
@media (max-width: 480px) {
    
    .artist-back {
        margin: 0 15px;
    }
    
    .artist-section {
        margin: auto 0px;
        padding: 15px;
        font-size: 16px;
        line-height: 2.0;
        background-color: rgba(0,0,0,0.88);
    }
    
    h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .schedule-section {
        font-size: 16px;
        line-height: 1.9;
    }
    
    .ticket-section {
        width: 85%;
        margin: auto 20px;
        padding: 12px;
        font-size: 14px;
        line-height: 1.9;
        background-color: rgba(0,0,0,0.88);
    }
    
    .attention-section {
        font-size: 14px;
        line-height: 1.9;
    }
    
    .artist-photo {
        width: 75% !important;
        height: auto !important;
        margin: 15px auto;
    }
    
    /* スマホでのbr要素の調整 */
    .artist-section br,
    .ticket-section br,
    .attention-section br {
        line-height: 2.5;
        margin: 10px 0;
    }
}

/* 超小型デバイス対応 */
@media (max-width: 320px) {
    .artist-section {
        margin: auto 15px;
        padding: 12px;
        font-size: 15px;
        line-height: 2.1;
    }
    
    h1 {
        font-size: 20px;
    }
    
    .ticket-section {
        width: 90%;
        margin: auto 15px;
        padding: 10px;
        font-size: 13px;
        line-height: 2.0;
    }
    
    .attention-section {
        font-size: 13px;
        line-height: 2.0;
    }
}

/* 背景のつなぎ目を目立たなくするための追加スタイル */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.02) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0,0,0,0.03) 0%, transparent 50%),
    linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.01) 50%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* アーティストページ用のロケットボタン表示確保 */
.artist-page .rocket-button {
  z-index: 99999 !important;
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  display: flex !important;
  /* ローディング状態に関係なく表示 */
  visibility: visible !important;
}

.artist-page .rocket-button.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

/* アーティストページではローディング中でもロケットボタンを表示 */
.artist-page.loading .rocket-button,
.artist-page .rocket-button {
  display: flex !important;
  visibility: visible !important;
}

/* アーティスト自動公開機能用のスタイル */

.artist-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid var(--accent-color, #ff6b35);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.artist-item h3 {
    color: var(--primary-color, #fff);
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.artist-item p {
    margin: 10px 0;
    line-height: 1.6;
}

.artist-item p strong {
    color: var(--accent-color, #ff6b35);
    font-weight: bold;
}

.notice {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    padding: 15px;
    margin-top: 20px;
    font-style: italic;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* 公開時のフェードインアニメーション */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Singer.html用の準備中メッセージスタイル */
.preparing-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 20px;
}

.preparing-message {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 25px;
    padding: 50px 40px;
    border: 4px solid #ff6b35;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-width: 700px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.preparing-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.1) 0%, 
        transparent 50%, 
        rgba(255, 107, 53, 0.05) 100%);
    pointer-events: none;
}

.preparing-message h1 {
    color: #ff6b35;
    font-size: clamp(2em, 4vw, 3em);
    margin-bottom: 35px;
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(255, 107, 53, 0.3);
    font-weight: bold;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.preparing-text {
    position: relative;
    z-index: 1;
}

.preparing-text p {
    color: #ffffff;
    font-size: clamp(1.1em, 2.5vw, 1.4em);
    line-height: 2;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.05em;
    font-weight: 500;
}

.preparing-text p strong {
    color: #FFD700;
    font-size: 1.2em;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(255, 215, 0, 0.5);
    font-weight: bold;
    letter-spacing: 0.02em;
}

/* アーティスト情報公開時の専用スタイル */
.reveal-animation {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(20, 20, 40, 0.9) 50%, 
        rgba(0, 0, 0, 0.95) 100%);
    border-radius: 30px;
    padding: 60px 40px !important;
    text-align: center !important;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
    background-clip: padding-box;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 3px rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(15px);
    margin: 40px auto;
    max-width: 800px;
}

.reveal-animation::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #FFD700 0%, 
        #ff6b35 25%, 
        #FFD700 50%, 
        #ff6b35 75%, 
        #FFD700 100%);
    border-radius: 32px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

.reveal-animation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 30px;
    animation: shimmer 4s ease-in-out infinite;
}

.reveal-animation h1 {
    color: #FFD700 !important;
    font-size: clamp(1.8em, 4vw, 2.8em) !important;
    margin: 20px 0 30px 0 !important;
    font-weight: bold !important;
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 1),
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.4) !important;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
    animation: titleGlow 2s ease-in-out infinite alternate;
    /* グラデーション文字を無効化して単色にする */
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #000000 !important;
    /* 1行に収まるようにする */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.reveal-animation p {
    color: #ffffff !important;
    font-size: clamp(1.1em, 2.5vw, 1.4em) !important;
    line-height: 1.6;
    margin: 15px 0;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 1),
        0 0 10px rgba(0, 0, 0, 0.8) !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 0.5s forwards;
    /* 背景色を追加して視認性向上 */
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* 1行に収まるようにする */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* キーフレームアニメーション */
@keyframes borderGlow {
    0%, 100% {
        opacity: 0.8;
        filter: brightness(1);
    }
    50% {
        opacity: 1;
        filter: brightness(1.2);
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-20px);
    }
    50% {
        opacity: 0.7;
        transform: translateX(20px);
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 
            3px 3px 6px rgba(0, 0, 0, 1),
            0 0 20px rgba(255, 215, 0, 0.8),
            0 0 40px rgba(255, 215, 0, 0.4);
    }
    100% {
        text-shadow: 
            3px 3px 6px rgba(0, 0, 0, 1),
            0 0 30px rgba(255, 215, 0, 1),
            0 0 60px rgba(255, 215, 0, 0.6);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ホバー効果 */
.reveal-animation:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 0 3px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

.reveal-animation:hover::before {
    animation-duration: 1.5s;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .reveal-animation {
        padding: 45px 30px !important;
        margin: 30px 20px;
        border-radius: 25px;
    }
    
    .reveal-animation::before {
        border-radius: 27px;
    }
    
    .reveal-animation h1 {
        margin: 25px 0 30px 0 !important;
    }
    
    .reveal-animation p {
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    .reveal-animation {
        padding: 35px 25px !important;
        margin: 20px 15px;
        border-radius: 20px;
    }
    
    .reveal-animation::before {
        border-radius: 22px;
    }
    
    .reveal-animation::after {
        border-radius: 20px;
    }
    
    .reveal-animation h1 {
        margin: 20px 0 25px 0 !important;
        letter-spacing: 0.02em;
    }
    
    .reveal-animation p {
        margin: 12px 0;
        letter-spacing: 0.02em;
    }
}

/* 追加のアニメーション効果 */
.reveal-animation {
    animation: revealEntrance 1.2s ease-out;
}

@keyframes revealEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
        filter: blur(10px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05) translateY(-10px);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

/* パーティクル効果（オプション） */
.reveal-animation.with-particles::before {
    background: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 215, 0, 0.8), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(255, 107, 53, 0.8), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(255, 215, 0, 0.8), transparent),
        radial-gradient(1px 1px at 20% 90%, rgba(255, 107, 53, 0.8), transparent),
        linear-gradient(45deg, 
            #FFD700 0%, 
            #ff6b35 25%, 
            #FFD700 50%, 
            #ff6b35 75%, 
            #FFD700 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    animation: borderGlow 3s ease-in-out infinite, particleFloat 4s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
    25% {
        background-position: 5% 10%, 10% 5%, 15% 20%, 20% 15%, 0% 0%;
    }
    50% {
        background-position: 10% 20%, 20% 10%, 25% 30%, 30% 25%, 0% 0%;
    }
    75% {
        background-position: 5% 15%, 15% 5%, 20% 25%, 25% 20%, 0% 0%;
    }
}
