@charset "utf-8";

/* ----------- Sub visual Start -------------- */

.service_text {
    margin-top: 50px;
    text-align: center;
    padding: 30px;
    background-color: var(--base-color-white);
    border-radius: 15px;
    font-size: clamp(16px, 1.25vw, 18px);
}

.sub1-1,
.sub1-2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/sub_bg_1-1.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.sub2-1,
.sub2-2,
.sub2-3,
.sub2-4 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/sub_bg_2-1.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.sub3-1,
.sub3-2,
.sub3-3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/sub_bg_3-1.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.sub4-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/sub_bg_4-1.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.sub_title_wrap {
    width: 100%;
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub_title_con {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sub_title_con > .title_en::before,
.sub_title_con > .title_en::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--base-color-white);
    margin: 5px 0;
}

.title_en {
    margin: 10px;
}

.sub_title_con h2 {
    font-size: clamp(18px, 1.56vw, 32px);
    margin-bottom: 20px;
}

.sub_sub_title_wrap {
    width: 100%;
    height: 55vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
}

.sub_sub_title_wrap h5 {
    margin: 30px 0 60px 0;
}

.sub_circle_logo {
    width: 52px;
}

.sub_circle_logo img {
    width: 100%;
}
.yeosu-sunset-wrap > video {
    width: 100%;
    height: 50vh;
    object-fit: cover;
}
.sub_sub_text {
    font-size: var(--sub-font-size-l);
    line-height: var(--sub-font-size-l-line);
    text-align: center;
}

/* 2 deps 버튼 */

.deps_2_wrap {
    width: 90%;
    display: flex;
    justify-content: center;
    margin: clamp(30px, 1.8vw, 80px) auto;
}

.deps_2_btn {
    display: flex;
    justify-content: center;
    width: clamp(160px, 8.333px, 200px);
    padding-bottom: 20px;
    border-bottom: 2px solid #d6d6d6;
}

.deps_2_btn > a {
    font-size: clamp(16px, 0.93vw, 20px);
    font-weight: 500;
    color: var(--base-color-black);
}

.active_btn {
    border-bottom: 2px solid var(--signature-color-base);
}

/* 서브 페이지 상단 화살표 */
.sub_arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100px;
    height: 175px;
    cursor: pointer;
}

.sub_arrow img {
    width: 32px;
    position: absolute;
    top: 40px;
}

.sub_arrow_circle {
    position: absolute;
    top: 0;
    width: 70px;
    height: 70px;
    background-color: #f3f3f3;
    opacity: 0.8;
    border-radius: 50%;
    transition: 0.8s;
}

.sub_arrow:hover .sub_arrow_circle {
    top: 85px;
    background-color: #fff9e5;
    opacity: 1;
}

/* ----------- Sub visual end -------------- */

/* ----------- footer start -------------- */

.footer {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #fafafa;
}

.footer_con {
    width: 100%;
    padding: var(--all-sec-padding_mo);
    margin: 70px 0;
}

.footer_line {
    display: inline-block;
    width: 100%;
    height: 1px;
    border-top: 1px solid #c7c7c7;
    margin: 30px 0;
}

.footer p {
    font-size: 15px;
    font-weight: 200;
    line-height: 30px;
}

/**************sub 1-1 ********************/

.sub_wrap {
    margin: 0 auto;
    padding: var(--all-sec-padding_mo);
}

/*왼쪽 랩 설명들*/
.sub1_1_wrap {
    width: 100%;
    display: flex;
    margin-bottom: 100px;
}

.left_wrap {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.left_wrap img,
.right_wrap img {
    width: 100%;
}

.wrap-title-02 > h2 {
    font-size: clamp(18px, 1.4vw, 28px);
}

.wrap-title-02 > p {
    font-family: var(--font-KR-base);
    font-size: 18px;
    color: var(--base-color-black);
    font-weight: 300;
    margin-top: 13px;
}

/*오른쪽 랩 설명들*/
.right_wrap {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}
.wrap-title {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 50px 0;
}
.wrap-title > h2 {
    width: 100%;
    margin-bottom: 20px;
    font-family: var(--font-KR-point);
    font-size: clamp(22px, 1.8vw, 36px);
}
.semi {
    font-family: var(--font-KR-point);
    font-size: 28px;
    padding-right: 1%;
}
.text-deco {
    font-family: var(--font-KR-base);
    font-size: 20px;
    font-weight: 300;
}
.wrap-title > h2 > p {
    margin-top: 12px;
    font-size: 18px;
    font-family: var(--font-KR-base);
    font-weight: 200;
}
.text-second-sec {
    width: 100%;
}
.text-second-sec > p {
    line-height: 26px;
    font-size: 16px;
    padding: 20px 0;
}
.adrress-information {
    width: 100%;
    display: flex;
    justify-content: center;
    line-height: 70px;
}
.adrress-information p {
    font-size: 16px;
    color: var(--base-color-black);
    opacity: 0.7;
    font-family: var(--font-KR-base);
}
.adrress-information img {
    width: 24px;
}
.text-third-sec {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.more-info {
    padding: var(--button-margin);
    background-color: #ffffff;
    border: 1px solid #d6d6d6;
    color: var(--base-color-black);
}

.more-info > p {
    color: inherit;
}
.more-info:hover {
    background-color: var(--signature-color-base);
    transition: 0.5s;
    color: var(--base-color-white);
}
.right_wrap {
    position: relative;
}
.right_wrap > p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    letter-spacing: 6px;
    color: var(--base-color-white);
    font-size: clamp(22px, 1.666vw, 32px);
    font-weight: 600;
}
/* 오른쪽 랩 설명들 끝 */
/* 첫번째 랩 끝 */
.sub1_2_wrap {
    width: 100%;
    padding: 100px 0;
    background-image: url(/rebirth/theme/rebirth/img/sale_img_03.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.wrap-title-02 {
    padding: 50px 0;
}

.wrap-title-02 h2 {
    font-family: var(--font-KR-point);
}
.wrap-title-02 {
    font-family: var(--font-KR-point);
}
.site-btn-wrap {
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.sub1_2_wrap p,
.sub1_2_wrap span {
    font-family: var(--font-KR-point);
    font-size: clamp(20px, 1.7vw, 32px);
    font-weight: 600;
}
.highlight {
    color: var(--signature-color-base);
}
.site-btn-wrap button {
    margin: 0 20px;
    padding: var(--button-margin);
    border: 1px solid #d5d5d5;
    background-color: var(--base-color-white);
}
.site-btn-wrap button > p {
    font-size: 18px;
    font-family: var(--font-KR-base);
    font-weight: 300;
    color: inherit;
}
.site-btn-wrap button > p {
    font-size: 18px;
    font-weight: 400;
}
.site-btn-wrap button:hover {
    background-color: var(--signature-color-gray);
    transition: 0.5s;
    color: var(--base-color-white);
}
/*** 이용안내 ***/
.sub4_1_wrap {
    width: 100%;
    padding: 100px 15px;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.procedure-wrap {
    text-align: center;
}
.procedure-wrap img {
    width: 50px;
    height: auto;
}
.procedure-title-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
}

.procedure-title-wrap h2 {
    margin: 30px 0 15px 0;
    font-size: clamp(20px, 1.94vw, 32px);
}

.procedure-title-wrap p {
    font-size: clamp(16px, 1.25vw, 18px);
}

/*라운드 배경 아이콘 시작*/

.procedure_flex {
    display: flex;
    align-items: center;
}

.procedure-cont-wrap {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 100px;
    flex-wrap: wrap;
}
.round-bg-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin: 30px 0;
}
.round-bg {
    width: 170px;
    height: 170px;
    background-color: var(--base-color-white);
    border-radius: 100px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.round-bg img {
    width: 40%;
}
.round-bg-wrap h2 {
    font-size: clamp(16px, 1.25vw, 18px);
    font-weight: 600;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.round-bg-wrap > h2 > p {
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    margin-top: 15px;
}
.gray-arrow-icon {
    width: 24px;
    height: 166px;
    margin: 0 clamp(15px, 2.08vw, 50px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.gray-arrow-icon > img {
}
/*4_2 시작*/
.cat-down-text {
    width: 100%;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.cat-down-text h1 {
    font-family: var(--font-KR-point);
    font-size: 32px;
    font-weight: 600;
}
.cat-down-text p {
    font-family: var(--font-KR-base);
    font-size: 18px;
    font-weight: 300;
    line-height: 28pxs;
}
.cat-down-text-wrap {
    width: 65%;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-around;
}

.sub4-2_wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.sub4-2_left,
.sub4-2_right {
    height: 100%;
    overflow: hidden;
    object-fit: cover;
}

.sub4-2_left {
    width: 35%;
}

.sub4-2_left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.sub4-2_right {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sub4-2_right p {
    text-align: center;
}

.sub4-2_right button:hover {
    color: var(--base-color-white);
    background-color: var(--signature-color-base);
    transition: 0.5s;
}

.sub4-2_right button {
    padding: 15px 45px;
    border: 1px solid #d6d6d6;
    background-color: var(--base-color-white);
    color: var(--base-color-black);
    margin-top: 50px;
}
.sub4-2_right button p {
    color: inherit;
}

/* --------------------------------------sub 3-2------------------------------------- */

/* 아코디언 기본 스타일 */
.accordion {
    width: 100%;
    margin: 100px auto 100px auto;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    background: #fafafa;
    cursor: pointer;
    padding: 30px;
    font-size: clamp(16px, 0.885vw, 18px);
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.accordion-header:hover {
    background: #ececec;
}

.accordion-header::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s;
    color: #686868;
}

.accordion-header.active::after {
    content: '▲';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    padding: 0 40px; /* 닫혔을 때는 위아래 패딩 0 */
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-content p {
    margin: 15px 0;
    line-height: 1.6;
    color: #333;
}

/* -------------------------------------------sub3-3----------------------------------------------------------- */

.sub3-3_wrap {
    width: 100%;
    height: 50vh;
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/sub3-3_bg-2.png'); */
    background-repeat: no-repeat;

    background-position: center bottom;
    background-size: cover;
    position: relative;

    p {
        color: var(--base-color-white);
        font-weight: 500;
        font-size: clamp(30px, 2.395vw, 52px);
        margin: 0 auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* -------------------------------------------반응형----------------------------------------------------------- */

@media all and (max-width: 1080px) {
    .sub2-1_sec_1_con_wrap {
        flex-direction: column;
    }

    .sub2-1_img_wrap,
    .sub2-1_text_wrap {
        width: 100%;
    }

    .sub2-1_text_wrap {
        padding-bottom: 80px;
        text-align: center;
    }

    .column_style {
        flex-direction: column-reverse;
        margin: 0;
    }
}

@media all and (max-width: 860px) {
    /* 헤더 */
    .header_con {
        height: 80px;
    }

    .logo {
        width: 120px;
    }

    /* sub1_1 */
    .sub1_1_wrap {
        flex-direction: column;
    }

    .left_wrap,
    .right_wrap {
        width: 100%;
    }

    .right_wrap {
        flex-wrap: wrap-reverse;
    }

    .sub1_1_wrap:last-child {
        flex-direction: column-reverse;
    }

    .site-btn-wrap {
        flex-direction: column;
    }

    .site-btn-wrap button {
        width: 100%;
    }

    .site-btn-wrap button:first-child {
        margin-bottom: 20px;
    }

    /* sub2-1 */
    .sub2-1_button_wrap {
        flex-direction: column;
    }

    .sub2-1_button_wrap button {
        margin: 10px 0;
    }

    /* sub4-1 */
    .procedure-cont-wrap {
        flex-direction: column;
    }

    .procedure_flex {
        flex-direction: column;
    }

    .gray-arrow-icon {
        height: auto;
    }

    .gray-arrow-icon img {
        transform: rotate(90deg);
    }

    .sub4-2_left,
    .sub4-2_right {
        width: 100%;
    }

    .sub4-2_wrap {
        flex-direction: column;
    }

    .sub4-2_left {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sub4-2_left img {
        width: clamp(300px, 50%, 700px);
    }

    .sub4-2_right {
        margin: 30px 0 50px 0;
    }
}

@media all and (max-width: 400px) {
    .sub_title_wrap {
        height: 40vh;
    }

    .sub_sub_title_wrap h5 {
        margin: 30px 0;
    }

    .deps_2_btn {
        padding-bottom: 13px;
    }

    .sub_sub_title_wrap {
        margin: 30px 0;
    }

    .sub_arrow img {
        width: 25px;
        top: 25px;
    }

    .sub_arrow_circle {
        width: 55px;
        height: 55px;
    }

    .sub_arrow:hover .sub_arrow_circle {
        top: 65px;
    }
}
/* ************************  공지사항 수정 *********************************** */
.sub_title_wrap {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 320px; /* 전체 배너 높이 */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4%; /* 아래쪽 여백 */
}

.sub_title_con {
    text-align: center;
    padding: 80px 20px; /* 배너 안쪽 여백 */
    color: #fff;
}

.sub_title_con h2 {
    font-size: clamp(24px, 1.3542vw, 42px);
    font-weight: 600;
    margin-bottom: 10px;
}

.sub_title_con p {
    font-size: 16px;
    opacity: 0.9;
}

/**** 여수 지장대사 sub-4-1 네비게이션 수정 ****/
.yeosu-tadbtn > ul > li > a > span {
    font-size: clamp(16px, 0.93vw, 20px);
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    font-weight: 500;
    color: var(--base-color-black);
}
