@charset "utf-8";

/* --------------------------------------------

タイトル

---------------------------------------------- */
#contents .contents_title:has(+ .post_list) {
 margin-bottom: 40px;
}

#contents .contents_inner.post_list,
#contents .contents_inner.post_detail {
 width: 100%;
}

@media only screen and (max-width:640px) {

 #contents .contents_inner.post_list,
 #contents .contents_inner.post_detail {
  width: 90%;
 }
}

/* --------------------------------------------

お知らせ

---------------------------------------------- */

.post_list {}

.post_item {
 border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.post_item a {
 width: 100%;
 padding: 2em 0;
 justify-content: space-between;
 cursor: pointer;
 transition: 0.3s;
}

.post_item a:hover {
 opacity: 0.6;
}

.post_item_thum {
 width: 220px;
}

.post_item_thum figure {
 width: 100%;
 height: 140px;
 overflow: hidden;
 background-image: url(../_image/common/noImage.jpg);
 background-size: cover;
 background-position: center;
 background-repeat: no-repeat;
}

.post_item_thum img {
 object-fit: cover;
 object-position: center;
 height: 100%;
}

.post_item_contents {
 width: calc(100% - 250px);
}

.post_item time {
 display: inline-block;
 margin-bottom: 12px;
 font-size: 1.7rem;
 font-weight: 700;
 color: #083686;
}

.post_item p {
 font-weight: 600;
 /* font-weight: bold; */
}

@media only screen and (max-width:640px) {
 .post_item a {
  padding: 1.5em 0;
 }

 .post_item_thum {
  width: 180px;
 }

 .post_item_thum figure {
  height: 115px;
 }

 .post_item_contents {
  width: calc(100% - 200px);
 }

 .post_item time {
  font-size: 1.5rem;
 }

 .post_item p {
  font-size: 1.6rem;
  line-height: 1.6;
 }
}


/* --------------------------------------------


.pagination


---------------------------------------------- */
.pagination {
 margin-top: 80px;
 text-align: center;
}

.pagination .nav-links {
 display: flex;
 justify-content: center;
}

.pagination .page-numbers.current,
.pagination .page-numbers,
.pagination .page-back {
 position: relative;
 display: block;
 text-align: center;
 width: 40px;
 height: 40px;
 margin: 0 4px;
 font-size: 1.8rem;
 line-height: 40px;
 border-radius: 20px;
 transition: 0.3s;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
 width: 40px;
 height: 40px;
 background-color: #083686;
 background-image: url(../_image/common/icon-arrow.svg);
 background-size: 23%;
 background-position: center;
 background-repeat: no-repeat;
}

.pagination .page-numbers.prev {
 transform: rotate(180deg);
}

.pagination .page-numbers.current {
 font-weight: bold;
 color: #083686;
}

.pagination .page-numbers.current::before {
 content: "";
 display: block;
 position: absolute;
 left: calc(50% - 15px);
 bottom: 0;
 width: 30px;
 height: 3px;
 background-color: #083686;
}


@media only screen and (max-width:640px) {

 .pagination .page-numbers.current,
 .pagination .page-numbers,
 .pagination .page-back {
  font-size: 1.6rem;
 }

 .pagination .page-numbers.prev,
 .pagination .page-numbers.next {}


}




/* --------------------------------------------


詳細ページ


---------------------------------------------- */
.post_detail {}

.post_detail_head {
 width: 100%;
}

.post_detail_head time {
 font-size: 2rem;
 font-weight: bold;
 color: #083686;

}

.post_detail_head h1 {
 margin: 12px 0 60px;
 font-size: 2.8rem;
 font-weight: bold;
 color: #083686;
}

.post_detail_article {
 margin-bottom: 80px;
}

.newsWrap .btn.btn-def {
 display: block;
 margin: auto;
}

@media only screen and (max-width:640px) {
 .post_detail_head time {
  font-size: 1.6rem;
 }

 .post_detail_head h1 {
  font-size: 2.4rem;
 }
}





/* --------------------------------------------


記事ページ　共通装飾


---------------------------------------------- */
.post_detail_article img {
 max-width: 100%;
 height: auto;
}

.post_detail_article p {
 margin: 0;
}

.post_detail_article a {
 text-decoration: underline;
}

.post_detail_article figure {}

.post_detail_article a[target="_blank"] {}

.post_detail_article a[target="_blank"]::after {
 content: "";
 display: inline-block;
 width: 1.6rem;
 height: 1.6rem;
 margin: 0.2em 0.2em 0 0.2em;
 vertical-align: top;
 background-image: url(../_image/common/link-blank.svg);
 background-size: cover;
}

@media only screen and (max-width:640px) {
 .post_detail_article {
  margin: 140px auto 140px;
 }
}



/* 目次 ---------------------------------------------- */
.post_detail_article #toc_container {
 position: relative;
 min-width: 100%;
 padding: 20px;
 background: #e1ecf5;
 border-radius: 0.4rem;
 border: none;
}

.post_detail_article #toc_container * {
 /*
	background: rgba(255, 0, 0, 0.1);*/
}

.post_detail_article #toc_container::before {
 content: "";
 position: absolute;
 top: 5px;
 left: 5px;
 width: calc(100% - 12px);
 height: calc(100% - 12px);
 display: block;
 background: #e1ecf5;
 border: 2px dotted #89aae0;
 border-radius: 0.3rem;
 z-index: 1;
}

.post_detail_article #toc_container .toc_title {
 position: relative;
 color: #0A1B4B;
 font-size: 1.6rem;
 text-align: left;
 z-index: 2;
}

.post_detail_article #toc_container .toc_title::before {
 content: "";
 display: inline-block;
 width: 1.2em;
 height: 1.2em;
 vertical-align: middle;
 margin: -0.38rem 1rem 0 0;
 background-image: url(../_image/common/toc_title.svg);
 background-repeat: no-repeat;
 background-size: cover;
}

.post_detail_article #toc_container .toc_list {
 position: relative;
 z-index: 2;
}

.post_detail_article #toc_container .toc_list ul {
 margin-left: 0 !important;
}

.post_detail_article #toc_container .toc_list ul li {
 padding-left: 10px;
}

.post_detail_article #toc_container .toc_list li a {
 position: relative;
 display: inline-block;
 padding: 0rem 0rem 0.3rem 1em;
 color: #3C3C3C;
}

.post_detail_article #toc_container .toc_list li a::before {
 content: "▶︎";
 position: absolute;
 top: 0.0rem;
 left: 0;
 display: block;
 color: #7481a3;
 transform: scale(0.5, 0.6);
}

.post_detail_article #toc_container .toc_list li a:hover {
 text-decoration: underline;
}

.post_detail_article #toc_container .toc_list li a .toc_number {
 display: none;
}


@media only screen and (max-width:640px) {

 .post_detail_article #toc_container {}

}




/* buttons ---------------------------------------------- */
.wp-block-buttons {
 width: 100%;
}

.wp-block-button {
 width: 100%;
 max-width: 360px;
 margin: 7px 0 !important;
 color: #08368b;
 position: relative;
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 align-items: center;
 cursor: pointer;
 border: 2px solid #08368b;
 border-radius: 14rem;
}

.wp-block-button__link {
 background: none;
}

.wp-block-button a,
.wp-block-button a[target="_blank"] {
 display: block;
 padding: 1em;
 font-size: 1.5rem;
 font-weight: 600;
 color: var(--c-green);
 text-align: center;
 text-decoration: none;
 transition: 0.3s;
}

.wp-block-button a:hover {
 opacity: 0.6;
}


@media only screen and (max-width:640px) {
 .wp-block-buttons {}

 .wp-block-button {
  max-width: 500px;
 }


 .wp-block-button a,
 .wp-block-button a[target="_blank"] {}


}






/* table ---------------------------------------------- */

.post_detail_article table {
 min-width: 100%;
 margin: 0px auto;
 line-height: 1.5;
 font-size: 1.4rem;
 border-collapse: collapse;
 border: #c8c8c8 0px solid;
}

.post_detail_article table p {}

.post_detail_article table tbody {
 min-width: 100%;
}

.post_detail_article table th,
.post_detail_article table td {
 padding: 1.0em 1.2rem;
 border: #c8c8c8 1px solid;
 vertical-align: middle;
 text-align: center;
 /*text-align: justify;*/
}

.post_detail_article table thead th,
.post_detail_article table thead td {
 padding: 0.8em 1.2rem;
 font-weight: 500;
 font-size: 1.1em;
 border-bottom-color: #a79b94;
}

.post_detail_article table thead {
 border-bottom: 2px solid #a79b94 !important;
}

.post_detail_article table tfoot {
 border-top: 2px solid #a79b94 !important;
}

.post_detail_article table th,
.post_detail_article table tbody tr th {
 background-color: #e6e6e6;
}




/* ul ---------------------------------------------- */
.post_detail_article ul {
 position: relative;
 margin: 20px auto;
}

.post_detail_article ul ul {
 margin: 0;
 padding: 0;
}

.post_detail_article ul li {
 position: relative;
 padding: 0.3rem 0 0.3rem 1.2em;
 text-align: justify;
}

.post_detail_article ul li::before {
 content: "";
 display: inline-block;
 width: 0.8rem;
 height: 0.8rem;
 margin: -0.5rem 0.4em 0 -1em;
 vertical-align: middle;
 background: #5a93ac;
 ;
 border-radius: 50%;
}

/* figure ---------------------------------------------- */
.post_detail_article figure {}

.post_detail_article figcaption {
 font-size: 1.4rem;
}


/* ol ---------------------------------------------- */
.post_detail_article ol {
 position: relative;
 counter-reset: num;
 list-style-type: none !important;
 margin: 20px auto;
}

.post_detail_article ol ol {
 margin: 0;
 padding: 0;
}

.post_detail_article ol li {
 position: relative;
 padding: 0.3rem 0 0.3rem 2.5rem;
}

.post_detail_article ol li:before {
 position: absolute;
 top: 0.4rem;
 counter-increment: num;
 content: counter(num);
 display: inline-block;
 background: #5a93ac;
 color: #FFF;
 font-size: 1.5rem;
 border-radius: 50%;
 left: 0;
 width: 2rem;
 height: 2rem;
 font-weight: 400;
 line-height: 2rem;
 text-align: center;
}


/* 文章 ---------------------------------------------- */
.post_detail_article p strong {
 margin: 0 3px;
 font-weight: 700;
 background: linear-gradient(transparent 80%, #b4cde1 0%);
}

/* 見出し ---------------------------------------------- */
.post_detail_article h1,
.post_detail_article h2 {
 padding: 1.8rem 1rem;
 margin: 3em 0 1em;
 font-size: 2.5rem;
 font-weight: 700;
 line-height: 1.4;
 color: #08368b;
 border-top: 3px solid #5a93ac;
 border-bottom: 3px solid #5a93ac;
}

.post_detail_article h3 {
 padding: 1.6rem;
 margin: 3em 0 1em;
 font-size: 2.1rem;
 font-weight: 700;
 line-height: 1.4;
 color: #08368b;
 background-color: #dee9f0;
}

.post_detail_article h4 {
 position: relative;
 padding: 0 1rem 1rem;
 margin: 3em 0 1em;
 font-size: 1.8rem;
 font-weight: 700;
 line-height: 1.4;
 color: #08368b;
 border-bottom: 4px solid #e4e6e6;
}

.post_detail_article h4::before {
 content: "";
 display: block;
 position: absolute;
 bottom: -4px;
 left: 0;
 width: 30%;
 height: 4px;
 background: #5a93ac;
}

.post_detail_article h5 {
 margin: 3em 0 1em;
 font-size: 1.8rem;
 font-weight: 700;
 line-height: 1.4;
 color: #08368b;
}

.post_detail_article h5::before {
 content: "";
 display: inline-block;
 width: 0.5rem;
 height: 3rem;
 margin: -0.5rem 1.3rem 0 0;
 vertical-align: middle;
 background-color: #5a93ac;
}

.post_detail_article h6 {
 margin: 3em 0 1em;
 font-size: 1.7rem;
 font-weight: 700;
 line-height: 1.4;
 color: #08368b;
}

.post_detail_article h6::before {
 content: "";
 display: inline-block;
 width: 1.0rem;
 height: 1.0rem;
 margin: -0.5rem 1rem 0 0;
 vertical-align: middle;
 background-color: #5a93ac;
 border: 4px solid #c4d3e6;
 border-radius: 50%;
}

@media only screen and (max-width:640px) {
 .post_detail_article > h1,
 .post_detail_article h2 {
  font-size: 1.8rem;
 }

 .post_detail_article h3 {
  font-size: 1.7rem;
 }

 .post_detail_article h4 {
  font-size: 1.7rem;
 }

 .post_detail_article h5 {
  font-size: 1.7rem;
 }

 .post_detail_article h6 {
  font-size: 1.7rem;
 }
}


/* iframe ---------------------------------------------- */
.post_detail_article iframe,
.post_detail_article .twitter-tweet {
 display: block;
 margin: 10px auto !important;
}

.post_detail_article figure.is-type-wp-embed iframe {
 pointer-events: none;
}


/* image ---------------------------------------------- */
.wp-block-image {
 margin: 40px auto;
}

.wp-block-image img {
 width: auto;
}

.wp-block-image.size-large img {
 display: block;
 margin: auto;
}

@media only screen and (max-width:640px) {
 .wp-block-image img {
  width: 100%;
 }
}


/* 文字サイズ ---------------------------------------------- */
.has-medium-font-size {
 font-size: 2.2rem;
}

.has-small-font-size {
 font-size: 1.4rem;
}


@media only screen and (max-width:640px) {
 .has-medium-font-size {
  font-size: 2.2rem !important;
 }

 .has-small-font-size {
  font-size: 1.4rem !important;
 }

}