@media screen and (max-width: 1280px) {
    .trail-item:nth-of-type(2) {
        margin-right: 0;
    }
}
@media screen and (max-width: 1120px) {
    
}
@media screen and (max-width: 1024px) {
    :root {
        --fs-xxxl: 50px;
        --fs-xxl: 36px;
        --fs-xl: 26px;
        --fs-l: 22px;
        --fs-m: 18px;
        --fs-s: 16px;
        --fs-xs: 15px;
        --fs-xxs: 14px;
        --fs-xxxs: 12px;
    }

    /* header */
    .hbg-btn {
		display: block;
	}
    .nav-top ul {
		flex-direction: column;
        align-items: center;
        gap: 20px;
        margin: 0 auto;
        padding: 100px 32px 32px;
        position: fixed;
        inset: 0;
        background: var(--color-skin-100);
        transform: scale(1.1);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s ease;
        z-index: 90;
	}
    .active .nav-top ul {
        transform: scale(1);
        opacity: 1;
        pointer-events: initial;
    }
    .nav-top ul li.icon-links {
        margin-left: 0px;
    }
    .nav-top ul li + li::before {
        border: 0;
        height: 0;
        display: block;
        width: 16px;
        margin: 16px auto;
        border-top: 1px solid var(--color-black);
    }
    .nav-top ul a {
        font-size: var(--fs-l);
    }
    .nav-top ul a.icon-link {
        font-size: var(--fs-l);
    }

    /* sec */
    #sec-shop .sec-title {
        transform: none;
    }
    #sec-show .sec-title {
        position: relative;
        z-index: 5;
    }
    /* timeline */
    #sec-show .container {
        padding-bottom: 50%;
    }
    .timeline {
        width: calc(100% + 60px);
        margin-left: -30px;
    }
    .event-row {
        display: grid;
        grid-template-columns: 80px 1fr;
    }
    .event-col:nth-of-type(1) {
        grid-row: 1 / 3;
        padding: 11px;
        min-width: 80px;
    }
    .event-col:nth-of-type(2) p {
        display: none;
    }
    .event-col:nth-of-type(3) {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 304px;
        flex-direction: row;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 12px;
    }
}
@media screen and (max-width: 768px) {
    .top-title {
        width: 70%;
    }
    #sec-top .bg-wrap img:nth-of-type(2) {
        width: 200%;
        height: 90%;
        object-fit: cover;
        object-position: 18% 50%;
        bottom: 0;
    }
    /* about */
    #sec-about .dec-middle {
        margin: 15% 0;
    }
    #sec-about .dec-middle svg {
        width: 200%;
    }
    #sec-about .dec-middle img:nth-of-type(1) {
        display: none;
    }
    #sec-about .dec-middle img:nth-of-type(2) {
        top: -20%;
        width: auto;
    }
    #sec-about .dec-middle img:nth-of-type(3) {
        display: none;
    }
    .about-list {
        display: block;
        margin-top: 40%;
    }
    .about-list .green-item {
        margin-top: 40%;
        width: 80%;
        padding-top: 100px;
        padding-bottom: 40px;
    }
    .about-list .green-item:nth-of-type(2n) {
        margin-top: 30%;
        margin-left: 20%;
    }
    .about-list .green-item:nth-of-type(2n + 1) {
        margin-bottom: 0;
        margin-right: 20%;
    }
    #sec-about .dec-middle + .container {
        padding-bottom: 50%;
    }

    .btn {
        padding: 12px 32px 14px;
    }
    .shop-slide {
        width: 180px;
    }
    /* shop */
    #sec-shop .dec-top img:nth-of-type(1) {
        top: -100%;
        left: 0;
        right: 0;
    }
    #sec-shop .dec-top img:nth-of-type(2) {
        display: none;
    }
    #sec-shop .container:last-of-type {
        padding-bottom: 40%;
    }
    /* trail */
    .trail-item:nth-of-type(2) h3,
    .trail-item:nth-of-type(2) a {
        margin-right: 0%;
    }
    .trail-item img:nth-of-type(2) {
        bottom: 0px;
        width: 20%;
    }
    /* popup */
    .tag-list {
        justify-content: center;
    }
    .detail-content {
        flex-direction: column;
        gap: 30px;
    }
    .detail-left {
        width: 100%;
    }
    .detail-info {
        width: 100%;
        padding-left: 0;
    }
}
@media screen and (max-width: 660px) {
    header .container {
        padding: 0;
    }
    .nav-top {
        padding: 4px 32px 2px 32px;
        width: 100%;
    }
    /* timeline */
    .tab-selectors.day-selectors a {
        font-size: var(--fs-m);
    }
    .tab-selectors.day-selectors a span {
        font-size: var(--fs-xxs);
    }
    .event-col {
        padding: 24px 12px 24px 0;
    }
    .event-col:nth-of-type(2) {
        flex-direction: column;
        align-items: center;
    }
    .event-col:nth-of-type(3) {
        position: relative;
        inset: auto;
        justify-content: center;
    }
    .event-img-wrap {
        width: calc(100% - 30px);
    }
    .event-row:hover .event-img-wrap {
        transform: scale(1.05);
    }
    /* trail */
    .trail-wrap {
        flex-direction: column;
        gap: 80px;
    }
    #sec-trail .bg-wrap {
        background-image: url('../img/bg-event-02.png');
        background-repeat: repeat-y;
        background-size: 100% auto;
    }
    #sec-trail .bg-wrap img:nth-of-type(1) {
        display: none;
    }
    #sec-trail .bg-wrap img:nth-of-type(2) {
        transform: rotate(90deg) scaleY(1.25);
        width: 150%;
        left: -50%;
        right: -50%;
        top: 10%;
    }
    /* footer */
    .logo-list h4 {
        position: relative;
        width: 100%;
        justify-content: center;
    }
    .logo-list {
        justify-content: center;
        padding-left: 0;
        margin: 0 auto;
        max-width: 450px;
    }
    .logo-list + .logo-list {
        margin-top: 40px;
    }
}
@media screen and (max-width: 540px) {
    /* about */
    .about-list {
    }
    .about-list .green-item {
        margin-top: 30%;
        width: 100%;
        padding-top: 100px;
        padding-bottom: 40px;
    }
    .about-list .green-item:nth-of-type(2n) {
        margin-top: 40%;
        margin-left: 0%;
    }
    .about-list .green-item:nth-of-type(2n + 1) {
        margin-bottom: 0;
        margin-right: 0%;
    }
    #sec-about .dec-middle + .container {
        padding-bottom: 40%;
    }
    #sec-trail .bg-wrap img:nth-of-type(2) {
        width: 200%;
    }
    .logo-list {
        max-width: 300px;
    }
    /* popup */
    .popup-wrapper ::-webkit-scrollbar {
        width: 4px;
        height: 4px;
    }
    .popup-container {
        padding: 0;
    }
    .popup-header {
        align-items: stretch;
        margin-bottom: 0;
    }
    .popup-header .popup-btns {
        white-space: nowrap;
        overflow-y: hidden;
        overflow-x: auto;
    }
    .popup-header .popup-btn {
        padding: 6px 12px 8px;
        border-radius: 0;
    }
    .popup-header .popup-close {
        padding: 0 6px;
        border-left: 2px solid var(--color-white)
    }
    .popup-main {
        padding: 0;
    }
    .popup-card {
        position: relative;
        box-shadow: 0;
        border-right: 6px solid var(--color-skin-100);
    }
    .scroller-sidebar {
        width: auto;
        padding: 0px;
        height: 40px;
    }
    .sidebar-wrap.expanded .scroller-sidebar {
        max-height: 320px;
        height: auto;
    }
    .detail-nav a {
        padding-right: 60px;
    }
    .sidebar-wrap {
        position: absolute;
        width: fit-content;
        max-height: 40px;
        overflow: hidden;
        border-top-left-radius: 12px;
        border-bottom-right-radius: 12px;
        z-index: 5;
        transition: all 0.6s ease;
    }
    .sidebar-wrap.expanded {
        max-height: 320px;
    }
    .sidebar-toggler {
        display: inline-block;
        position: absolute;
        width: 40px;
        height: 40px;
        color: var(--color-rock-500);
        /* background-color: var(--color-brown-300); */
        top: 0px;
        right: 12px;
        z-index: 100;
        border-radius: 50%;
        padding-bottom: 3px;
        pointer-events: none;
    }
    .sidebar-wrap.expanded .sidebar-toggler {
        transform: rotate(180deg);
    }
}