/* ===== 全体リセット ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: 'Luckiest Guy', 'Arial Black', 'Impact', sans-serif;
}

/* ===== INTRO ===== */
.intro-screen {
    /* 背景を黄色の単色に変更 */
    background: #FFC107;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    position: relative;
    /* アニメーション時間は維持 */
    animation: fadeOut 1s ease-in-out 2.5s forwards; 
    overflow: hidden;
}

/* 脈動する光彩アニメーションを削除 */
.intro-screen::before {
    content: none;
}

.title-intro {
    font-size: 9em;
    color: #CC0000;
    font-family: 'Luckiest Guy', 'Arial Black', 'Impact', sans-serif;
    margin: 5px 10px;
    text-shadow: 4px 4px 0px #000000;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transform: skewX(10deg);
}


/* ===== SLIDES / 背景スライダー ===== (維持) */
.slide-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}
  
.photo-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}
  
.photo-row {
    display: flex;
    width: 200%;
    height: 50%;
    position: absolute;
}

.photo-row.top {
    top: 0;
    animation: slideRight 40s linear infinite;
}

.photo-row.bottom {
    bottom: 0;
    animation: slideLeft 40s linear infinite;
}

.photo-row img {
    width: 50vw;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(0.9) contrast(1.1);
}

.photo-row img:hover {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.2);
}

/* 背景上の薄い光彩効果を削除 */
.photo-background::before {
    content: none;
}

/* ===== OVERLAY (上から降りてくる薄い黄色) ===== */
.overlay {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* 背景をシンプルな赤に変更 */
    background: rgba(229, 57, 53, 0.5);
    
    /* ブラーと影を削除 */
    backdrop-filter: none;
    box-shadow: none;
    
    z-index: 2;
    animation: overlayDown 1.5s cubic-bezier(0.4, 0, 0.2, 1) 4.0s forwards;
}

/* ===== LANGUAGE BUTTONS ===== */
.lang-buttons {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    z-index: 4;
    opacity: 0;
    animation: buttonsFadeIn 1s ease-in-out 5.7s forwards;
}

.lang-btn {
    text-decoration: none;
    color: #000000; /* 文字色を黒に */
    
    /* 背景を黄色の単色に */
    background: #FFC107;
    
    /* ボーダーを太い黒に */
    border: 4px solid #000000;
    
    font-size: 1.6rem;
    font-weight: 900;
    padding: 16px 70px;
    border-radius: 8px; /* 角をシャープに */
    transition: all 0.2s ease-out;
    position: relative;
    overflow: hidden;
    
    /* 影をシンプルで目立つ黒/赤のオフセットシャドウに */
    box-shadow: 6px 6px 0px #E53935;
    
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lang-btn:hover {
    /* ホバーで背景色を赤、文字色を黄色/金に反転 */
    background: #E53935; 
    color: #FFC107;
    
    /* 押されたような動き */
    transform: translate(-2px, -2px); 
    
    /* シャドウを強く、位置をずらす */
    box-shadow: 8px 8px 0px #000000;
    
    /* ボーダーの色を黒のまま維持 */
    border-color: #000000;
}

.lang-btn:active {
    transform: translate(0, 0);
    box-shadow: 4px 4px 0px #000000;
}
  
/* ===== ANIMATIONS ===== (維持) */
@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes slideRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes overlayDown {
    from {
        top: -100%;
    }
    to {
        top: 0;
    }
}

@keyframes buttonsFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* ===== iPhone対応 ===== */
@media (max-width: 600px) {
    .title-intro {
        font-size: 2.5rem; /* モバイルでもより大きく */
        letter-spacing: 0.08em;
    }
    
    .lang-btn {
        font-size: 1.3rem;
        padding: 14px 50px;
    }

    .lang-buttons {
        gap: 20px;
    }
    
    .overlay {
        backdrop-filter: none;
    }
}