@charset "utf-8";

/*-------------------------------
	キービジュアル
-------------------------------*/

.C-Keyvisual.-collection{
	background-image: image-set(url(../images/common/bg_keyvisual-collection.jpg) 1x, url(../images/common/bg_keyvisual-collection@2x.jpg) 2x);
	background-image: -webkit-image-set(url(../images/common/bg_keyvisual-collection.jpg) 1x, url(../images/common/bg_keyvisual-collection@2x.jpg) 2x);
}


@media screen and (min-width:769px) , print{

}
@media screen and (max-width:1520px) and (min-width: 769px){

}
@media screen and (max-width:1380px) and (min-width: 769px){

}
@media screen and (max-width:1240px) and (min-width: 769px){

}
@media screen and (max-width:1100px) and (min-width: 769px){

}
@media screen and (max-width:960px) and (min-width: 769px){

}
@media screen and (max-width:768px){

}



/*-------------------------------
	一覧
-------------------------------*/

.Collection__item-wrap{
    /* border: 1px solid var(--grayborder1);
    border-right: none;
    border-bottom: none; */
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
}
.Collection__item-wrap::after{
    border-left: 1px solid var(--grayborder1);
    content: "";
    display: block;
    width: calc(100% / 3);
    order: 9999;
}
.Collection__item{
    border: 1px solid var(--grayborder1);
    width: calc(100% / 3);
    padding: 2rem;
    background: #fff;
}
.Collection__item-image .P-Image__inner{
    background: var(--graycolor1);
    aspect-ratio: 24 / 21;
}
.Collection__item-image a{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.Collection__item-image img{
    height: 100%;
    object-fit: contain;
}
.Collection__item.-link a::before,
.Collection__item.-link a::after{
    display: none;
}
.Collection__button{
    margin-top: 5.5rem;
}

/*----- ポップアップ */
.Pop{
    /* height: 65.8rem; */
    transition: var(--transition);
    width: 100%;
    height: 100%;
    position: relative;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9993;
    opacity: 0;
    visibility: hidden;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.Pop::before{
    background: var(--blackcolor);
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    opacity: .8;
}
.Pop__inner{
    transition: var(--transition);
    width: 100%;
    height: calc(100% - 25rem);
    /* max-height: 65.8rem; */
    max-height: 100rem;
    transform: scale(.8);
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.Pop__body{
    width: 100%;
    padding: 5rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.Pop__image{
    width: 100%;
    max-width: 60rem;
    min-height: 22rem;
    margin-bottom: 2.5rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.Pop__image.-tate{
    height: 40rem;
}
.Pop__image.-sei{
    max-width: 45rem;
}
.Pop__image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.Pop__title{
    width: 100%;
    padding-left: 2.8rem;
    margin-bottom: 2rem;
    position: relative;
}
.Pop__title::before{
    background: var(--gradcolor_dark1);
    content: "";
    display: block;
    width: .5rem;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
}
.Pop__title span{
    font-size: 2rem;
    font-weight: 700;
    line-height: calc(3 / 2);
    display: block;
}
.Pop__text{
    margin-bottom: 2rem;
}
.Pop__text + .Pop__text{
    margin-top: 0;
}
.Pop .Pop__close{
    margin-top: 1.5rem;
}
.Pop .Pop__close .a{
    padding-left: 1.8rem;
}
.Pop__close .P-Button__text::after{
    display: none;
}
.Pop__close .P-Button__text span{
    width: 100%;
    padding-right: 0;
}
.Pop__close .P-Button__text span::after{
    content: "×";
    margin-left: .5em;
}
.Pop__batsu{
    transition: var(--transition);
    position: fixed;
    right: 5rem;
    top: 5rem;
    width: 4rem;
    height: 4rem;
    background-image: url(../images/common/icon_batsu-white.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
    z-index: 9900;
}
.Pop__batsu:hover{
    transform: scale(.9);
}

.Pop.-on{
    opacity: 1;
    visibility: visible;
}
.Pop.-on .Pop__inner{
    transform: scale(1);
}

.Pop .mCustomScrollBox{
    width: 100%;
    height: auto;
}
.Pop .mCSB_inside>.mCSB_container{
    margin-right: 0;
}
.Pop .mCSB_scrollTools.mCSB_scrollTools_vertical{
	width: .8rem;
    right: .6rem;
    /* top: .6rem;
    height: calc(100% - 1.2rem); */
    top: 1.5rem;
    height: calc(100% - 3rem);
}
.Pop .mCSB_scrollTools.mCSB_scrollTools_vertical .mCSB_dragger .mCSB_dragger_bar{
	background: var(--maincolor_dark7);
	width: .8rem;
	margin: 0 auto;
	opacity: 0;
}
.Pop .mCSB_scrollTools .mCSB_draggerRail{
    opacity: 0;
}
.Pop:hover .mCSB_scrollTools.mCSB_scrollTools_vertical .mCSB_dragger .mCSB_dragger_bar{
	opacity: 1;
}

/* ヘッダー、ぱんくず対策 */
body:has(.Pop.-on) .header,
body:has(.Pop.-on) .C-Breadclumb{
    z-index: 1;
}

@media screen and (min-width:769px) , print{

    .Collection__item:not(:nth-of-type(3n)){
        border-right: none;
    }
    .Collection__item:nth-of-type(n+4){
        margin-top: -1px;
    }

}
@media screen and (max-width:1520px) and (min-width: 769px){

}
@media screen and (max-width:1380px) and (min-width: 769px){

}
@media screen and (max-width:1240px) and (min-width: 769px){

    .Pop__batsu{
        right: var(--padding-leftright);
        top: var(--padding-leftright);
        width: 4rem;
        height: 4rem;
    }

}
@media screen and (max-width:1100px) and (min-width: 769px){

    .Collection__item-wrap::after{
        width: calc(100% / 2);
    }
    .Collection__item{
        width: calc(100% / 2);
    }
    .Collection__item:not(:nth-of-type(3n)){
        border-right: 1px solid var(--grayborder1);
    }
    .Collection__item:not(:nth-of-type(2n)){
        border-right: none;
    }
    .Collection__item:nth-of-type(n+4){
        margin-top: 0;
    }
    .Collection__item:nth-of-type(n+3){
        margin-top: -1px;
    }

    .Pop__body{
        padding: 3.5rem;
    }

}
@media screen and (max-width:960px) and (min-width: 769px){

    .Collection__item-wrap::after{
        width: calc(100% / 3);
    }
    .Collection__item{
        width: calc(100% / 3);
    }
    .Collection__item:not(:nth-of-type(2n)){
        border-right: 1px solid var(--grayborder1);
    }
    .Collection__item:not(:nth-of-type(3n)){
        border-right: none;
    }
    .Collection__item:nth-of-type(n+3){
        margin-top: 0;
    }
    .Collection__item:nth-of-type(n+4){
        margin-top: -1px;
    }

}
@media screen and (max-width:768px){

    .Collection__item-wrap::after{
        width: calc(100% / 2);
    }
    .Collection__item{
        width: calc(100% / 2);
        padding: 2.5rem;
    }
    .Collection__item:not(:nth-of-type(2n)){
        border-right: none;
    }
    .Collection__item:nth-of-type(n+3){
        margin-top: -1px;
    }
    .Collection__button.-reverse > a{
        padding-right: 5rem;
    }
    .Collection__button.-reverse .P-Button__text span{
        padding-left: 5rem;
    }

    .Pop{
        padding: 5rem var(--padding-leftright);
    }
    .Pop__inner{
        max-height: calc(100svh - 10rem);
    }
    .Pop__body{
        padding: 5rem var(--padding-leftright) var(--padding-leftright);
    }
    .Pop__image{
        width: 100%;
        max-width: 100%;
        margin-bottom: 5.5rem;
        min-height: auto;
    }
    .Pop__image.-tate{
        height: 70rem;
    }
    .Pop__title{
        padding-left: 3.5rem;
        margin-bottom: 3.5rem;
    }
    .Pop__title::before{
        width: 1rem;
    }
    .Pop__title span{
        font-size: 3.2rem;
    }
    .Pop__text{
        margin-bottom: 3.5rem;
    }
    .Pop__text + .Pop__text{
        margin-top: -1rem;
    }
    .Pop .Pop__close{
        margin-top: 0;
    }
    .Pop .Pop__close .a{
        padding-right: 1.8rem;
    }
    .Pop__batsu{
        width: 5.5rem;
        height: 5.5rem;
    }

}