@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 基本設定
************************************/
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", sans-serif;
    font-weight: 500;
    line-height: 1.7;
    color: #333;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif;
    font-weight: bold;
    line-height: 1.4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/************************************
** ヒーローセクション + たがやすかいぎとは？セクション（共通背景動画）
************************************/
.hero-about-combined {
    position: relative;
    min-height: 200vh; /* 2つのセクション分の高さ */
    overflow: hidden;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0);
    will-change: transform;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
    transition: background 0.3s ease;
}

.hero-content {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeInUp 1.5s ease-out;
}

.hero-logo {
    margin-bottom: 2rem;
}

.logo-placeholder {
    max-width: 300px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.1em;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: white;
    margin-top: 10px;
    animation: scrollLine 2s infinite;
}

/* たがやすかいぎとは？コンテンツ */
.about-content-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    z-index: 1;
    background: rgba(195, 216, 195, 0.95); /* 半透明の背景 */
    backdrop-filter: blur(5px);
}

.about-content-wrapper .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-content-wrapper .section-title {
    font-size: 2.5rem;
    color: #2c5530;
    margin: 0;
    position: relative;
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.about-content-wrapper .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #4CAF50;
    border-radius: 2px;
}

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

.about-text {
    font-size: 1.1rem;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2c5530;
}

.about-image {
    text-align: center;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px dashed rgba(44, 85, 48, 0.5);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

@keyframes scrollLine {
    0%, 100% {
        opacity: 0;
        transform: scaleY(0);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/************************************
** セクション共通スタイル
************************************/
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: #2c5530;
    margin: 0;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #4CAF50;
    border-radius: 2px;
}



/************************************
** 活動コンセプトセクション
************************************/
.concept-section {
    background-color: #ffffff;
}

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

.concept-item {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concept-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.concept-icon {
    margin-bottom: 20px;
}

.icon-placeholder {
    width: 80px;
    height: 80px;
    background: #C3D8C3;
    border: 2px dashed #4CAF50;
    border-radius: 50%;
    margin: 0 auto;
}

.concept-item h3 {
    font-size: 1.5rem;
    color: #2c5530;
    margin: 20px 0 15px;
}

.concept-item p {
    color: #666;
    line-height: 1.6;
}

/************************************
** 活動風景セクション
************************************/
.gallery-section {
    background-color: #C3D8C3;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4/3;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px dashed rgba(44, 85, 48, 0.5);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.05);
}

/************************************
** 活動報告セクション
************************************/
.news-section {
    background-color: #ffffff;
}

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

.news-item {
    display: flex;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.news-item:hover {
    background-color: #f8f9fa;
    margin: 0 -20px;
    padding: 30px 20px;
    border-radius: 10px;
}

.news-date {
    flex-shrink: 0;
    width: 120px;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.news-content {
    flex: 1;
}

.news-title {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.news-title a {
    color: #2c5530;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #4CAF50;
}

.news-excerpt {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.no-posts {
    text-align: center;
    padding: 60px 0;
    color: #666;
}

.news-more {
    text-align: center;
    margin-top: 40px;
}

.btn-more {
    display: inline-block;
    padding: 15px 30px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

/************************************
** SNSセクション
************************************/
.sns-section {
    background-color: #C3D8C3;
}

.sns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.sns-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.sns-item h3 {
    font-size: 1.5rem;
    color: #2c5530;
    margin: 0 0 20px;
    text-align: center;
}

.sns-placeholder {
    height: 300px;
    background: #f8f9fa;
    border: 2px dashed #ccc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/************************************
** お問い合わせセクション
************************************/
.contact-section {
    background-color: #ffffff;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.contact-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.contact-link.facebook {
    background: #1877f2;
}

.contact-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

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

/************************************
** パララックス効果のJavaScript制御用
************************************/
.parallax-element {
    will-change: transform;
}

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

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

/************************************
** レスポンシブデザイン
************************************/

/* タブレット */
@media screen and (max-width: 1023px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .concept-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sns-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}

/* スマートフォン */
@media screen and (max-width: 834px) {
    section {
        padding: 60px 0;
    }
    
    .hero-about-combined {
        min-height: 150vh; /* モバイルでは高さを調整 */
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .about-content-wrapper .section-title {
        font-size: 1.8rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-date {
        width: auto;
        margin-bottom: 10px;
    }
    
    .sns-grid {
        grid-template-columns: 1fr;
    }
    
    .sns-item {
        padding: 20px;
    }
}

/* 小さなスマートフォン */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.3rem;
        letter-spacing: 0.05em;
    }
    
    .about-content-wrapper .section-title {
        font-size: 1.5rem;
    }
    
    .concept-item {
        padding: 30px 15px;
    }
    
    .news-item:hover {
        margin: 0 -15px;
        padding: 30px 15px;
    }
    
    .logo-placeholder {
        max-width: 250px;
        height: 120px;
    }
}

