/* 리셋 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #444;
  line-height: 1.3;

}

.kor-font {
  font-family: "Pretendard";
}

.en-font {
  font-family: "Montserrat", serif;
}

.contents {
  width: 1200px;
  margin: 0 auto;
  padding: 120px 0 200px;
}

.imgbetween {
  flex-wrap: nowrap;
  gap: 30px;
  display: flex !important;
  justify-content: space-between !important;
}

.box {
  translate: none;
  rotate: none;
  scale: none;
  opacity: 1;
  visibility: inherit;
  transform: translate(0px, 0px);
}

.contents ul {
  flex-wrap: nowrap;
  gap: 30px;
}

.container {
  width: 100%;
}

#mainvideo {
  width: 100%;
  margin-top: -20px;
}

.title {
  margin-bottom: 16px;
  color: #fff;
  font-size: 60px;
  font-weight: 700;
}

.title span {
  translate: none;
  rotate: none;
  scale: none;
  transform: translate(0px, 0px);
}

.titlesub {
  line-height: 1.3;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
}

.titlesub span {
  translate: none;
  rotate: none;
  scale: none;
  transform: translate(0px, 0px);
}

.txt {
  margin-bottom: 60px;
}

.pc {
  display: block;
}

.tablet {
  display: none;
}

.m {
  display: none;
}

/********************** NAV **********************/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
}

.nav-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo a {
  color: #222;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  padding: 1rem;
  color: #222;
  text-decoration: none;
  justify-content: space-between;
  align-items: center;
}

.arrdown {
  display: none;
}

/********************** DROPDOWN **********************/
.dropdown {
  display: none;
  position: fixed;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-menu {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6rem;
  justify-content: center;
  font-weight: bold;
}

.dropdown-menu a {
  color: #222;
  text-decoration: none;
  white-space: nowrap;
}

.nav-item:hover .dropdown {
  display: block;
}

.nav-link:hover,
.dropdown-menu a:hover {
  color: #1e82ff;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: #000;
  height: 2px;
  width: 25px;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
}

.nav-toggle-label span::before {
  bottom: 8px;
}

.nav-toggle-label span::after {
  top: 8px;
}

.nav-toggle:checked+.nav-toggle-label span {
  background: transparent;
}

.nav-toggle:checked+.nav-toggle-label span::before {
  transform: rotate(-45deg);
  bottom: 0;
}

.nav-toggle:checked+.nav-toggle-label span::after {
  transform: rotate(45deg);
  top: 0;
}


/*******************Studios start*************************/


#studios {
  margin-bottom: 180px;
}

.stuitem {
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
}

.stuitem a,
.stuitem .box {
  background-repeat: no-repeat;
  background-size: 100%;

}

.stuitem a {
  display: block;
  position: relative;
  background-size: cover;
  background-position: center;
  height: 390px;
}

.stuitem .box {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stuitem:nth-child(1) a {
  background-image: url(../img/studios1.png);
}

.stuitem:nth-child(2) a {
  background-image: url(../img/studios2.png);
}

.stusub {
  font-size: 26px;
  font-weight: 700;
}

.stusubtxt {
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.stusubimg {
  width: 100%;
  height: 100%;
  position: absolute;
}

.stuitem:hover a {
  transform: scale(1.3);
  transition: transform .5s;
}

.stuitem:hover {
  cursor: pointer;
}



/*******************Studios end*************************/


/*******************News start*************************/

#news {
  margin-bottom: 180px;
}

#news ul li {
  width: 100%;
}

#news ul li .textbox {
  color: #222;
  padding: 30px;
}

.newsitem {
  background: #fff;
  border-radius: 20px;
}

.frame {
  height: 175px;
  background: #fff;
  border-radius: 20px;
  padding: 40px 0 0 40px;
  display: block;
}

.newsnow {
  max-width: 600px;
}

.newsnow h2 {
  margin: 0 0 20px;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  color: #222;
}

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

.mainwrap .mainnews {
  flex: 6;
}

.newsinfo {
  position: absolute;
  left: -9999em;
}

.mainwrap .mainnews dd {
  margin: 0;
  padding: 0;
  text-align: left;
  font-size: 60px;
  font-weight: 700;
  color: #222;
}

.mainwrap .mainnews dd span {
  display: inline-block;
  padding-left: 1px;
  font-size: 18px;
  font-weight: 500;
}

.mainwrap .maintime {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 10px;
  font-size: 16px;
  flex: 4;
}

.mainwrap .maintime dt {
  margin-right: 15px;
  min-width: 20%;
  color: #666;
}

.newsimg,
.newsimg .box {
  background-repeat: no-repeat;
  background-size: 100%;
  border-radius: 20px;
}

.newsimg {
  display: block;
  height: 100%;
  overflow: hidden;
}

.newsimg .box {
  justify-content: center;
  width: 100%;
  height: 280px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0;
}

#news .imgbetween .newsitem:nth-child(1) .newsimg .box {
  background-image: url(../img/News/news1.png);
}

#news .imgbetween .newsitem:nth-child(2) .newsimg .box {
  background-image: url(../img/News/news2.jpg);
}

#news .imgbetween .newsitem:nth-child(3) .newsimg .box {
  background-image: url(../img/News/news3.jpg);
}

.textbox .tbnews {
  color: #435CE7;
  font-weight: bold;
  margin-bottom: 12px;
}

.textbox .tbtitle {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 20px;
}

.textbox .tbmain {
  color: #666;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 20px;
}

.textbox .tbdate {
  color: #888;
  font-size: 16px;
  font-weight: 400;
}

/*******************News end*************************/


/*******************Carrer start*************************/

#carrer {
  margin-bottom: 180px;
}

#carrer ul.imgbetween li.carreritem:nth-child(1) {
  width: 585px;
}

#carrer ul li {
  height: 277px;
  background: #fff;
}

.carreritem {
  width: calc((100% - 120px) / 4);
  border-radius: 20px;
  background-size: 100%;
  background-repeat: no-repeat;
  overflow: hidden;
}

#carrer ul li:not(:first-child) a {
  width: 100%;
  max-width: 277px;
  height: 100%;
}

.carrerflex {
  padding: 40px;
  align-items: center;
  gap: 16px;
  color: #fff;
  background: #283895;
  border-radius: 20px 20px 0 0;
  display: flex;
}

.carrerwant {
  font-size: 26px;
  font-weight: 700;
}

.carrerwantyou {
  font-size: 16px;
  font-weight: 400;
}

.carreritemflex {
  padding: 30px;
  align-items: center;
  justify-content: space-around;
  text-align: center;
  color: #222;
  border-radius: 0 0 20px 20px;
  background-color: #fff;
  display: flex;
}

.carreritemflex li {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 80px;
  height: 100%;
  max-height: 125px;
  background-repeat: no-repeat;
  background-size: 100%;
  white-space: nowrap;
}

.carrerflexitem {
  width: calc((100% - 60px) / 3);
  display: flex;
  flex-flow: column;
  align-items: center;
}

.carrerflexitem img {
  width: 80px;
  padding-top: 90px;
}

.carrerflextext {
  font-size: 16px;
  font-weight: 700;
  padding-top: 24px;
}

#carrer ul li:nth-child(2) a .box {
  background-image: url('../img/Carrer/carrer6.png');
  background-size: cover;
  background-position: left top;
  background-repeat: no-repeat;
  display: block;
  width: 100%;
  height: 100%;
  padding: 40px;
  z-index: 8;
}

#carrer ul li:nth-child(3) a .box {
  background-image: url('../img/Carrer/carrer7.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  width: 100%;
  height: 100%;
  padding: 40px;
  z-index: 8;
}

.carrersub {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  height: auto;
}

#carrer ul li.carrerflexitem {
  height: auto;
}

#carrer ul li:not(:first-child) p {
  margin-bottom: 77px;
  color: #fff;
}

.carrerbox {
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.carreritembox {
  position: relative;
  z-index: 2;
}


/*******************Carrer end*************************/



/*******************Games start*************************/

#kraftgames {
  margin-bottom: 180px;
}

/*******************Games end*************************/



/*******************Footer start*************************/

#footerwrap {
  background-color: #121212;
}

.arrow {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: auto;
  z-index: 10;
  bottom: 50px;
  right: 50px;
  line-height: 1;
}

.btn_top {
  border-radius: 100%;
  box-shadow: 0 8px 15px rgba(0, 0, 0, .25);
  opacity: 0.8;
  cursor: pointer;
  color: #222;
  font-family: "Montserrat", serif;
  font-size: 18px;
  font-weight: 300;
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  vertical-align: middle;
}

.btn_top img {
  width: 100%;
  border: 0;
  vertical-align: middle;
  opacity: 1;
  transition: opacity .3s;
}

#footer {
  position: relative;
  padding: 30px 0 50px 0;
  box-sizing: border-box;
  display: block;
}

.inner {
  position: relative;
  max-width: 1600px;
  box-sizing: border-box;
  padding: 0 80px;
  margin: 0 auto;
}

.site {
  position: relative;
  font-size: 0;
  line-height: 1;
  margin: 0 0 30px -44px;
}

.site li {
  display: inline-block;
  vertical-align: top;
  margin-left: 44px;
  line-height: 1;
}

.site li a {
  display: inline-block;
  line-height: 2.4;
  font-size: 14px;
  font-weight: 400;
  color: #888888;
}

.footer_line {
  width: 100%;
  height: 1px;
  background: #464c52;
  opacity: 0.5;
}

.sns {
  position: absolute;
  right: 80px;
  top: 0;
  display: inline-flex;
  flex-wrap: wrap;
}

.inner address {
  font-size: 16px;
  font-style: normal;
  color: #666666;
  margin: 50px 0 5px 0;
  line-height: 1;
}

.copyright {
  font-size: 16px;
  color: #666666;
}

/*******************Footer end*************************/


/*******************Tablet start*************************/
@media (max-width: 1220px) {
  .pc {
    display: none;
  }

  .tablet {
    display: none;
  }

  .m {
    display: block;
  }

  .contents {
    width: 100%;
    padding: 118px 24px 90px;
  }

  .wrap {
    background-image: url(../img/backgroundimg_1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    align-items: center;
    padding-top: 80px;
    font-weight: 700;
    font-size: 72px;
    line-height: 1;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    position: relative;
    text-align: center;
  }

  .maindim {
    position: absolute;
    background: rgba(0, 0, 0, 0.4);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
  }

  .titletxt {
    width: 100%;
    max-width: 1200px;
    text-align: center;
  }

  .titletxt h2 {
    font-size: 3.516vw;
    margin-bottom: 3.359vw;
    font-family: "Montserrat", serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.25px;
    position: static;
    transform: none;
    overflow: hidden;
    width: 100%;
    display: block;
    color: #fff;
  }

  .titletxt h2 span {
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0px, 0px);
  }

  .titletxt p {
    font-size: 2.344vw;
    font-family: "Montserrat", serif;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.25px;
    overflow: hidden;
    position: relative;
    display: block;
  }

  .titletxt p span {
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0px, 0px);
  }

  .contents ul {
    gap: 14px;
  }

  #carrer ul.imgbetween li.carreritem:nth-child(1) {
    width: 100%;
  }

  .carreritem {
    border-radius: 14px;
  }

  #carrer ul.imgbetween li.carreritem:not(:first-child) {
    width: calc((100% - 14px) / 2);
  }

  #carrer ul li:not(:first-child) a .box {
    padding-left: 20px;
    padding-top: 40px;
  }
}

/*******************Tablet end*************************/


/********************** MOBILE NAV **********************/
@media (max-width: 768px) {
  .pc {
    display: none;
  }

  .tablet {
    display: none;
  }

  .m {
    display: block;
  }

  .wrap {
    background-image: url(../img/backgroundimg_1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    justify-content: flex-start;
    padding-top: 104px;
    align-items: center;
    margin-top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .nav-toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 2;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: #fff;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  .nav-toggle:checked~.nav-menu {
    transform: translateX(0);
  }

  .nav-item {
    margin: 5px 0;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    padding-left: 20px;
  }

  .dropdown-menu {
    padding: 10px 0;
  }
}

/* 반응형 스타일 */
@media (max-width: 768px) {
  .titletxt {
    max-width: 350px;
    margin-top: 8vh;
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 72px;
    line-height: 1;
    color: #ffffff;
  }

  .titletxt h2 {
    font-size: 27px;
    line-height: 1.25;
    margin-bottom: 25px;
    font-family: "Montserrat", serif;
    font-weight: 700;
    letter-spacing: -0.25px;
    position: static;
    transform: none;
    overflow: hidden;
    width: 100%;
    display: block;
  }

  .titletxt h2 span {
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0px, 0px);
  }

  .titletxt p {
    font-size: 18px;
    font-family: "Montserrat", serif;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.25px;
    overflow: hidden;
    position: relative;
    display: block;
  }

  .titletxt p span {
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0px, 0px);
  }

  .nav-toggle-label {
    display: block;
    padding: 1rem;
    cursor: pointer;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
  }

  .nav-toggle:checked~.nav-menu {
    display: block;
  }

  .dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
  }

  .dropdown-menu {
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
  }

  .nav-item:hover .dropdown {
    display: none;
  }

  .nav-item.active .dropdown {
    display: block;
  }

}

/* 모바일 css */
@media (max-width: 768px) {
  #mainvideo {
    margin-top: 64px;
  }

  .contents {
    width: 100%;
    padding: 118px 24px 90px;
  }

  .title {
    font-size: 36px;
  }

  .titlesub {
    font-size: 16px;
  }

  .txt {
    margin-bottom: 40px;
  }

  #studios,
  #news,
  #carrer,
  #kraftongames {
    margin-bottom: 90px;
  }

  .contents ul {
    flex-wrap: wrap;
    gap: 14px;
  }

  .imgbetween {
    flex-direction: column;
  }

  .arrdown {
    display: block;
  }
}

/* 스튜디오 */
@media (max-width: 768px) {
  .stuitem {
    max-height: 100px;
    border-radius: 14px;
  }

  .stuitem .box img {
    height: 100px;
    padding: 30px;
  }

  .stuitem a {
    background-position: unset;
    background-size: contain;
  }
}

/* 뉴스 */
@media (max-width: 768px) {
  .newsimg .box {
    /* height: 150px; */
    background-position: center;
  }
}

/* 커리어 */

@media (max-width: 768px) {
  .carreritem {
    width: 100%;
  }

  #carrer ul.imgbetween li.carreritem:nth-child(1) {
    width: 100%;
  }

  .carreritemflex {
    padding: 0;
  }

  #carrer ul li:nth-child(1) {
    height: 206px;
  }

  #carrer .imgbetween {
    flex-direction: unset;
    flex-wrap: wrap;
  }

  #carrer ul li:not(:first-child) {
    height: 158px;
    width: calc((100% - 14px) / 2);
  }

  #carrer ul li:not(:first-child) a .box {
    padding: 20px;
  }

  .carrerimg .box {
    background-size: cover;
  }

  .carrersub {
    font-size: 20px;
    white-space: nowrap;
    margin-bottom: 10px;
  }

  .carreritembox p {
    margin-bottom: 10px;
  }
}

/* 푸터 */
@media (max-width: 768px) {
  .arrow {
    right: 16px;
  }

  .btn_top {
    font-size: 14px;
  }

  #footer {
    padding: 40px 24px;
  }

  .inner {
    padding: 0;
    margin: 0;
  }

  .site {
    position: relative;
    font-size: 0;
    margin: -32px 0 40px 0;
  }

  .site li {
    display: inline-block;
    width: 50%;
    vertical-align: top;
    margin: 32px 0 0 0;
    line-height: 1;
  }

  .site li a {
    font-size: 14px;
    line-height: 1;
  }

  .footer_line {
    display: none;
  }

  .sns {
    position: inherit;
  }

  .inner address {
    font-size: 12px;
    margin: 40px 0 10px 0;
  }

  .copyright {
    font-size: 12px;
    line-height: 17px;
  }
}