:root {
  --bs-blu: #003279 !important;
  --bs-primary: #003279 !important;
}

main {
  min-height: calc(100vh - 56px - 160px - 160px);
}

.btn-primary {
  border-color: #003279;
  background: #003279;
}

.base-container {
  padding: 0 64px;
}

.base-nav {
  background: url("../../assets/images/nav_bg.png") 25%;
  background-size: cover;

  color: #fff;
}

.base-nav-link {
  color: #fff;
  font-weight: bold;
}

.base-nav-link:hover {
  color: #fff;
}

.base-nav-link:focus {
  color: #fff;
}

.base-header {
  height: 160px;

  background: url("../../assets/images/header_bg.png") 50%;
  background-size: cover;
}

.base-footer {
  height: 160px;

  background: url("../../assets/images/footer_bg.png") 50%;
  background-size: cover;

  font-size: 0.8em;
}

.base-logo img {
  height: 90px;
}

.base-swiper {
  height: 500px;
}

.base-swiper img {
  width: 100%;
  height: 100%;
}

.base-title {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 16px;
  margin-bottom: 16px;

  border-bottom: solid 5px #e0e0e0;

  font-size: 1.2em;
  font-weight: bold;
}

.base-title > span:nth-child(1) {
  position: relative;
}

.base-title > span:nth-child(1)::after {
  content: "";

  width: calc(100% + 30px);
  height: 5px;

  position: absolute;
  bottom: -21px;
  left: -16px;

  background-color: #003279;
}

.base-title > a {
  color: #999;
  font-size: 0.9em;
  font-weight: normal;

  text-decoration: none;
}

.base-list span:nth-child(1):before {
  content: "";

  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #003279;

  margin-right: 8px;
}

.base-list a {
  color: #000;

  text-decoration: none;
}

.base-list-date {
  color: #999;
  font-size: 0.8em;
}

.base-index-news-swiper {
  height: 260px;
}

.base-index-news-swiper a {
  position: absolute;
  bottom: 0;

  color: #fff;
}

.base-index-news-swiper a > span {
  width: 100%;

  position: absolute;
  bottom: 0;

  padding: 4px 8px;

  background: rgba(0, 0, 0, 0.5);
}

.base-index-news-swiper img {
  width: 100%;
  height: 100%;
}

.swiper-pagination-index-news {
  z-index: 1;

  display: flex;
  justify-content: end;

  position: absolute;

  padding-right: 8px;
}

.swiper-pagination-bullet {
  border: solid 1px #fff;
  background: #fff;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #003279;
}

.base-index-dynamic {
  height: 250px;

  display: flex;
  justify-content: space-around;
  align-items: center;

  padding: 0 16px;

  background: url("../../assets/images/index_dynamic_bg.png") 50%;
  background-size: cover;
}

.base-index-dynamic img {
  height: 160px;
}

.base-index-science {
  height: 250px;

  display: flex;
  justify-content: space-around;
  align-items: center;

  padding: 0 16px;

  background: url("../../assets/images/index_science_bg.png") 50%;
  background-size: cover;
}

.base-index-science img {
  height: 130px;
}

.base-level-nav {
}

.base-level-nav-item {
  cursor: pointer;

  width: 100%;
  height: 80px;
  line-height: 80px;

  display: block;

  background: linear-gradient(#f2f2f2, #e6e6e6);

  color: #000;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

.base-level-nav-title {
  width: 100%;
  height: 80px;
  line-height: 80px;

  background: linear-gradient(#0d3d7f, #5579ab);

  color: #fff;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
}

.base-search {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  grid-gap: 16px;
}

.base-list-level div {
  border-bottom: dashed 1px #999;
}

.base-list-level span:nth-child(1):before {
  background-color: #ff9c00;
}

.base-detail-card {
  padding: 64px;

  border: solid 1px #e3e3e3;
}

.base-detail-title {
  margin-bottom: 16px;

  color: #003279;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
}

.base-detail-info {
  display: flex;
  justify-content: center;
}

.base-detail-info > div {
  margin: 0 32px;
}

.base-detail-hr {
  margin: 32px 0;
  border-bottom: dashed 3px #e3e3e3;
}
