/**一覧ページ子**/
.page-template-template-knowledge-category-child-php .h1--block--inner {
    width: 100%!important;
}
.page-template-template-knowledge-category-child-php h1 {
	margin: 5px 0 15px 0!important;
}
.knowledge-post-container .post-categories {
	display: none;
}
.knowledge-list-tag {
display: flex;
justify-content: flex-start;
align-items: stretch;
gap: 30px;
width: 100%;
}
.knowledge-item {
width: 100%;
max-width: 300px;
}
.knowledge-thumb img {
width: 100%;
height: auto;
object-fit: cover;
}
.knowledge-title {
background: none;
margin: 10px 0 0 0;
padding: 0;
border: 0;
font-size: var(--f16-px);
line-height: 1.65;
font-weight: 500;
text-decoration: none;
}
.knowledge-cat {
margin: 0;
}
.knowledge-cat span {
background: var(--base-color2, #f2f0ed);
padding: var(--v2-px) var(--v4-px);
font-size: 0.62rem;
}
.arrow-circle-cat {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: #146352;
  margin-right: 8px;
}

.arrow-line-cat {
  width: 6px;
  height: 6px;
  border-right: 1px solid white;
  border-bottom: 1px solid white;
  transform: rotate(315deg);
  transform-origin: center;
  position: absolute;
  margin-left: -3px;
}
.knowledge-title-cat {
	font-size: 16px!important;
}

.knowledge-related-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.knowledge-card {
    width: calc(33.333% - 13.33px);
    overflow: hidden;
}

.knowledge-card:hover {
	opacity: 0.8;
}

.knowledge-card-thumb {
    width: 100%;
    height: auto;
    display: block;
}

.knowledge-card-title {
    font-size: 16px;
    margin: 20px 0 0 0;
    line-height: 1.6;
    text-align: left;
}

.knowledge-card-title a {
    text-decoration: none;
}


@media (max-width: 967px) {
.knowledge-title-cat {
	font-size: 14px!important;
}
.knowledge-title {
margin: 20px 0 0 0;
}
	.knowledge-related-cards {
	width: var(--v350-px);
     overflow-x: scroll;
	}
	.knowledge-related-cards-wrapper {
	flex-wrap: nowrap;
    width: max-content;
    gap: var(--v32-px) 2%;
		padding:0 20px 20px 0px;
	        display: flex;
	}
	.knowledge-card {
	width: var(--v285-px);
	}
	.knowledge-card-title {
	    font-size: var(--f15-px); 
		margin: 20px 0 0 0;
	}
	.knowledge-content {
		flex-direction: column;
	}
}
@media (max-width: 500px) {
.knowledge-related-cards {
}
	.knowledge-card {
	}
}

/**一覧ページ親**/
.h1--block--wcta {
padding-bottom: 140px!important;
}
.knowledge-cat-group {
margin-top: 2rem!important;
}
.knowledge-cat-wrap {
margin-top: 80px!important;
}
.knowledge-cat-box {
position: relative;
background: #F9F9F9;
border-left: 3px solid #146352;
padding: 40px 50px;
justify-content: flex-start;
align-items: stretch !important;
max-width: 900px;
margin: 0 auto;
}
.knowledge-cat-box p {
margin: 0!important;
}
.knowledge-cat-box p:first-child {
font-size: 1rem;
font-weight: 600;
}
.knowledge-cat-box h2 {
margin: 0 0 15px 0!important;
color: #146352;
border: 0!important;
padding: 0!important;
}
.knowledge-cat-link {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 100%;
}
.knowledge-cat-imgbox {
display: flex;
justify-content: center;
align-items: center;
max-width: 310px;
}
@media (max-width: 967px) {
.knowledge-cat-wrap {
margin-top: 0px!important;
}
.knowledge-cat-box {
flex-direction: column;
justify-content: center;
align-items: center;
gap: 20px;
padding: 40px 30px;
}
.knowledge-cat-box .wp-block-column:first-child {
order: 2;
}
.knowledge-cat-box .wp-block-column:nth-child(2) {
margin: 0 auto;
}
.h1--block--wcta {
padding-bottom: 80px!important;
}
}
@media (max-width: 500px) {
.knowledge-cat-box {
padding: 20px;
}
.knowledge-cat-imgbox {
max-width: 260px;
}
.h1--block--wcta {
padding-bottom: 60px!important;
}
}

/**投稿ページ**/
.knowledge-h1-block {
  padding-left: 0!important;
  padding-right: 0!important;
}
.knowledge-h1-block-inner {
  max-width: 1120px;
  width: calc(100% - 80px)!important;
  margin-bottom: 30px;
}
.knowledge-h1-block-inner .breadclumb {
  width: 100%!important;
}
.knowledge-post-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.widget_knowledge_parent {
  max-width: 250px;
  width: 100%;
  background: white;
  margin-top: calc(var(--v228-px) * -0.6);
  z-index: 100;
}
.knowledge-parent-categories li {
  border: 1px solid #D4D4D4;
  border-bottom: 0;
  padding: 10px 15px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.knowledge-parent-categories li:last-child {
  border-bottom: 1px solid #D4D4D4;
}

.arrow-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: #146352;
  margin-right: 8px;
}

.arrow-line {
  width: 6px;
  height: 6px;
  border-right: 1px solid white;
  border-bottom: 1px solid white;
  transform: rotate(315deg);
  transform-origin: center;
  position: absolute;
  margin-left: -3px;
}
.knowledge-post-container h1 {
  border-bottom: 2px solid #146352;
  padding-bottom: 1.5rem;
}
.article-detail-box {
  display: flex;
justify-content: space-between;
margin-top: 10px;
}
.article-detail-box .post-categories a {
background: #f0f0f0;
  padding: 2px 10px;
  font-size: var(--f11-px);
    line-height: 1.5;
    width: max-content !important;
    padding: var(--v4-px) var(--v8-px);
    border: 1px solid var(--line-color, #ccc);
    background: var(--base-color2, #f2f0ed);
}
.knowledge-author {
  font-size: 1rem;
}
.cv--section:last-child {
  display: none!important;
}
@media (max-width: 967px) {
  .knowledge-h1-block {
    padding-left: 15px!important;
    padding-right: 15px!important;
    padding-top: 60px !important;
  }
  .knowledge-h1-block-inner {
    margin-bottom: 0;
	  width: 100%!important;
	  max-width: 100%;
  }
  .knowledge-h1-block-inner .breadclumb {
    margin-bottom: 10px;
  }
.knowledge-post-container {
  flex-direction: column;
  max-width: 100%;
}
.knowledge-post-container .wrap {
  width: 100%;
}

.knowledge-post-container {
padding: 0 15px;
}
.widget_knowledge_parent {
  margin-top: 0!important;
max-width: none;
width: 100%;
}
.article-detail-box .post-categories a {
  padding: 0 10px 2px 10px;
}
.article-detail-box {
  flex-direction: column;
gap: 0px;
}
.article_date {
  margin: 0!important;
}
}

.section-title {
color: #146352!important;
border: 0!important;
padding-bottom: 0!important;
}
.page-template .wrap {
}
.knowledge-list-tag {
display: flex;
justify-content: flex-start;
align-items: stretch;
gap: 30px;
width: 100%;
flex-wrap: wrap;
}
.knowledge-list {
display: flex;
justify-content: flex-start;
align-items: flex-start;
gap: 30px;
width: 100%;
flex-wrap: wrap;
}
.knowledge-item {
width: 100%;
max-width: calc((100% - 90px) / 4);
}

.knowledge-title {
background: none!important;
margin: 10px 0!important;
padding: 0!important;
border: 0;
font-size: var(--f16-px)!important;
line-height: 1.65!important;
font-weight: 500!important;
text-decoration: none;
}
.knowledge-title::before {
display: none!important;
}
.knowledge-cat {
margin: 0!important;
}
.knowledge-cat span {
background: var(--base-color2, #f2f0ed);
padding: var(--v2-px) var(--v4-px);
font-size: 0.62rem;
border: 1px solid var(--line-color, #ccc);
}
.knowledge-cat-child-wrap .cta-section {
margin-top: 0!important;
}
.knowledge-cat-child-wrap .wrap:first-child {
margin-top: calc(var(--v228-px) * -0.6)!important;
}
.knowledge-cat-child-wrap .cta-link {
margin-top: 0!important;
}
.knowledge-item-cat {
display: flex;
justify-content: flex-start;
align-items: flex-start;
margin-bottom: 30px;
}
.arrow-circle-cat {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: #146352;
  margin-right: 8px;
}
.knowledge-title-cat {
    width: calc(100% - 33px);
    margin-top: 0!important;
    background: none!important;
    padding: 0!important;
    line-height: 1.4!important;
}

.arrow-line-cat {
  width: 8px;
  height: 8px;
  border-right: 1px solid white;
  border-bottom: 1px solid white;
  transform: rotate(315deg);
  transform-origin: center;
  position: absolute;
  margin-left: -3px;
}

.knowledge-title-cat::before {
display: none!important;
}
.section-title-cat {
    background: #F2F0ED;
    height: 50px;
    padding: 0 10px;
    line-height: 1.2 !important;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: black !important;
    max-width: 380px;
    font-size: 1.2rem !important;
    min-height: 80px;
}
.knowledge-list-cat {
margin-top: 10px!important;
}
.child-category-box {
padding-top: 0!important;
margin-top: 0!important;
}
.child-category-box-first {
padding-top: 6.5rem!important;
}

@media (max-width: 1100px) {
.knowledge-item {
max-width: calc((100% - 30px) / 2);
}
}

@media (max-width: 967px) {
.knowledge-item {
max-width: 100%;
}
.page-template .wrap {
margin-top: 0px;
}
.knowledge-cat-child-wrap .wrap:first-child {
margin-top: 0!important;
}
.knowledge-item-cat {
margin-bottom: 20px;
}
.knowledge-content {
gap: 20px!important;
}
.section-title-cat {
max-width: 100%;
min-height: 100px;
margin-top: -10px !important;
}
.arrow-circle-cat {
width: 1.5rem;
height: 1.5rem;
margin-top: 4px!Important;
}
.arrow-line-cat {
margin-top: 2px;
}
.child-category-box {
padding-bottom: 25px!important;
}
.child-category-box-first {
padding-top: 4rem!important;
}
.knowledge-title-cat {
font-size: var(--f16-px) !important;
}
}
@media (max-width: 500px) {

}
