@font-face {
    font-family: "Freesentation-4Regular";
    src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-4Regular.woff2")
        format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Freesentation-9Black";
    src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-9Black.woff2")
        format("woff2");
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: "JSArirang-Regular";
    src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/JSArirang-RegularA1.woff")
        format("woff");
    font-weight: normal;
    font-style: normal;
}

:root {
    --black: #111;
    --white: #f8f8f8;
    --gray: #dcdcdc;
    --color: #111;
}

* {
    box-sizing: border-box;
    word-break: keep-all;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: "Freesentation-4Regular", sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    text-align: center;
}

a {
    color: var(--black);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--black);
}

b {
    font-family: "Freesentation-9Black", sans-serif;
}

img {
    object-fit: cover;
}

h1,
.typing-container-slogan {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    font-family: "Freesentation-9Black", sans-serif;
}

h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    font-family: "Freesentation-9Black", sans-serif;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 0.8rem;
    font-family: "Freesentation-9Black", sans-serif;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-family: "Freesentation-9Black", sans-serif;
}

h5 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    font-family: "Freesentation-9Black", sans-serif;
}

h6 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-family: "Freesentation-9Black", sans-serif;
}

table {
    border-collapse: collapse;
    table-layout: fixed;
}

td {
    padding: 0 0.5rem;
}

.container {
    position: relative;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.divLine {
    height: 1px;
    background-color: var(--gray);
}

.mainNav {
    z-index: 99;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    width: 100dvw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: var(--white);
    border-bottom: solid 1px var(--gray);
    transition: background-color 800ms ease, border-color 800ms ease;
}

.navLogo a {
    display: flex;
    align-items: center;
}

.navLogo img {
    height: 40px;
    margin-right: 10px;
    transition: filter 800ms ease;
}

.navLogo span {
    font-size: 24px;
    font-weight: bold;
    color: var(--white);
}

.navToggle {
    display: none;
}

.navBar {
    padding-left: 1rem;
    display: none;
    cursor: pointer;
    font-weight: bold;
    font-size: x-large;
}

.navBar::before {
    content: "󰀢";
}

.navToggle:checked + .navBar::before {
    content: "󰀣";
}

.navLinks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navLinks li {
    position: relative;
    margin-left: 25px;
}

.navLinks a {
    width: 100%;
    height: 100%;
    display: inline-block;
    line-height: 30px;
    font-family: "Freesentation-9Black", sans-serif;
}

.navLinks .hl {
    z-index: -1;
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color);
    transform: translateX(-50%);
    transition: width 400ms ease;
}

.navHome:not(:hover) {
    background-color: transparent;
    border-color: transparent;
}

.navHome:not(:hover) .navLogo img {
    filter: invert(100%);
}

.navHome:not(:hover) .navLinks a {
    color: var(--white);
}

.navHome:not(:hover) .navLinks .hl {
    background-color: var(--white);
}

.navHome .navLinks a {
    color: var(--black);
}

.navLinks li:hover a,
.navLinks li:focus a,
.navAbout .navAbout a,
.navNews .navNews a,
.navProjects .navProjects a,
.navContact .navContact a {
    color: var(--color);
}

.navLinks li:hover .hl,
.navLinks li:focus .hl,
.navAbout .navAbout .hl,
.navNews .navNews .hl,
.navProjects .navProjects .hl,
.navContact .navContact .hl {
    width: 100%;
}

.swiper {
    width: 100%;
    width: 100vw;
    width: 100dvw;
    height: 100%;
    height: 100vh;
    height: 100dvh;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--white);
}

.swiper-button-disabled::after {
    opacity: 0;
}

.slideBackgroundImg {
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sectionMargin {
    height: 70px;
}

.footer {
    font-size: 14px;
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: solid 1px var(--gray);
}

.slogan {
    padding: 2rem;
    width: calc(100vw - 80px);
    width: calc(100dvw - 80px);
    max-width: 900px;
    color: var(--white);
    backdrop-filter: blur(4px) brightness(0.8);
    border: solid 1px rgba(255, 255, 255, 0.2);
    text-wrap: balance;
}

.typing-container-slogan {
    font-family: "JSArirang-Regular", sans-serif;
}

.slogan h1 {
    line-height: 1.4;
}

.swiper-mainProjects {
    width: 100%;
    height: 100%;
}

.mainProjectSlide,
.mainProjectSlide:link,
.mainProjectSlide:visited,
.mainProjectSlide:hover,
.mainProjectSlide:active {
    cursor: pointer;
    color: var(--white);
    text-decoration: none;
}

.mainProjectSlide .slideBackgroundImg {
    filter: brightness(0.5) blur(0);
}

.mainProjectContent {
    padding: 2rem;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-left: solid 0.5px rgba(255, 255, 255, 0.2);
    border-right: solid 0.5px rgba(255, 255, 255, 0.2);
    transition: backdrop-filter 800ms ease;
}

.mainProjectSlide:hover .mainProjectContent {
    backdrop-filter: blur(4px) brightness(0.8);
}

.mainProjectStatus {
    padding: 0.2rem 0.5rem;
    border: solid 1px rgba(255, 255, 255, 0.5);
}

.mainProjectTitle h5 {
    margin: 0;
}

.mainProjectTitle .hl {
    margin: 0 auto;
    width: 0%;
    height: 1px;
    background-color: var(--white);
    opacity: 0.5;
    transition: width 400ms ease;
}

.mainProjectSlide:hover .mainProjectTitle .hl {
    width: 100%;
}

.aboutService {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.aboutService.aboutService-mainPage {
    width: 100%;
    height: 100%;
    flex-direction: column;
    gap: 0;
}

.aboutServiceItem {
    position: relative;
    padding: 1rem;
    width: 100%;
    height: 40vh;
    height: 40dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    line-height: 1.4;
}

.aboutService-mainPage .aboutServiceItem {
    width: 100%;
    height: 100%;
}

.aboutServiceImg {
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    transition: transform 800ms ease;
}

.aboutServiceItem:hover .aboutServiceImg {
    transform: scale(1.05);
}

.aboutServiceItem *:not(.aboutServiceImg) {
    backdrop-filter: blur(4px);
}

.swiper-history {
    margin-top: 2rem;
    overflow: hidden;
}

.swiper-history .swiper-wrapper {
    transition-timing-function: linear;
}

.historySlide {
    align-items: start;
    justify-content: start;
    text-align: left;
}

.historyYear {
    margin: 0;
}

.historyLine {
    width: 100%;
    height: 0.5rem;
    border-left: solid 1px var(--black);
    border-bottom: solid 1px var(--gray);
}

.historyEvent {
    position: relative;
    padding-top: 1rem;
    padding-left: 1rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    line-height: 1.2;
}

.historyLines {
    position: absolute;
    top: 0;
    left: 0;
    width: 0.5rem;
    height: 100%;
}

.historyLineUp {
    width: 100%;
    height: calc(1rem + 1.2rem / 2);
    border-left: solid 1px var(--gray);
    border-bottom: solid 1px var(--gray);
}

.historyLineDn {
    width: 100%;
    height: calc(100% - 1rem - 1.2rem / 2);
    border-left: solid 1px var(--gray);
}

.historyEvent small {
    font-style: italic;
}

.orgContainer {
    margin: 0 auto;
    max-width: 600px;
}

.orgElement .orgElement {
    position: relative;
    padding-top: 1rem;
    padding-left: 2rem;
}

.orgTeam {
    padding: 0 1rem;
    min-height: 2.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border: solid 1px var(--black);
    background-color: var(--black);
    color: var(--white);
}

.orgElement .orgElement .orgTeam {
    background-color: var(--gray);
    color: var(--black);
}

.orgElement .orgElement .orgElement .orgTeam {
    background-color: transparent;
}

.orgTeam h6 {
    margin: 0;
}

.orgWork {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

.orgLines {
    position: absolute;
    top: 0;
    left: 1rem;
    width: 1rem;
    height: 100%;
}

.orgLineUp {
    width: 100%;
    height: calc(1rem + 2.5rem / 2);
    border-left: solid 1px var(--black);
    border-bottom: solid 1px var(--black);
}

.orgLineDn {
    width: 100%;
    height: calc(100% - 1rem - 2.5rem / 2);
    border-left: solid 1px var(--black);
}

.subsidiaryContainer {
    margin: 0 auto;
    margin-top: 2rem;
    width: fit-content;
    text-align: left;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.subsidiary {
    text-align: left;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.aboutMessage {
    margin: 0 auto;
    max-width: 360px;
    text-align: left;
    text-wrap: balance;
}

.aboutMessageSignature {
    text-align: right;
}

.projectsContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.projectItem {
    cursor: pointer;
    position: relative;
    width: calc((100% - 2rem) / 3);
    height: 40vh;
    height: 40dvh;
    overflow: hidden;
}

.projectItemImg {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 800ms ease;
    filter: brightness(0.5);
}

.projectItem:hover .projectItemImg {
    transform: scale(1.05);
}

.projectContent {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--white);
}

.projectStatus {
    padding: 0.2rem 0.5rem;
    border: solid 1px rgba(255, 255, 255, 0.5);
}

.projectImg {
    width: 100%;
}

.projectTableLabelCell {
    display: flex;
    justify-content: space-between;
}

.projectTableValueCell {
    text-align: left;
}

.menuLink,
.menuLink:hover {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border: solid 1px var(--black);
    background-color: var(--black);
    color: var(--white);
}

.newsContainer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.newsCard {
    padding: 2rem;
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
    background-color: white;
    border: solid 1px var(--gray);
    transition: border-color 400ms ease;
}

.newsCard:hover {
    border-color: var(--black);
}

.newsTitle {
    margin: 0;
}

.newsText {
    margin: 2rem auto;
    text-align: left;
    white-space: pre-wrap;
    width: fit-content;
    max-width: 720px;
}

.newsLink {
    text-decoration: underline;
}

.map img {
    width: 100%;
    height: 50vh;
    height: 50dvh;
    object-fit: cover;
    transition: filter 800ms ease;
}

.map:hover img {
    filter: brightness(0.5);
}

.mapIcon {
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    height: 2rem;
    transition: filter 800ms ease;
}

.map:hover ~ .mapIcon {
    filter: invert(100%);
}

.mapAlt {
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    opacity: 0;
    transition: opacity 800ms ease;
}

.map:hover ~ .mapAlt {
    opacity: 1;
}

.contactTable {
    text-align: left;
}

.contactTableLavel {
    padding: 0;
}

@media (max-width: 1200px) {
    .aboutService {
        flex-direction: column;
    }

    .projectItem {
        width: 100%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .mainNav {
        padding: 15px 20px;
        flex-wrap: wrap;
    }

    .navBar {
        display: block;
    }

    .navLinks {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
    }

    .navToggle:checked ~ .navLinks {
        display: flex;
    }

    .navLinks li {
        margin: 10px 0;
    }

    h1,
    .typing-container-slogan {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .footer {
        font-size: 13px;
    }

    .aboutServiceItem {
        height: 30vh;
        height: 30dvh;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .mainNav {
        padding: 10px 15px;
    }

    .nav-logo img {
        height: 35px;
    }

    .nav-logo span {
        font-size: 20px;
    }

    .navLinks li {
        margin: 8px 0;
    }

    .sectionMargin {
        height: 60px;
    }

    .container {
        margin: 15px auto;
        padding: 0 15px;
    }

    h1,
    .typing-container-slogan {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .footer {
        font-size: 12px;
    }
}

