/*---------
news-detail
----------*/

/*---- 共通ブロック ----*/

.fv {
  margin: 65px 0;
}

.breadcrumb {
  margin: 0 0 40px 0;
  width: fit-content;
}

.meta__category,
.meta__date {
  display: block;
  font-size: 14px;
  color: var(--main-color);
  font-weight: 400;
  line-height: calc(14/14);
  border: 1px solid currentColor;
  width: fit-content;
}

.meta__category {
  padding: 8px 15px;
  margin-bottom: 8px;
}

.meta__date {
  padding: 8px 10px;
}

/*----コンテンツブロック ----*/

.detail_title {
  font-size: 24px;
  color: var(--main-color);
  font-weight: bold;
  line-height: calc(32 / 24);
  margin-bottom: 25px;
}

.main_detail {
  margin-bottom: 40px;
}


.detail_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
}

.main_detail .detail_photo {
  aspect-ratio: 335 / 250;
  margin: 0 auto 25px;
}

.detail_title--sub,
.detail_title--section {
  border-bottom: 1px solid #D9D9D9;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.section_space h2 {
  border-bottom: 1px solid #D9D9D9;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.section_space h3 {
  border-bottom: 1px solid #D9D9D9;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.detail_title--sub {
  font-size: 20px;
  color: var(--main-color);
  font-weight: bold;
  line-height: calc(30 / 20);
}

.section_space h2 {
  font-size: 20px;
  color: var(--main-color);
  font-weight: bold;
  line-height: calc(30 / 20);
}

.detail_text {
  font-size: 16px;
  line-height: calc(28/16);
}

.section_space p {
  font-size: 16px;
  line-height: calc(28/16);
}

.sub_detail {
  margin-bottom: 40px;
}

.detail_title--section {
  font-size: 18px;
  color: var(--main-color);
  font-weight: bold;
  line-height: calc(30 / 18);
}

.section_space h3 {
  font-size: 18px;
  color: var(--main-color);
  font-weight: bold;
  line-height: calc(30 / 18);
}

.sub_detail_flex_box {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 15px;
}

.sub_detail .detail_photo {
  aspect-ratio: 335/250;
}

.mini_detail_box {
  margin-bottom: 50px;
}

.detail_title--mini {
  font-size: 16px;
  color: var(--main-color);
  font-weight: 500;
  line-height: calc(28/16);
  border-bottom: 1px solid #999999;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

/* ページャー */

.pager {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.pager__link {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  gap: 8px;
  text-decoration: none;
}

.pager__text {
  color: var(--main-color);
}

.pager__icon {
  border-radius: 50%;
  background: var(--sub-color);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pager__icon::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 11px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.pager__link--prev .pager__icon::after {
  background-image: url("../images/detail/pager__btn_arrow_preview.png");
}

.pager__link--next .pager__icon::after {
  background-image: url("../images/detail/pager__btn_arrow_next.png");
}

@media (min-width:768px) {

  /*---- 共通ブロック ----*/

  .fv {
    margin: 124px auto 70px;
    max-width: 1000px;
  }

  .section_content--news-detail .section_space {
    max-width: 800px;
    margin: 0 auto;
  }

  .breadcrumb {
    margin-bottom: 100px;
  }

  /*----コンテンツブロック ----*/

  .detail_title {
    font-size: 25px;
    line-height: calc(37 / 25);
  }

  .main_detail {
    margin-bottom: 50px;
  }

  .main_detail .detail_photo {
    aspect-ratio: 16 / 9;
    max-width: 800px;
    margin: 0 auto 30px;
  }

  .sub_detail {
    margin-bottom: 70px;
  }

  .sub_detail_flex_box {
    flex-direction: row;
    gap: 40px;
  }

  .sub_detail .detail_photo {
    aspect-ratio: 380 / 280;
    margin: 0;
  }

  .mini_detail_box {
    margin-bottom: 70px;
  }

  .pager__icon {
    width: 30px;
    height: 30px;
  }

  .pager__icon:hover {
    background: var(--point-color);
    border: 1px solid var(--main-color);
  }


}

.section_space table tr {
  display: flex;
  flex-flow: column nowrap;
}

.section_space img {
  border-radius: 10px;
}

.section_space table tr td {
  width: 100% !important;
  margin-bottom: 20px;
}

.pager__link--next {
  margin-left: auto;
  margin-right: 0;
}

@media (min-width: 768px) {
  .section_space table tr {
    display: flex;
    flex-flow: inherit;
  }

  .section_space table tr td {
    width: calc((100% - 24px) / 2) !important;
  }

  .section_space table tr td:nth-child(odd) {
    margin-right: 24px;
  }

}