﻿


.index-tab-buttons .index-tab-button {
  font-weight: 700;
	transition: all .2s;
	border-right: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-bottom: none;
	border-radius: 0;
	margin: 0;
}

.tab-cont {
	justify-content: flex-start;
	background-color: #fff;
	animation: auto !important;
	border: 1px solid #ddd;
}

.home .list .entry-card-wrap {
	padding: 0;
	margin: 0;
	transition: all .4s ease-out; /* マウスオンでズーム */
}

.home .list .entry-card-wrap:nth-of-type(7) {
	display: none;
}

.home .list .entry-card-content {
	padding-bottom: 0;
}

.home .list .entry-card-thumb {
  overflow: hidden; /* マウスオンでズーム */
  z-index: 1;  /* マウスオンでズーム (Safari対策) */
}

.home .list .entry-card-thumb img {
  transform: scale(1.0); /* マウスオンでズーム */
  transition: all .4s ease-out; /* マウスオンでズーム */
  -webkit-backface-visibility: hidden; /* マウスオンでズーム */
  backface-visibility: hidden; /* マウスオンでズーム */
}

.home .list .entry-card-wrap:hover img {
  transform: scale(1.1); /* マウスオンでズーム */
}

.home .list .entry-card-wrap .entry-card-content {
  transition: all .2s ease-out;
}

.home .list .entry-card-wrap:hover .entry-card-content {
  opacity: .5;
}

.home .tab-cont .cat-label {
	display: none;
}

.home .list .entry-card-title {
	margin: 0;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-height: 3.0em; /* IE向け (標準値に行数を掛ける) */
}

.home .list .entry-card-meta {
	display: none;
}

.home .common-entry-link:nth-of-type(5) {
	display: none;
}

#index-tab-1:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-1"],
#index-tab-2:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-2"],
#index-tab-3:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-3"],
#index-tab-4:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-4"],
.index-tab-buttons .index-tab-button:hover {
  background: none #fff;
	border-right: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-bottom: none;
  color: #333;
	position: relative;
}

#index-tab-1:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-1"]:after,
#index-tab-2:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-2"]:after,
#index-tab-3:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-3"]:after,
#index-tab-4:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-4"]:after {
  content: "";
	position: absolute;
	right: 0;
	left: 0;
	width: 100%;
	background-color: #fff;
}

.home .list {
	margin-top: 0;
}

.home-common-more {
	text-align: center;
}

.tab-cont .home-common-more {
	display: none;
}

.show-home-common-more + .home-common-more {
	display: block;
}

.home-common-more-link {
	display: inline-block;
	background-color: #969a9e;
	border: none;
	color: #fff;
	position: relative;
	font-weight: bold;
	transition: all .1s;
}

.home-common-more-link::after {
	font-family: "Font Awesome 5 Free";
	content: "\f105";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.home-common-more-link:hover {
	background-color: #969a9e;
	color: #fff;
	transition: all .1s;
	opacity: .7;
}


/* ＝＝＝＝＝ 停止中 (必要に応じて運用) ＝＝＝＝＝ */

/**  トップページのタブの上限数設定 (追加したい序列を記述)
#index-tab-5:checked ~ .tab-cont.tb5 {
  display: block;
  animation: tab-index-show .3s ease-in;
}
**/


@media (max-width: 374px) {

	.home .list .entry-card-wrap {
		width: 100%;
	}

	.home .list .entry-card-wrap:not(:first-of-type) {
		margin-top: 20px;
	}

	.index-tab-buttons .index-tab-button {
		padding: 8px 0;
	}

	.home-common-more-link {
		padding: 8px 30px;
		font-size: 11px;
	}

}


@media (min-width: 375px) and (max-width: 767px) {

	.home .list .entry-card-wrap {
		width: 50%;
		width: calc(((100% - 10px)/2) - .01px);
		width: -webkit-calc(((100% - 10px)/2) - .01px);
		width: -moz-calc(((100% - 10px)/2) - .01px);
		margin-right: 10px;
	}

	.home .list .entry-card-wrap:nth-of-type(2n) {
		margin-right: 0;
	}

	.home .list .entry-card-wrap:nth-of-type(n+3) {
		margin-top: 20px;
	}

	.index-tab-buttons .index-tab-button {
		padding: 8px 10px;
	}

	.index-tab-buttons .index-tab-button:not(:last-of-type) {
		margin-right: 6px;
	}

	.home-common-more-link {
		padding: 8px 30px;
		font-size: 12px;
		letter-spacing: .04em;
	}

}


@media (max-width: 767px) {

	.tab-cont {
		padding: 20px 10px;
	}

	.tab-cont {
		border-radius: 0 0 3px 3px;
		box-shadow: 0 1px 3px rgb(0 0 0 / 6%);
	}

	.home .list .entry-card-thumb {
		margin-bottom: 8px;
	}

	.home .list .entry-card-title {
		line-height: 1.5;
		font-size: 12px;
	}

	.home .list .entry-card-thumb img {
		border-radius: 2px;
	}

	.home-common-more-link {
		width: 100%;
	}

	.index-tab-buttons {
		margin: 10px 0 0;
	}

	.index-tab-buttons .index-tab-button {
		border-top: 2px solid #aaa;
		box-shadow: 0 1px 3px rgb(0 0 0 / 6%);
		font-size: 10px;
	}

	#index-tab-1:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-1"],
	#index-tab-2:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-2"],
	#index-tab-3:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-3"],
	#index-tab-4:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-4"],
	.index-tab-buttons .index-tab-button:hover {
		border-top: 2px solid #333;
	}

	#index-tab-1:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-1"]:after,
	#index-tab-2:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-2"]:after,
	#index-tab-3:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-3"]:after,
	#index-tab-4:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-4"]:after {
		bottom: -4px;
		height: 4px;
	}

	.index-tab-wrap .home-common-more-link {
		margin-top: 20px
	}

	.home-new-entries .home-common-more-link {
		margin-top: 10px
	}

	.home-common-more-link {
		border-radius: 3px;
		margin-bottom: 0;
	}

	.home-common-more-link i {
		padding-right: .5em;
	}

	.home-common-more-link::after {
		right: 15px;
	}

	.home-new-entries {
		margin-top: 30px;
	}

}


@media (min-width: 768px) {

	.index-tab-buttons {
		margin: 20px 0 0;
	}

	.index-tab-buttons .index-tab-button {
		padding: 8px 16px 9px;
		border-top: 3px solid #aaa;
		box-shadow: 0 1px 6px rgb(0 0 0 / 6%);
		font-size: 12px;
		letter-spacing: .04em;
	}

	.index-tab-buttons .index-tab-button:not(:last-of-type) {
		margin-right: 6px;
	}

	.tab-cont {
		padding: 30px 20px;
	}

	.tab-cont {
		border-radius: 0 0 4px 4px;
		box-shadow: 0 1px 6px rgb(0 0 0 / 6%);
	}

	.home .list .entry-card-wrap {
		width: 33.3333%;
		width: calc(((100% - 40px)/3) - .01px);
		width: -webkit-calc(((100% - 40px)/3) - .01px);
		width: -moz-calc(((100% - 40px)/3) - .01px);
		margin-right: 20px;
	}

	.home .list .entry-card-wrap:nth-of-type(3n) {
		margin-right: 0;
	}

	.home .list .entry-card-wrap:nth-of-type(n+4) {
		margin-top: 30px;
	}

	.home .list .entry-card-thumb {
		margin-bottom: 10px;
	}

	.home .list .entry-card-title {
		line-height: 1.5;
		letter-spacing: .04em;
		font-size: 15px;
	}

	.home .list .entry-card-thumb img {
		border-radius: 4px;
	}

	#index-tab-1:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-1"],
	#index-tab-2:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-2"],
	#index-tab-3:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-3"],
	#index-tab-4:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-4"],
	.index-tab-buttons .index-tab-button:hover {
		border-top: 3px solid #004073;
	}

	#index-tab-1:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-1"]:after,
	#index-tab-2:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-2"]:after,
	#index-tab-3:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-3"]:after,
	#index-tab-4:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-4"]:after {
		bottom: -6px;
		height: 6px;
	}

	.home-common-more-link {
		width: 400px;
		border-radius: 4px;
		padding: 11px 40px;
		margin-top: 30px;
		margin-bottom: 0;
		font-size: 13px;
		letter-spacing: .06em;
	}

	/* Edge (EdgeHTML) */
	_:-ms-lang(x)::backdrop, .home-common-more-link {
		padding: 12px 40px 10px;
	}

	/* Edge (Chromium) */
	_:lang(x)::-ms-, .home-common-more-link {
		padding: 12px 40px 10px;
	}

	.home-common-more-link i {
		padding-right: .5em;
	}

	.home-common-more-link::after {
		right: 15px;
	}

	.home-new-entries {
		margin-top: 40px;
	}

}


@media (max-width: 834px) {

	.index-tab-buttons {
		flex-wrap: nowrap;
	}

}