/* PC 화면에서만 적용되는 반응형 여백 조정 */

/* 큰 PC 화면 (1920px 이상) */

@media only screen and (min-width: 1920px) {
  .gnb-inner {
    margin-top: 10px;
  }
  .content {
    width: calc(100% - 150px);
    height: calc(100% - 150px);
    left: 100px;
    bottom: 75px;
  }

  .gnb-inner {
    width: calc(100% - 200px);
  }

  .btn-hiring {
    right: 63px;
    bottom: 89px;
  }
}

/* 일반 PC 화면 (1400px - 1920px) */
/* 
@media only screen and (min-width: 1400px) and (max-width: 1919px) {
  .content {
    width: calc(100% - 150px);
    height: calc(100% - 100px);
    left: 60px;
    bottom: 50px;
  }
  
  .gnb-inner {
    width: calc(100% - 120px);
  }
  
  .btn-hiring {
    right: 60px;
    bottom: 50px;
  }
} */

/* 중간 PC 화면 (1050px - 1399px) */

/* @media only screen and (min-width: 1050px) and (max-width: 1399px) {
  .content {
    width: calc(100% - 80px);
    height: calc(100% - 80px);
    left: 40px;
    bottom: 40px;
  }
  
  .gnb-inner {
    width: calc(100% - 80px);
  }
  
  .btn-hiring {
    right: 40px;
    bottom: 40px;
  }
} */

/* 768px 이하에서는 기존 스타일 유지 (모바일) */

@media (max-width: 768px) {
  /* Entire Layout */
  .cd-section {
    height: auto;
  }
  .cd-section > div {
    height: auto;
  }
  .content {
    position: static;
    width: 100%;
    height: 100%;
  }

  /* Header */
  header {
    transition: 0.5s;
    z-index: 100;
  }
  header.active {
    background-color: #fff;
    border-bottom: 1px solid #eee;
  }
  .menu {
    display: block;
  }

  .slogan {
    display: none;
  }

  .gnb {
    background-color: #fff;
    position: fixed;
    top: 0;
    right: -270px;
    width: 250px;
    height: 100vh;
    /* border: 4px solid #000; */
    box-shadow: -5px 0 10px #0000000e;
    transition: 0.5s;
  }

  .gnb.active {
    right: 0;
  }
  .menu {
    line-height: 40px;
    margin-top: 60px;
  }
  .menu a {
    text-align: right;
    display: block;
    padding-right: 20px;
    color: #000;
    font-size: 20px;
  }

  /* Trigger */
  .trigger {
    display: block;
    /* border: 1px solid red; */
    width: 24px;
    height: 14px;
    position: absolute;
    right: 20px;
    top: 20px;
  }

  .trigger span {
    position: absolute;
    display: inline-block;
    height: 1px;
    width: 100%;
    background-color: #000;
  }

  .trigger span:nth-child(1) {
    top: 0;
  }
  .trigger span:nth-child(2) {
    top: 50%;
    width: 80%;
  }
  .trigger span:nth-child(3) {
    top: 100%;
  }

  .trigger.active span:nth-child(1) {
    top: 50%;
    transform: rotate(45deg);
  }
  .trigger.active span:nth-child(2) {
    opacity: 0;
  }
  .trigger.active span:nth-child(3) {
    top: 50%;
    transform: rotate(-45deg);
  }

  /* Gotoop */

  .gototop {
    position: fixed;
    bottom: 20px;
    left: 20px;
    border: 1px solid #fff;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    transform: translateY(30px);
    opacity: 0;
    transition: 0.5s;
  }

  .gototop.active {
    opacity: 1;
    transform: translateY(0);
  }
  .btn-hiring {
    right: 20px;
    bottom: 20px;
  }
  .cd-vertical-nav {
    display: none;
  }

  /* Show Hide Section */
  /* #home,
  #about,
  #project
  #plan,
  #awards,
  #location,
  #contact {
    display: none;
  } */

  /* ################# Section : home  ##################*/

  .home-inner {
    height: 100vh;
    /* border: 4px solid #000; */
  }

  .welcome-text {
    transform: translate(-50%, -50%) scale(0.7);
    width: 100%;
    border: 1px solid #000;
  }
  .home-heading {
    left: 20px;
    /* left: 50%; */
    /* top: 50%; */
    /* transform: translate(-50%, -50%); */
  }
  .home-heading span {
    /* 폰트사이즈 수정하니깐 헤더바 보이기 시작했음 */
    font-size: 50px;
  }

  /* ################### Section : about ###################*/
  .about-inner {
    height: auto;
    padding: 20px;
    background: #0dace3;
  }

  .about-items {
    width: 100%;
    position: static;
    margin-left: 0;
    transform: none;
    text-align: center;
  }

  .item img {
    float: none;
  }
  /* ############## Section : project  ##############*/

  .project-inner {
    height: auto;
    border: none;
  }
  .tab > div {
    float: none;
    width: 100%;
  }
  .view-project {
    /* border: 3px solid #000; */
    width: 100%;
  }
  .project-info {
    padding: 30px;
    /* border: 3px solid #000; */
  }
  .project-info p {
    /* border: 1px solid #000; */
    position: relative;
  }
  .detail div {
    font-size: 13px;
  }
  .btn {
    /* border: 1px solid red; */
    width: 100%;
    bottom: -5px;
  }
  .project-info::before {
    margin-top: 30px;
    font-size: 100px;
  }
  /* ################# Section : plan  ##################*/
  .plan-inner {
    height: auto;
    padding: 20px;
  }
  .plan-feature {
    width: 100%;
    position: static;
    transform: none;
  }
  .plan-feature > div {
    height: auto;
  }

  .plan-info > div {
    float: none;
    width: 100%;
  }

  .plan-info {
    margin-bottom: 20px;
  }

  .plan-photo img {
    width: 100%;
    height: auto;
  }

  .plan-heading {
    padding-right: 0;
  }
  /* ################### Section : awards  ###################*/

  .awards-inner {
    height: auto;
  }

  .awards-inner > div {
    float: none;
    width: 100%;
    padding: 40px 20px;
  }
  .about-heading,
  .victory-jump img {
    position: static;
    transform: none;
    width: 100%;
  }
  .about-heading {
    width: 100%;
  }
  .victory-jump {
    text-align: center;
  }

  /* ################### Section : location  ###################*/
  .location-inner {
    height: auto;
  }

  .feature {
    width: 100%;
    /* static에서 realative로 한이유?  */
    position: relative;
    top: 0;
    left: 0;
    transform: none;
  }

  .feature > div {
    float: none;
    width: 100%;
    padding: 20px;
  }

  /* ################### Section : Contact  ###################*/
  .contact-inner {
    height: auto;
    /* border: 4px solid #000; */
  }
  .contact-feature {
    width: 100%;
    position: static;
    transform: none;
  }
  .contact-feature > div {
    float: none;
    width: 100%;
    /* border: 4px solid #000; */
  }

  /* ####################### SubPage : Hiring ####################  */
  .header {
  }
  .modal {
  }
  .hiring-main {
    /* border: 4px solid #000; */
    height: 300px;
  }
  .hiring-info {
    /* border: 4px solid #000; */
    padding: 20px;
  }
  .hiring-heading {
    width: 100%;
    top: 60%;
    /* border: 1px solid #000; */
  }
  .hiring-heading h1 {
    font-size: 32px;
    /* border: 1px solid #000; */
    margin-top: 20px;
  }
  .hiring-info > div {
    float: none;
    width: 100%;
    height: auto;
    /* border: 1px solid #000; */
  }
  .center-child {
    /* border: 1px solid #000; */
    position: static;
    transform: none;
    width: 100%;
  }
  .center-child h2 {
    /* border: 1px solid #000; */
    font-size: 22px;
  }
  .hiring-slogan {
    padding: 50px 0;
  }
  .hiring-slogan p {
    font-family: 26px;
    font-size: 20px;
    /* width: 90%; */
    /* border: 1px solid #000; */
  }

  .hiring-slogan p::before {
    top: -120px;
  }

  .hiring-contact ul {
    /* border: 1px solid #000; */
    display: block;
  }

  /* Featherlight Mobile CSS */
  .featherlight .featherlight-close-icon {
    top: 35px;
    right: 20px;
    font-size: 24px;
  }

  /* ####################### SubPage : Project ####################  */
  .hiring-main.project-main1,
  .hiring-main.project-main2,
  .hiring-main.project-main3 {
    height: 70vh;
  }

  .hiring-main.project-main1 .hiring-heading h1,
  .hiring-main.project-main2 .hiring-heading h1,
  .hiring-main.project-main3 .hiring-heading h1 {
    font-size: 40px;
  }

  .photo.project-info {
    font-size: 19px;
    /* border: 1px solid #000; */
  }
}
