/* font */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;600;700;900&display=swap");
@font-face {
  font-family: "Noto Sans KR";
  src: local("NotoSansKR-Regular");
  src: url("/fonts/NotoSansKR-Regular.eot") format("embedded-opentype"),
    url("/fonts/NotoSansKR-Regular.woff") format("woff"),
    url("/fonts/NotoSansKR-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: "Noto Sans KR";
  src: local("NotoSansKR-Medium");
  src: url("/fonts/NotoSansKR-Medium.eot") format("embedded-opentype"),
    url("/fonts/NotoSansKR-Medium.woff") format("woff"),
    url("/fonts/NotoSansKR-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
}
@font-face {
  font-family: "Noto Sans KR";
  src: local("NotoSansKR-Bold");
  src: url("/fonts/NotoSansKR-Bold.eot") format("embedded-opentype"),
    url("/fonts/NotoSansKR-Bold.woff") format("woff"),
    url("/fonts/NotoSansKR-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-family: "Noto Sans KR";
  src: local("NotoSansKR-Black");
  src: url("/fonts/NotoSansKR-Black.eot") format("embedded-opentype"),
    url("/fonts/NotoSansKR-Black.woff") format("woff"),
    url("/fonts/NotoSansKR-Black.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
}

@font-face {
  font-family: "Tahoma";
  src: local("Tahoma");
  src: url("/fonts/Tahoma-Regular.otf") format("embedded-opentype"),
    url("/fonts/Tahoma-Regular.woff") format("woff"),
    url("/fonts/Tahoma-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: "Tahoma";
  src: local("Tahoma");
  src: url("/fonts/Tahoma-Bold.otf") format("embedded-opentype"),
    url("/fonts/Tahoma-Bold.woff") format("woff"),
    url("/fonts/Tahoma-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: bold;
}

/* reset */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
input,
button {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  font-family: "Noto Sans KR", sans-serif;
  vertical-align: baseline;
  letter-spacing: -0.25px;
  line-height: 1;
  color: #333;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
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;
}
.contents_wrap {
  min-width: 1300px;
  margin: auto;
}
/* 공통 추가 */
a {
  font: inherit;
  text-decoration: none;
}
section {
  width: 1210px;
  margin: auto;
}
button,
label {
  cursor: pointer;
}
.modern-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.rotating-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: #222 !important;
    font-weight: 700;
    font-size: 18px;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    animation: pulse 2s ease-in-out infinite;
}
@media screen and (max-width: 1024px) {
  .contents_wrap {
    min-width: unset;
    margin: auto;
    overflow: hidden;
  }
  section {
    width: 100%;
  }
  section.detail_visual {
    height: 57px;
  }
}


/* 모바일에서 loading-text 표시 개선 */
@media screen and (max-width: 768px) {
    .layer_wrap.layer_loading {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 9999 !important;
        background: rgba(255, 255, 255, 0.9) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        pointer-events: none !important;  /* 클릭 이벤트 방지 */
    }

    .layer_wrap.layer_loading .layer_inner {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        pointer-events: none !important;  /* 클릭 이벤트 방지 */
    }

    .layer_wrap.layer_loading .layer_content {
        text-align: center !important;
        padding: 20px !important;
        pointer-events: none !important;  /* 클릭 이벤트 방지 */
    }

    .loading-text {
        font-size: 16px !important;
        padding: 12px 20px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-radius: 25px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        display: inline-block !important;
        margin-top: 15px !important;
        pointer-events: none !important;  /* 클릭 이벤트 방지 */
    }

    .modern-spinner {
        height: 60px !important;
        pointer-events: none !important;  /* 클릭 이벤트 방지 */
    }

    .rotating-spinner {
        width: 40px !important;
        height: 40px !important;
        border-width: 3px !important;
        pointer-events: none !important;  /* 클릭 이벤트 방지 */
    }
}

@media screen and (max-width: 500px) {
  div.paging a {
    padding: 2px 3px;
  }
}

.contents .tabs {
  margin-top: 50px;
  display: flex;
  height: 52px;
}
.contents .tabs li {
  width: 100%;
  border: 1px solid #ddd;
  border-bottom-color: #333;
}
.contents .tabs li:nth-child(1) {
  border-right-color: transparent;
}
.contents .tabs li:nth-child(2) {
  border-left-color: transparent;
}

.contents .tabs li.seleted {
  border-color: #333;
  border-width: 1px 1px 0 1px;
  color: #ff4349;
}
.contents .tabs li.seleted a {
  color: #ff4349;
  font-weight: 500;
}
.contents .tabs li a {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 50px;
}

.contents .terms_wrap {
  padding-top: 50px;
}
.contents .terms_wrap h1,
.contents .terms_wrap h2 {
  text-align: center;
}
.contents .terms_wrap h1,
.contents .terms_wrap h2,
.contents .terms_wrap h3 {
  font-weight: 600;
}
.contents .terms_wrap h1 {
  margin: 40px 0 20px;
  font-size: 25px;
}
.contents .terms_wrap h2.big_title {
  margin-top: 90px;
  font-size: 24px !important;
}
.contents .terms_wrap h2.big_title:first-of-type {
  margin-top: 0;
}
.contents .terms_wrap h3 {
  margin-top: 40px;
  font-size: 17px;
}
.contents .terms_wrap .terms_add_explain {
  margin: 15px 0;
}
.contents .terms_wrap ol {
  margin: 15px 0;
  list-style: decimal;
  list-style-position: inside;
}
.contents .terms_wrap ol li {
  line-height: 1.3;
}
.contents .terms_wrap p {
  line-height: 1.3;
}
.contents .terms_wrap table {
  margin: 10px 0;
  padding: 0;
  border-spacing: 0px;
  border: 0;
  border-collapse: collapse;
  vertical-align: middle;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

.contents .terms_wrap table tr th {
  padding: 8px 0;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  text-align: center;
  background: #f9f9f9;
}

.contents .terms_wrap table tr td {
  padding: 8px 10px;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  vertical-align: middle;
}

.contents .terms_wrap table tr td.textCenter {
  text-align: center;
}
.contents .terms_wrap ol.circle {
  counter-reset: item;
  list-style-type: none;
  list-style-position: inside;
}
.contents .terms_wrap ol.circle li::marker {
  display: none;
}
.contents .terms_wrap ol.circle li {
  counter-increment: item;
  margin-left: -10px;
  text-indent: 10px;
}

.contents .terms_wrap ol.circle li:before {
  content: counters(item, "") " ) ";
}
.contents .terms_wrap .terms_add_explain b {
  font-weight: 600;
}
@media screen and (max-width: 1024px) {
  .contents .tabs {
    width: calc(100% - 40px);
    margin: 50px auto auto auto;
  }
  .contents .terms_wrap {
    width: calc(100% - 40px);
    margin: 0 auto;
  }
}

.hide {
  display: none !important;
}

/* .dummy{background: url(/images/mypage5.jpg) top center;width: 100%;height: 1000%;position: absolute;top:0;opacity: 0.6;z-index: -1;} */

.layer_wrap.layer_loading {
  z-index: 999;
}

.loading_roomList .layer_inner .layer_content .box_img {
  position: relative;
}

._loader {
  display: block;
  font-size: 15px;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: absolute;
  text-indent: -9999em;
  animation: mulShdSpin 1.1s infinite ease;
  transform: translateZ(0);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

@keyframes mulShdSpin {
  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #000, 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2),
      2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2),
      0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2),
      -2.6em 0em 0 0em rgba(0, 0, 0, 0.5),
      -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(0, 0, 0, 0.7), 1.8em -1.8em 0 0em #000,
      2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2),
      0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2),
      -2.6em 0em 0 0em rgba(0, 0, 0, 0.2),
      -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(0, 0, 0, 0.5),
      1.8em -1.8em 0 0em rgba(0, 0, 0, 0.7), 2.5em 0em 0 0em #000,
      1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2),
      -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2),
      -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(0, 0, 0, 0.2),
      1.8em -1.8em 0 0em rgba(0, 0, 0, 0.5), 2.5em 0em 0 0em rgba(0, 0, 0, 0.7),
      1.75em 1.75em 0 0em #000, 0em 2.5em 0 0em rgba(0, 0, 0, 0.2),
      -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2),
      -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(0, 0, 0, 0.2),
      1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.5),
      1.75em 1.75em 0 0em rgba(0, 0, 0, 0.7), 0em 2.5em 0 0em #000,
      -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2),
      -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(0, 0, 0, 0.2),
      1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2),
      1.75em 1.75em 0 0em rgba(0, 0, 0, 0.5), 0em 2.5em 0 0em rgba(0, 0, 0, 0.7),
      -1.8em 1.8em 0 0em #000, -2.6em 0em 0 0em rgba(0, 0, 0, 0.2),
      -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(0, 0, 0, 0.2),
      1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2),
      1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.5),
      -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.7), -2.6em 0em 0 0em #000,
      -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(0, 0, 0, 0.2),
      1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2),
      1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2),
      -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.5), -2.6em 0em 0 0em rgba(0, 0, 0, 0.7),
      -1.8em -1.8em 0 0em #000;
  }
}
