@charset "UTF-8";
/* CSS Document */

/*❎TOPイラスト・写真*/
.section-01 {
	position: relative;
  width: 100%;
height: 60vh;
  margin: 150px auto 50px;
  text-align: center;
 
}
.section-01-title {
  position: absolute;
  right: 0;
	top:0px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px; /* 要素の間隔 */
	z-index: 10;
}


.section-01 h1 {
  background: #f39800;
  color: white;
  padding: 20px 80px 20px 30px;
  display: inline-block;
  border-radius: 15px 0 0 15px;
  margin-bottom: 10px;
  font-family: "Kosugi Maru", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", "Arial Rounded MT Bold", "游ゴシック", sans-serif;
}


.wave {
  width: 100%;
	max-width: 260px;
  height: auto;
  margin-bottom: 20px;
}


.slideshow-wrapper {
  position: relative;
  width: 70%;
  aspect-ratio: 16 / 9;
  background: #f0f0f0;
  border-radius: 0 15px 15px 0;
	max-height: 65vh;
}

/* スライド本体 */
.slideshow-container {
  width: 100%;
  height: 100%;
  overflow: hidden; /* スライド画像の範囲制限は維持 */
	border-radius: 0 20px 20px 0;
}

/* 横スライド */
.top-slider {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
	
}

.top-slide {
  flex: 0 0 100%;
  height: 100%;
}

.top-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center center; /* 中央寄せ */
  background-color: #fff; 
}


/* イラストを右下に重ねて表示（切れないよう外に出す） */
.hoiku-img {
  position: absolute;
  bottom: -50px;
  right: -200px;
  width: 250px;
  height: auto;
  z-index: 2;
}


@media screen and (max-width: 1100px) {
	.slideshow-wrapper {
	    width: 100%;
    position: static;
    top: 0;
    margin-top: 55px; 
	 
  }
.slideshow-container {
	border-radius: 0;
}
  .section-01 {
    margin-top: 0; /* ← セクション全体の余白も調整する場合 */
  }

.hoiku-img {
  position: absolute;
	bottom: -0;
  left: 0px;
  width: 120px;
  height: auto;
  z-index: 2;
}
	.section-01-title {
  position:static;
  right: 0;
		margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px; /* 要素の間隔 */

}
	.section-01 h1 {
	font-size: 2.5rem;
  background: #f39800;
  color: white;
  padding: 20px 80px 20px 30px;
  display: inline-block;
  border-radius: 15px 0 0 15px;
  margin-bottom: 10px;
}

}


/*❎こころとからだすくすく楽しく*/
.section-02{
	display: flex;
	flex-wrap: wrap;
	gap:50px;
	width: 90%;
	margin: 100px auto;

	
}
.section-02-text {
  margin-top: 30px;
  width: 60%;
  text-align: center;
	background-image: url("../img/hoikubu-img/sec02-back-1.png");
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.section-02-text h1{
text-align: center;
	font-size: 2rem;
}
.colorful-title {
  font-size: 2.5rem;
  line-height: 3.5rem;
  text-align: center;
  font-family: 'M PLUS Rounded 1c', 'Kosugi Maru', sans-serif;
  font-weight: 700;
  margin: 0 auto;
  display: inline-block;

}

.colorful-title span {
  display: inline-block;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
}

/* 色設定（6色ループ） */
.colorful-title span:nth-child(6n+1) { color: #f77f7f; }
.colorful-title span:nth-child(6n+2) { color: #f6ad55; }
.colorful-title span:nth-child(6n+3) { color: #f6c344; }
.colorful-title span:nth-child(6n+4) { color: #7dd181; }
.colorful-title span:nth-child(6n+5) { color: #56cfe1; }
.colorful-title span:nth-child(6n+6) { color: #a393eb; }

/* アニメーション発火時 */
.colorful-title.animated span {
  animation: popSoft 1s ease-out forwards;
}

/* 順番に delay を付ける */
.colorful-title.animated span:nth-child(1)  { animation-delay: 0.1s; }
.colorful-title.animated span:nth-child(2)  { animation-delay: 0.2s; }
.colorful-title.animated span:nth-child(3)  { animation-delay: 0.3s; }
.colorful-title.animated span:nth-child(4)  { animation-delay: 0.4s; }
.colorful-title.animated span:nth-child(5)  { animation-delay: 0.5s; }
.colorful-title.animated span:nth-child(6)  { animation-delay: 0.6s; }
.colorful-title.animated span:nth-child(7)  { animation-delay: 0.7s; }
.colorful-title.animated span:nth-child(8)  { animation-delay: 0.8s; }
.colorful-title.animated span:nth-child(9)  { animation-delay: 0.9s; }
.colorful-title.animated span:nth-child(10) { animation-delay: 1.0s; }
.colorful-title.animated span:nth-child(11) { animation-delay: 1.1s; }
.colorful-title.animated span:nth-child(12) { animation-delay: 1.2s; }
.colorful-title.animated span:nth-child(13) { animation-delay: 1.3s; }
.colorful-title.animated span:nth-child(14) { animation-delay: 1.4s; }
.colorful-title.animated span:nth-child(15) { animation-delay: 1.5s; }

@keyframes popSoft {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  50% {
    opacity: 1;
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}



.section-02-text p {
  margin: 10px auto 0; 
  max-width: 600px;
  font-size: 1.2rem;
  text-align: left; 
}

.section-02 img{
	max-width: 400px;
	max-height: 400px;
	border-radius: 15px;
}

@media screen and (max-width: 1300px) {
	.section-02-text{
		margin: 0px auto;
	width: 90%;
		padding-top: 0;

}
	

	
	
	.section-02 img{
width: 90%;
	border-radius: 15px;
		max-width: 600px;
		max-height: 300px;
		object-fit: cover;
		margin: 0 auto;
}
}


/*❎たまご組・ひよこ組・あひる組*/

.section-03{
	background-color: #fdede1;
}
.section-03 h2{
	font-size: 2rem;
	line-height: 2.5rem;
}
.section-03 span{
	font-size: 1rem;
	line-height: 1.5rem;
}
.section-03 h3{
  line-height: 1.6;           
  min-height: calc(1.6em * 1.5);    
  display: flex;                  
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 10px 0 0;
}
.section-03 h3 span{
  display: block;      
  font-size: 1rem;
  line-height: 1.4;
  margin-top: .25em;
}
/* ✅ たまご組だけ h3 を縦並びにする */
.section-03 li:first-child h3 {
  display: block;            /* flexやinline-flexを解除 */
  text-align: center;        /* 中央寄せ（お好みで） */
  line-height: 1.5;
}

.section-03 li:first-child h3 span {
  display: block;            /* 強制的に改行 */
  margin-top: .3em;          /* 上に少し余白 */
}

.section-03 p{
	font-size: 1.2rem;
	line-height: 1.5rem;
	max-width:400px; 
	margin: 15px auto;
	text-align: left;
	
}
.section-03 ul {
	width: 90%;
  display: flex;
  flex-wrap: wrap;
	gap:60px;
  justify-content:center; 
  list-style: none;
  padding: 50px 0;
  margin:0 auto;
	
}

.section-03 li {
	min-width: 250px;
  width: 25%; 
  box-sizing: border-box;
}
.section-03 img{
	min-width: 300px;
	max-width: 350px;
	border-radius: 15px;
	width: 60%;
}

@media screen and (max-width: 1100px){
	.section-03 img{
	max-width: 600px;
	width: 60%;
}
	


.section-03 li {
	min-width: 200px;
  width: 90%; /* gapなしで3つ並ぶよう調整 */
  box-sizing: border-box;
}
}


/* ❎タブ３つ*/
.tab-background-img{
		background-color: #9ae6f7;
	background-image: url("../img/bg.png");
	width: 100%;
	margin: 0 auto;

}
.section-04 {
  width: 90%;
  max-width: 1000px;
  position: relative;
	margin: 0 auto;
	padding:150px 0; 

	
}

/* タブ本体 */
ul.tabs {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 2;
  position: relative;
}

ul.tabs li {
  cursor: pointer;
  padding: 10px 25px;
  font-weight: bold;
  border-radius: 10px 10px 0 0;
  margin-right: 5px;
  color: #fff;
  position: relative;
  z-index: 3;
}

.tabs li {
  font-size: 2rem;
	font-weight: bold;
  
}
@media screen and (max-width: 1000px){
.tabs li {
  font-size: 1.1rem;
	font-weight: bold;
	line-height: 1.5rem;
  
}
	ul.tabs li {
  
  padding: 10px 7px;

		
}
}

/* 各タブ色（通常） */
.tab1-btn { background-color: #fbb03b; }
.tab2-btn { background-color: #29abe2; }
.tab3-btn { background-color: #8cc63f; }

/* ホバー時の色（タブ別） */
.tab1-btn:hover { background-color: #ff6347; }  
.tab2-btn:hover { background-color: #0000cd; }  
.tab3-btn:hover { background-color: #008000; }  


/* アクティブタブ強調 */
ul.tabs li.active {
  filter: brightness(1.1);
}

/* メイン背景ボックス（背景＋枠線） */
.tab_container {
  border: 2px solid #ccc;
  border-radius: 0 20px 20px;
  padding: 40px 10px;
  margin-top: -1px; /* タブと重ねる */
  background-color: #fff3e0; /* 初期色（オレンジ） */
  transition: background-color 0.3s;
  position: relative;
  z-index: 1;
}

/* 各タブに応じた背景切替 */
.tab_container.bg-orange { background-color: #fef1e6; border-color: #fbb03b; }
.tab_container.bg-green  { background-color: #e9ecd0; border-color: #8cc63f; }
.tab_container.bg-blue   { background-color: #dff2fc; border-color: #29abe2; }

/* コンテンツ */
.tab_content {
  display: none;
}

.tab_content.active {
  display: block;
}

/* ドロワー（SP用） */
.tab_drawer_heading {
  display: none;
}



/*タブ内共通タイトル部分*/
.tab-title{
	margin-bottom: 15px;
	width: 90%;
	max-width: 400px;
}
@media screen and (max-width: 1000px){
.tab_container {
  border-radius: 0 00px 20px 20px;

}
}


/*タブ右下イラスト*/
.tab-decoration{
  position:absolute;  
  right:-40px;        
  bottom:70px;       
  z-index:5;           
  pointer-events:none; 
}
.tab-decoration img{
  width:200px;         
  height:auto;
}
@media screen and (max-width: 1000px){
	.tab-decoration{
  position:absolute;  
  right:0px;        
  bottom:70px;       
  z-index:5;           
  pointer-events:none; 
}
.tab-decoration img{
  width:150px;         
  height:auto;
}
}

/* ❎1日の流れ*/
.schedule img{
	width: 90%;
}

/* ❎季節の行事*/
.yearly-events {
text-align: left;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
  /* grid-template-columns は使わない */
}
.yearly-events ul{
	list-style: none;
}
.evebts {
  max-width: 1000px;               
  width: 90%;                       
  margin: 20px auto;                 
  background-color: rgba(255,255,255,0.7);
  padding: 30px 25px 60px;
  border-radius: 20px;
}

.evebts h1{
	font-size: 1.5rem;
	margin-bottom: 30px;
}
.evebts span{
	font-size: 1.2rem;
	margin-left: 10px;
}
.evebts ul{
	display: flex;
	flex-wrap: wrap;
	gap:40px;
	line-height: 0.5rem;

}
.footer-note{
	width: 80%;
	margin: 0 auto;
	text-align: left;
}
.footer-note h1{
	font-size: 1.5rem;
	border-bottom: dotted #F69F2E 5px;
	padding-left: 25px;
}
.footer-note ul{
	list-style: none;
	padding-left: 25px;
}

/* ❎遊び・学び*/

.tab3-img {
  width: 100%;
  display: flex;
  justify-content: center;

}
.image-grid {
    display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 10px;
}

.image-item {
  text-align: center;
	max-width:350px; 
	width: 30%;
	justify-content: center;
	
}

.image-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  cursor: default; /* ポインタも変えない */
  transition: none; /* アニメーション効果削除 */
}

.image-item img:hover {
  transform: none; /* 拡大や移動を無効化 */
}




.img-title {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
}