@charset "UTF-8";

.flexBox {
    display: flex;
    flex-wrap: wrap;
}

.mediaBox {
    width: 380px;
    margin-top: 10px;
    margin-bottom: 20px;
    margin-right: 30px;
    padding: 30px;
    background-color: #F7F5F2;
}

.mediaBox:nth-of-type(3n) {
    margin-right: 0;
}

.mediaBox .logo {
    margin-bottom: 20px;
    background-color: #fff;
}

.mediaBox .logo img {
    height: fit-content;
}

.mediaBox .logo a {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mediaBox .txt {
    font-size: 14px;
    line-height: 1.4;
    min-height: 4.2em;
}

.mediaBox a.linkBox:hover {
    color: #EF0013;
    border: 3px solid #EF0013;
}

.mediaBox .linkBox {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 20px;
    font-size: 16px;
    font-weight: bold;
    background-color: #fff;
    border: 3px solid #A7A3A3;
}

.mediaBox .linkBox span:after {
    content: '';
    position: absolute;
    right: 2.5em;
    z-index: 1;
    width: 0.8rem;
    height: 1.5rem;
    background: url(/assets/images/common/ico-arrow-r-01.png) no-repeat center center;
    background-size: contain;
}

.mediaBox a.linkBox:after {
    content: '';
    position: absolute;
    right: 1em;
    width: 1.4rem;
    height: 1.1rem;
    background: url(/assets/images/common/ico-window-lg-01.png) no-repeat center center;
    background-size: contain;
}

.mediaBox a.linkBox.x {
    padding-left: 4.5em;
}
.mediaBox a.linkBox.x:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 20px;
    width: 36px;
    height: 36px;
    background: url(/assets/images/media/logo_x.png) no-repeat center center;
    background-size: contain;
}

.mediaBox a.linkBox.yt {
    padding-left: 4.5em;
}
.mediaBox a.linkBox.yt:before {
    content: '';
    position: absolute;
    top: 14px;
    left: 20px;
    width: 40px;
    height: 28px;
    background: url(/assets/images/media/logo_youtube.png) no-repeat center center;
    background-size: contain;
}


.mediaBox a.linkBox.instagram {
    padding-left: 4.5em;
}
.mediaBox a.linkBox.instagram:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 20px;
    width: 36px;
    height: 36px;
    background: url(/assets/images/media/logo_instagram.png) no-repeat center center;
    background-size: contain;
}

.mediaBox a.linkBox.tiktok {
    padding-left: 4.5em;
}
.mediaBox a.linkBox.tiktok:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 20px;
    width: 36px;
    height: 36px;
    background: url(/assets/images/media/logo_tiktok.png) no-repeat center center;
    background-size: contain;
}

.mediaBox .linkBox.dummy {
    background-color: #F7F5F2;
}

.mediaBox .logo.apc img {
    width: 81.25%;
    height: auto;
}
.mediaBox .logo.kenko-site img {
    width: 87.5%;
    height: auto;
}
.mediaBox .logo.alinamin img {
    width: 67.8125%;
    height: auto;
}
.mediaBox .logo.benzablock img {
    width: 74.0625%;
    height: auto;
}
.mediaBox .logo.kanpo-benpiyaku img {
    width: 89.6875%;
    height: auto;
}
.mediaBox .logo.biothree img {
    width: 67.8125%;
    height: auto;
}
.mediaBox .logo.vitamin-c-2000 img {
    width: 88.75%;
    height: auto;
}
.mediaBox .logo.hi-tester img {
    width: 78.4375%;
    height: auto;
}
.mediaBox .logo.rubina img {
    width: 56.25%;
    height: auto;
}
.mediaBox .logo.rubina-meguri img {
    width: 88.75%;
    height: auto;
}
.mediaBox .logo.actage img {
    width: 66.875%;
    height: auto;
}
.mediaBox .logo.storage img {
    width: 67.1875%;
    height: auto;
}
.mediaBox .logo.nicorette img {
    width: 80.9375%;
    height: auto;
}
.mediaBox .logo.tylenol img {
    width: 75.625%;
    height: auto;
}
.mediaBox .logo.fullsurutiamin img {
    width: 100%;
    height: auto;
}
.mediaBox .logo.rakusankin img {
    width: 84.375%;
    height: auto;
}

.bannerBox {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

.bannerBox .banner {
    width: 491px;
    margin-left: 15px;
    margin-right: 15px;
}

@media only screen and (max-width: 640px) {
    .flexBox {
        display: block;
    }

    .mediaBox {
        margin: 20px auto 40px;
        width: 93vw;
    }

    .mediaBox .txt {
        min-height: auto;
    }

    .mediaBox .linkBox {
        font-size: 15px;
    }

    .mediaBox a.linkBox.x {
        padding-left: 17.5vw;
    }

    .mediaBox a.linkBox.yt {
        padding-left: 17.5vw;
    }

    .mediaBox a.linkBox.instagram {
        padding-left: 17.5vw;
    }

    .mediaBox a.linkBox.tiktok {
        padding-left: 17.5vw;
    }

    .bannerBox {
        display: block;
        margin-top: 30px
    }
    .bannerBox .banner {
        width: 100%;
        margin-top: 30px;
        margin-left: 0;
        margin-right: 0;     
    }


}


@media only screen and (min-width: 641px) {

}
