@charset "utf-8";

/*----------------------------------------
TEMPLATE - all menu
----------------------------------------*/
/* all menu */
.mask {
  z-index: 100;
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--black);
  opacity: .5;
  cursor: pointer;
}

.all__menu--wrap {
  z-index: 101;
  position: absolute;
  display: none;
  width: 100%;
  height: auto;
  top: 0px;
  left: 0;
  background-color: var(--white);
  padding: 2rem 5rem 3rem;
}

.all__menu--title {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid;
  border-color: var(--border-color);
}

.all__menu--title h2 {width: 100%;  text-align: center;}

.all_depth1 {display: block;  width: 100%;}

.all_depth1_item {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.all_depth1_item>a {
  display: block;
  padding: 1rem;
  background-color: var(--bg-color);
  border-bottom: 1px solid;
  border-color: var(--border-color);
  font-size: 1.35rem;
  margin-bottom: 0;
}

.all_depth1_item>a:hover {color: inherit;}

.all_depth2 li a {
  display: block;
  padding: 1rem 2rem;
  border-bottom: 1px solid;
  border-color: var(--border-color);
}

.all_depth2 li a:active,
.all_depth2 li a:focus,
.all_depth2 li a:hover {color: var(--first-color);}

.all_depth3 ul   {display: none;}
.all_depth3 li a {display: block;  padding: 1rem 3rem;}

.close_all__menu i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  width: 2.5rem;
  height: 2.5rem;
}

/* mobile menu */
.mobiel__menu--util {display: none;}
.mobiel__menu--top  { display: none;}

@media (max-width: 991.98px) {
  .pc-only {display: none;}

  /* all menu */
  .all_depth1_item>a:hover {background: var(--first-color);  color: var(--white);}
  .all_depth2 li a:hover {color: var(--first-color);}

  .depth1.on {background: var(--first-color);  color: var(--white);}
  .depth1.on:hover {color: var(--white);}

  /* all__menu--wrap */
  .all__menu--wrap {
    position: fixed;
    top: 0;
    left: auto;
    bottom: 0;
    right: 0;
    width: 55%;
    height: auto;
    padding: 0;
  }

  .mobiel__menu--top {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin: auto 1.5rem;
    min-height: 5rem;
  }

  .mobiel__menu--top h1 {font-size: 1.35rem;}

  .mobiel__menu--util {
    display: block;
    background-color: var(--bg-color);
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-color: var(--border-color);
    padding: 1rem;
  }

  .mobiel__menu--util ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
  }

  .mobiel__menu--util li::before {
    content: "";
    display: inline-block;
    background-color: var(--black);
    opacity: .2;
    width: 1px;
    height: 12px;
    margin: 0 1rem;
  }

  .mobiel__menu--util li:nth-child(1)::before {display: none;}

  .mobiel__menu--util li a {font-size: .95rem;  font-weight: 700;}

  /* mobile__menu */
  .btn__allmenu i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (max-width: 575.98px) {
  /* all menu */
  .all__menu--wrap {width: 80%;}
}

@media (min-width: 992px) {
  .all_depth1 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .all_depth1_item {
    display: block;
    width: 25%;
    padding: 0 .5rem;
    margin-bottom: 3rem;
    box-sizing: border-box;
  }

  .all_depth1_item>a {
    display: block;
    margin-bottom: 1rem;
    color: var(--white);
    background-color: var(--first-color);
    border-radius: .5rem;
    text-align: center;
  }

  .all_depth1_item>a:hover {color: var(--white);}

  .all_depth2 li {padding-left: 1rem;}

  .all_depth2 li a {
    display: inline-block;
    padding: .25rem 0;
    position: relative;
    font-size: 1.2rem;
    font-weight: 500;
    border: none;
  }

  .all_depth2 li a:active,
  .all_depth2 li a:focus,
  .all_depth2 li a:hover {color: var(--first-color);}

  .all_depth2 li :before {
    display: block;
    content: '';
    width: 3px;
    height: 19px;
    position: absolute;
    left: -15px;
    top: 50%;
    margin-top: -10px;
    background-color: var(--first-color);
  }

  .all_depth3 li a {
    position: relative;
    padding: .25rem 0;
    font-size: 1.075rem;
    opacity: .8;
  }

  .all_depth3 li a:before {display: none;}
}


/*----------------------------------------
TEMPLATE 2 - header
----------------------------------------*/
header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  min-height: 6.25rem;
}

header .logo {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: center;
}

header .logo h1 {
  font-size: clamp(1.075rem, 0.8405rem + 1.1724vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -.05rem;
  color: var(--text-color);
  opacity: .8;
}

header .logo h1 img {max-height: 3.5rem;}

header .header_right {
  display: inline-flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: flex-end;
  min-height: 80px;
}

/* util menu */
header .util__menu {position: relative;  font-size: .95rem;}
header .util__menu li {display: inline-flex;  padding: 0 .5rem;}
header .util__menu li a:hover {color: var(--black);  opacity: 1;  font-weight: 700;}

/* main_menu */
header .main_menu a {font-size: 1.35rem;  padding: .75rem 1rem;  font-weight: 500;}
header .main_menu a:active,
header .main_menu a:focus,
header .main_menu a:hover {color: var(--first-color);  text-decoration: none;}

header .main_menu>ul {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

header .main_menu>ul>li {position: relative;  display: inline-block;}
header .main_menu>ul>li::after {
  content: "";
  display: inline-block;
  background-color: var(--black);
  opacity: .2;
  width: 1px;
  height: 15px;
}

header .main_menu>ul>li:nth-last-child(1) a {padding-right: .5rem;}
header .main_menu>ul>li:nth-last-child(1)::after {display: none;}

.submenu {
  position: absolute;
  display: none;
  width: 10rem;
  margin-top: .5rem;
  background-color: var(--white);
  border: solid 1px;
  border-color: var(--border-color);
  z-index: 100;
}

.submenu ul {display: block;}

.submenu li {
  box-sizing: border-box;
  border-bottom: solid 1px;
  border-color: var(--border-color);
  margin: 0 .75rem;
}
.submenu li:last-child {border: none;}

.submenu li a {display: block;  font-size: .95rem;  padding: .75em 0;}

@media (max-width: 991.98px) {
  /* util menu */
  header .util__menu {display: none;}

  /* main_menu */
  .main_menu {display: none;}
}


/*----------------------------------------
TEMPLATE 2 - footer
----------------------------------------*/
footer {
  position: relative;
  margin: 1.5rem 0;
  font-size: .95rem;
}

footer hr {
  border-top: 1px solid;
  border-color: var(--border-color);
  margin-top: 0;
  margin-bottom: 0;
}

/* foot-info */
.foot-info .title {
  display: block;
  font-size: 1.075rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.footer-info-custom {
  opacity: .8;
}

.footer-info-custom,
.footer-info-custom * {
  font-size: .95rem !important;
  font-weight: 400 !important;
  color: inherit !important;
  line-height: 1.6 !important;
}

.footer-info-custom p,
.footer-info-custom div,
.footer-info-custom h1,
.footer-info-custom h2,
.footer-info-custom h3,
.footer-info-custom h4,
.footer-info-custom h5,
.footer-info-custom h6 {
  margin: 0 0 .25rem !important;
  padding: 0 !important;
}
.footer-info-custom a {text-decoration: underline !important;}

.foot-info span {
  position: relative;
  display: inline-block;
  opacity: .8;
  margin: .25rem 0;
}

.foot-info span a:hover {
  color: var(--black);
  opacity: 1;
  font-weight: 700;
}

.foot-info span::after {
  content: "";
  display: inline-block;
  background-color: var(--black);
  opacity: .2;
  width: 1px;
  height: 11px;
  margin: 0 .75rem 0 1rem;
}

.foot-info span:last-child::after {display: none;}

.foot-info .use {text-align: right;}
.foot-info .use span::after {margin: 0 .5rem 0 .75rem;}

/* site-info */
.site-info {position: relative;}
.site-info .copyright {font-size: .85rem;  opacity: .7;}
.site-info .copyright span {text-transform: uppercase;}
.site-info .by {font-size: .7rem;  font-weight: 300;  opacity: .5;}

@media (max-width: 991.98px) {
  /* foot-info */
  .foot-info address span.add {display: block;}
  .foot-info address span.add::after {display: none;}
}

@media (max-width: 575.98px) {
  /* foot-info */
  .foot-info address span {display: block;}
  .foot-info address span::after {display: none;}
}


/*----------------------------------------
TEMPLATE 2 - main layout
----------------------------------------*/
main {
  padding: 2rem 0;
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-color: var(--border-color);
}

main.home {background-color: var(--bg-color);}

section {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* part1 : Carousel buton */
.part1 {position: relative;  margin-bottom: 1.5rem;}

.carousel-inner {height: 23rem;  border-radius: .5rem;}

.carousel-inner .carousel-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .3));
  border-radius: .5rem;
}

.carousel-indicators {
  left: auto;
  margin-right: 2rem;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.carousel-indicators li {width: 1.5rem;}

.carousel-control-prev,
.carousel-control-next {display: none;}

.carousel-caption {left: 2.5rem;  text-align: left;}

.carousel-caption h5 {
  font-size: clamp(1.5rem, 1.2241rem + 1.3793vw, 2rem);
  font-weight: 500;
  margin-bottom: .5rem;
}

.carousel-caption p {
  font-size: clamp(1rem, 0.8621rem + 0.6897vw, 1.25rem);
  margin-bottom: .5rem;
}

/* part2 : main-tab*/
.part2 {
  display: grid;
  align-content: space-between;
  margin-bottom: 1.5rem;
}

.login-wrap {border-radius: .5rem;  margin-bottom: 1rem;}

.nav-tabs .nav-link {
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
  padding-top: .75rem;
  padding-bottom: 0;
  min-height: 48px;
  font-size: 1.075rem;
  font-weight: 500;
  color: var(--gray);
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  font-weight: 500;
  color: var(--first-color);
  padding-top: 1rem;
  border-color: var(--border-color);
  border-bottom-color: var(--white);
}

.tab-content.tab-wrap {
  background: var(--white);
  border: 1px solid;
  border-color: var(--border-color);
  border-top: none;
  padding: 1rem;
  border-bottom-left-radius: .5rem;
  border-bottom-right-radius: .5rem;
}

.tab-content>.tab-pane {min-height: 120px;}
.tab-content>.tab-pane ul {font-size: .85rem;  padding-left: .5rem;  list-style-type: disc;}
.tab-content>.tab-pane li {margin: .25rem 0;}

.tab-1 {
  background-image: var(--asset-v2-img1);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: 3.5rem;
}

.tab-2 {
  background-image: var(--asset-v2-img1);
  background-position: 95% 100%;
  background-repeat: no-repeat;
  background-size: 4.5rem;
}

/* part2 : journal */
.journal-wrap {
  position: relative;
  padding: 1.5rem;
  background-color: #eee9e9;
  border-radius: .5rem;
  min-height: 200px;
}

.j-title {margin-bottom: 1rem;}

.j-title h5 {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 500;
  margin: .25rem 0;
}

.j-title h5 span {margin: 0 .5rem;  font-size: .75rem;  font-weight: 500;}

.j-title h6 {font-size: .85rem;  font-weight: 400;  color: var(--gray);}

.journal {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.journal .j-cover {width: 100px;  margin-right: 1rem}

.journal .j-cover img {
  width: 100%;
  border: 1px solid;
  border-color: var(--border-color);
  border-radius: .25rem;
}

.journal .j-info {width: 60%;}

.link-btn {display: flex;  flex-direction: column;  flex-wrap: nowrap;}
.link-btn a {margin: .125rem;  font-size: .95rem;}

/* part3 : board */
.part3 .widget_post01 {border-radius: .5rem;}

.board-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.board-widget {width: calc(100% / 2 - 8px);}

.widget_post01 {min-height: 10rem;}

/* part4 : quick-list */
.part4 {display: grid;}

.quick-list-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.quick-list {border-radius: .5rem;  color: var(--white);}
.quick-list:hover {opacity: .9;  color: var(--white);}

.quick-list span {
  display: block;
  overflow: hidden;
  font-size: .95rem;
  margin: .25rem 0;
}

.quick-list.btn {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: .5rem;
  margin-bottom: .75rem;
  width: calc(100% / 2 - 8px);
}

.quick-list.btn i {font-size: clamp(1.25rem, 0.8362rem + 2.069vw, 2rem);}

.quick-list.btn:nth-child(odd) {background-color: var(--second-color);}
.quick-list.btn:nth-child(even) {background-color: var(--first-color);}

/* part5 : sitelink */
.sitelink {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  padding: .5rem;
  margin-top: 1rem;
  border: solid 1px;
  border-radius: .5rem;
  border-color: var(--border-color);
  background-color: var(--white);
}

.sitelink a {
  display: flex;
  justify-content: center;
  margin: .25rem;
  font-size: .85rem;
  color: var(--gray);
}
.sitelink a:hover {color: var(--first-color);}
.sitelink a img {max-height: 40px;}

@media (min-width: 768px) {
  /* part1 : Carousel buton */
  .carousel-indicators li {width: 1rem;  height: 1rem;  border-radius: 50%;}
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* part2 : journal */
  .journal .j-cover {width: clamp(100px, 40%, 120px); margin-right: 1.5rem}
  .journal a {width: clamp(120px, 20%, 200px);}
  .link-btn {flex-direction: row;}  
}

@media (max-width: 991.98px) {
  /* part1 : Carousel buton */
  .carousel-inner {height: 19rem;}

  /* part3 : board */
  .board-wrap {flex-direction: column;}
  .board-widget {width: calc(100% / 1); margin-bottom: 1rem;}

  /* part4 : quick-list */
  .part4 {margin-bottom: 1rem;}

  /* part5 : sitelink */
  .sitelink a {width: calc(100% / 3 - 10px);}
}

@media (max-width: 575.98px) {
  /* part1 : Carousel buton */
  .carousel-inner {height: 15rem;}
  .carousel-caption {left: 1.5rem;}

  /* part4 : quick-list */
  .quick-list.btn {padding: 1rem .5rem; width: calc(100% / 2 - 10px);}

  /* part5 : sitelink */
  .sitelink a {width: calc(100% / 2 - 10px);}
}


/*----------------------------------------
TEMPLATE 2 - sub layout
----------------------------------------*/
/* sub - lnb */
.lnb-wrap {}

.lnb_depth {
  display: block;
  padding: 0;
  width: 100%;
  background-color: var(--bg-color);
  border-radius: .5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%);
}

.lnb_depth a:hover {color: var(--first-color);}

.lnb_depth h2 {
  padding: 2rem 0;
  min-height: 100px;
  border-top-right-radius: .5rem;
  border-top-left-radius: .5rem;
  font-size: 1.75rem;
  font-weight: 300;
  text-align: center;
  background-color: var(--first-color);
  color: var(--white);
}

.lnb_depth li:last-child a {border-bottom: none;}

.lnb_depth .m2 {display: block;  text-align: left;  border-top: none;}
.lnb_depth .m2>a {
  display: block;
  font-size: 1.075rem;
  padding: .75rem 1rem;
  margin: 0 1rem;
  border-bottom: 1px solid;
  border-color: var(--border-color);
}

.lnb_depth .m2.selected {background-color: #e2e8ef;}
.lnb_depth .m2.selected>a {color: var(--first-color);  border-bottom: none;}
.lnb_depth .m2.selected>a:hover {color: var(--first-color);}

.lnb_depth .m2>ul {padding-bottom: 1rem;}

.lnb_depth ul>.m3 {padding-left: .75rem;}
.lnb_depth ul>.m3:first-child {padding-top: .5rem;}
.lnb_depth ul>.m3:last-child  { padding-bottom: .5rem;}

.lnb_depth .m3.selected3 {color: var(--second-color);}

.lnb_depth .m3>a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0 1rem;
  font-size: .85rem;
}
.lnb_depth .m3>a i {color: var(--gray);  font-size: 1.25rem;  line-height: 1.25;}

/* sub - page wrap */
.page-wrap {z-index: 9;}

.page-title {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem 2.5rem;
  min-height: 7.5rem;
  border-radius: .5rem;
  color: var(--white);
  background-color: var(--gray);
  /* 서브 이미지(sub_img.jpg)가 있으면 사진, 없거나 못 불러오면 회색 */
  background-image: linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, .35)), var(--sub-image, none);
  background-position: center;
  background-size: cover;
}

.page-title h3 {
  font-size: clamp(1.75rem, 1.6833rem + 0.3333vw, 2rem);
  font-weight: 300;
  opacity: .95;
}

.sub_cont_util {margin-top: 3rem;}
.sub_cont_util .location {display: inline-block;  font-size: .95rem;  color: var(--white);  opacity: .75;}
.sub_cont_util .location a {color: var(--white);  padding: 0 .25rem;}
.sub_cont_util .location a:hover {text-decoration: underline;}

.page-content {min-height: 25rem;}

@media (max-width: 991.98px) {
  /* sub - lnb-basic */
  .lnb-wrap {display: none;}
}

@media (max-width: 575.98px) {
  /* sub - page-wrap */
  .page-title {justify-content: center;}
  .sub_cont_util {display: none;}
}
/* part4 : journal-widget (학술지 카드) — 좌측 사진자료 위젯(.widget_gallery-01)과 같은 카드 톤·여백, 높이는 JS가 사진자료 위젯에 맞춤 */
.journal-widget {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 13rem;
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  overflow: hidden;
  border: solid 1px;
  border-color: var(--border-color);
  background-color: var(--white);
}
.journal-widget .post_title {display: flex;  flex-wrap: nowrap;  justify-content: space-between;  align-items: center;  margin-bottom: .75rem;}
.journal-widget .post_title h5 {margin: 0;  font-size: 1.5rem;}
.journal-badge {display: inline-block;  margin-left: .5rem;  padding: .1rem .45rem;  border-radius: .25rem;  font-size: .75rem;  font-weight: 700;  line-height: 1.4;  vertical-align: middle;  color: var(--white);  background-color: var(--first-color);}
.journal-widget .post_title + .journal-title-en {margin-top: -.5rem;}
.journal-title-en {margin: 0 0 .75rem;  font-size: .8rem;  line-height: 1.3;  color: var(--gray);}
.journal-body {display: flex;  flex: 1;  min-height: 0;  gap: 1rem;  align-items: stretch;}
.journal-cover {flex: 0 0 auto;  align-self: flex-start;  width: 5.5rem;  aspect-ratio: 3 / 4;  object-fit: cover;  border-radius: .25rem;  border: solid 1px var(--border-color);}
.journal-side {display: flex;  flex-direction: column;  justify-content: center;  gap: .4rem;  flex: 1;  min-width: 0;}
.journal-info {margin: 0 0 .1rem;  padding: 0;  list-style: none;  font-size: .875rem;  line-height: 1.5;}
.journal-info:empty {display: none;}
.journal-info li::before {content: "· ";}
.journal-btn {display: block;  padding: .45rem .5rem;  border-radius: .25rem;  text-align: center;  font-size: .9rem;  line-height: 1.3;  color: var(--white);  background-color: var(--first-color);  transition: opacity .3s;}
.journal-btn:hover {color: var(--white);  opacity: .85;  text-decoration: none;}
