@charset "utf-8";

/* ---------------------------
    共通
----------------------------- */
.page__head {
    background-image: url("../images/localGuide/bgMain.webp");
}

@media screen and (max-width: 750px) {
    .page__head {
        background-image: url("../images/localGuide/bgMainSp.webp");
    }
}

/* ---------------------------
    メインコンテンツ
----------------------------- */
.section__title {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.section__title .en {
    font-size: 5.8rem;
    font-weight: 300;
    letter-spacing: 0.2947rem;
}

.section__title .ja {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.16rem;
}

@media screen and (max-width: 750px) {
    .section__title {
        gap: 0.5rem;
        align-items: center;
    }

    .section__title .en {
        font-size: 4.2rem;
        letter-spacing: 0.2rem;
    }

    .section__title .ja {
        font-size: 1.7rem;
        letter-spacing: 0.136rem;
    }
}

.map {
    margin-top: 36%;
    background: var(--color-main);
    overflow: hidden;
}

.map__layout {
    display: flex;
    gap: 8%;
}

.map__contents {
    width: 32.7%;
}

.map__contents-text {
    margin-top: 5.6rem;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2.57;
    letter-spacing: 0.07rem;
}

.map__contents-box {
    margin-top: 3rem;
    padding: 3rem;
    border: 1px solid #000;
}

.map__contents-box .large {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.07rem;
}

.map__contents-box .small {
    margin-top: 1.35rem;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 2.38;
    letter-spacing: 0.065rem;
}

.map__img {
    width: 59.3%;
    height: auto;
}

.map__img img {
    width: 100%;
    height: auto;
}
.touch-indicator{
    display: none;
}

@media screen and (max-width: 750px) {
    .map {
        margin-top: 100lvh;
    }

    .map.space-top-bottom {
        padding: 10rem 0 6rem;
    }

    .map__layout {
        flex-direction: column;
    }

    .map__contents {
        width: 100%;
    }

    .map__contents-text {
        margin-top: 2.6rem;
    }

    .map__contents-box .large svg {
        width: 2.9rem;
        height: 2.9rem;
    }

    .map__img {
        position: relative;
        margin-top: 8.4rem;
        width: 115%;
        left: -7.5%;
        overflow-x: scroll;
    }

    .map__img img {
        text-align: center;
        width: 150%;
        max-width: none;
    }

    .touch-indicator {
        display: block;
        width: 21.5rem !important;
        height: 21.5rem !important;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);

        /* アニメーション設定 */
        animation: touchPulse 3s ease-in-out infinite;
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    /* 代替案1: 基本クラスにもゆったりtransitionを設定 */
    .touch-indicator {
        width: 21.5rem !important;
        height: 21.5rem !important;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);

        /* アニメーション設定 */
        animation: touchPulse 3s ease-in-out infinite;
    }

    /* タッチ誘導のパルスアニメーション */
    @keyframes touchPulse {
        0% {
            opacity: 0.3;
            transform: translate(-50%, -50%) scale(0.9);
        }

        50% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1.1);
        }

        100% {
            opacity: 0.3;
            transform: translate(-50%, -50%) scale(0.9);
        }
    }
}

/* Spot */
.spot {
    background: var(--color-main);

}

.spot.space-top-bottom {
    padding: 0 0 180px;
}

.spot__layout {
    display: flex;
    gap: 10%;
}

.spot__nav {
    width: 19.5rem;
}

.spot__nav-list {
    counter-reset: spot-counter;
    margin-top: 5.6rem;
    display: flex;
    flex-direction: column;
    gap: 2.3rem;
}

.spot__nav-item {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.128rem;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    cursor: pointer;
    counter-increment: spot-counter;
    transition: .5s;
}

.spot__nav-item span {
    width: 14rem;
}

.spot__nav-item.active {
    opacity: 0.5;
}

.spot__nav-item.active svg {
    display: none;
}

.spot__nav-item:hover {
    opacity: 0.5;
}

.spot__nav-item::before {
    content: counter(spot-counter, decimal-leading-zero);
    width: 3.1rem;
    aspect-ratio: 27 / 35;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="27" height="35" viewBox="0 0 27 35" fill="none"><path d="M25.9522 10.2376C28.1584 17.9055 23.2482 22.7215 19.2797 26.8783C16.5085 29.7841 15.0018 32.6764 14.2216 34.5732C13.9794 35.1651 13.1319 35.1516 12.9167 34.5463C12.2306 32.636 10.7508 29.7437 7.6702 26.8918C3.63444 23.1789 0.5 19.0355 0.5 13.9505C0.5 5.71751 8.15449 -1.73519 16.7372 0.632457C21.2976 1.88354 24.6473 5.69061 25.9522 10.2376Z" fill="%23121212"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: -0.0165rem;
    padding-top: 0.6rem;
}



.spot__contents {
    flex: 1;
    color: #000;
    transition: 0.6s;
}

.spot__img img {
    width: 100%;
    height: auto;
}

.spot__contents-title {
    margin-top: 4rem;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.spot__contents-title .num {
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: 0.4rem;
}

.spot__contents-title .ja {
    flex: 1;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.2rem;
}

.spot__contents-text {
    margin-top: 1.6rem;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2.57;
    letter-spacing: 0.07rem;
}

.spot__contents-link {
    margin-top: 1.65rem;
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--color-black);
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.29;
    letter-spacing: 0.085rem;
    transition: .5s;
}

.spot__contents-link:hover {
    opacity: 0.5;
}

@media screen and (max-width: 750px) {
    .spot.space-top-bottom {
        padding: 0 0 10rem;
    }

    .spot__layout {
        flex-direction: column;
        gap: 6rem;
    }


    .spot__nav {
        width: 100%;
        ;
    }

    .spot__nav-list {
        counter-reset: spot-counter;
        margin-top: 5.6rem;
        display: grid;
        grid-template-columns: 16.6rem 14.4rem;
        gap: 2.3rem 2.7rem;
    }

    .spot__nav-item {
        font-size: 1.5rem;
        letter-spacing: 0.12rem;
        gap: 0.6rem;
    }

    .spot__nav-item span {
        width: fit-content;
        padding-left: 0.2rem;
    }

    .spot__nav-item .arrow {
        width: 0.4647rem;
        height: 1.0224rem;
    }

    .spot__nav-item::before {
        width: 2.8rem;
        font-size: 1.5rem;
        letter-spacing: -0.0154rem;
    }

    .spot__contents {
        width: 100%;
        flex: none;
        text-align: center;
    }

    .spot__img {
        position: relative;
        width: 115%;
        left: -7.5%;
    }

    .spot__contents-title {
        margin-top: 4rem;
        justify-content: center;
        gap: 1.6rem;
    }

    .spot__contents-title .num {
        font-size: 4.3rem;
        letter-spacing: 0.344rem;
    }

    .spot__contents-title .ja {
        font-size: 2.3rem;
        letter-spacing: 0.184rem;
        flex: none;
        width: fit-content;
    }

    .spot__contents-text {
        margin-top: 1.9rem;
        text-align-last: left;
    }

    .spot__contents-link {
        margin-top: 2.5rem;
        gap: 1.5rem;
        padding-bottom: 1rem;
        font-size: 2.2rem;
        letter-spacing: 0.11rem;
    }


}