@import url('/fonts/pretendard/pretendard.css');

.tour-01 {
    --template-image-height-desktop: 600;
    --template-image-height-mobile: 272;
    --template-image-width-desktop: 428;
    --template-image-width-mobile: 194;
    position: relative;
    display: grid;
    grid-template-columns: minmax(360px, 35%) 1fr;
    overflow: hidden;
    background: #fff;
    color: #191919;
    font-family: var(--font-suit);
}

.tour-01-content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 46px;
    background: #fff;
}

body[data-site-background] .tour-01-content {
    background-color: var(--site-background) !important;
}

.tour-01-content h2 {
    font-family: var(--font-ivymode);
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 1.6px;
    line-height: 40px;
    margin-bottom: 0;
}

.tour-01-content > strong {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -.77px;
    font-weight: 500;
    margin-bottom: 32px;
}

.tour-01-content > div {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -.77px;
    font-weight: 500;
    word-break: keep-all;
    margin-bottom: 0;
}

.tour-01-content > a {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    border: 1px solid #939393;
    color: #222;
    font-size: 12px;
    font-family: var(--font-ivymode);
    line-height: 12px;
    letter-spacing: .6px;
    width: 90px;
    height: 34px;
}

.tour-01-visual {
    position: relative;
    min-width: 0;
    height: var(--template-image-height, var(--tour-section-height, auto));
}

.tour-01-gallery {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 100%;
    min-width: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.tour-01-gallery::-webkit-scrollbar {
    display: none;
}

.tour-01-gallery figure {
    position: relative;
    flex: 0 0 auto;
    width: auto;
    height: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 107 / 150;
    scroll-snap-align: start;
}

.tour-01-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tour-01-gallery figcaption {
    position: absolute;
    bottom: 24px;
    margin-left: 24px;
    color: #fff;
    font-size: 11px;
}

.tour-01-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #191919;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, .160784);
    cursor: pointer;
    line-height: 0;
    transform: translateY(-50%);
}

.tour-01-arrow-icon {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
    pointer-events: none;
}

.tour-01-arrow.next .tour-01-arrow-icon {
    transform: rotate(180deg);
    transform-origin: center;
}

.tour-01-arrow.prev {
    left: -19px;
}

.tour-01-arrow.next {
    right: 26px;
}

@media (min-width: 861px) {
    .tour-01 {
        --tour-section-height: var(--template-image-height, clamp(450px, 41.666667vw, 600px));
        --tour-content-width: clamp(360px, 35.138889vw, 506px);
        --tour-image-width: var(--template-image-width, clamp(321px, 29.722222vw, 428px));

        grid-template-columns: var(--tour-content-width) 1fr;
        height: var(--tour-section-height);
        min-height: var(--tour-section-height);
    }

    .tour-01-gallery figure {
        flex-basis: var(--tour-image-width);
        width: var(--tour-image-width);
    }
}

@media (min-width: 481px) and (max-width: 860px) {
    .tour-01 {
        display: block;
    }

    .tour-01-content {
        padding: 80px 32px 18px;
    }

    .tour-01-content h2 {
        margin-bottom: 4px;
        font-size: 24px;
    }

    .tour-01-content > strong {
        margin-bottom: 14px;
        font-size: 10px;
    }

    .tour-01-content > div {
        max-width: 620px;
        font-size: 9px;
        line-height: 1.55;
    }

    .tour-01-content > a {
        margin-top: 11px;
        padding: 5px 10px;
        font-size: 8px;
    }

    .tour-01-gallery {
        padding-left: 32px;
    }

    .tour-01-gallery figure {
        width: var(--template-image-width, 240px);
        height: var(--template-image-height, 337px);
        aspect-ratio: auto;
    }

    .tour-01-arrow {
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
    }

    .tour-01-arrow.prev {
        left: 16px;
    }

    .tour-01-arrow.next {
        right: 16px;
    }
}

/* Main_390 reference values, applied through the 480px mobile breakpoint. */
@media (max-width: 480px) {
    .tour-01 {
        display: flex;
        flex-direction: column;
    }

    .tour-01-content {
        justify-content: flex-start;
        padding: 0 15px 10px;
    }

    .tour-01-content > p {
        display: none;
    }

    .tour-01-content h2 {
        margin-bottom: -7px;
        font-size: 20px;
        line-height: 40px;
        letter-spacing: 1px;
    }

    .tour-01-content > strong {
        margin-bottom: 16px;
        font-size: 14px;
        line-height: 24px;
        letter-spacing: -.67px;
    }

    .tour-01-content > div {
        font-size: 14px;
        line-height: 18px;
        letter-spacing: -.67px;
    }

    .tour-01-content > a {
        width: 90px;
        height: 34px;
        margin-top: 16px;
        padding: 0;
        font-size: 12px;
        line-height: 16px;
        letter-spacing: .6px;
    }

    .tour-01-gallery {
    }

    .tour-01-gallery figure {
        width: var(--template-image-width, 194px);
        height: var(--template-image-height, 272px);
        aspect-ratio: auto;
    }

    .tour-01-gallery figcaption {
        display: none;
    }

    .tour-01-arrow {
        width: 24px;
        height: 24px;
    }

    .tour-01-arrow.prev {
        left: 8px;
    }

    .tour-01-arrow.next {
        right: 8px;
    }
}
