@charset "UTF-8";


/*----------------------------------------
お知らせ：レイアウト
----------------------------------------*/
@media screen and (min-width: 1000px) {
  #news_wrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  #news_wrap #news_main {
    order: 2;
    flex-grow: 1;
    max-width: 960px;
  }
  #news_wrap #news_aside {
    order: 1;
    flex-shrink: 0;
    width: 19%;
    margin: 0 3% 0 0;
    max-width: 240px;
  }
}

@media screen and (max-width: 999px) {
  #news_wrap {
    width: 100%;
  }
  #news_wrap #news_main {
    width: 100%;
    margin: 0 0 40px;
  }
  #news_wrap #news_aside {
    width: 100%;
  }
}


/*----------------------------------------
お知らせ：サイドバー
----------------------------------------*/
#news_aside ul {
  width: 100%;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 22px;
}
#news_aside ul li {
  display: inline-block;
}
#news_aside ul li a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #000000;
  font-size: 1.125rem;
  line-height: 1.4;
  transition: color 0.3s;
}
#news_aside ul li a::before {
  flex-shrink: 0;
  background: url("../images/common/icon_link_arrow.svg") no-repeat center center;
  background-size: contain;
  content: "";
  display: block;
  width: 8px;
  height: 16px;
  margin: 0 10px 0 0;
}
#news_aside ul li a:hover {
  color: var(--red);
  text-decoration: none;
  transition: color 0.3s;
}
#news_aside ul li a:hover::before {
  background: url("../images/common/icon_link_arrow_red.svg") no-repeat center center;
  background-size: contain;
}

@media screen and (max-width: 999px) {
  #news_aside ul {
    width: 100%;
    padding: 0;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 20px;
  }
  #news_aside ul li {
    width: 48%;
  }
}

@media screen and (max-width: 767px) {
  #news_aside ul li a {
    font-size: 0.9375rem;
    line-height: 1.3;
  }
  #news_aside ul li a::before {
    content: "";
    display: block;
    width: 6px;
    height: 12px;
    margin: 0 6px 0 0;
  }
}


/*----------------------------------------
お知らせ：一覧ページ
----------------------------------------*/
#news_ul {
  width: 100%;
  margin: 0 0 30px;
}
#news_ul li {
  width: 100%;
  border-bottom: 1px #E6E6E6 solid;
}
#news_ul li a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 30px 0;
  color: #000000;
}
#news_ul li a > div {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 9px;
}
#news_ul li a > div time {
  flex-shrink: 0;
  color: #000000;
  font-size: 1rem;
  line-height: 1.8;
}
#news_ul li a > div div {
  flex-shrink: 0;
  color: #ffffff;
  font-size: 0.875rem;
  line-height: 1;
  border-radius: 4px;
  padding: 8px 15px;
}
#news_ul li a:hover {
  text-decoration: none;
}
#news_ul li a:hover p {
  text-decoration: underline;
}
#news_ul li:first-child a {
  padding-top: 0 !important;
}

@media screen and (max-width: 767px) {
  #news_ul {
    margin: 0 0 20px;
  }
  #news_ul li a {
    padding: 13px 0 15px;
  }
  #news_ul li a > div {
    gap: 10px;
    margin: 0 0 3px;
  }
  #news_ul li a > div time {
    font-size: 0.875rem;
    line-height: 1.8;
  }
  #news_ul li a > div div {
    font-size: 0.75rem;
    line-height: 1;
  }
}


/*----------------------------------------
お知らせ：記事ページ
----------------------------------------*/
@media screen and (min-width: 768px) {
  #news_post_ttl {
    font-weight: 500;
    font-size: 1.875rem;
    line-height: 1.5;
    padding: 0 0 5px;
  }
}

@media screen and (max-width: 767px) {
  #news_post_ttl {
    font-weight: 500;
    font-size: 1.3125rem;
    line-height: 1.65;
  }
}

