@charset "utf-8";

/**********************************
공통 CSS
**********************************/
@import url('https://fonts.googleapis.com/css2?family=Josefin+Slab:wght@300&display=swap');
/* font-family: 'Josefin Slab' */
.md_btn {
  font-size: 10px;
  display: inline-block;
  float: left;
  margin-right: 5px;
}
.no-data {
  display: none;
}
.w100p {
  width: 100% !important;
}
.warn_msg {
  font-size: 11px;
  font-weight: bold;
  color: #e85c5c;
}
/**********************************
전체 페이지
**********************************/
.box_wrapper {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 30px;
}
.box_wrapper * {
  transition: all 0.1s ease-in-out;
}
.box_wrapper h1,
.box_wrapper h1 em {
  font-family: 'Josefin Slab';
  font-size: 30px;
  margin: 20px 0;
}
.box_wrapper h1 em {
  color: #42d9cc;
}
/**********************************
타임라인
**********************************/
.timeline-wrapper {
  width: 30%;
  margin-bottom: 20px;
}
.timeline-box {
  box-sizing: border-box;
  padding-left: 20px;
  display: flex;
  width: 100%;
  max-height: 700px;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: start;
  padding-right: 10px;
}

.timeline-box li {
  position: relative;
  margin-bottom: 15px;
}

.timeline-box li::after {
  content: '';
  position: absolute;
  left: 0%;
  top: 25px;
  width: 1px;
  height: 100%;
  border-left: 1px dashed #000;
}
.timeline-box li:last-child::after {
  display: none;
}
/* 타임라인 content */
.tl_cont_box {
  width: 80%;
  position: relative;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  padding: 0 10px;
  margin-top: 10px;
  float: right;
  box-sizing: border-box;
}
.tl_cont_box:hover {
  background: rgba(0, 0, 0, 1);
  transform: scale(1.05);
}
.timeline-box li .timeline-date {
  padding-top: 10px;
  font-weight: bold;
  color: #42d9cc;
}
.timeline-box li .timeline-memo {
  padding-top: 5px;
  padding-bottom: 10px;
  font-size: 11px;
}
/* 타임라인 order */
.tl_order {
  position: absolute;
  width: 20px;
  height: 20px;
  color: #42d9cc;
  font-size: 9px;
  line-height: 20px;
  font-weight: bold;
  background: #42d9cc;
  border-radius: 10px;
  z-index: 99;
  left: -10px;
  top: 10px;
  text-align: center;
}
.tl_order::after {
  content: '';
  width: 25px;
  height: 1px;
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-1px);
  background: #42d9cc;
}
.tl_order::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background: #42d9cc;
  position: absolute;
  left: 45px;
  top: 50%;
  transform: translateY(-50%);
}

/* 타임라인 수정/삭제 버튼 */
.tl_btn_box {
  overflow: hidden;
  padding-left: 15px;
  position: relative;
}
.tl_btn {
  margin-right: 5px;
}

/**********************************
관계 설명
**********************************/
.relation-wrapper {
  width: 68%;
  margin-bottom: 20px;
  box-sizing: border-box;
}
.relation-box-wrap {
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 10px;
  max-height: 700px;
  box-sizing: border-box;
}
.relation-box {
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #000f;
  margin-bottom: 10px;
  border-radius: 5px;
}
.relation-box:hover {
  background: rgba(0, 0, 0, 1);
}
.relation-title {
  font-size: 1.3em;
  font-weight: bold;
  padding-bottom: 15px;
  position: relative;
}
.relation-title::after {
  content: '';
  width: 50px;
  height: 2px;
  opacity: 0.8;
  background: #42d9cc;
  position: absolute;
  bottom: 0;
  left: 0;
}
.relation-memo {
  margin-top: 15px;
}
/* 관계 설명 수정/삭제 버튼 */
.re_btn_box {
  overflow: hidden;
  position: relative;
}
.re_btn {
}

/**********************************
캐릭터별 서사
**********************************/
.chara-wrapper {
  width: 100%;
}
.chara-box-wrap {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
}
.chara-box {
  margin-bottom: 10px;
  padding: 20px;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.7);
  gap: 20px 2%;
  position: relative;
}
.chara-box::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  border-bottom: 20px solid transparent;
  border-top: 20px solid #42d9cc;
  border-left: 20px solid transparent;
  border-right: 20px solid #42d9cc;
  width: 0;
  height: 0;
}
.chara-cont-box {
  -webkit-flex: 3px;
  -ms-flex: 3px;
  flex: 3px;
}
#chara_thumb img,
#chara_blank {
  width: 100px;
  height: 100px;
  border-radius: 100px;
  background: rgba(204, 204, 204, 0.5);
  border: 1px dashed #42d9cc;
  -webkit-flex: 1px;
  -ms-flex: 1px;
  flex: 1px;
}
.chara-nm {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
}

/**********************************
반응형
**********************************/
@media all and (max-width: 1024px) {
  .timeline-wrapper,
  .relation-wrapper {
    width: 100%;
  }
  .timeline-box,
  .relation-box-wrap {
    height: auto;
    max-height: 380px;
  }
  [class$='-memo'] {
    font-size: 11px;
  }
  .chara-nm,
  .relation-title {
    font-size: 1em;
  }
  #chara_thumb img,
  #chara_blank {
    width: 80px;
    height: 80px;
  }
}

.cherry_copyright {
  color: #42d9cc;
}

.board-category a {
  height: 30px;
  font-size: 13px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  color: rgb(0, 0, 0);
  border-color: rgba(0, 0, 0, 0.8);
  display: inline-block;
  position: relative;
  text-align: center;
  border-width: 1px;
  border-style: solid;
  vertical-align: middle;
  padding: 0 1em;
  box-sizing: border-box;
  cursor: pointer;
}
.board-category .selected a {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  background-color: #42d9cc;
  color: rgb(0, 0, 0);
  border-color: #42d9cc;
}
.board-category .selected a:hover {
  background-color: #42d9cc;
  color: rgb(0, 0, 0);
  border-color: #42d9cc;
}
.board-category .selected a.etc {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  background-color: rgb(0, 0, 0);
  color: rgb(119, 119, 119);
  border-color: rgb(0, 0, 0);
}
.board-category .selected a.etc:hover {
  background-color: rgb(0, 0, 0);
  color: rgb(119, 119, 119);
  border-color: rgb(0, 0, 0);
}

.board-category a {
  line-height: 28px;
}
.board-category a.small {
  height: 20px;
}
.board-category a.small {
  line-height: 20px;
}
.board-category a.big {
  font-size: 16px;
  height: 40px;
}
.board-category a.big {
  line-height: 38px;
}
