@charset "utf-8";



#main p {
    color: #001e43;
}

#main h3 {
    color: #ED2864;
}

#gNavi ul li:nth-child(3) a,
#gNavi ul li.has-child ul li:first-child a,
#gNavi ul li.has-child ul li:first-child a:hover {
    color: #0068b7;
}

#gNavi ul li.has-child ul li:nth-child(2) a,
#gNavi ul li.has-child ul li:nth-child(3) a {
    color: #774935;
}






#main h1 span::after {
    background: none;
}


/* ====================================================
		Activity - Common Style
==================================================== */
#main .flex {
    position: relative;
}

#main .flex .inBox {
    width: 540px;
}

/* -------------------------------
		Title
------------------------------- */
#main h2 {
    padding-bottom: 50px;
}

#main h3 {
    color: #ED2864;
    font-size: 3rem;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700 normal;
    line-height: 2.2;
    padding-bottom: 50px;
    position: relative;
    left: 130px;
    word-break: break-all;
}

#main h3 span {
    border-bottom: 3px solid #0068b7;
    padding-bottom: 15px;
}

#main h3::before {
    content: 'カリキュラム';
    width: 138px;
    height: 106px;
    background: url("../img/fujinokikodomoen_mark2.webp") no-repeat left top / 139px 106px;
    display: block;
    position: absolute;
    top: -25px;
    left: -170px;
    font-size: 2rem;
    text-align: center;
    padding-top: 35px;
    color: #001e43;
    animation: kakukaku1 4s step-start 0s infinite normal;
}

/* -------------------------------
		Photo
------------------------------- */
#main .flex .photo img {
    border-radius: 40px;
}


/* -------------------------------
		Btn
------------------------------- */
#main .btnColor {
    text-align: right;
    padding: 50px 0 30px;
}


/* -------------------------------
		Text
------------------------------- */
#main article p {
    letter-spacing: 0.15em;
    line-height: 2.5;
}





/* -------------------------------
		#art
------------------------------- */
#art,
#art .flex {
    position: relative;
}

#art .flex::after {
    content: '';
    width: 45%;
    height: 600px;
    background: #fff;
    animation: fluidrotate 30s ease 0s infinite;
    display: block;
    position: absolute;
    top: -200px;
    left: -2%;
    z-index: -2;
}

#art .flex {
    flex-direction: row-reverse;
    position: relative;
    z-index: -1;
}


/* -------------------------------
		Title
------------------------------- */
#art h2 {
    position: relative;
}


#art h2 strong {
    color: #ED2864;
    border-bottom: 4px dotted #0068b7;
}


/* -------------------------------
		Photo
------------------------------- */
#art .flex .photo {
    width: 44%;
    position: relative;
}

#art .flex .photo img {
    border-radius: 40px 0 0 40px;
}

/* -------------------------------
		Text
------------------------------- */
#art section {
    width: 49%;

}

#art section .inBox {
    padding-top: 50px;
    margin-right: 0;
    margin-left: auto;
}


/* -------------------------------
		Animation - Paints
------------------------------- */
#art h2::before,
#art h2::after,
#art .flex::before {
    content: '';
    display: block;
    position: absolute;
}



/* -------------------------------
		#nihongo
------------------------------- */
#nihongo,
#nihongo .flex {
    position: relative;
}

#nihongo .flex {
    flex-direction: row-reverse;
    position: relative;
    z-index: 1;
}



#nihongo h2 {
    position: relative;
}

#nihongo h2 strong {
    color: #ED2864;
    border-bottom: 4px dotted #ED2864;
}

#nihongo h3 {
    color: #ED2864;
}


#nihongo .flex .photo {
    width: 44%;
    position: relative;
}

#nihongo .flex .photo img {
    border-radius: 40px 0 0 40px;
}


#nihongo section {
    width: 49%;
}

#nihongo section .inBox {
    padding-top: 50px;
    margin-right: 0;
    margin-left: auto;
}


/* -------------------------------
		Paints
------------------------------- */
#nihongo .flex::after {
    content: '';
    width: 45%;
    height: 600px;
    background: #fff;
    animation: fluidrotate 30s ease 0s infinite;
    display: block;
    position: absolute;
    top: -200px;
    left: -2%;
    z-index: -2;
}

#nihongo .flex {
    flex-direction: row-reverse;
    position: relative;
    z-index: -1;
}

#nihongo h2::before,
#nihongo h2::after {
    content: '';
    display: block;
    position: absolute;
}


/* -------------------------------
		#asobi
------------------------------- */
#asobi,
#asobi .flex {
    position: relative;
}

#asobi .flex {
    flex-direction: row-reverse;
    position: relative;
    z-index: 1;
}



#asobi h2 {
    position: relative;
}

#asobi h2 strong {
    color: #ED2864;
    border-bottom: 4px dotted #ED2864;
}

#asobi .flex .photo {
    width: 44%;
    position: relative;
}

#asobi .flex .photo img {
    border-radius: 40px 0 0 40px;
}


#asobi section {
    width: 49%;
}

#asobi section .inBox {
    padding-top: 50px;
    margin-right: 0;
    margin-left: auto;
}

/* -------------------------------
		Paints
------------------------------- */
#asobi .flex::after {
    content: '';
    width: 45%;
    height: 600px;
    background: #fff;
    animation: fluidrotate 30s ease 0s infinite;
    display: block;
    position: absolute;
    top: -200px;
    left: -2%;
    z-index: -2;
}

#asobi .flex {
    flex-direction: row-reverse;
    position: relative;
    z-index: -1;
    z-index: -1;
}

#asobi h2::before,
#asobi h2::after {
    content: '';
    display: block;
    position: absolute;
}



/* -------------------------------
		#english
------------------------------- */
#english .flex {
    position: relative;
}

#english .flex::after {
    content: '';
    width: 45%;
    height: 600px;
    background: #fff;
    animation: fluidrotate 30s ease 0s infinite;
    display: block;
    position: absolute;
    top: -180px;
    right: 4%;
    z-index: -1;
}

/* -------------------------------
		Title
------------------------------- */
#english h2 {
    position: relative;
}

#english h2 strong {
    color: #ED2864;
    border-bottom: 4px dotted #0068b7;
}


/* -------------------------------
		Photo
------------------------------- */
#english .photo {
    width: 44%;
    position: relative;
}

#english .flex .photo img {
    border-radius: 0 40px 40px 0;
}

/* -------------------------------
		Text
------------------------------- */
#english section {
    width: 49%;
}

#english p {
    /*padding: 30px 0 70px;*/
}

/* -------------------------------
		Animation - Paints
------------------------------- */
#english h2::before,
#english h2::after {
    content: '';
    display: block;
    position: absolute;
}



/* -------------------------------
		sports
------------------------------- */
#sports .flex {
    position: relative;
}

#sports.flex::after {
    content: '';
    width: 45%;
    height: 600px;
    background: #fff;
    animation: fluidrotate 30s ease 0s infinite;
    display: block;
    position: absolute;
    top: -180px;
    right: 4%;
    z-index: -1;
}

/* -------------------------------
		Title
------------------------------- */
#sports h2 {
    position: relative;
}


#sports h2 strong {
    color: #ED2864;
    border-bottom: 4px dotted #0068b7;
}

/* -------------------------------
		Photo
------------------------------- */
#sports .photo {
    width: 44%;
    position: relative;
}

#sports .flex .photo img {
    border-radius: 0 40px 40px 0;
}

/* -------------------------------
		Text
------------------------------- */
#sports section {
    width: 49%;
}

#sports p {
    /*padding: 30px 0 70px;*/
}

/* -------------------------------
		Animation - Paints
------------------------------- */

#sports .flex {
    position: relative;
}

#sports .flex::after {
    content: '';
    width: 45%;
    height: 600px;
    background: #fff;
    animation: fluidrotate 30s ease 0s infinite;
    display: block;
    position: absolute;
    top: -180px;
    right: 4%;
    z-index: -1;
}

#sports h2::before,
#sports h2::after {
    content: '';
    display: block;
    position: absolute;
}



/* ====================================================
		SHIRO - 5
==================================================== */
/* -------------------------------
		Layout
------------------------------- */
#field-trip {
    position: relative;
}

#field-trip .flex {
    position: relative;
    flex-direction: row-reverse;
    z-index: 1;
}


/* -------------------------------
		Background - Wave
------------------------------- */
canvas#waveShiroTop {
    position: relative;
    left: 0;
    bottom: 0;
    transform: scale(1, -1);
}

/* -------------------------------
		Title
------------------------------- */


#field-trip h2 strong {
    color: #ED2864;
    border-bottom: 4px dotted #0068b7;
}

#field-trip h3 {
    color: #ED2864;
}

#field-trip h3::before {
    background: url("../img/curriculum/kanban.webp") no-repeat left top / 138px 106px;
}

#field-trip h3 span {
    border-bottom: 3px solid #0068b7;
}

/* -------------------------------
		Photo
------------------------------- */
#field-trip .flex .photo {
    width: 44%;
    position: relative;
}

#field-trip .flex .photo img {
    border-radius: 40px 0 0 40px;
}

/* -------------------------------
		Text
------------------------------- */
#field-trip section {
    width: 49%;

}

#field-trip section .inBox {
    margin-right: 0;
    margin-left: auto;
}

#field-trip p {
    /*padding: 16px 0 36px;*/
    letter-spacing: 0.15em;
    line-height: 2.5;
}

/* -------------------------------
		Animation - Paints
------------------------------- */
#field-trip h2::before,
#field-trip h2::after {
    content: '';
    display: block;
    position: absolute;
}





/* ====================================================
		Sub Footer
==================================================== */
#subFooter {
    background: url("../img_common/bg_pattern_tulips-dark.jpg") repeat center top / 29px 20px;
}

/* -------------------------------
		Animation - Paints
------------------------------- */
#subFooter::before,
#subFooter::after {
    content: none;
}







/* =======================================================================================================================

   TABLET

======================================================================================================================= */
@media screen and (min-width: 897px) and (max-width: 1299px) {

    #main .row {
        padding: 0 50px 10px;
    }

    #main::after {
        width: 270px;
        height: 270px;
        background-size: 270px;
        bottom: 50px;
        right: 40px;
    }

    /* ====================================================
      Activity - Common Style
  ==================================================== */
    #main .flex .inBox {
        width: 85%;
    }

    /* -------------------------------
      Title
  ------------------------------- */
    #main h3 {
        width: 60%;
        left: 170px;
    }

    /* ====================================================
		Page Title
  ==================================================== */
    /* -------------------------------
		Animation - Decoration
  ------------------------------- */
    #pageTitleArea::before {
        width: 114px;
        height: 84px;
        background-size: 114px 84px;
        left: 10%;
    }

    #pageTitleArea::after {
        width: 234px;
        height: 183px;
        background-size: 234px 183px;
        top: 90px;
        right: 80px;
    }

    /* -------------------------------
      Animation - Paints
  ------------------------------- */
    #main h1::before {
        width: 140px;
        height: 98px;
        background-size: 140px 98px;
        top: 160px;
        left: -50px;
    }

    #main h1::after {
        width: 206px;
        height: 177px;
        background-size: 206px 177px;
        top: 200px;
        left: 2%;
    }

    #main h1 span::before {
        width: 208px;
        height: 156px;
        background-size: 208px 156px;
        top: 200px;
        right: 30px;
    }






    #art .flex .photo {
        width: 46%;
    }

    #art .flex .photo img {
        border-radius: 40px 0 0 40px;
    }

    /* -------------------------------
		Animation - Paints
  ------------------------------- */
    #art h2::before {
        width: 252px;
        height: 238px;
        background-size: 252px 238px;
        top: 630px;
        right: 10px;
    }

    #art h2::after {
        content: '';
        width: 156px;
        height: 108px;
        background-size: 156px 108px;
        top: 800px;
        right: 0;
    }

    #art .flex::before {
        width: 270px;
        height: 270px;
        background-size: 270px;
        top: 280px;
        left: -90px;
    }

    /* -------------------------------
      Text
  ------------------------------- */
    #art p {
        /*padding: 20px 0 30px;*/
    }



    /* -------------------------------
      #nihongo
  ------------------------------- */

    #nihongo .flex .photo {
        width: 46%;
    }

    #nihongo .flex .photo img {
        border-radius: 40px 0 0 40px;
    }


    #nihongo h2::before {
        width: 252px;
        height: 238px;
        background-size: 252px 238px;
        top: 630px;
        right: 10px;
    }

    #nihongo h2::after {
        content: '';
        width: 156px;
        height: 108px;
        background-size: 156px 108px;
        top: 800px;
        right: 0;
    }

    #nihongo .flex::before {
        width: 270px;
        height: 270px;
        background-size: 270px;
        top: 280px;
        left: -90px;
    }

    #nihongo p {
        /*padding: 20px 0 30px;*/
    }


    /* -------------------------------
      #asobi
  ------------------------------- */

    #asobi .flex .photo {
        width: 46%;
    }

    #asobi .flex .photo img {
        border-radius: 40px 0 0 40px;
    }


    #asobi h2::before {
        width: 252px;
        height: 238px;
        background-size: 252px 238px;
        top: 630px;
        right: 10px;
    }

    #asobi h2::after {
        content: '';
        width: 156px;
        height: 108px;
        background-size: 156px 108px;
        top: 800px;
        right: 0;
    }

    #asobi .flex::before {
        width: 270px;
        height: 270px;
        background-size: 270px;
        top: 280px;
        left: -90px;
    }

    #asobi p {
        /*padding: 20px 0 30px;*/
    }


    /* -------------------------------
      englosh
  ------------------------------- */
    #english .flex .photo {
        width: 46%;
    }

    #english .flex .photo img {
        border-radius: 0 40px 40px 0;
    }

    /* -------------------------------
		Animation - Paints
  ------------------------------- */
    #english h2::before {
        width: 356px;
        height: 246px;
        background-size: 356px 246px;
        top: 610px;
        left: -120px;
    }

    #english h2::after {
        width: 270px;
        height: 270px;
        background-size: 270px 270px;
        top: 100px;
        right: -80px;
    }



    /* -------------------------------
      sports
  ------------------------------- */
    #sports .flex .photo {
        width: 46%;
    }

    #sports .flex .photo img {
        border-radius: 0 40px 40px 0;
    }

    #sports h2::before {
        width: 356px;
        height: 246px;
        background-size: 356px 246px;
        top: 610px;
        left: -120px;
    }

    #sports h2::after {
        width: 270px;
        height: 270px;
        background-size: 270px 270px;
        top: 100px;
        right: -80px;
    }





    #field-trip .flex .photo {
        width: 46%;
    }

    #field-trip .flex .photo img {
        border-radius: 40px 0 0 40px;
    }

    /* -------------------------------
		Animation - Paints
  ------------------------------- */
    #field-trip h2::before {
        width: 144px;
        height: 136px;
        background-size: 144px 136px;
        top: 700px;
        right: 430px;
    }

    #field-trip h2::after {
        width: 346px;
        height: 236px;
        background-size: 346px 236px;
        top: 160px;
        right: -200px;
    }






}


/* =======================================================================================================================

   MOBILE

======================================================================================================================= */
@media screen and (max-width: 896px) {


    #main::after {
        content: none;
    }



    /* -------------------------------
      Animation - Decoration
  ------------------------------- */
    #pageTitleArea::before {
        width: 68px;
        height: 50px;
        background-size: 68px 50px;
        left: 20px;
        top: 100px;
    }

    #pageTitleArea::after {
        width: 138px;
        height: 108px;
        background-size: 138px 108px;
        top: 50px;
        right: 10px;
    }

    /* -------------------------------
      Animation - Paints
  ------------------------------- */
    #main h1::before {
        width: 90px;
        height: 62px;
        background-size: 90px 62px;
        top: 80px;
        left: -30px;
    }

    #main h1::after {
        width: 135px;
        height: 116px;
        background-size: 135px 116px;
        top: 120px;
        left: -60px;
    }

    #main h1 span::before {
        width: 136px;
        height: 102px;
        background-size: 136px 102px;
        right: -30px;
        top: 130px;
    }



    #main .row {
        padding-bottom: 0;
    }

    #main .flex {
        position: relative;
    }

    #main .flex .inBox {
        width: 100%;
    }

    #main section {
        position: relative;

    }

    #main section section {
        position: static;
    }

    #art,
    #english,
    #sports,
    #nihongo,
    #asobi,
    #shiro,
    #shiro2,
    #shiro3 {
        padding: 0 5%;
    }

    /* -------------------------------
      Title
  ------------------------------- */
    #main h2 {
        padding-bottom: 25px;
    }

    #main h3 {
        font-size: 2.2rem;
        line-height: 2.2;
        padding-bottom: 20px;
        left: -10px;
    }

    #main h3 span {
        padding-bottom: 10px;
        top: -10px;
        position: relative;
        left: 10px;
    }

    #main h3::before {
        content: 'カリキュラム';
        width: 100px;
        height: 77px;
        background-size: 100px 77px;
        position: static;
        font-size: 1.6rem;
        padding-top: 20px;
    }

    /* -------------------------------
      Text
  ------------------------------- */
    #main article p {
        letter-spacing: 0.01em;
        line-height: 2;
    }

    /* -------------------------------
      Photo
  ------------------------------- */
    #main .flex .photo img {
        border-radius: 20px;
    }

    /* -------------------------------
		Btn
  ------------------------------- */
    #main .btnColor {
        text-align: center;
        padding: 30px 0 0;
    }




    #art .flex {
        display: block;
    }

    #art .flex::after {
        width: 100%;
        height: 400px;
        top: 200px;
    }

    /* -------------------------------
      Photo
  ------------------------------- */
    #art .flex .photo {
        width: 100%;
        position: static;
        right: 0;
    }

    /* -------------------------------
      Text
  ------------------------------- */
    #art section {
        width: 100%;
        min-height: auto;
        top: -60px;
        margin-bottom: -60px;
        /* ★これを追加 */
    }

    #art section p {
        margin: 50px auto 30px;
    }



    /* -------------------------------
      #nihongo
  ------------------------------- */
    #nihongo .flex {
        display: block;
    }

    #nihongo .flex::after {
        width: 100%;
        height: 400px;
        top: 200px;
    }

    #nihongo .flex .photo {
        width: 100%;
        position: static;
        right: 0;
    }

    #nihongo section {
        width: 100%;
        min-height: auto;
        top: -60px;
        margin-bottom: -60px;
        /* ★これを追加 */
    }

    #nihongo p,
    #asobi section p {
        margin: 50px auto 30px;
    }



    /* -------------------------------
      #asobi
  ------------------------------- */
    #asobi .flex {
        display: block;
    }

    #asobi .flex::after {
        width: 100%;
        height: 400px;
        top: 200px;
    }

    #asobi .flex .photo {
        width: 100%;
        position: static;
        right: 0;
    }

    #asobi section {
        width: 100%;
        min-height: auto;
        top: -60px;
        margin-bottom: -60px;
        /* ★これを追加 */
    }



    /* -------------------------------
      #english
  ------------------------------- */

    #english .flex::after {
        width: 100%;
        height: 400px;
        top: 200px;
    }

    #english .photo {
        width: 100%;
        position: static;
        right: 0;
    }

    /* -------------------------------
      Text
  ------------------------------- */
    #english section {
        width: 100%;
        min-height: auto;
        /*top: -80px;
        margin-bottom: -80px;
        */
    }

    #english section p {
        margin: 50px auto 30px;
    }

    /* -------------------------------
      sports
  ------------------------------- */

    #sports .flex::after {
        width: 100%;
        height: 400px;
        top: 200px;
    }

    #sports .photo {
        width: 100%;
        position: static;
        right: 0;
    }

    /* -------------------------------
      Text
  ------------------------------- */
    #sports section {
        width: 100%;
        min-height: auto;
        top: -80px;
        margin-bottom: -80px;
        /* ★これを追加 */
    }

    #sports section p {
        margin: 50px auto 30px;
    }


    /* -------------------------------
      Layout
  ------------------------------- */
    #field-trip .row::after {
        width: 100%;
        height: 400px;
        top: 450px;
    }

    /* -------------------------------
      Photo
  ------------------------------- */
    #field-trip .flex .photo {
        width: 100%;
        position: static;
        right: 0;
    }

    /* -------------------------------
      Text
  ------------------------------- */
    #field-trip section {
        width: 100%;
        min-height: auto;
        top: -60px;
    }

    #field-trip section p {}

    /* -------------------------------
		Animation - Paints
  ------------------------------- */
    #field-trip h2::before {
        width: 72px;
        height: 68px;
        background-size: 72px 68px;
        top: 750px;
        right: 1%;
    }

    #field-trip h2::after {
        width: 203px;
        height: 138px;
        background-size: 203px 138px;
        top: 400px;
        right: -50px;
    }





    /* ====================================================
      Sub Footer
  ==================================================== */
    /* -------------------------------
      Animation - Paints
  ------------------------------- */
    #subFooter::before {
        width: 150px;
        height: 201px;
        background-size: 150px 201px;
        bottom: 700px;
        right: -20px;
    }

    #subFooter::after {
        bottom: 650px;
        right: 10px;
    }




}




/* =========================================
   春のあそび（ラフに忠実なレイアウト）
========================================= */

#spring-play {
    margin-top: 80px;
}

/* 大きなカド丸ピンク枠 */
.spring-frame {
    position: relative;
    max-width: 960px;
    margin: 0 auto 80px;
    padding: 70px 80px 60px;       /* 上に余白を多めに */
    border: 3px solid #0068b7;    /* ラフのピンク線 */
    border-radius: 50px;
    background-color: inherit;    /* 背景はページと同じ色 */
}

/* 左上の「春」：枠の外に出す */
/* 左上の「春」：後ろに背景を敷いて枠線を“切る” */
.spring-title {
    position: absolute;
    top: -55px;          /* 好きな位置に微調整してOK */
    left: 70px;
    margin: 0;
    font-size: 4rem;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    line-height: 1;
  
    padding: 80px 100px;   /* 上下8px・右40pxくらい余白を持たせる */
    background-color: #FFEFEF; /* ページのピンク背景と同じ色にする */

    z-index: 1;                /* 枠線より前面に出す */
}

#spring-play h2.spring-title {
    color: #ED2864;
}



/* 中身：左右２カラム */
.spring-row {
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

/* 各ブロック */
.spring-item {
    flex: 1 1 0;
}

/* 上の説明テキスト（ラフの小さめ文字） */
.spring-text {
    font-size: 1.5rem;
    line-height: 2;
    letter-spacing: 0.08em;
    margin: 0 0 20px;
}

/* 写真（黒い四角っぽく） */
.spring-photo {
    margin: 0;
}

.spring-photo img {
    display: block;
    width: 100%;
    height: auto;
           /* 黒い枠を太めに */
    border-radius: 0;
}
/* 春のあそび SP レイアウト */
@media screen and (max-width: 896px) {

    #spring-play {
        margin-top: 40px;
    }

    .spring-frame {
        padding: 60px 20px 32px;
        border-radius: 50px;
        margin: 0 16px 60px;
    }

    .spring-title {
        top: -42px;
        left: 20px;
        font-size: 3.2rem;
    }

    .spring-row {
        flex-direction: column;
        gap: 32px;
    }

    .spring-text {
        font-size: 1.5rem;
    }
}
