@charset "utf-8";
/* CSS Document */

/*グリッド*/

@media screen and (min-width:481px) {
    #license .parent {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, auto);
        grid-column-gap: 70px;
    }
    #license .div1 {
        grid-area: 1 / 1 / 3 / 2;
    }
    #license .div2 {
        grid-area: 1 / 2 / 2 / 3;
    }
    #license .div3 {
        grid-area: 2 / 2 / 3 / 3;
    }
    #license .div4 {
        grid-area: 3 / 1 / 4 / 2;
    }
    #license .div5 {
        grid-area: 3 / 2 / 4 / 3;
    }
    #license .div6 {
        grid-area: 4 / 1 / 5 / 2;
    }
    #license .div7 {
        grid-area: 4 / 2 / 5 / 3;
    }
}

/*ライセンス解説*/

#license .content_wrap_inner {
    max-width: 1000px;
    padding: 0 1.6rem;
    margin: 0 auto;
}

#license .content_wrap_inner h1 {
    width: 190px;
    margin: 8rem auto;
}

#license .license_item {
    position: relative;
    padding: 4rem 2.4rem;
}

#license .license_item::before {
    content: url(../img/border_465px.svg);
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
}

#license .license_item.div6::after, #license .license_item.div7::after {
    content: url(../img/border_465px.svg);
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 0;
    left: 0;
}

#license .license_item h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 2rem;
    line-height: 1.5;
    margin-bottom: 3rem;
    min-height: 7.6rem;
}

#license .license_item h3 span.icon_only {
    display: block;
    width: 5rem;
}

#license .license_item p {
    font-size: 1.6rem;
    line-height: 1.75;
    letter-spacing: 0.05em;
}

#license .license_item div.logo_sbs {
    width: 60%;
    margin: 2rem auto 4rem;
}

@media screen and (max-width:480px) {
    #license .content_wrap_inner {
        margin-bottom: 10rem;
    }
    #license .content_wrap_inner h1 {
        width: 40%;
        margin: 4rem auto;
    }
    #license .license_item {
        position: relative;
        padding: 3rem 1rem;
    }
    #license .license_item.div6::after {
        display: none;
    }
    #license .license_item h3 {
        font-size: 1.6rem;
        line-height: 1.5;
        margin-bottom: 3rem;
        min-height: auto;
    }
    #license .license_item h3 span.icon_only {
        display: block;
        width: 4rem;
    }
    #license .license_item p {
        font-size: 1.4rem;
    }
    #license .license_item div.logo_sbs {
        width: 60%;
        margin: 2rem auto 4rem;
    }
}