@charset "UTF-8";

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN",
               "メイリオ", Meiryo, sans-serif;
  background: #ffffff;
  color: #2F2F2F;
}

a, a:link{
  color: #2F2F2F;
}
.news_section {
  max-width: 1000px;
  margin: 0 auto 80px;
    padding: 120px 24px;
  text-align: center;
}

.news_section__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: 10px;
  margin-bottom: 10px;
}

.news_section__title {
  position: relative;
  display: inline-block;

  font-family: 'Montserrat', sans-serif;
  font-size: 2.625rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  line-height: 1;
  color: #3178FF;

  padding-bottom: 12px;
}

.news_section__title::after {
  content: "";
  position: absolute;
  bottom: 0;

  width: 150px;
  height: 4px;
  background: url('../../images/news/h1_bk.svg') no-repeat;
  background-size: 100% auto;
  background-position: left bottom;

  left: 50%;
  transform: translateX(-50%);
}

/* =========================================================
   NEWS ボックス
========================================================= */

.news_box {
  max-width: 1000px;
  padding: 56px 0 32px;
  margin: 40px auto 0;
  background: #fff;
  border: 2px solid #333;
  border-radius: 20px;
  box-shadow: 4px 4px  #f3d75b;
  overflow: hidden;
  @media screen and (max-width: 1024px) {
      max-width: 440px;
  }
}

.news_list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}

.news_item {  
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 0 24px;
  font-size: 1rem;
  @media screen and (min-width: 768px) and (max-width: 1024px) {
      flex-direction: column;
      align-items: start;
      width: 80%;
      margin: 0 auto;
      text-align: left;
      line-height: 1.5;
  }
  @media screen and (max-width: 767px) {
      flex-direction: column;
      align-items: start;
      width: 90%;
      margin: 0 auto;
      text-align: left;
      line-height: 1.5;
  }
}

.news_item:first-child {
  border-top: none;
}

/* =========================================================
   NEWS テキスト
========================================================= */

.news_date {
  width: 110px;
  flex-shrink: 0;
  text-align: left;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.03em;
}

.news_text {
  font-family: 'Noto Sans JP', sans-serif;
  /* line-height: 1; */
  letter-spacing: 0.03em;
  text-decoration: underline; 
  text-decoration-thickness: 1.5px;
  text-decoration-color: #2F2F2F;
  /* @media screen and (max-width: 1024px) {
    color: #3178FF;
    text-decoration-color: #3178FF;
  } */
}
.news_item:first-child .news_text {
  text-decoration: none;
}

.news_text:first-child:hover {
  color: #3178FF;
  text-decoration-color: #3178FF;
}

/* =========================================================
   タグ
========================================================= */

.news_tag {
  max-width: 100px;
  height: 20px;
  flex-shrink: 0;
  min-width: 96px;
  margin: 0 16px 0;
  text-align: center;
  font-size: 0.75rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
  color: #fff;
  border-radius: 100px;
  @media screen and (max-width: 1024px) {
      margin: 0;
  }
}

.news_tag--campaign {
  background: #3178FF;
}

.news_tag--important {
  background: #F21D4B;
}

.news_tag--press {
  background: #2E8B57;
}

/* =========================================================
   矢印リンク
========================================================= */

.news_item__link {
  display: flex; 
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.news_link_arrow {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    border-top: 3px solid #1a6cff;
    border-right: 3px solid #1a6cff;
    transform: rotate(45deg);
    @media screen and (min-width: 768px) and (max-width: 1024px) {
        width: 15px;
        height: 12px;
    }
    @media screen and (max-width: 767px) {
        width: 15px;
        height: 12px;
    }
}

.news_link {
  display: flex;
  column-gap: 16px;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-underline-position: under;
  
  @media screen and (max-width: 1024px) {
      text-underline-offset: auto;
  }
}
.news_link:hover {
  @media screen and (max-width: 1024px) {
      text-underline-offset: auto;
  }
}
