@charset "utf-8";
/* CSS Document */
/*過去記事タブ*/
img {
	width: 100%;
}
.p_sub_list {
	width: 100%;
	box-sizing: border-box;
	border-top: solid 2px #333;
	padding-top: 50px;
	margin-top: 30px;
}

ul#tab_list {
	width:100%;
	max-width: 1000px;
	margin:auto;
	position:relative;
	cursor:pointer;
	text-align:center;
	display: flex;
	flex-wrap: wrap;
}
ul#tab_list li {
	width: 25%;
}
ul#tab_list li p {
	font-size: 22px;
	font-weight: 700;
	color:#000;
	padding: 20px 0;
	background:#eaebf1;
	line-height:1.5;
	width: 90%;
	margin: auto;
	border-bottom: solid 20px #fff;
	box-sizing: border-box;
	height: 115px;
}
ul#tab_list li p span {
	font-size: 60%;
	display: block;
	font-weight: 400;
}
ul#tab_list li p:hover {
	background:#f4f4f4;
}
ul#tab_list li.active p {
	background:#21366e;
	color: #fff;
}

/*過去記事レイアウト*/
#tab-content {
	margin-top: 20px;
	border-bottom:3px solid #ddd;
	padding:15px 15px 80px 15px;
	background:#fafafa;
	display:inline-block;
	font-size: 13px;
	font-weight: 400;
	color:#333;
	box-sizing: border-box;
	width: 100%;
}
.styletag {
	width: 100%;
	max-width: 1000px;
	margin: auto;
}
.styletag h3 {
	font-size: 50px;
	text-align: center;
	margin-bottom: 100px;
	padding-top: 50px;
	position: relative;
	line-height: 60px;
	font-weight: 700;
	box-sizing: border-box;
	color: #21366e;
}
.styletag h3 span {
	font-size: 14px;
	line-height: 20px;
	display: block;
	font-weight: 400;
	color: #000;
}
.styletag h3::after {
	content: "";
	width: 2px;
	height: 30px;
	background: #21366e;
	position: absolute;
	bottom: -40px;
	left: 50%;
	-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
}
.styletag ul {
    width: 100%;
	display: flex;
	flex-wrap: wrap;
    margin: auto;
    padding: 0;
}
.styletag ul li {
    opacity: 1;
    list-style: none;
	width: 21.25%;
	margin-right: 5%;
    margin-bottom: 25px;
    text-align: left;
    height: auto;
    line-height: 1;
    font-size: 13px;
    transition: all 0.4s ease 0s;
}
.styletag ul li:nth-of-type(4n) {
	margin-right: 0;
}
.styletag ul li.is-hidden {
    opacity: 0;
    height: 0;
    margin: 0;
}
.styletag ul li.is-hidden a {
  pointer-events: none;
}
.styletag ul li a > span {
	overflow: hidden;
	cursor: pointer;
	width: 100%;
	display: block;
}
.styletag ul li a > span img {
  height: auto;
  transition: transform .6s ease; /* ゆっくり変化させる */
}
.styletag ul li a:hover img {
  transform: scale(1.1); /* 拡大 */
}
.styletag ul li p {
	display: block;
	font-size: 100%;
	padding: 5px 3px;
	line-height: 1.5;
	text-align: left;
	box-sizing: border-box;
}

.styletag ul li p span {
	display: inline-block;
	padding-left: 5px;
	box-sizing: border-box;
}
.styletag > p {
    text-align: center;
    margin-top: 20px;
}
button {
    background-color: #333;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0 60px;
    height: 50px;
    line-height: 50px;
    width: auto;
    border-radius: 4px;
	color: #fff;
	font-size: 16px;
	font-family:"游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
button:hover {
	background: #999;
	-webkit-transition: 0.8s;
	-moz-transition: 0.8s;
	-o-transition: 0.8s;
	-ms-transition: 0.8s;
	transition: 0.8s;
}
.more1.is-btn-hidden,
.more2.is-btn-hidden,
.more3.is-btn-hidden,
.more4.is-btn-hidden,
.more5.is-btn-hidden,
.more6.is-btn-hidden,
.more7.is-btn-hidden {
	display: none;
}






@media screen and (max-width: 767px) {
	.p_sub_list {
		padding-top: 8vw;
		margin-top: 4vw;
	}
	ul#tab_list {
		width: 94%;
		margin: auto;
	}
	ul#tab_list li {
		width : calc(100% / 3) ;
		box-sizing: border-box;
		margin: 0;
		padding: 0 1% 0 0;
	}
	ul#tab_list li:nth-child(1) {
		width: 100%;
		padding: 0 0.5% 0 0.5%;
	}
	ul#tab_list li:nth-child(4),
	ul#tab_list li:nth-child(7){
		padding: 0 0.5% 0 0.5%;
	}
	ul#tab_list li:nth-child(2),
	ul#tab_list li:nth-child(5),
	ul#tab_list li:nth-child(3),
	ul#tab_list li:nth-child(6){
		padding: 0 0 0 0.5%;
	}
	ul#tab_list li p {
		width: 100%;
		font-size: 14px;
		padding: 10px 0;
		border-bottom: solid 5px #fff;
		margin: 0;
		text-align: center;
		box-sizing: border-box;
		height: 62px;
	}
	ul#tab_list li p span {
		font-size: 10px;
	}
	ul#tab_list li p:hover,
	button:hover {
		pointer-events: none;
	}
	
	
	/*過去記事レイアウト*/
	.styletag h3 {
		font-size: 5vw;
		margin-bottom: 10vw;
		padding-top: 4vw;
		line-height: 8vw;
	}
	.styletag h3 span {
		font-size: 3vw;
		line-height: 4vw;
	}
	.styletag h3::after {
		height: 3vw;
		bottom: -4vw;
	}
	.styletag ul li {
		width: 47.5%;
		margin-right: 5%;
		margin-bottom: 2vw;
		line-height: 1;
		font-size: 3vw;
	}
	.styletag ul li:nth-of-type(4n) {
		margin-right: initial;
	}
	.styletag ul li:nth-child(even) {
		margin-right: 0;
	}
	.styletag ul li p {
		font-size: 13px;
	}
	.styletag ul li p span {
		font-size: 12px;
	}
	button {
		font-family : "メイリオ", Meiryo,"ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;
	}
	
}






