@charset "utf-8";

/* CSS INFORMATION -====================================================
File name : gallery.css
Description :
===================================================================== */

@media screen and (min-width: 768px) {
    .sub_wrap {
        padding-bottom: calc(120 / 1100 * 100%);
        background: url(../images/common/bg_sub_pc1.jpg) no-repeat center top;
        background-size: calc(1600 / 1100 * 100%) auto;
    }
    
    .sub_wrap::before,
    .sub_wrap::after,
    .sub_wrap .inner::after {
        content: "";
        display: block;
        width: calc(186 / 1100 * 100%);
        padding-top: calc(123 / 1100 * 100%);
        background: url(../images/common/bg_ring1.png) no-repeat left top;
        background-size: 100% auto;
        position: absolute;
        top: 0;
        left: 50%;
        margin: calc(385 / 1100 * 100%) 0 0 calc(461 / 1100 * 100%);
    }
    
    .sub_wrap::after {
        width: calc(189 / 1100 * 100%);
        padding-top: calc(126 / 1100 * 100%);
        background: url(../images/common/bg_ring2.png) no-repeat left top;
        background-size: 100% auto;
        margin: calc(759 / 1100 * 100%) 0 0 calc(-647 / 1100 * 100%);
    }
    
    .sub_wrap .inner::after {
        width: calc(165 / 1100 * 100%);
        padding-top: calc(125 / 1100 * 100%);
        background: url(../images/common/bg_ring3.png) no-repeat left top;
        background-size: 100% auto;
        left: auto;
        right: 0;
        top: auto;
        bottom: 0;
        margin: 0 calc(-56 / 1100 * 100%) calc(-70 / 1100 * 100%) 0;
    }
}

@media screen and (min-width: 1100px) {
    .sub_wrap {
        padding-bottom: 120px;
        background-size: 1600px auto;
    }
    
    .sub_wrap::before {
        width: 186px;
        padding-top: 123px;
        margin: 385px 0 0 461px;
    }
    
    .sub_wrap::after {
        width: 189px;
        padding-top: 126px;
        margin: 759px 0 0 -647px;
    }
}


/* =====================================================================
*    gallery
* =================================================================== */
.gallery {
    margin: 0 0 calc(150 / 750 * 100%);
}

.sec_contents {
    width: calc(670 / 750 * 100%);
    margin: 0 auto;
    -webkit-box-shadow: 0 0 calc(10 / 750 * 100vw) rgba(0,0,0,0.1);
    box-shadow: 0 0 calc(10 / 750 * 100vw) rgba(0,0,0,0.1);
    z-index: 2;
}

.gallery_box {
    background: linear-gradient(135deg, rgb(255, 252, 242) 0%, rgb(255, 250, 233) 30%, rgb(255, 250, 233) 100%);
}

.gallery_box_wrap {
    padding: calc(130 / 670 * 100%) 0;
}

.gallery_box::before,
.gallery_box::after,
.gallery_box_wrap::before,
.gallery_box_wrap::after {
    content: "";
    display: block;
    width: calc(90 / 670 * 100%);
    padding-top: calc(90 / 670 * 100%);
    background: url(../images/common/bg_corner1.png) no-repeat center center;
    background-size: calc(80 / 90 * 100%) auto;
    position: absolute;
    top: 0;
    left: 0;
    margin: calc(15 / 670 * 100%) 0 0 calc(15 / 670 * 100%);
}

.gallery_box::after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    left: auto;
    right: 0;
    margin: calc(15 / 670 * 100%) calc(15 / 670 * 100%) 0 0;
}

.gallery_box_wrap::before {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
    top: auto;
    bottom: 0;
    margin: 0 0 calc(15 / 670 * 100%) calc(15 / 670 * 100%);
}

.gallery_box_wrap::after {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
    margin: 0 calc(15 / 670 * 100%) calc(15 / 670 * 100%) 0;
}

.gallery_ttl {
    width: calc(540 / 670 * 100%);
    margin: 0 auto calc(60 / 670 * 100%);
    padding: 0 0 calc(50 / 670 * 100%);
    background: url(../images/common/line_yellow.png) repeat-x left bottom;
    background-size: calc(10 / 540 * 100%) auto;
    color: #ab9230;
    font-size: 6rem;
    font-family: "Noto Serif JP", "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HGS明朝E", "メイリオ", Meiryo, serif;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.05em;
}

.gallery_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: calc(596 / 670 * 100%);
    margin: 0 auto;
}

.gallery_list li {
    width: calc(288 / 596 * 100%);
    margin: 0 calc(20 / 596 * 100%) calc(20 / 596 * 100%) 0;
}

.gallery_list li:nth-child(even),
.gallery_list li:last-child {
    margin-right: 0;
}

.gallery_txt {
    width: calc(540 / 596 * 100%);
    margin: 0 auto calc(60 / 596 * 100%);
    padding: calc(70 / 596 * 100%) 0 calc(94 / 596 * 100%);
    background: url(../images/common/line_yellow.png) repeat-x left bottom;
    background-size: calc(10 / 540 * 100%) auto;
}

.gallery_txt img {
    width: calc(440 / 540 * 100%);
    margin: 0 auto;
}

.gallery_number {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: calc(600 / 670 * 100%);
    margin: 0 auto;
}

.gallery_number li {
    width: calc(112 / 600 * 100%);
    margin: 0 calc(10 / 600 * 100%) calc(38 / 600 * 100%) 0;
}

.gallery_number li:nth-child(5n),
.gallery_number li:last-child {
    margin-right: 0;
}

.gallery_number li a {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: calc(-4 / 112 * 100%) 0 0 calc(-4 / 112 * 100%);
}

.gallery_number li::before,
.gallery_number li a::after {
    content: "";
    display: block;
    width: 100%;
    padding-top: 100%;
}

.gallery_number li::before {
    background-color: rgba(0, 0, 0, 0.8);
}

.gallery_number li a::after {
    background-color: rgb(183, 15, 59);
    position: relative;
}

.gallery_number li a span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 4.2rem;
    font-family: "Noto Serif JP", "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HGS明朝E", "メイリオ", Meiryo, serif;
    font-weight: 600;
    line-height: 1;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
}

@media screen and (min-width: 768px) {
    .sec_contents {
        width: 100%;
        -webkit-box-shadow: 0 0 calc(10 / 1000 * 100vw) rgba(0,0,0,0.1);
        box-shadow: 0 0 calc(10 / 1000 * 100vw) rgba(0,0,0,0.1);
        z-index: 2;
    }
    
    .gallery_box {
        background: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(255, 250, 233) 50%, rgb(255, 250, 233) 100%);
    }
    
    .gallery_box::before,
    .gallery_box::after,
    .gallery_box_wrap::before,
    .gallery_box_wrap::after {
        width: calc(48 / 1000 * 100%);
        padding-top: calc(48 / 1000 * 100%);
        background-size: 100% auto;
        margin: calc(10 / 1000 * 100%) 0 0 calc(10 / 1000 * 100%);
    }
    
    .gallery_box::after {
        margin: calc(10 / 1000 * 100%) calc(10 / 1000 * 100%) 0 0;
    }
    
    .gallery_box_wrap::before {
        margin: 0 0 calc(10 / 1000 * 100%) calc(10 / 1000 * 100%);
    }
    
    .gallery_box_wrap::after {
        margin: 0 calc(10 / 1000 * 100%) calc(10 / 1000 * 100%) 0;
    }
    
    .gallery_box_wrap {
        padding: calc(80 / 1000 * 100%) 0;
    }
    
    .gallery_ttl {
        width: calc(630 / 1000 * 100%);
        margin: 0 auto calc(50 / 1000 * 100%);
        padding: 0 0 calc(27 / 1000 * 100%);
        background-size: calc(5 / 630 * 100%) auto;
        font-size: 4rem;
    }
    
    .gallery_list {
        width: calc(800 / 1000 * 100%);
    }
    
    .gallery_list li,
    .gallery_list li:nth-child(even) {
        width: calc(250 / 800 * 100%);
        margin: 0 calc(25 / 800 * 100%) calc(25 / 800 * 100%) 0;
        -webkit-box-shadow: calc(5 / 1100 * 100vw) calc(5 / 1100 * 100vw) calc(7 / 1100 * 100vw) rgba(0,0,0,0.1);
        box-shadow: calc(5 / 1100 * 100vw) calc(5 / 1100 * 100vw) calc(7 / 1100 * 100vw) rgba(0,0,0,0.1);
    }
    
    .gallery_list li:nth-child(3n),
    .gallery_list li:last-child {
        margin-right: 0;
    }
    
    .gallery_list li a:hover {
        opacity: 0.7;
    }
    
    .gallery_txt {
        width: calc(630 / 1000 * 100%);
        margin: 0 auto calc(30 / 1000 * 100%);
        padding: calc(20 / 1000 * 100%) 0 calc(46 / 1000 * 100%);
        background-size: calc(5 / 630 * 100%) auto;
    }
    
    .gallery_txt img {
        width: calc(300 / 630 * 100%);
    }
    
    .gallery_number {
        width: calc(800 / 1000 * 100%);
        margin: 0 auto calc(40 / 1000 * 100%);
    }
    
    .gallery_number li,
    .gallery_number li:nth-child(5n) {
        width: calc(71 / 800 * 100%);
        margin: 0 calc(10 / 800 * 100%) 0 0;
    }
    
    .gallery_number li:last-child {
        margin-right: 0;
    }
    
    .gallery_number li a {
        margin: -5.63% 0 0 -5.63%;
    }
    
    .gallery_number li a span {
        font-size: 2.6rem;
    }
    
    .gallery_number li a:hover {
        margin: 0;
    }
}

@media screen and (min-width: 1100px) {
    .sec_contents {
        -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.1);
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
    
    .gallery_list li,
    .gallery_list li:nth-child(even) {
        -webkit-box-shadow: 5px 5px 7px rgba(0,0,0,0.1);
        box-shadow: 5px 5px 7px rgba(0,0,0,0.1);
    }
}


/* =====================================================================
*    popup
* =================================================================== */
.popup {
    z-index: 100000;
}

.popup_area {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    overflow-y: auto;
}

.popup_inner {
    width: calc(680 / 750 * 100%);
}

@media screen and (min-width: 768px) {
    .popup_inner {
        width: calc(900 / 1100 * 100%);
        max-width: 900px;
        padding: calc(60 / 1100 * 100%) 0;
    }
    
    .popup_close {
        margin: -6.5% 0 0;
    }
}

@media screen and (min-width: 1100px) {
    .popup_inner {
        padding: 60px 0;
    }
}


/* =====================================================================
*    lightbox
* =================================================================== */
.lightbox {
    width: 100% !important;
    height: 100% !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.lightboxOverlay {
    width: 100% !important;
    opacity: 0.6 !important;
}

.lb-outerContainer {
    width: calc(680 / 750 * 100%) !important;
    border-radius: 0 !important;
    -ms-flex-item-align: center;
    align-self: center;
}

.lb-outerContainer::before {
    content: "";
    display: block;
    width: calc(60 / 680 * 100%);
    padding-top: calc(60 / 680 * 100%);
    background: url(../plugin/lightbox/images/close2.png) no-repeat left top;
    background-size: 100% auto;
    position: absolute;
    top: 0;
    right: 0;
    margin: calc(-80 / 680 * 100%) 0 0;
    pointer-events: none;
}

.lightbox .lb-image {
    width: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.lb-dataContainer {
    width: calc(680 / 750 * 100%) !important;
    padding: 0 !important;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: calc(-330 / 750 * 100%) auto 0;
    display: none !important;
}

.lb-data {
    padding: 0 !important;
}

.lb-data .lb-details {
    display: none;
}

.lb-data .lb-close {
    width: auto;
    height: auto;
    float: none;
    background: none;
}

.lb-data .lb-close::before,
.lb-data .lb-close::after {
    content: "";
    display: block;
    width: 2px;
    padding-top: 12%;
    background-color: #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    margin: 0 5% 0 auto;
}

.lb-data .lb-close::after {
    position: absolute;
    top: 0;
    right: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.lb-nav a {
    opacity: 1 !important;
    background-size: auto 12% !important;
}

@media screen and (min-width: 768px) {
    .lb-outerContainer {
        width: calc(900 / 1100 * 100%) !important;
        max-width: 900px !important;
    }
    
    .lb-dataContainer {
        width: calc(900 / 1100 * 100%) !important;
        max-width: 900px !important;
        margin: calc(-360 / 1100 * 100%) auto 0;
    }
    
    .lb-outerContainer::before {
        width: calc(37 / 900 * 100%);
        padding-top: calc(37 / 900 * 100%);
        margin: calc(-47 / 900 * 100%) 0 0;
    }
    
    .lb-data .lb-close::before,
    .lb-data .lb-close::after {
        padding-top: 6%;
        margin: 0 2.5% 0 auto;
    }
    
    .lb-nav a {
        background-size: auto 8% !important;
    }
}

@media screen and (min-width: 1100px) {
    .lb-dataContainer {
        margin: -360px auto 0;
    }
}
