body {
    font-family: "Crimson Text", serif;
}

/* slide */
.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

.slide {
    width: 70%;
    height: 100vh;
    position: absolute;
    z-index: -1;
    right: 0;
    opacity: 0;
    transition: opacity 2s;
    background-size: cover;
    background-position: 50%;
}

.active {
    opacity: 1;
}

.slide1 {
    background: url(../image/main_img1.png);
}

.slide2 {
    background: url(../image/main_img2.png);
}

.slide3 {
    background: url(../image/main_img3.png);
}

.slide4 {
    background: url(../image/main_img4.png);
}

.slide5 {
    background: url(../image/main_img5.png);
}

/* main_container */
.main_container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.main_img {
    background-image: url(../image/main_img.png);
    width: 70%;
    height: 100vh;
    position: absolute;
    z-index: -1;
    right: 0;
    background-size: cover;
    background-position: 50%;
}

.main_content {
    padding: 100px 64px;
}

h1 {
    text-align: right;
}

.main_text_content {
    color: #4e4e4e;
    font-size: 80px;
    font-weight: 700;
    padding-top: 10%;
    padding-left: 14%;
}

.text_line {
    margin-bottom: 22px;
    opacity: 0;
}

.word:nth-child(1) {
    margin-bottom: 22px;
    opacity: 0;
    animation: textUp 0.6s forwards;
}
.word:nth-child(2) {
    margin-bottom: 22px;
    opacity: 0;
    animation: textUp 0.6s forwards;
    animation-delay: 0.3s;
}
.word:nth-child(3) {
    margin-bottom: 22px;
    opacity: 0;
    animation: textUp 0.6s forwards;
    animation-delay: 0.6s;
}
.word:nth-child(4) {
    margin-bottom: 22px;
    opacity: 0;
    animation: textUp 0.6s forwards;
    animation-delay: 0.9s;
}



@keyframes textUp {
    100% {
        opacity: 1;
        /* transform: translateY(0); */
    }
}

/* recommend_container */
.recommend_container {
    background-image: url(../image/recommend.svg);
    width: 100%;
    height: 100vh;
    background-position: 50%;
    background-size: cover;
    overflow: hidden;
}

.recommend_main_content {
    overflow: hidden;
}

.recommend_content {
    padding: 150px 0 0 100px;
    color: #fff;
    display: flex;
    gap: 80px;
    width: 100%;
}

.recommend_side_content {
    display: flex;
    flex-direction: column;
    gap: 86px;
    align-items: flex-start;
    font-family: 'NanumSquareNeo', sans-serif;
}

.tab-button {
    width: 400px;
    height: 80px;
    padding: 24px 16px;
    font-size: 24px;
    font-weight: 400;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.tab-button.active {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid #fff;
}

.content_box {
    display: none;
    flex-direction: column;
    gap: 60px;
    overflow: hidden;
    word-break: keep-all;
}

.content_box.active {
    display: flex;
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
    }

    to {
        transform: translateY(0);
    }
}

.content_box.active {
    display: flex;
    animation: fadeInUp 0.6s ease;
}

.card {
    width: 330px;
    height: 443px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.card_img_radius {
    border-radius: 24px;
}

.content_box>h2 {
    font-size: 64px;
    font-weight: 600;
}

.scroll_wrapper {
    overflow-x: scroll;
    display: flex;
    align-items: center;
    gap: 32px;
    width: 78%;
    padding-bottom: 36px;
    font-family: 'NanumSquareNeo', sans-serif;
}

.scroll_wrapper:active {
    cursor: pointer;
}

.scroll_wrapper::-webkit-scrollbar {
    height: 8px;
}

.scroll_wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.scroll_wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.scroll_wrapper::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.card_text_box>h3 {
    margin-left: 16px;
    margin-bottom: 24px;
    font-size: 22px;
    font-weight: 500;
}

.card_text_box>p {
    margin-left: 16px;
}

.card_text_box>p:first-of-type {
    margin-bottom: 10px;
}

/* new_container */
.new_container {
    max-width: 1200px;
    height: 100vh;
    margin: 120px auto 0px;
    position: relative;
    padding: 0 16px;
}

.new_full_content {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.new_full_content.show {
    opacity: 1;
    transform: translateY(0);
}

.new_container>h2 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 32px;
}

.new_img_box {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 0;
}

.new_img_box img {
    position: absolute;
    transition: transform 0.1s ease-out;
}

.new1 {
    top: -6px;
    right: 100px;
}

.new2 {
    width: 450px;
    top: 140px;
    left: 20px;
}

.new3 {
    width: 300px;
    right: 200px;
    top: 400px;
}

.new_text_content {
    font-size: 84px;
    font-weight: 600;
    color: #3a3a3a;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 20%);
    line-height: 1.2;
    z-index: 1;
}

/* top_container */
.top_container {
    width: 1200px;
    height: 100vh;
    margin: 120px auto;
    color: #fff;
    padding: 0 16px;
    font-family: 'NanumSquareNeo', sans-serif;
    word-break: keep-all;
}

.top_container>h2 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 32px;
    color: #000;
    font-family: "Crimson Text", serif;
}

.top_full_content {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.top_full_content.show {
    opacity: 1;
    transform: translateY(0);
}

.top_content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.first_box {
    background: url(../image/top1.png);
    width: 560px;
    height: 500px;
    background-size: cover;
    padding: 24px;
    box-sizing: border-box;
}

.second_box {
    background: url(../image/top2.png);
    background-size: cover;
    padding: 16px;
    box-sizing: border-box;
}

.third_box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.third_top_box {
    background: url(../image/top3.png);
    border-radius: 0 80px 0 0;
    background-size: cover;
    height: 200px;
    padding: 16px;
    box-sizing: border-box;
}

.third_bottom_box {
    background: url(../image/top4.png);
    background-size: cover;
    height: 280px;
    padding: 16px;
    box-sizing: border-box;
}

.fifth_box {
    background: url(../image/top5.png);
    border-radius: 0 0 0 80px;
    background-size: cover;
    background-position: center;
    height: 220px;
    padding: 24px;
    box-sizing: border-box;
}

.big_common_h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.common_h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.big_common_p {
    font-size: 20px;
    line-height: 22px;
}

.top_content>div,
.top_content>div>div,
.bottom_content>div {
    background-repeat: no-repeat;
    background-position: center;
    transition: all 1s ease;
}

.top_full_content:hover>.top_content>div:not(:hover),
.top_full_content:hover>.top_content>div>div:not(:hover),
.top_full_content:hover>.bottom_content>div:not(:hover) {
    filter: brightness(0.7);
}

/* location_container */
.location_container {
    background-color:
        #3A3A3A;
    padding: 100px 0;
    box-sizing: border-box;
}

.location_full_content {
    width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.location_full_content.show {
    opacity: 1;
    transform: translateY(0);
}

.location_full_content>h2 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 32px;
    color: #fff;
}

.loction_content {
    display: flex;
    justify-content: space-between;
}

.left_content {
    width: 45%;
}

.right_content {
    width: 45%;
}

.input_box {
    border: 2px solid #B7B7B7;
    border-radius: 50px;
    padding: 8px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    box-sizing: border-box;
}

.input {
    font-size: 20px;
    padding: 0 12px;
}

.input,
.search_icon {
    border: none;
    background: none;
    outline: none;
    color: #b7b7b7;
}

.input::placeholder {
    font-size: 20px;
}

.top_img_box {
    margin-bottom: 40px;
}

.top_img_box>img {
    width: 100%;
}

.bottom_box>p {
    color: #fff;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 28px;
}

.bottom_img_box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.bottom_img_box>img {
    width: 250px;
}

.right_content>iframe {
    width: 100%;
    height: 100%;
    border-radius: 24px;
}

/* footer */
footer {
    background: url(../image/footer.svg);
    height: 400px;
    padding: 80px;
    color: #fff;
    box-sizing: border-box;
    font-family: 'NanumSquareNeo', sans-serif;
}

.logo {
    width: 300px;
}

.logo>img {
    width: 100%;
}

.tel {
    margin-top: 40px;
    margin-bottom: 30px;
}

.tel>p,
.service>p {
    font-size: 18px;
}