@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: #3A68B2;
}
/**********************************
타임라인
**********************************/
.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 #fff;
}
.timeline-box li:last-child::after{
  display: none;
}
/* 타임라인 content */
.tl_cont_box {
  width: 80%;
  position: relative;
  box-sizing: border-box;
  background: rgba(255,255,255,.7);
  border-radius: 5px;
  padding: 0 10px;
  margin-top: 10px;
  float: right;
  box-sizing: border-box;
}
.tl_cont_box:hover {
  background: rgba(255,255,255,1);
  transform: scale(1.05);
}
.timeline-box li .timeline-date {
  padding-top: 10px;
  font-weight: bold;
  color: #3A68B2;
}
.timeline-box li .timeline-memo {
  padding-top: 5px;
  padding-bottom: 10px;
  font-size: 11px;
}
/* 타임라인 order */
.tl_order {
  position: absolute;
  width:20px;  height: 20px;
  color: #fff;
  font-size: 9px; line-height:20px;
  font-weight: bold;
  background: #3A68B2;
  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: #3A68B2;
}
.tl_order::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background: #3A68B2;
  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(255,255,255, .7);
  border: 1px solid #fff;
  margin-bottom: 10px;
  border-radius: 5px;
}
.relation-box:hover {
  background: rgba(255,255,255,1);
}
.relation-title {
  font-size: 1.3em;font-weight: bold;
  padding-bottom: 15px;
  position: relative;
}
.relation-title::after {
  content:'';
  width: 50px;
  height: 2px;
  opacity: .8;
  background: #3A68B2;
  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(255,255,255,.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 rgba(58, 104, 179, 0.8);
  border-left: 20px solid transparent;
  border-right: 20px solid rgba(58, 104, 179, 0.8);
  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, .5);
  border: 1px dashed #3A68B2;
  -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 {
  display:flex;
  justify-content: center;
  margin-top:30px;
  color: #ffffff80;
}

.board-category a {
  height:30px; 
  background-color:rgba(0,0,0,0.5); 
  color:rgb(255,255,255); 
  border-color:rgba(0,0,0,0.8);
  display: inline-block;
  position: relative;
  text-align: center;
  border-width: 1px solid;
  vertical-align: middle;
  padding: 0 1em;
  border-radius:20px;
  box-sizing: border-box;
  cursor: pointer;
}
.board-category .selected a { 
  background-color:rgba(16,72,168,0.5); 
  color:rgb(255,255,255); 
  border-radius:20px;
  border-color:rgb(122,150,191); 
}
.board-category .selected a:hover {
  background-color:rgba(0,49,133,0.5); 
  color:rgb(255,255,255); 
  border-color:rgb(119,155,219); 
}
.board-category .selected a.etc { 
  background-color:rgb(234,234,234); 
  color:rgb(119,119,119); 
  border-radius:20px;
  border-color:rgb(222,222,222); 
}
.board-category .selected a.etc:hover { 
  background-color:rgb(222,222,222); 
  color:rgb(119,119,119); 
  border-color:rgb(202,202,202); 
}

.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; }

.board-category ul {
display:flex;
justify-content: center;
gap:5px;
}

.bo_fx  {
display:flex;
justify-content: right;
margin-top: 20px;
}
