@charset 'utf-8';

/* news
-------------------------------------------------- */
.news_list {
  margin-top: var(--space-x5);
  border-top: 1px solid #E8E8E8;
}
.news_list li {
  border-bottom: 1px solid #E8E8E8;
}
.news_item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-bace) var(--space-x2);
  padding: var(--space-sub) var(--space-x5) var(--space-sub) var(--space-bace);
  position: relative;
  transition: background 0.3s;
}
a.news_item::after {
  position: absolute;
  top: 50%;
  right: var(--space-x2);
  content: '';
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--color-blue-sub);
  border-right: 2px solid var(--color-blue-sub);
  transform: translateY(-50%) rotate(45deg);
}
a.news_item:hover {
  background: var(--color-bg-blue);
}
a.news_item:hover .news_title {
  color: var(--color-txt-blue);
}
.news_date {
  color: var(--color-txt-gray);
  font-size: var(--font-size-md);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.5;
  flex-shrink: 0;
}
.news_cat {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 112px;
  height: 24px;
  padding: 0 var(--space-bace);
  border-radius: 100px;
  color: #fff;
  font-size: var(--font-size-sm);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  background: var(--color-navy);
}
.news_cat.cat_info {
  background: var(--color-blue-sub);
}
.news_cat.cat_press {
  background: var(--color-pink-sub);
}
.news_title {
  flex: 1 1 300px;
  font-weight: 500;
  line-height: 1.6;
  transition: color 0.3s;
}
.news_empty {
  color: var(--color-txt-gray);
  font-size: var(--font-size-md);
  text-align: center;
  padding: var(--space-x3) 0;
}
#news a.btn_bace {
  margin-top: var(--space-x5);
}
@media screen and (max-width: 767px) {
  .news_item {
    padding-left: 0;
  }
  .news_cat {
    min-width: 96px;
    height: 22px;
  }
  .news_title {
    flex-basis: 100%;
  }
}

/* news page */
#news_page {
  font-weight: 400;
}
.news_tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-bace);
  margin-top: var(--space-x5);
}
.news_tab {
  min-width: 120px;
  height: 40px;
  padding: 0 var(--space-x2);
  border: 2px solid var(--color-blue-sub);
  border-radius: 100px;
  background: #fff;
  color: var(--color-blue-sub);
  font-size: var(--font-size-md);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}
.news_tab:hover,
.news_tab.is_active {
  background: var(--color-blue-sub);
  color: #fff;
}
#news_page .news_list {
  margin-top: var(--space-x3);
  margin-bottom: var(--space-x9);
}
.is_news_detail .news_tabs,
.is_news_detail #news_page .news_list {
  display: none;
}
.news_detail_head {
  display: flex;
  align-items: center;
  gap: var(--space-x2);
  margin-top: var(--space-x5);
}
.news_detail_title {
  font-size: var(--font-size-xxl);
  font-weight: 700;
  line-height: 1.5;
  padding-bottom: var(--space-x3);
  margin: var(--space-x2) 0 var(--space-x4);
  border-bottom: 1px solid #E8E8E8;
}
.news_detail_body {
  line-height: 2;
}
.news_back {
  display: inline-block;
  color: var(--color-txt-blue);
  font-size: var(--font-size-md);
  font-weight: 700;
  margin: var(--space-x6) 0 var(--space-x9);
}
.news_back::before {
  content: '‹ ';
}
