/* mv */
.mv {
  background-image: url(../lib/img/top/bg_main.png);
  background-position: center;
  background-size: 104%;
  background-position: -12px 372px;
  padding: 15px;
}
.mv .today {
  display: block;
  max-width: 840px;
  padding: 1% 1% 1% 2%;
  background-color: rgba(0, 0, 0, 0.5);
  margin-top: 0;
  margin-inline: auto;
}
.mv .today > div {
  justify-content: space-around;
}
.mv .today h2 {
  display: none;
}
.mv .today h3 {
  font-size: 14px;
  margin-bottom: 3px;
}
.mv .today h3 a {
  color: inherit;
}
.mv .today h3.kic {
  color: #D04465;
}
.mv .today h3.suzaku {
  color: #ED7020;
}
.mv .today h3.bkc {
  color: #2180C1;
}
.mv .today h3.oic {
  color: #6BAA31;
}
.mv .today p {
  font-size: 14px;
  margin-bottom: 0;
}
.mv .today p i {
  margin-right: 5px;
}
.mv .today_date i {
  font-size: 13px;
}
.mv .day {
  font-size: 13px;
  font-weight: 700;
}
.mv .day em {
  font-style: normal;
  font-size: 20px;
}
.mv .calendar {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-evenly;
  gap: 12px;
  padding-left: 1%;
}
.mv .search {
  max-width: 840px;
  padding-bottom: 15px;
  margin-inline: auto;
}
.mv .search h2 {
  display: none;
}
.mv .search .nav {
  padding-left: 1rem;
  border: 0;
}
.mv .search .nav-item {
  position: relative;
}
.mv .search .nav-link {
  color: #fff;
  background-color: #220000;
  margin-bottom: 0;
  border: 0;
}
.mv .search .nav-link.active {
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.33);
  color: #333;
  border-bottom-color: transparent;
}
.mv .search .tab-content {
  background-color: rgba(255, 255, 255, 0.33);
  color: #333;
  padding: 15px;
  min-height: 125px;
}
.mv .search .tab-content h3 {
  display: none;
}
.mv .search .tab-content p {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 14px;
}
.mv .search .tab-content ul {
  list-style: none;
  padding: 10px 0 0;
  margin: 0;
  text-align: right;
}
.mv .search .tab-content ul li {
  display: inline-block;
  text-align: right;
}
.mv .search .tab-content ul li a {
  font-size: 14px;
}
.mv .search .tab-content ul li a i {
  margin-left: 5px;
  font-size: 18px;
  color: #9A0000;
}
.mv .search .tab-content .btn-primary {
  width: 100%;
  background-color: #9A0000;
  border-color: #9A0000;
  font-weight: 700;
}
.mv .search .tab-content .form-control:focus,
.mv .search .tab-content .form-select:focus {
  border-color: #9A0000;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(154, 0, 0, 0.25);
}
.mv .search .tab-content .d-flex label {
  margin-right: 5px;
  white-space: nowrap;
  align-self: center;
  font-size: 14px;
}
.tab-pane .form-select {
  font-size: 14px;
}
@media screen and (max-width:1160px) {
  .mv .calendar {
    grid-template-columns: repeat(3, auto);
    gap: 12px 30px;
  }
}
@media screen and (max-width: 768px) {
  .mv {
    margin: 0 -1rem 0;
    background-size: 180%;
    background-position: center;
  }
  .mv .today > div {
    justify-content: start;
  }
  .mv .today_date {
    color: #fff;
    background-color: #220000;
    border-radius: 3px;
    padding: 0px 25px 5px 12px;
    margin: 8px;
  }
  .mv .today_date i {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .mv .calendar {
    display: block;
    width: 100%;
    padding: 0 2%;
  }
  .mv .calendar_event {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
  }
  .mv .calendar_event p {
    font-size: 14px;
  }
  .mv .search .nav-link {
    font-size: 13px;
  }
  .mv .search .tab-content .d-flex label {
    width: 6rem;
  }
}

/* sub-nav */
.sub-nav.nav-justified>.nav-link {
  font-size: 14px;
  color: #220000; 
  padding: 1.2rem 0.5rem;
  text-align: left;
}
.sub-nav.nav-justified>.nav-link a {
  color: #220000;
}
.sub-nav .nav-link i {
  font-size: 24.5px;
  margin-right: 0.5rem;
}
@media screen and (max-width:1160px) {
  .sub-nav.nav-justified>.nav-link {
    width: calc(33% - 0.5rem);
    padding: 0.8rem 0.3rem;
    flex-basis: unset;
    flex-grow: unset;
    border-bottom: 1px solid rgb(222 222 222);
    text-align: center;
  }
  .sub-nav .nav-link:nth-of-type(7),
  .sub-nav .nav-link:nth-of-type(9),
  .sub-nav .nav-link:nth-of-type(11) {
    border: none;
  }
}
@media screen and (min-width:769px) and (max-width:1160px) {
  .sub-nav .vr:nth-of-type(6) {
    display: none;
  }
}
@media screen and (max-width:768px) {
  .sub-nav.nav-justified>.nav-link {
    width: calc(50% - 0.5rem);
    border-bottom: 1px solid rgb(222 222 222);
  }
  .sub-nav .nav-link:nth-of-type(9),
  .sub-nav .nav-link:nth-of-type(11) {
    border: none;
  }
  .sub-nav .nav-link a {
    align-items: center;
  }
  .sub-nav .nav-link i {
    font-size: 16px;
    margin-right: 0.5rem;
  }
  .sub-nav .vr:nth-of-type(4n) {
    display: none;
  }
}

/* topics */
.topics .topicsSlider p {
  font-size: inherit;
  font-weight: 500;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}
.topics .slick-slide img {
  width: 100%;
}
.topics .slick-arrow {
  z-index: 11;
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  width: 25px;
  height: 25px;
}
.topics .slick-arrow.slick-prev {
  left: 10px;
}
.topics .slick-arrow.slick-next {
  right: 10px;
}
.topics .slick-arrow::before {
  font-family: inherit;
  color: #9A0000;
  opacity: 1;
  display: block;
  content: "▲";
  transform: rotate(-90deg);
  font-size: 14px;
}
.topics .slick-arrow.slick-next::before {
  transform: rotate(90deg);
}
.dots-class button {
  display: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  padding: 0;
  border: none;
  background-color: transparent;
}
.dots-class {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  padding-left: 0;
}
.dots-class li {
  list-style: none;
  width: 13%;
  height: 5px;
  background-color: #ccc;
  cursor: pointer;
  position: relative;
  border-radius: 5px;
  margin: 0px 3px;
}
.dots-class li.slick-active {
  background-color: #9a0000;
}
@media screen and (max-width:768px) {
  .topics .slick-arrow {
    margin-top: -20px;
  }
}

/* news */
#newsTabContent {
  padding-top: 70px;
}
.news {
  position: relative;
}
.news .nav {
  width: 60%;
  border: 1px solid #c4c4c4;
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
}
.news .nav-item {
  position: relative;
  width: 25%;
  text-align: center;
}
.news .nav-item::after {
  position: absolute;
  top: 8px;
  right: 0;
  content: "";
  width: 1px;
  height: 24px;
  background-color: #ccc;
}
.news .nav-item:nth-of-type(1) span.active {
  border-radius: 0.25rem 0 0 0.25rem;
}
.news .nav-item:nth-of-type(4) span.active {
  border-radius: 0 0.25rem 0.25rem 0;
  margin-right: 0;
}
.news .nav-item:last-of-type::after {
  display: none;
}
.news .nav-link {
  cursor: pointer;
  background-color: unset;
}
.news .nav-pills .nav-link.active {
  background-color: #efefef;
  border-radius: 0;
}
.news .listLink {
  position: absolute;
  top: 90px;
  right: 0;
  list-style: none;
  text-align: left;
}
.news .listLink a {
  font-size: 14px;
}
.news .listLink a i {
  margin-left: 5px;
  font-size: 18px;
  color: #9A0000;
}
.news .newsList {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}
.news .newsList dt {
  display: flex;
  width: 12.5rem;
  font-weight: normal;
  font-size: 14px;
}
.news .newsList dt .date {
  width: 7.5rem;
}
.news .newsList dt .tag {
  align-self: flex-start;
  width: 3rem;
  color: #fff;
  background-color: #9A0000;
  text-align: center;
  font-size: 10px;
  line-height: 1;
  margin-top: 0.3rem;
  margin-left: 0.5rem;
  padding: 4px 0;
}
.news .newsList dt .tag.kic {
  background-color: #D04465;
}
.news .newsList dt .tag.suzaku {
  background-color: #ED7020;
}
.news .newsList dt .tag.bkc {
  background-color: #2180C1;
}
.news .newsList dt .tag.oic {
  background-color: #6BAA31;
}
.news .newsList dt .tag.share {
  background-color: #666;
}
.news .newsList dd {
  width: calc(100% - 12.5rem);
  margin-top: 0;
  margin-bottom: inherit;
  font-size: inherit;
}
@media screen and (max-width:768px) {
  #newsTabContent {
    padding-top: 10px;
  }
  .news .nav {
    position: relative;
    width: 100%;
    top: 4px;
  }
  .news .newsList {
    margin-top: 35px;
  }
  .news .newsList dt, .news .newsList dd {
    font-size: 14px;
    width: 100%;
  }
  .news .newsList dt .date {
    font-weight: 700;
  }
  .news .newsList dt .tag {
    margin-top: 0.2rem;
  }
  .news .listLink {
    top: 90px;
  }
}
/* ---------------------------------
  緊急連絡
-----------------------------------*/
.info_top {
  background: #FFE100;
  text-align: center;
  font-weight: bold;
  font-size: 1.6rem;
  animation-name: fadeIn;
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}
.info_top a {
  color: #000;
  display: block;
  font-size: 16px;
  padding: 10px 4%;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media screen and (max-width: 767px) {
  .info_top {
    margin-bottom: 20px;
  }
  .info_top p b {
    font-size: 1.7rem;
  }
}

