@charset "utf-8";
/* =====================
article__header
===================== */
.article__header{
    margin-top: 40px;
    position: relative;
    background-color:var(--primary-pink);
    color: var(--primary-white);
    padding: 40px;
}
/* stamp 帯　ここから */
.article__header::before,
.article__header::after{
    content: "";
    width: 100%;
    height: 30px;/* 直径 */
    background-image: radial-gradient(circle, #FFFDF6 10px, transparent 10px);
    background-size: 32px 30px;/* 左：距離　右：直径 */
    display: block;
    position: absolute;
}
.article__header::before{
    top: -15px;/* 半径 */
    left: 0;
}
.article__header::after{
    bottom: -15px;/* 半径 */
    left: 0;
}
/* stamp 帯　ここまで */
.article__header__container{
    max-width: 1200px;
    margin: 0 auto;
    padding:40px
}
.sub-title{
    font-size: 1.6rem;
}
.title{
    font-size: 3.0rem;
    font-weight: 700;
}
.title__discription{
    width:590px;
    display: block;
    margin: 0 auto;
    margin-top: 20px;
    position: relative;
}
.title__discription::after{
    position: absolute;
    bottom:0px;
    right:-200px;
    display: block;
    content: "";
    width: 228px;
    height: 200px;
    background-image: url(../image/top_sdgs.png);
    background-size: contain;
    background-repeat: no-repeat;
    overflow: hidden;
    object-fit: contain;
}
@media screen and (max-width: 960px) {
    .article__header__container{
        max-width: 1200px;
        margin: 0 auto;
        padding:40px
    }
    .article__header{
        padding: 20px;
    } 
    .sub-title{
        font-size: 1.4rem;
    }
    .title{
        font-size: 2.0rem;
        font-weight: 700;
    }
    .title__discription{
        width:590px;
        display: block;
        margin: 0 auto;
        margin-top: 20px;
    }
    .title__discription::after{
        width:171px;
        height:150px;  
        right:-80px
        }

}
@media screen and (max-width: 767px) {
    .article__header__container{
        max-width: 350px;
        display: block;
        margin: 0 auto;
        padding: 20px;
    }
    /* 帯SP */
    .article__header::before,
    .article__header::after{
        content: "";
        width: 100%;
        height: 26px;/* 直径 */
        background-image: radial-gradient(circle, #FFFDF6 10px, transparent 10px);
        background-size: 32px 26px;/* 左：距離　右：直径 */
        display: block;
        position: absolute;
    }
    .article__header::before{
        top: -13px;/* 半径 */
    }
    .article__header::after{
        bottom: -13px;/* 半径 */
    }
    /* 帯SP */  
    .title__discription{
        margin-top: 150px;
        max-width: 300px;
    }
    .title__discription::after{
        display: none;
    }
    .title{
        position: relative;
    }
    .title::after{
    position: absolute;
    top:0px;
    left:150px;
    display: block;
    content: "";
    width: 171px;
    height: 150px;
    background-image: url(../image/top_sdgs.png);
    background-size: contain;
    background-repeat: no-repeat;
    overflow: hidden;
    object-fit: contain;
}
}
/* =====================
main
===================== */
.section--sdgs{
    max-width: 85.7%;
    margin: 0 auto;
}
.sdgs__container{
    display: flex;
    margin-top: 40px;
}
.sdgs__container.about,.sdgs__container.DearBugs{
    flex-direction: row-reverse;
}
.sdgsImg{
    flex-basis: 50%;
    text-align: center;
}
.sdgsImg img{
    max-width: 450px;
}
.sdgs__txt{
    flex-basis: 50%;
    line-height: 2.0em;
    position: relative;
}
.sdgs--ex{
    margin-top: 0px;
}
.sdgs-school__container{
    display: flex;
    justify-content: space-between;
}
.sdgs__txt__block{
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 40px;
    line-height: 2.0em;
}
.sdgs-school__box{
    border:3px solid #E698A3;
    border-radius: 30px;
    padding: 40px;
    background-color: #FFF;
    width:1000px;
    margin: 0 auto;
    margin-top: 40px;
}
.sdgs-name{
    font-size: 2.4rem;
    color: #E698A3;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}
.bee{
    display: flex;
    flex-direction: column;
    align-items: end;
    margin-top: -50px;
}
.bee__quote{
    width:280px

}
.beeImg{
    width:80px
}
.sdgs--taiwa__img{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;

}
.grass{
    width:80px;
}
.taiwa{
    width:200px;
}

.sdgs-school__img img{
    max-width: 365px;
}
.sdgs-school__txt{
    width: 500px;
    line-height: 2.0em;
}
.sdgs-school__txt a{
    border-bottom:2px dotted #666;
}
.sdgs-school__txt a:hover{
    color: #E698A3;
    font-weight: 700;
}
@media screen and (max-width: 960px) {
    .section--sdgs{
        max-width: 700px;
    }
    .sdgs-school__box{
        width:700px;
    }
    .sdgs-school__container{
        flex-direction: column;
        align-items: center;
    }
    .sdgs-name{
        font-size: 2.0rem;
    }
    .bee{
        margin-top: 20px;
    }
    .sdgs-school__txt{
        margin-top: 20px;
    }
}

@media screen and (max-width: 767px) {
    .section--sdgs{
        max-width: 350px;
    }
    .sdgs__container{
        flex-direction: column;
        align-items: center;
    }
    .sdgsImg img{
        max-width: 300px;
    }
    .sdgs__container.about,.sdgs__container.DearBugs{
        flex-direction: column;
    }
    .sdgs__txt{
        margin-top: 40px;
    }
    .quoteImg{
        width:80px
    }
    .sdgs-school__box{
        width:350px;
    }
    .sdgs-school__img img{
        max-width: 300px;
    }
    .sdgs-school__txt{
        width: 300px;
    }
}
/* quote  右端*/
.quote{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width:300px;
    margin: 0 auto 0 0;
}
.quote__symbol{
    width: 100px;
    margin-top: 10px;
    margin-right: 0px;
    transform: rotate(10deg);
}
.quote__txt{
    width:250px;
    margin-top: 0px;
}

.quoteImg.beetle{
    width:100px;
    transform: rotate(30deg);
    margin-top: -10px;   
}
.count2{
    animation-iteration-count:3;/*この数字を必要回数分に変更*/
}
@media screen and (max-width: 960px) {
    .quote{
        margin-top: 20px;
    }
}