/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

/*Font Road*/
/* @import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy.css'); */
/* @font-face {
  font-family: 'Paperlogy';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: 
  url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-5Medium.woff2') format('woff2'), 
        url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-5Medium.woff') format('woff'),
        url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-5Medium.otf') format('opentype'),
        url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-5Medium.ttf') format('truetype');
} */

/* @font-face {
    font-family: 'Gong Gothic Medium';
    src: url("../../font/Gong Gothic Medium.woff") format("woff"), url("../../font/Gong Gothic Bold.otf") format("opentype"), url("../../font/Gong Gothic Medium.ttf") format("truetype");
}
 */
body {
  font-family: 'Gong Gothic Medium', 'JalnanGothic', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto,
    'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

body {
  /* 3. Add accessible line-height */
  line-height: 1.5;
  /* 4. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
  9. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.clear {
  clear: both;
}

.clearfix:after {
  content: '';
  display: block;
  clear: both;
}

.hidden {
  font: 0px;
  height: 0;
  overflow: hidden;
  position: absolute;
  visibility: hidden;
  width: 0;
  text-indent: -99999px;
}

/*reset_end*/

#wrap {
  width: 100%;
  position: relative;
  margin: 0 auto;
  max-width: 1920px;
}

canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

/*링크 컨트롤*/
a {
  background: linear-gradient(0deg, #fff, #fff) no-repeat right bottom / 0 var(--bg-h);
  transition: background-size 350ms;
  --bg-h: 100%;
}

.fix_m a:where(:hover, :focus-visible) {
  background-size: 100% var(--bg-h);
  background-position-x: left;
}

.fix_m a {
  text-decoration: none;
  color: inherit;
  line-height: 1;
}

.underline {
  padding-bottom: 2px;
  --bg-h: 2px;
}

/* 공통 a 스타일 초기화 */
a,
.link,
.link-text {
  text-decoration: none;
  color: inherit;
  line-height: 1;
}

.item {
  display: flex;
  align-items: center;
}

.link {
  position: relative;
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  padding: 2px 0px;
}

.link-text {
  position: relative;
  display: inline-block;
  line-height: 1.3;
}

.link-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.3s;
}

.link:hover .link-text::after {
  /*background-color: #ffffff;*/
}

.link.active .link-text {
  color: #ffd692;
}

.link.active .link-text::after {
  background-color: #ffd692;
}

.link.active::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -8px;
  width: 5px;
  height: 5px;
  background-color: red;
  border-radius: 50%;
}

/* 상단 고정 메뉴 */
.fix_m {
  /* position: fixed;
      top: 0; */
  width: 100%;
  height: 50px;
  background-color: #663320;
  border-bottom: 2px solid #481f10;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  font-size: 15px;
  color: #fff;
}

.fix_m .menus {
  width: 1000px;
  border: 1px solid red;
  text-algn: center;
}

.top_logo {
  position: absolute;
  top: 120px;
  right: 5%;
  z-index: 7;
}

.tit_main {
  position: absolute;
  z-index: 2;
  top: 180px;
  left: 50%;
  transform: translateX(-50%);
}

/* .tit_main { position: absolute;  z-index:2; top:230px; left:50%; transform: translateX(-50%); }
.xtit_main { position: absolute;  z-index:2; top:180px; left:50%; transform: translateX(-50%); } */
.con_sc {
  position: absolute;
  z-index: 2;
  top: 460px;
  left: 50%;
  transform: translateX(-50%);
}

.chara {
  position: absolute;
  z-index: 3;
  top: 400;
  left: 0;
}

.btn_play {
  position: absolute;
  z-index: 3;
  top: 587px;
  left: 50%;
  transform: translateX(-50%);
}

.btn_patch {
  position: absolute;
  z-index: 3;
  top: 840px;
  left: 50%;
  transform: translateX(-50%);
}

/* .btn_patch{position:absolute; z-index:3; top:620px; left:50%; transform: translateX(-50%); }
.xbtn_play {position:absolute; z-index:3; top:587px; left:50%; transform: translateX(-50%); }
.xbtn_patch{position:absolute; z-index:3; top:840px; left:50%; transform: translateX(-50%); } */
.stit {
  padding-top: 70px;
}

.stit img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.con_newnpc {
  width: 1334px;
  height: 441px;
  background-image: url(https://static.web.sdo.com/dn/pic/dn_25act/0710city/bg_slide.png);
}

.copyright {
  position: relative;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Gong Gothic Medium';
  width: 1920px;
  height: 100px;
  font-size: 13px;
  color: #663320;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
}

/*배경 컨트롤*/
.main_bg {
  width: 1920px;
  height: 1050px;
  background-repeat: no-repeat;
  background-position: 49% 51%;
  z-index: 1;
  position: relative;
  display: block;
  margin: 0 auto;
  overflow: hidden;
  animation: subtleZoomShake 4s ease-in-out infinite;
  animation-duration: 5s;
  transition: background-position 0.2s ease, background-size 0.2s ease;
}

.main_bg2 {
  width: 1920px;
  /* height: 2243px; */
  background-image: url(https://static.web.sdo.com/dn/pic/dn_25act/0710city/bg_main2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 0;
  z-index: 1;
  margin: 0 auto;
  overflow: hidden;
  display: block;
}

.main_bg2 .inner-content {
  width: 100%;
  /* 또는 고정 픽셀 값. 반드시 부모(.main_bg2)보다 작아야 함 */
  max-width: 1380px;
  /* 너무 커지는 것을 방지 */
  margin: 0 auto;
  /* 이 부분이 핵심! 수평 가운데 정렬 */
  box-sizing: border-box;
  /* 패딩이 너비에 포함되도록 */
  /* background-color: rgba(255, 255, 0, 0.3); /* 테스트용 */
}

.main_bg2 img.centered-image {
  /* .main_bg2 안에 직접 들어가는 이미지를 블록처럼 정렬하고 싶을 때 */
  display: block;
  /* 이미지를 블록 요소로 만듦 */
  margin: 0 auto;
  /* 수평 가운데 정렬 */
  max-width: 100%;
  /* 부모 너비를 넘지 않도록 */
  height: auto;
}

.main_bg video {
  position: absolute;
  /* 부모 div를 기준으로 배치 */
  top: 50%;
  left: 50%;
  min-width: 100%;
  /* 비디오가 div를 가득 채우도록 최소 너비 설정 */
  min-height: 100%;
  /* 비디오가 div를 가득 채우도록 최소 높이 설정 */
  width: auto;
  /* 너비/높이 비율 유지를 위해 auto 사용 */
  height: auto;
  transform: translate(-50%, -50%);
  /* 중앙 정렬 */
  object-fit: cover;
  /* 비디오가 div를 꽉 채우도록 하면서 비율 유지 (잘릴 수 있음) */
  /* object-fit: contain; 은 비율 유지하며 div 안에 다 보이게 함 (여백 생길 수 있음) */
}

.main_bg::after {
  /* 가상 요소로 오버레이 생성 */
  content: '';
  /* 가상 요소 사용 시 필수 */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  /* 검정색에 투명도 50% */
  z-index: 1;
  /* 비디오 위에 오도록 z-index 설정 */
  pointer-events: none;
  /* 오버레이가 마우스 이벤트를 가로채지 않도록 설정 */
}

.gradient-overlay {
  position: absolute;
  /* 배경 위에 덧씌우기 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(102, 51, 32, 0.9) 0%, rgba(102, 51, 32, 0) 20%);
}

/*슬라이드 타이틀 관련*/
.stit_slider_left {
  position: absolute;
  top: 95px;
  left: 65px;
  z-index: 101;
}

.stit_slider_left2 {
  position: absolute;
  top: 65px;
  left: 65px;
  z-index: 101;
}

.stit_slider_right {
  position: absolute;
  top: 70px;
  right: 65px;
  z-index: 101;
}

/*POP SET*/

/*Color*/
.c_r {
  color: #e83c00;
}

.c_g {
  color: #be7300;
}

.c_b {
  color: #806512;
}

.c_y {
  color: #ffe764;
}

/*TopScroll*/
.totheTop {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 118px;
  height: 122px;
  background: url(https://static.web.sdo.com/dn/pic/dn_25act/0710city/btn_top.png) no-repeat center center;
  cursor: pointer;
  display: none;
  /* Initially hidden */
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  cursor: pointer;
  z-index: 999;
}

.totheTop.show {
  display: flex;
  opacity: 1;
}

/*animation*/

.floating {
  animation-name: floating;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating {
  0% {
    transform: translate(0, 0px);
  }

  50% {
    transform: translate(-15px, 15px);
  }

  100% {
    transform: translate(0, -0px);
  }
}

.floatings {
  animation-name: floatings;
  animation-duration: 6s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floatings {
  0% {
    transform: translate(0, 0px);
  }

  50% {
    transform: translate(0, 30px);
  }

  100% {
    transform: translate(0px, -0px);
  }
}

/*뮤직플레이어*/
.player {
  width: 50px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
}

.bars {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  height: 15px;
  /* 바닥 기준 고정 */
  margin-bottom: 1px;
}

.bar {
  width: 4px;
  background: #fff;
  height: 4px;
  transition: height 0.2s ease;
  border-radius: 2px;
}

.label {
  font-size: 10px;
  color: #fff;
}

/* 新增内容 */
.newContent {
  position: relative;
  /* width: 940px; */
  margin: 0 auto;
  padding-bottom: 260px;
}

.newContent .mov_box {
  height: 363px;
  width: 642px;
  margin: 0 auto;
  border: 1px solid #000
}

.newContent .mov_box iframe {
  height: 363px;
  width: 642px
}

.newContent .ban_box {
  margin-top: 30px;
  padding-left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.newContent .ban_box:after {
  display: block;
  content: "";
  clear: both
}

.newContent .ban_box li {
  position: relative;
  float: left;
  /* height: 200px; */
  width: 448px;
  margin: 6px;
  /* background: #1d1f27; */
  cursor: pointer
}

.newContent .ban_box li img {
  width: 408px;
  height: 227px;
}

.newContent .ban_box li .ban_in {
  position: absolute;
  bottom: 11px;
  left: 4px;
  border-radius: 0 0 38px 38px;
  height: 115px;
  width: 400px;
  padding: 30px 18px 10px 18px;
  background: url(https://static.web.sdo.com/dn/pic/dn_25act/0710city/ban_bg.png) 0 0;
  text-align: center;
  transition: border-radius 0.2s ease;
}

.newContent .ban_box li:hover .ban_in {
  border-radius: 38px;
}


.newContent .ban_box li .ban_in2 {
  position: absolute;
  bottom: 0;
  height: 125px;
  width: 270px;
  padding: 9px 15px;
  text-align: center
}

.newContent .ban_box li h3 {
  font-size: 22px;
  color: #fff
}

.newContent .ban_box li .ban_desc {
  font-size: 14px;
  color: #f0cd94;
  height: 40px;
  /* line-height: 40px; */
  margin-top: 12px
}

.newContent .ban_box li .ban_date {
  position: absolute;
  bottom: 9px;
  width: 270px;
  font-size: 12px;
  color: #717171;
  text-align: center
}

.newContent .ban_box li .detail {
  position: absolute;
  bottom: 47px;
  left: 45%;
  transform: translate(-50%, 0);
  height: 38px;
  line-height: 38px;
  width: 158px;
  border: 2px solid #fff;
  border-radius: 38px;
  color: #fff;
  font-size: 15px;
  text-align: center;
  display: none
}