@charset "UTF-8";
/* CSS Document */
/* lunch.css に追記または上書きすべき項目 */

h1{
	font-family: "Kosugi Maru", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", "Arial Rounded MT Bold", "游ゴシック", sans-serif;
	font-size: 2rem;
	color: #663300;
}


/*✅ 心を育み、生きる喜びを味わう*/
.section-01 {
  margin-top: 168px;
  text-align: center;
  position: relative;
	background-image: url("../img/lunch-img/bg.png");
	background-size: cover;
	padding-top: 50px;
}

.slideshow-container {
	margin: 0 auto;
  width: 60%;
	height: 60vh;
  max-height: 800px;
  position: relative;
  overflow: hidden;
	border-radius: 20px;
	
}

.slide {
	
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fade 15s infinite;
		
}
.slide img {
  width: 100%;       
  height: 100%;      
  object-fit: cover;   
  object-position: center center;
  display: block;
  border-radius: 20px;
}

.slide:nth-child(1) {
  animation-delay: 0s;
}

.slide:nth-child(2) {
  animation-delay: 5s;
}

.slide:nth-child(3) {
  animation-delay: 10s;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  53% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.overlay-illustration{
margin: 20px auto 0;	
	max-width:300px; 
}
.section-01text{
	width: 60%;
	margin: 0 auto;
	padding-bottom: 100px;
	line-height: 3rem;
	
}

.section-01text p{
	margin-top: 20px;
	font-size: 1.2rem;
	text-align: left;
}

/* スマホ表示用 */
@media screen and (max-width: 1100px){
	
	.slideshow-container {
		width: 100%;
		border-radius: 0;
		height: 30vh;
	}
	
	

	.section-01 {
  margin-top: 60px;
  text-align: center;
  position: relative;
		padding-top: 0;
}
	.slide img {

	border-radius: 0px;
}
	.section-01text{
	width: 80%;
	
	
}
}


/*✅フレンド幼稚園食事摂取基準*/
/* ✅ セクション全体ラッパー */
.section-02-wrapper {
  position: relative;
  width: 100%;
}

/* 上部装飾画像 */
.section-02-top-decoration {
  display: block;
  width: 100%;
  margin-bottom: -5px;
}

/* 下部装飾画像 */
.section-02-bottom-decoration {
  display: block;
  width: 100%;
  margin-top: -5px;
}

/* ✅ セクション本体 */
.section-02 {
  background-color: #fef1e6;
  padding: 100px 5% 80px;
	background-image: url("../img/bg.png");
		background-repeat: repeat-y;     /* 縦方向にリピート */
  background-size: 100% auto;     
  background-position: top center; 
}

.section-02 h1 {
  margin-bottom: 40px;
  font-size: 2rem;
  text-align: center;
  color: #603813;
}

/* 左右並びの親 */
.section-02-01 {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

/* 左側：画像＋リスト */
.section-02-left {
  width: 30%;
  text-align: center;
}

.section-02-img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  margin-bottom: 20px;
}

.section-02-list {
  list-style: none;
  padding: 0;
  font-size: 1.2rem;
  text-align: left;
  color: #603813;
  line-height: 2;
  margin: 0 auto;
  max-width: 500px;
}

/* 右側：表 */
.section-02-right {
  width: 30%;
}
.section-02-right h1{
	font-size: 1.5rem;
	margin: 0 0 5px;	
}
.section-02-right span{
	font-size: 1rem;
	
}
.nutrition-table {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 1.1rem;
  color: #603813;
  background-color: #fff;
}

.nutrition-table th,
.nutrition-table td {
  border: 1px solid #ccc;
  padding: 10px 12px;
}

.nutrition-table th {
  background-color: #f9edd5;
  font-weight: bold;
  text-align: center;
}

.nutrition-table td:first-child {
  text-align: center;
}

.nutrition-table td:last-child {
  text-align: right;
}

/* 説明文 */
.section-02-comment {
  margin-top: 40px;
  font-size: 1.2rem;
  color: #603813;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 2;
}

/* スマホ対応 */
@media screen and (max-width: 900px) {
  .section-02-01 {
    flex-direction: column;
    align-items: center;
  }

  .section-02-left,
  .section-02-right {
    width: 90%;
  }

  .section-02-img {
    max-width: 100%;
  }

  .section-02-list {
    max-width: 100%;
  }
}

/*✅給食部・アレルギー対応*/

.section-03{
	display: flex;
	flex-wrap: wrap;
	gap:30px;
	margin: 100px auto;
	width: 80%
}
.section-03_left{
	width: 40%;
}
.section-03_left img{
	width: 90%;
	object-fit: cover;
	height: 100%;
	border-radius: 20px;
}
/* 初期状態（非表示・下にずらす） */
.fade-img {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* 表示トリガー時 */
.fade-img.show {
  opacity: 1;
  transform: translateY(0);
}


.section-03_right{
	width: 50%;
	text-align: left;
}


.section-03_right h1{
	margin-top: 15px;
}
.section-03_right h2{
	font-size: 1.3rem;
}
.section-03_right p{
	font-size: 1.2rem;
	
	line-height: 2rem;
}
/* スマホ対応 */
@media screen and (max-width: 900px) {

.section-03{
	display:block;
	
}
.section-03_left{
	width: 90%;
	margin: 0 auto 30px;
}
.section-03_right{
	width: 80%;
	text-align: left;
	margin: 0 auto;
}
	
	
}
/*✅イベントごはん*/

.section-04 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
  text-align: center;
	background-image: url("../img/lunch-img/bg.png");
}
.section-04-title{
	margin-top: 50px;
	max-width:600px; 
	width: 60%;
}

.section04-slidecontainer {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 400px;
  overflow: hidden;
  margin: 0 auto;
}

/* 横並びスライド全体ラッパー */
.section04-slides-wrapper {
  display: flex;
  width: 100%; /* JSで動的に調整するので最初は100%でOK */
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

/* 各スライドを横幅固定に */
.section04-slide {
  width: 100%;
  flex-shrink: 0;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.section04-slide img {
	
  max-width:600px; 

  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.circle {
  width: 450px;
  height: 350px;

  border-radius: 15%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
	margin-bottom: 0;
}

.circle1 { background-color: #ffcccc; }
.circle2 { background-color: #b2d8ff; }
.circle3 { background-color: #ffffb2; }
.circle4 { background-color: #dbebc4; }

.section-04 p {
	max-width: 700px;
	width: 80%;
  margin-top: 30px;
  font-size: 1.2rem;
  color: #603813;
  line-height: 2;
	text-align: left;
	background-color: #F9D8C8;
	padding: 20px 30px;
	border-radius: 15px;
	margin-bottom: 70px;
}

@media screen and (max-width: 1100px){
	.section04-slide img {

  width: 90%;
 
}
	.circle {
  max-width: 450px;
  max-height: 350px;
width: 70%;	
	height: 70%;
  border-radius: 15%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
	margin-bottom: 0;
}
}