/* 쉬운 장례 가이드 */
.desktop {display: block}
.mobile {display: none;}
#container {margin-bottom: 60px;}
.top-banner {width: 100%; height: 460px; margin-bottom: 100px; background: url("../img/guide_top_banner_pc.png") no-repeat center center / cover; position: relative;}
.top-banner .txt-wrap {color: #fff; text-align: center; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);}
.top-banner .txt-wrap h2 {font-size: 30px; font-weight: 700; line-height: 43px; margin-bottom: 30px;}
.top-banner .txt-wrap p {font-size: 16px; font-weight: 400; line-height: 23px;}
.top-banner .txt-wrap p:first-of-type {margin-bottom: 16px;}

.guide_section01 .txt-wrap {margin-bottom: 40px; text-align: center;}
.guide_section01 .txt-wrap .point-ttl {display: inline-block; margin-bottom: 4px; color: #431F88; font-size: 16px; font-weight: 500; line-height: 34px;}
.guide_section01 .txt-wrap .ttl {font-size: 30px; font-weight: 700; line-height: 43px;}
#beforeFuneral {margin-bottom: 120px;}
#beforeFuneral .swiper-slide {opacity: 0.5; transition: opacity 0.3s ease-in-out;}
#beforeFuneral .swiper-slide.swiper-slide-active {opacity: 1;}
#beforeFuneral .swiper-slide img {width: 100%; border: 1px solid #D1D4DA;}
#beforeFuneral .swiper-button-next:after, #beforeFuneral .swiper-button-prev:after {display: none;}
#beforeFuneral .swiper-button-next, #beforeFuneral .swiper-button-prev {width: 28px; top:calc(50% - 32px); }
#beforeFuneral .swiper-button-next {right: 27%; background: url("../svg/icon_textfile_arrow_right_shade600.svg") no-repeat center center / 100% auto;}
#beforeFuneral .swiper-button-prev {left: 27%; background: url("../svg/icon_textfile_arrow_left_shade600.svg") no-repeat center center / 100% auto;}
#beforeFuneral .pagination {margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 8px;}
#beforeFuneral .pagination .pagination-bullet {width: 10px; height: 10px; border-radius: 100px; background-color: #d9d9d9; transition: background-color 0.3s ease-in-out;}
#beforeFuneral .pagination .pagination-bullet.on {background-color: #431F88;}

.guide_section02 {width: 100%; max-width: 1200px; margin: 0 auto 120px;}
.guide_section02 .banner {width: 100%; height: 220px; margin-bottom: 48px; background: url("../img/section02_banner_pc.png") no-repeat center center / 100% auto; position: relative;}
.guide_section02 .banner .txt-wrap {color: #fff; text-align: center; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);}
.guide_section02 .banner .txt-wrap h2 {margin-bottom: 16px; font-size: 30px; font-weight: 700; line-height: 43px;}
.guide_section02 .banner .txt-wrap p {font-size: 16px; font-weight: 400;}
.guide_section02 .tab-wrap {margin-bottom: 56px; display: flex; align-items: center; justify-content: center; gap: 20px;}
.guide_section02 .tab-wrap .tab-btn {width: 109px; height: 51px; border-radius: 100px; background-color: #F6F7F8; transition: background-color 0.3s ease-in-out;}
.guide_section02 .tab-wrap .tab-btn a {width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 400; transition: all 0.3s ease-in-out;}
.guide_section02 .tab-wrap .tab-btn:hover {background-color: #2A303C;}
.guide_section02 .tab-wrap .tab-btn a:hover {color: #fff; font-weight: 700;}
.guide_section02 .tab-wrap .tab-btn.selected {background-color:#2A303C;}
.guide_section02 .tab-wrap .tab-btn.selected a { color: #fff; font-weight: 700;}
.guide_section02 .list-wrap {padding: 0 60px;}
.guide_section02 .list-wrap li {padding: 0 37px; cursor: pointer; border-bottom: 1px solid #EAECF0; box-sizing: border-box; transition: all 0.3s ease-in-out;}
.guide_section02 .list-wrap li:first-of-type {border-top: 1px solid #EAECF0;}
.guide_section02 .list-wrap li.active {background: #F6F7F8; padding-top: 7px;}
.guide_section02 .list-wrap li h3 { width: 100%; margin: 20px 0; padding-right: 50px; display: flex; gap: 8px; font-size: 18px; font-weight: 700; line-height: 26.5px; position: relative;}
.guide_section02 .list-wrap li h3:after {content: ''; width: 15px; height: 15px; background: url("../svg/icon_arrow_bottom_gray.svg") no-repeat center center / 100% auto; position: absolute; right: 0; top: 50%; transform: translateY(-50%); transition: transform 0.3s ease-in-out;}
.guide_section02 .list-wrap li.active h3:after {transform: translateY(-50%) rotate(180deg);}
.guide_section02 .list-wrap li h3 strong {font-weight: 700;}
.guide_section02 .list-wrap li > div {display: none;}
.guide_section02 .list-wrap li > div p {padding-bottom: 32px; display: flex; gap: 10px; font-size: 16px; font-weight: 400; line-height: 23px;}
.guide_section02 .list-wrap li > div p strong {color: #431F88; font-size: 18px; font-weight: 700; line-height: 23px;}

.guide_section03 {width: 100%; margin-bottom: 60px; background: #F7F7F4; padding: 57px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;}
.guide_section03 p {margin: 0 auto; text-align: center; font-size: 20px; font-weight: 500; line-height: 30px; }

.guide_section04 {width: 100%; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 40px;}
.guide_section04 a {flex: 1; height: 90px; font-size: 18px; font-weight: 700; border: 0.5px solid #BBC0C9; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 5px;}
.guide_section04 a img {width: 20px; height: 20px;}
.easy_guide_pagination {margin-top: 0;}

/************* 모바일 *************/
@media only screen and (max-width: 768px) {
    .desktop {display: none}
    .mobile {display: block;}

    #container {margin-bottom: 79px;}
    .top-banner {height: 456px; margin-bottom: 70px; background: url("../img/guide_top_banner_m.png") no-repeat center center / cover;}
    .top-banner .txt-wrap {width: 100%; padding: 0 15px;}
    .top-banner .txt-wrap h2 {margin-bottom: 33px; font-size: 25px; font-weight: 700; line-height: 35px;}
    .top-banner .txt-wrap p {font-size: 15px; font-weight: 400; line-height: 21px;}
    .top-banner .txt-wrap p:first-of-type {margin-bottom: 10px;}

    .guide_section01 .txt-wrap {margin-bottom: 34px;}
    .guide_section01 .txt-wrap .point-ttl {margin-bottom: 9px; font-size: 15.5px; font-weight: 500; line-height: 21px;}
    .guide_section01 .txt-wrap .ttl {font-size: 21px; font-weight: 700; line-height: 30px;}
    .guide_section01 .txt-wrap .ttl span {color: #431F88; font-weight: 700;}
    #beforeFuneral {margin-bottom: 80px; padding: 0 24px;}
    #beforeFuneral .pagination {margin-top: 24px; gap: 6px;}
    #beforeFuneral .pagination .pagination-bullet {width: 8px; height: 8px;}

    .guide_section02 {margin-bottom: 80px;}
    .guide_section02 .banner {margin-bottom: 34px; height: 164px; background: url("../img/section02_banner_m.png") no-repeat center center / cover;}
    .guide_section02 .banner .txt-wrap {width: 100%; padding: 0 16px;}
    .guide_section02 .banner .txt-wrap h2 {font-size: 21px; line-height: 30px;}
    .guide_section02 .banner .txt-wrap p {font-size: 12.5px; line-height: 17px;}
    .guide_section02 .tab-wrap {padding: 0 24px 10px; margin-bottom: 6px; justify-content: flex-start; gap: 10px; overflow-x: auto;}
    .guide_section02 .tab-wrap .tab-btn {width: auto; height: auto; padding: 8px 20px; font-size: 15px; background-color: #fff; border: 1.25px solid #BBC0C9;}
    .guide_section02 .tab-wrap .tab-btn:hover {border: none;}
    .guide_section02 .tab-wrap .tab-btn a {white-space: nowrap; color: #BBC0C9; font-size: 15px;}
    .guide_section02 .tab-wrap .tab-btn.selected {border: none;}
    .guide_section02 .list-wrap {padding: 0;}
    .guide_section02 .list-wrap li:first-of-type {border-top: 1px solid #fff;}
    .guide_section02 .list-wrap li {padding: 24px;}
    .guide_section02 .list-wrap li.active {padding-top: 24px;background: none;}
    .guide_section02 .list-wrap li h3 {margin: 0; padding-right: 40px; font-size: 16.5px; line-height: 23px; gap: 3px; transition: color 0.3s ease-in-out;}
    .guide_section02 .list-wrap li h3:after {width: 10px; height: 10px; top: 25%;}
    .guide_section02 .list-wrap li.active h3 {color: #431F88;}
    .guide_section02 .list-wrap li > div p {font-size: 15px; line-height: 21px; gap: 5px; padding: 20px 30px 0 0;}
    .guide_section02 .list-wrap li > div p strong {font-size: 16.5px; line-height: 23px;}

    .guide_section03 {margin-bottom: 40px; padding: 60px 24px; gap: 24px;}
    .guide_section03 p {font-size: 17.5px; line-height: 28px;}

    .guide_section04 {flex-direction: column; padding: 0 24px; gap: 18px;}
    .guide_section04 a {flex: none; width: 100%; height: 70px; font-size: 15px; justify-content: space-between; padding: 0 24px 0 30px;}
    .easy_guide_pagination {margin-top: 28px;}
    .easy_guide_pagination .pagination {margin-top: 0;}
}
