@charset "UTF-8";
@import url("root.css");
/*-----*ブレイクポイントルール*-----*/
/* スマートフォン：max-width:767px */
/* タブレット：min-width:768px */
/* PC：min-width:1025px */
/***************************************
-------------- NEWS --------------
***************************************/
#news .subtitle {
  display: block;
  text-align: center;
  margin: 0 auto 30px;
  font-size: 1.6rem;
}

.news_box {
  width: 100%;
  margin: 0 auto var(--sp-space);
  padding-top: 20px;
}

.news_box dl dd h3 {
  font-size: 1.5rem;
  color: var(--base-color01);
}

@media screen and (max-width: 767px) {
  .info_box {
    margin-top: 0;
    padding: var(--sp-space);
  }
  .info_box dl dt {
    width: 100%;
  }
  .news_box dl dd h3 {
    font-size: 1.5rem;
    color: var(--base-color01);
  }
}
#news_detail .btn a {
  display: block;
  width: min(50%, 300px);
  margin: auto;
  padding: 15px 0;
  font-size: 1.6rem;
  line-height: 1;
  color: #fff;
  background: var(--base-color01);
  text-align: center;
  border-radius: 10px;
}

#news_detail .page_bg_color {
  background: #eaeaea;
  padding: 2em;
}

#news_detail .detail_text {
  margin-top: 2rem;
}
@media (max-width: 767px) {
  #news_detail .page_bg_color {
    padding: 1em;
  }
}
#news_detail .bg_wrap {
  background: #fff;
  padding: 1em;
}
@media (max-width: 767px) {
  #news_detail .bg_wrap {
    padding: 1em;
  }
}
#news_detail .h2_A {
  border-bottom: solid 1px;
  padding-bottom: 0.3em;
}
#news_detail .c-categoryTag {
  margin-left: 0;
  margin-right: 1em;
  transform: translateY(-20%);
  width: auto;
  padding: 0 1em;
}

#news_detail .c-categoryTag {
  display: inline-block;
  font-size: max(1.25rem, min(1.09375vw, 14px));
  text-align: center;
  background: var(--base-color01);
  transform: none;
}

.news_box > a {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 20px 0;
  border-bottom: dashed 1px var(--base-color01);
}

@media (max-width: 767px) {
  .news_box > a {
    padding: 10px 0;
  }
}
@media (max-width: 767px) {
  .news_box .column_block {
    width: 49%;
    margin: 0;
  }
}
.news_box .column_wrap {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 767px) {
  .news_box .column_wrap {
    flex-direction: column;
  }
}
.news_box .column_wrap + .column_wrap {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: solid 2px #f5f0ff;
}

.news_box .thumb {
  width: 10.3448275862%;
}

@media (max-width: 767px) {
  .news_box .thumb {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 150px;
  }
  .news_box .thumb img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    width: 100% !important;
    height: 100% !important;
  }
}
.news_box .text {
  width: 87.0689655172%;
}

@media (max-width: 767px) {
  .news_box .text {
    width: 100%;
  }
}
.news_box .text p {
  font-size: 1.8rem;
  margin: 0;
}

.news_box .date {
  color: var(--text-color);
  margin: 0;
}
@media (max-width: 767px) {
  .news_box .date {
    padding-bottom: 0.5em;
  }
}
h2.h2_A.h2_news {
  margin: 0;
}
.detail_img_wrap {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 0;
  text-align: center;
}

/* 画像がある場合のみmargin-bottomを適用 */
.detail_img_wrap:has(.detail_img_box) {
  margin-top: 30px;
  margin-bottom: 30px;
}

.detail_img_wrap .detail_img_box {
  flex-grow: 1;
}

.detail_img_wrap .detail_img_box a {
  display: block;
  height: 100%;
}

.detail_img_wrap .detail_img_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 画像が1枚の場合は50%、2枚の場合は100% */
.detail_img_wrap .detail_img_box:only-child img {
  width: 50%;
}

.detail_img_wrap .detail_img_box:not(:only-child) img {
  width: 100%;
}

/* .detail_text {
  margin-top: 20px;
} */

.news-lists {
  display: grid;
  grid-template-columns: max-content 1fr;
}
@media (max-width: 767px) {
  .news-lists {
    grid-template-columns: 1fr;
  }
}
.news-lists dt {
  border-bottom: #ccc dashed 1px;
  padding: 0.8em;
  color: #000000;
}
@media (max-width: 767px) {
  .detail_img_wrap .detail_img_box:only-child img {
    width: 100%;
  }
  .news-lists dt {
    border-bottom: none;
    padding: 0.8em 0 0 0;
  }
}
.news-lists dt i {
  display: inline-block;
  margin-right: 10px;
  background: var(--base-color01);
  color: #fff;
  padding: 0.3em;
  font-size: 0.8em;
  transform: translateY(-0.2em);
}
.news-lists dd {
  border-bottom: #ccc dashed 1px;
  padding: 0.8em;
}
@media (max-width: 767px) {
  .news-lists dd {
    padding: 0 0 0.8em;
  }
}
.news-lists dd a {
  color: var(--text-color);
  border-bottom: solid 1px;
}

.detail_text,
.news-lists dd,
.news_box .text,
#news_detail .bg_wrap {
  word-wrap: break-word;
  word-break: break-all;
  overflow-wrap: break-word;
}
