@charset "utf-8";

/*--news-page--*/
.section_box.news_page_wrap {
  margin: 150px auto;
}
.news_text {
  line-height: 1.8;
}
.news_page_wrap {
  max-width: 900px;
  margin: 150px auto;
}
.news_img_wrap {
  width: 900px;
  max-width: 100%;
  text-align: center;
}
.news_thumb {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  margin: 10px auto;
  padding: 0;

  img {
    height: calc(3vw + 35px);
    margin: 10px 5px 0;
  }
}
.news_img {
  background: #000;
}
.return_btn {
  display: inline-block;
  background: var(--backcolor);
  padding: 5px 25px;
  margin: 50px auto 0;
}

/* 複数画像（multi）のときだけ3:2比率を適用 */
.news_img_wrap.multi .news_img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.news_img_wrap.multi .news_img img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

/* 単一画像（single）のときは通常表示 */
.news_img_wrap.single .news_img img {
  max-height: 600px;
  object-fit: initial;
  position: static;
  transform: none;
}
.news_text {
  width: 900px;
  max-width: 100%;
  margin-top: 40px;
}
.news_link {
  display: block;
  margin: 10px auto 0;
}
.news_link p {
  padding: 10px 0 20px;
  border-bottom: 1px solid;
}
.news_pdf {
  margin-top: 30px;
  text-align:center
}
.news_pdf a {
  margin-top: 5px;
  display: inline-block;
  background: #eee;
  padding: 12px 30px 14px;
  line-height: 2.4em;
}
.news_pdf a img {
  height: 2.5em;
  margin-right: 0.3em;
}
.news_img img {
  transition: opacity 0.2s ease;
}
.news_thumb img {
  cursor: pointer;
  opacity: 0.7;
}
.news_thumb img.is-active {
  outline: 3px solid #0c4cad;
  opacity: 1;
}
