@charset "UTF-8";

/* --- Main Visual Section --- */
.appeal {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    height: 100vh !important;
    position: relative !important; /* グラデーションの基準点 */
    z-index: 1 !important;
    margin: 0 !important;
    overflow: hidden !important; /* はみ出しを防止 */

    /* 背景画像の設定（リピートを厳禁に） */
    background-position: center 39% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important; /* ★ここを死守 */
    
    /* 上下のフェードアウト */
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%) !important;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%) !important;
}

/* ★溶け込み用グラデーション（MVの上部だけに黒を乗せる） */
.appeal::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 150px !important; /* ナビの高さくらいまで */
    /* ナビの色に合わせて「黒→透明」のグラデーション */
    background: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

/* コンテンツエリア：視認性重視 */
.appeal-content { 
    text-align: center; 
    color: #fff; 
    z-index: 3 !important; /* グラデーションより前に出す */
    position: relative; 
    padding: 60px 40px !important;
    max-width: 900px;
    background: radial-gradient(circle, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 80%) !important;
}

/* タイトルとメッセージの影（以前のこだわりを継承） */
.appeal-title { 
    font-size: 3.2rem !important; 
    font-weight: 900 !important; 
    margin: 0 0 25px 0 !important;
    text-shadow: 0 0 15px rgba(255,140,126,0.6), 0 0 20px #000, 2px 2px 0 #000, -2px -2px 0 #000;
}

.appeal-message-ja { 
    font-size: 1.25rem !important; 
    font-weight: 700 !important; 
    line-height: 2.0 !important;
    text-shadow: 0 0 10px #000, 0 0 20px #000, 1px 1px 2px #000;
}

.appeal-message-en {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.95rem !important;
    opacity: 0.8;
}

/* 下向き矢印（::after） */
.appeal-content::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 16px;
    height: 16px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateX(-50%) rotate(45deg);
    animation: bounce-perfect 2s infinite;
}

@keyframes bounce-perfect {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0) rotate(45deg); }
    40% { transform: translateX(-50%) translateY(-15px) rotate(45deg); }
}

/* モバイル調整 */
@media screen and (max-width: 768px) {
    /* 1. コンテナの高さ制限を一旦忘れる（はみ出しを許容） */
    .appeal {
        height: 100vh !important; /* 高さは維持 */
        overflow: visible !important; /* これで隠さない */
    }

    /* 2. 中身を「物理的に」ナビの高さ分（40px）以上押し下げる */
    .appeal-content {
        position: relative !important;
        top: 60px !important; /* 40px(ナビ) + 20px(余裕) */
        padding: 20px !important; /* スマホ用に余白を絞る */
        margin: 0 auto !important;
        background: none !important; /* 重なりを分かりやすくするため一旦背景を抜く */
    }

    /* 3. タイトル（きもおた・わ）を絶対に1行で見せる */
    .appeal-title {
        font-size: 24px !important; /* 確実に収まるサイズまで落とす */
        line-height: 1.2 !important;
        display: block !important;
        margin-bottom: 10px !important;
    }

    .appeal-message-ja {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
}
