@charset "UTF-8";

/*======================================
  背景動画の設定
======================================*/
#bg-video{
  position:fixed;
	top:0;left:0;
	width:100vw;height:100vh;
  object-fit:cover;
	z-index:-1;
	background:#fff8dc;
}


/*======================================
  タイトル全体（動画上コピー）
======================================*/
.animated-title{
  font-family:"Kosugi Maru",sans-serif;
  font-size:3rem;line-height:2;text-align:center;
  display:inline-block;
}
@media(max-width:900px){.animated-title{font-size:1.8rem;}}

/* 1 文字セット */
.animated-title .char{
  position:relative;
  display:inline-block;
  margin:0 .4rem;
  /* 登場アニメ */
  opacity:0;transform:translateY(20px) scale(.8);
  animation:fadeInChar .5s ease forwards;
}

/* 塗り文字（前面） */
.animated-title .fill{
  position:relative;z-index:2;
  color:var(--text-color,#000);
}

/* フチ＋影（背面） */
.animated-title .stroke{
  position:absolute;top:0;left:0;z-index:1;
  color:transparent;
  -webkit-text-stroke:3px #fff;
  text-shadow:0 4px 6px rgba(0,0,0,.45); /* Chrome / Edge / Firefox 用 */
}

/* －－ Safari（iOS / macOS）だけ文字影を完全に消す 最終ブロック －－ */
@media screen and (-webkit-min-device-pixel-ratio:0){
  .animated-title .stroke{
    text-shadow:none !important;                     /* いったん全部消す       */
    /* ↓ 「Y=4px／ぼかし=6px／α=0.25」  シャドウを付け直す */
    filter:drop-shadow(0 4px 6px rgba(0,0,0,0.25)) !important;
  }
}
/* 登場アニメ */
@keyframes fadeInChar{
  0%  {opacity:0;transform:translateY(20px) scale(.8);}
 100% {opacity:1;transform:translateY(0)    scale(1);}
}

/* 消えるアニメ（必要なら JS で .fade-out を付与） */
@keyframes fadeOutChar{
  0%  {opacity:1;transform:translateY(0)    scale(1);}
 100% {opacity:0;transform:translateY(-20px) scale(.8);}
}
.fade-out{animation:fadeOutChar .6s ease forwards;}

/* ======================================
   中央配置ラッパー
======================================*/
.intro{
  position:relative;z-index:1;
  height:100vh;display:flex;flex-direction:column;
  justify-content:center;align-items:center;text-align:center;
}


/*======================================
  ロゴがあとからふわっと出る要素
======================================*/
.logo-after {
  position: fixed; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transition: opacity 2.5s ease, visibility 2.5s ease;
}

.logo-after img {
  min-width: 400px;
  height: auto;
  display: block;
}

.logo-after.show {
  opacity: 1;
  visibility: visible;
}




/*スクロールを促す*/
.scroll-indicator h1 {
  font-size: 1.5rem;
  color: #fff;
}
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.arrow-down {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(-45deg);
  animation: bounce 1.5s infinite;
}
/* ↓ やさしい上下アニメーション */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0) rotate(-45deg);
  }
  50% {
    transform: translateY(8px) rotate(-45deg);
  }
}
/*スクロールを促すここまで*/
/* 波形（セクション上部） */
.wave-top {
  position: relative;
  margin-bottom: -5px; /* ← 隙間を強制的に潰す */
  width: 100%;
  height: 150px;
  overflow: hidden;
  line-height: 0;
  padding: 0;
	z-index: 5;
}
.wave-top svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* vision セクションの動き（下から競り上がってくる） */
.vision {
  position: relative;
  z-index: 5;
  background-color: #9ae6f7;
  padding: 80px 0 0;
  min-height: 80vh;
	background-image: url("../img/index-img/bg.png");
	background-repeat: repeat-y;     /* 縦方向にリピート */
  background-size: 100% auto;     
  background-position: top center; 
	
}
.vision h1 {
  font-size: 1.8rem;
	padding-left: 20px;
  margin-bottom: 30px;
  text-align: center;
}









/* --- ❎お知らせ + シャボン玉配置 --- */

.notice {
  position: absolute; 
  top: 0;
  right: 0; 
  width: 70%; 
  margin: 0; 
  border: dotted 5px #CCA99D;
  border-radius: 5px;
  background-color: #fff;
  z-index: 5;
  padding: 30px;
  box-sizing: border-box;
min-height: 20vh;
}

.notice-wrapper {
  position: relative;
  width: 100%;
  height: auto; 
}


.kirin {
  position: absolute;
  top: -200px;
  right: 10%;
  max-width: 600px;
  z-index: 1;
}

.zou {
  position: absolute;
  bottom: -80px;
  left: -30%;
  max-width: 600px;
  z-index: 3;
	 pointer-events: none; 
}
@media screen and (max-width: 1100px) {
	.kirin {
  position: absolute;
  top: -100px;
  right: 15%;
  max-width: 300px;
  z-index: 0;
}
	.zou{
	
  bottom: -50px;
  left: -50px;
  max-width: 250px;

	}
}

.area__label {
  max-width: 150px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 600;
  padding: 0 10px;
  background-color: #fff;
  border-radius: 20px;
  z-index: 2;
}

.area__contentz {
  max-height: 200px;
  overflow-y: auto;
  padding: 20px;
  scroll-behavior: smooth;
  z-index: 2;
}

.notice dl {
  margin: 15px auto;
}

.notice h2 {
  text-align: center;
  color: #F77831;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, "serif";
}

#new {
  margin: 0 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  padding: 30px 50px;
}

#new dt, #new dd {
  padding: 5px 0;
	text-align: left;
}

#new dt {
  display: flex;
  width: 30%;
	margin-left: 30px;
}

#new span {
  display: none;
}

#new dd {
	margin-left: 30px;
  width: calc(100% - 20%);
}

@media screen and (max-width: 900px){
	.notice {
 
  width: 90%; 

}
#new {

  display: block;
padding: 10px 20px 20px 50px;
}	
	
}
/* ---❎認め合い支え合う仲間づくり--- */

.section02 {
  width: 80%;
  margin: 400px auto 50px;
  border-radius: 50px;
  padding: 50px 0 0px;
  display: flex;

  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
  gap: 30px;
  flex-wrap: nowrap;
  height: auto; /* ← 60vhをやめて、内容に合わせる */
}



.section02 h2 {
  width: 30%;
  font-size: 4rem;
  line-height: 6rem;
  font-family: 'M PLUS Rounded 1c', 'Kosugi Maru', sans-serif;
  font-weight: 700; /* ← 太字 */
  margin: 0;
  text-align: center;
  min-width: 500px;
}


.section02 h2 span {
  display: inline-block;
  font-weight: 700;
}

/* コントラスト強めで読みやすいが可愛い色 */
.section02 h2 span:nth-child(6n+1) { color: #f77f7f; }  /* コーラル */
.section02 h2 span:nth-child(6n+2) { color: #f6ad55; }  /* サーモン */
.section02 h2 span:nth-child(6n+3) { color: #f6c344; }  /* 黄色 */
.section02 h2 span:nth-child(6n+4) { color: #7dd181; }  /* ライムグリーン */
.section02 h2 span:nth-child(6n+5) { color: #56cfe1; }  /* アクアブルー */
.section02 h2 span:nth-child(6n+6) { color: #a393eb; }  /* ラベンダー */

/* 基本スタイル */
.section02 h2 span {
  display: inline-block;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
}

/* アニメーションクラス（発火時に付与） */
.section02 h2.animated span {
  animation: popSoft 1s ease-out forwards;
}

/* ディレイを各文字に適用（.animated付きに限定） */
.section02 h2.animated span:nth-child(1)  { animation-delay: 0.1s; }
.section02 h2.animated span:nth-child(2)  { animation-delay: 0.2s; }
.section02 h2.animated span:nth-child(3)  { animation-delay: 0.3s; }
.section02 h2.animated span:nth-child(4)  { animation-delay: 0.4s; }
.section02 h2.animated span:nth-child(5)  { animation-delay: 0.5s; }
.section02 h2.animated span:nth-child(6)  { animation-delay: 0.6s; }
.section02 h2.animated span:nth-child(7)  { animation-delay: 0.7s; }
.section02 h2.animated span:nth-child(8)  { animation-delay: 0.8s; }
.section02 h2.animated span:nth-child(9)  { animation-delay: 0.9s; }
.section02 h2.animated span:nth-child(10) { animation-delay: 1.0s; }
.section02 h2.animated span:nth-child(11) { animation-delay: 1.1s; }
.section02 h2.animated span:nth-child(12) { animation-delay: 1.2s; }
.section02 h2.animated span:nth-child(13) { animation-delay: 1.3s; }
.section02 h2.animated span:nth-child(14) { animation-delay: 1.4s; }
.section02 h2.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);
  }
}

@media screen and (max-width: 900px) {
	.section02 {
		width: 90%;}
  .section02 h2 {
    width: 100%;
    min-width: 0;     /* ← ここで解除 */
    font-size: 2rem;
    line-height: 3rem;
    padding: 0 10px;
    box-sizing: border-box;
  }
}



.slideshow {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 4 / 3;
  margin: 40px auto;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;

}
.slideshow heart-slide{
	min-width: 800px;
}

.slide-wrapper {
  display: flex;
  transition: transform 0.6s ease;
  width: 100%;
  height: 100%; /* ← 高さ指定でスライドにフィット */
		
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%; /* ← 高さ指定追加 */
  display: flex;
  align-items: center;
  justify-content: center;
	
}

.slide img {
  height: auto;
  width: 100%;
  object-fit: cover;
  display: block;
	border-radius: 20px;
}



.slide-deco {
  position: absolute;
  width: 120px;
  height: auto;
  z-index: 3;
  pointer-events: none;
}

.deco-left {
  top: 0;
  left: -20px;
}

.deco-right {
  bottom: 0;
  right: 0;
}

@media screen and (max-width: 1100px) {
.section02 {
 display: block;
}	
	.section02 h2 {
  width: 80%;
  font-size: 3rem;
  line-height: 5rem;
	margin: 0 auto;
  
}
}



.background-green{
	position: relative;
  background-image: url("../img/index-img/smile-back.png");
  background-size: cover;
	width: 100%;
  background-position: top center;
  min-height: 50vh;
}
@media screen and (max-width: 700px) {
  .background-green {
    background-size: 100% auto; /* 横を100%、縦は自動 */
	 background-repeat: no-repeat;
  }
}



/*虹イラスト*/

.rainbow{
	width: 20%;
	margin: 0 auto;
}
/*❎スマイルひろば*/

.smile-left {
  position: absolute;
  width: 25%;
  max-width: 300px;
  left: 100px;
  top: 8%;
}
.smile-right {
  position: absolute;
  width: 25%;
  max-width: 300px;
  right: 100px;
  top: 8%;
}
.smile h1 {
  padding-top: 200px;
  font-size: 4rem;
  line-height: 2rem;
  font-family: 'Kosugi Maru', sans-serif;
}




.smile h2 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-family: 'Kosugi Maru', sans-serif;
}
.smile-text {
  width: 80%;
  max-width: 700px;
  margin: 20px auto;
  background-color: #fff;
  padding: 20px 25px;
  border-radius: 15px;
  display: inline-block;
  text-align: left;
}
.smile-text01 p {
  max-width: 700px;
  margin: 20px auto;
  font-size: 1.2rem;
  line-height: 2rem;
}
.smile span {
  font-weight: 600;
  color: #FF8117;
}
.smile-text02 {
	background-color: #fff;
	padding: 10px 15px;
	border-radius: 15px;
	width: 50%;
  margin: 10px auto 100px;
 
}
.smile-text02 h2 {
	 border-bottom: 5px dotted #F2C122;
  font-size: 1.5rem;
  margin: 10px auto;
}
.smile-text02 p {
  font-size: 1.2rem;
}
.calendar {
  margin: 50px auto 0;
  padding-bottom: 50px;
  width: 90%;
  max-width: 800px;
  height: auto;
  display: block;
}
@media (max-width: 900px){
.smile h1 {
padding-top: 80px;
  font-size: 2.2rem;
	line-height: 2rem;

}
.smile h2 {
  font-size: 1.2rem;
  line-height: 1.5rem;
  font-family: 'Kosugi Maru', sans-serif;
}
	
	.smile-text01 p {

  font-size: 1rem;
  
}
.smile-text02 {	
	width: 90%;
	text-align: left;

 
}	
	
}
/*スマイルひろば用スライドショー*/
.custom-slider {
  overflow: hidden;
  width: 100%;
	margin-bottom: 100px;
}

.custom-slider-track {
  display: flex;
  width: max-content;
  animation: none; /* JSで動かすため */
}

.custom-slider img {
  height: 200px;
  width: auto;
  margin-right: 20px;
  flex-shrink: 0;
	border-radius: 15px;
}





/*❎インスタ*/
.instagram {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-bottom: 100px;
  text-align: center;
}
.instagram img {
 width: 80%;
	max-width: 600px;
}

.instagram-pc iframe {
  width: 80%;
  min-height: 900px; /* ← ここを固定することで縦切れ防止 */
  border: none;
}


.instagram-sp iframe {
  width: 100%;
  height: 1080px; /* スマホ用の高さを固定 */
}

@media (max-width: 900px){
.instagram {
  width: 90%;
margin: 0 auto;
}
	.instagram-pc iframe {
  min-height:400px; /* ← ここを固定することで縦切れ防止 */

}

}





/* ▼❎ 園での取り組みセクション全体 ▼ */
.bouhan {
  margin: 20px auto 50px;
  width: 100%;
  text-align: center;
  font-family: 'Kosugi Maru', sans-serif;

}
.bouhan h1{
	font-size: 2rem;
}

.bouhan-slideshow {
  width: 80%;
  max-width: 800px;
	height: auto;
  margin: auto;
	padding: 20px;
  overflow: hidden; /* ← スライド範囲外を非表示 */
  position: relative;
  mask-image: linear-gradient(to right, black 0%, black 100%); /* 保険的にマスク */
  -webkit-mask-image: linear-gradient(to right, black 0%, black 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
}


.bouhan-slideshow .slide-wrapper {
  display: flex;
  transition: transform 0.6s ease;
}

.bouhan-slideshow .slide {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 0 20px 30px;
}

.bouhan-slideshow .slide img {
  width: 100%;
  height: 300px;          /* ← 固定の高さを指定（統一） */
  object-fit: cover;      /* ← 中央でトリミングして揃える */
  display: block;
  border-radius: 12px;
}


.bouhan-slideshow .slide-text {
  margin-top: 15px;
  font-size: 1.5rem;
  line-height: 2rem;
  text-align: center;
}

@media screen and (max-width: 900px) {
  .bouhan-slideshow .slide-text {
    font-size: 1.2rem;
  }
}


/*❎お問い合わせ*/

/* お問い合わせ全体ラッパーに背景色を持たせる */
.contact-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden; /* はみ出し防止 */
}




/* お問い合わせ本体 */
.contact {
margin: 0 auto;
  width: 80%;
  justify-content: center;
  align-items: center;
  padding: 100px 0;
}

.contact-no {
  border: solid #F89233 5px;
	background-color: #fff;
  text-align: center;
  padding: 30px;
  border-radius: 20px;
  margin: 0 auto;
  width: 80%;

}

.contact-no h1 {
  font-size: 2rem;
  color: #311D00;
  margin-bottom: 20px;
	font-family: "Kosugi Maru", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", "Arial Rounded MT Bold", "游ゴシック", sans-serif;
	
}

.contact-no a{
	font-size: 3rem;
	text-decoration: none;
	color: #f15a24;
	
}

.contact a:hover{
  color: #FB8D31;
}


.contact-no a.form {
  border-top: dotted #f15a24 5px;
  background-color: #f15a24;
  border-radius: 15px;
  padding: 10px 15px;
  color: #fff !important; /* ← これで上書き防止 */
  display: inline-block;
  margin-top: 20px;
  font-size: 1.8rem;
  text-decoration: none;
}
/* ホバー時の色変更 */
.contact-no a.form:hover {
  background-color: #FB8D31;
  color: #f15a24;
  border: solid 2px #f15a24;
}

/* レスポンシブ対応 */
@media screen and (max-width: 900px) {
  .contact {
    width: 90%;
    padding: 60px 5% 80px;
  }

  .contact-no {
    width: 100%;
    padding: 20px;
  }

  .contact a {
    font-size: 1.5rem;
    line-height: 2.5rem;
  }
}