@charset "UTF-8";

/* 画像を最上部に配置するよう設定 */
.main {
    padding: 0 0 40px 0;
}

.breadcrumbs {
    margin: 20px auto 15px;
}

/* common_style.css の星空アニメーションを完全に無効したい場合*/
body.event-page::before,
body.event-page::after,
body.event-page .main::after {
    display: none !important;
}


/* トップ画像 */
.top-box {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.top-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.top-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: transform 10s ease;
}

.top-image-container:hover .top-image {
    transform: scale(1.05); /* じわっと動く演出 */
}

/* ヒーロー内のオーバレイテキスト */
.top-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, rgba(224, 247, 250, 0.1) 0%, rgba(0, 188, 212, 0.3) 100%);
    text-align: center;
}


.top-image-text {
    animation: heroFadeUp 1s ease-out forwards;
}


.event-main-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: #fff;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.1em;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* コンテンツレイアウト */
.event-content-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    gap: 40px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8rem;
    color: #324f8b; /* 濃い青色に変更 */
    margin-bottom: 25px;
    padding-bottom: 10px;
    position: relative;
    border-bottom: 2px solid rgba(50, 79, 139, 0.1);
    text-align: left;
}

/* .section-heading i {
    color: #00bcd4; 
    text-shadow: 0 0 15px rgba(0, 188, 212, 0.4);
} */

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00bcd4, #324f8b);
    border-radius: 2px;
}


.event-section{
    background: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 40px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}


.section-content p {
    color: #444; /* 読みやすい暗めのグレーに変更 */
    line-height: 2;
    font-size: 1.2rem;
}


.event-details {
    margin-top: 30px;
    display: grid;
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.detail-label {
    min-width: 60px;
    padding: 4px 12px;
    background: rgba(0, 188, 212, 0.1);
    color: #324f8b;
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.2rem;
}

.detail-value {
    color: #333;
    font-weight: 500;
    font-size: 1.2rem;
}


@media screen and (max-width: 767px) {
    .top-box {
        height: 50vh;
        min-height: 300px;
    }

    .event-main-title {
        font-size: 2.2rem;
    }

    .event-subtitle {
        font-size: 1rem;
    }

    .event-section {
        padding: 25px;
    }

    .section-content p{
      font-size: 1.1rem;
      line-height: 1.75;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .detail-label{
      font-size: 1.1rem;
    }

    .detail-value{
      font-size: 1.1rem;
    }
}
