@charset "utf-8";

/* ==============================

　　パンくずリスト

　============================== */

nav.breadcrumb {
    padding: 10px 0 10px;
    font-size: 14px;
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0;
    margin: 0;
    justify-content: end;
}

.breadcrumb li::after {
    content: "›";
    margin-left: 5px;
    color: #aaa;
}

.breadcrumb li:last-child::after {
    content: "";
}


/* ==============================

　　アニメーション

　============================== */

/* 発火時 */
.fadein-active {
    opacity: 1;
    transform: translate(0, 0);
}

.scroll-fade-up,
.scroll-fade-left,
.scroll-fade-right,
.scroll-fade-bottom {
    opacity: 0;
    transition: opacity 800ms ease-out, transform 800ms ease-out;
}

.scroll-fade-up.fadein-active,
.scroll-fade-left.fadein-active,
.scroll-fade-right.fadein-active,
.scroll-fade-bottom.fadein-active {
    opacity: 1;
    transform: translate(0, 0);
}

/* 個別のアニメーション方向 */
.scroll-fade-up {
    transform: translateY(-40px);
}

.scroll-fade-left {
    transform: translateX(-40px);
}

.scroll-fade-right {
    transform: translateX(40px);
}

.scroll-fade-bottom {
    transform: translateY(40px);
}

/* 汎用 delay クラス */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.8s;
}

.delay-5 {
    transition-delay: 1s;
}

.delay-6 {
    transition-delay: 1.2s;
}

.delay-7 {
    transition-delay: 1.4s;
}

.delay-8 {
    transition-delay: 1.6s;
}

.delay-9 {
    transition-delay: 1.8s;
}



/* ==============================

　　モーダル

　============================== */

/* モーダル全体 */
.custom-modal {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;

    /* 非表示状態 */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* 表示状態 */
.custom-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* モーダル内ボックス（白い中身） */
.custom-modal .wp-block-group__inner-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;

    /* 初期状態（拡大アニメの開始位置） */
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
    will-change: transform, opacity;
}

/* 表示状態のアニメーション */
.custom-modal.active .wp-block-group__inner-container {
    transform: scale(1);
    opacity: 1;
}

.wp-block-buttons.close-wrap.wp-block-buttons-is-layout-flex {
    position: fixed;
    bottom: -22px;
    left: 0;
    right: 0;
    margin: auto;
    justify-content: center;
}


/* ==============================

　　固定背景　サイズ適宜変更

============================== */


.img_parallax-wrap {
    position: relative;
    height: 470px;
}

.img_parallax {
    clip: rect(0, auto, auto, 0);
    margin-bottom: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.img_parallax.wp-block-image img {
    width: 100%;
    height: 101vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    object-fit: cover;
    z-index: 0;
    transform: translateZ(0);
}


/* ==============================

　　MV　slider-01

============================== */


.slider-01 {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

.slider-01 .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 0;
}

.slider-01 .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-01 .slide.showing {
    opacity: 1;
    z-index: 1;
    animation: zoomEffect 7s ease-in-out forwards;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}


.slider-01 .slide img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
}


/* ==============================

　　ループスライダー slider-02 全体

　============================== */
.slider-02 {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.slider-02 .slides {
    display: flex;
    white-space: nowrap;
    will-change: transform;
}

/*画像サイズ調整*/
.slider-02 .slide {
    flex: 0 0 auto;
    width: 200px;
    margin-right: 10px;
}


.slider-02 .slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.slider-02 .slides {
    transition: transform 0.02s linear;
}

/*loopスライダーの画像サイズがそれぞれ違う場合は設定してください*/

/*.loopslide-img-1 {
    width: 621px;
}

.loopslide-img-2 {
    width: 508px;
}

.loopslide-img-3 {
    width: 488px;
}

.loopslide-img-4 {
    width: 384px;
}

.loopslide-img-5 {
    width: 621px;
}*/



/* ==============================

サムネイル付きスライダー全体 slider-03

　============================== */
.slider-03 {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: auto;
    overflow: hidden;
}

/* スライドコンテナ */
.slider-03 .slides {
    position: relative;
    width: 100%;
    height: auto;
}

/* 各スライド */
.slider-03 .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* アクティブスライド */
.slider-03 .slide.active {
    opacity: 1;
    position: relative;
}

/* 画像サイズ調整 */
.slider-03 .slide img {
    width: 100%;
    display: block;
}

/* サムネイルコンテナ */
.slider-03 .thumbnails {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* サムネイル */
.slider-03 .thumbnail {
    width: 33.3%;
    height: 106px;
    object-fit: cover;
    cursor: pointer;
}


/* ==============================
　　テキスト連動スライダー slider-04 全体
　============================== */


.slider-04 .slide {
    display: none;
}

.slider-04 .slide:first-child {
    display: block;
}

.slider-04 .slide {
    display: none;
}

.slider-04 .slide:first-child {
    display: block;
}

.slider-indicator {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.slider-indicator .slidernum {
    padding: 6px 12px;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
    line-height: 1;
    border: 2px solid black;
    color: black;
}

.slider-indicator .slidernum.active {
    background-color: black;
    color: #fff;
}

.wp-block-group.slider-04 {
    position: relative;
}

.wp-block-group.next-prev {
    position: absolute;
    z-index: 100;
    top: 50%;
    max-width: 100%;
    width: 100%;
}

.wp-block-group.slider-indicator {
    max-width: 280px;
    margin: 0 auto;
    position: absolute;
    bottom: -49px;
    left: 0;
    right: 0;
}


/* ==============================

　　ノーマルスライダー slider-05 全体

　============================== */


.slider-05 .slide {
    display: none;
}

.slider-05 .slide:first-child {
    display: block;
}

.wp-block-group.slider-05 {
    position: relative;
}


/* ==============================

　　next prev　スライダー共通

　============================== */

p.next,
p.prev {
    cursor: pointer;
}

p.next:before {
    content: '';
    width: 13px;
    height: 13px;
    border: 0;
    border-top: solid 2px #333;
    border-right: solid 2px #333;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 38px;
    bottom: 0;
    margin: auto;
}

p.prev:before {
    content: '';
    width: 13px;
    height: 13px;
    border: 0;
    border-top: solid 2px #333;
    border-left: solid 2px #333;
    transform: rotate(-45deg);
    position: absolute;
    top: 0;
    left: 38px;
    bottom: 0;
    margin: auto;
}

/* ==============================

　　タイムラインanimation

　============================== */


.timeline-inner {
    position: relative;
}

.border-line {
    position: absolute;
    left: 15px;
    top: 21px;
    width: 4px;
    height: 0;
    background: #f2f2f2;
    transition: height 0.5s ease-in-out;
}

.timeline-inner:after {
    content: "";
    position: absolute;
    top: 9px;
    left: 9px;
    width: 17px;
    height: 17px;
    background: black;
    border-radius: 50%;
}

.timeline-txt h2 {
    background-color: gray;
    max-width: fit-content;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    padding: 6px 7px;
    position: relative;
}

.wp-block-group.timeline-txt {
    padding-left: 42px;
    max-width: 870px;
    width: 100%;
    padding-bottom: 38px;
}


.wp-block-group.timeline {
    margin-top: 51px;
}



/* ==============================

　　アコーディオン

　============================== */


.accordions {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid;
    padding: 19px 0 25px;
}

.accordion__button {
    appearance: none;
    text-align: inherit;
    width: 100%;
    cursor: pointer;
    /* padding-bottom: 5px; */
    line-height: 1;
}

.accordion__body {
    height: 0;
    overflow: hidden;
    transition: all 0.5s;
}

.wp-block-group.faq-wrap h3 {
    font-size: 16px;
    border-bottom: 1px solid;
    padding-bottom: 18px;
    margin-bottom: 3px;
    font-weight: bold;
}

p.accordion__button:before {
    content: 'Q：';
}

p.accordion__text {
    font-size: 16px;
    line-height: 2;
    padding-top: 13px;
}

p.accordion__button {
    font-size: 20px;
    font-weight: bold;
}

.wp-block-group.accordions {
    padding-bottom: 18px;
}

p.accordion__button,
.wp-block-group.accordion__menu {
    max-width: 95%;
    margin: 0 auto;
}

/* ==============================

　　モーダル

　============================== */

/* モーダル全体 */
.custom-modal {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;

    /* 非表示状態 */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* 表示状態 */
.custom-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* モーダル内ボックス（白い中身） */
.custom-modal .wp-block-group__inner-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;

    /* 初期状態（拡大アニメの開始位置） */
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
    will-change: transform, opacity;
}

/* 表示状態のアニメーション */
.custom-modal.active .wp-block-group__inner-container {
    transform: scale(1);
    opacity: 1;
}

.wp-block-buttons.close-wrap.wp-block-buttons-is-layout-flex {
    position: fixed;
    bottom: -22px;
    left: 0;
    right: 0;
    margin: auto;
    justify-content: center;
}



/* ==============================

　　ふわふわアニメーション

　============================== */


/*ふわふわ　上下にゆっくり揺れる*/

.fuwafuwa {
    display: inline-block;
    animation: fuwafuwa 3s ease-in-out infinite;
}

@keyframes fuwafuwa {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/*ゆらゆらアニメーション（左右にやさしく揺れる）*/

.yurayura {
    display: inline-block;
    animation: yurayura 2.5s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes yurayura {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(1.5deg);
    }

    75% {
        transform: rotate(-1.5deg);
    }
}

/*柔らかく傾く（左右にフワフワ回転）*/

.sway {
    display: inline-block;
    animation: sway 3s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes sway {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(4deg);
    }
}

/*ぴょんぴょん軽く跳ねる（リズミカル）*/

.bounce {
    display: inline-block;
    animation: bounce 1.2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-12px);
    }

    60% {
        transform: translateY(0);
    }
}

/*ぷるぷる震える（小刻みに揺れる）*/

.shake {
    display: inline-block;
    animation: shake 0.5s linear infinite;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-3px);
    }

    75% {
        transform: translateX(3px);
    }
}

/*ゆらふわ合体*/

.float-rotate {
    display: inline-block;
    animation: floatRotate 5s ease-in-out infinite;
}

@keyframes floatRotate {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

/* ==============================

　　スクロールダウン　1

　============================== */

.scrolldown {
    position: relative;
    width: fit-content;
    height: auto;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.scrolldown:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(180deg, rgba(#000, 0) 0, rgba(#000, .8) 80%, rgba(#000, .8) 100%);
}

.scrolldown a {
    display: inline-block;
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: fit-content;
    padding: 10px 10px 110px;
    color: #000;
    font-size: 11px;
    line-height: 1;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    writing-mode: vertical-lr;
    transition: .2s;
    overflow: hidden;
    margin: auto;
    text-align: center;
}

.scrolldown a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2px;
    height: 100px;
    background: #ddd;
    right: 0;
    margin: auto;
}

.scrolldown a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 2px;
    height: 100px;
    background: #000;
}

.scrolldown a:hover {
    opacity: .5;
}

#scroll-01 a:after {
    animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl01 {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }

    50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }

    50.1% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }

    100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
    }
}

/* ==============================

　　スクロールダウン　2

　============================== */
.scroll-02 {
    max-width: fit-content;
    margin: auto;
    text-align: center;
    position: relative;
}

.scroll-02 .arrow {
    position: absolute;
    width: 28px;
    height: 5px;
    opacity: 0;
    transform: scale3d(0.5, 0.5, 0.5);
    animation: move 3s ease-out infinite;
    margin: auto;
    left: 0;
    right: 0;
    top: 10px;
}

.scroll-02 .arrow:first-child {
    animation: move 3s ease-out 1s infinite;
}

.scroll-02 .arrow:nth-child(2) {
    animation: move 3s ease-out 2s infinite;
}

.scroll-02 .arrow:before,
.scroll-02 .arrow:after {
    content: ' ';
    position: absolute;
    top: 0;
    height: 100%;
    width: 51%;
    background: #000;
}

.scroll-02 .arrow:before {
    left: 0;
    transform: skew(0deg, 30deg);
}

.scroll-02 .arrow:after {
    right: 0;
    width: 50%;
    transform: skew(0deg, -30deg);
}

@keyframes move {
    25% {
        opacity: 1;
    }

    33% {
        opacity: 1;
        transform: translateY(30px);
    }

    67% {
        opacity: 1;
        transform: translateY(40px);
    }

    100% {
        opacity: 0;
        transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
    }
}

/* ==============================

　　スクロールダウン　3

　============================== */

.scroll-03 a {
    display: inline-block;
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: fit-content;
    padding: 10px 10px 110px;
    color: #000;
    font-size: 11px;
    line-height: 1;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    writing-mode: vertical-lr;
    transition: .2s;
    overflow: hidden;
    margin: auto;
    text-align: center;
}

.scroll-03 {
    position: relative;
}

.scroll-03:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #000;
    animation:
        circlemove 1.6s ease-in-out infinite,
        cirlemovehide 1.6s ease-out infinite;
}

@keyframes circlemove {
    0% {
        bottom: 160px;
    }

    100% {
        bottom: 0px;
    }
}

@keyframes cirlemovehide {
    0% {
        opacity: 0
    }

    50% {
        opacity: 1;
    }

    80% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
    }
}

.scroll-03:after {
    content: "";
    position: absolute;
    left: 0;
    width: 2px;
    height: 160px;
    background: #000;
    top: 14px;
}

/* ==============================

　　reveal-text

　============================== */

.reveal-text span {
    opacity: 0;
    transform: translateY(20px);
    display: inline-block;
    transition: all 0.5s ease;
}

.reveal-text.visible span {
    opacity: 1;
    transform: translateY(0);
}