/* index.html 専用スタイル */

/* ページヘッダー */
.page-header {
    margin-top: 80px;
    padding: 0;
    background: url('../Images/MainImage.jpg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 1;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.page-header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 2rem;
    text-align: center;
    z-index: 1;
}

.page-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.4);
}

.page-subtitle {
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.98);
    text-align: center;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 0, 0, 0.4);
}

/* ヒーローセクション（旧スタイル - 削除予定） */
.hero {
    margin-top: 80px;
    margin-bottom: -3rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(45, 80, 22, 0.05) 0%, 
        rgba(125, 168, 99, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(125, 168, 99, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    max-width: 1400px;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-img-container {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--forest-green), var(--light-green));
}

.hero-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-img-container:hover img {
    transform: scale(1.05);
}

/* イベントカード */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.event-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-card:hover .event-image {
    transform: scale(1.08);
}

.event-image-container {
    overflow: hidden;
    position: relative;
}

.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--forest-green);
    backdrop-filter: blur(10px);
}

.event-content {
    padding: 1.8rem;
}

.event-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 0.8rem;
}

.event-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--forest-green);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    transition: gap 0.3s ease;
}

.event-link:hover {
    gap: 1rem;
}

/* トピックス */
.topics-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.topic-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.topic-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.topic-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.topic-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.topic-item:hover .topic-image {
    transform: scale(1.08);
}

.topic-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.topic-content h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.topic-date {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.topic-description {
    color: var(--text-dark);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1rem;
}

/* リンクセクション */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.link-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-decoration: none;
    display: block;
}

.link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.link-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.link-card:hover .link-image {
    transform: scale(1.1);
}

.link-image-container {
    overflow: hidden;
}

.link-content {
    padding: 1.5rem;
    text-align: center;
}

.link-title {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 1.1rem;
}

/* 今後の予定 */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.schedule-item {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--light-green);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.schedule-item:hover {
    border-left-color: var(--forest-green);
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.schedule-header {
    margin-bottom: 1.5rem;
}

.schedule-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.4rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

.schedule-date {
    background: linear-gradient(135deg, var(--forest-green), var(--light-green));
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-block;
}

.schedule-details {
    display: grid;
    gap: 0.7rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    flex: 1;
}

.schedule-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.schedule-link {
    display: inline-block;
    color: var(--forest-green);
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

.schedule-link:hover {
    color: var(--light-green);
}

/* 新着情報バナー */
.news-banner {
    background: linear-gradient(135deg, var(--accent-blue), #5aa3b5);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(74, 144, 164, 0.3);
}

.news-banner h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.news-items {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.news-item {
    padding-left: 1.5rem;
    position: relative;
}

.news-item::before {
    content: '●';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* レスポンシブ（index専用） */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .schedule-header {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .topics-list {
        grid-template-columns: 1fr;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }
}
