@charset "utf-8";
/* リセットCSS */
html{
    font-size: 16px;
}
body{
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}
hr {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.main{
    position: relative;
    font-family: "M PLUS 1", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 2.0;
      border-top: 1px solid #bcbcbc;
}

/* main */
.spacing-box{
    height: 50px;
}
.kyoiku-top{
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

h1 {
  font-size: 2rem;
  font-weight: 400;
  color: #fa6c74;
  margin-bottom: 20px;
  font-family: "Mochiy Pop P One", sans-serif;
}

h2 {
  font-size: 1.7rem;
  font-weight: 400;
  color: #fa6c74;
  margin-bottom: 20px;
  font-family: "Mochiy Pop P One", sans-serif;
  letter-spacing: 0.4em;
}

p {
    font-weight: bold;
}

p.contact_title {
    font-weight: normal;
}

/* 使わない波線スタイル */
.waveline {
  width: 100%;
  height: 80px; /* 波の高さ分は必要 */
  background-image: url("../img/waveline-white.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  /* background-color: hotpink; */
  /* outline: 1px solid red; */
  position: relative;
  z-index: 10;
}
.waveline2 {
  width: 100%;
  height: 80px; /* 波の高さ分は必要 */
  background-image: url("../img/waveline.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  /* background-color: hotpink; */
  /* outline: 1px solid red; */
  position: relative;
  z-index: 10;
}
.namiline{
    max-width: 100%;
    height: auto;
    display: block;
}
/* 使わない波線スタイル　ここまで */


/* 波線（indexと同じ）スタイル */
.custom-shape-divider-bottom-1758701570 {
    position: absolute;
    top: -75px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 99;
}

.custom-shape-divider-bottom-1759886586 {
    position: absolute;
    bottom: -44px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    /* transform: rotate(180deg); */
    z-index: 99;
}

.custom-shape-divider-bottom-1758701570 svg {
    position: relative;
    display: block;
    width: calc(111% + 1.3px);
    height: 76px;
}

.custom-shape-divider-bottom-1759886586 svg {
    position: relative;
    display: block;
    width: calc(111% + 1.3px);
    height: 45px;
}

.custom-shape-divider-bottom-1758701570 .shape-fill,
.custom-shape-divider-bottom-1759886586 .shape-fill {
    fill: #FFF2BB;
}
/* 波線スタイル　ここまで */


/* めばえの歴史 波線＋黄色背景スタイル */
.rekishi-back {
    background-color: #fff2bb;
    position: relative;
}

.shape-divider-top-rekishi {
    position: absolute;
    top: -75px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 99;
}

.shape-divider-top-rekishi svg {
    position: relative;
    display: block;
    width: calc(111% + 1.3px);
    height: 76px;
}

.shape-divider-top-rekishi .shape-fill {
    fill: #FFF2BB;
}
/* めばえの歴史 波線スタイル　ここまで */




/* sec01一人ひとりを大切に */
.kyo01-back{
    background-color: #fff2bb;
}
.kyoiku-sec01{
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 50px;
    text-align: center;
    width: 100%;
}
.kyo-sec01{
    margin: 50px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.kyo-sec01-p{
    width: 45%;
    text-align: left;
}
.kyo-sec01-p p{
    font-size: 1.2rem;
}
.kyo-sec01-img {
    width: 50%;
}
.kyo-sec01-img img{
    width: 100%;
    height: auto;
    max-width: 450px;
    /* border-radius: 8px; */
    object-fit: cover;
}

/* sec02フィンランドとのつながり */
.kyoiku-sec02{
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 60px;
    text-align: center;
    width: 100%;
}
.kyo-sec02{
    margin: 50px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-direction: row-reverse;
}
.kyo-sec02-p{
    width: 50%;
    text-align: left;
}
.kyo-sec02-p p{
    font-size: 1.2rem;
}
.kyo-sec02-img {
    width: 50%;
}
.kyo-sec02-img img{
    width: 100%;
    height: auto;
    max-width: 600px;
    /* border-radius: 8px; */
    object-fit: contain;
}

/* sec03やさしさをはぐくむ */
/* sec01と同じ */
.kyo03-back{
    background-color: #fff2bb;
}
/* .kyoiku-sec01{
    margin: 0 auto;
    max-width: 800px; →sec01で変更
    text-align: center;
    width: 100%;
} */
/* .kyo-sec01{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
} */

.kyo-sec03-p{
    width: 52%;
    text-align: left;
}
.kyo-sec03-p p{
    font-size: 1.2rem;
}
.kyo-sec03-img {
    width: 47%;
}
.kyo-sec03-img img{
    width: 100%;
    height: auto;
    max-width: 600px;
    /* border-radius: 8px; */
}

/* めばえの歴史 */
.rekishi {
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
    width: 100%;
}
.rekishi01{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-direction: row-reverse;
    margin: 0 30px;
}
.rekishi01-p{
    width: 75%;
    text-align: left;

    /* background-color: rgba(255,255,255,0.85); */
    padding: 35px;
    border-radius: 40px;
    backdrop-filter: blur(3px);
}
.rekishi01-p p{
    font-size: 1.2rem;
    line-height: 2.2;
}
.rekishi01-p strong{
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
}
.rekishi01-img img{
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 8px;
}
.rekishi01-img .webp{
    width: 60%;
    /* margin-top: 50px; */
    height: auto;
    max-width: 500px;
    border-radius: 8px;

    opacity: 0.75;
}
.sp-webp {
    display: none;
}

/* めばえ食堂 */
.shokudou {
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
    width: 100%;
}
.shokudou01 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-direction: row-reverse;
    padding: 0 40px;
    margin: 90px 0;
}
.shokudou01-p {
    width: 51%;
    text-align: left;
}
.shokudou01-p p {
    font-size: 1.2rem;
    line-height: 2.2;
}
.shokudou01-p strong {
    color: #fa6c74;
    font-style: italic;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
}
.shokudou01-img img {
    width: 90%;
    height: auto;
    max-width: 500px;
    border-radius: 8px;
}
.shokudou01-img .webp {
    width: 70%;
    margin-top: 50px;
    height: auto;
    max-width: 400px;
    border-radius: 8px;
}
.sp-shokudou-webp {
    display: none;
}
/* めばえ食堂 画像ボックス */
.shokudou01-img-box {
    display: block;
    /* grid-template-columns: 1fr 1fr;
    gap: 16px; */
    max-width: 700px;
    margin: 0 auto;
    padding: 0 16px;
}
.shokudou01-img-box div {
  display: flex;
  align-items: center;
  aspect-ratio: 4/3; 
}
.shokudou01-img-box div img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* slick動作に必要な最低限スタイル */
.shokudou01-img-box.slick-initialized .slick-list {
    overflow: hidden;
}
.shokudou01-img-box .slick-track {
    display: flex;
}
.shokudou01-img-box .slick-slide {
    padding: 0 4px;
}
.shokudou01-img-box .slick-slide img {
    width: 100%;
    height: 100%;
    /* object-fit: contain; */
    border-radius: 8px;
    /* aspect-ratio: 4/3; */
}
.shokudou01-img-box .slick-slide img.shokudou01-img-4 {
    object-fit: contain;
    width: 100%;
    height: auto;
}
/* ドットナビ */
.shokudou01-img-box .slick-dots {
    list-style: none;
    display: flex !important;
    justify-content: center;
    padding: 0;
    margin: 0;
    gap: 8px;
}
.shokudou01-img-box .slick-dots li button {
    font-size: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    padding: 0;
    cursor: pointer;
}
.shokudou01-img-box .slick-dots li.slick-active button {
    background: #fa6c74;
}
/* 矢印非表示（ドットのみ） */
.shokudou01-img-box .slick-arrow {
    display: none !important;
}
/* 追加スタイル */
/* スライダー全体の高さを固定 */



/* めばえ食堂 ここまで */

.res-br{
  display: none;
}


@media screen and (max-width:52em){
/* 波線スタイルsp */
  .custom-shape-divider-bottom-1758701570 {
   top: -59px;
}
.custom-shape-divider-bottom-1758701570 svg {
    width: calc(145% + 1.3px);
    height: 60px;
}

/* めばえの歴史 波線スタイルsp */
.shape-divider-top-rekishi {
    top: -59px;
}
.shape-divider-top-rekishi svg {
    width: calc(145% + 1.3px);
    height: 60px;
}

/* main */
.res-br{
  display: block;
}
h2 {
    font-size: 1.4rem;
 }

/* section01 */
.kyoiku-sec01 {
    padding: 0px 30px;
}
.kyo-sec01{
    flex-direction: column;
}
.kyo-sec01-p {
    width: 100%;
    text-align: center;
}
.kyo-sec01-p p{
    font-size: 1.0rem;
}
.kyo-sec01-img {
    width: 100%;
}

.kyo-sec02{
    flex-direction: column;
}
.kyoiku-sec02 {
    padding: 0px 20px;
}
.kyo-sec02-p {
    width: 100%;
    text-align: center;
}
.kyo-sec02-p p{
    font-size: 1.0rem;
}
.kyo-sec02-img {
    width: 100%;
}

.kyo-sec03-p {
    width: 100%;
    text-align: center;
}
.kyo-sec03-p p{
    font-size: 1.0rem;
}
.kyo-sec03-img {
    width: 100%;
}

/* めばえの歴史 */
.rekishi01 {
    flex-direction: column-reverse;
}
.rekishi01-p {
    width: 100%;
    text-align: center;
    padding:30px 10px;
}
.rekishi01-p p{
    font-size: 1.0rem;
}
.rekishi01-p strong{
    font-size: 1.0rem;
}

.rekishi01-img .webp{
    display: none;
}
.sp-webp {
    display: block;
}
.sp-webp img{
    width: 60%;
    margin-top: 50px;
    height: auto;
    max-width: 250px;
    border-radius: 8px;

    opacity: 0.75;
}

/* めばえ食堂 SP */
.shokudou01 {
    flex-direction: column-reverse;
}
.shokudou01-p {
    width: 100%;
    margin:20px 0;
    text-align: center;
}
.shokudou01-p p{
    font-size: 1.0rem;
}

.shokudou01-img .webp {
    display: none;
}
.sp-shokudou-webp {
    display: block;
}
.sp-shokudou-webp img {
    width: 70%;
    margin-top: 50px;
    height: auto;
    max-width: 250px;
    border-radius: 8px;
}
/* めばえ食堂 画像ボックス SP */
.shokudou01-img-box {
    display: block;
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    padding: 0;
}

/* めばえ食堂 SP ここまで */

}