/* ------------------------------------
#about_box
------------------------------------ */

#about_box ul li a .btn{
    margin-top: 10px;
    background-color: #000;
    display: inline-block;
    padding: 2px 10px 2px 10px;
    color: #fff;
    font-size: 12px !important;
    border-radius: 20px;
}

#about_box ul li a:hover .btn{
    opacity: 0.5;
}

#about_box ul li a .btn i{
    margin-right: 10px;
}

@media only screen and (min-width:768px) {
    body.en #mainv h1 img {
        max-width: 60vw;
    }

    #about_box{
        padding-top: 30px;
    }

    #about_box ul{
        display: flex;
        width: 1000px;
        flex-wrap: wrap;
        justify-content: center;
    }

    #about_box ul li{
        text-align: center;
    }

    #about_box ul li a{
        margin-right: 20px;
        margin-bottom: 40px;
        display: block;
    }

    #about_box ul li:nth-child(4n) a{
        margin-right: 0px;
    }

    #about_box ul li .left{
        width: 140px; min-height:160px;
        margin: 0 auto 0 auto;
    }

    #about_box ul li .left img{
        height: 140px;
        width: 140px;
        margin-bottom:0px;
        object-fit: contain;
    }

    #about_box ul li .right{
        width: 235px;
        height:7.8em;
        padding-bottom:30px;
    }

    #about_box ul li .right .title{
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 5px;
        line-height: 1.1;
        display: inline-block;
    }

    #about_box ul li .right .text{
        display:block;
        font-size: 15px;
        line-height: 1.3em;
        text-align:center;
    }

    #about_box ul li .right .btn{
        position:absolute;
        bottom:0; left:0; right:0;
        margin:0 auto;
        line-height:1.5;
        width:10em;
        display:inline-block;
    }
}

#about_box ul li a img{
    transition: transform .4s ease;
}

#about_box ul li a:hover img{
    transform: scale(1.2);
}

@media only screen and (max-width:767px) {
    #about_box{
        padding: 30px 0 30px 0;
    }

    #about_box ul{
        display: flex;
        flex-wrap: wrap;
    }

    #about_box ul{
        width: 100%;
    }

    #about_box ul li{
        width: 47.5%;
        margin-right: 5%;
        margin-bottom: 10%;
    }

    #about_box ul li:nth-child(2n){
        margin-right: 0px;
    }

    #about_box ul li .left{
        margin: 0 auto 20px auto;
    }
    #about_box ul li .left img{
        height: 90px;
        width: 90px;
        object-fit: contain;
    }

    #about_box ul li .right .title{
        font-weight: 700;
        margin-bottom: 1.2vw;
        font-size: 17px;
        display: inline-block;
        text-align: left;
    }

    #about_box ul li .right{
        text-align: center;
        max-width: 220px;
        margin: 0 auto 0 auto;
    }

    #about_box ul li .right .text{
        font-size: 14px;
        line-height: 1.3em;
        text-align: left;
        display: inline-block;
    }

    #about_box ul li .right .text br{
        display: none;
    }
}

#about_box ul li a{
    color: #333;
    text-decoration: none;
}


@media only screen and (max-width:767px) and (min-width:520px){
    #about_box ul{
        width: 520px;
        margin: 0 auto 0 auto;
    }
}


#about_box ul li .left img{
    width: 100%;
}

@media only screen and (min-width:768px) {
    #about_article {
        margin-top: 50px;
    }
}
@media only screen and (max-width:767px) {
    #about_article {
        padding-bottom:70px;
    }
}

#about_article .about_label{
        margin-top: 0px;
        background-color: #3cb7e6;
        display: inline-block;
        padding: 2px 10px 2px 10px;
        color: #fff;
        font-size: 12px !important;
        border-radius: 20px;
        margin-bottom: 10px;
}

#about_article h2.title{
    font-weight: bold;
    font-size: 30px;
    color: #889fd0;
    margin-bottom: 30px;
    line-height: 1.2em;
}

@media only screen and (max-width:767px) {
    #about_article h2.title{
        font-size: 22px;
    }
}

#about_article .about_article_box{
    padding-top:35px;
    padding-bottom:50px;/* margin-bottom: 100px; */
}
@media only screen and (max-width:767px) {
    #about_article .about_article_box{
        padding-top:95px; /* 調整したい高さ（固定ヘッダーの高さ） */
        padding-bottom:0;
        /*margin-top: -85px; /* heightと同じ分のネガティブマージン */
    }
}

@media only screen and (min-width:768px) {
    #about_article .about_article_box .about_article_box_inner{
        display: flex;
        flex-direction : row-reverse;
    }

    #about_article .about_article_box .about_article_box_inner .left{
        width: 200px;
        margin-left: 40px;
    }

    #about_article .about_article_box .about_article_box_inner .right{
        -webkit-flex: 1;
        flex: 1;
    }
}

@media only screen and (max-width:767px) {
    #about_article .about_article_box .about_article_box_inner .left{
        width: 150px;
        margin: 0 auto 20px auto;
    }
}

#about_article .about_article_box .about_article_box_inner .left img{
    width: 100%;
}
