/* =============================
   ニュース一覧・詳細
============================= */

/* --- ニュースリスト --- */
.news_list {
      margin-bottom: 4rem;
}
.news_list_items {
      list-style: none;
      padding: 0;
      margin: 0;
}
.news_list_items li {
      margin: 0;
      padding: 0;
      border-bottom: 1px solid #E0E0E0;
}
.news_list_items li:first-child {
      border-top: 1px solid #E0E0E0;
}
.news_list_items a,
.news_list_items span {
      display: flex;
      gap: 3rem;
      padding: 1.5em 2em;
      text-decoration: none;
      transition: opacity 0.3s ease;
}
.news_list_items a .news_text {
      text-decoration: underline;
      color: var(--bg_blue);
}
@media screen and (min-width: 961px), print {
      .news_list_items a:hover .news_text {
            text-decoration: none;
      }
}
.news_date {
      white-space: nowrap;
}
.news_text {
      line-height: 1.6;
      flex: 1;
}
@media screen and (max-width: 680px) {
      .news_list_items a,
      .news_list_items span {
            flex-direction: column;
            gap: 1rem;
            padding: 2rem 0;
      }
}

/* --- ページネーション --- */
.pagination {
      margin-top: 40px;
      text-align: center;
}
.pager {
      display: inline-flex;
      gap: 4px;
      list-style: none;
      padding: 0;
      margin: 0;
}
.pager li a,
.pager li span {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border: 1px solid #ccc;
      color: #333;
      text-decoration: none;
      font-size: 14px;
      transition: background-color 0.2s, color 0.2s;
}
.pager li a:hover,
.pager li.current span {
      background-color: var(--col_main);
      border-color: var(--col_main);
      color: #fff;
}
.pager_prev a,
.pager_next a {
      font-size: 12px;
}

/* --- ニュース詳細 --- */
.news_detail {
      border-bottom: 1px solid #e0e0e0;
      padding-bottom: 60px;
      margin-bottom: 40px;
}
.news_detail_head {
      border-bottom: 1px solid #e0e0e0;
      padding-bottom: 24px;
      margin-bottom: 32px;
}
.news_detail_date {
      font-size: 14px;
      color: #888;
      margin-bottom: 12px;
}
.news_detail_title {
      font-size: 22px;
      font-weight: 700;
      line-height: 1.5;
      color: #333;
}
.news_detail_body p {
      margin-bottom: 1.6em;
      line-height: 1.8;
}
.news_detail_body p:last-child {
      margin-bottom: 0;
}

@media (max-width: 680px) {
      .news_detail_title {
            font-size: 18px;
      }
      .pager li a,
      .pager li span {
            width: 36px;
            height: 36px;
      }
}
/* news_detail_body */

.news_detail_body {

}
/*normal_cms*/
.news_detail_body img {
      max-width: 100%;
      width: auto !important;
      height: auto !important;
}
.news_detail_body figure.alignright {
      text-align: right;
}
.news_detail_body figure.aligncenter {
      text-align: center;
}
.news_detail_body img {
      margin-top: 1em !important;
      margin-bottom: 1em !important;
      max-width: 100%;
}
.news_detail_body img.alignright {
      margin: 1em 0 1em auto !important;
      display: inherit;
}
.news_detail_body img.aligncenter {
      display: inherit;
	      margin: 1em auto 1em auto !important;
}

.news_detail_body a {
      display: inline-block;
      margin: 0.5em auto;
      color: var(--col_main_light);
      text-decoration: underline;
}
.news_detail_body a:hover {
      text-decoration: none;
      opacity: 1;
}

/*ol*/
.news_detail_body ol {
      padding: 1rem 0;
      list-style-type: decimal;
}
.news_detail_body ol > li {
      margin-left: 1em;
}
.news_detail_body ol > li + li {
      margin-top: 0.5rem;
}
/*ul*/
.news_detail_body ul {
      padding: 1rem 0;
}
.news_detail_body ul li {
      position: relative;
      padding-left: 1em;
}
.news_detail_body ul :before {
      content: "・";
      position: absolute;
      left: 0;
}
.news_detail_body ul > li + li {
      margin-top: 0.5rem;
}
/*table*/
.news_detail_body table {
      width: 100%;
      line-height: 1.6;
      table-layout: fixed;
}
.news_detail_body table th, .news_detail_body table td {
      padding: 0.6em 1em;
      border: 1px solid #d9d9d9;
      word-wrap: break-word;
}
.news_detail_body table th {
      width: 20%;
      background: #f2f2f2;
}
.news_detail_body table td {
      width: 80%;
}
.news_detail_body p {
      margin-bottom: 1em;
}
.news_detail_body table {
	margin-top: 1em;
	margin-bottom: 1em;
      table-layout: fixed;
      width: 100%;
}
.news_detail_body table th {
      width: 30%;
}
.news_detail_body table td {
      width: 70%
}
@media screen and (max-width: 680px) {
      .news_detail_body tr {
            display: block;
      }
      .news_detail_body table th, .normal_cms table td {
            display: block;
      }
      .news_detail_body table th {
            width: auto;
      }
      .news_detail_body table td {
            width: auto;
      }
}
/*iframe*/
.news_detail_body iframe {
      aspect-ratio: 16/9;
}
@media screen and (min-width: 961px), print {
      .news_detail_body a:hover {
            text-decoration: none;
      }
}
@media screen and (max-width: 680px) {
      .news_detail_body iframe {
            width: 100%;
            height: auto;
      }
}
/*vodeo*/
.news_detail_body .wp-video {
      aspect-ratio: 16/9;
}
.news_detail_body video {
      width: 100% !important;
      height: auto !important;
}
@media screen and (max-width: 680px) {
      .news_detail_body .wp-video {
            width: 100% !important;
            height: auto !important;
      }
}

/*news_detail_body h2
---------------------------------------------------------------------*/
.news_detail_body h2 {
      letter-spacing: 1px;
      font-size: 1.75em;
      padding: 0.2em 0 0.2em 1em;
      border-left: 4px solid var(--col_main);
      margin-bottom: 1em;
      margin-top: 2em;
}
@media screen and (max-width: 680px) {
      .news_detail_body h2 {
            font-size: 1.4em;
      }
}
.news_detail_body h3 {
      letter-spacing: 1px;
      font-size: 1.75em;
      position: relative;
      padding-bottom: 0.5em;
      margin-bottom: 1em;
      margin-top: 2em
}
.news_detail_body h3:before, .news_detail_body h3:after {
      content: "";
      position: absolute;
      left: 0;
      height: 1px;
      bottom: 0;
}
.news_detail_body h3:before {
      width: 100%;
      background: var(--col_btn_back);
}
.news_detail_body h4 {
      position: relative;
      padding: 1em 0;
      font-size: 1.5em;
      font-weight: 400;
      margin-top: 3em
}
.news_detail_body h4:before {
      position: absolute;
      content: "";
      background: var(--col_main);
      width: 1.6em;
      height: 2px;
      left: 0;
      top: 0;
}
.news_detail_body h5 {
      position: relative;
      font-size: 1.25em;
      font-weight: 400;
      padding: 0.8em 0 0.8em 1.2em;
      margin-top: 1.5em;
}
.news_detail_body h5:before {
      position: absolute;
      content: "";
      background: var(--col_main);
      width: 0.8em;
      height: 2px;
      left: 0;
      top: 1.5em;
}
/*news_detail_body dl
--------------------------------------------*/
.news_detail_body dl {
      display: flex;
      justify-content: space-between;
      border-bottom: 1px solid #D3D3D3;
      padding: 15px 0;
}
.news_detail_body dl dt {
      width: 15%;
      font-weight: bold;
}
.news_detail_body dl dd {
      width: 80%;
}
@media screen and (max-width: 680px) {
      .news_detail_body dl dt {
            width: 25%;
      }
      .news_detail_body dl dd {
            width: 73%;
      }
}