/* side_banner.twig用カスタムCSS - EC-CUBEアップデート時に保護されます */

.ec-sideBannerRole {
    background: #fff;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    max-width: 240px;

}

.ec-sideBannerRole__header {
    margin-bottom: 20px;
}

.ec-sideBannerRole__title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 20px 10px ;
}

.ec-sideBannerRole__line {
    height: 1px;
    background: #ddd;
    margin: 10px 0;
}

.ec-sideBannerRole__content {
    display: flex;
    flex-direction: column;
}

.ec-sideBannerRole__makerList {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ec-sideBannerRole__makerColumn {
    display: flex;
    flex-direction: column;
    width: 33%;
}

.ec-sideBannerRole__makerText {
    color: #333;
    font-size: 13px;
    padding: 5px 0;
    display: block;
}

.ec-sideBannerRole__image {
    text-align: center;
    margin-top: 20px;
    position: relative;
}

.ec-sideBannerRole__image img {
    max-width: 90%;
    height: auto;
}

.ec-sideBannerRole__imageText {
    color: #3c7dbd;
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

.ec-sideBannerRole__title.border{
    position: relative;
    border: none !important;
}

.ec-sideBannerRole__title.border::before{
    position: absolute;
    background-color: #333;
    border-radius: 1em;
    content: "";
    left: -7%;
    width: 5px;
    height: 36px;
    top: 50%;
    transform: translateY(-50%);
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
    /* .ec-sideBannerRole__makerList {
        flex-direction: column;
    } */
    
    .ec-sideBannerRole__makerColumn {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .ec-sideBannerRole__makerColumn:last-child {
        margin-bottom: 0;
    }
    .ec-sideBannerRole {
            max-width: 100%;
            margin: 0 auto;
        }
    .ec-sideBannerRole__title.border::before{
        left: -3%;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .ec-sideBannerRole__title{
        font-size: 28px;
        margin: 20px 50px;
    }
    .ec-sideBannerRole{
        max-width: 100%;
        padding: 10px 30px;
    }
    .ec-sideBannerRole__title.border::before{
        left: -3%;
}
}
@media screen and (min-width: 820px) and (max-width: 1023px){
    .ec-sideBannerRole{   
        max-width: 100%;
        padding: 10px;
}
.ec-sideBannerRole__title {
    font-size: 20px;
    margin: 20px 0px;

}
}
@media screen and (min-width: 768px) and (max-width: 819px){
    .ec-sideBannerRole{
        margin-bottom: 0;
    }
    .ec-sideBannerRole__title{
    margin: 20px ;
    }
}