/* common */
.sp-only {
    display: block;
}

.pc-only {
    display: none;
}

.small-br {
    display: block;
    height: .5em;
}

body {
    font-family: sans-serif;
    padding-bottom: 15vw;
    /* background: url(../img/bg_sp.png) no-repeat top / cover fixed; */
    color: #fff;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, .9);
}
body:before{
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background: url(../img/bg_sp.png) center no-repeat;
    background-size: cover;
}

@media screen and (min-width:768px) {
    .sp-only {
        display: none;
    }

    .pc-only {
        display: block;
    }
    body {
        padding-bottom: 0;
        /* background-image: url(../img/bg_pc.png); */
    }
    body:before{
        background: url(../img/bg_pc.png) center no-repeat;
    }
    
}

/* top */
.section-title {
    font-size: 6vw;
    text-align: center;
    margin: 1em 0;
}

.main-photo-container {
    width: 70vw;
    height: 105vw;
    margin: 0 auto;
    position: relative;
}

.main-photo-container img {
    width: 100%;
}

.designer-wrapper {
    display: flex;
    width: 70%;
    font-size: 3vw;
    margin: .5em auto;
}

.designer-wrapper a {
    display: block;
    width: 1.5em;
    margin: 0 .5em;
    filter: drop-shadow(0px 0px 1px #fff);
}

.theme-description {
    width: 95vw;
    font-size: 3vw;
    text-align: center;
    margin: 0 auto;
}

@media screen and (min-width:768px) {

    /* pc style */
    .section-title {
        font-size: 2vw;
    }

    .main-photo-container {
        width: 46.67vh;
        height: 70vh;
    }

    .designer-wrapper {
        width: 46.67vh;
        font-size: .8vw;
    }

    .theme-description {
        width: 50vh;
        font-size: .8vw;
    }
}

/* multi look */
.individual-section {
    margin: 2em 0;
}

.individual.section-title {
    font-size: 4vw;
}

@media screen and (min-width:768px) {

    /* pc style */
    .individual.section-title {
        font-size: 2vw;
    }
}

/* parts */
.parts-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    margin: 1rem 0;
}

.parts-img-container {
    width: 40vw;
    height: 60vw;
    position: relative;
}

.parts-img-container img {
    width: 100%;
}

.parts-description {
    width: 45vw;
}

.parts-description p {
    font-size: 3vw;
    text-align: center;
}

@media screen and (min-width:768px) {

    /* pc style */
    .parts-wrapper {
        gap: 1vw;
    }

    .parts-img-container {
        width: 40vh;
        height: 60vh;
    }

    .parts-description {
        width: 40vh;
    }

    .parts-description p {
        font-size: .7vw;
    }
}

/* img popover */
#popover-area {
    position: fixed;
    /* width: 95vw;
    height: clamp(70vh, calc(95vw / 9 * 16), 95vh); */
    width: 100%;
    height: 100%;
    inset: 0;
    margin: 2vw auto 0;
    padding: 0;
    overflow: auto;
    border: none;
    background: none;
}

#popover-area img {
    width: 95vw;
    height: clamp(70vh, calc(95vw / 9 * 16), 95vh);
    /* width: 100%;
    max-height: 100%; */
    display: block;
    margin: auto;
    object-fit: contain;
}

#popover-area::backdrop {
    background: rgba(0, 0, 0, .3);
    backdrop-filter: blur(5px);
}

#popover-close-btn {
    position: fixed;
    bottom: 0;
    left: 42.5vw;
    font-size: 15vw;
    height: 18vw;
    color: #fff;
    text-shadow: 3px -2px 5px rgba(0, 0, 0, 0.4);
    background: none;
    border: none;
}

@media screen and (min-width:768px) {

    /* pc style */
    #popover-close-btn {
        bottom: 1vw;
        right: 3vw;
        font-size: 5vw;
        height: 5vw;
    }
}

/* zoom */
.zoom {
    position: absolute;
    width: 15vw;
    height: auto;
    bottom: 0;
    right: 0;
    padding: 0;
    border: none;
    background: none;
}

.zoom.parts {
    width: 9vw;
    height: auto;
}

.zoom img {
    width: 100%;
    filter: drop-shadow(0px 0px 4px #fff);
}

@media screen and (min-width:768px) {

    /* pc style */
    .zoom {
        width: 4vw;
    }

    .zoom.parts {
        width: 3vw;
    }
}

/* menu */
input[type="checkbox"] {
    display: none;
}

.btn {
    background: #000;
    border: none;
    border-radius: 50%;
    width: 12vw;
    height: 12vw;
    font-size: 3vw;
    font-weight: bold;
    color: #fff;
}

.btn svg {
    position: relative;
    top: 1px;
    right: 1px;
}

.btn--large {
    width: 60px;
    height: 60px;
}

.btn--menu:after,
.btn--menu:before {
    content: "";
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    position: absolute;
    top: 29px;
    left: 18px;
    transition: transform 100ms;
}

.btn--menu:after {
    transform: translateY(-5px);
}

.btn--menu:before {
    transform: translateY(5px);
}

.btn--share {
    background: #444;
}

.btn--star {
    background: #666;
}

.btn--comment {
    background: #888;
}

.actions-menu {
    position: fixed;
    width: 60px;
    height: 60px;
    right: 15px;
    bottom: 15px;
    z-index: 999;
}

.actions-menu .btn {
    position: absolute;
    top: 8px;
    left: 8px;
    opacity: 0;
    transition: top 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
        left 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
        opacity 200ms;
}

.actions-menu .btn--menu {
    position: absolute;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: 0;
}

.btn--menu,
#actionMenuButton:checked+.actions-menu>.btn {
    opacity: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

#actionMenuButton:checked+.actions-menu>.btn--menu:after {
    transform: rotate(45deg);
}

#actionMenuButton:checked+.actions-menu>.btn--menu:before {
    transform: rotate(-45deg);
}

#actionMenuButton:checked+.actions-menu>.btn--share {
    top: -70px;
}

#actionMenuButton:checked+.actions-menu>.btn--star {
    top: -50px;
    left: -50px;
}

#actionMenuButton:checked+.actions-menu>.btn--comment {
    left: -70px;
}

@media screen and (min-width:768px) {

    /* pc style */
    .btn {
        width: 4vw;
        height: 4vw;
        font-size: 1vw;
    }

    .actions-menu {
        right: 2vw;
        bottom: 2vw;
    }

    #actionMenuButton:checked+.actions-menu>.btn--share {
        top: -100px;
    }

    #actionMenuButton:checked+.actions-menu>.btn--star {
        top: -70px;
        left: -70px;
    }

    #actionMenuButton:checked+.actions-menu>.btn--comment {
        left: -100px;
    }

    .btn--menu:after,
    .btn--menu:before {
        width: 2.5vw;
        height: .25vw;
        top: 2vw;
        left: .75vw;
    }

}