.gallery_top {
position: relative;
}
.gallery_bg {
width: 100%;
height: 252px;
}
.gallery_bg img {
width: 100%;
height: 252px;
object-fit: cover;
}
.gallery_title {
font-size: 18px;
font-weight: bold;
text-shadow: 0 0 12px #fff, 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #aaa;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.gallery_title span {
font-size: 48px;
}
.report_cat_list li {
font-size: 14px;
}
.gallery_one {
overflow: hidden;
display: block;
width: calc(96% /4);
min-width: 262px;
margin: 0 auto;
text-align: center;
position: relative;
transition: 0.5s ease-in-out;
cursor: pointer;
}
.gallery_img {
width: 100%;
height: 300px;
border-radius: 12px;
margin-bottom: 8px;
overflow: hidden;
}
.gallery_img img {
width: 100%;
height: 300px;
object-fit: cover;
border-radius: 12px;
transition: 0.5s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.gallery_one a:hover {
transition: 0.3s cubic-bezier(0.39, 0.575, 0.565, 1);
color: #957500;
}
.gallery_img img:hover {
moz-transform: scale(1.06);
-ms-transform: scale(1.06);
-webkit-transform: scale(1.06);
transform: scale(1.06);
transition: 0.5s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.gallery_img:hover .gallery_title_bg,
.gallery_title_bg:hover {
opacity: 1;
transition: 0.5s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.report_cat_list a:hover {
transition: 0.3s cubic-bezier(0.39, 0.575, 0.565, 1);
color: #957500;
}
.gallery_in {
padding: 40px 0;
display: flex;
flex-wrap: wrap;
}
.gallery_img:nth-child(4n) {
margin-right: 0;
}
.gallery_modal_list {
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
display: none;
z-index: 10;
}
.gallery_modal_bg {
position: fixed;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.35);
}
.gallery_modal {
min-width: 600px;
width: 80%;
max-width: 720px; aspect-ratio: 1.5 / 1;
margin: 80px auto 0;
padding: 60px 60px 32px;
background: rgba(0, 0, 0, 0.8);
position: relative;
}
.gallery_modal_close {
position: absolute;
top: 20px;
right: 20px;
width: 24px;
height: 24px;
}
.gallery_modal_close img {
width: 24px;
height: 24px;
object-fit: cover;
vertical-align: initial;
}
.gallery_modal_link {
color: #fff;
}
.image_wrap {
position: relative;
}
.gallery_modal_img {
width: 100%;
aspect-ratio: 1.5 / 1;
margin: 0 auto 16px;
}
.gallery_modal_img img {
width: 100%;
aspect-ratio: 1.5 / 1;
object-fit: cover;
}
.gallery_title_bg {
opacity: 0;
width: 100%;
height: 64px;
line-height: 64px;
position: absolute;
bottom: 0;
left: 0;
font-size: 14px;
color: #fff;
text-align: left;
border-radius: 0 0 12px 12px;
background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.72) 100%);
background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.72) 100%);
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.72) 100%);
transition: 0.5s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.gallery_title_bg span {
display: block;
padding-left: 16px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.hall_link {
color: #fff;
}
#single_gallery .hall_link {
color: initial;
font-size: 14px;
margin-right: 4px;
}
.hall_link span::after {
content: '';
display: inline-block;
width: 6px;
height: 6px;
border-top: 2px solid #fff;
border-right: 2px solid #fff;
margin: 0 0 1px 8px;
transform: rotate(45deg);
}
#single_gallery .hall_link span::after {
border-top: 2px solid #000;
border-right: 2px solid #000;
}
.hall_link_text {
text-align: right;
padding-top: 8px;
font-size: 15px;
text-decoration: underline;
} .gallery_in:after {
content: "";
display: block;
width: calc(96% /4);
min-width: 262px;
margin: 0 auto;
}
.gallery_in:before {
content: "";
display: block;
width: calc(96% /4);
min-width: 262px;
margin: 0 auto;
order: 1;
}
@media screen and (max-width: 768px) {
.gallery_img {
width: 100%;
margin-right: 2%;
margin-bottom: 2%;
}
.gallery_img:nth-child(4n) {
margin-right: 2%;
}
.gallery_img:nth-child(3n) {
margin-right: 0;
}
.report_cat_list.gallery_list li {
min-width: 108px;
height: 52px;
line-height: 38px;
}
.report_cat_list.gallery_list li:nth-of-type(2),
.report_cat_list.gallery_list li:nth-of-type(3) {
line-height: 1.4;
}
.report_cat_list.gallery_list li a {
padding: 0 0 7px;
height: 42px;
}
.gallery_modal {
min-width: initial;
width: 88%;
margin-top: 50%;
padding: 50px 16px 20px;
background: rgba(0, 0, 0, 0.8);
position: relative;
}
.gallery_modal_close {
top: 16px;
right: 16px;
}
.gallery_modal_close,
.gallery_modal_close img {
width: 16px;
height: 16px;
}
.gallery_wrapper {
width: 100%;
}
.gallery_list {
margin-left: 4%;
}
.gallery_in {
width: 96%;
padding: 10px 0;
margin-left: auto;
margin-right: auto;
}
}
@media screen and (min-width:1600px) {
.gallery_bg {
height: 272px;
}
.gallery_bg img {
height: 272px;
object-position: 0 -18vw;
}
}
@media screen and (max-width:1200px) {
.gallery_bg img {
object-position: 0 -200px;
}
}
@media screen and (max-width:768px) {
.gallery_bg img {
object-position: 0 -10vw;
}
.gallery_title span {
font-size: 40px;
}
}
@media screen and (max-width:600px) {
.gallery_title span {
font-size: 6.2vw;
}
.gallery_title {
font-size: 4vw;
}
.gallery_one {
width: calc(96% /2);
min-width: 160px;
}
.gallery_img,
.gallery_img img {
height: 220px;
}
.gallery_in::after {
content: "";
width: calc(88% /2);
min-width: 160px;
margin: 0 auto;
}
}
@media screen and (max-width:480px) {
.gallery_in {
margin: 0 auto;
padding: 40px 0 0px;
}
.gallery_bg,
.gallery_bg img {
height: 160px;
}
.gallery_img {
margin-bottom: 4px;
}
.gallery_ttl {
font-size: 13px;
}
.gallery_place,
.gallery_type {
font-size: 10px;
}
.gallery_text_block {
padding: 0;
}
.gallery_text_block .map_icon,
.gallery_text_block .map_icon img {
width: 10px;
height: 13px;
}
.gallery_type span {
font-size: 13px;
}
.hall_link_text {
font-size: 12px;
}
}