/* 文化交流ページ専用スタイル */

/* イベント画像スタイル */
.event-photo {
    width: 300px;
    height: 200px;
    margin-right: 20px;
    flex-shrink: 0;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.event-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.event-content {
    flex: 1;
    padding-left: 20px;
}

.event-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.event-content p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .event-item {
        flex-direction: column;
        text-align: center;
    }
    
    .event-photo {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 20px;
    }
    
    .event-content {
        padding-left: 0;
    }
}

/* ヒーローセクションの桜背景 */
.cultural-exchange-hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%), url('../images/cultural-exchange-01.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cultural-exchange-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.cultural-exchange-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="sakura" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ff6b9d" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23sakura)"/></svg>') repeat;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.cherry-blossom-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 139, 171, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 179, 193, 0.1) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}


.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3rem;
    color: #b67a93;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #8b4b6b;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9), 0 1px 4px rgba(255, 107, 157, 0.3);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.9);
    color: #ff6b9d;
    border: 2px solid #ff6b9d;
}

.btn-outline:hover {
    background: #ff6b9d;
    color: white;
    transform: translateY(-3px);
}

/* 文化交流概要セクション */
.cultural-overview {
    background: linear-gradient(135deg, #fff 0%, #fef7f7 50%, #fff 100%);
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #b67a93;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '🌸';
    display: block;
    font-size: 2rem;
    margin-top: 10px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.overview-content {
    max-width: 1000px;
    margin: 0 auto;
}

.overview-text {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.05) 0%, rgba(255, 179, 193, 0.05) 100%);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 50px;
    border: 1px solid rgba(255, 107, 157, 0.1);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.08);
}

.overview-text h3 {
    color: #b67a93;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.overview-text p {
    color: #8b4b6b;
    font-size: 1.1rem;
    line-height: 1.8;
}

.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mission-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 245, 248, 0.9) 100%);
    padding: 35px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 157, 0.1);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.1);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b9d 0%, #ff8fab 50%, #ffb3c1 100%);
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.2);
}

.mission-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1) rotate(5deg);
}

.mission-icon i {
    color: white;
    font-size: 1.8rem;
}

.mission-card h4 {
    color: #b67a93;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.mission-card p {
    color: #8b4b6b;
    font-size: 1rem;
    line-height: 1.6;
}

/* 文化活動セクション */
.cultural-activities {
    background: linear-gradient(135deg, #fef7f7 0%, #fff 50%, #fef7f7 100%);
    padding: 80px 0;
    position: relative;
}

.cultural-activities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="petals" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M15,5 Q20,10 15,15 Q10,10 15,5" fill="%23ff6b9d" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23petals)"/></svg>') repeat;
    opacity: 0.4;
}

.activities-grid {
    position: relative;
    z-index: 1;
}

.activity-section {
    margin-bottom: 60px;
}

.activity-title {
    font-size: 2rem;
    color: #b67a93;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    position: relative;
}

.activity-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b9d 0%, #ff8fab 100%);
    border-radius: 2px;
}

.activity-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.activity-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 252, 0.95) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.12);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 157, 0.1);
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.2);
}

.activity-image {
    height: 120px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.activity-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.activity-image i {
    color: white;
    font-size: 3rem;
    z-index: 1;
    position: relative;
}

.activity-content {
    padding: 25px;
}

.activity-content h4 {
    color: #b67a93;
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.activity-content p {
    color: #8b4b6b;
    line-height: 1.6;
    margin-bottom: 15px;
}

.activity-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff6b9d;
    font-size: 0.9rem;
    font-weight: 500;
}

.activity-time i {
    font-size: 1rem;
}

/* イベントセクション */
.upcoming-events {
    background: linear-gradient(135deg, #fff 0%, #fef7f7 50%, #fff 100%);
    padding: 80px 0;
}

.events-timeline {
    max-width: 800px;
    margin: 0 auto 50px;
}

.event-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 245, 248, 0.9) 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.1);
    border: 1px solid rgba(255, 107, 157, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.event-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    border-radius: 0 20px 20px 0;
}

.event-item:hover {
    transform: translateX(5px);
    box-shadow: 0 12px 35px rgba(255, 107, 157, 0.15);
}

.event-date {
    flex-shrink: 0;
    text-align: center;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    min-width: 80px;
}

.event-date .month {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
}

.event-content {
    flex: 1;
}

.event-content h4 {
    color: #b67a93;
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.event-content p {
    color: #8b4b6b;
    line-height: 1.6;
    margin-bottom: 15px;
}

.event-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ff6b9d;
    font-size: 0.9rem;
    font-weight: 500;
}

.event-meta i {
    font-size: 0.8rem;
}

.events-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.05) 0%, rgba(255, 179, 193, 0.05) 100%);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 157, 0.1);
}

.events-cta p {
    color: #8b4b6b;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* 参加ガイドセクション */
.participation-guide {
    background: linear-gradient(135deg, #fef7f7 0%, #fff 50%, #fef7f7 100%);
    padding: 80px 0;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.step-content h4 {
    color: #b67a93;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-content p {
    color: #8b4b6b;
    line-height: 1.6;
}

.participation-note {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.05) 0%, rgba(255, 179, 193, 0.05) 100%);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 157, 0.1);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.08);
}

.note-content h4 {
    color: #b67a93;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.note-content ul {
    list-style: none;
    padding: 0;
}

.note-content li {
    color: #8b4b6b;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.note-content li::before {
    content: '🌸';
    position: absolute;
    left: 0;
    top: 8px;
}

/* スムーズスクロール */
.smooth-scroll {
    scroll-behavior: smooth;
    position: relative;
    overflow: hidden;
}

.smooth-scroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.smooth-scroll:hover::before {
    left: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .cultural-exchange-hero {
        height: 50vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mission-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .mission-card {
        padding: 25px;
    }
    
    .activity-title {
        font-size: 1.6rem;
    }
    
    .activity-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .activity-card {
        margin: 0 10px;
    }
    
    .event-item {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }
    
    .event-date {
        align-self: flex-start;
        min-width: 70px;
        padding: 15px;
    }
    
    .guide-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .step-number {
        align-self: center;
    }
    
    .overview-text,
    .participation-note {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .activity-title {
        font-size: 1.4rem;
    }
    
    .mission-card,
    .activity-content,
    .event-item {
        padding: 20px 15px;
    }
    
    .overview-text,
    .participation-note {
        padding: 20px 15px;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mission-card,
.activity-card,
.event-item {
    animation: fadeInUp 0.6s ease-out;
}

.mission-card:nth-child(2) { animation-delay: 0.1s; }
.mission-card:nth-child(3) { animation-delay: 0.2s; }
.activity-card:nth-child(2) { animation-delay: 0.1s; }
.activity-card:nth-child(3) { animation-delay: 0.2s; }
.event-item:nth-child(2) { animation-delay: 0.1s; }
.event-item:nth-child(3) { animation-delay: 0.2s; }