@charset "UTF-8";

/* ====================
kyevisual
==================== */
.popup{
    display: none;
}

.main__txt{
    padding: 10px;
    max-width: 500px;
}

.sab__txt{
    max-width: 900px;
    padding: 30px;
    text-align: left;
    background-color: white;
    border-radius: 50px;
    color: #013F1C;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: normal;
}

@media screen and (max-width: 1200px){
    .sab__txt{
        max-width: 550px;
        font-size: 2.6rem;
    }
}

@media screen and (max-width: 768px){
    .mainTxt__box{
        left: 0;
        bottom: 50px;
        padding: 0 10px;
        margin: 0 auto;
        /* align-items: center; */
    }
    .main__txt{
        max-width: 350px;
    }

    .sab__txt{
        max-width: 400px;
        border-radius: 30px;
        font-size: 1.6rem;
        padding: 15px;
    }
}

@media screen and (max-width: 500px){
    .main__txt{
        max-width: 300px;
    }

    .sab__txt{
        max-width: 350px;
    }
}

/* ====================
foodEducation
==================== */
.foodEducation__box{
    position: relative;
    padding: 100px 0 0;
}

.foodEducation__box .section__txt{
    padding: 50px 0;
}

.kyuri{
    width: auto;
    height: 350px;
    position: absolute;
    right: 10%;
    bottom: 20px;
    transition: transform 0.2s ease-in-out;
    cursor: pointer;
}

@media screen and (max-width: 1200px){
    .kyuri{
        right: 3%;
        bottom: 10px;
    }
}

@media screen and (max-width: 950px){
    .foodEducation__box .section__txt{
        padding-top: 400px;
        max-width: 700px;
    }

    .kyuri{
        height: 300px;
        top: 200px;
        left: 45%;
    }
}

@media screen and (max-width: 768px){
    .foodEducation__box{
        padding-top: 50px;
    }

    .foodEducation__box .section__txt{
        padding-top: 280px;
        max-width: 500px;
    }

    .kyuri{
        height: 230px;
        left: 40%;
        top: 110px;
    }
}

@media screen and (max-width: 550px){
    .kyuri{
        left: 36%;
    }

    .foodEducation__box .section__txt{
        max-width: 300px;
    }
}

/* ====================
introduction
==================== */
.introduction__box1{
    max-width: 1440px;
    display: flex;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.class{
    width: 350px;
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-top: 100px;
}

.classImg{
    width:100%;
    max-width: 330px;
    height: 330px;
    overflow: hidden;
    object-fit: cover;
    border-radius: 50px;
}

.class:nth-of-type(2) .classImg{
    object-position: right;
}

.introduction__title{
    margin-top: 15px;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 200%; 
    text-align: center;
}

.introduction__txt{
    margin-top: 15px;
    max-width: 310px;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 170%; /* 27.2px */
    letter-spacing: 0.8px;
    text-align: left;
}

@media screen and (max-width: 786px){
    .class{
        margin-top: 10px;
    }

    .introduction__txt{
        margin-top: 5px;
    }
    
}

@media screen and (max-width: 550px){
    .class{
        margin-top: 30px;
    }

    .classImg{
        max-width: 300px;
        height: 300px;
        border-radius: 30px;
        margin-top: 30px;
    }

    .class:nth-of-type(1) .classImg{
        margin-top: 0;
    }
    
    .introduction__title{
        font-size: 2.0rem;
    }
}

.introduction__box2{
    padding: 150px 10% 100px;
    text-align: right;
    position: relative;
}

.jagaimo1{
    width: 400px;
    height: auto;
    position: absolute;
    left: 10%;
    bottom: 150px;
}

.jugyo{
    width: 100%;
    max-width: 730px;
    height: auto;
    overflow: hidden;
    border-radius: 50px;
}

.jugyo img{
    width: 100%;
    object-fit: contain;
}

@media screen and (max-width: 1200px){
    .jagaimo1{
        left: 0;
        bottom: 20px;
    }
}

@media screen and (max-width: 768px){
    .introduction__box2{
        padding: 200px 10% 30px;
        position: relative;
    }

    .jagaimo1{
        width: 300px;
        top: 0;
        left: 25%;
    }
}

@media screen and (max-width: 550px){
    .introduction__box2{
        padding: 150px 10% 30px;
        position: relative;
    }

    .jagaimo1{
        width: 220px;
        left: 25%;
        top: 20px;
    }
}

/* ====================
connect
==================== */
.connect{
    background: rgba(46, 139, 87, 0.10);
}

.connect__box0{
    position: relative;
}

.piman{
    width: 170px;
    height: auto;
    position: absolute;
    right: 6%;
    bottom: 20%;
    transition: transform 0.2s ease-in-out;
    cursor: pointer;
}

@media screen and (max-width: 1200px){
    .piman{
        right: -5%;
        bottom: 20%;
    }
}

@media screen and (max-width: 950px){
    .connect__box0{
        display: flex;
        flex-direction: column;
    }

    .connect__box0 .section__txt{
        margin-top: 220px;
        max-width: 700px;
    }

    .piman{
        top: 10px;
        left: 40%;
    }
}

@media screen and (max-width: 768px){
    .piman{
        width: 120px;
        left: 38%;
        top: 10px;
    }

    .connect__box0 .section__txt{
        margin-top: 150px;
        max-width: 500px;
    }
}

@media screen and (max-width: 500px){
    .piman{
        left: 33%;
    }

    .connect__box0 .section__txt{
        max-width: 300px;
    }
}

.connect__box{
    display: flex;
    justify-content: space-evenly;
    margin: 80px 0;

}

.connectImg{
    width: 100%;
    max-width: 500px;
    height: 410px;
    overflow: hidden;
    object-fit: cover;
    border-radius: 50px;
    margin-right: 50px;
}

.connect__item{
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
}

.connect__title{
    font-size: 2.4rem;
    font-weight: 700;
    line-height: normal;
}

.custmer__txt{
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 170%; /* 27.2px */
    letter-spacing: 0.8px;
}

.custmer__txt::before{
    content: '・';
    color: #2e8b57;
    font-size: 2.0rem;
}

.kazari{
    position: relative;
    padding: .3em 0 .2em 1em;
    border-bottom: 3px solid #2e8b57;
}

.kazari::before {
    position: absolute;
    top: 0;
    left: .3em;
    transform: rotate(55deg);
    height: 11px;
    width: 12px;
    background: #2e8b57;
    content: '';
}

.kazari::after {
    position: absolute;
    transform: rotate(15deg);
    top: .6em;
    left: 0;
    height: 8px;
    width: 8px;
    background: #2e8b57;
    content: '';
}

@media screen and (max-width: 1200px){
    .connect__box{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 950px){
    .connect__box{
        margin: 10px 0 80px;
    }

    .connectImg{
        width: 100%;
        max-width: 500px;
        height: 300px;
        border-radius: 30px;
        margin-right: 0;
    }

    .connect__title{
        font-size: 2.0rem;
        font-weight: 700;
        line-height: normal;
        text-align: left;
    }
}

@media screen and (max-width: 500px){
    .connect__item{
        max-width: 350px;
        gap: 30px;
        margin-top: 20px;
    }

    .connectImg{
        width: 300px;
        height: 200px;
    }

    .connect__title{
        text-align: center;
        font-size: 1.8rem;
    }

    .custmer__txt{
        max-width: 300px;
        margin: 0 auto;
    }
}

.kyarakuta{
    max-width: 1440px;
    height: 300px;
    display: flex;
    margin: 0 auto;
    justify-content: center;
    position: relative;
}

.ninjin1{
    width: 100%;
    max-width: 320px;
    position: absolute;
    top: -150px;
    right: 5%;
}

.kodomo2{
    width: 100%;
    max-width: 320px;
    position: absolute;
    left: 10%;
}

@media screen and (max-width:1200px){
    .ninjin1{
        top: -100px;
        right: 5%;
    }
}

@media screen and (max-width:900px){
    .kodomo2{
        bottom: -90px;
        left: 10%;
    }
}

@media screen and (max-width:768px){
    .ninjin1{
        width: 100%;
        max-width: 220px;
        bottom: 100px;
        right: 0;
    }
    
    .kodomo2{
        width: 100%;
        max-width: 230px;
        bottom: -20px;
    }
}

@media screen and (max-width:500px){
    .kodomo2{
        bottom: -60px;
    }
}

    /* ====================
global
==================== */

.global__box{
    max-width: 1440px;
    display: flex;
    margin: 0 auto;
    justify-content: center;
    gap: 3%;
}

.global img{
    width:100%;
    max-width: 330px;
    height: 330px;
    overflow: hidden;
    object-fit: cover;
    border-radius: 50px;
}

.global .slider{
    display: none;
}

.global__txt{
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 170%; /* 27.2px */
    letter-spacing: 0.8px;
    max-width: 900px;
    margin: 30px auto;
    text-align: left;
}


@media screen and (max-width:950px){
    .global__box{
        display: none;
    }

    .global .slider{
        margin-top: 130px;
        display: block;
        justify-content: center;
        height: 45vh;
    }

    .global .slider img{
        margin: 0 auto;
        max-width: 500px;
        height: auto;
    }

    .global__txt{
        max-width: 700px;
    }

    .slick-prev:before, .slick-next:before {
        font-family: 'slick';
        font-size: 20px;
        line-height: 1;
        opacity: .75;
        color: #2e8b57;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

@media screen and (max-width:768px){
    .global .slider{
        margin-top: 100px;
        display: block;
        justify-content: center;
        height: 33vh;
    }

    .global .slider img{
        margin: 0 auto;
        max-width: 400px;
        height: 350px;
    }

    .global__txt{
        max-width: 500px;
    }
}

@media screen and (max-width:500px){
    .global__txt{
        padding-top: 20px;
        max-width: 300px;
        margin-bottom: 0;
    }

    .global .slider{
        height: 24vh;
    }

    .global .slider img{
        max-width: 300px;
        height: 230px;
    }
}

@media screen and (max-width:400px){
    .global__txt{
        padding-top: 50px;
        max-width: 300px;
        margin-bottom: 0;
    }

    .global .slider{
        height: 24vh;
    }

    .global .slider img{
        max-width: 280px;
        height: 230px;
        
    }
}