* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mv-container {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    text-align: center;
}

.mv-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mv-desktop {
    display: block;
}

.mv-mobile {
    display: none;
}

.section-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #64c9e1;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #64c9e1;
}

.event-overview {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.overview-item {
    display: flex;
    margin-bottom: 20px;
}

.overview-item:last-child {
    margin-bottom: 0;
}

.overview-label {
    width: 120px;
    flex-shrink: 0;
    font-weight: bold;
    color: #64c9e1;
    font-size: 18px;
    border-right: 2px solid #64c9e1;
    padding-right: 15px;
    margin-right: 15px;
}

.overview-content {
    flex-grow: 1;
}

.overview-content p {
    margin-bottom: 5px;
}

.schedule-container {
    margin-bottom: 40px;
    text-align: center;
}

.schedule-container img {
    width: 75%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.activities {
    margin-bottom: 40px;
}

.activities-list {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* アクティビティアイテムのレイアウト修正 - PC表示 */
.activity-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px dashed #64c9e1;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    justify-content: space-between;
}

.activity-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.activity-number {
    background-color: #64c9e1;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 18px;
}

/* アクティビティコンテンツ - 画像を右上に浮かせる */
.activity-content {
    flex-grow: 1;
    position: relative;
}

/* 画像スライダー部分 - 右寄せ最優先・サイズ固定 */
.activity-images {
    float: right;
    width: 300px !important; /* 固定幅 */
    height: 200px !important; /* 固定高さ */
    margin-left: 20px;
    margin-bottom: 15px;
    position: relative;
    flex-shrink: 0; /* サイズを変更させない */
}

.image-slider {
    position: relative;
    width: 300px !important; /* 固定幅 */
    height: 200px !important; /* 固定高さ */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px !important; /* 固定幅 */
    height: 200px !important; /* 固定高さ */
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.image-slide.active {
    opacity: 1;
}

.image-slide img {
    width: 300px !important; /* 固定幅 */
    height: 200px !important; /* 固定高さ */
    object-fit: cover; /* アスペクト比を保ちながらフィット */
    border-radius: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: #2d2d2d;
    border-color: #2d2d2d;
}

.dot:hover {
    background: #2d2d2d;
    border-color: #2d2d2d;
}

/* テキスト部分 - 画像を回り込む */
.activity-text {
    overflow: hidden; /* floatのクリアフィックス */
}

.activity-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #64c9e1;
}

.activity-time {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.activity-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    text-align: justify; /* 文字を均等配置 */
}

.highlight {
    background-color: white;
    color: #87cab6;
    padding: 10px 15px;
    border-radius: 10px;
    margin-top: 15px;
    display: inline-block;
    font-weight: bold;
    border: 2px solid #87cab6;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    clear: both; /* 画像の回り込みをクリア */
}

.highlight2 {
    background-color:#FFF3E0;
    color: #E65100;
    padding: 10px 15px;
    border-radius: 10px;
    margin-top: 15px;
    display: inline-block;
    font-weight: bold;
    border: 2px solid #FF9800;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    clear: both; /* 画像の回り込みをクリア */
}

/* floatのクリアフィックス */
.activity-content::after {
    content: "";
    display: table;
    clear: both;
}

/* 以下、他のセクションのCSSは変更なし */
.venue {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.venue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.venue-info h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #64c9e1;
}

.venue-details {
    margin-bottom: 20px;
}

.venue-row {
    display: flex;
    margin-bottom: 10px;
}

.venue-label {
    font-weight: bold;
    width: 100px;
    flex-shrink: 0;
}

.address-container {
    margin-bottom: 15px;
}

.map-button {
    display: inline-block;
    background-color: #f5b2b2;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.map-button:hover {
    background-color: #e99c9c;
}

.venue-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cautions {
    background-color: #f7ce6817;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.cautions h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 15px;
    color: #f7ce68;
}

.caution-item {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.caution-item::before {
    content: '・';
    position: absolute;
    left: 0;
}

.footer {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 30px 0;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-text {
    margin-right: 15px;
    font-size: 18px;
}

.footer-logo img {
    height: 30px;
    border-radius: 5px;
}

.paw-print {
    position: absolute;
    z-index: -1;
    opacity: 0.1;
}

.paw-1 {
    top: 10%;
    left: 5%;
    transform: rotate(20deg);
}

.paw-2 {
    top: 30%;
    right: 7%;
    transform: rotate(-30deg);
}

.paw-3 {
    bottom: 15%;
    left: 10%;
    transform: rotate(45deg);
}

/* PCでは改行を非表示にする */
br.sp {
    display: none;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .mv-desktop {
        display: none;
    }
    
    .mv-mobile {
        display: block;
        width: 100vw;
        height: 100vw;
        object-fit: cover;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        max-width: none;
        box-shadow: none;
    }
    
    .mv-container {
        margin-bottom: 20px;
        height: 100vw;
        overflow: hidden;
        padding: 0;
        margin-left: -20px;
        margin-right: -20px;
        width: 100vw;
    }
    
    .container {
        overflow-x: hidden;
    }
    
    .schedule-container img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
    
    .overview-item {
        flex-direction: column;
    }
    
    .overview-label {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #64c9e1;
        padding-bottom: 5px;
        margin-bottom: 10px;
        padding-right: 0;
        margin-right: 0;
    }
    
    .venue-grid {
        grid-template-columns: 1fr;
    }
    
    .event-overview,
    .venue {
        padding: 20px;
    }
    
    /* スマートフォンでのアクティビティレイアウト */
    .activity-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .activity-content {
        position: static;
    }
    
    /* floatを解除してスマホでは通常のレイアウトに */
    .activity-images {
        float: none !important;
        width: 100% !important; /* スマホでは全幅 */
        height: auto !important; /* スマホでは高さ自動 */
        margin: 0;
        order: 1; /* 画像を上に */
    }
    
    .image-slider {
        width: 100% !important; /* スマホでは全幅 */
        height: 180px !important; /* スマホでは180px固定 */
    }
    
    .image-slide {
        width: 100% !important; /* スマホでは全幅 */
        height: 180px !important; /* スマホでは180px固定 */
    }
    
    .image-slide img {
        width: 100% !important; /* スマホでは全幅 */
        height: 180px !important; /* スマホでは180px固定 */
        object-fit: cover;
    }
    
    .activity-text {
        overflow: visible;
        order: 2; /* テキストを下に */
        text-align: left; /* 左寄せに戻す */
    }
    
    /* ナンバリングとテキストを横並びに */
    .activity-header {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .activity-number {
        margin-bottom: 0;
    }
    
    .activity-text {
        flex: 1;
    }
    
    .highlight {
        clear: none; /* スマホではクリアを解除 */
    }
    
    /* スマホ表示では改行を表示する */
    br.sp {
        display: block;
    }
}

/* アーカイブセクション */
.archive {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.archive-content {
    text-align: center;
    padding: 20px;
}

.archive-text {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 500;
}

.archive-button {
    display: inline-block;
    background: linear-gradient(135deg, #64c9e1 0%, #87cab6 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(100, 201, 225, 0.3);
    position: relative;
    overflow: hidden;
}

.archive-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #87cab6 0%, #64c9e1 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.archive-button:hover::before {
    left: 0;
}

.archive-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(100, 201, 225, 0.4);
}

.archive-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(100, 201, 225, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .archive {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .archive-content {
        padding: 15px;
    }
    
    .archive-text {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .archive-button {
        padding: 12px 25px;
        font-size: 15px;
        width: 100%;
        max-width: 280px;
    }
}