@charset "UTF-8";

.pane-contents,
.edit-format {
    background: #fff;
}

/* .pane-contents--container {
    width: 1200px;
}
.pane-main {
    width: 1200px;
} */

@media screen and (max-width: 768px) {}


/* ==================================================
Page Head Custom
================================================== */
#page-head {}

@media screen and (max-width: 768px) {

    #page-head {}

}

/* ==================================================
Page Body
================================================== */
#page-body {
    overflow-x: clip;

}

html {
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

.none {
    display: none;
}


.flex {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}



.gallery {
    width: 100%;
}

.gallerywrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 50px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* PC */
.left {
    width: 45%;

    display: flex;
    align-items: center;
    justify-content: center;

    position: sticky;
    top: 0;
}

.left-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
}

.left-inner img {
    width: 50%;
    margin-bottom: 15px;
}

.left-inner p {
    font-size: 10px;
    white-space: nowrap;
    font-family: "optima-nova-lt-pro", sans-serif;
}


.right {
    width: 45%;
}


#s1,
#s2,
#s3 {
    margin-inline: auto;
}

#s2 {
    position: relative;
}

.scrollx-items {
    display: flex;
    align-items: center;
    overflow-x: scroll;
    flex-wrap: nowrap;

}

.scrollx-items .item {
    width: 100%;
    margin: 0px 60px 0px 0px;
    flex-shrink: 0;
    font-size: 12px;
}

.scrollx-items .item:nth-child(2),
.item:nth-child(4),
.item:nth-child(5),
.item:nth-child(7),
.item:nth-child(9),
.item:nth-child(10),
.item:nth-child(11) {
    position: relative;
}

.scrollx-items .credit {
    font-family: "optima-nova-lt-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.scrollx-items .item:nth-child(2) .credit {
    position: absolute;
    bottom: 8%;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: center;
}

.scrollx-items .item:nth-child(4) .credit {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    margin: 0;
    text-align: center;
    white-space: nowrap;
}

.scrollx-items .item:nth-child(5) .credit {
    position: absolute;
    bottom: 1%;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: center;
}


.scrollx-items .item:nth-child(7) .credit {
    position: absolute;
    bottom: 18%;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: left;
}

.scrollx-items .item:nth-child(9) .credit {
    position: absolute;
    bottom: 10%;
    right: 80%;
    width: 100%;
    writing-mode: sideways-rl;
}

.scrollx-items .item:nth-child(10) .credit {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    text-align: center;
}

.scrollx-items .item:nth-child(11) .credit {
    position: absolute;
    bottom: 1%;
    left: 57%;
    width: 100%;
    writing-mode: sideways-lr;
    text-align: center;
    letter-spacing: 0.2px;
    font-size: 10px;
}

.scrollx-items .item:nth-child(12) {
    position: relative;
    margin-right: 20px;
}

.scrollx-items .item:nth-child(12) .credit {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    text-align: center;
}



.scrollx-items .item img {
    display: block;
    width: 100%;
    height: auto;
}

.item-text p {
    margin: 20px 0;
    text-align: center;
}

.credit {
    text-align: left;
}

.scrollx-items::-webkit-scrollbar {
    background: #fff;
    width: 30px;
    height: 40px;
}

.scrollx-items::-webkit-scrollbar-thumb {
    background-color: #fff;
    border-radius: 60px;
}

/* scrollbar-block */
/* .scrollbar-block {

    position: relative;
    height: 10px;
    transition: all 0.3s ease-in-out;
} */

/* スクロールダウンの位置 */
/* .scrollbar {
    position: absolute;
    right: 3%;
    bottom: 42vh;
} */

/* 線のアニメーション部分 */
/* .scrollbar::before {
    animation: scroll 2s infinite;
    background-color: #000;
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    width: 70px;
    height: 1px;
    z-index: 2;
} */

/* 線の背景色 */
/* .scrollbar::after {
    background-color: #ccc;
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    width: 70px;
    height: 1px;
} */

/* ===== 矢印付き線（SVG） ===== */
.scrollbar-block {
    position: absolute;
    left: 89%;
    bottom: 50px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 70px;
}

.scrollbar {
    position: relative;
    width: 70px;
    height: 12px;
    display: flex;
    align-items: center;
}

.scrollbar svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* グレーの背景（土台）: 直線部分と矢印ヘッド部分 */
.scrollbar .track-shaft {
    fill: none;
    stroke: #ccc;
    stroke-width: 1;
}

.scrollbar .track-head {
    fill: none;
    stroke: #ccc;
    stroke-width: 1;
}

/* 黒: 直線部分（まず右端まで伸びる） */
.scrollbar .fill-shaft {
    fill: none;
    stroke: #000;
    stroke-width: 1;
    stroke-dasharray: 62;
    stroke-dashoffset: 62;
    animation: draw-shaft 2s ease-in-out infinite;
}

/* 黒: 矢印ヘッド部分（線が到達するまでは非表示／到達後に根元側から先端へ黒く塗られ閉じる） */
.scrollbar .fill-head {
    fill: none;
    stroke: #000;
    stroke-width: 1;
    stroke-dasharray: 8.5;
    stroke-dashoffset: 8.5;
    opacity: 0;
    animation: draw-head 2s ease-in-out infinite;
}

@keyframes draw-shaft {
    0% {
        stroke-dashoffset: 62;
        opacity: 1;
    }

    45% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

@keyframes draw-head {

    0%,
    45% {
        stroke-dashoffset: 8.5;
        opacity: 0;
    }

    46% {
        stroke-dashoffset: 8.5;
        opacity: 1;
    }

    65% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

/* タブレット用 */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .scrollx-items .item:nth-child(12) .credit {
        position: absolute;
        bottom: 2%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        text-align: center;
        line-height: 1.3;
        font-size: 9px;
        white-space: nowrap;
    }

}

/* SP用 */
@media screen and (max-width: 430px) {
    .gallerywrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .right {
        order: 1;
        width: 100%;
        margin: 0 auto;
    }

    .scrollx-items .item img {
        display: block;
        width: 80%;
        height: auto;
    }

    .left {
        order: 2;
        width: 100%;
        height: auto;
        position: sticky;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        padding-top: 20px;
        z-index: 10;
    }


    .left-inner img {
        width: 35%;
    }

    .left-inner p {
        font-size: 8px;
    }

    .left-inner {
        padding-bottom: 0px;
        margin-bottom: 20px;
    }

    .scrollx-items .item {
        font-size: 7px;
    }

    .scrollx-items .item:nth-child(2) .credit {
        bottom: 5%;
    }

    .scrollx-items .item:nth-child(5) .credit {
        bottom: 2%;
    }

    .scrollx-items .item:nth-child(7) .credit {
        left: 10%;
    }

    .scrollx-items .item:nth-child(9) .credit {
        bottom: 6%;
        right: 75%;
    }

    .scrollx-items .item:nth-child(11) .credit {
        position: absolute;
        bottom: 0;
        left: 57%;
        letter-spacing: 0.1px;
        font-size: 7px;
    }

    .scrollx-items .item:nth-child(12) .credit {
        position: absolute;
        bottom: 10%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        text-align: center;
        line-height: 1.4;
        font-size: 7px;
        white-space: nowrap;
    }

    /* .scrollbar {
        position: absolute;
        right: 12% !important;
        bottom: 27vh;
    } */

    .scrollbar-block {
        position: absolute;
        left: 79%;
        bottom: 13px;
    }


}




/* 線のアニメーション */
/* @keyframes scroll {
    0% {
        transform: scale(0, 1);
        transform-origin: 0 0;
    }

    50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }

    51% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }

    100% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }
} */


/* Fade in */
.inView {
    opacity: 0;
}

.imgFade {
    opacity: 0;
}

.imgAnim {
    -webkit-animation-name: imgAnim;
    animation-name: imgAnim;
    -webkit-animation-duration: 1.6s;
    animation-duration: 1.6s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@keyframes imgAnim {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}




.imgFade.fadeT {
    opacity: 0;
    transform: translateY(50px);
    position: relative;
    z-index: 5;
}

.imgAnim.fadeT {
    -webkit-animation-name: imgAnim;
    animation-name: imgAnim;
    -webkit-animation-duration: 1.4s;
    animation-duration: 1.4s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.imgFade.fadeR {
    opacity: 0;
    transform: translateX(50px);
    position: relative;
    z-index: 5;
}

.imgFade.fadeL {
    opacity: 0;
    transform: translateX(-50px);
    position: relative;
    z-index: 5;
}

.imgAnim.fadeR {
    -webkit-animation-name: imgAnim;
    animation-name: imgAnim;
    -webkit-animation-duration: 1.4s;
    animation-duration: 1.4s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.imgAnim.fadeL {
    -webkit-animation-name: imgAnim;
    animation-name: imgAnim;
    -webkit-animation-duration: 1.4s;
    animation-duration: 1.4s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}