/* maintitle */
.pane-contents {
    min-height: 600px;
    padding-bottom: 50px;
    /* background: #373c40 url(/ec/img/event/zcinema-reco-lens/bg_gray-texture.jpg) repeat-y center top; */
    /* background-size: 180% auto; */
    /* color: #fff; */
}

h1[class^="block-"][class*="--header"] {
    font-weight: 700;
    font-size: 32px;
    padding-top: 60px;
    margin-bottom: 10px;
}

/* pager */
.block-goods-list--pager {
    display: none;
}

/*subtitle */
.block-event-page--accessory {
    /* background-color: #f0f0f0; */
    /* padding: 0 20px; */
}

.block-event-page--accessory .block-top-event--goods {
    margin-bottom: 40px;
    color: #000;
}

.block-event-page--wrap {
    padding: 10px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #6a6a6a;
}

.block-event-page--wrap .title {
    font-weight: bold;
    font-size: 28px;
}

.block-event-page--wrap .description {
    font-weight: 300;
}

.block-event-page--wrap .event-sub-title {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.block-event-page--wrap .event-sub-title img {
    width: 10%;
}

@media (max-width: 1080px) {
    .block-event-page--wrap .event-sub-title {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .block-event-page--wrap .event-sub-title img {
        width: 30%;
    }
}

#block_of_itemhistory .block-recent-item--keep-history a {
    color: #fff;
}

.js-item-history-link.no-leave span::before,
.js-item-history-link.no-leave span::after {
    background-color: #fff;
}

.js-enhanced-ecommerce-item .detail-page-wrap .bg_y {
    color: #000;
}

@media (max-width: 1080px) {
    h1[class^="block-"][class*="--header"] {
        font-size: 24px;
        margin: 0 0 10px;
    }

    .pane-contents {
        padding: 0 10px 20px;
        margin: 0;
    }

    /* 02 */
    .block-event-page--accessory .block-top-event--goods {
        /* padding: 20px 10px; */
    }

    .block-event-page--wrap {
        margin: 0 10px 20px;
    }

    .block-event-page--wrap .title {
        font-size: 23px;
        padding-bottom: 10px;
        /* margin-bottom: 20px; */
        position: relative;
    }

}

.block-goods-list--image-relative {
    aspect-ratio: 1 / 0.75;
}


.block-article-title {
    text-align: center;
    margin-bottom: 40px;
}

.block-article-title img {
    max-width: 200px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.block-article-title .is-ttl {
    padding-bottom: 20px;
    position: relative;
}

.block-article-title .is-ttl::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: #ffd800;
    display: inline-block;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

@media (max-width: 1080px) {
    .block-article-title img {
        max-width: 40%;
    }
}


/* navigation */
.pages-ancor-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-bottom: 48px;
}

.pages-ancor-nav-list .ancor-item {
    width: calc((100% - 9%) / 4);
}

.pages-ancor-nav-list .ancor-item img {
    margin: 0 auto;
    padding-bottom: 20px;
}

.pages-ancor-nav-list .ancor-item a {
    color: #000;
    background-color: #fff;
    padding: 1em 1em 60px 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    height: 100%;
    position: relative;
    border: 1px solid #E5E5E5;
}

.pages-ancor-nav-list .ancor-item a::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    color: black;
    line-height: 1;
    width: 0.9em;
    height: 0.9em;
    border: 2px solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateY(-25%) rotate(135deg) skew(calc((50deg - 30deg) / 2), calc((50deg - 30deg) / 2));
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: auto;
    transition: .5s;
}

.pages-ancor-nav-list .ancor-item .img-block {
    text-align: center;
    display: block;
    margin-bottom: 0.5em;
}

.pages-ancor-nav-list .ancor-item .is-name {
    font-size: 17px;
    font-weight: bold;
}

@media (max-width: 1080px) {
    .pages-ancor-nav-list .ancor-item {
        width: calc((100% - 3%) / 2);
    }

    .pages-ancor-nav-list .ancor-item a {
        padding: 0.5em 0.5em 40px 0.5em;
    }

    .pages-ancor-nav-list .ancor-item a::after {
        bottom: 10px;
    }

    .pages-ancor-nav-list .ancor-item .is-name {
        font-size: 14px;
    }

    .pages-ancor-nav-list .ancor-item:nth-child(n+3) {
        margin-top: 3%;
    }
}

.img-block {
position: relative;
margin: 0;
box-sizing: border-box;
}

.img-block img {
display: block;
width: 100%;
height: auto;
}

.copyright {
position: absolute; 
bottom: 20px;
right: 8px;
color: white;
font-size: 8px;
margin: 0;
}

            /* アイコンが直下の子にある場合、商品名を 24px 下げる */
.block-thumbnail-t--goods-description:has(> .block-icon) > .block-thumbnail-t--goods-name {
margin-top: 0; /* ← アイコンの実寸＋隣接余白に合わせて調整 */
}

/* アイコンが無い場合は、商品名の開始位置をそのまま（0） */
.block-thumbnail-t--goods-description:not(:has(> .block-icon)) > .block-thumbnail-t--goods-name {
margin-top: 24px;
}

.event-body-details {
display: flex;
justify-content: flex-end; /* アイテムを末尾（右端）に寄せる */
margin-bottom: 48px;
}