
/* section0 */
#section0 {
    width: 100%;
    height: 100dvh;
    /* dvh 말고 vh 쓸시 풀페이지는 모바일에서 스크롤생김 */
    background: url("../img/main_bg.jpg") no-repeat bottom/contain;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
/* section0 */
@media (max-width: 1600px) {
    #section0 {
        background-size: cover;
    }
}
@media (max-width: 800px) {
    #section0 {
        background: url("../img/main_bg_m.jpg") no-repeat bottom/contain;
        background-size: 240%;
        background-position: 50% calc(100% - 40px);
    }
}
#section0 .txt_hide {
    width: 240px;
    height: 287px;
    background: url("../img/main_txt.png") no-repeat center/contain;
    position: absolute;
    margin-top: 200px;
    left: 50%;
    transform: translateX(-50%);
}

/* #section1 */

#section1 .fp-tableCell {
    width: 100%;
    height: 100dvh;
    display: flex;
    justify-content: flex-start;
    padding: 230px 150px 110px 230px;
    position: relative;
    overflow: hidden;
}
#section1 .fp-tableCell::after {
    position: absolute;
    content: "";
    width: 519px;
    height: 186px;
    background: url("../img/sec1_bg_01.png") no-repeat center/cover;
    bottom: 80px;
    left: -13px;
    z-index: -1;
    pointer-events: none;
}
#section1 .fp-tableCell::before {
    position: absolute;
    content: "";
    width: 519px;
    height: 186px;
    background: url("../img/sec1_bg_02.png") no-repeat center/cover;
    top: 240px;
    right: -50px;
    z-index: -1;
    pointer-events: none;
}
#section1 .left {
    width: 50%;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
    margin-top: 30px;
    position: relative;
}
#section1 .left::after {
    position: absolute;
    content: "";
    width: 110px;
    height: 110px;
    background-color: #0d695b;
    opacity: .2;
    border-radius: calc(1px / 0);
    top: 11em;
    left: 18em;
}
#section1 .left::before {
    position: absolute;
    content: "";
    width: 75px;
    height: 75px;
    background-color: #0d9acc;
    opacity: .2;
    border-radius: calc(1px / 0);
    top: 15em;
    left: 22em;
}
#section1 .left p:nth-child(1) {
    font-size: 22px;
    margin-bottom: 16px;
}

#section1 .left em {
    font-size: 28px;
    font-weight: bold;
    color: #0d695b;
    line-height: 1.3;
}

#section1 .left p:nth-child(3) {
    margin-top: 30px;
    font-size: 18px;
    line-height: 1.3;
}

#section1 .right {
    width: 50%;
    position: relative;
}

#section1 .right img:nth-child(1) {
    position: absolute;
    width: 173px;
    bottom: 0;
    right: 70px;
}

#section1 .right img:nth-child(2) {
    position: absolute;
    width: 253px;
    right: 0;
}

#section1 .right img:nth-child(3) {
    position: absolute;
    width: 380px;
    bottom: 200px;
    right: 350px;
}

/* #section2 */

#section2 {
    background-color: #ededed;
}

#section2 .fp-tableCell {
    width: 100%;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 70px 0;
}

#section2 ul {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

#section2 ul li {
    line-height: 1.4;
    display: flex;
    align-items: flex-end;
    gap: 16px;
}
#section2 .fp-tableCell ul:first-child li:nth-child(2){
    margin-left: 30px;
}
#section2 .fp-tableCell ul:first-child li:nth-child(3){
    margin-left: 60px;
}
#section2 .fp-tableCell ul:last-child li:nth-child(2){
    margin-right: 30px;
}
#section2 .fp-tableCell ul:last-child li:nth-child(3){
    margin-right: 80px;
}
#section2 .fp-tableCell ul:last-child p,
#section2 .fp-tableCell ul:last-child h6{
    text-align: right;
}
#section2 .middle {
    font-weight: bold;
    position: relative;
    width: 370px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#section2 .middle::after{
    width: 560px;
    height: 560px;
    content: "";
    border: 1px solid #000;
    opacity: .1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: calc(1px / 0);
    pointer-events: none;
}
#section2 .middle p {
    font-size: 12px;
    color: #000;
    opacity: .3;
    letter-spacing: 8px;
    transform: translate(-30px, 20px);
}

#section2 .middle em {
    font-size: 60px;
    font-weight: bold;
    white-space: nowrap;
}

#section2 .middle em>span {
    font-size: 90px;
    font-weight: bold;
    color: #0d695b;
}

/*  공통 li 텍스트 스타일링 */
#section2 ul li img {
    width: 327px;
}

#section2 ul li div p:nth-child(1) {
    font-size: 15px;
    color: #c6a28b;
    font-weight: 800;
}

#section2 ul li h6 {
    font-size: 20px;
    font-weight: bold;
}

#section2 ul li div p:nth-child(3) {
    font-size: 16px;
    color: #888;
}

/* #section3 */
#section3 .fp-tableCell{
    background: url(../img/contact_bg.png) no-repeat bottom;
    background-size: contain;
    background-color: #EEEDED;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact_title_wrap{
    display: flex;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 40px;
    margin: 0 auto;
}
.contact_title{
    font-size: 60px;
    font-weight: 800;
}
.contact_sub_title{
    font-size: 20px;
    font-weight: 700;
}
.contact_sub_title strong{
    color: #01695A;
}
.contact_sub_title span{
    font-weight: 400;
}
/* ANIMATION */
#section0 .txt_hide{
    opacity: 0%;
    transform: translate(-50%,20px);
    animation: sec0_title 1s forwards .6s;
}
@keyframes sec0_title{
    to{
        opacity: 100%;
        transform: translate(-50%,0);
    }
}
header{
    transform: translateY(-50%);
    opacity: 0%;
    animation: header_down 1s forwards 1.2s;
}
@keyframes header_down{
    to{
        transform: translateY(0);
        opacity: 100%;
    }
}
/* SEC1 */
#section1 .left{
    opacity: 0%;
    transform: translateX(-20px);
    transition: all .6s ease-in-out .6s;
}
#section1.active .left{
    opacity: 100%;
    transform: translateX(0);
}
#section1 .left::after{
    opacity: 0%;
    transition: all .6s ease-in-out 1s;
}
#section1 .left::before{
    opacity: 0%;
    transition: all .6s ease-in-out 1.2s;
}
#section1.active .left::before{
    opacity: 20%;
}
#section1.active .left::after{
    opacity: 20%;
}
.right img{
    opacity: 0%;
    transform: translateX(20px);
}
.right img:nth-child(1){
    transition: all .6s ease-in-out 1.6s;
}
.right img:nth-child(2){
    transition: all .6s ease-in-out 2.2s;
}
.right img:nth-child(3){
    transition: all .6s ease-in-out 2.8s;
}   
#section1.active .right img:nth-child(1){
    opacity: 100%;
    transform: translateX(0);
    animation: sec1_img_1 0.6s forwards 3.6s;
}
#section1.active .right img:nth-child(2){
    opacity: 100%;
    transform: translateX(0);
    animation: sec1_img_2 0.6s forwards 3.6s;
}
#section1.active .right img:nth-child(3){
    opacity: 100%;
    transform: translateX(0);
    animation: sec1_img_3 0.6s forwards 3.6s;
}
@keyframes sec1_img_1{
    0%{
        box-shadow:0px 0px 0px rgba(13, 105, 91, 0);
    }
    to{
        box-shadow: 10px -10px 0px rgb(13, 105, 91);
    }
}
@keyframes sec1_img_2{
    0%{
        box-shadow: 0px 0px 0px rgba(121, 181, 201, 0);
    }
    to{
        box-shadow: -10px 10px 0px rgb(121, 181, 201);
    }
}
@keyframes sec1_img_3{
    0%{
        box-shadow: 0px 0px 0px rgba(61, 173, 214, 0);
    }
    to{
        box-shadow: 10px 10px 0px rgb(61, 174, 214);
    }
}
/* SEC2 */
#section2 .middle{
    opacity: 0%;
    transform: translateY(20px);
    transition: all .6s ease-in-out 1s;
}
#section2.active .middle{
    opacity: 100%;
    transform: translateY(0);
}
#section2 .middle::after{
    opacity: 0%;
    transition: all .6s ease-in-out 1.4s;
}
#section2.active .middle::after{
    opacity: 10%;
}
#section2 .fp-tableCell ul:first-child li:nth-child(1){
    opacity: 0%;
    transform: translateX(-20px);
    transition: all .6s ease-in-out 2s;
}
#section2 .fp-tableCell ul:first-child li:nth-child(2){
    opacity: 0%;
    transform: translateX(-20px);
    transition: all .6s ease-in-out 2.4s;
}
#section2 .fp-tableCell ul:first-child li:nth-child(3){
    opacity: 0%;
    transform: translateX(-20px);
    transition: all .6s ease-in-out 2.8s;
}
#section2.active .fp-tableCell ul:first-child li:nth-child(1){
    opacity: 100%;
    transform: translateX(0);
}
#section2.active .fp-tableCell ul:first-child li:nth-child(2){
    opacity: 100%;
    transform: translateX(0);
}
#section2.active .fp-tableCell ul:first-child li:nth-child(3){
    opacity: 100%;
    transform: translateX(0);
}

#section2 .fp-tableCell ul:last-child li{
    justify-content: flex-end;
}
#section2 .fp-tableCell ul:last-child li:nth-child(1){
    opacity: 0%;
    transform: translateX(20px);
    transition: all .6s ease-in-out 3.4s;
}
#section2 .fp-tableCell ul:last-child li:nth-child(2){
    opacity: 0%;
    transform: translateX(20px);
    transition: all .6s ease-in-out 3.8s;
}
#section2 .fp-tableCell ul:last-child li:nth-child(3){
    opacity: 0%;
    transform: translateX(20px);
    transition: all .6s ease-in-out 4.2s;
}
#section2.active .fp-tableCell ul:last-child li:nth-child(1){
    opacity: 100%;
    transform: translateX(0);
}
#section2.active .fp-tableCell ul:last-child li:nth-child(2){
    opacity: 100%;
    transform: translateX(0);
}
#section2.active .fp-tableCell ul:last-child li:nth-child(3){
    opacity: 100%;
    transform: translateX(0);
}

/* contact */
.map_wrap{
    width: unset;
    flex-direction: column;
    gap: 20px;
}
.m_map_wrap {
    display: none;
}
.contact_inner_wrap{
    max-width: 60%;
    margin-top: 30px;
    gap: 80px;
}
.map_wrap img{
}
.contact_wrap{
    align-items: center;
}
.map_txt_wrap{
    white-space: nowrap;
}
/* MOB */
@media (max-width: 1620px) {
    #section2 .fp-tableCell{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 0px 0px;
        grid-auto-flow: row;
        grid-template-areas:
            "title title"
            "con con2";
        padding: 40px 20px 30px;
    }
    #section2 .middle { grid-area: title; width: 100%;}
    #section2 .fp-tableCell ul:first-child { grid-area: con; }
    #section2 .fp-tableCell ul:last-child { grid-area: con2; }
    #section2 ul{
        gap: 30px;
    }
}
.mob_menu{
    display: none;
}
@media (max-width: 1400px) {
    #section1 .fp-tableCell {
        padding: 200px 140px 110px 100px;
    }
}

@media (max-width: 1280px) {
    #section1 .left p:nth-child(1){
        margin-bottom: 15px;
        font-size: 16px;
    }
    #section1 .left p:nth-child(3){
        margin-top: 20px;
        font-size: 16px;
    }
    #section2 .fp-tableCell ul:first-child li{
        margin-left: unset !important;
    }
    #section2 .fp-tableCell ul:last-child li{
        flex-direction: row-reverse;
        margin-right: unset !important;
    }
    #section2 .fp-tableCell ul:last-child p, #section2 .fp-tableCell ul:last-child h6{
        text-align: left;
    }
    #section1 .fp-tableCell{
        flex-direction: column;
    }
    #section1 .left,#section1 .right{
        width: 100%;
        height: 100%;
    }
    #section1.active .right img:nth-child(1){
        display: none;
    }
    #section1 .right img:nth-child(2){
        top: unset;
        right: 0;
        bottom: 140px;
        z-index: 2;
    }
    #section1 .right img:nth-child(3){
        bottom: 120px;
        right: 100px;
    }
    #section1 .fp-tableCell{
        padding: 100px 140px 20px 18px;
    }
    .contact_inner_wrap{
        max-width: 90%;
    }
    .contact_wrap{
        width: calc(100% - 36px);
    }
    .map_wrap{
        width: 100%;
    }
    .map_txt_wrap dd{
        margin-top: 20px;
    }
    .map_txt_wrap dt{
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-direction: column;
    }
    .map_txt_wrap{
        width: 100%;
    }
    .mob_menu{
        display: flex;
        flex-direction: column;
        width: 100%;
        position: fixed;
        bottom: 0dvh;
        left: 0;
        z-index: 6;
    }
    .mob_menu > a{
        border-top: 1px solid #ddd;
        background-color: #fff;
        color: #000;
        font-size: 16px;
        font-weight: 400;
        padding: 15px 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    footer .fp-tableCell{
        padding-bottom: 100px;
    }
}
@media (max-width: 1110px) {
    #section2 .fp-tableCell{
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 1fr 1fr;
        grid-template-areas:
            "title title"
            "con con2"
            "con con2";
        overflow: hidden;
    }
    /* normal-scroll 클래스가 있는 섹션의 모바일 대응 */
    .section.normal-scroll {
        height: auto !important;
        min-height: 100vh !important;
    }
    .section.normal-scroll .fp-tableCell {
        height: auto !important;
        padding-bottom: 50px;
    }
    /* section2 전용 모바일 스타일 */
    #section2.normal-scroll {
        overflow-y: auto;
    }
    #section2 ul li{
        flex-direction: column;
        align-items: flex-start;
    }
    #section2 .fp-tableCell ul:last-child li{
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    #section0 .txt_hide{
        margin-top: 100px;
    }
    .contact_inner_wrap{
        gap: 20px;
    }
}
@media (max-width: 730px) {
    .contact_title{
        font-size: 40px;
    }
    .contact_title_wrap{
        margin-bottom: 20px;
    }
    #section2 .middle em{
        font-size: 50px;
    }
    #section2 .middle em>span{
        font-size: 80px;
    }
    #section0 .txt_hide{
        width: 220px;
    }
    #section2 .fp-tableCell{
        grid-template-columns: 1fr;
        grid-template-rows: 200px auto auto;
        grid-template-areas:
            "title"
            "con"
            "con2";
        gap: 30px;
    }
    #section2 ul li img{
        width: 100%;
    }
    #section1 .fp-tableCell{
        padding: 100px 18px 20px;
    }
    #section1 .right img:nth-child(3){
        right: unset;
        left: 0;
        width: calc(100% - 36px);
    }
    #section1 .right img:nth-child(2){
        display: none;
    }
    .contact_sub_title{
        display: none;
    }

    .m_map_wrap {
        display: block;
    }
    .m_map_wrap img {
        max-width: 100%;
    }
    .contact_inner_wrap{
        max-width: 100%;
    }
}

@media (max-width: 530px) {
    .contact_title_wrap{
        margin-bottom: unset;
    }
    .map_address{
        margin-top: 0;
        font-size: 16px;
        margin-bottom: 10px;
        width: 100%;
    }
    .map_txt_wrap dd{
        margin-top: unset;
        font-size: 18px;
        text-align: center;
    }
    .map_txt_wrap dt{
        text-align: center;
    }
    .contact_inner_wrap{
        margin-top: 10px;
        flex-direction: column;
        gap: 20px;
    }
    .map_wrap img{
        max-width: 60%;
    }
    .map_wrap{
        gap: 10px;
        align-items: center;
    }
    .btn_contact_wrap{
        width: 100%;
        justify-content: center;
    }
}