@charset "utf-8";
@import url('../css/common.css');

/* -------------------
LAYOUT               |
------------------- */
html {font-size: 16px}
.container {width: 100%;max-width: 100%; padding-left: 5rem;padding-right: 5rem;}
#wrap {min-height: 100vh;background-color: #222}

/* HEADER */
header {position: sticky;top: 0;z-index: 50;height: 245px; text-align: center;}
header .container {height: 100%}
header .gnb-area {height: 100%;display: flex;flex-direction: column;justify-content: flex-end}
header #gnb {margin-top: 1.5rem;margin-bottom: 2.5rem}
header #gnb ul {display: flex; font-weight: bold;}
header #gnb li:nth-child(3) {margin-left: auto}
header #gnb li span {font-weight: normal}
header #gnb li~li {margin-left: 1.5rem}
header #toggle-open {display: none}
header.scroll {transform: translate(0, -100%)}
#nav-mask {display: none;opacity: .9; background-color: #000;position: fixed;top: 0;right: 0;left: 0;width: 100%;height: 100%;z-index: 51}
#nav {display: none}

/* FOOTER */
footer {padding: 4.375rem 0; text-align: center; font-size: .937rem}
footer h1 {font-size: 1.25rem; font-weight: normal}
footer h1 span {font-weight: bold}
footer ul {margin: 2rem 0; display: flex; justify-content: center; font-weight: bold}
footer li~li {margin-left: 1.5em;}
footer address {line-height: 1.9}
footer address b {margin-right: .5em;}
footer address b~b {margin-left: 1em;}

/* -------------------
INDEX                |

/* -------------------
SUB                  |
------------------- */
#content {position: relative;z-index: 51;background-color: #222;}
.sub-content {font-size: 1.062rem;line-height: 1.6}
.sub-content h2 {font-size: 1.625rem;margin-bottom: .5em}

/* -------------------
회사소개              |
------------------- */
.about-contact {padding: 6.25rem 0;border-top: 1px solid #fff;border-bottom:1px solid #fff}
.about-contact :where(.about, .contact) {display: flex}
.about-contact h2 {width: 25%;max-width: 240px;;flex-shrink: 0;padding-right: 1rem}
.about-contact .img {margin-top: 2rem; margin-bottom: 5rem}
.about-contact li {display: flex;}
.about-contact li b {margin-left: 1rem}
.about-contact .contact {}
.contact .form {margin-top: 3rem}
.contact .form .form-control {background: none;border:0; border-bottom: 1px solid #fff;margin-bottom: 1.25rem; padding-left: 0;padding-right: 0; font-size: 1.062rem; color:#fff}
.contact .form .btn-box {margin-top: 7rem;}
.contact .form .btn {width: 100%;display: block;max-width: inherit}
#privacy .modal-dialog {max-width: 700px;}
#privacy .modal-content {background-color: #414141; border-radius: 0; color:#fff; padding: 3.125rem}
#privacy .modal-header {border: 0;padding: 0;margin-bottom: 2rem}
#privacy .modal-header .modal-title {font-size: 1.25rem;}
#privacy .modal-header .btn-close {background: none; color: #fff; opacity: 1;width: auto;height: auto;}
#privacy .modal-header .btn-close:before {content: "\F659"; font-family: bootstrap-icons; font-size:1.5rem;}
#privacy .modal-body {padding: 0}
#privacy .modal-body p {white-space: pre-line}

/* -------------------
프로젝트              |
------------------- */
.project-list {background-color: #222; position: relative;z-index: 51}
.project-list ul {display: flex;flex-wrap: wrap;margin-left: -.625rem;;margin-right: -.625rem;}
.project-list li {padding: 0 .625rem;width: 25%;margin-bottom: 1.875rem;}
.project-list li .inner {position: relative}
.project-list li:nth-child(1) {width: 50%}
.project-list li:nth-child(1) .thumb span {padding-top: 45.977%}
.project-list li:nth-child(1) .info {position: absolute; padding-top: 0; color: #fff;left: 2.5rem; top: 2.5rem;opacity: 0;transform: translate(2rem, 0);transition: all 0.3s;z-index: 3;}
.project-list li:nth-child(1) .info strong {margin-left: 1rem;transition: all .3s ease}
.project-list li:nth-child(1) .info .cate {margin-left: 2rem;transition: all .3s ease}
.project-list li:nth-child(1):hover .info {opacity: 1;transform: translate(0, 0);}
.project-list li:nth-child(1):hover .info strong {margin-left: 0;}
.project-list li:nth-child(1):hover .info .cate {margin-left: 0;}
.project-list li {padding: 0 .625rem;margin-bottom: 1.875rem}
.project-list li .thumb span:after {content: "";position: absolute;left: 0;top: 0;width: 100%;height: 100%;background-color: rgba(0, 0, 0, 0.7); z-index: 1;transition: all 0.3s;opacity: 0}
.project-list li .thumb span:before {content: "";background: url(../img/plus.png) no-repeat 50%; width: 3.125rem;height: 3.125rem;;position: absolute;;left: 50%;top: 50%;transform: translate(-50%, -20%);z-index: 2;transition: all 0.3s;opacity: 0}
.project-list li:hover .thumb span:before {opacity: 1;transform: translate(-50%, -50%)}
.project-list li:hover .thumb span:after {opacity: 1;}
.project-list .thumb {background-color: #000}
.project-list .thumb span {display: block;padding-top: 77.647%;position: relative}
.project-list .thumb span img {position: absolute;left: 0;top: 0;width: 100%;height: 100%;object-fit: cover}
.project-list .info {padding: 1rem 0 0}
.project-list .info strong {font-size: 1.25rem; display: block;word-break: break-word}
.project-list .info span {font-size: .812rem;display: inline-block;line-height: 1;}
.project-list .info span+span {border-left: 1px solid rgba(220, 221, 221, 0.3);margin-left: 1em;padding-left: 1em;}

.project-detail {padding-bottom: 4.375rem;overflow: hidden}
.project-detail dl {text-align: center}
.project-detail dt {font-size: 1.25rem;}
.project-detail dd img {margin: 1.25rem auto 0 auto; display: block;}
.project-detail dt+dd {margin: .5rem 0 2rem}
.project-detail dt+dd span {font-size: .812rem;display: inline-block;line-height: 1;}
.project-detail dt+dd span+span {border-left: 1px solid rgba(220, 221, 221, 0.3);margin-left: 1em;padding-left: 1em;}
.project-detail dt+dd~dd {line-height: 1.8}
.project-detail .back {margin: 6.25rem 0 0;text-align: center; font-weight: bold}
.project-detail .back img {margin-right: .5rem;}

/* -------------------
고객센터              |
------------------- */
.form-control::-webkit-input-placeholder {color: #ddd;}
.form-control:-ms-input-placeholder {color: #ddd;}
.form-control::placeholder {color: #ddd;}
.checkbox a {border-bottom: 1px solid #111}

/* -------------------
팝업                 |
------------------- */

@media (max-width: 1400px) {
    .container {padding-left: 15px;padding-right: 15px;}   
}

@media (max-width: 1200px) {
    .project-list li:nth-child(1) {width: 66.6666%}
    .project-list li {width: 33.3333%}
}
@media (max-width: 991px) {
    html {font-size: 13px}
    .container {padding: 0 15px}
    body.show {overflow: hidden}
    header {height: 50px; background-color: #222;}
    header.scroll {background-color: rgba(0, 0, 0, 0.8)}
    header .gnb-area {flex-direction: row;justify-content: flex-start;align-items: center;}
    header h1 {width: 5rem;}
    header #gnb {display: none}
    header #toggle-open {display: block; padding: 0;font-size: 1.5rem; color: #fff;margin-left: auto;}
    header.scroll {transform: none;border-bottom-color: rgba(255, 255, 255, 0.12)}
    #nav {display: block;position: fixed;left: 0;top: 0;width: 100%;height: 100vh;background-color: #222; padding: 2rem; transform: translate(-100%, 0);transition: all 0.5s ease .3s; z-index: 100;}
    #nav ul {font-size: 1.5rem; font-weight: bold;height: 100%; display: flex;flex-direction: column;margin-top: 3rem}
    #nav li span {font-weight: normal}
    #nav li:nth-child(3) {margin-top: 3rem}
    #nav .btn {position: absolute;padding: 0; top: .5rem;right: 1rem; font-size: 2.5rem;color: #dcdddd}
    #nav.show {transform: translate(0, 0);}
    
    /* -------------------
    SUB                  |
    ------------------- */
	#content {position: static;}
    .sub-content {padding-top: 2rem;overflow: hidden;}

    /* -------------------
    회사소개              |
    ------------------- */
    .about-contact {padding: 0 0 3rem 0;}
    .about-contact h2 {font-size: 2rem}
    .about-contact :where(.about, .contact) {display: block}
    .about-contact li {padding-left: 8.5rem;text-indent: -8.5rem}
    .about-contact li b {text-indent: 0; margin-left: 0}
    .about-contact .img {max-width: 5rem;margin-bottom: 1rem;}
    .about-contact .contact {margin-top: 5rem;margin-left: 0;width: 100%}
    .contact .form .btn-box {margin-top: 2rem}
    
    /* -------------------
    프로젝트              |
    ------------------- */
    .project-list {position: static}
    .project-list ul {margin-left: -7px;margin-right: -7px}
    .project-list li:nth-child(1) {width: 100%}
    .project-list li {width: 50%;margin-bottom: 1rem;padding: 0 7px}
    .project-list li:nth-child(1) .info { left: 1rem;top: 1rem}
    .project-list li .thumb span:before { width: 1.25rem;height: 1.25rem}
    .project-list .info strong {font-size: 1.125rem}
    .project-list .info span {margin-right: .5rem}
    .project-list .info span+span {padding-left: 0;margin-left: 0;border-left: 0;}
    .project-detail {padding-bottom: 0;}
	.project-detail .back {margin-top: 3rem;}
    .project-detail .back img {width: 1.5rem}

    /* -------------------
    팝업                 |
    ------------------- */

}

@media (max-width: 320px) {
    html {font-size: 10px}
}

