@import url(./reset.css);
@import url(./fonts.css);

@media (max-width: 769px) {
    .pc {
        display: none;
    }
}

@media (min-width: 769px) {
    .mo {
        display: none;
    }
}

.view {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-in;
}

.view.view-on {
    opacity: 1;
    transform: translateY(0);
}

b {
    font-weight: 700 !important;
}

body,
html {
    scroll-behavior: smooth;
}

body.lock {
    overflow: hidden;
}

header {
    width: 100%;
    z-index: 999;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

header.scrolled {
    backdrop-filter: blur(1.5px);
}

header.active .header-inner .all-menu-btn {
    position: fixed;
    top: 12px;
    right: 15px;
}

header.active .header-inner .all-menu-btn span:nth-child(1) {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

header.active .header-inner .all-menu-btn span:nth-child(2) {
    opacity: 0;
}

header.active .header-inner .all-menu-btn span:nth-child(3) {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

header.active .all-menu-wrap {
    opacity: 1;
    pointer-events: all;
}

header .header-inner {
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    max-width: 1398px;
}

@media (max-width: 769px) {
    header .header-inner .logo {
        width: 83px;
    }
}

header .header-inner .logo a {
    display: block;
}

header .header-inner .logo img {
    display: block;
    width: 100%;
}

header .header-inner .all-menu-btn {
    position: relative;
    z-index: 9999;
    width: 50px;
    height: 35px;
    background-color: #76110e;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    gap: 3px;
    display: none;
    cursor: pointer;
    position: relative;
}

@media (max-width: 769px) {
    header .header-inner .all-menu-btn {
        display: flex;
    }
}

header .header-inner .all-menu-btn span {
    transition: all 0.2s ease-out;
    width: 18px;
    display: inline-block;
    height: 2px;
    background-color: #fff;
}

header .header-inner .snb-wrap {
    display: flex;
    align-items: center;
}

@media (max-width: 769px) {
    header .header-inner .snb-wrap {
        display: none;
    }
}

header .all-menu-wrap {
    position: fixed;
    overflow: hidden;
    z-index: 333;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease-out;
}

header .all-menu-wrap .all-menu {
    width: 68.2857142857%;
    background-color: #fff;
    position: fixed;
    z-index: 333;
    right: 0;
    top: 0;
    height: 100vh;
    padding-top: 60px;
    padding: 60px 30px 30px 30px;
    transition: all 0.3s ease-out;
}

header .all-menu-wrap .all-menu li a {
    padding: 15px;
    font-size: 19px;
    display: block;
    border-bottom: 1px solid #000;
}

.top-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    z-index: 97;
    transform: translateY(20px);
    transition: all 0.2s ease-out;
}

.top-btn.scroll {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

@media (max-width: 769px) {
    .top-btn {
        right: 15px;
        bottom: 30px;
        width: 45px;
    }

    .top-btn img {
        width: 100%;
    }
}

.main {
    width: 100%;
    max-width: 1920px;
    overflow: hidden;
    margin: 0 auto;
    background-image: url(../../images/main.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 829px;
    padding-top: 174px;
}

@media (max-width: 769px) {
    .main {
        background-image: url(../../images/main-mo.jpg);
        padding-bottom: 200%;
        background-position: bottom;
        padding-top: 0;
        min-height: unset;
    }
}

.main .left {
    width: 100%;
    max-width: 1610px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (max-width: 769px) {
    .main .left {
        padding-top: 28.5714285714%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.main .left .contents-wrap {
    max-width: 574px;
    width: 100%;
}

@media (max-width: 769px) {
    .main .left .contents-wrap {
        max-width: unset;
        width: 100%;
    }
}

.main .left .contents-wrap .title {
    width: 100%;
    margin-bottom: 65px;
}

@media (max-width: 769px) {
    .main .left .contents-wrap .title {
        margin-bottom: 30px;
    }
}

@media (max-width: 769px) {
    .main .left .contents-wrap .title img {
        margin: 0 auto;
        max-width: 310px;
    }
}

.main .left .contents-wrap .contents {
    margin: 0 auto;
    width: 100%;
    max-width: 532px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.main .left .contents-wrap .contents a {
    width: 160px;
    height: 160px;
    margin-right: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #31a097;
    border-radius: 20px;
    margin-bottom: 26px;
    transition: all 0.3s ease-out;
}

@media (max-width: 769px) {
    .main .left .contents-wrap .contents a {
        margin-right: 13px;
        margin-bottom: 13px;
        height: 90px;
        width: calc(33% - 8.6666663px);
    }
}

@media (min-width: 769px) {
    .main .left .contents-wrap .contents a:hover {
        border: 1px solid #6cc09c;
        transform: translateY(-20px);
        background-color: #2aa97c;
        box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.3);
    }

    .main .left .contents-wrap .contents a:hover .img p {
        color: #fff;
        transition: all 0.3s ease-out;
    }
}

.main .left .contents-wrap .contents a .img {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

@media (max-width: 769px) {
    .main .left .contents-wrap .contents a .img {
        gap: 10px;
    }
}

.main .left .contents-wrap .contents a:nth-child(3) {
    margin-right: 0;
}

.main .left .contents-wrap .contents a:nth-last-child(2) {
    margin-bottom: 0;
}

.main .left .contents-wrap .contents a:last-child {
    margin-right: 0;
    margin-bottom: 0;
}

.main .left .contents-wrap .contents a p {
    font-size: 20px;
    font-weight: 500;
    color: #48a7a2;
}

@media (max-width: 769px) {
    .main .left .contents-wrap .contents a p {
        font-size: 14px;
    }
}

.snb {
    flex-shrink: 0;
    display: flex;
    gap: 4px;
}

@media (max-width: 769px) {
    .snb {
        order: 1;
        margin-bottom: 24px;
    }
}

.snb .link {
    display: flex;
    align-items: center;
    padding: 8px 15px 12px;
    border-radius: 30px;
    gap: 6px;
    background-color: #0b0b0b;
}

.snb .link .icon {
    transform: translateY(1px);
}

.snb .link:nth-child(2) {
    margin-right: 8px;
}

@media (max-width: 769px) {
    .snb .link:nth-child(2) {
        margin-right: 0;
    }
}

.snb .link p {
    font-size: 16px;
    color: #fff;
}

@media (max-width: 769px) {
    .snb .link p {
        font-size: 15px;
    }
}

footer .footer-inner {
    width: 100%;
    max-width: 1465px;
    margin: 0 auto;
}

footer.main-footer {
    background-color: #2c9771;
}

footer.main-footer .footer-inner {
    padding: 27px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 769px) {
    footer.main-footer .footer-inner {
        flex-direction: column;
    }
}

@media (max-width: 769px) {
    footer.main-footer .footer-inner .info {
        display: flex;
        flex-direction: column;
        order: 2;
    }
}

footer.main-footer .footer-inner .info span {
    font-size: 15px;
    color: #fff;
}

@media (max-width: 769px) {
    footer.main-footer .footer-inner .info span {
        text-align: center;
        font-size: 12px;
        line-height: 16px;
    }
}

@media (max-width: 769px) {
    footer.main-footer .footer-inner .info span:nth-child(1) {
        order: 2;
    }
}

@media (max-width: 769px) {
    footer.main-footer .footer-inner .info span:nth-child(2) {
        order: 1;
    }
}

footer.sub-footer {
    margin-top: 90px;
    padding: 34px 0;
    border-top: 2px solid #e2e2e2;
}

@media (max-width: 769px) {
    footer.sub-footer {
        margin-top: 50px;
        border-top: 1px solid #c1c4d3;
        padding: 24px 0;
    }
}

footer.sub-footer .footer-inner {
    padding: 0 15px;
    margin: 0 auto;
}

footer.sub-footer .info {
    text-align: center;
    font-size: 15px;
    color: #868686;
}

@media (max-width: 769px) {
    footer.sub-footer .info {
        font-size: 12px;
        line-height: 16px;
    }
}

@media (min-width: 769px) {
    footer.sub-footer .snb {
        display: none;
    }
}

@media (max-width: 769px) {
    footer.sub-footer .snb {
        justify-content: center;
    }
}