.loveletter.index {padding-top: 0px;}
.loveletter.index .loveletter-banner {position: relative; height: 100vh; display: flex; align-items: center; justify-content: center;}
.loveletter.index .loveletter-banner .banner-img {position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;}
.loveletter.index .loveletter-banner .banner-img img {width: 100%; height: 100%; object-fit: cover;}
.loveletter.index .loveletter-banner .banner-text {position: relative; z-index: 1; text-align: center;}
.loveletter.index .loveletter-banner .banner-text h2 {font-family: 'disol_headline'; font-size: 93px; letter-spacing: -0.025em; color: #fff; padding-bottom: calc(25/93*1em);}
.loveletter.index .loveletter-banner .banner-text p {font-family: 'Trattatello'; font-size: 26px; color: #f6ad3c;}

.loveletter.index .archive {padding-top: 200px;}
.loveletter.index .archive h3 {font-family: 'disol_headline'; font-size: 72px; letter-spacing: -0.025em; color: #fff; padding-bottom: calc(60/72*1em); text-align: center;}
.loveletter.index .archive .archive-list {display: flex; gap: 80px 40px; flex-wrap: wrap; position: relative;}
.loveletter.index .archive .nextList {margin-top: 80px; position: relative; padding-top: 370px; overflow: hidden;}
.loveletter.index .archive .nextList::after {content: ''; display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, .5) 100%);}

.loveletter.index .archive .archive-item { width: calc(100% / 3 - (40px * 2 / 3)); position: relative;}
.loveletter.index .archive .archive-item:nth-child(3n - 2) {transform: translateY(40px);}
.loveletter.index .archive .archive-item:nth-child(3n - 3) {transform: translateY(40px);}
.loveletter.index .archive .archive-item::before {content: ''; display: block; padding-top: calc(574/450*100%);}
.loveletter.index .archive .archive-item .archive-item-img {filter: brightness(0.4); transition: .8s; overflow: hidden; width: 100%; height: 100%; position: absolute; left: 0; top: 0; }
.loveletter.index .archive .archive-item .archive-item-img img { width: 100%; height: 100%; object-fit: cover;}
.loveletter.index .archive .archive-item .archive-item-text {transition: opacity 0.8s; font-size: 25px; position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: calc(120/25*1em) calc(75/25*1em) calc(100/25*1em); text-align: center; box-sizing: border-box;}
.loveletter.index .archive .archive-item .archive-item-text .to {flex-shrink: 0; font-family: 'Trattatello'; font-size: 26px; color: #f6ad3c; padding-bottom: calc(30/26*1em);}
.loveletter.index .archive .archive-item .archive-item-text .comment {flex-grow: 1; font-family: 'Pretendard'; font-size: inherit; font-weight: 500; color: #fff; line-height: calc(40/25*1em); text-align: center; word-break: keep-all;
    /* 제목넘치면밑줄 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    max-height: calc(40/25*1em * 5);
}
.loveletter.index .archive .archive-item .archive-item-text .date {flex-shrink: 0; font-family: 'Trattatello'; font-size: 22px; color: #fff;}

.loveletter.index .archive .nextList .btn-load {position: absolute; left: 50%; top: 0%; transform: translateX(-50%); margin-top: calc(115/20*1em); font-size: 20px; font-family: 'disol_ragular'; font-weight: bold; letter-spacing: -0.025em; color: #fff; border: 1px solid #fff; outline: none; border-radius: calc(10/20*1em); padding: calc(25/20*1em) calc(85/20*1em); z-index: 1; background: transparent; cursor: pointer;}
.loveletter.index .archive .nextList .archive-list {position: absolute; left: 0; top: 0; width: 100%; padding-bottom: 10px;}

.loveletter.index .followUs {position: relative; z-index: 1;}
.loveletter.index .followUs:before {content: ''; display: block; position: absolute; left: 0; top: 0; width: 100%; height: 2px; transform: translateY(-50%); background: #000;}


@media (min-width: 821px) {
    .loveletter.index .archive .archive-item:hover .archive-item-img {filter: brightness(1);}
    .loveletter.index .archive .archive-item:hover .archive-item-text {opacity: 0;}
}

/* 1440px 반응형 */
@media (max-width: 1440px) {
    .loveletter.index .archive {padding-top: 150px;}
    .loveletter.index .archive h3 {font-size: 65px;}
    .loveletter.index .archive .archive-list {gap: 60px 30px;}
    .loveletter.index .archive .archive-item .archive-item-text {font-size: 22px; padding: calc(100/22*1em) calc(60/22*1em) calc(80/22*1em);}
}

/* 1280px 반응형 */
@media (max-width: 1280px) {
    .loveletter.index .loveletter-banner .banner-text h2 {font-size: 80px;}
    .loveletter.index .archive h3 {font-size: 60px;}
    .loveletter.index .archive .archive-item .archive-item-text {font-size: 20px;}
    .loveletter.index .archive .archive-item .archive-item-text .to {font-size: 24px;}
    .loveletter.index .archive .archive-item .archive-item-text .date {font-size: 20px;}
}

/* 1024px 반응형 */
@media (max-width: 1024px) {
    .loveletter.index .loveletter-banner .banner-text h2 {font-size: 70px;}
    .loveletter.index .loveletter-banner .banner-text p {font-size: 24px;}
    .loveletter.index .archive {padding-top: 120px;}
    .loveletter.index .archive h3 {font-size: 55px; padding-bottom: calc(50/55*1em);}
    .loveletter.index .archive .archive-list {gap: 50px 25px; max-width: 820px; margin: 0 auto;}
    .loveletter.index .archive .archive-item {width: calc(100% / 2 - (25px * 1 / 2));}
    .loveletter.index .archive .archive-item {transform: translateY(0) !important;}
    .loveletter.index .archive .archive-item .archive-item-text {font-size: 18px; padding: calc(80/18*1em) calc(50/18*1em) calc(60/18*1em);}
    .loveletter.index .archive .archive-item .archive-item-text .to {font-size: 22px;}
    .loveletter.index .archive .archive-item .archive-item-text .date {font-size: 18px;}
    .loveletter.index .archive .nextList {padding-top: 300px;}
    .loveletter.index .archive .nextList .btn-load {font-size: 18px;}
}

/* 820px 반응형 */
@media (max-width: 820px) {
    .loveletter.index .loveletter-banner .banner-text h2 {font-size: 60px;}
    .loveletter.index .loveletter-banner .banner-text p {font-size: 22px;}
    .loveletter.index .archive {padding-top: 100px;}
    .loveletter.index .archive h3 {font-size: 48px; padding-bottom: calc(40/48*1em);}
    .loveletter.index .archive .archive-list {gap: 40px 20px; max-width: 700px;}
    .loveletter.index .archive .archive-item {width: calc(100% / 2 - (20px * 1 / 2));}
    .loveletter.index .archive .archive-item .archive-item-text {font-size: clamp(14px, 16/820*100vw, 16px); padding: calc(40/18*1em) calc(30/18*1em);}
    .loveletter.index .archive .archive-item .archive-item-text .to {font-size: 20px;}
    .loveletter.index .archive .archive-item .archive-item-text .date {font-size: 16px;}
    .loveletter.index .archive .nextList {padding-top: 250px; margin-top: 60px;}
    .loveletter.index .archive .nextList .btn-load {font-size: 16px;}
}

/* 500px 반응형 */
@media (max-width: 500px) {
    .loveletter.index .loveletter-banner .banner-text h2 {font-size: 45px;}
    .loveletter.index .loveletter-banner .banner-text p {font-size: 20px;}
    .loveletter.index .archive {padding-top: 80px;}
    .loveletter.index .archive h3 {font-size: 40px; padding-bottom: calc(30/40*1em);}
    .loveletter.index .archive .archive-list {gap: 30px 15px; max-width: 380px;}
    .loveletter.index .archive .archive-item {width: 100%;}
    .loveletter.index .archive .archive-item .archive-item-text {font-size: clamp(12px, 15/500*100vw, 15px); padding: calc(50/15*1em) calc(30/15*1em) calc(40/15*1em);}
    .loveletter.index .archive .archive-item .archive-item-text .to {font-size: 18px;}
    .loveletter.index .archive .archive-item .archive-item-text .comment {flex-grow: 0;}
    .loveletter.index .archive .archive-item .archive-item-text .comment br {display: none;}
    .loveletter.index .archive .archive-item .archive-item-text .date {font-size: 15px; margin-top: 10px;}
    .loveletter.index .archive .nextList {padding-top: 200px; margin-top: 50px;}
    .loveletter.index .archive .nextList .btn-load {font-size: 15px; width: 100%;}
}

/* 360px 반응형 */
@media (max-width: 360px) {
    .loveletter.index .loveletter-banner .banner-text h2 {font-size: 38px;}
    .loveletter.index .loveletter-banner .banner-text p {font-size: 18px;}
    .loveletter.index .archive {padding-top: 60px;}
    .loveletter.index .archive h3 {font-size: 35px; padding-bottom: calc(25/35*1em);}
    .loveletter.index .archive .archive-list {gap: 25px 10px;}
    .loveletter.index .archive .archive-item .archive-item-text {font-size: 14px; padding: calc(40/14*1em) calc(25/14*1em) calc(30/14*1em);}
    .loveletter.index .archive .archive-item .archive-item-text .to {font-size: 16px;}
    .loveletter.index .archive .archive-item .archive-item-text .date {font-size: 14px;}
    .loveletter.index .archive .nextList {padding-top: 180px; margin-top: 40px;}
    .loveletter.index .archive .nextList .btn-load {font-size: 14px;}
}



.loveletter.letter-view {position: relative;}
.loveletter.letter-view .bg-img {position: absolute; right: 0; top: 0;}
.loveletter.letter-view .bg-img img {width: 100%; height: 100%; object-fit: cover;}

.loveletter.letter-view .wrap {position: relative; z-index: 1;}
.loveletter.letter-view .letter-view-content {display: flex; gap: calc(140/1440*100%); padding-top: 100px;}
.loveletter.letter-view .letter-view-content-img {flex-shrink: 0; width: calc(660/1440*100%); position: relative; overflow: hidden;}
.loveletter.letter-view .letter-view-content-img::before {content: ''; display: block; padding-top: calc(680/660*100%);}
.loveletter.letter-view .letter-view-content-img img {position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; object-fit: contain;}
.loveletter.letter-view .letter-view-content-text {flex-grow: 1; display: flex; flex-direction: column; word-break: keep-all;}
.loveletter.letter-view .letter-view-content-text .date {font-family: 'Trattatello'; font-size: 22px; color: #f6ad3c; padding-bottom: calc(10/22*1em); padding-top: calc(30/22*1em);}
.loveletter.letter-view .letter-view-content-text .title {font-family: 'Pretendard'; font-size: 36px; font-weight: 600; letter-spacing: -0.025em; line-height: calc(50/36*1em); color: #fff; padding-bottom: calc(40/36*1em);}
.loveletter.letter-view .letter-view-content-text .comment {font-family: 'Pretendard'; font-size: 18px; font-weight: 300; color: #fff; line-height: calc(31/18*1em); letter-spacing: -0.025em;}
.loveletter.letter-view .letter-view-content-text .fromName {display: flex; align-items: center; justify-content: flex-end; padding-top: calc(75/39*1em); font-size: 39px;}
.loveletter.letter-view .letter-view-content-text .fromName span {font-family: 'Trattatello'; font-size: inherit; color: #fff; letter-spacing: -0.025em; opacity: .12; padding-right: calc(10/39*1em); padding-bottom: calc(8/39*1em);}
.loveletter.letter-view .letter-view-content-text .fromName p {font-family: 'Pretendard'; font-size: 18px; font-weight: 300; letter-spacing: -0.025em; color: #fff;}

.loveletter.letter-view .btn-back {padding-top: 100px; text-align: center; padding-bottom: 50px;}
.loveletter.letter-view .btn-back a {display: inline-block; font-family: 'disol_ragular'; font-size: 20px; font-weight: bold; letter-spacing: -0.025em; color: #fff; border: 1px solid #fff; border-radius: calc(10/20*1em); padding: calc(27/20*1em) calc(55/20*1em); z-index: 1; background: transparent; cursor: pointer;}

/* 1440px 반응형 */
@media (max-width: 1440px) {
    .loveletter.letter-view .letter-view-content {gap: calc(100/1440*100%);}
    .loveletter.letter-view .letter-view-content-text .title {font-size: 34px;}
    .loveletter.letter-view .letter-view-content-text .comment {font-size: 17px;}
}

/* 1280px 반응형 */
@media (max-width: 1280px) {
    .loveletter.letter-view .letter-view-content {gap: calc(80/1280*100%); padding-top: 90px;}
    .loveletter.letter-view .letter-view-content-img {width: calc(600/1280*100%);}
    .loveletter.letter-view .letter-view-content-text .date {font-size: 20px;}
    .loveletter.letter-view .letter-view-content-text .title {font-size: 32px;}
    .loveletter.letter-view .letter-view-content-text .comment {font-size: 16px;}
    .loveletter.letter-view .letter-view-content-text .fromName {font-size: 35px;}
    .loveletter.letter-view .letter-view-content-text .fromName p {font-size: 17px;}
    .loveletter.letter-view .btn-back {padding-top: 90px;}
    .loveletter.letter-view .btn-back a {font-size: 19px;}
}

/* 1024px 반응형 */
@media (max-width: 1024px) {
    .loveletter.letter-view .letter-view-content {gap: calc(60/1024*100%); padding-top: 80px;}
    .loveletter.letter-view .letter-view-content-img {width: calc(500/1024*100%);}
    .loveletter.letter-view .letter-view-content-text .date {font-size: 19px;}
    .loveletter.letter-view .letter-view-content-text .title {font-size: 30px; line-height: calc(45/30*1em);}
    .loveletter.letter-view .letter-view-content-text .comment {font-size: 15px; line-height: calc(28/15*1em);}
    .loveletter.letter-view .letter-view-content-text .fromName {font-size: 32px; padding-top: calc(60/32*1em);}
    .loveletter.letter-view .letter-view-content-text .fromName p {font-size: 16px;}
    .loveletter.letter-view .btn-back {padding-top: 80px; padding-bottom: 40px;}
    .loveletter.letter-view .btn-back a {font-size: 18px;}
}

/* 820px 반응형 */
@media (max-width: 820px) {
    .loveletter.letter-view .letter-view-content {flex-direction: column; gap: 40px; padding-top: 70px;}
    .loveletter.letter-view .letter-view-content-img {width: 100%; max-width: 500px; margin: 0 auto;}
    .loveletter.letter-view .letter-view-content-text .date {font-size: 18px; padding-top: 0;}
    .loveletter.letter-view .letter-view-content-text .title {font-size: 28px; line-height: calc(40/28*1em);}
    .loveletter.letter-view .letter-view-content-text .comment {font-size: 15px;}
    .loveletter.letter-view .letter-view-content-text .fromName {font-size: 30px;}
    .loveletter.letter-view .letter-view-content-text .fromName p {font-size: 16px;}
    .loveletter.letter-view .btn-back {padding-top: 70px;}
    .loveletter.letter-view .btn-back a {font-size: 17px;}
}

/* 500px 반응형 */
@media (max-width: 500px) {
    .loveletter.letter-view .letter-view-content {gap: 30px; padding-top: 60px;}
    .loveletter.letter-view .letter-view-content-text .date {font-size: 16px;}
    .loveletter.letter-view .letter-view-content-text .title {font-size: 24px; line-height: calc(36/24*1em); padding-bottom: calc(30/24*1em);}
    .loveletter.letter-view .letter-view-content-text .comment {font-size: 14px; line-height: calc(26/14*1em);}
    .loveletter.letter-view .letter-view-content-text .fromName {font-size: 26px; padding-top: calc(50/26*1em);}
    .loveletter.letter-view .letter-view-content-text .fromName p {font-size: 15px;}
    .loveletter.letter-view .btn-back {padding-top: 60px; padding-bottom: 30px;}
    .loveletter.letter-view .btn-back a {font-size: 16px; padding: calc(20/16*1em) calc(40/16*1em);}
}

/* 360px 반응형 */
@media (max-width: 360px) {
    .loveletter.letter-view .letter-view-content {gap: 25px; padding-top: 50px;}
    .loveletter.letter-view .letter-view-content-text .date {font-size: 15px;}
    .loveletter.letter-view .letter-view-content-text .title {font-size: 22px; line-height: calc(32/22*1em); padding-bottom: calc(25/22*1em);}
    .loveletter.letter-view .letter-view-content-text .comment {font-size: 13px; line-height: calc(24/13*1em);}
    .loveletter.letter-view .letter-view-content-text .fromName {font-size: 24px; padding-top: calc(40/24*1em);}
    .loveletter.letter-view .letter-view-content-text .fromName p {font-size: 14px;}
    .loveletter.letter-view .btn-back {padding-top: 50px; padding-bottom: 25px;}
    .loveletter.letter-view .btn-back a {font-size: 15px; padding: calc(18/15*1em) calc(35/15*1em);}
}
