@charset "utf-8";
/*------------------------------------------------------------
	news
------------------------------------------------------------*/
#conts {
	width: calc(100% - 48rem);
}
#conts .newsList li a {
	padding: 2.1rem 0 2rem;
	display: block;
	border-bottom: 1px solid #CFCFCF;
}
#conts .newsList li a:hover {
	opacity: 0.7;
}
#conts .newsList li a h3 {
	color: #000;
	font-size: 3.2rem;
	font-weight: 700;
	letter-spacing: 0.3rem;
}
#sideBar {
	margin-top: 3.7rem;
	width: 32rem;
}
#sideBar .searchBox {
	margin-bottom: 3rem;
	position: relative;
	border-radius: 2.5rem;
	overflow: hidden;
}
#sideBar .searchBox input[type="text"] {
	appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
    border-radius: 2.5rem;
    height: 5rem;
    border: 1px solid #002168;
    box-sizing: border-box;
	color: #000;
    font-size: 1.8rem;
    padding: 0 6rem 0 2rem;
    width: 100%;
    background-color: #FFF;
}
#sideBar .searchBox input[type="submit"] {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
	width: 5.2rem;
	height: 100%;
	cursor: pointer;
	background: url(../img/common/icon03.png) no-repeat left center / 2.4rem;
	border: none;
	transition: opacity 0.3s;
}
#sideBar .areaBox .area {
	margin-bottom: 5.8rem;
}
#sideBar .areaBox .area .tag {
	padding: 0.8rem 1rem;
	color: #FFF;
	font-weight: 700;
	text-align: center;
	background: #002168;
	letter-spacing: 0;
}
#sideBar .areaBox .area .linkList li a {
	padding: 2.5rem 0 1.7rem;
	display: block;
	font-weight: 500;
	border-bottom: 1px solid #CFCFCF;
	letter-spacing: 0;
	background: url(../img/common/icon02.png) no-repeat right top calc(50% + 0.5rem) / 4rem;
}
#sideBar .areaBox .area .linkList li a:hover {
	opacity: 0.7;
}
@media all and (min-width: 897px) {
	#sideBar .searchBox input[type="submit"]:hover {
		opacity: 0.7;
	}
}
.wp-pagenavi {
	margin-top: 15.9rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}
.wp-pagenavi a,
.wp-pagenavi span {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border: 1px solid #333;
	padding: 0.2rem 0.2rem 0.4rem;
	font-size: 1.8rem;
	font-weight: 700;
	width: 4rem;
	height: 4rem;
	transition: border 0.3s,background 0.3s,color 0.3s;
	background: #FFF;
	letter-spacing: 0;
}
.wp-pagenavi span.current {
	border-color: #0073EF;
	color: #FFF;
	background: #0073EF;
}
.wp-pagenavi .pages {
	display: none;
}
.wp-pagenavi .extend {
	padding-bottom: 2rem;
	border: none;
	letter-spacing: 0;
}
@media all and (min-width: 897px) {
	.wp-pagenavi a:hover {
		border-color: #0073EF;
		color: #FFF;
		background: #0073EF;
	}
}
@media all and (max-width: 896px) {
	#main .content:has(#conts) {
		display: block;
	}
	#conts {
		width: auto;
	}
	#conts .newsList li a {
		padding: 1.5rem 0;
	}
	#conts .newsList li a h3 {
		font-size: 2rem;
		letter-spacing: 0.1rem;
	}
	#sideBar {
		margin-top: 8rem;
		width: auto;
	}
	#sideBar .searchBox {
		margin-bottom: 2rem;
	}
	#sideBar .searchBox input[type="text"] {
		font-size: 1.6rem;
	}
	#sideBar .areaBox .area {
		margin-bottom: 4rem;
	}
	#sideBar .areaBox .area .linkList li a {
		padding: 2rem 0 1.2rem;
		font-size: 1.4rem;
		background: url(../img/common/icon02.png) no-repeat right top calc(50% + 0.4rem) / 3rem;
	}
	.wp-pagenavi {
		margin-top: 8rem;
		gap: 0.5rem;
	}
	.wp-pagenavi a,
	.wp-pagenavi span {
		padding: 0.2rem;
		font-size: 1.4rem;
		width: 3rem;
		height: 3rem;
	}
}

/*------------------------------------------------------------
	detail
------------------------------------------------------------*/
.detail .pageTitle {
	margin-bottom: 2.6rem;
	padding-top: 8.4rem;
	background: #FFF;
	min-height: 40rem;
}
.detail .pageTitle::before,
.detail .pageTitle::after {
	display: none;
}
.detail #pagePath {
	margin-top: 7.8rem;
}
.detail #conts h1 {
	margin-bottom: 7.6rem;
	padding-bottom: 2rem;
	color: #000;
	font-size: 3.2rem;
	font-weight: 700;
	border-bottom: 1px solid #CFCFCF;
	letter-spacing: 0.3rem;
}
.detail #conts .inner {
	max-width: 80rem;
}
.detail #conts .inner h2 {
	margin-bottom: 6.7rem;
	padding-left: 1.9rem;
	position: relative;
	font-size: 2.8rem;
	font-weight: 700;
	letter-spacing: 0.3rem;
	line-height: 1.4;
	border-left: 0.6rem solid #002168;
}
.detail #conts .inner h3 {
	margin-bottom: 5rem;
	padding-bottom: 0.9rem;
	font-size: 2.4rem;
	font-weight: 700;
	letter-spacing: 0.3rem;
	border-bottom: 1px solid #002168;
}
.detail #conts .inner h4 {
	margin-bottom: 2.3rem;
	padding: 0.8rem 2.4rem 1.2rem;
	color: #002168;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 0.1rem;
	background: #EDF6FF;
}
.detail #conts .inner h5 {
	margin-bottom: 2.9rem;
	padding: 0 2.4rem;
	color: #002168;
	font-size: 1.8rem;
	font-weight: 700;
	letter-spacing: 0.1rem;
}
.detail #conts .inner p {
	margin-bottom: 4.7rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.9;
	word-break: break-all;
}
.detail #conts .inner p a {
	padding-bottom: 0.6rem;
	color: #002168;
	font-weight: 500;
	border-bottom: 1px solid #002168;
}
.detail #conts .inner p a:hover {
	opacity: 0.7;
}
.detail #conts .inner p + figure {
	margin-top: 7.5rem;
}
.detail #conts .inner figure {
	margin-bottom: 3rem;
}
.detail #sideBar {
	margin-top: -1.7rem;
}
.detail .linkUl {
	margin: 9.1rem auto 0;
	max-width: 125rem;
}
.detail .linkUl li {
	width: calc(100% / 3);
	text-align: center;
}
.detail .linkUl li a {
	display: block;
	text-align: center;
	font-weight: 500;
	letter-spacing: 0.1rem;
	transition: color 0.3s;
}
.detail .linkUl li a .sub {
	display: inline-block;
	transition: background 0.3s;
}
.detail .linkUl li.prev a,
.detail .linkUl li.next a {
	font-weight: 500;
	font-family: "Zen Kaku Gothic New", sans-serif;
}
.detail .linkUl li.prev a .sub {
	padding: 0.5rem 0 0.5rem 4rem;
	letter-spacing: 0;
	background: url(../img/common/icon07.png) no-repeat left center / 3rem;
}
.detail .linkUl li.back a .sub {
	padding: 0.5rem 6.8rem 0.5rem 0;
	background: url(../img/common/icon09.png) no-repeat right center / 4rem;
}
.detail .linkUl li.next a .sub {
	padding: 0.5rem 4rem 0.5rem 0;
	letter-spacing: 0;
	background: url(../img/common/icon08) no-repeat right center / 3rem;
}
@media all and (min-width: 897px) {
	.detail .linkUl li a:hover {
		color: #002168;
	}
	.detail .linkUl li.back a:hover .sub {
		background-image: url(../img/common/icon02.png);
	}
	.detail .linkUl li.prev a:hover .sub {
		background-image: url(../img/common/icon07_over.png);
	}
	.detail .linkUl li.next a:hover .sub {
		background-image: url(../img/common/icon08_over.png);
	}
}
@media all and (max-width: 896px) {
	.detail .pageTitle {
		padding-top: 5rem;
		min-height: 20rem;
	}
	.detail .pageTitle .inner {
		padding: 0 2rem;
	}
	.detail #pagePath {
		margin-top: 3rem;
	}
	.detail .content:has(#conts) {
		padding: 0 2rem;
	}
	.detail #conts {
		margin-bottom: 8rem;
	}
	.detail #conts h1 {
		margin-bottom: 4rem;
		padding-bottom: 1.5rem;
		font-size: 2.4rem;
		letter-spacing: 0.1rem;
	}
	.detail #conts .inner {
		max-width: inherit;
	}
	.detail #conts .inner h2 {
		margin-bottom: 4rem;
		padding-left: 1.2rem;
		font-size: 2.2rem;
	}
	.detail #conts .inner h3 {
		margin-bottom: 5rem;
		font-size: 2rem;
	}
	.detail #conts .inner h4 {
		margin-bottom: 2rem;
		padding: 0.8rem 1.5rem;
		font-size: 1.8rem;
	}
	.detail #conts .inner h5 {
		margin-bottom: 2rem;
		padding: 0 1.5rem;
		font-size: 1.6rem;
	}
	.detail #conts .inner p {
		margin-bottom: 3rem;
		font-size: 1.4rem;
	}
	.detail #conts .inner p a {
		padding-bottom: 0.4rem;
	}
	.detail #conts .inner p + figure {
		margin-top: 4rem;
	}
	.detail #conts .inner figure img {
		width: 100%;
	}
	.detail #sideBar {
		margin-top: 0;
	}
	.detail .linkUl {
		margin: 5rem 0 0;
		max-width: inherit;
		display: block;
	}
	.detail .linkUl li {
		margin-bottom: 1rem;
		width: auto;
	}
	.detail .linkUl li:last-child {
		margin-bottom: 0;
	}
	.detail .linkUl li a .sub {
		padding: 1rem 0.5rem !important;
		display: block;
	}
}

/* リスト全体のグリッド配置 */
.downloadList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* レスポンシブ配置 */
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* カード要素 */
.downloadCard {
  background: #ffffff;
}

.downloadCard__link {
  display: block;
  text-decoration: none;
  color: #333333;
  transition: opacity 0.3s ease;
}

.downloadCard__link:hover {
  opacity: 0.8;
}

/* 画像エリア（薄い青の背景） */
.downloadCard__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #eef5ff; /* 添付画像の淡いブルー背景 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
}

.downloadCard__img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ロゴ等を全体表示する場合 */
}

/* メタ情報（日付＆カテゴリー） */
.downloadCard__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.downloadCard__meta time {
  font-size: 13px;
  font-weight: bold;
  color: #333333;
}

/* カテゴリーバッジ（ネイビー） */
.downloadCard__tag span {
  display: inline-block;
  background-color: #0d2862; /* ネイビー */
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 4px;
  line-height: 1.2;
}

/* ============================================================
   資料ダウンロード 一覧ページ（TOPトンマナ＋資料一覧へボタン再現）
============================================================ */

/* グリッドレイアウト（PC3列、タブレット2列、スマホ1列） */
.downloadList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem 3rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ★カード全体：外枠の角丸を 0.5rem に調整 */
.downloadCard {
  background: #ffffff;
  border-radius: 0.5rem;       /* 外枠の角丸 */
  border: 1px solid #E5E9F0;
  overflow: hidden;
  box-shadow: 0 0.4rem 1.6rem rgba(0, 33, 104, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
}

/* カードホバー時の立体感演出 */
.downloadCard:hover {
  transform: translateY(-0.6rem);
  box-shadow: 0 1.2rem 2.8rem rgba(0, 33, 104, 0.12);
  border-color: #002168;
}

/* リンクエリア全体をフレックスにして下部を綺麗に揃える */
.downloadCard__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

/* サムネイル画像枠（淡い背景＋比率固定＋ホバーズーム） */
.downloadCard__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #F4F7FB;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.5rem;
  box-sizing: border-box;
  border-bottom: 1px solid #EEF2F6;
  border-radius: 0.5rem 0.5rem 0 0; /* 外枠の角丸（0.5rem）に連動 */
}

.downloadCard__img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.downloadCard:hover .downloadCard__img img {
  transform: scale(1.04);
}

/* テキスト情報エリアの左右余白 */
.downloadCard__meta,
.downloadCard__title,
.downloadCard__btn {
  padding-left: 2.2rem;
  padding-right: 2.2rem;
}

/* 日付・カテゴリー（メタ情報） */
.downloadCard__meta {
  margin-top: 2rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.downloadCard__meta time {
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #002168; /* ブランドネイビー */
  letter-spacing: 0.08rem;
}

/* カテゴリータグ（設定されている場合） */
.downloadCard__tag span {
  display: inline-block;
  background-color: #002168;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.2rem 1rem;
  border-radius: 0.3rem;
  line-height: 1.4;
}

/* タイトル：文字サイズを大きくし、下のボタンとの間隔を確保 */
.downloadCard__title {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.45;
  color: #111111;
  margin: 0 0 3.2rem;          /* ボタンとの間隔 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.downloadCard:hover .downloadCard__title {
  color: #002168;
}

/* 「詳細はこちら」ボタン（カード下部固定・資料一覧へボタンと同じデザインと反転アニメーション） */
.downloadCard__btn {
  margin-top: auto;            /* 常に最下部配置 */
  margin-bottom: 2.4rem;
  text-align: center;
}

.downloadCard__btn span {
  display: inline-block;
  width: 100%;
  max-width: 24rem;            /* 「資料一覧へ」ボタンと同じサイズ感 */
  padding: 1.2rem 2rem;
  background-color: #002168;   /* 通常時：ネイビー背景 */
  color: #ffffff;             /* 通常時：白文字 */
  border: 1px solid #002168;  /* 通常時：枠線 */
  border-radius: 5rem;         /* カプセル型 */
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  text-align: center;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ホバー時の反転演出 */
.downloadCard:hover .downloadCard__btn span,
.downloadCard__btn span:hover {
  background-color: #ffffff;   /* ホバー時：白背景 */
  color: #002168;             /* ホバー時：ネイビー文字 */
  border-color: #002168;       /* ホバー時：ネイビー枠線 */
}

/* ------------------------------------------------------------
   レスポンシブ（タブレット・スマホ対応）
------------------------------------------------------------ */
@media screen and (max-width: 1024px) {
  .downloadList {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }
}

@media screen and (max-width: 640px) {
  .downloadList {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .downloadCard__title {
    font-size: 1.8rem;
    margin-bottom: 2.4rem;
  }
  
  .downloadCard__btn span {
    max-width: 100%;
    padding: 1.2rem 1.6rem;
  }
}
