@charset "UTF-8";

ul.news_list {
     font-size: 14px;
}

ul.news_list li.news_list_item{
	border-bottom: 1px solid #E7E7E7;
	position: relative;
	/* display: inline-block; */
	padding: 0 0 0 16px;
	color: #000;
	vertical-align: middle;
	text-decoration: none;
	font-size: 15px;
}
ul.news_list li.news_list_item::before,
ul.news_list li.news_list_item::after{
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	content: "";
	vertical-align: middle;
}
ul.news_list li.news_list_item::before{
	box-sizing: border-box;
	width: 18px;
     height: 18px;
	border: 1px solid #003B6E;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}
ul.news_list li.news_list_item::after{
	right: 7px;
     width: 7px;
     height: 7px;
	border-top: 1px solid #003B6E;
	border-right: 1px solid #003B6E;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
ul.news_list li.news_list_item a{
display: flex;
flex-wrap: wrap;
padding: 16px 0;
color: #142144;
}
ul.news_list li.news_list_item:first-of-type a{
	/* padding-top: 0; */
	}
.news_list_date{
	width: 76px;
}
.news_category{
	width: 106px;
	height: 23px;
	display: inline;
	font-size: 12px;
text-align: center;
color: #fff;
margin: 0 8px;
padding: 2px 0 4px;
}
.news_category.lightblue{
background-color: #69BDCD;
}
.news_category.blue{
	background-color: #005BAB;
}
.news_category.green{
	background-color: #248677;
}
.news_category.pink{
	background-color: #EA81A6;
}
.news_category.orange{
	background-color: #ED875B;
}
li.news_list_item a p{
	flex: 1;
}

/* responsive */
@media screen and (min-width:1440px){

     }
    
    @media (min-width: 768px) and (max-width: 1100px){

    }

    @media screen and (min-width:768px){

    }
    
    @media screen and (max-width:767px){
    li.news_list_item a p{
          flex: 0 1 auto;
          margin-top: 10px;
          width: 100%;
     }
    }


/* -----------------------------------
   NEWS 一覧：タイトルを1行省略 & はみ出し防止
----------------------------------- */
@media (min-width: 1100px) {
	ul.news_list li.news_list_item a {
  display: grid ;              /* 既存指定を上書き */
}

}


.news_list_item a {
  display: grid ;              /* 既存指定を上書き */
  grid-template-columns: 76px 127px minmax(0, 1fr);
  /*           日付   カテゴリ     タイトル（残り全部） */
  /* column-gap: 16px; */
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.news_list_date time {
  white-space: nowrap;
}

.news_category {
  white-space: nowrap;
}

/* タイトル部分：1行＋三点リーダー＋枠外に出さない */

/* ------------- PCワイド：1行で省略 ------------- */
.news_list_item p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 30px;
}

/* ------------- 1100px 以下：2行で省略 ------------- */
@media (max-width: 1100px) {
  .news_list_item p {
    white-space: normal;            /* 複数行許可 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;          /* ← 2行で切る */
    line-clamp: 2;                  /* 非Webkit系用 */
  }

  /* タイトルが2行になるので grid の列幅調整（重要） */
  .news_list_item a {
    grid-template-columns: 100px 120px 1fr !important;
  }
}


/* ページャー */

#pager {
  margin-top: 50px;
  text-align: center;
}

.paginationjs-pages ul {
  display: inline-flex;
  gap: 8px;
}

.paginationjs-pages li.paginationjs-page a,
.paginationjs-pages li.paginationjs-prev a,
.paginationjs-pages li.paginationjs-next a {
  display: block;
  /* padding: 6px 10px; */
  width: 33px;
  height: 33px;
  border: 1px solid #142144;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.paginationjs-pages li.active a {
  background: #142144;
  color: #fff;
  border-color: #142144;
}

.p-prev {
	transform: rotate(180deg);
}



/* ニュース詳細 */ 
.news_detail  .news_detail_flex {
	display: flex;
}

.news_detail  .news_detail_flex p {
	margin-right: 20px;
}

.news_detail .lower_h2_wrap {
	margin-bottom: 56px;
}

.news_detail .news_detail_contents {
	margin-bottom: 56px;
}

.news_detail .breadcrumbs ol {
  flex-wrap: nowrap;
}

.news_detail .breadcrumbs ol li:nth-of-type(3) {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: calc(100% - 160px);
}

/* ニュース詳細 エディター */

.news_detail .news_detail_contents strong {
	font-weight: 700;
}

.news_detail .news_detail_contents p,
.news_detail .news_detail_contents figure {
	margin-bottom: 56px;
}

.news_detail .news_detail_contents figure img {
	max-width: 100%;
	height: auto;
}

.news_detail .news_detail_contents a {
	text-decoration: underline;
}

/* リッチエディタ共通ラッパー */
.rich {
  line-height: 1.8;
  font-size: 16px;
  color: #333;
}

/* 余白調整 */
.rich p,
.rich ul,
.rich ol,
.rich table,
.rich blockquote,
.rich pre {
  margin-bottom: 1.6em;
}

/* 見出し */
.rich h1 {
  font-size: 1.9em;
  margin: 1.4em 0 0.6em;
  font-weight: 700;
}
.rich h2 {
  font-size: 1.6em;
  margin: 1.2em 0 0.6em;
  font-weight: 700;
}
.rich h3 {
  font-size: 1.3em;
  margin: 1.0em 0 0.5em;
  font-weight: 700;
}

/* リスト */
.rich ul {
  padding-left: 1.5em;
  list-style: disc;
}
.rich ol {
  padding-left: 1.5em;
  list-style: decimal;
}
.rich li {
  margin-bottom: 0.4em;
}

/* 引用 */
.rich blockquote {
  padding: 1em 1.5em;
  background: #f9f9f9;
  border-left: 4px solid #ccc;
  color: #555;
}

/* 強調 */
.rich strong {
  font-weight: bold;
}
.rich em {
  font-style: italic;
}

/* 画像 */
.rich img {
  max-width: 100%;
  height: auto;
  /* display: block; */
  /* margin: 1.2em auto; */
}

/* テーブル */
.rich table {
  width: 100%;
  border-collapse: collapse;
}
.rich table th,
.rich table td {
  border: 1px solid #ddd;
  padding: 0.6em 0.8em;
}
.rich table th {
  background: #f4f4f4;
  font-weight: 600;
  text-align: left;
}

.news_detail .news_detail_contents.rich table p {
  margin-bottom: 0;
}

/* コード */
.rich pre {
  background: #272822;
  color: #fff;
  padding: 1em;
  border-radius: 4px;
  overflow-x: auto;
}
.rich code {
  background: #eee;
  padding: 2px 4px;
  border-radius: 3px;
}

.rich pre code {
  background:transparent;
}
/* 区切り線 */
.rich hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 2em 0;
}

/* リンク */
.rich a {
  color: #0077cc;
  text-decoration: underline;
}
.rich a:hover {
  text-decoration: none;
}



