@charset "utf-8";
.photo-board{
    margin-top: 20rem;
    margin-bottom: 10rem;
}
.photo-board .title-box{
    width: calc(50% - 7rem);
}
.photo-board .title{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14rem;
}
.photo-board .title h1{
    font-size: 3.6rem;
    font-weight: 300;
}
.photo-board .title p{
    color: var(--grey-color-);
    font-size: 1.8rem;
    margin-top: 2rem;
}
.photo-board .title p span{
    display: block;
}
.photo-board .title p b{
    color: var(--black-color-);
}
#photo-search{
    display: block;
    position: relative;
    width: calc(50% - 7rem);
}
#photo-search .search-field{
    position: relative;
}
#photo-search .sch_bar{
    display: flex;
}
#photo-search .sch_bar i{
    font-size: 2rem;
}
#photo-search input{
    border: none;
    border-bottom: 1px solid var(--black-color-);
    padding: 1rem;
    font-size: 2rem;
    color: var(--black-color-);
    width: 100%;
}
#category{
    margin-top: 8rem;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 3rem;
}
#category-item{
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
}
#category-item li a{
    font-size: 1.6rem;
    border: 1px solid var(--black-color-);
    display: block;
    padding: 1rem 2rem;
    border-radius: 10rem;
}
#category-item li a#bo_cate_on{
    background-color: var(--black-color-);
    color: white;
}
#photo {
    padding: 5rem 4rem;
    margin-top: 8rem;
}
#photo-wrap {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
}
.photo-view{
    position: relative;
    padding-top: 6rem;
}
.photo-view-wrap {
    position: relative;
    padding: 0 10rem;
}
.photo-viewer {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}
.photo-viewer .swiper-slide {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
}
.photo-viewer .swiper-slide span {
    position: absolute;
    color: white;
    background: rgba(0, 0, 0, 0.1);
    padding: 0.8rem 1rem;
    font-size: 1.4rem;
    border-radius: 0.6rem;
}
.photo-viewer .swiper-slide span.be {
    left: 2rem;
    top: 2rem;
}
.photo-viewer .swiper-slide span.af {
    right: 2rem;
    bottom: 2rem;
}
.photo-viewer-nav{
    font-size: 2rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--black-color-);
    border: 1px solid var(--black-color-);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: .2s;
    z-index: 2;
}
.photo-viewer-prev{
    left: 0;
}
.photo-viewer-next {
    right: 0;
}
.photo-viewer-nav:hover{
    background-color: transparent;
    border: 1px solid #898a8d;
    color: #898a8d;
}
.photo-info {
    margin-top: 3rem;
    display: flex;
    gap: 5rem;
    justify-content: space-between;
    align-items: center;
    padding: 0 10rem;
}
.photo-info #photo-tabs {
    display: flex;
    gap: 1rem;
}
.photo-info #photo-tabs .tab-button {
    height: auto;
    padding: 1rem 2rem;
    text-align: center;
    border-radius: 100rem;
    color: white;
    background: #b6b7b8;
    transition: transform 0.1s, background 0.1s;
    font-size: 1.5rem;
}
.photo-info #photo-tabs .tab-button.active {
    
    background: var(--main-color-);
    box-shadow: 0 0 1.6rem rgba(0, 0, 0, 0.1);
}
.photo-info #photo-title{
    font-size: 1.8rem;
    font-weight: 300;
    display: flex;
    gap: 1rem;
    align-items: center;
    line-height: 1;
}
.photo-info #photo-title span{
    display: flex;
    gap: 1rem;
    align-items: center;
}
.photo-info #photo-title span::after{
    content: '|';
    color: #aaa;
    font-size: 1.4rem;
}
.photo-info #photo-important{
    margin-top: 2rem;
}
.photo-info #photo-important p{
    font-size: 1.4rem;
    line-height: 1.4;
    color: var(--grey-color-);
}
.photo-thumbnail-wrap{
    padding: 0 10rem;
}
#photo-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 5rem;
    padding-top: 5rem;
    border-top: 1px solid #aeaeb8;
}
#photo-thumbnails .photo-thumbnail {
    overflow: hidden;
    border-radius: 1rem;
    position: relative;
    background-color: white;
}
#photo-thumbnails .photo-thumbnail.active {

}
#photo-thumbnails .photo-thumbnail img{
    filter: brightness(50%);
    transition: 0.2s;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#photo-thumbnails .photo-thumbnail.active img{
    filter: brightness(100%);
}
#photo-thumbnails .photo-thumbnail.dimmed::before{
    border-radius: 1rem;
}
.photo-thumbnail-item.active img {
    opacity: 0.8;
}
.photo-thumbnail-item::after {
    visibility: hidden;
    opacity: 0;
    content: '\f06e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--main-color-);
    width: 4rem;
    height: 4rem;
    line-height: 4rem;
    border-radius: 50%;
    text-align: center;
    transition: 0.5s;
}
.photo-thumbnail-item.active::after {
    visibility: visible;
    opacity: 1;
}
.dimmed {
    position: relative;
}
.dimmed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2rem);
    -webkit-backdrop-filter: blur(2rem);
    z-index: 9;
    border-radius: 2rem;
}
.member-content {
    position: absolute;
    width: 100%;
    z-index: 10;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    flex-direction: column;
    color: white;
    font-size: 1.8rem;
}
.member-content a {
    background-color: var(--main-color-);
    color: white;
    border-radius: 1rem;
    padding: 1rem 3rem;
    margin-top: 3rem;
}
.no-data {
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.photo-detail {
    margin-bottom: 5rem;
}
.photo-detail h2 {
    font-size: 2.6rem;
}
.photo-detail ul {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.pg_wrap {
    margin-top: 5rem;
    float: none;
    display: block;
}
.pg_wrap .pg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.pg_page,
.pg_current {
    border: none;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    font-size: 1.4rem;
    border-radius: 50%;
}
.pg_current {
    background-color: var(--black-color-);
    font-weight: 300;
    padding: 0;
    min-width: 3rem;
}
.pg_page {
    background-color: #f1f1f1;
    color: var(--grey-color-);
}
.pg_start,
.pg_end {
    background-color: transparent;
}
#photo-view .title-box{
    width: auto;
}
#photo-view .title{
    display: flex;
    gap: 2rem;
    flex-direction: column;
    align-items: center;
}
#photo-view .title h1{
    font-size: 4.4rem;
}
#photo-view .title h2{
    font-size: 3rem;
    font-weight: 300;
}
#photo-view #bo_v_atc{
    margin-top: 8rem;
}
#photo-view figure{
    margin: 0;
    padding: 0;
}
#photo-view figure figcaption{
    text-align: center;
    font-size: 1.8rem;
    margin-top: 3rem;
}
#photo-view figure:nth-child(n+2){
    margin-top: 5rem;
    padding-top: 5rem;
    border-top: 1px dotted #eee;
}
@media (max-width: 768px) {
   .photo-board{
        margin-top: 12rem;
    }
    .photo-board .title{
        gap: 5rem;
    }
    .photo-board .title-box{
        width: 100%;
    }
    #faq .title-box{
        width: 100%;
    }
    #photo-search{
        width: 100%;
    }
    #category{
        width: 100%;
        margin-top: 5rem;
    }
    #category-item li:last-child{
        padding-right: 4rem;
    }
    .photo-view{
        position: relative;
        padding-top: 4rem;
    }
    .photo-view-wrap{
        padding: 0 1.5rem;
    }
    .photo-viewer-nav{
        font-size: 1.6rem;
        width: 3rem;
        height: 3rem;
    }
    .photo-thumbnail-wrap{
        padding: 0 1.5rem;
    }
    #photo-thumbnails {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
    }
    .photo-thumbnail {
        overflow: hidden;
    }
    .photo-info{
        flex-direction: column;
        gap: 3rem;
        padding: 0 1.5rem;
        align-items: flex-start;
    }
    .photo-info .photo-viewer-info{
        order: 2;
    }
    .photo-info #photo-tabs{
        order: 1;
        margin-left: auto;
        margin-right: auto;
    }
}
