@charset "utf-8";
html {
  scroll-padding-top: 208px;
}

/* -----------header---------- */
.header #nav li a[href*='/news/'] {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 5px;
  text-decoration-color: var(--main);
}
/* -------------------main-------------------------- */
/* --------------sub_mv------------- */
.sub_mv {
  background: url(../img/news/sub_mv.jpg) no-repeat center/cover;
}

/* --------------contents------------- */

.contents {
  padding: 120px 0 calc(136px + 98px);
  background-image: url(/assets/img/news/bg.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.news_li {
  padding: 0 80px;
}

.news_li li {
  margin-bottom: 8px;
  padding: 40px 56px;
  background-color: white;
  border-radius: 16px;
}

.news_li li:last-child {
  margin-bottom: 0;
}

.news_li li.is-hidden {
  opacity: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

li.is-last {
  position: relative;
}

li.is-last::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(239, 239, 239, 1) 0%, rgb(239, 239, 239, 0) 100%);
  position: absolute;
  bottom: 0;
  left: 0;
}

.news .acco summary {
  display: block;
  padding-right: 33px;
  position: relative;
  cursor: pointer;
}

.news .acco summary::-webkit-details-marker {
  display: none;
}

.news .acco summary::after {
  content: '';
  display: block;
  width: 25px;
  aspect-ratio: 1/1;
  background: url(../img/news/up_arrow.svg) no-repeat center/contain;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(180deg);
  -webkit-transform: translateY(-50%) rotate(180deg);
  -ms-transform: translateY(-50%) rotate(180deg);
  transition: all 0.3s;
}

.news .acco[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.news_li .flex {
  display: flex;
  margin-bottom: 16px;
  align-items: center;
  column-gap: 24px;
}

.time {
  font-size: 13px;
  line-height: 1.2em;
  color: var(--main);
}

.category {
  padding: 0 24px;
  font-size: 12px;
  line-height: 1.7em;
  border-radius: 10px;
  background-color: #e3e5f1;
  color: #858d93;
}

.news_li h3 {
  font-size: 20px;
  line-height: 1.7em;
}

.news_li .text {
  padding: 32px 0 16px;
}

.news_li .text img {
  width: 280px;
}
.news_li .text p {
  margin-bottom: 8px;
}

.news_li .text p:last-child {
  margin-bottom: 0;
}

.pdf_link {
  text-decoration: underline;
  color: var(--main);
}

.more_btn {
  margin: 56px auto 0;
  cursor: pointer;
}

.more_btn.btn_1::after {
  background: url(../img/news/plus.svg) no-repeat center/contain;
}

@media screen and (max-width: 750px) {
  /* -------------------main-------------------------- */
  /* --------------sub_mv------------- */
  .sub_mv {
    background: url(../img/news/sub_mv_sp.jpg) no-repeat center/cover;
  }

  /* --------------contents------------- */

  .contents {
    padding: calc((100 / 750) * 128 * 1vw) 0 calc((100 / 750) * 242 * 1vw);
    background-color: var(--bg-gray);
  }

  .news_li {
    padding: 0;
  }

  .news_li li {
    margin-bottom: calc((100 / 750) * 16 * 1vw);
    padding: calc((100 / 750) * 40 * 1vw) calc((100 / 750) * 56 * 1vw);
    border-radius: calc((100 / 750) * 16 * 1vw);
  }

  .news .acco summary {
    padding-right: calc((100 / 750) * 56 * 1vw);
  }

  .news .acco summary::after {
    width: calc((100 / 750) * 32 * 1vw);
  }

  .news_li .flex {
    margin-bottom: calc((100 / 750) * 16 * 1vw);
    column-gap: calc((100 / 750) * 24 * 1vw);
  }

  .time {
    font-size: calc((100 / 750) * 22 * 1vw);
  }

  .category {
    padding: 0 calc((100 / 750) * 32 * 1vw);
    font-size: calc((100 / 750) * 20 * 1vw);
    border-radius: calc((100 / 750) * 17 * 1vw);
  }

  .news_li h3 {
    font-size: calc((100 / 750) * 30 * 1vw);
  }

  .news_li .text img {
    margin-top: calc((100 / 750) * 16 * 1vw);
    width: calc((100 / 750) * 640 * 1vw);
  }
  .news_li .text {
    padding: calc((100 / 750) * 40 * 1vw) 0 calc((100 / 750) * 16 * 1vw);
  }

  .news_li .text p {
    margin-bottom: calc((100 / 750) * 8 * 1vw);
  }

  .more_btn {
    width: calc((100 / 750) * 404 * 1vw);
    aspect-ratio: 404/104;
    margin: calc((100 / 750) * 72 * 1vw) auto 0;
    cursor: pointer;
  }
}
