@charset "UTF-8";
/*==============
    photo
===============*/
.subpage h3{
    margin-bottom: calc(56px - 19px);
}
#photo ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#photo ul li{
    width: calc(50% - 24px);
    margin-bottom: 48px;
}
#photo ul li a .ttl{
    font-size: 1.4rem;
    line-height: 1.5;
    margin-top: 16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    transition: 0.4s all;
}
#photo ul li:hover a .ttl {
    opacity: 0.5;
}
#photo_detail .content .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#photo_detail .content .gallery .thumb {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 1%;
    justify-content: flex-start;
    width: 100%;
}
#photo_detail .content .gallery .thumb a {
    width: 24.25%;
}
#photo_detail .content .gallery .thumb a img{
    object-fit: cover;
    height: 190px;
    width: 100%;
    object-position: 50% 20%;
    width: 100%;
    height: 100%;
    max-height: 250px;
    min-width: 275px;
    object-fit: cover;
}
#photo_detail .content .gallery .thumb:hover {
    opacity: .8;
    transition: all .3s ease 0s;
    -moz-transition: all .3s ease 0s;
    -webkit-transition: all .3s ease 0s;
}
#photo .container ul li a .thumbnail{
    overflow: hidden;
    position: relative;
}
#photo .container ul li a .thumbnail img{
    width: 100%;
    height: 100%;
    max-height: 324px;
    min-width: 270px;
    object-fit: cover;
    object-position: center;
    transition: 0.8s all;
}
#photo .container ul li:hover a .thumbnail img{
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
#photo_detail .photo-body .content {
    padding: 0 32px;
}
#photo_detail .photo-body{
    border-bottom: 1px solid var(--color1);
    margin-bottom: 62px;
    padding-bottom: 56px;
}
@media screen and (max-width: 1200px){
    #photo_detail .content .gallery .thumb a img {
        min-width: auto;
    }
}
@media screen and (max-width: 768px){
    #photo ul li{
        width: 100%;
        margin-bottom: 24px;
    }
    #photo_detail .content .gallery .thumb a {
        width: calc(98% / 2);

    }
    #photo_detail .content .gallery .thumb{
        gap: 1% 2%;
    }
}
/**  2026.04.15 add ~  **/
#photo_detail .content .gallery .thumb.add260415 {
    margin-bottom: 48px;
}
@media (max-width: 768px) {
    #photo_detail .content .gallery .thumb.add260415 {
        margin-bottom: 32px;
        padding-bottom: 32px;
    }
}
/**  ~ 2026.04.15 add   **/