@charset "UTF-8";

/* ==========================================================================
   object/module/news.css
   ========================================================================== */

.o-m__news_content_list {
  display: flex;
  justify-content: center;
}

.o-m__news_content_hide_list {
  padding: 0;
}

.o-m__news_content_hide_list_box {
  overflow: hidden;
  opacity: 0;
  height: 0;
  transition: all ease 0.3s;
}

.o-m__news_content_hide_list_box.active {
  overflow: visible;
  opacity: 100;
  height: auto;
}

.o-m__news_content_hide_list_box li {
  position: relative;
  padding: 6px 0 0 30px;
  margin-bottom: 5px;
  text-align: left;
  &:before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    transform: translateY(-50%);
    width: 21px;
    height: 21px;
    background: var(--rseikyu-primary);
    border-radius: 11px;
  }
  &:after {
    content: "";
    width: 8px;
    height: 6px;
    border-top: solid 2px var(--white);
    border-right: solid 2px var(--white);
    display: block;
    position: absolute;
    left: 6px;
    top: 11px;
    transform: rotate(135deg);
  }
}

.o-m__news_content_hide_list_more {
  margin-top: 20px;
}

/*width: 105px; */

.o-m__news_content_item_button {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  display: inline-block;
  padding: 0 20px 10px;
  line-height: 1;
  color: var(--gray-05);
  border-bottom: 1px solid var(--gray-05);
}

.o-m__news_content_item_button[aria-selected=true] {
  color: var(--rseikyu-primary);
  border-bottom: 1px solid var(--rseikyu-primary);
}

.o-m__news_content_tab {
  .tab-panel[aria-hidden=false] {
    display: block;
  }
  .tab-panel[aria-hidden=true] {
    display: none;
  }
}

.o-m__news_content_link {
  display: flex;
  padding: 20px;
  border-bottom: 1px solid var(--gray-bg-01);
  font-size: 16px;
  text-decoration: none;
  @media screen and (max-width: 576px) {
    display: block;
    padding: 15px;
  }
}

.o-m__news_content_link_date {
  display: inline-block;
  width: 15%;
  color: var(--gray-05);
  @media screen and (max-width: 576px) {
    width: 100%;
    font-size: 14px;
    padding: 0 0 5px;
  }
}

.o-m__news_content_link_title {
  display: inline-block;
  width: 85%;
  color: var(--black);
  @media screen and (max-width: 576px) {
    width: 100%;
    font-size: 14px;
  }
  &:hover {
    color: var(--rseikyu-primary);
  }
}

.o-m__news_content_btn {
  text-align: center;
  padding: 30px 0 0;
}
