.timeline {
  list-style: none;
}
.timeline > li {
  margin-bottom: 60px;
}

/* for Desktop */
@media ( min-width : 640px ){
  .timeline > li {
    overflow: hidden;
    margin: 0;
    position: relative;
  }
  .timeline-date {
    width: 110px;
    float: left;
    margin-top: 20px;
  }
  .timeline-content {
    width: 75%;
    float: left;
    border-left: 3px #e5e5d1 solid;
    padding-left: 30px;
  }
  .timeline-content:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #6fc173;
    position: absolute;
    left: 106px;
    top: 24px;
    border-radius: 100%;
  }
}


/* ---------- ストークタブ機能用CSS ---------- */
.post-tab-list ul.tab-list {
	display: flex;
}
 
.post-tab-list ul li {
	flex-direction: row;
	width: 25%;
	text-align: center;
	cursor: pointer;
	padding: 10px;
	position: relative;
	background-color: rgba(189,189,189,.17);
}
 
.post-tab-list ul li.selected {
	background-color: #ff7d44;	/* 選択中のタブの背景色 */
	color: #fff; 			/* 選択中のタブの文字色 */
	font-weight: bold;
}
 
.post-tab-list ul li:not(:first-child){
	margin-left: 5px;
}
 
.post-tab-list ul li.selected::after {
	position: absolute;
	content: "";
	bottom: -8px;
	left: 50%;
	margin-left: -8px;
	opacity: 1;
	width: 0;
	height: 0;
	border-top: 8px solid #2b2b2b;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top-color: #ff7d44;	/* 選択中のタブの下矢印の色 */
}
 
.ptl, #main > .top-post-list.unselected, #main > .post-list-card.unselected, #main > .post-list-magazine.unselected, .pagination.unselected {
 display: none;
}
 
.ptl.selected {
	display: block;
}
 
@media only screen and (max-width: 767px) {
	.post-tab-list ul.tab-list {
		display: flex;
		flex-wrap: wrap;
	}
 
	.post-tab-list ul li {
		width: calc(50% - 8px);
	}
	
	.post-tab-list ul li:nth-child(odd){
		margin: 0 4px 4px 0;
	}
 
	.post-tab-list ul li:nth-child(even){
		margin: 0 0 4px 0;
	}
	
	.post-tab-list ul li.selected::after {
		content: none;
	}
}




/*トップページ人気記事用のウィジェット*/
.popular-posts .cardtype__article-info {
    padding-top: 0.5em;
}
.popular-posts .cardtype__link {
    padding-bottom: 10px;
}
.popular-posts.cardtype {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -moz-box;
    display: flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
.popular-posts .cardtype__article {
  width: 48%;
  margin: 0 0 25px;
}
.popular-posts .cardtype__article:nth-child(odd){
  margin-right: 4%;
}
.popular-posts .cardtype__article p {
  margin: 0; 
}
.popular-posts.cardtype h2 {
    margin: 0 5px;
    font-size: 15px;
}