@charset "UTF-8";
/* CSS Document */

/*==================================================
アーカイブ
==================================================*/
.art_newslist {
  width: 100%;
  padding-top: 60px;
  padding-bottom: 200px;
}
.art_newslist .topics__list {
  width: 85%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.art_newslist .topics__body {
    width: calc(100% - 160px);
}
.art_newslist a:hover {
  opacity: 0.6;
}
.art_newslist .topics__link {
  flex-direction: inherit;
}
.art_newslist .topics__meta {
  flex-wrap: wrap;
}
@media screen and (max-width:640px) {
  .art_newslist .topics__body {
      width: 70%;
  }
  .art_newslist .topics__thumb {
      width: 30%;
      min-width: auto;
  }
  .art_newslist .topics__date {
    display: block;
    width: 100%;
  }
  .art_newslist .topics__heading {
    padding: 1rem 0;
  }
  .art_newslist .topics__link {
    gap: 20px;
  }
}


/* page_navi　ページナビゲーション
--------------------------------------------- */
.screen-reader-text {
  display: none;
}
.page_navi_wrap {
  display: flex;
  justify-content: center;
  background-color: #fff;
  padding-top: 15px;
  padding-bottom: 15px;
  border-radius: 10px;
}
.nav-links {
  display: flex;
}
.pagination {
  justify-content: center;
  display: flex;
  padding-bottom: 80px;
}
.page-numbers {
  color: #025593;
  background: #fff;
  width: min(10vw, 3.5em);
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid #036EB7;
  font-size: 1.0625em;
  line-height: 100%;
  margin: 0 2px;
  transition: all ease 300ms;
}
.page-numbers:active, .page-numbers:visited, .page-numbers:focus {
  color: #025593;
}
.page-numbers.current {
  background-color: #025593;
  color: #fff;
}
.prev.page-numbers,
.next.page-numbers {
  background: #fff url("../../../img/common/icon_arrow-blue.svg") no-repeat center/20px 20px;
  border: none;
  color: #fff;
  text-indent: -9999px;
  border: 1px solid #036EB7;
}
.prev.page-numbers:hover,
.next.page-numbers:hover {
  opacity: 0.75;
}
.prev.page-numbers {
  transform: rotateY(180deg);
}



/* レイアウト
--------------------------------------------- */
.sec_post,.sec_back {
  width: 85%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.wrap_post {
  padding-top: 50px;
}
.sec_back {
  text-align: center;
}
.wrap_sgl_ttl {
  margin-bottom: 30px;
}
.wrap_sgl_ttl .topics__date {
  margin-bottom: 10px;
  display: block;
}
.wrap_sgl_ttl .topics__category {
  padding-top: 15px;
  font-size: clamp(1.5rem, 1.42rem + 0.2vw, 1.7rem);
  border: none;
}
.topics__category a{
  margin-right: 0.6rem;
  padding: 0.2rem 0.8rem;
  border: solid 1px #2659AE;
  border-radius: 4px;
  color: #2659AE;
  text-decoration: none !important;
  transition: 0.25s;
}
.topics__category a:hover{
  color: #fff;
  background-color: #2659AE;
  transition: 0.25s;
}


/* 一覧へ戻るボタン
--------------------------------------------- */
.sec_back {
  padding-top: 50px;
}
.back__btn .more-btn{
  display: inline-flex;
}

/* 投稿　見出し書式スタイル
--------------------------------------------- */

/* ---------------------------------------------
   投稿 共通文字設定
--------------------------------------------- */

.art_newsdetail {
  font-size: 1.6rem; /* 16px */
}

/* ---------------------------------------------
   記事本文
--------------------------------------------- */

.p_topi_deta {
  font-size: 1.6rem; /* 16px */
  line-height: 1.75;
  letter-spacing: 0.05em;
  color: #333;
}

.p_topi_deta p {
  margin: 1em 0;
  font-size: clamp(1.5rem, 1.42rem + 0.2vw, 1.7rem);
}

/* ---------------------------------------------
   見出し
--------------------------------------------- */

.postttl {
  font-weight: 300;
  font-size: min(6vw, 4rem); /* 40px */
  line-height: 1.25;
}
.p_topi_deta h2,
.p_topi_deta h3,
.p_topi_deta h4,
.p_topi_deta h5,
.p_topi_deta h6 {
  line-height: 1.5;
}

/* h2 */
.p_topi_deta h2 {
  background: #036EB7;
  color: #fff;
  border-radius: 0.5rem;
  padding: 1rem 3.1%;
  font-size: 1.5em;
  margin: 1em 0 1.2em;
  font-weight: 400;
}

/* h3 */
.p_topi_deta h3 {
  border-bottom: 0.2rem solid #036EB7;
  padding: 0.3rem 1% 0.5em;
  margin: 1em 0 1.2em;
  font-size: 1.4em;
  color: #025593;
  font-weight: 500;
}

/* h4 */
.p_topi_deta h4 {
  font-size: 1.125em;
  margin: 1em 0 1.2em;
  padding-left: 1.5rem;
  border-left: 0.7rem solid #036EB7;
  color: #025593;
  font-weight: 500;
}

/* h5 */
.p_topi_deta h5 {
  font-size: 1.0625em;
  margin: 1em 0 1.2em;
  font-weight: 700;
  color: #025593;
}

/* h6 */
.p_topi_deta h6 {
  font-size: 1em;
  margin: 1em 0 1.2em;
  font-weight: 700;
}

/* ---------------------------------------------
   リスト
--------------------------------------------- */

.p_topi_deta ol,
.p_topi_deta ul {
  line-height: 1.75;
}

.p_topi_deta ol {
  padding-left: 1.5em;
}

.p_topi_deta ol li,
.p_topi_deta ul li {
  margin-bottom: 0.5em;
}

.p_topi_deta ul li {
  padding-left: 1em;
  text-indent: -1em;
}

.p_topi_deta ul li::before {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.3em;
  border-radius: 50%;
  background: #036EB7;
}

/* ---------------------------------------------
   リンク
--------------------------------------------- */

.p_topi_deta a {
  color: #025593;
  text-decoration: underline;
}

.p_topi_deta a:hover {
  text-decoration: none;
}

.p_topi_deta a:has(img, svg):hover {
  opacity: 0.75;
}

.p_topi_deta a[target="_blank"]:not(:has(img, svg))::after {
  content: url(../img/cmn/ico_link_blank.svg);
  margin-left: 0.5em;
  vertical-align: middle;
}

/* ---------------------------------------------
   画像キャプション
--------------------------------------------- */

.wp-caption {
  display: inline-block;
  width: auto;
  margin: 0;
  background: none;
  border: none;
}

.wp-caption-text {
  margin: 0.7em 0;
  font-size: 0.9em;
  line-height: 1.5;
}

/* ---------------------------------------------
   レスポンシブ
--------------------------------------------- */

@media (max-width: 650px) {
  .p_topi_deta h2 { font-size: 1.3em; }
  .p_topi_deta h3 { font-size: 1.2em; }
  .p_topi_deta h4 { font-size: 1.1em; }
  .p_topi_deta h5 { font-size: 1.0em; }
  .p_topi_deta h6 { font-size: 0.9em; }
}
