@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;
}

/************************************
** ヒーローセクション + たがやすかいぎとは？セクション（共通背景動画）
************************************/
.hero-video {
  position: fixed; /* mainではなく画面に固定 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 横長動画でも画面全体にフィット */
  z-index: -1; /* すべてのコンテンツの下に表示 */
}

.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-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;
}

/* たがやすかいぎとは？コンテンツ */
.about-content-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.5);
  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;
}

.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: transparent;
}

.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: rgba(195, 216, 195, 0.5); /* 薄緑50%透過 */
}

.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: transparent;
}

.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: linear-gradient(135deg, #f0f7f0 0%, #d6e8d6 100%);
  padding: 80px 20px;
}

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

.sns-item {
  background: #fff;
  border-radius: 20px;
  padding: 25px 20px 35px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sns-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.sns-item h3 {
  font-size: 1.6rem;
  color: #2c5530;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
  position: relative;
}

.sns-item h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #6fa96f;
  margin: 10px auto 0;
  border-radius: 3px;
}

.sns-embed {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.sns-placeholder {
  width: 100%;
  min-height: 400px;
  background: #f8f9fa;
  border: 2px dashed #c3c3c3;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 1rem;
  text-align: center;
  padding: 20px;
}

/* Instagram埋め込みをレスポンシブに */
.sns-embed iframe,
.sns-embed blockquote.instagram-media {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  border-radius: 12px;
}

/************************************
** お問い合わせセクション
************************************/
.contact-section {
  background-color: rgba(255, 255, 255, 0.5); /* 白50%透過 */
}

.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%
  );
}
.wpcf7-form input.wpcf7-submit {
  max-width: 120px; /* 横幅を指定 */
  padding: 10px 20px; /* 上下・左右の余白調整 */
  font-size: 16px; /* 文字サイズ */
  border-radius: 5px; /* 角丸 */
  margin: 0 auto;
  display: block;
}

.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; /* モバイルでは高さを調整 */
    padding: 0;
  }

  .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;
  }
}

/* ============================
   たがやす塾ページスタイル（スマホファースト）
   ============================ */

.tagayasujuku {
  background-color: #d8e4d0;
  padding: 60px 16px;
  font-family: "Noto Sans JP", sans-serif;
  color: #222;
  line-height: 1.8;
}

.tagayasujuku .container {
  max-width: 1000px;
  margin: 0 auto;
}

/* タイトル */
.tagayasujuku h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.2em;
  border-left: 5px solid #2f3e2f;
  padding-left: 10px;
}

/* セクション見出し */
.tagayasujuku h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2.5em;
  margin-bottom: 0.8em;
  color: #2f3e2f;
}

/* 小見出し */
.tagayasujuku h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4em;
  color: #333;
}

/* 段落 */
.tagayasujuku p {
  margin-bottom: 0.8em; /* ← 段落間の余白をやや詰めた */
  color: #333;
}

/* 2カラム構成 */
.tagayasujuku .columns {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tagayasujuku .columns > div {
  flex: 1;
}

/* 画像セクション */
.tagayasujuku .image-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 2em;
}

.tagayasujuku .image-section img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.tagayasujuku .image-section img:hover {
  transform: scale(1.02);
}

/* 主催・企画部分 */
.tagayasujuku .info {
  margin-top: 2em;
  font-size: 0.95rem;
}

.tagayasujuku .info strong {
  font-weight: 700;
}

.tagayasujuku .info a {
  color: #2f3e2f;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.tagayasujuku .info a:hover {
  opacity: 0.7;
}

/* ============================
   PCレイアウト
   ============================ */
@media (min-width: 768px) {
  .tagayasujuku {
    padding: 80px 24px;
  }

  .tagayasujuku h2 {
    font-size: 1.8rem;
  }

  .tagayasujuku h3 {
    font-size: 1.5rem;
  }

  .tagayasujuku .columns {
    flex-direction: row;
    gap: 40px;
  }

  .tagayasujuku .image-section {
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
  }

  .tagayasujuku .image-section img {
    max-width: 480px;
  }

  .tagayasujuku .info {
    font-size: 1rem;
    margin-top: 2.5em;
  }
}
