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

/************************************
** セクション共通スタイル
************************************/
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;
}

/************************************
** マツカワ×シナガワ たがやす塾セクション
************************************/
.matsukawa-shinagawa-section {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  padding: 100px 0;
}

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

.matsukawa-shinagawa-text {
  font-size: 1.1rem;
}

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

.matsukawa-shinagawa-text p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.matsukawa-shinagawa-button {
  margin-top: 30px;
}

.btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: #4caf50;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
  background: #45a049;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.matsukawa-shinagawa-image {
  text-align: center;
}

.feature-image {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.feature-image:hover {
  transform: scale(1.03);
}

/************************************
** 活動風景セクション
************************************/
.gallery-section {
  background-color: rgba(195, 216, 195, 0.5);
}

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

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

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

.wpcf7-form input.wpcf7-submit {
  max-width: 120px;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  margin: 0 auto;
  display: block;
}

/************************************
** マツカワ×シナガワ サブページ - Modern版
************************************/
.matsukawa-shinagawa-page.modern {
  background: linear-gradient(180deg, #f5f9f5 0%, #ffffff 100%);
  padding: 40px 20px 60px;
  font-family: "游ゴシック", "Yu Gothic", sans-serif;
  color: #333;
  line-height: 1.8;
}

.matsukawa-shinagawa-page.modern .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ページヘッダー */
.page-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 40px 20px 30px;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

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

.logo-container {
  position: relative;
  z-index: 1;
  margin-bottom: 15px;
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.page-logo {
  max-width: 500px;
  width: 80%;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.page-logo:hover {
  transform: scale(1.05);
}

.page-subtitle {
  font-size: 1rem;
  color: #2c5530;
  margin: 0;
  font-weight: 300;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

/* メイン説明セクション */
.main-description {
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 50px;
  background: white;
  border-radius: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.main-description::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #4caf50 0%, #2c5530 100%);
}

.main-description .lead-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2c5530;
  margin-bottom: 1.5rem;
  line-height: 1.9;
}

.main-description p {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  line-height: 1.9;
}

/* 開催拠点セクション - モダン交互配置レイアウト */
.location-section-modern {
  margin-bottom: 80px;
}

.location-section-modern .section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #2c5530;
  margin-bottom: 80px;
  position: relative;
  display: inline-block;
  width: 100%;
}

.location-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.location-split:last-child {
  margin-bottom: 0;
}

/* 画像左、テキスト右 */
.location-split.left-image {
  grid-template-columns: 1.2fr 1fr;
}

/* 画像右、テキスト左 */
.location-split.right-image {
  grid-template-columns: 1fr 1.2fr;
}

.location-split.right-image .location-image-wrapper {
  order: 2;
}

.location-split.right-image .location-text-wrapper {
  order: 1;
}

.location-image-wrapper {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.image-frame:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

.image-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 2;
  transition: transform 0.3s ease;
}

.image-frame:hover .image-badge {
  transform: scale(1.1);
}

.badge-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.badge-text {
  font-size: 1rem;
  font-weight: 700;
  color: #2c5530;
  letter-spacing: 0.05em;
}

.location-text-wrapper {
  padding: 20px;
}

.location-text-content {
  max-width: 600px;
}

.location-title {
  font-size: 2rem;
  color: #2c5530;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 20px;
}

.location-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4caf50 0%, #45a049 100%);
  border-radius: 2px;
}

.location-description p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 1.2rem;
}

.location-description p:last-child {
  margin-bottom: 0;
}

/* プログラムの特徴 - 適度なサイズのスクエア画像版 */
.program-features.enhanced {
  margin-bottom: 80px;
}

.program-features.enhanced .section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #2c5530;
  margin-bottom: 80px;
}

.feature-row {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
  padding: 40px;
  background: white;
  border-radius: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.feature-row.reverse {
  grid-template-columns: 1fr 400px;
}

.feature-image-medium {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.feature-image-medium img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-row:hover .feature-image-medium img {
  transform: scale(1.1);
}

.feature-number {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.feature-text-medium h3 {
  font-size: 1.8rem;
  color: #2c5530;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.feature-text-medium h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #4caf50;
  border-radius: 2px;
}

.feature-text-medium p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 25px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  font-size: 1.05rem;
  padding: 10px 0 10px 30px;
  position: relative;
  color: #666;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: bold;
  font-size: 1.2rem;
}

/* プログラムの流れ - SPファースト・洗練版 */
.program-flow-sp {
  margin-bottom: 80px;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f7f0 0%, #e8f5e9 100%);
  border-radius: 30px;
}

.program-flow-sp .section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #2c5530;
  margin-bottom: 60px;
}

.timeline-sp {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.timeline-step {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.step-header {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  padding: 20px 30px;
}

.step-number {
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.step-content {
  padding: 30px;
}

.step-title {
  font-size: 1.5rem;
  color: #2c5530;
  margin: 0 0 15px 0;
  font-weight: bold;
}

.step-description {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* 主催・企画セクション */
.organizer-section {
  margin-bottom: 80px;
  padding: 50px 40px;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-radius: 20px;
}

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

.organizer-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.organizer-item h3 {
  font-size: 1.4rem;
  color: #2c5530;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #4caf50;
}

.organizer-item p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.7;
}

.organizer-link {
  display: inline-block;
  color: #4caf50;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.organizer-link:hover {
  color: #45a049;
  text-decoration: underline;
}

/* CTAセクション */
.cta-section {
  text-align: center;
  padding: 80px 50px;
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  border-radius: 30px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(76, 175, 80, 0.4);
}

.cta-decoration {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(60px);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  line-height: 1.8;
  opacity: 0.95;
}

.cta-section .btn-primary {
  background: white;
  color: #4caf50;
  font-size: 1.3rem;
  padding: 20px 60px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:hover {
  background: #f5f5f5;
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* パルスアニメーション */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.btn-primary.pulse {
  animation: pulse 2s infinite;
}

/************************************
** アニメーション
************************************/
.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;
  }

  .matsukawa-shinagawa-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .location-split,
  .location-split.left-image,
  .location-split.right-image {
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 80px;
  }

  .location-split.right-image .location-image-wrapper {
    order: 1;
  }

  .location-split.right-image .location-text-wrapper {
    order: 2;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .feature-image-medium {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .organizer-content {
    grid-template-columns: 1fr;
  }
}

/* スマートフォン */
@media screen and (max-width: 834px) {
  section {
    padding: 60px 0;
  }

  .hero-content {
    padding: 0 15px;
  }

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

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

  .matsukawa-shinagawa-section {
    padding: 60px 0;
  }

  .page-header {
    padding: 30px 15px 25px;
  }

  .page-logo {
    max-width: 350px;
    width: 90%;
  }

  .page-subtitle {
    font-size: 0.9rem;
  }

  .main-description {
    padding: 30px 20px;
  }

  .main-description .lead-text {
    font-size: 1.2rem;
  }

  .main-description p {
    font-size: 1rem;
  }

  .location-split {
    gap: 40px;
    margin-bottom: 60px;
  }

  .location-text-wrapper {
    padding: 0;
  }

  .location-title {
    font-size: 1.7rem;
  }

  .location-description p {
    font-size: 1rem;
  }

  .image-badge {
    top: 20px;
    left: 20px;
    padding: 10px 20px;
  }

  .badge-icon {
    font-size: 1.3rem;
  }

  .badge-text {
    font-size: 0.9rem;
  }

  .feature-row {
    padding: 30px 20px;
    margin-bottom: 60px;
  }

  .feature-image-medium {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }

  .feature-text-medium h3 {
    font-size: 1.5rem;
  }

  .feature-text-medium p {
    font-size: 1rem;
  }

  .program-flow-sp {
    padding: 40px 15px;
  }

  .step-header {
    padding: 15px 20px;
  }

  .step-content {
    padding: 25px 20px;
  }

  .step-title {
    font-size: 1.3rem;
  }

  .step-description {
    font-size: 1rem;
  }

  .organizer-section {
    padding: 40px 20px;
  }

  .organizer-item {
    padding: 25px 20px;
  }

  .cta-section {
    padding: 50px 20px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1.1rem;
  }

  .cta-section .btn-primary {
    font-size: 1.1rem;
    padding: 15px 40px;
  }
}

/* 小さなスマートフォン */
@media screen and (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  section {
    padding: 40px 0;
  }

  .hero-title {
    font-size: 1.3rem;
    letter-spacing: 0.05em;
  }

  .concept-item {
    padding: 30px 15px;
  }

  .news-item:hover {
    margin: 0 -15px;
    padding: 30px 15px;
  }

  .page-logo {
    width: 95%;
  }

  .page-subtitle {
    font-size: 0.85rem;
  }

  .btn-primary {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .feature-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .location-title {
    font-size: 1.5rem;
  }
}
