/*
 * Copyright (C) SPREAD WORKS Inc. All Rights Reserved.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/* --------------------------------------------------
 投稿リスト
 -------------------------------------------------- */
 .tabacms_post_list {
	list-style: none;
	padding: 0;
}

.tabacms_post_list .row {
	margin-left: 0px !important;
	margin-right: 0px !important;
	padding-bottom: 0px !important;
}

.tabacms_post_list li {
	/*margin-bottom: 16px;*/

}

.tabacms_post_list li time {
	margin-right: 16px;
	margin-bottom: 16px;
	display: inline-block;
}

.tabacms_post_list li label {
	background-color: #cccccc;
	color: #ffffff;
	text-align: center;
	padding: 3px 5px 3px 5px;
	font-size: 10px;
	min-width: 130px !important;
	display: inline-block;
	float: right;
}

/* --------------------------------------------------
 カテゴリーリスト
 -------------------------------------------------- */
.tabacms_category_list {
	list-style: none;
	padding: 0;
}

.tabacms_category_list .row {
	margin-left: 0px !important;
	margin-right: 0px !important;
	padding-bottom: 0px !important;
}

.tabacms_category_list li {
	margin-bottom: 10px;
}

/* --------------------------------------------------
 タグクラウド
 -------------------------------------------------- */
.tabacms_tagcloud_list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
}

.tabacms_tagcloud_list li {
}

.tabacms_tagcloud_list .tabacms_tagcloud {
	display: inline-block;
	padding:5px  10px;
	line-height: 0;
}

.tabacms_tagcloud_list .tabacms_tagcloud:hover {
	text-decoration: underline !important;
}

.tabacms_tagcloud_list .tabacms_tagcloud_1 { font-size: 0.6rem; }
.tabacms_tagcloud_list .tabacms_tagcloud_2 { font-size: 0.8rem; }
.tabacms_tagcloud_list .tabacms_tagcloud_4 { font-size: 1.6rem; }
.tabacms_tagcloud_list .tabacms_tagcloud_5 { font-size: 2.0rem; }

/* --------------------------------------------------
 Thumbnail
 -------------------------------------------------- */
 .tabacms_thumbnail_wrapper {
	margin: 5px 0px 16px 0px !important;
	padding: 0 !important;
	position: relative;
	width: 100%;
	border: solid 1px #ffffff;
}

.tabacms_thumbnail_wrapper:before {
	content: "";
	display: block;
	padding-top: 56.25%;
}

.tabacms_thumbnail_wrapper .tabacms_thumbnail {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	overflow: hidden;
	margin: 0 !important;
	padding: 0 !important;
}

.tabacms_thumbnail_wrapper .tabacms_thumbnail img {
	height: 100%;
    width: auto;
    margin: 0 auto;
}

/* --------------------------------------------------
 Ellipsis
 -------------------------------------------------- */
.tabacms_ellipsis {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tabacms_ellipsis_2 {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
    min-height: 50px;
    max-height: 50px;
}

.tabacms_ellipsis_3 {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

/* --------------------------------------------------
 投稿リスト(ブログタイプ)
 -------------------------------------------------- */
.tabacms_blog_list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-flow: wrap;
}

.tabacms_blog_list article {
	clear: both;
	margin-bottom: 16px;
	overflow: hidden;
}

.tabacms_blog_list .tabacms_detail time {
	font-size: 0.9em;
	display: block;
	margin: 0px 0px 10px 0px;
	font-weight: bold;
	/* float: right; */
	clear: both;
}

.tabacms_blog_list .tabacms_detail label {
	background-color: #cccccc;
	color: #ffffff;
	text-align: center;
	font-size: 0.7em;
	display: inline-block;
	margin: 0px 0px 10px 0px;
	padding: 3px 5px 3px 5px;
	clear: both;
}

.tabacms_blog_list .tabacms_detail h2 {
	font-size: 1.0em;
	margin: 0px 0px 10px 0px;
	clear: both;
}

.tabacms_blog_list .tabacms_detail p {
	font-size: 0.9em;
	margin: 0px 0px 10px 0px;
}

.tabacms_blog_list .tabacms_detail .tabacms_readmore {
	font-size: 0.9em;
	display: inline-block;
	float: right;
}

/* --------------------------------------------------
 投稿(ブログタイプ)
 -------------------------------------------------- */
.tabacms_post {
	margin-bottom: 16px;
}

.tabacms_post header h1 {
	font-size: 1.5em;
	margin-bottom: 16px;
}

@media screen and (max-width: 767px) {
	.tabacms_post header h1 {
		font-size: 1.0em;
	}
}

.tabacms_post header time {
	display: block;
	margin-bottom: 10px;
	font-size: 0.9em;
	float: right;
	clear: both;
}

.tabacms_post label {
	background-color: #cccccc;
	color: #ffffff;
	text-align: center;
	padding: 3px 5px 3px 5px;
	font-size: 10px;
	min-width: 130px !important;
	display: inline-block;
	margin-top:0;
	margin-bottom: 20px;
}

/* --------------------------------------------------
 ウィジット
 -------------------------------------------------- */
.tabacms_widget {
	margin-bottom: 25px;
}

.tabacms_widget h2,
.tabacms_widget h4 {
	font-size: 1.0em;
	margin-bottom: 16px;
	font-weight: bold;
}


/* --------------------------------------------------
 変更
 -------------------------------------------------- */
 .ec-layoutRole .ec-layoutRole__contents {
    max-width: 100%;
}

 .tabacms_blog_list li {
    width: calc(98% / 3) !important;
    border: 1px solid #ccc;
    margin: 0 5px 5px 0;
    border-radius: 5px;
}

.recoreco .tabacms_thumbnail_wrapper{
	height: 105px;
}
.recoreco .tabacms_blog_list li {
    width: calc(92% / 4) !important;
    border: 1px solid #ccc;
    margin: 0 5px 5px 0;
    border-radius: 5px;
    margin: 0.5rem;
    border-radius: 10px;
    padding: 1rem;
}
.recoreco .tabacms_blog_list li .tabacms_readmore{
	font-size: 0.9em;
    text-align: center;
    display: block;
    width: 100%;
    border: none;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.recoreco .tabacms_thumbnail_wrapper .tabacms_thumbnail img{
	width: 100%;
    height: 100px;
	object-fit: cover;
    object-position: 0px 0px;
}

.tabacms_thumbnail {
    text-align: center;
}
.tabacms_thumbnail img{
	margin: 10px 0;
}
.input-group-btn button {
    border: 1px solid #25283D;
}
.form-control{
	border: 1px solid #25283D
}
.tabacms_blog_list .tabacms_detail label{
	background-color: #25283D;
	border-radius: 3px;
}
.tabacms_blog_list .tabacms_detail p {
    border-top: 1px solid #25283D;
    padding-top: 10px;
}


.tipsH4{
    background: #25283D;
    padding: 15px;
    color: #fff;
    border-radius: 5px 5px 0px 0px;
    margin-bottom: 0!important;
}
.tabacms_category_list{
	border: #25283D 1px solid;
	padding-top: 15px;
}
.tabacms_category_list li {
    border-bottom: 1px solid #25283D;
    padding: 10px;
}
.tabacms_category_list li:last-child{
	border: none;
}
.tabacms_category_list li::before {
    content: '■';
}
.tabacms_tagcloud_list {
    border: 1px solid #25283D;
    padding: 15px 5px;
}
.tabacms_tagcloud_list li {
    background: lavender;
    padding: 5px 0;
    border-radius: 5px;
    margin: 3px;
}

.tabacms_readmore {
    border-bottom: 2px #999 dotted;
}

.text-nowrap {
    padding: 5px !important;
	background: #25283D!important;
	border-radius: 3px;
	margin-left: -15px;
	font-size: 13px;
}

.eachblog {
    position: relative;
    background: #FFF;
    font-size: 18px;
    padding: 20px 10px 20px 115px;
    border: 1px solid #000;
    border-radius: 5px;
}


/*コラムTOPフラッグ部分*/
.eachblog   .fa-star::before{
	content: "コラム";
  }

.eachblog span {
    display: inline-block;
    position: absolute;
    top: 0px;
    left: 20px;
    padding: 23px 0 44px 0;
    z-index: 2;
    width: 80px;
    text-align: center;
    color: #FFF;
    font-size: 18px;
    background-color: #cb0000;
}

.eachblog span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-bottom: 20px solid #FFF;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
}


  
/* ECCO 改修*/
/* .tabacms_type_news .blog_toc{
	display: none;
} */

.blog_toc {
    padding: 30px;
    background-color: #EEE;
	text-decoration: underline;
	text-decoration-color:#AAA;
	margin-bottom: 2rem;
}

.blog_toc::before {
    background: #eee;
    width: 100px;
    height: 35px;
    content: "目次";
    top: -31px;
    margin-top: 0px;
    position: absolute;
    left: 15px;
    padding: 8px;
    text-align: center;
    border-radius: 5px 5px 0 0;
    font-weight: bold;
}
.blog_toc li:hover {
    cursor: pointer;
    opacity: 0.4;
}
.blog_toc .blog_toc_h2 {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 18px;
}
.blog_toc .blog_toc_h2:before {
	content: '◆ ';
	color: #333;
}
.blog_toc_h3 {
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.blog_toc_h4::before {
	content: '》';
  }
  .blog_toc_h4 {
	margin: 10px 50px;
  }

/* ECCO SP改修*/
@media screen and (max-width: 766px) {
	.eachblog {
		padding: 10px 10px 10px 23%!important;
	}
	.blog_toc .blog_toc_h2 {
		font-weight: bold;
		font-size: 1rem;
		margin-bottom: 10px;
	}
	.blog_toc_h3 {
		padding-left: 15px;
		margin-bottom: 5px;
	}
	.blog_toc::before {
		left: 10px;
	}
	.blog_toc {
		padding: 10px 5px;
		margin-bottom: 20px;
	}
	.blog_toc_h2:last-child {
		margin-bottom: 3px;
	}
	.blog_toc_heading {
		font-size: 0.8rem;
	}
	.blog_toc::before {
		height: 25px;
		top: -24px;
		padding: 6px;
		font-size: .8rem;
	}
	.recoreco .tabacms_blog_list li {
		width: calc(97% / 2) !important;
		border: 1px solid #ccc;
		margin: 0 5px 5px 0;
		border-radius: 5px;
	}
	.recoreco ul {
		margin: 10px;
	}
	.blog_toc_h4 {
		margin: 10px 15px;
	  }
}






/* Author 改修*/
.blog_author {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #BBC5F2;
    border-radius: 8px;
}
.blog_author .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: inherit;
    font-weight: bold;
}

.him {
    width: 10%;
    display: inline-flex;
	margin-top: 10px;
}
.him img{
	width: 100%!important;
	margin: 0!important;
	max-width: 100%!important ;
}
.blog_author ul{
    display: inline-block;
    width: 86%;
    margin-left: 15px;
    vertical-align: top;
	margin-top: 12px;
}
.blog_author ul li:first-child{
    background: #dbebfbd6;
    padding: 5px;
    font-weight: bold;
    margin-bottom: 10px;
}

.add_line{
    border-bottom: 1px solid #ccc;
    padding-bottom: 35px;
	margin-top: 25px;
}

/* Author SP改修*/
@media screen and (max-width: 766px) {
	.blog_toc{
		display:block
	}
	.him {
		width: 20%;
		align-items: flex-start;
	}
	.blog_author ul{
		width: 72%;
	}
	.blog_author .box-title {
		top: -8px;
		font-size: 1rem;
	}
	.add_line{
		margin-top: 15px;
	}
}



@media screen and (min-width: 767px) {
	.col-md-3 {
		width: 25%!important;;
	}
	
}

/* Header用スマホ画面のみにきかせるCSS*/
@media screen and (max-width: 766px) {
	.tabacms_blog_list li{
		width: 100%!important;
	}
	.eachblog{
		line-height: 25px;
		padding: 10px 10px 10px 78px;
	}
	.eachblog span {
		width: 60px;
}
.eachblog span::after {
	border-left: 30px solid #1874E1;
	border-right: 30px solid #1874E1;
  }
  .eachblog   .fa-star::before{
	  font-size: 13px;
  }
  .eachblog span {
    left: 10px;
	}
	.col-md-3{
	margin: initial;
    border-top: 3px solid #f5f5f5;
    padding-top: 30px;
	}
}

/* コンテンツ部分*/
.tabacms_body .col-xs-12 p{
	margin: 0;
}

.tabacms_body .col-xs-12 img{
	max-width: fit-content;
	width: 100%;
    height: auto;
	margin: 30px auto;
	display: block;
	box-shadow: 0 10px 25px 0 rgb(0 0 0 / 50%);
}



.tabacms_body .col-xs-12 h2::before{
	content: "◆ ";
	color: #525263;
}

.tabacms_body .col-xs-12 h2{
	padding-bottom: 5px;
	font-weight: bold;
	font-size: 1.3rem;
	margin: 20px 0;
	background-image: none!important;
	color: #525263;
}




.eachblog span {
    display: inline-block;
    position: absolute;
    top: 0px;
    left: 20px;
    padding: 23px 0 44px 0;
    z-index: 2;
    width: 80px;
    text-align: center;
    color: #FFF;
    font-size: 18px;
    background-color: #cb0000;
}

.eachblog span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-bottom: 20px solid #FFF;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
}

/* Header用スマホ画面のみにきかせるCSS*/
@media screen and (max-width: 766px) {
	.eachblog span::after {
		border-bottom: 15px solid #FFF;
		border-left: 30px solid transparent;
		border-right: 30px solid transparent;
	}
	.eachblog span {
		width: 61px;
		left: 10px;
	}
}

  .tabacms_body .col-xs-12 h3{
	padding: .5em;
	background: #EEE;
	font-weight: bold;
	font-size: 1.2rem;
	margin-bottom: 15px;
}
.tabacms_body .col-xs-12 h4 {
    font-size: 1rem;
	font-weight: bold;
	line-height: 2rem;
	margin: 15px 0 ;
	border-bottom: 2px solid #333!important;
}
.tabacms_body .col-xs-12 h4::before {
    content: "■";
    color: #333;
    margin-right: 5px;
}


@media screen and (max-width: 766px) {
	.col-xs-12{
		padding-right: 10px;
		padding-left: 10px;
	}
	.tabacms_body div:first-child > img {
		width: 100%;
		max-width: 100% !important;
		margin: 0 auto 3rem auto !important;

	}
	.tabacms_body .col-xs-12 h2{
		font-size: 1rem;
	}
	.tabacms_body .col-xs-12 p {
		margin: 0;
	}
	.tabacms_body .col-xs-12 h4{
		margin: 0;
	}
}

/* プラスへ誘導ボタン*/

a.btn_blue {
    display: block;
	width: 80%;
    margin: 20px auto;
    padding: 1rem 1rem;
    background-color: #DA563D!important;
    border-radius: 8px;
	box-sizing: border-box;
    text-decoration: none;
    transition: 0.3s;
	text-decoration: initial !important;
	box-shadow: 5px 5px 10px 0 #ccc;
}
a.btn_blue span.bl__text {
    display: block;
    position: relative;
    color: #fff;
    font-size: 16px;
	font-weight: bold;
    text-align: center;
    padding-right: 30px;
}
a.btn_blue span.bl__text:before {
    content: '';
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
a.btn_blue span.bl__text:after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 3px solid #1755aa;
    border-right: 3px solid #1755aa;
  box-sizing: border-box;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 7.5px;
    bottom: 0;
    margin: auto;
    transition: 0.3s;
}
a.btn_blue:hover {
    background-color: #01b5d0;
}
a.btn_blue:hover span.bl__text:after {
    border-top: 3px solid #01b5d0;
    border-right: 3px solid #01b5d0;
}
@media screen and (max-width: 766px) {
	a.btn_blue {
		width: 100%;
	}
}


/* BUYMA風改修*/

.blogcard {
    display: inline-flex;
	width: 80%;
	margin: 20px 10%;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px 10px;
    box-shadow: 5px 5px 10px 0 #ccc;
}
.blogcard:hover {
	-webkit-transform: translateY(-4px);
   	-ms-transform: translateY(-4px);
   	transform: translateY(-4px);/* 少し浮く */
       opacity: 0.7;
}
.blogcard img{
	box-shadow: none !important;
}
.B_left{
    width: 30%;
    text-align: center;
    vertical-align: middle;
}
.B_left img{
	width: 90%!important;
	max-width: initial!important;
	margin: 0 auto!important;
}
.B_right{
    width: 70%;
}
.B_right h3 {
    background: #DA563D!important;
    color: #fff;
    padding: 8px;
    border-radius: 5px;
}
.B_right p{
    line-height: 1.5;
    margin: 10px 0;
}

.tabacms_type_news .eachblog span{
	background: none;
}
.tabacms_type_news .eachblog .fa-star::before {
    content: initial;
}


/* --------------------------------------------------
 Youtube
 -------------------------------------------------- */
.youtube_wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
}
.youtube_wrap iframe {
    width: 100%;
    height: 100%;
}


/* コラムからの差別化*/

.tabacms_type_news .blog_toc::before {
	background: #EEE;
}
.tabacms_type_news .blog_toc {
	border: 5px solid #EEE;
}
.tabacms_type_news .blog_toc_h3::before {
	color: #ffb5a8;
}
.tabacms_type_news  .col-xs-12 h2 {
	border-bottom: 3px solid #ffb5a8;
}
.tabacms_type_news .blog_toc_h2::before {
	color: #525263;
}
.tabacms_type_news .col-xs-12 h2:first-letter {
	color: #e48876;
}
.tabacms_type_news  .col-xs-12 h3 {
	background: -webkit-repeating-linear-gradient(-45deg, #fff, #fff 3px,#ffeae6 3px, #ffdbd5 7px);
	background: repeating-linear-gradient(-45deg, #fff, #fff 3px,#ffeae6 3px, #ffdbd5 7px);
}


@media screen and (max-width: 1200px) {
    .container {
        width:100%;
    }
}

@media screen and (max-width: 992px) {
    .container {
        width:100%;
    }
}

@media screen and (max-width: 767px) {
    .container {
        width:100%;
        padding: 0 10%;
		margin: initial;
    }
	.B_left{
		width: 100%;
	}
	.B_left img{
		max-width: 65%!important;
	}
	.B_right{
		width: 100%;
	}
	.B_right p{

		margin: 5px;
	}
    .tabacms_type_news {
        padding-left: initial;
        padding-right: initial;
    }
    .col-xs-12 > p {
        margin: initial;
    }
    
    .blogcard {
        width: 100%;
        margin: 20px 0;
		display: block;
    }
    .tabacms_type_news h1::before {
        right: -96%;
		transform: rotate(-12deg);
    }
	
	.tabacms_type_news .eachblog{
		padding: 0 10px!important;
	}
	.tabacms_type_news .col-xs-12 h3 {
		font-size: 1.0rem;
	}
	
}