@charset "UTF-8";

/* ===== スライドショー ===== */
.fade-slideshow {
    position: relative;
    height: min(80vh, 800px);
    overflow: hidden;
    z-index: 1; /* ベースのレイヤー */
}

.fade-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.fade-slide.active {
    opacity: 1;
    z-index: 2;
}

.fade-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- タイトル --- */
.slide-title {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    text-align: right;
}

.slide-title span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    color: var(--main-color);
    border-radius: 5px;
    font-weight: bold;
}

/* --- SNSアイコン --- */
.social-icons-overlay {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 20;
}

.social-icons-overlay a {
    color: #fff;
    font-size: 32px;
    text-shadow: 0 0 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

/* --- ドット --- */
.fade-dots {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.fade-dots span {
    width: 12px;
    height: 12px;
    background: var(--sub-color);
    border-radius: 50%;
    cursor: pointer;
}

.fade-dots span.active {
    background: var(--main-color);
}

/* --- スマホ --- */
@media (max-width: 768px) {
    .fade-slideshow { height: 60vh; }
    .slide-title span { font-size: 1rem; }
    .social-icons-overlay { right: 10px; gap: 15px; }
    .social-icons-overlay a { font-size: 28px; }
}


/* ===== 注意 ===== */
.rules-section {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  gap: 20px;
  justify-content: space-between;
  margin: 50px auto 100px;
}

.rule-item {
  flex: 1 1 28%; /* PCは3カラム */
  text-align: center;
  border: 10px solid var(--sub-color);
  border-radius: 12px;
}

.rule-icon {
  font-size: 48px;
  color: var(--accent-color);
  margin: 0px 10px;
}

.rule-title {
  font-size: 1.1em;
  color: var(--accent-color);
  padding: 0;
}

.rule-text {
  font-size: 0.8em;
  line-height: 1.6;
  color: var(--accent-color);
}

/* スマホ用設定（768px以下） */
@media screen and (max-width: 768px) {
  .rules-section {
    width: 90%;
    margin-bottom: 80px;
  }

  .rule-item {
    flex: 1 1 100%;
       border: 5px solid var(--sub-color);
  }

  .rule-icon {
    font-size: 24px;
  }

  .rule-title {
  font-size: 1em;
  }
	
.rule-text {
  font-size: 0.7em;
  }
}





/* ===== 鎌倉広町緑地とは ===== */
.about-text {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 20px;
}

/* 左寄せ回り込み */
.alignleft {
  float: left;
  margin: 0 20px 20px 0;
  max-width: 80%;
  border-radius: 12px;
  overflow: hidden;
}

/* リンクボタン共通 */
.about-buttons {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 100px;
  max-width: 1200px;
  margin: 0 auto 120px;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

.about-buttons a {
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 450px;
}

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

.about-buttons img {
  width: 100%;
  height: auto;
}

/* スマホ (768px以下) */
@media (max-width: 768px) {
  .about-text .alignleft {
    float: none;
    display: block;
    margin: 0 auto 20px;
    max-width: 100%;
  }

  .about-buttons {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 80px;
  }

  .about-buttons a {
    width: 80%;
    max-width: none;
  }
}


/* ===== 賛助企業 ===== */
/* 1. 共通設定 */
.sponsor-item {
    display: block;
    transition: transform 0.3s ease;
    text-decoration: none;
}

a.sponsor-item:hover {
    transform: translateY(-5px);
}

.sponsor-item img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--accent-color);
    box-sizing: border-box;
    min-height: 50px;
}

/* 2. ロゴ一覧（左寄せに設定） */
.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; 
    margin: 80px 0;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
}

.sponsor-grid .sponsor-item {
    flex: 0 0 210px; 
    max-width: 100%;
}

/* 3. 募集バナー */
.sponsor-cloud-wrapper {
    text-align: center;
    margin: 0 auto 100px;
    max-width: 1200px; 
    width: 100%;
    background: #fff;
    padding: 80px 20px; 
    border-radius: 50% 60% 60% 40% / 50% 60% 60% 60%; 
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.03);
    border: 2px solid #f3f7f4;
    box-sizing: border-box;
    display: block;
}

.sponsor-cloud-wrapper .sponsor-item img {
    width: 90% !important;
    max-width: 1000px;
    border: none !important;
    margin: 0 auto;
}

/* 4. モバイル対応 */
@media (max-width: 768px) {
    .sponsor-grid {
       margin: 40px 0;
        justify-content: center;
        gap: 15px;
    }

    .sponsor-grid .sponsor-item {
         flex: 0 0 calc((100% - 15px) / 2);
    }

    .sponsor-cloud-wrapper {
        margin: 60px 15px;
        width: auto;
        padding: 50px 25px;
        border-radius: 50% 45% 55% 40% / 45% 55% 45% 55%;        
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    }
    
    .sponsor-cloud-wrapper .sponsor-item img {
        width: 100% !important;
    }
}



/* ===== サイトマップ・マップ ===== */
/* 3カラム */
.col-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  align-items: stretch;
}

/* 共通設定：ここを .col-left に統一しました */
.col-right-1,
.col-left {
  box-sizing: border-box;
  border-radius: 12px;
  padding: 10px;
}

/* 左カラム（サイトマップ） */
.col-left {
  flex: 0 0 18%;
  background-color: var(--sub-color);
  border: none;
}

.sitemap-title {
  text-align: center;
  color: var(--main-color);
  font-weight: bold;
}

.sitemap-list {
  list-style: none;
  padding-left: 10px;
  font-size: 0.95em;
}

/* 右1カラム（森市民の会） */
.col-right-1 {
  flex: 0 0 36%;
  border: 2px solid var(--accent-color);
  background-color: #fff;
  color: #333;
  font-size: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.manager-info-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.manager-info {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.manager-info a {
  line-height: 1.4;
  text-decoration: none;
}

.col-right-1 p {
  text-align: left;
  margin-top: 10px;
  font-size: 0.9em;
  line-height: 1.8;
}

/* 右2カラム（地図） */
.col-right-2 {
  flex: 1;
  position: relative;
  padding: 0;
}

.col-right-2 img {
  width: 100%;
  display: block;
}

/* スマホ対応（768px以下） */
@media (max-width: 768px) {
  /* クラス名を修正 */
  .col-right-1, 
  .col-left, 
  .col-right-2 {
    flex: 0 0 90%;
    margin: 0 auto 20px;
   }

  .sitemap-list {
    text-align: center;
    padding-left: 0;
  }
}