/* ===== HERO SLIDESHOW STYLES ===== */
/* Top page hero styles */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #FFB6C1, #FFC0CB);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

/* Hero Navigation Dots */
.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 4;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hero-dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.3);
}

.hero h1 {
    font-size: 48px;
    font-weight: 300;
    color: white;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.hero h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background: white;
    margin: 20px auto;
    animation: typing 2s ease-out;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero {
        /* スマホでは16:9のアスペクト比を維持 */
        height: 0;
        padding-bottom: 56.25%; /* 16:9 = 9/16 = 0.5625 = 56.25% */
        position: relative;
    }
    
    .hero-slideshow {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .hero-slide {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-dots {
        bottom: 30px;
        gap: 12px;
    }

    .hero-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        /* より小さな画面では4:3のアスペクト比に変更 */
        padding-bottom: 75%; /* 4:3 = 3/4 = 0.75 = 75% */
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-dots {
        bottom: 20px;
        gap: 10px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
        border-width: 1.5px;
    }
}

/* ===== アスペクト比のカスタマイズオプション ===== */
/* 
以下のコメントアウトされたクラスを使用することで、
異なるアスペクト比を選択できます：

.hero-aspect-16-9 { padding-bottom: 56.25%; }  /* 16:9 (ワイド) */
.hero-aspect-4-3 { padding-bottom: 75%; }     /* 4:3 (標準) */
.hero-aspect-3-2 { padding-bottom: 66.67%; } /* 3:2 (写真標準) */
.hero-aspect-1-1 { padding-bottom: 100%; }   /* 1:1 (正方形) */
