* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2d3436;
    overflow-x: hidden;
}

/* フォント設定 */
.font-heading {
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}

.font-body {
    font-family: 'Noto Sans JP', sans-serif;
}

.font-accent {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
}

/* 深緑基調のカラーパレット */
:root {
    --primary-green: #2d5016;
    --secondary-green: #4a7c59;
    --light-green: #6fb07a;
    --accent-green: #95c99b;
    --bg-green: #f0f7f0;
    --white: #ffffff;
    --dark: #2d3436;
    --gray: #636e72;
}

/* ヘッダー・ナビゲーション */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(45, 80, 22, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.navbar.show {
    transform: translateY(0);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.nav-menu a:hover {
    color: var(--accent-green);
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--primary-green);
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu li {
    margin-bottom: 1.5rem;
}

.mobile-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--accent-green);
}

/* オーバーレイ */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ヒーローセクション - 背景画像対応 */
.hero {
    height: 100vh;
    background: 
        linear-gradient(rgba(45, 80, 22, 0.8), rgba(74, 124, 89, 0.8)),
        url('/images/IMG_3978.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

/* モバイル用の背景画像設定 */
@media (max-width: 768px) {
    .hero {
        background-position: center 30%;
        background-attachment: scroll;
    }
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    width: 100%;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: absolute;
    top: 30px;
    left: 30px;
    opacity: 0;
    animation: logoFadeIn 1s ease-out 0.3s both;
    overflow: hidden;
    background: var(--white);
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hero-logo-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
}

.rotating-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

.rotating-text svg {
    width: 100%;
    height: 100%;
}

.rotating-text text {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 300;
    fill: rgba(255, 255, 255, 0.8);
    letter-spacing: 3px;
    text-transform: uppercase;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideUp 1s ease-out;
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}

.hero .subtitle {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: slideUp 1s ease-out 0.3s both;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: slideUp 1s ease-out 0.6s both;
}

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

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    animation: slideUp 1s ease-out 0.9s both;
    margin-bottom: 2rem;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--light-green), var(--accent-green));
    color: var(--white);
    box-shadow: 0 8px 15px rgba(111, 176, 122, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

/* セクション共通スタイル */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: clamp(2rem, 6vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-green);
    position: relative;
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-weight: 500;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, var(--secondary-green), var(--light-green));
    border-radius: 2px;
}

/* About セクション */
.about {
    background: var(--bg-green);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

.about-text .highlight {
    color: var(--secondary-green);
    font-weight: 600;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.1);
    border-left: 4px solid var(--secondary-green);
    transition: transform 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-5px);
}

.about-feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.about-feature h4 {
    font-size: 1.1rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
}

.intro-text {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-green);
    font-weight: 500;
    line-height: 1.6;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(45, 80, 22, 0.1);
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* 百人一首説明セクション */
.karuta-explanation {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.80), rgba(255, 255, 255, 0.80)),
        url('/images/IMG_3978.jpeg');
}


.explanation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.explanation-card {
    background: linear-gradient(145deg, var(--bg-green), #e8f5e8);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--accent-green);
}

.explanation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(45, 80, 22, 0.15);
}

/* 百人一首説明カード用の画像スタイル */
.explanation-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.2);
}

.explanation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.explanation-card:hover .explanation-image img {
    transform: scale(1.05);
}

.explanation-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
    font-family: 'Poppins', 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* 活動内容セクション */
.activities {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
}

.activities h2 {
    color: var(--white);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.activity-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.activity-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-green);
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}

/* 活動報告セクション - 各イベントのカルーセル */
.reports {
    background: var(--bg-green);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* イベントカード */
.event-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(45, 80, 22, 0.15);
}

/* イベント情報ヘッダー */
.event-header {
    padding: 1.5rem;
    text-align: center;
}

.event-date {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.event-header h3 {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-weight: 600;
}

.event-header p {
    color: var(--dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* イベント内カルーセル */
.event-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.event-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.event-slide {
    min-width: 100%;
    aspect-ratio: 1 / 1; /* Instagram風正方形 */
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.event-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.event-slide:hover img {
    transform: scale(1.05);
}

/* カルーセルナビゲーションボタン */
.event-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
}

.event-card:hover .event-carousel-btn {
    opacity: 1;
}

.event-carousel-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.event-carousel-btn-prev {
    left: 10px;
}

.event-carousel-btn-next {
    right: 10px;
}

/* カルーセルドット */
.event-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--white);
}

.event-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.event-carousel-dot.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

.event-carousel-dot:hover {
    background: var(--secondary-green);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .event-header {
        padding: 1rem;
    }
    
    .event-header h3 {
        font-size: 1.2rem;
    }
    
    .event-header p {
        font-size: 0.9rem;
    }
    
    .event-carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .event-carousel-btn-prev {
        left: 8px;
    }
    
    .event-carousel-btn-next {
        right: 8px;
    }
}


/* FAQ セクション */
.faq {
    background: var(--bg-green);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.1);
}

.faq-question {
    padding: 1.5rem;
    background: var(--secondary-green);
    color: var(--white);
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: var(--primary-green);
}

.faq-answer {
    padding: 1.5rem;
    color: var(--dark);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* お問い合わせセクション */
.contact {
    background: var(--white);
    text-align: center;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn.line {
    background: #00c851;
    color: var(--white);
}

.contact-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--white);
}

.contact-btn.email {
    background: var(--secondary-green);
    color: var(--white);
}

.contact-btn.twitter {
    background: #000000;
    color: var(--white);
}

.contact-btn.twitter:hover {
    background: #333333;
}

.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

.contact-btn i {
    font-size: 1.2em;
    margin-right: 8px;
}

/* フッター */
.footer {
    background: var(--primary-green);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .explanation-grid,
    .activities-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

}

/* スクロールアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

 .date-picture{
  font-family: cursive;
}