@charset "utf-8";

/* CSS INFORMATION -====================================================
File name : coordinate.css
Description :
===================================================================== */

/* =====================================================================
*    coordinate
* =================================================================== */
.coordinate h2 {
    width: calc(330 / 630 * 100%);
}

.coordinate .sec_contents {
    position: relative;
}

.coordinate_wrap {
    position: relative;
}

.coordinate_wrap::before {
    content: '';
    position: absolute;
    background: url(../images/coordinate/bg_coord_sp.jpg) repeat center top;
    background-size: 10px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.coordinate_wrap::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    padding-top: calc(80 / 750 * 100%);
    z-index: 2;
    background-color: #fff;
}

.coordinate_wrap ul {
    position: relative;
    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;
    z-index: 3;
    padding-bottom: 25px;
}

.coordinate_wrap ul li {
    width: 150px;
    position: relative;
}

.coordinate_wrap ul li:nth-child(2n) {
    margin-left: calc(30 / 630 * 100%);
}

.coordinate_wrap ul li:not(:nth-child(-n+2)) {
    /*    margin-top: calc(30 / 630 * 100%);*/
}

.coordinate_wrap ul li:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.coordinate_wrap ul li a {
    display: block;
    position: absolute;
    overflow: hidden;
    width: 100%;
    padding-top: 100%;
    top: 0;
    left: 0;
}

.coordinate_wrap ul li a::after {
    content: "";
    display: block;
    position: absolute;
}

.coordinate_wrap ul li a.insta::after {
    width: calc(70/300 * 100%);
    padding-top: calc(70/300 * 100%);
    background: url(../images/coordinate/ico_insta.png) no-repeat center;
    background-size: contain;
    right: 0;
    bottom: 0;
}

.coordinate_wrap ul li img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    -o-object-fit: cover;
    object-fit: cover;
}

.coordinate_wrap ul dl {
    position: relative;
    margin: 10px 0 22.5px;
    text-align: center;
    font-size: 1.2rem;
    padding-bottom: 36px;
}

.coordinate_wrap ul dl::before {
    content: '';
    position: absolute;
    background: url(../images/coordinate/ico_ribon.png) no-repeat center;
    background-size: contain;
    width: 25px;
    padding-top: 20px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.coordinate_wrap ul dt {
    font-weight: bold;
}

.coordinate_wrap ul dd {
    color: #a6937c;
    height: 36px;
    font-size: 1rem;
}

/*iPhone5対策*/
@media screen and (max-width: 320px) {
    .coordinate_wrap::before {
        background-size: 8.7px;
    }

    .coordinate_wrap ul {
        padding-bottom: 19px;
    }

    .coordinate_wrap ul li {
        width: 120px;
    }

    .coordinate_wrap ul dl {
        margin: 10px 0 22px;
        padding-bottom: 30px;
    }
}

@media screen and (min-width: 580px) {
    .coordinate h2 {
        width: calc(225/1000 * 100%);
    }

    .coordinate_wrap::before {
        background: url(../images/coordinate/bg_coord_pc.jpg) repeat center top;
        background-size: 20px;
        top: 12px;
    }

    .coordinate_wrap::after {
        padding-top: 150px;
    }

    .coordinate_wrap ul {
        padding-bottom: 60px;
    }

    .coordinate_wrap ul li {
        width: calc(300/1000 * 100%);
    }

    .coordinate_wrap ul li:nth-child(2n) {
        margin-left: 0;
    }

    .coordinate_wrap ul li:not(:nth-child(3n)) {
        margin-right: calc(50 / 1000 * 100%);
    }

    .coordinate_wrap ul li:last-child {
        margin-right: 0 !important;
    }

    .coordinate_wrap ul li:not(:nth-child(-n+3)) {
        margin-top: calc(12 / 1000 * 100%);
    }

    .coordinate_wrap ul dl {
        font-size: 1.6rem;
        padding-bottom: calc(32 / 300 * 100%);
        margin: calc(20 / 300 * 100%) 0 calc(15 / 300 * 100%);
    }

    .coordinate_wrap ul dl::before {
        width: calc(30 / 300 * 100%);
        padding-top: calc(20 / 300 * 100%);
    }

    .coordinate_wrap ul li a {}

    .coordinate_wrap ul dd {
        height: 54px;
        font-size: 1.6rem;
    }

    .coordinate_wrap ul li a.insta::after {
        width: calc(50/300 * 100%);
        padding-top: calc(50/300 * 100%);
    }

    /*
    .coordinate_wrap ul li a {
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 2;
        display: block;
        content: '';
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, .2);
        border-radius: 100%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        opacity: 0;
    }
*/

    .coordinate_wrap ul li a:hover,
    .coordinate_wrap ul li a:focus,
    .coordinate_wrap ul li a:active {
        border-radius: 1.5em;
        border: 3px solid #ff5c82;
        -webkit-transition: .2s;
        transition: .2s;
    }

}

@media screen and (min-width: 581px) and (max-width: 750px) {
    .coordinate_wrap::before {
        background-size: 1.9%;
        top: 0;
    }

    .coordinate_wrap ul {
        padding-bottom: 2%;
    }

    .coordinate_wrap ul dl {
        margin: 3% 0 10%;
        padding-bottom: 15.5%;
    }

    .coordinate_wrap ul dl::before {
        width: 13%;
        padding-top: 9%;
    }

    .coordinate_wrap ul li:not(:nth-child(-n+2)) {
        margin-top: 0;
    }

    .coordinate_wrap ul dd {
        font-size: 1.2rem;
    }


}

@media screen and (min-width: 751px) and (max-width: 999px) {
    .coordinate_wrap::before {
        background-size: 2.1%;
        top: 0;
    }

    .coordinate_wrap ul {
        padding-bottom: 3%;
    }

    .coordinate_wrap ul dl {
        margin: 3.5% 0 5.5%;
        padding-bottom: 20%;
    }

    .coordinate_wrap ul dl::before {
        width: 10%;
        padding-top: 8%;
    }

    .coordinate_wrap ul li:not(:nth-child(-n+2)) {
        margin-top: 0;
    }

    .coordinate_wrap ul dd {
        font-size: 1.4rem;
    }

}


/* =====================================================================
*    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;
}

.lb-container {
    overflow: hidden;
}

.lightbox .lb-image {
    /* width: auto !important;
    height: 100% !important; */
    border: 0 !important;
    border-radius: 0 !important;
    margin: 0 auto;
}

.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 25px !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 40px !important;
    }
}

@media screen and (min-width: 1100px) {
    .lb-dataContainer {
        margin: -360px auto 0;
    }
}
