.photo {
    position: relative; 
}
.photo .cont {
    padding-top: 200px;
}
.photo .tabWrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.photo .tabWrap .years__tab {
    opacity: 0; transform: translateY(40px);
    display: flex; align-items: center; justify-content: space-between; font-size: 18px;
    gap: calc(20/18*1em); width: calc(957/18*1em);
    height: calc(118/18*1em); border-bottom: 1px solid #ccc;
}
.photo .tabWrap .years__tab .years__tab-item {
    cursor: pointer;
    position: relative;
    display: flex; flex-direction: column;
    height: 100%;
}
.photo .tabWrap .years__tab .years__tab-item > span {
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    font-family: 'Mulish'; font-weight: 500;
    color: #727272; text-align: center;
    display: flex; align-items: center; justify-content: center;
    width: calc(180/18*1em); height: calc(65/18*1em);
    border-radius: calc(32/18*1em);
    border: 1px solid #ccc;
    background: #fff;
    transition: all 0.3s ease;
}
.photo .tabWrap .years__tab .years__tab-item.active > span {
    color: #fff;
    background: #013d7c;
    border-color: #013d7c;
}
.photo .tabWrap .years__tab .years__tab-item .years__tab-item-arrow {
    position: absolute;
    bottom: 0; left: 50%; transform: translate(-50%, 50%);
    display: flex; align-items: center; justify-content: center;
    width: calc(40/18*1em); height: calc(40/18*1em);
    border-radius: 50%;
    background: #fff;
    color: #fff;
    border: 3px solid #eee;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.photo .tabWrap .years__tab .years__tab-item.active .years__tab-item-arrow {
    border-color: #e2f0f8;
    color: #013d7c;
}

@keyframes left_d {
    0% {
        transform: scaleX(-1) translateX(0);
    }
    50% {
        transform: scaleX(-1) translateX(-10%);
    }
    100% {
        transform: scaleX(-1) translateX(0);
    }
}
@keyframes left_d-mg {
    0% {
        transform: scaleX(-1) translateX(40%);
    }
    50% {
        transform: scaleX(-1) translateX(30%);
    }
    100% {
        transform: scaleX(-1) translateX(40%);
    }
}
@keyframes right_d {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-10%);
    }
    100% {
        transform: translateX(0);
    }
}
@keyframes right_d-mg {
    0% {
        transform: translateX(40%);
    }
    50% {
        transform: translateX(30%);
    }
    100% {
        transform: translateX(40%);
    }
}

.photo .photo__list {
    display: flex; flex-direction: column; align-items: center;
    margin-top: 175px; user-select: none;
}
.photo .photo__list .dragWrap {
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    font-family: 'Mulish';
    font-weight: 500;
    color: #013d7c;
    margin-bottom: calc(60/24*1em);
}
.photo .photo__list .dragWrap > span {
    padding: 0 calc(5/24*1em);
}

.photo .photo__list .dragWrap > i {
    font-size: calc(22/24*1em);
}
.photo .photo__list .dragWrap > i:not(.mg) {
    opacity: .6;
}
.photo .photo__list .dragWrap > i.left {
    transform: scaleX(-1);
}
.photo .photo__list .dragWrap > i.left.mg {
    transform: scaleX(-1) translateX(40%);
}
.photo .photo__list .dragWrap > i.right.mg {
    transform: translateX(40%);
}

.photo .photo__list .dragWrap > i.left:not(.mg) {
    animation: left_d 1.2s linear infinite;
}
.photo .photo__list .dragWrap > i.right:not(.mg) {
    animation: right_d 1.2s linear infinite;
}
.photo .photo__list .dragWrap > i.left.mg {
    animation: left_d-mg 1.2s linear infinite;
}
.photo .photo__list .dragWrap > i.right.mg {
    animation: right_d-mg 1.2s linear infinite;
}

.photo .photo__list .photo__list__swiper {
    width: 100%;
    border-top: 1px solid #ccc;
    padding: 0 calc(247/1920*100vw);
    box-sizing: border-box;
    overflow: visible;
}
.photo .photo__list .photo__list__swiper .swiper-wrap {
    position: relative;
    overflow: visible;
}
.photo .photo__list .photo__list__swiper .swiper-wrap .swiper {
    overflow: visible;
    opacity: 0; visibility: hidden;
    transition: all 0.6s ease;
}
.photo .photo__list .photo__list__swiper .swiper-wrap .swiper:not(._1) {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
}
.photo .photo__list .photo__list__swiper .swiper-wrap .swiper.active {
    opacity: 1; visibility: visible;
}
.photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide {
    width: 440px;
    position: relative;
    padding-top: 165px;
}
.photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide .circle {
    position: absolute;
    top: 0; left: 50%;
    width: calc(24/440*100%);
    border-radius: 50%;
    border: 3px solid #10589b;
    background: #fff;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide .circle::before {
    content: '';
    padding-top: 100%;
    display: block;
}
.photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide .line {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 80%;
    background: #cccccc;
}
.photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide .photo__list__swiper-item {
    position: relative; z-index: 4;
    width: 100%;
}
.photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide .photo__list__swiper-item .img {
    width: 100%;
    position: relative;
}
.photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide .photo__list__swiper-item .img::before {
    content: '';
    display: block;
    padding-top: calc(300/440*100%);
}
.photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide .photo__list__swiper-item .img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
}
.photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide .photo__list__swiper-item .img .text {
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    font-size: 36px;
    font-family: 'Pretendard';
    font-weight: 700; letter-spacing: -0.03em;
    color: #fff;
    transition: all 0.3s ease;
}
@media screen and (min-width: 821px) {
    .photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide:hover .photo__list__swiper-item .img .text {
        opacity: 0;
    }
}
.photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide .photo__list__swiper-item .year {
    font-size: 16px;
    font-family: 'Pretendard';
    font-weight: 500;
    color: #727272;
    padding-bottom: calc(10/16*1em);
    display: block;
}
.photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide .photo__list__swiper-item .title {
    font-size: 20px;
    font-family: 'Pretendard';
    font-weight: 700; letter-spacing: -0.03em; line-height: 1.4;
    word-break: keep-all;
    color: #3b3b3b; padding-top: calc(15/20*1em);
    display: block;
    text-align: right;
}
.photo .back_btn {
    display: flex; align-items: center; justify-content: center;
    width: calc(60/16*1em); height: calc(60/16*1em);
    position: absolute;
    bottom: 100px; left: calc(100/1920*100vw);
    z-index: 100;
    background: #013d7c;
    border-radius: 50%;
    font-size: 16px;
    font-family: 'Mulish';
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.03em;
    cursor: pointer;
}

/* 1440px */
@media screen and (max-width: 1440px) {
    .photo .photo__list .photo__list__swiper {
        padding: 0 calc(150/1440*100vw);
    }
    .photo .back_btn {
        left: calc(50/1440*100vw);
    }
}

/* 1280px */
@media screen and (max-width: 1280px) {
    .photo .tabWrap .years__tab {
        font-size: 16px;
    }
    .photo .cont {
        padding-top: 150px; padding-bottom: 100px;
    }
    .photo .photo__list .photo__list__swiper {
        padding: 0 calc(100/1280*100vw);
    }
    .photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide {
        width: 400px;
        padding-top: 120px;
    }
}

/* 1024px */
@media screen and (max-width: 1024px) {
    .photo .tabWrap .years__tab {
        font-size: 14px;
        width: calc(867 / 18 * 1em);
    }
    .photo .tabWrap .years__tab .years__tab-item > span{
        width: calc(160 / 18 * 1em);
    }
    .photo .photo__list {
        margin-top: 100px;
    }
    .photo .photo__list .photo__list__swiper {
        padding: 0 calc(50/1024*100vw);
    }
    .photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide {
        width: 360px;
    }
    .photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide .photo__list__swiper-item .title {
        font-size: 18px;
    }
}

/* 태블릿 & 모바일 공통 */
@media screen and (max-width: 820px) {
    .photo .cont {
        padding-top: 100px;
    }
    .photo .tabWrap .years__tab {
        width: 100%;
        max-width: 600px;
        border-bottom: none;
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
    }
    .photo .tabWrap .years__tab .years__tab-item {
        width: calc(100% / 2 - 10px);
        display: flex; flex-direction: column;
        align-items: center; gap: 10px; height: auto;
    }
    .photo .tabWrap .years__tab .years__tab-item > span {
        position: static;
        transform: none;
        width: 100%;
        height: calc(50/16*1em);
    }
    .photo .tabWrap .years__tab .years__tab-item .years__tab-item-arrow {
        position: static;
        transform: none;
        display: none;
    }
    .photo .photo__list {
        margin-top: 100px;
    }
    .photo .photo__list .dragWrap {
        font-size: 20px;
    }
    .photo .photo__list .photo__list__swiper {
        padding: 0 calc(30/820*100vw);
    }
    .photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide {
        width: 320px;
        padding-top: 100px;
    }
    .photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide .photo__list__swiper-item .img .text {
        font-size: 30px;
    }
    .photo .back_btn {
        width: calc(50/16*1em);
        height: calc(50/16*1em);
        bottom: 50px;
        left: calc(30/820*100vw);
    }
}

/* 500px */
@media screen and (max-width: 500px) {
    .photo .cont {
        padding-top: 60px; padding-bottom: 60px;
    }
    .photo .tabWrap .years__tab {
        font-size: 14px;
        gap: calc(10/14*1em);
    }
    .photo .tabWrap .years__tab .years__tab-item > span {
        height: calc(40/14*1em);
    }
    .photo .photo__list {
        margin-top: 60px;
    }
    .photo .photo__list .dragWrap {
        font-size: 18px;
    }
    .photo .photo__list .photo__list__swiper {
        padding: 0 calc(20/500*100vw);
    }
    .photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide {
        width: 280px;
        padding-top: 80px;
    }
    .photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide .photo__list__swiper-item .img .text {
        font-size: 26px;
    }
    .photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide .photo__list__swiper-item .title {
        font-size: 16px;
    }
    .photo .back_btn {
        width: calc(45/16*1em);
        height: calc(45/16*1em);
        bottom: 30px;
        left: calc(20/500*100vw);
    }
}

/* 360px */
@media screen and (max-width: 360px) {
    .photo .tabWrap .years__tab {
        font-size: 12px;
        height: calc(90/12*1em);
    }
    .photo .tabWrap .years__tab .years__tab-item > span {
        width: calc(100/12*1em);
        height: calc(35/12*1em);
    }
    .photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide {
        width: 240px;
        padding-top: 60px;
    }
    .photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide .photo__list__swiper-item .img .text {
        font-size: 24px;
    }
    .photo .photo__list .photo__list__swiper .swiper-wrap .swiper .swiper-slide .photo__list__swiper-item .title {
        font-size: 14px;
    }
    .photo .back_btn {
        width: calc(40/16*1em);
        height: calc(40/16*1em);
        bottom: 20px;
        left: calc(15/360*100vw);
    }
}


