/* カスタマイズ用CSS */
.ec-categoryRole .ec-categoryRole__listItem a {
    display: block;
    position: relative;
    height: 160px;
    overflow: hidden;
}
.ec-categoryRole .ec-categoryRole__listItem a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 200px;
    height: 100px;
    border: 5px solid #ccc;
    background-color: rgba(0,0,0,.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}
.ec-categoryRole__list > div:nth-of-type(1) a::after {
    content: '日本の名画';
}
.ec-categoryRole__list > div:nth-of-type(2) a::after {
    content: '世界の名画';
}
.ec-categoryRole__list > div:nth-of-type(3) a::after {
    content: '隠れた日本の名画';
}
.ec-categoryRole__list > div:nth-of-type(4) a::after {
    content: '隠れた世界の名画';
}
.ec-categoryRole .ec-categoryRole__listItem a img {
    height: 100%;
    object-fit: cover;
}
.ec-yt iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}
.ec-yt video {
    width: 100%;
}
@media only screen and (min-width: 768px) {
    .ec-eyecatchRole .ec-eyecatchRole__image,
    .ec-eyecatchRole .ec-eyecatchRole__intro{
        width: 50%;
    }
}
@media only screen and (max-width: 900px) and (min-width: 768px) {
    .ec-categoryRole .ec-categoryRole__listItem a::after {
        font-size: 16px;
    }
}