@charset "Shift_JIS";

/* CSS Document */
.topicsColumnSet{
display: flex;
gap: 20px;
flex-wrap: wrap;
}
.topicsItem{
max-width: calc((100% - 60px) / 4);
}
.topicsItem img{
width: 100%;
}

/*modal*/
.modalBox{
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(0,0,0,.7);
z-index: 10;
display: none;
}
.modalCloseBtn{
width: 38px;
height: 38px;
position: fixed;
top: -50px;
right: 0;
cursor: pointer;
transition: all .3s;
}
.modalCloseBtn::before,
.modalCloseBtn::after{
display: block;
content: "";
width: 3px;
height: 50px;
position: absolute;
background-color: #fff;
top: 0;
left: 80%;
transform: translateX(-50%);
border-radius: 3px;
transition: al
l .3s;
}
.modalCloseBtn::before{
transform: rotate(-45deg);
}
.modalCloseBtn::after{
transform: rotate(45deg);
}
.modalInner{
position: absolute;
top: 53%;
left: 50%;
transform: translate(-50%,-50%);
width: 90%;
text-align: center;
}
.modalCloseBtn:hover::before,
.modalCloseBtn:hover::after{
background-color: #c50000;
}
.enlargedImage img{
margin: 0 auto;
width: auto;
max-width: 80vw;
max-height: 80vh;
transition: all .3s;
}
.enlargeable
{
position: relative;
cursor: pointer;
}
.thumb.enlargeable img{
display: block;
}
.enlargeableBtn{
display: flex;
gap: 5px;
justify-content: center;
align-items: center;
width: 82px;
height: 36px;
border: 1px solid #c50000;
border-radius: 18px;
background-color: #fff;
position: absolute;
z-index: 1;
bottom: 8px;
right: 8px;
transition: all .3s;
}
.enlargeableBtn span{
display: block;
font-family: "Noto Sans JP", sans-serif;
font-weight: 400;
font-size: 18px;
color: #c50000;
}
.enlargeableBtn img{
width: 18px;
height: 17px;
}
.enlargeable:hover .enlargeableBtn{
background-color: #c50000;
}
.enlargeable:hover .enlargeableBtn span{
color: #fff;
}
.enlargeable:hover .enlargeableBtn img{
filter: invert(100%) sepia(57%) saturate(0%) hue-rotate(307deg) brightness(112%) contrast(109%);
}

@media screen and (max-width: 767px){
.topicsItem{
max-width: calc((100% - 20px) / 2);
}
}