/* ==================================================
   PC（共通ベース）
   ================================================== */

.news_contents {
	margin: 80px 0 0;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	white-space: nowrap;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
}


/* =========================
   フィルター（カテゴリ／年）
   ========================= */

.news_list_area {
	margin-top: 36px;
	margin-bottom: 100px;
}

.news_filter {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	margin-bottom: 24px;
}

.news_cat_nav {
	display: flex;
	flex-wrap: wrap;
	flex: 1 1 auto;
	min-width: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.news_cat_nav li {
	margin: 0 8px 8px 0;
}

.news_cat_nav a {
	display: block;
	color: var(--color-navy);
	font-size: 0.9rem;
	line-height: 1.5;
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
	letter-spacing: 0.5px;
	background-color: #fff;
	padding: 5px 16px;
	border: 1px solid var(--color-navy);
	border-radius: 4px;
	transition: background-color .25s, color .25s, border-color .25s;
}

.news_cat_nav a:hover {
	color: #fff;
	background-color: var(--color-navy);
	border-color: var(--color-navy);
}

.news_cat_nav a.is-current {
	color: #fff;
	background-color: var(--color-navy);
	border-color: var(--color-navy);
}

/* 年プルダウン（右端） */

.news_year_select {
	flex: 0 0 auto;
	position: relative;
	margin-left: 40px;
}

.news_year_select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 16px;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border-right: 2px solid var(--color-navy);
	border-bottom: 2px solid var(--color-navy);
	transform: rotate(45deg);
	pointer-events: none;
}

.news_year_select select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	min-width: 160px;
	color: var(--color-navy);
	font-size: 0.9rem;
	line-height: 1.5;
	font-weight: 500;
	background-color: #fff;
	padding: 5px 40px 5px 18px;
	border: 1px solid var(--color-navy);
	border-radius: 4px;
	cursor: pointer;
}

.news_year_select select:focus {
	outline: none;
	border-color: var(--color-navy);
}


/* =========================
   ニュース一覧
   ========================= */

.news_list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.news_item {
	display: flex;
	align-items: center;
	position: relative;
	background-color: var(--color-f6);
	margin-bottom: 10px;
	padding: 22px 24px;
	transition: background-color .25s;
}

.news_item:hover {
	background-color: #e9e9e9;
}

.news_item_link,
.news_item_link:hover,
.news_cat,
.news_cat:hover,
.news_cat_nav a:hover,
.news_pager_num a:hover {
	text-decoration: none;
}

.news_date {
	flex: 0 0 auto;
	width: 106px;
	color: var(--color-gray);
	font-size: 15px;
	font-family: 'Inter', sans-serif;
	letter-spacing: .02em;
}

/* 日付の隣のカテゴリー（独立リンク） */

a.news_cat,
span.news_cat {
	display: block;
	flex: 0 0 auto;
	position: relative;
	z-index: 1;
	width: 155px;
	color: var(--color-navy);
	font-size: 12px;
	line-height: 1.2;
	text-align: center;
	font-weight: 500;
	white-space: nowrap;
	letter-spacing: 0.5px;
	margin-right: 22px;
	padding: 4px;
	border: 1px solid var(--color-navy);
	border-radius: 3px;
	transition: background-color .25s, color .25s;
}

a.news_cat:hover {
	color: #fff;
	background-color: var(--color-navy);
}


/* タイトル側リンク（行全体を覆うストレッチドリンク） */
.news_item_link {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	color: var(--color-primary);
}

.news_item_link::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.news_title {
	flex: 1 1 auto;
	color: var(--color-primary);
	font-size: 1rem;
	line-height: 1.5;
}

.news_arrow {
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	margin-left: 16px;
	border-top: 2px solid var(--color-gray);
	border-right: 2px solid var(--color-gray);
	transform: rotate(45deg);
	transition: border-color .25s;
}

.news_item:hover .news_arrow {
	border-color: var(--color-navy);
}

@media screen and (max-width: 1024px) {
  .news_date {
    font-size: 0.812rem;
    width: 96px;
  }
  .news_title {
    font-size: 0.875rem;
  }
}

/* =========================
   New Item 一覧（写真付き）
   ========================= */

.newitem_item {
	align-items: center;
	padding: 24px;
}

/* 左の正方形サムネイル（写真が入るまでは濃いグレーで塗りつぶし） */
.newitem_thumb {
	flex: 0 0 auto;
	width: 170px;
	height: 170px;
	background-color: #c4c4c4;
	margin-right: 32px;
  object-fit: cover;/*ボックスにフィット */
}

.newitem_body {
	flex: 1 1 auto;
	min-width: 0;
}

.newitem_meta {
	display: flex;
	align-items: center;
	margin-bottom: 16px;
}

.newitem_title {
	color: var(--color-primary);
	font-size: 16px;
	line-height: 1.6;
	font-weight: 700;
	margin: 0 0 14px;
}

.newitem_text {
	color: var(--color-gray);
	font-size: 14px;
	line-height: 1.9;
	margin: 0;
}

/* 行全体を覆うストレッチドリンク（カテゴリーはリンクではないので入れ子問題なし） */
.newitem_link {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	align-self: center;
	margin-left: 24px;
}

.newitem_link::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}


/* =========================
   ページネーション
   ========================= */

.news_pager {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 48px;
}

.news_pager_num {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0 18px;
	padding: 0;
}

.news_pager_num li {
	margin: 0 14px;
}

.news_pager_num a, .news_pager_dots {
	display: block;
	min-width: 18px;
  color: #888;
	/*color: var(--color-primary);*/
	font-size: 15px;
	text-align: center;
	font-family: 'Inter', sans-serif;
	text-decoration: none;
	transition: color .25s;
}

.news_pager_num a:hover {
	color: var(--color-navy);
}

.news_pager_num .is-current {
	color: var(--color-primary);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.news_pager_dots {
	color: var(--color-gray);
}

.news_pager_prev, .news_pager_next {
	display: block;
	position: relative;
	width: 44px;
	height: 44px;
	background-color: var(--color-f6);
	border-radius: 4px;
	transition: background-color .25s;
}

.news_pager_prev:hover, .news_pager_next:hover {
	background-color: var(--color-lightlight-gray);
}

.news_pager_prev::before, .news_pager_next::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	border-top: 2px solid var(--color-gray);
	border-right: 2px solid var(--color-gray);
}

.news_pager_prev::before {
	transform: translate(-30%, -50%) rotate(-135deg);
}

.news_pager_next::before {
	transform: translate(-70%, -50%) rotate(45deg);
}



@media screen and (max-width: 1024px) {
.news_filter {
	margin-bottom: 20px;
}

.news_item {
	padding: 18px 12px;
}

.news_cat {
	width: 130px;
	margin-right: 16px;
}

.newitem_item {
	padding: 18px 16px;
}

.newitem_thumb {
	width: 150px;
	height: 150px;
	margin-right: 20px;
}
}



@media screen and (max-width: 640px) {
.news_filter {
	display: block;
}

.news_year_select {
	margin: 12px 0 0;
}

.news_year_select select {
	width: 100%;
}

.news_item {
	flex-wrap: wrap;
	padding: 16px 28px 16px 16px;
}

.news_date {
	width: auto;
	margin-right: 14px;
}

.news_cat {
	width: auto;
	min-width: 120px;
	margin-right: 0;
}

.news_item_link {
	flex: 0 0 100%;
	margin-top: 8px;
}

.news_arrow {
	position: absolute;
	top: 50%;
	right: 6px;
	margin: -5px 0 0;
}

/* New Item 一覧（写真付き） */
.newitem_item {
	flex-wrap: nowrap;
	flex-direction: column;
	align-items: stretch;
	margin-bottom: 25px;
	padding: 16px;
}

.newitem_thumb {
	width: 100%;
	height: 200px;
	margin: 0 0 16px;
}

.newitem_meta {
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.newitem_title {
	font-size: 15px;
	margin-bottom: 10px;
}

.newitem_text {
	font-size: 13px;
	line-height: 1.8;
	padding-right: 28px;
}

.newitem_link {
	/*position: absolute;
	top: 50%;
	right: 16px;
	margin: 5px 0 0;
	transform: translateY(-50%);*/
}

.newitem_item .news_arrow {
  display: none;/* 矢印をスマホ時削除 */
	position: static;
	margin: 0;
}
  .newitem_link::after {
    content: "";
    position: absolute;
    inset:0;
    display: block;
  }
}


/* =========================
   詳細ページ
   ========================= */
.news_detail {
  position: relative;
  margin: 0;
  padding: 50px 0;
}
.news_detail ._ttl {
  border-bottom: 2px solid #000;
  font-size: 1.375rem;
  margin: 0 0 30px;
  padding: 0 0 20px;
  line-height: 1.4;
}
/* お知らせ詳細のアイコン表示 */
.news-detail_icons {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.news-detail_icons .date {
  color: #888;
  font-size: 0.937rem;
}
.news-detail_icons .icon {
  color: #fff;
  font-size: 0.85em;
  line-height: 1em;
  text-align: center;
  font-weight: 300;
  padding: 4px 10px 5px;
  display: inline-block;
  min-width: 80px;
  border-radius: 4px;
  margin: 0 5px 5px 0;
}

/*一覧に戻るボタン*/
.news-det_btn {
  width: 92%;
  max-width: 1200px;
  margin: 40px auto;
}
.news-det_btn a.btn002-02 {
  display: flex;
  align-items: center;
  padding: 12px 0;
  font-size: 0.937rem;
  width: max-content;
}
.news-det_btn a.btn002-02::after {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-left: 5px;
  border-top: 2px solid var(--color-red);
  border-right: 2px solid var(--color-red);
  transform: rotate(45deg);
  transition: margin-left 0.3s ease;
}
@media (hover: hover) {
  .news-det_btn a.btn002-02:hover::after {
    margin-left: 10px;
  }
}
@media screen and (min-width: 768px) {
  .news-det_btn {
    margin: 60px auto 40px;
  }
  .news_detail {
    padding: 80px 0;
  }
  .news_detail ._ttl {
    font-size: 1.5rem;
  }
  .news-det_btn a.btn002-02 {
    font-size: 1rem;
  }
}
/*.icon-list {
  color: #fff;
  width: 54px;
  height: 54px;
  position: relative;
  display: grid;
  place-items: center;
  background-color: var(--color-red);
  border-radius: 30px;
}*/

/* お知らせ内容WPのフリーエディターエリア
---------------------------------------------------------------------------*/
.free-edit-container {
  /*border-top: 1px solid #ddd;*/
  line-height: 1.8;
  margin-top: 30px;
  padding: 1em 0;
  font-size: 0.937rem;
}
/*記事内のテキストリンク*/
.free-edit-container a {
  color: var(--color-red);
  border-bottom: 1px solid var(--color-red);
  transition: 0.2s;
}
@media (hover: hover) {
  .free-edit-container a:hover {
    filter: brightness(1.2);
    text-decoration: none;
  }
}

.free-edit-container h1,
.free-edit-container h2,
.free-edit-container h3,
.free-edit-container h4,
.free-edit-container h5,
.free-edit-container h6 {
  all: revert;
  display: block;
  text-align: left;
  line-height: 1.3;
  margin: 0 0 1em;
  border: none;
  position: relative;
}
.free-edit-container h1 {
  font-size: 1.5em;
  border-bottom: 1px solid var(--color-red);
  padding-bottom: 0.5em
}
.free-edit-container h2 {
  font-size: 1.375em;
  border-left: 5px solid var(--color-red);
  padding-left: 0.5em;
}
.free-edit-container h3 {
  font-size: 1.25em;
  padding-left: 0.75em;
}
.free-edit-container h3::before {
  content: '●';
  color: var(--color-red);
  font-size: 0.4em;
  position: absolute;
  left: 0;
  top: 1em;
  
}
.free-edit-container h4 {font-size: 1.125em; color: var(--color-red);}
.free-edit-container h5 {font-size: 1.125em;}
.free-edit-container h6 {font-size: 1em;}

.free-edit-container blockquote { position: relative;}
.free-edit-container blockquote p::before {
  content: '“';
  font-size: 1.25rem;
  padding-right: 5px;
}
.free-edit-container blockquote p::after {
  content: '”';
  font-size: 1.25rem;
  padding-left: 5px;
}
/*続きを読む*/
.free-edit-container .readmore {
  color: #444;
  margin: 1em 0;
  text-align: center;
}
.free-edit-container .readmore .bt-readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.875rem;
  padding: 0.5em 0;
  position: relative;
  margin: 0 auto;
  width: 130px;
  cursor: pointer;
}
.free-edit-container .readmore .bt-readmore ._txt {
  letter-spacing: 0.1em;
}
.free-edit-container .readmore .bt-readmore i.fas {}

@media screen and (min-width: 768px) {
  .free-edit-container {
    font-size: 1rem;
  }
  .free-edit-container h1 {
    font-size: 1.625em;
  }
  .free-edit-container h2 {
    font-size: 1.5em;
  }
  .free-edit-container h3 {
    font-size: 1.375em;
  }
  .free-edit-container h4 {font-size: 1.25em;}
}

/*回り込み
---------------------------------------------------------------------------*/
.free-edit-container .alignleft {
  float: left;
  margin: 1em 0;
}
.free-edit-container .alignright {
  float: right;
  margin: 1em 0;
}
@media screen and (min-width: 768px) {
  .free-edit-container .alignleft {
    margin: 0 2em 0 0;
  }
  .free-edit-container .alignright {
    margin: 0 0 0 2em;
  }
}

/*ボタン
---------------------------------------------------------------------------*/
.free-edit-container .wp-btn {
  border-bottom: none;
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
  text-align: left;
  font-weight: 500;
  background-color: #000;
  display: inline-block;
  margin: 15px 0;
  padding: 1.5em 50px 1.5em 24px;
  position: relative;
  transition: 0.3s;
  min-width: 200px;
  max-width: 400px;
}
.free-edit-container .wp-btn:not([href$=".pdf"])::after {
  content: "";
  width: 8px;
  height: 8px;
  margin: -4px 0 0;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 24px;
}

/* pdfボタンの場合 */
.free-edit-container .wp-btn[href$=".pdf"] {
  border-bottom: none;
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
  text-align: left;
  font-weight: 400;
  background-color: #000;
  display: inline-block;
  margin: 15px 0;
  padding: 1.5em 54px 1.5em 24px;
  position: relative;
  transition: 0.3s;
  max-width: 400px;
}
.free-edit-container .wp-btn[href$=".pdf"]::before {
  content: "\f1c1";
  font-family: "Font Awesome 6 Pro";
  font-size: 1.2rem;
  font-weight: 300;
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
}

@media (hover: hover) {
  .free-edit-container .wp-btn:hover {
    color: #fff;
    background-color: var(--color-gray);
    text-decoration: none;
  }
}