@charset "UTF-8";
/* CSS Document */

@import "common.css";

/* FLOOR GUIDE */

.contents-header {
    background: url("../floorguide/images/header-img.jpg") center/cover no-repeat;
}
.floor-info {
    margin: auto;
    max-width: 1200px;
    width: 86%;
    text-align: center;
}
.floor-info figure img {
    width: 100%;
}
.floor-info figcaption {
    text-align: center;
    margin: 20px 0;
}
.floor-info figcaption img {
    text-align: center;
    margin: 0;
    width: inherit;
}
h4 {
    font-size: 1.6rem;
    font-weight: 700;
    border-bottom: 1px solid var(--main-color);
    padding-bottom: 10px;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 20px;
    text-align: left;
}
#contents p {
    font-size: 1.4rem;
    text-align: left;
}
.gallery ul {
    margin: 60px auto;
    max-width: 1200px;
    width: 86%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.gallery li {
    margin-bottom: 40px;
    width: 32%;
}
.gallery figcaption {
    font-weight: 500;
}
.gallery img {
    width: 100%;
    margin-bottom: 10px;
}

/* MUSEUM SHOP */
 
#shop-exp, #salon-exp {
    max-width: 1200px;
    width: 86%;
    margin: auto;
    position: relative;
}
#shop-exp figure img {
    width: 670px;
}
#shop-exp .txt-box {
    width: 800px;
    position: absolute;
    right: 0;
    top: 490px;
    background: rgba(255,255,255,0.9);
    padding: 60px;
}
.txt-box p {
    margin-bottom: 20px;
    line-height: 1.8;
}
.txt-box small {
    line-height: 1.5;
    margin-bottom: 20px;
    display: inline-block;
}
.txt-box p:last-child {
    margin-bottom: 0;
}
.txt-box p .btn-white {
    line-height: 1.3;
}
.publication-link .btn-white {
    margin: 380px auto 0;
}
#goods {
    margin: 80px auto;
    max-width: 1200px;
    width: 86%;
}
#goods figure {
    display: flex;
    justify-content: center;
    margin: 40px auto 100px;
    gap: 80px;
}
#goods figure img {
    height: 200px;
    filter: drop-shadow(0 2px 3px #aaa);
}
#shop-inq {
    background-color: var(--sub-color);
    padding: 40px;
    margin: 80px auto;
    max-width: 1200px;
    width: 86%;
    line-height: 1.5;
}
#shop-inq h4 {
    margin-top: 0;
}
#shop-inq p {
    margin-bottom: 20px;
}
#shop-inq p.supplement, #salon-exp p.supplement {
    font-size: 1.2rem;
}
#shop-inq .tel {
    font-weight: 500;
}
#salon-exp {
    text-align: right;
    margin-bottom: 150px;
}
#salon-exp figure img {
    width: 40%;
    position: relative;
    right: 0;
    z-index: 1;
}
#salon-exp .txt-box {
    width: 70%;
    position: absolute;
    left: 0;
    top: 180px;
    background: rgba(255,255,255,0.9);
    padding: 60px 12% 60px 60px;
}

@media screen and (max-width: 1000px) {
    #shop-exp figure img {
        width: 100%;
    }
    #shop-exp .txt-box {
        width: 90%;
        right: -20px;
        top: 490px;
    }
    #salon-exp figure img {
        width: 300px;
        position: relative;
        right: 0;
        z-index: 1;
        margin-top: 60px;
    }
    #salon-exp .txt-box {
        width: 95%;
        left: 0;
        top: 120px;
        padding: 60px;
    }
    #salon-exp .txt-box p {
        width: 50%;
    }
    #salon-exp .txt-box p.supplement {
        width: 100%;
    }
    #salon-exp {
        margin-bottom: 220px;
    }
}

@media screen and (max-width: 767px) {
    
    h4 {
        width: 100%;
    }
    #contents {
        padding-bottom: 0;
    }
    #contents p {
        max-width: 100%;
    }
    .gallery ul {
        margin: 60px auto 0;
        width: 100%;
        flex-direction: column;
    }
    .gallery li {
        margin-bottom: 0;
        width: 100%;
    }
    .gallery figure {
        position: relative;
    }
    .gallery figcaption {
        color: var(--sub-color);
        position: absolute;
        bottom: 10px;
        right: 10px;
    }
    .gallery img {
        width: 100%;
        margin-bottom: 0;
    }
    #shop-exp .txt-box {
        position: relative;
        width: 100%;
        right: 0;
        top: 0;
        background: none;
        border: none;
        padding: 40px 0;
    }
    #shop-exp .btn-white {
        margin: 0 auto 0;
    }
    #salon-exp figure img {
        width: 100%;
        margin-top: 0;
    }
    #salon-exp .txt-box {
        width: 100%;
        position: relative;
        left: 0;
        top: 0;
        background: none;
        border: none;
        padding: 40px 0;
    }
    #salon-exp .txt-box p {
        width: 100%;
    }
    #salon-exp {
        margin-bottom: 0;
        padding-bottom: 40px;
    }
    #goods figure {
        margin: 40px auto;
        gap: 10%;
    }
    #goods figure img {
        max-height: 110px;
        width: auto;
    }
}