
footer {
    display: none;
}


.detail_l {
    height: 100vh;
    overflow-y: auto;
    position: sticky;
    top: 0;
}
.detail_r {
    padding: 0 var(--page-padding) 240px;
}

.detail_inner {
    width: 100%;
    max-width: 550px;
    margin-left: auto;
}


.d_year {
    margin-top: 15px;
    font-size: var(--d1);
}
.d_info * {
    font-size: var(--d2);
    text-transform: uppercase;
}

.d_info {
    margin-top: 100px;
}

.d_info li {
    padding: 2px 0;
}
.d_editor {
    margin-top: var(--con-gap);
    font-size: var(--d1);
}
.detail-visual {
    width: 100%;
    cursor: pointer;    
}

/* modal */
.img_modal {
    display: none;
    z-index: 99;
    position: fixed;
    inset: 0;
}
.img_modal.on {
    display: block;
}

/* dim + blur */
.img_modal_dim {
    position: absolute;
    inset: 0;
    background: rgba(229, 229, 229, 0.7);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

/* center box */
.img_modal_box {
    position: absolute;
    inset: 0;
    padding: 28px 40px;
}

/* top right */
.img_modal_top {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    gap: 40px;
    z-index: 5;
}

.img_modal_fraction {
    opacity: 0.9;
    font-size: var(--d2);
}

/* close */
.img_modal_close {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

/* swiper area */
.img_modal_swiper {
    position: absolute;
    inset: 0;
}

/* slide center */
.img_modal_swiper .swiper-wrapper,
.img_modal_swiper .swiper-slide {
    height: 100%;
}

.img_modal_swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}


.img_modal_swiper img {
    max-width: min(1200px, 80vw);
    max-height: min(760px, 86vh);
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.img_modal_prev,
.img_modal_next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 5;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform .3s ease;
}


.img_modal_prev { left: 28px; }
.img_modal_next { right: 28px; }


.img_modal_prev::before,
.img_modal_next::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 12px;
    height: 12px;
    border-top: 2px solid #111;
    border-right: 2px solid #111;
    transform-origin: center;
}
.img_modal_prev::before {
    transform: rotate(-135deg);
}
.img_modal_next::before {
    transform: rotate(45deg);
}

.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}

@media (hover:hover) and (pointer:fine) {
    .img_modal_prev:hover {
        transform: translateX(-5px) translateY(-50%);
    }
    .img_modal_next:hover {
        transform: translateX(5px) translateY(-50%);
    }
    .img_modal_prev:hover,
    .img_modal_next:hover {
        opacity: 1;
    }
}

@media all and (max-width:860px) {
    .detail {
        padding-bottom: 200px;
    }
    .detail_r {
        order: -1;
        padding-bottom: var(--con-gap);
    }
    .detail_l {
        position: static;
        height: unset;
    }
    .detail_inner {
        max-width: unset;
    }
  
    .img_modal_prev {
        left: 10px;
    }
    .img_modal_next {
        right: 10px;
    }
    .img_modal_top {
        gap: 20px;
    }
}
@media all and (max-width:460px) {
    .img_modal_prev {
        left: 4px;
    }
    .img_modal_next {
        right: 4px;
    }
    
}
