/* Reset — Tailwind v4.2.2 preflight match */
*, *::before, *::after {
  box-sizing: border-box;
  border: 0 solid;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b, strong {
  font-weight: bolder;
}

img, video {
  max-width: 100%;
  height: auto;
}

audio, canvas, embed, iframe, img, object, svg, video {
  vertical-align: middle;
  display: block;
}

menu, ol, ul {
  list-style: none;
}

button, input, optgroup, select, textarea {
  font: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  letter-spacing: inherit;
  color: inherit;
  opacity: 1;
  background-color: transparent;
  border-radius: 0;
}

/* Tailwind utility replacements */
.flex {
  display: flex;
}

.flex-1 {
  flex: 1;
}

.font-black {
  font-weight: 1000;
}

/* ================================================ */

:root {
  color-scheme: light only;

  --background: #F3F3F2;
  --foreground: #000;
}


@font-face {
  font-family: 'EbsHunminjeongeum';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/EBSHunminjeongeum.woff') format('woff');
  font-weight: normal;
  font-display: swap;
}

.font-point {
  font-family: 'EbsHunminjeongeum' !important;
}

.font-point.point-accent {
  color: #72C6A5;
  font-weight: 1000;
  text-shadow:
    1px 1px 0 #000,
    -1px 1px 0 #000,
    1px -1px 0 #000,
    -1px -1px 0 #000,
    0px 1px 0 #000,
    0px -1px 0 #000,
    -1px 0px 0 #000,
    1px 0px 0 #000,
    2px 2px 0 #000,
    -2px 2px 0 #000,
    2px -2px 0 #000,
    -2px -2px 0 #000,
    0px 2px 0 #000,
    0px -2px 0 #000,
    -2px 0px 0 #000,
    2px 0px 0 #000,
    1px 2px 0 #000,
    -1px 2px 0 #000,
    1px -2px 0 #000,
    -1px -2px 0 #000,
    2px 1px 0 #000,
    -2px 1px 0 #000,
    2px -1px 0 #000,
    -2px -1px 0 #000,
    1px 7px 0px #000;
  font-size: 5rem;
  line-height: 4.15rem;
  white-space: nowrap;
  letter-spacing: -0.65rem;
}


/* active  **************************************************/
a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* common  **************************************************/
button {
  text-align: initial;
}

.color-gray500 {
  color: #aaa;
}


/* icon  **************************************************/
[class*="ic-"] {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

}

i[class*="ic-"] {
  width: 18px;
  height: 18px;
  display: inline-block;
}

a[class*="ic-"] {
  width: 20px;
  height: 20px;
  display: inline-block;
}

[class*="ic-"]:not(:first-child) {
  margin-left: 4px;

}

button[class*="ic-"] {
  background-size: 46px auto;
}

.ic-call {
  background-image: url('./icon/icon-call.svg');
}

.ic-mail {
  background-image: url('./icon/icon-mail.svg');
}

.ic-copy {
  background-image: url('./icon/icon-copy.svg');
}

.ic-chat {
  background-image: url('./icon/icon-chat.svg');
}


.ic-lang {
  background-image: url('./icon/icon-lang.svg');
}

.ic-close {
  background-image: url('./icon/icon-close.svg');
}


.ic-kakao {
  background-image: url('./icon/icon-kakao.png');
}

.ic-insta {
  background-image: url('./icon/icon-insta.png');
}

.ic-logo {
  background-image: url('./logo-symbol.svg');
}

.ic-menu {
  position: relative;
  width: 100%;
  height: 100%;
}

.ic-menu span {
  transition: all 0.3s ease;
  width: 36px;
  height: 3px;
  /* border-radius: 2px; */
  background-color: #000;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ic-menu span:nth-child(1) {
  top: calc(50% - 12%);
}

.ic-menu span:nth-child(3) {
  top: calc(50% + 12%);
}

body[data-menu="open"] .ic-menu span:nth-child(2) {
  display: none;
}

body[data-menu="open"] .ic-menu span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

body[data-menu="open"] .ic-menu span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}




/* font  **************************************************/

h1 {
  font-size: 3rem;
  line-height: 4.2rem;
}

h1.font-point {
  line-height: 3rem;
}

h2 {
  font-size: 2rem;
  line-height: 3.2rem;
}

h2.font-point {
  line-height: 2rem;
  white-space: nowrap;
}

h3 {
  font-size: 1.6rem;
  line-height: 2.2rem;
}

h3.font-point {
  line-height: 1.6rem;
}

h4 {
  font-size: 1.3rem;
  line-height: 1.8rem;
}

h4.font-point {
  line-height: 1.3rem;
}


h5 {
  font-size: 1rem;
  line-height: 1.4rem;
}

h5.font-point {
  line-height: 1rem;
}

h6 {
  font-size: .8rem;
  line-height: 1.1rem;
}

h6.font-point {
  line-height: 0.8rem;
}

b {
  font-weight: 600;
}






body.home {
  width: 100vw;
  overflow: hidden;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}






/* layout  **************************************************/

header,
footer {
  position: fixed;
  z-index: 99;
  background-color: var(--background);
}

header>.wrap,
nav>.wrap,
footer>.wrap {
  height: 100%;
  width: 100%;
}

header {
  height: 100px;

  top: 0;
  left: 0;
  right: 0;
}

footer {
  height: 80px;
  bottom: 0;
  left: 0;
  right: 0;
}

footer [class*="ic-"] {
  width: 14px;
  height: 14px;
}

footer [class*="ic-"].ic-logo {
  width: 32px;
  height: 32px;
}



nav {
  height: 40px;
}

nav .inbox button {
  text-align: left;
}




/* style  **************************************************/

.style-calendar .calItem {
  display: inline-block;
  vertical-align: middle;
  width: calc((100% - 40px)/7);

  border: .5px solid #000;
  border-top: unset;
  border-bottom-width: 2px;
  height: 100%;
}

.style-calendar .calItem>.wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  height: 100%;
  gap: 8px;
  position: relative;
}

.style-calendar .calItem>.wrap>* {
  z-index: 1;
}

.style-calendar .calItem.NOW {
  background-color: #000;
  color: #fff;
}


.style-calendar .calItem.inbox>.wrap {
  flex-direction: column;
  padding: 0;
  gap: 0;
}

.style-calendar .calItem.inbox .box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;

  width: 100%;
  padding: 0 12px;
  gap: 4px;
}

.style-calendar .calItem.inbox .box:not(:first-child) {
  border-top: 1px solid #000;
}


.style-calendar .calItem.col2 {
  width: calc((100% - 40px)/7*2);
}

.style-calendar .calItem.col3 {
  width: calc((100% - 40px)/7*3);
}

.content .style-calendar .calItem,
.style-calendar .calItem .detail {
  height: calc((100vh - 100px - 80px - 40px + 3px)/3);
}




.style-calendar .calItem.fit>.wrap {
  padding-right: 0;
  padding-bottom: unset;
  padding-top: unset;
}



.style-calendar .calItem select {
  height: 100%;
  outline: none;
  border-right: 10px solid transparent;
}

.style-calendar .calItem .img {
  z-index: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

.style-calendar .calItem.noImg {
  color: #bbb;
}

.style-calendar .calItem.noImg>.wrap::before {
  content: '발견중...';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'EbsHunminjeongeum';
  font-size: 2rem;
  color: #000;
  opacity: 0.05;
  white-space: nowrap
}




.style-calendar .calItem .detail {
  display: none;

  z-index: 99;
  position: absolute;
  left: 0;
  right: 0;
  transform: translateY(1px);

  background-color: var(--background);
}

.style-calendar .calItem .detail>.wrap,
.style-calendar .calItem .detail .calItem>.wrap {
  height: 100%;
}

.style-calendar .calItem .detail .calItem {
  border: 0;
  border-top: 3px solid #000;
  border-bottom: 4px solid #000;
}

.style-calendar .calItem .detail .calItem:nth-child(1) {
  border-left: 3px solid #000;
}

.style-calendar .calItem .detail .calItem:nth-child(7) {
  border-right: 3px solid #000;
}

.style-calendar .calItem .detail .calItem:nth-child(4),
.style-calendar .calItem .detail .calItem:nth-child(5),
.style-calendar .calItem .detail .calItem:nth-child(6),
.style-calendar .calItem .detail .calItem:nth-child(7),
.style-calendar .calItem .detail .calItem:nth-child(8) {
  background-color: #fff;
  padding-top: 3px;
}

.style-calendar .calItem .detail .calItem::before {
  content: unset !important;
}




.style-calendar .calItem .detail .calItem.inbox>.wrap {
  padding-top: 0;
  gap: 0;
  text-align: left;
}

.style-calendar .calItem .detail .calItem.inbox .box {
  padding: 0;
  border: 0;
  border-right: 1px solid #000;
}

.style-calendar .calItem .detail .calItem.inbox button.box {
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
}

.style-calendar .calItem .detail .calItem.inbox .box.NOW {

  background-color: #fff;
  border-right: 0;

}

.style-calendar .calItem .detail .calItem .logo {
  height: 100%;
  aspect-ratio: 1/1;
  background-position: center;
  background-size: cover;
}


.style-calendar .calItem .detail .point-accent {
  position: absolute;
  right: 10px;
  bottom: 10px;
  transform-origin: left bottom;
  transform: rotate(-6deg);
}





.style-calendar .calItem .info {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: end;
  width: 100%;
}

footer .style-calendar .calItem {
  border-top: 2px solid #000;

}




.content {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
}

.content .style-calendar .calItem>.wrap {

  flex-direction: column;
  justify-content: initial;
  align-items: initial;
  padding-top: 8px;
}

.content>.style-calendar>.calItem:not(.noImg)>.wrap {
  background-color: #fff;
  cursor: pointer;
}

/* .content > .style-calendar>.calItem:not(.noImg):hover>.wrap, */
.content>.style-calendar>.calItem:not(.noImg).SHOW>.wrap {
  background-color: #000;
  color: #fff;
}


.content .style-calendar>.calItem:not(.noImg).SHOW .detail {
  display: block;
}



/* main  **************************************************/
section.main {
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  height: 100vh;
}







/* responsive  **************************************************/
@media screen and (min-width: 1920px) {

  header,
  footer,
  section {
    max-width: 1920px;
    margin: 0 auto;

  }

  .style-calendar {
    position: relative;
  }

  .style-calendar .calItem {
    width: calc((100%)/7);
  }

  .style-calendar .calItem.col3 {
    width: calc((100%)/7*3);

  }
}

@media screen and (max-width: 1920px) and (min-width: 900px) {
  .style-calendar .calItem:nth-child(7n-6) {
    margin-left: 20px;
  }
}

@media screen and (min-width: 900px) {
  [data-resp="M"] {
    display: none !important;
  }

  footer br {
    display: none;
  }

  .style-calendar .calItem:nth-child(7n-6),
  .style-calendar .calItem:nth-child(7n),
  .style-calendar .calItem:last-child {
    position: relative;
  }

  .style-calendar>.calItem:nth-child(7n-6)::before,
  .style-calendar>.calItem:nth-child(7n)::before,
  .style-calendar>.calItem:last-child::before {
    content: '';
    position: absolute;
    top: -1px;
    width: 50vw;
    border: 1px solid #000;
    height: calc(100% + 2px);
  }

  .style-calendar>.calItem:nth-child(7n-6)::before {
    border-left: 0;
    transform: translateX(-100%);
  }

  .style-calendar>.calItem:nth-child(7n)::before,
  .style-calendar>.calItem:last-child::before {
    border-right: 0;
    right: 0;
    transform: translateX(100%);
  }

  .style-calendar .calItem .detail .ic-close {
    display: none;
  }
}




@media screen and (max-width: 900px) {
  [data-resp="M"] {
    display: inline-block !important;
  }

  header br,

  header .style-calendar .calItem:not(:nth-child(1)),

  footer .style-calendar .calItem:not(:nth-child(1), :nth-child(3)),
  footer .style-calendar .calItem:nth-child(1) .box:nth-child(2),
  nav .style-calendar .calItem:not(:nth-child(1)) {
    display: none;
  }



  .style-calendar .calItem:nth-child(1),

  .content>.style-calendar .calItem:nth-child(4n-3) {
    border-left: 0;
  }


  .style-calendar .calItem:nth-child(7),

  footer .style-calendar .calItem:nth-child(4),
  header .style-calendar .calItem:nth-child(7),


  .content>.style-calendar .calItem:nth-child(4n) {
    border-right: 0;
  }


  header,
  footer {
    height: calc(100vw / 4);
  }

  nav {
    height: 60px;
    border-bottom: 1px solid #000;
  }


  footer .style-calendar .calItem:nth-child(1),
  header .style-calendar .calItem:nth-child(8) {
    width: calc((100%)/4);
  }

  header .style-calendar .calItem:nth-child(1),
  footer .style-calendar .calItem:nth-child(3) {
    width: calc((100%)/4*3);
  }

  section .style-calendar .calItem {
    width: calc((100%)/4);
  }

  .content>.style-calendar .calItem {
    height: calc(100vw / 4);
  }


  footer .style-calendar .calItem {
    border-bottom: 0;
  }

  footer .ic-chat {
    position: fixed;
    left: 5px;
    bottom: 5px;
    background-color: var(--background);
  }

  footer [class*="ic-"] {
    width: calc(100vw / 4 - 10px);
    height: calc(100vw / 4 - 10px);
    background-size: 36px auto;
  }

  footer [class*="ic-"].ic-logo {
    width: 36px;
    height: 36px;
  }

  section {
    padding: calc(100vw / 4) 0;
  }

  .style-calendar .calItem .detail {
    z-index: 999;
    position: fixed;
    bottom: 0;
    left: 0;
    height: 100%;
    padding-bottom: calc(100vw / 4);
    background-color: #fff;
  }

  .style-calendar .calItem .detail .ic-close {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100vw / 4);
    border-top: 2px solid #000;
    background-color: var(--background);
  }


  .style-calendar .calItem .detail .calItem {
    width: 100%;
    border: 0 !important;
    display: inline-block;
  }

  .style-calendar .calItem .detail .calItem>.wrap {
    flex-direction: row;
  }

  .style-calendar .calItem .detail .calItem:nth-child(1) {
    height: 80px;
    text-align: right;
  }

  .style-calendar .calItem .detail .calItem:nth-child(1)>.wrap {
    justify-content: space-between;
  }

  .style-calendar .calItem .detail .calItem:nth-child(2) {
    height: 40px;
  }

  .style-calendar .calItem .detail .calItem.inbox .box {
    border-bottom: 1px solid #000;
    border-right: 0;
  }

  .style-calendar .calItem .detail .calItem.inbox button.box {
    border: 1px solid #000;
  }

  .style-calendar .calItem .detail .calItem.inbox .box.NOW {
    border-bottom: 0;
    border-right: 1px solid #000;
  }

  .style-calendar .calItem .detail .calItem.inbox .box.box:nth-child(1) {
    border-left: 0;
  }

  .style-calendar .calItem .detail .calItem.inbox .box:last-child,
  footer .style-calendar .calItem:first-child,
  header .style-calendar .calItem:nth-child(8),
  footer .style-calendar .calItem:nth-child(3) {
    border-right: 0;
  }

  .style-calendar .calItem .detail .calItem:nth-child(1) {}

  .style-calendar .calItem .detail .calItem:nth-child(3),
  .style-calendar .calItem .detail .calItem:nth-child(4) {
    width: 50%;
    height: calc(100vw / 4 * 3.5);
    max-height: 260px;
  }

  .style-calendar .calItem .detail .calItem:nth-child(3)>.wrap,
  .style-calendar .calItem .detail .calItem:nth-child(4)>.wrap {
    flex-direction: column;
  }

  .style-calendar .calItem .detail .point-accent {
    font-size: 3.2rem;
    line-height: 2.8rem;
    right: unset;
    left: 50%;
    bottom: unset;
    top: 50%;
    transform-origin: center;
    transform: rotate(-6deg) translate(-50%, -50%);
  }

  .style-calendar .calItem .detail .calItem:nth-child(5),
  .style-calendar .calItem .detail .calItem:nth-child(6) {
    display: none;

  }

  .style-calendar .calItem .detail a[class*="ic-"],
  .style-calendar .calItem .detail i:not(.logo) {
    width: 28px;
    height: 28px;
  }

  .style-calendar .calItem .info {
    gap: 8px;
  }

  .style-calendar .calItem h4 {
    line-height: 1.5rem;
  }

  .content .style-calendar .calItem h6 {

    font-size: .9rem;
    line-height: 1.3rem;
  }

  footer .style-calendar .calItem>.wrap {
    position: unset;
  }


  body[data-menu="open"] footer .style-calendar .calItem:nth-child(1) .box:nth-child(1),
  body[data-menu="open"] footer .style-calendar .calItem:nth-child(1) .box:nth-child(2),
  body[data-menu="open"] footer .style-calendar .calItem:nth-child(2) {
    z-index: 999;
    position: fixed;
    height: calc((100vh - (100vw /4*2))/3);
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--background);
    left: 0;
    border: 0;
    padding: 0;
  }

  body[data-menu="open"] footer h6 {

    font-size: 1.6rem;
    line-height: 2.2rem;
  }

  body[data-menu="open"] footer .style-calendar .calItem:nth-child(1) .box:nth-child(1) {
    top: calc(100vw /4*1);

  }

  body[data-menu="open"] footer .style-calendar .calItem:nth-child(1) .box:nth-child(2) {
    top: calc((100vw /4*1)+(100vh - (100vw /4*2))/3);

  }

  body[data-menu="open"] footer .style-calendar .calItem:nth-child(2) {
    bottom: calc(100vw /4*1);
  }
}

@media screen and (max-width: 600px) {

  section .style-calendar .calItem {
    width: calc((100%)/3);
  }

  .content>.style-calendar .calItem {
    height: calc(100vw / 3);
  }


  .content>.style-calendar .calItem:nth-child(4n) {
    border-right: 1px solid #000;
  }

  .content>.style-calendar .calItem:nth-child(4n-3) {
    border-left: 1px solid #000;
  }


  .content>.style-calendar .calItem:nth-child(3n) {
    border-right: 0;
  }

  .content>.style-calendar .calItem:nth-child(3n-2) {
    border-left: 0;
  }
}
