@charset "UTF-8";

/* ====================
commitmentVisual
==================== */
.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){
    .pcBr{
        display: none;
    }
}

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

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

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

    .sab__txt{
        max-width: 350px;
    }
}
/* ====================
commitment
==================== */
.commitment__box{
    position: relative;
    background-color: #ffff;
}

.commitment__box .section__txt{
    margin-top: 50px;
    max-width: 600px;
}

.kabotya{
    width: 100%;
    max-width: 300px;
    height: auto;
    position: absolute;
    right: 3%;
    bottom: 20%;
    transition: transform 0.2s ease-in-out;
    cursor: pointer;
}

.characterK{
    animation: sway 1s infinite ease-in-out alternate;
}

.bounce {
    animation: bounce 1.0s ease;
}

@keyframes sway{
     0%{
        transform: translateX(-15px) rotate(15deg);
     }
    
     100%{
        transform: translateX(15px) rotate(-15deg);
     }
}

@media screen and (max-width: 1200px){
    .kabotya{
        max-width: 250px;
        top: 5%;
    }
}

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

    .commitment__box .section__txt{
        margin-top: 130px;
    }

    .kabotya{
        max-width: 150px;
        right: 42%;
        top: 100px;
        /* top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); */
    }
}

@media screen and (max-width: 500px){
    .kabotya{
        right: 32%;
        bottom: 150px;
        /* top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); */
    }
}

/* ====================
way
==================== */
.mushi{
    display: flex;
    flex-direction: column;
    gap: 80px;
    background-color: rgba(46, 139, 87, 0.10);
}

.way__box1, .way__box2, .way__box3{
    display: flex;
    margin: 0 auto;
    justify-content: center;
}

.way__contents{
    display: flex;
    justify-content: space-evenly;
    gap: 80px;
    align-items: center;
}

.wayImg{
    max-width: 330px;
    height: auto;
    overflow: hidden;
    object-fit: cover;
    border-radius: 50px;
}

.way__title{
    font-size: 3.6rem;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 15px;
}

.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: '';
}

.way__exp{
    max-width: 450px;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 5px;
}

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

.spBr{
    display: none;
}

.imomusi{
    width: 100%;
    max-width: 200px;
    height: auto;
    transition: transform 0.2s ease-in-out;
    cursor: pointer;
}

.kemusi{
    width: 100%;
    max-width: 200px;
    height: auto;
    position: relative;
    cursor: pointer;
}

.characterM{
    bottom: -100px;
    animation: appearDisappear 6s infinite ease-in-out;
}

@keyframes appearDisappear{
     0%{
        bottom: -100px;
        opacity: 0;
     }

     30%{
        bottom: -20px;
        opacity: 1;
     }

     70%{
        bottom: -20px;
        opacity: 1;
     }
    
     100%{
        bottom: -100px;
        opacity: 0;
     }
}

.tentomusi{
    width: 100%;
    max-width: 130px;
    height: auto;
    margin: 130px 60px 0 25px;
    cursor: pointer;
}

.kurukuru{
    opacity: 0;
    transform: scale(0) rotate(0deg);
    animation: spinIn-out 4s infinite ease-out forwards;
}

@keyframes spinIn-out {
    0%{
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }

    50%{
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }

    100%{
        opacity: 1;
        transform: scale(1.8) rotate(360deg);
    }
}

@media screen and (max-width: 950px){
    .mushi{
        padding-bottom: 80px;
    }

    .way__box1, .way__box2, .way__box3{
        margin-top: 30px;
    }

    .way__contents{
        flex-direction: column;
        position: relative;
        gap: 20px;
    }

    .spBr{
        display: block;
    }

    .way__title{
        font-size: 2.6rem;
        text-align: left;
    }
    
    .way__exp{
        max-width: 350px;
        font-size: 2.0rem;
        font-weight: 500;
        text-align: center;
    }
    
    .way__txt{
        max-width: 350px;
        margin-top: 10px;
    }

    .imomusi{
        max-width: 150px;
        position: absolute;
        bottom: -50px;
    }

    .kemusi{
        position: absolute;
        bottom: -100px;
    }

    .tentomusi{
        max-width: 100px;
        position: absolute;
        bottom: -50px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 786px){
    .wayImg{
        width: 250px;
        height: 250px;
        border-radius: 30px;
    }

    .characterM{
        bottom: -100px;
        animation: appearDisappear 6s infinite ease-in-out;
    }

    .tentomusi{
        max-width: 80px;
    }
    
    @keyframes appearDisappear{
         0%{
            bottom: -200px;
            opacity: 0;
         }
    
         30%{
            bottom: -20px;
            opacity: 1;
         }
    
         70%{
            bottom:-20px;
            opacity: 1;
         }
        
         100%{
            bottom: -200px;
            opacity: 0;
         }
    }
}

/* ====================
kotaeawase
==================== */
.kyabetu__kodomo{
    display: flex;
    margin: 0 auto;
    justify-content: center;
    padding: 30px 0;
    gap: 60px;    
}

.kyabetu1{
    width: 100%;
    max-width: 350px;
}

.kodomo1{
    width: 100%;
    max-width: 300px;
}

.naeK__container{
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    padding-bottom: 100px;
    flex-wrap: wrap-reverse;
    text-align: center;
    
}

.naeK__container span{
    font-size: 2.4rem;
    font-weight: 700;
}
    
.nae__img{
    width:100%;
    max-width: 250px;
    height: auto;
    overflow: hidden;
    border-radius: 15%;
    margin-bottom: 15px;
}

.nae__img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ensai__box{
    padding: 20px 10% 50px;
    text-align: right;
    position: relative;
}

.yajirusi{
    width: 300px;
    height: auto;
    position: absolute;
    bottom: 300px;
    left: 200px;
}

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

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

.piman{
    width: 400px;
    height: auto;
    display: flex;
    margin: 0 auto;
}


@media screen and (max-width:1200px){
    .naeK__container{
        width: 80%;
        margin: 330px auto 0;
        gap: 300px 20px;
    } 

    .naeK__container li{
        width: calc(50% - 10%);
    }

    .nae__img{
        max-width: 100%;
    }

    .kotae{
        position: relative;
    }
    
    .kodomo1{
        position: absolute;
        max-width: 280px;
        top: 10px;
        right: 10%;
    }
    
    .kyabetu1{
        position: absolute;
        max-width: 300px;
        top: 780px;
        left: 10%;
    }
}

@media screen and (max-width: 950px){
    .naeK__container{
        gap: 320px 50px;
        padding-bottom: 250px;
    }

    .kodomo1{
        top: 10px;
        right: 10%;
    }
    
    .kyabetu1{
        position: absolute;
        top: 720px;
        left: 10%;
    }

    .yajirusi{
        bottom:420px;
        left: 20%;
        transform: rotate(15deg);
    }
}

@media screen and (max-width:768px){
    .naeK__container{
        padding-bottom: 150px;
    }

    .nae__img{
        max-width: 100%;
    }

    .kyabetu1{
        max-width: 280px;
        height: auto;
        top: 680px;
        left: 10%;
    }

    .kodomo1{
        max-width: 280px;
    }

    .yajirusi{
        width: 200px;
        bottom:260px;
        left: 20%;
        transform: rotate(15deg);
    }

    .ensai{
        max-width: 350px;
        height: 250px;
        border-radius: 30px;
        margin: 0 auto;
    }

    .tomato1{
        width: 330px;
        height: auto;
        left: 10%;
        bottom: -5px;
    }

    .piman{
        width: 300px;
        height: auto;
        margin: 0 auto;
    }
}

@media screen and (max-width:550px){
    .naeK__container{
        margin: 230px auto 0;
        gap: 250px 20px;
    }  

    .naeK__container span{
        font-size: 1.8rem;
        font-weight: 500;
    }

    .kodomo1{
        max-width: 200px;
        top: 20px;
    }

    .kyabetu1{
        width: 230px;
        top: 500px;
    } 

   

    .ensai__box{
        text-align: center;
    }

    .yajirusi{
        bottom:260px;
        left: 10%;
    }

    .tomato1{
        width: 250px;
    }

    .piman{
        width: 230px;
    }
}