@charset "utf-8";
/* CSS Document */

/* メインビジュアル関連 */

/* ヒーローセクション - スライドショー */
.hero-section {
    position: relative;
    color: white;
    margin: 0 20px 0 20px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    height: 500px;
    min-height: 400px;
}

/* スライダー */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image: url("../img/top2.jpg"); /* PC用 */

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* コンテンツ（左下配置） */
.hero-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    text-align: left;
    max-width: 100%;
}

/* タイトル装飾 */
.hero-title {
    font-family: 'Noto Sans JP', 'Roboto', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: white;
    text-shadow: 4px 4px 12px rgba(0,0,0,0.9), 
                 2px 2px 8px rgba(0,0,0,0.8),
                 0 0 20px rgba(0,0,0,0.7);
    line-height: 1.4;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(44, 90, 160, 0.8)) 
            drop-shadow(0 0 30px rgba(44, 90, 160, 0.6))
            drop-shadow(0 0 45px rgba(44, 90, 160, 0.4));
}

/* 詳細情報全体 */
.hero-details {
    margin-top: 10px;
}

/* 青い四角ボックス（会期・会場・大会長） */
.b-box {
    background: #2c5aa0;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-weight: 700;
    margin-right: 8px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* 詳細情報の基本スタイル（青いフチ追加） */
.hero-date,
.hero-venue,
.hero-chairman {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    margin-bottom: 14px;
    font-weight: 700;
    color: white;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.9), 
                 2px 2px 6px rgba(0,0,0,0.8),
                 0 0 15px rgba(0,0,0,0.7);
    line-height: 1.3;
    filter: drop-shadow(0 0 6px rgba(44, 90, 160, 0.9)) 
            drop-shadow(0 0 12px rgba(44, 90, 160, 0.7))
            drop-shadow(0 0 18px rgba(44, 90, 160, 0.5));
}

/* 日付の大きな数字 */
.large {
    font-size: 1.3em;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.8));
}

/* 土曜日スタイル */
.saturday {
    color: #87ceeb;
    font-weight: 700;
    filter: drop-shadow(0 0 3px rgba(135, 206, 235, 0.8));
}

/* 日曜・祝日スタイル */
.holiday {
    color: #ff6b6b;
    font-weight: 700;
    filter: drop-shadow(0 0 3px rgba(255, 107, 107, 0.8));
}

/* 小さいテキスト */
small {
    font-size: 0.8em;
    opacity: 0.95;
    display: block;
    margin-top: 3px;
    font-weight: 500;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    filter: drop-shadow(0 0 4px rgba(44, 90, 160, 0.6));
}

/* ボタンセクション（ビジュアルの下） */
.hero-buttons-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px 20px;
    margin: 0 20px 30px 20px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.hero-buttons .btn {
    font-family: 'Noto Sans JP', sans-serif;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    min-width: 200px;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* スライドインジケーター */
.slide-indicators {
    position: absolute;
    bottom: 20px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.8);
    background: rgba(0,0,0,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.indicator.active {
    background: #ffd700;
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255,215,0,0.8);
    transform: scale(1.2);
}

.indicator:hover {
    border-color: #ffd700;
    background: rgba(255,215,0,0.7);
    transform: scale(1.1);
}

/* スライドナビゲーション */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    border: 3px solid rgba(255,215,0,0.8);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.slide-nav:hover {
    background: rgba(255,215,0,0.9);
    border-color: #ffd700;
    transform: translateY(-50%) scale(1.15);
    color: #2c5aa0;
}

.slide-nav.prev {
    right: 120px;
}

.slide-nav.next {
    right: 40px;
}

/* 1366px幅対応 */
@media (max-width: 1366px) and (min-width: 1025px) {
    .hero-section {
        margin: 0 15px 0 15px;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .hero-date,
    .hero-venue,
    .hero-chairman {
        font-size: 17px;
    }
    
    .hero-buttons-section {
        margin: 0 15px 25px 15px;
        padding: 25px 20px;
    }
}

/* タブレット横向き対応 */
@media (max-width: 1024px) and (min-width: 901px) {
    .hero-section {
        margin: 0 12px 0 12px;
        height: 500px;
    }
    
    .hero-title {
        font-size: 34px;
        margin-bottom: 12px;
    }
    
    .hero-content {
        max-width: 100%;
        bottom: 25px;
        left: 25px;
    }
    
    .slide {
        background-position: center center;
    }
    
    .hero-date,
    .hero-venue,
    .hero-chairman {
        font-size: 16px;
      
    }
    
    .b-box {
        padding: 5px 8px;
        margin-right: 6px;
    }
    
    .hero-buttons-section {
        margin: 0 12px 20px 12px;
        padding: 22px 18px;
    }
    
    .hero-buttons .btn {
        padding: 13px 26px;
        font-size: 15px;
    }
}

/* タブレット縦向き対応 */
@media (max-width: 900px) and (min-width: 769px) {
    .hero-section {
        margin: 0 15px 25px 15px;
        height: 550px;
    }
    
    .hero-title {
        font-size: 30px;
    }
    
    .slide {
        background-position: 30% center;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 18px;
        max-width: 500px;
    }
    
    .hero-buttons .btn {
        min-width: 180px;
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* スマートフォン対応 */
@media (max-width: 768px) {
    .hero-section {
        height: 220px;
    }

    .slide {
        background-image: url("../img/top3.jpg"); /* スマホ用 */
        background-position: center top;
    }
    
    .hero-buttons-section {
        padding: 20px 15px;
        margin: 0 10px 20px 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        max-width: 300px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
        font-size: 14px;
        min-width: auto;
    }
    
    .hero-content {
        bottom: 20px;
        left: 20px;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 26px;
        line-height: 1.4;
        margin-bottom: 10px;
        filter: drop-shadow(0 0 8px rgba(44, 90, 160, 0.8)) 
                drop-shadow(0 0 16px rgba(44, 90, 160, 0.6));
    }
    
    .hero-details {
        margin-top: 8px;
    }
    
    .b-box {
        padding: 4px 7px;
        margin-right: 5px;
    }
    
    .hero-date,
    .hero-venue,
    .hero-chairman {
        font-size: 14px;
      
        filter: drop-shadow(0 0 4px rgba(44, 90, 160, 0.9)) 
                drop-shadow(0 0 8px rgba(44, 90, 160, 0.7));
    }

    .large {
        font-size: 1.2em;
    }
    
    small {
        font-size: 0.75em;
        margin-top: 2px;
        filter: drop-shadow(0 0 3px rgba(44, 90, 160, 0.6));
    }
    
    .slide-nav {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .slide-nav.prev {
        right: 90px;
    }
    
    .slide-nav.next {
        right: 20px;
    }
    
    .slide-indicators {
        bottom: 15px;
        right: 20px;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
    }

}

/* 小型スマートフォン対応 */
@media (max-width: 480px) {
    .hero-section {
        margin: 0 5px 15px 5px;
    }
    
    .slide {
        background-position: 60% center;
    }
    
    .hero-buttons-section {
        margin: 0 5px 15px 5px;
        padding: 15px 10px;
    }
    
    .hero-buttons .btn {
        font-size: 13px;
        padding: 10px 20px;
        max-width: 250px;
    }
    
    .hero-content {
        bottom: 15px;
        left: 15px;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    
    .hero-details {
        margin-top: 6px;
    }
    
    .b-box {
        padding: 3px 6px;
        margin-right: 4px;
    }
    
    .hero-date,
    .hero-venue,
    .hero-chairman {
        font-size: 14px;
        
        filter: drop-shadow(0 0 3px rgba(44, 90, 160, 0.9)) 
                drop-shadow(0 0 6px rgba(44, 90, 160, 0.7));
    }
    
    .large {
        font-size: 1.1em;
    }
    
    small {
        font-size: 0.7em;
        margin-top: 1px;
        filter: drop-shadow(0 0 2px rgba(44, 90, 160, 0.6));
    }
    
    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slide-nav.prev {
        right: 75px;
        top: 40px;
    }
    
    .slide-nav.next {
        right: 15px;
        top: 40px;
    }
    
    .slide-indicators {
        top: 75px;
        right: 20px;
    }
}

/* 特定の解像度での微調整 */
@media (width: 1024px) and (height: 600px) {
    .hero-section {
        height: 500px;
    }
    
    .hero-title {
        font-size: 32px;
    }
}

@media (width: 820px) and (height: 1180px) {
    .hero-section {
        height: 550px;
    }
    
    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
    }
}

@media (width: 912px) and (height: 1368px) {
    .hero-section {
        height: 550px;
    }
}