/* @font-face {
  font-family: "Noto Sans JP";
  src: local("Noto Sans JP");
  unicode-range: U+A5, U+4E00-9FFF, U+30??, U+FF00-FF9F;
}

@font-face {
  font-family: Montserrat;
  src: local("Montserrat");
  unicode-range: U+0041-005A, U+0061-007A, U+0030-0039, U+0020-002F, U+003A-0040, U+005B-0060, U+007B-007E;
}

@font-face {
  font-family: "Noto Sans KR";
  src: local("Noto Sans KR");
  unicode-range: U+AC00-D7A3;
} */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap');

html,
body {
  font-family: Montserrat, 'Noto Sans KR', sans-serif;
  /* height: 100%; */
  margin: 0;
  padding: 0;
  padding-top: 60px;
}

* {
  font-family: Montserrat, 'Noto Sans KR', sans-serif;
}

.kr,
.kr div,
.kr h1, .kr h2, .kr h3, .kr h4, .kr h5,
.kr p,
.kr li,
.kr span,
.kr a
 {
  font-family: 'Noto Sans KR', sans-serif;
}

.jp,
.jp div,
.jp h1, .jp h2, .jp h3, .jp h4, .jp h5,
.jp p,
.jp li,
.jp span,
.jp a
 {
  font-family: 'Noto Sans JP', sans-serif;
}

.serif {
  font-family: 'Noto Serif KR', serif;
}

/* when used tailwind.css */
.vbox-figlio {
  margin: 0 auto;
}
/* fixed for use tailwindcss 3.0 */
.collapse {
  visibility: visible !important;
}
/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 767px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }

  html,
  body {
    overflow-x: hidden;
  }
}
/* =====================================================================
preset
===================================================================== */
body {
  padding-top: 40px;
}
/* language select */
.select-lang {
  transition: margin-top .2s ease-in-out;
}
.nav-link {
  font-size: 1.125rem;
  font-weight: 600;
}
.navbar a {
  color: rgba(255, 255, 255, 1) !important;;
}
.navbar a:hover {
  color: rgba(255, 255, 255, 0.6) !important;;
}

/* list custom */
.list-custom {
  position: relative
}
.list-custom li {
  margin-left: 0.85rem;
}
.list-custom li::before {
  content: '▪︎ ';
  position: absolute;
  left: 0;
  color: var(--md-sys-color-primary);
}
/* background underline */
.bg-underline {
  position: relative;
}
.bg-underline::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 50%;
  background: var(--md-sys-color-primary-container);
  z-index: 0;
  opacity: .4;
}
/* venobox diaglogue */
.dialogue-wrap {
  position: relative;
  border: 1px solid var(--md-sys-color-primary-container);
  padding: 2rem  1rem 1.125rem;
  border-radius: 1rem;
}
/* custom table */
.table-custom th  {
  text-align: center;
  vertical-align: middle;
}
.table-custom tr:first-child th,
.table-custom tr:first-child td {
  border-top: 1px solid var(--md-sys-color-on-background);
}
.table-custom tr:last-child th,
.table-custom tr:last-child td {
  border-bottom: 1px solid var(--md-sys-color-on-background);
}
@media screen and (min-width: 768px) {
    .border-right-custom {
      border-right: 4px solid var(--md-sys-color-primary-container);
    }
    .dialogue-wrap h4 {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 70%;
      margin-top: -0.85rem;
      background: var(--md-sys-color-background);
      padding:0rem  0.85rem;
    }
    .dialogue-wrap h4 {
      margin-top: -1.85rem;
    }
}
/* @media screen and (max-width: 767px) {
    .border-right-custom {
      border-bottom: 4px solid var(--md-sys-color-primary-container);
      margin: 1rem auto;
    }
} */

/* =====================================================================
dark mode switcher
===================================================================== */
.switchToggle {
  margin: auto 0.625rem;
}
.switchToggle input[type=checkbox] {
  height: 0;
  width: 0;
  visibility: hidden;
  position: absolute;
}

.switchToggle label {
  position: relative;
  display: block;
  cursor: pointer;
}
/* .switchToggle input:checked+label,
.switchToggle input:checked+input+label {
  background: #000000;
} */

.switchToggle input+label:before,
.switchToggle input+input+label:before {
  /* font-family: bootstrap-icons;
  content: "\F5A1"; */
  font-family: 'Material Symbols Outlined';
  font-variation-settings: "FILL" 1;
  content: 'light_mode';
  position: absolute;
  transition: 0.3s;
}

.switchToggle input:checked+label:before,
.switchToggle input:checked+input+label:before {
  /* font-family: bootstrap-icons;
  content: "\f494"; */
  font-family: 'Material Symbols Outlined';
  font-variation-settings: "FILL" 1;
  content: 'dark_mode';
  position: absolute;
  transition: 0.3s;
}
/* =====================================================================
hamburger menu
===================================================================== */
.navbar-brand {
  display: flex;
  --icon-height: 40px;
  line-height: var(--icon-height);
}
.navbar-brand img {
  width: auto;
  height: var(--icon-height);
}
.navbar-toggler {
  margin-top: 12px;
  position: relative;
  display: inline-block;
  height: 30px;
  width: 30px;
  cursor: pointer;
  transition: .3s ease;
  border: none;
  z-index: 1001;
  --toggler-color: #000;
}

.navbar-toggler > span {
  position: absolute;
  background: var(--toggler-color);
  border: none;
  height: 1px;
  width: 100%;
  top: 0;
  left: 0;
  transition: .3s ease;
}

.navbar-toggler > span:nth-of-type(2) {
  top: 9px;
}

.navbar-toggler > span:nth-of-type(3) {
  top: 18px;
}

.navbar-toggler:not(.collapsed) .top {
  background: var(--toggler-color);
  transform: translateY(9px) translateX(0) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .middle {
  opacity: 0;
}

.navbar-toggler:not(.collapsed) .bottom {
  background: var(--toggler-color);
  transform: translateY(-9px) translateX(0) rotate(-45deg);
}
@media screen and (max-width: 767px) {
  .offcanvas-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 40px;
    padding-top: 58px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    background-color: var(--md-sys-color-primary-container);
    transition: all .3s ease-in-out;
    right: -100%;
    --toggler-line-color: #fff;
  }

  .offcanvas-collapse.open {
    right: -80px;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
  }

  .collapse:not(.show) {
    display: block;
    height: 100%;
  }
  .navbar-nav .nav-item:first-child {
    border-top: 2px solid var(--toggler-line-color);
  }
  .navbar-nav .nav-item {
    border-bottom: 1px solid var(--toggler-line-color);;
  }
  .navbar-nav .nav-item:last-child {
    border-bottom: 2px solid var(--toggler-line-color);;
  }
  .backdrop {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: var(--md-sys-color-primary-container);
    opacity: .5;
  }
  .backdrop.open {
    display: block;
    z-index: -1;
  }
}
/* ==================================================================
map
================================================================== */
#map {
  width: 100%;
  height: 300px;
}

.customoverlay {
  position: relative;
  background: var(--md-sys-color-primary-container);
  text-align: center;
  border-radius: 10px;
  padding: 4px 12px;
  font-size: 14px;
  color: #fff;
}

.customoverlay:after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  z-index: 1;
  border-style: solid;
  border-color: var(--md-sys-color-primary-container) transparent;
  border-width: 10px 10px 0;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}
/*--------------------------------------------------------------
# swiper navigation
--------------------------------------------------------------*/
.swiper-button-next:after, .swiper-button-prev:after {
    font-family: 'Bootstrap-icons';
    text-transform: none!important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    color: var(--md-sys-color-primary);
}
.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    content: '\F284';
}
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
    content: '\F285';
}
.swiper-slide-active h4 {
    animation: fadeInDown 1s;
}
.swiper-slide-active h2,
.swiper-slide-active ul {
  animation: fadeInUp 2s;
}
.swiper-slide img {
  margin: 0 auto;
}
/* ==================================================================
paly-btn
================================================================== */
.play-btn {
  width: 50px;
  height: 50px;
  background: radial-gradient(#ff4a17 50%, rgba(255, 74, 23, 0.4) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 25px);
  top: calc(50% - 25px);
  overflow: hidden;
}

.play-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.play-btn::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate-btn 2s;
  animation: pulsate-btn 2s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(255, 74, 23, 0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.play-btn:hover::after {
  border-left: 15px solid #ff4a17;
  transform: scale(20);
}

.play-btn:hover::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  -webkit-animation: none;
  animation: none;
  border-radius: 0;
}

@-webkit-keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}
/*--------------------------------------------------------------
# index.php
--------------------------------------------------------------*/
/* #partner .swiper-slide > div {
  height: 120px;
}
#partner .swiper-slide h2 {
  line-height: 1rem;
  margin-bottom: 0.75rem;
}
#project [class^="col"] > div {
  height: 240px;
}
#project [class^="col"] h4 {
  color: var(--md-sys-color-on-background);
}

#project [class^="col"] li {
  color: var(--md-sys-color-on-background);
  opacity: .8;
} */

/*--------------------------------------------------------------
# overlay
--------------------------------------------------------------*/
  .overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    transition: .3s;
  }
/* =====================================================================
  jarallax
  ===================================================================== */
  .jarallax {
    position: relative;
    z-index: 0;
  }

  .jarallax>.jarallax-img {
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }

  .jarallax .overlay-caption {
    position: absolute;
    left: 0; right: 0;
    top: 0; bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center
  }

  @media screen and (max-width: 767px) {
    .jarallax {
      min-height: 320px;
    }
  }
/* =====================================================================
  about.php
  ===================================================================== */
.nav-tabs .nav-link {
  color: var(--md-sys-color-on-background) !important;
  opacity: .6;
}
.nav-tabs .nav-link.active {
  color: var(--md-sys-color-on-background) !important;
  opacity: 1;
}
@media screen and (min-width:768px) {
  .nav-fill.nav-tabs {
    border-bottom: none;
  }
  .nav-fill .nav-link {
    border-bottom: 1px solid var(--md-sys-color-on-background);
    cursor: pointer;
  }
  .nav-fill .nav-link.active {
    background-color: transparent;
    border-color:var(--md-sys-color-on-background) var(--md-sys-color-on-background) var(--md-sys-color-background);
  }
  .nav-fill  li:not(:last-child) {
    border-left: 1px solid var(--md-sys-color-background);
    border-bottom: 1px solid var(--md-sys-color-background);
    border-top: 1px solid var(--md-sys-color-background);
  }
  .nav-fill  li:last-child {
    border-right: 1px solid var(--md-sys-color-background);
    border-left: 1px solid var(--md-sys-color-background);
    border-bottom: 1px solid var(--md-sys-color-background);
    border-top: 1px solid var(--md-sys-color-background);
  }
  .nav-fill  .nav-link {
    border-radius: 0;
    padding: 4px 8px;
    /* font-size: 0.875rem; */
  }
  .nav-fill  .nav-link.active, .nav-pills .show>.nav-link {
    background-color: var(--md-sys-color-background);
  }
}

@media screen and (max-width:767px) {
  .nav-fill .nav-item {
    width: 100%;
  }
    .nav-fill .nav-link {
      border: 0;
      border-radius: 0;
    }
    .nav-fill .nav-link.active {
      background-color: var(--md-sys-color-on-background);
      color: var(--md-sys-color-background) !important;
    }
    .nav-fill .nav-item:first-child {
      border-top: 1px solid var(--md-sys-color-on-background);
    }
    .nav-fill .nav-item {
      border-left: 1px solid var(--md-sys-color-on-background);
      border-right: 1px solid var(--md-sys-color-on-background);
      border-bottom: 1px solid var(--md-sys-color-on-background);
    }
}

/* =====================================================================
equipment.php
===================================================================== */
#equip [class^="col"] {
  padding: 0.5rem
}

/* #equip .media {
  border: 1px solid var(--md-sys-color-on-background);
} */

@media screen and (min-width: 768px) {
  #equip .media img {
    max-width: 180px;
    height: auto;
  }
  #equip .media img.quip-wide {
    max-width: 360px;
  }
}
#equip .media-body {
  padding: 0.825rem;
}
#equip .media-body h4 {
  margin-bottom: 0.825rem;
}

@media screen and (max-width: 767px) {
  #equip .media {
    flex-direction: column;
  }
  #equip .media img {
    width: initial;
    height: auto;
    margin: 0 auto;
  }
}

/* ==================================================================
r&d paly-btn
================================================================== */
.play-btn {
  width: 50px;
  height: 50px;
  background: radial-gradient(#ff4a17 50%, rgba(255, 74, 23, 0.4) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 25px);
  top: calc(50% - 25px);
  overflow: hidden;
}

.play-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.play-btn::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate-btn 2s;
  animation: pulsate-btn 2s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(255, 74, 23, 0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.play-btn:hover::after {
  border-left: 15px solid #ff4a17;
  transform: scale(20);
}

.play-btn:hover::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  -webkit-animation: none;
  animation: none;
  border-radius: 0;
}

@-webkit-keyframes pulsate-btn {
  0% {
  transform: scale(0.6, 0.6);
  opacity: 1;
  }
  100% {
  transform: scale(1, 1);
  opacity: 0;
  }
}

@keyframes pulsate-btn {
  0% {
  transform: scale(0.6, 0.6);
  opacity: 1;
  }
  100% {
  transform: scale(1, 1);
  opacity: 0;
  }
}
