@charset "UTF-8";

/*---import CSS-----------------------------------*/
@import "base_layout.css";
@import "common_parts.css";
@import "common_setting.css";
/*---import CSS-----------------------------------*/

/*
======== table of content. ===============

summary : 「お知らせ」設定

- main image
- list content
  - section topics
  - pagenation
- detail content
  - section topics

==========================================

/*----------------------------------------
main image
------------------------------------------*/

#main_img figure img {
	object-position: 50% 42%;
}

/*----------------------------------------
list content
------------------------------------------*/

/*--- section topics -----------------------------------*/

#list_wrapper {
	width: 100%;
	margin-top: 45px;
}

#list_wrapper > article {
	width: 100%;
	display: -webkit-box; /*Android4.3*/
	display: -moz-box; /*Firefox21*/
	display: -ms-flexbox; /*IE10*/
	display: -webkit-flex; /*PC-Safari,iOS8.4*/
	display: flex;
	-webkit-box-pack: justify; /*Android4.3*/
	-moz-box-pack: justify; /*Firefox21*/
	-ms-flex-pack: justify; /*IE10*/
	-webkit-justify-content: space-between; /*PC-Safari,iOS8.4*/
	justify-content: space-between;
	-webkit-box-direction: reverse; /*Android4.3*/
	-moz-box-direction: reverse; /*Firefox21*/
	-ms-flex-direction: row-reverse; /*IE10*/
	-webkit-flex-direction: row-reverse; /*PC-Safari,iOS8.4*/
	flex-direction: row-reverse;
	-webkit-box-align: start; /*Android4.3*/
	-moz-box-align: start;/*Firefox21*/
	-ms-flex-align: start;/*IE10*/
	-webkit-align-items: flex-start;/*PC-Safari,iOS8.4*/
	align-items: flex-start;
}

#list_wrapper > article + article {
	margin-top: 40px;
}

#list_wrapper > article > a {
	width: 35%;
	padding: 7px;
	display: block;
	position: relative;
}

#list_wrapper > article > a::before,
#list_wrapper > article > a::after {
	content: "";
	width: 35px;
	height: 35px;
	position: absolute;
	z-index: 1;
	-webkit-background: linear-gradient(to top right, rgba(255,255,255,0) 50%, rgba(235,110,140,.7) 50.5%) no-repeat top right/100% 100%;
	-moz-background: linear-gradient(to top right, rgba(255,255,255,0) 50%, rgba(235,110,140,.7) 50.5%) no-repeat top right/100% 100%;
	background: linear-gradient(to top right, rgba(255,255,255,0) 50%, rgba(235,110,140,.7) 50.5%) no-repeat top right/100% 100%;
}

#list_wrapper > article > a::before {
	right: 0;
	top: 0;
}

#list_wrapper > article > a::after {
	left: 0;
	bottom: 0;
	-webkit-background: linear-gradient(to bottom left, rgba(255,255,255,0) 50%, rgba(235,110,140,.7) 50.5%) no-repeat bottom left/100% 100%;
	-moz-background: linear-gradient(to bottom left, rgba(255,255,255,0) 50%, rgba(235,110,140,.7) 50.5%) no-repeat bottom left/100% 100%;
	background: linear-gradient(to bottom left, rgba(255,255,255,0) 50%, rgba(235,110,140,.7) 50.5%) no-repeat bottom left/100% 100%;
}

#list_wrapper > article > a figure {
	width: 100%;
	border-radius: 5px;
	overflow: hidden;
	position: relative;
}

#list_wrapper > article > a figure::before {
	content: "";
	padding-top: 66.66%;
	display: block;
}

#list_wrapper > article > a figure img {
	width: 100%;
	height: 100%;
	margin: auto;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	transition: all .5s ease;
}

#list_wrapper > article > a:hover figure img {
	-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	transform: scale(1.2);
}

.topics_article {
	width: calc(65% - 40px);
}

.name_box {
	width: 100%;
	display: -webkit-box; /*Android4.3*/
	display: -moz-box; /*Firefox21*/
	display: -ms-flexbox; /*IE10*/
	display: -webkit-flex; /*PC-Safari,iOS8.4*/
	display: flex;
	-webkit-box-pack: justify; /*Android4.3*/
	-moz-box-pack: justify; /*Firefox21*/
	-ms-flex-pack: justify; /*IE10*/
	-webkit-justify-content: space-between; /*PC-Safari,iOS8.4*/
	justify-content: space-between;
	-ms-flex-wrap: wrap; /*IE10*/
	-webkit-flex-wrap: wrap; /*PC-Safari,iOS8.4*/
	flex-wrap: wrap;
}

.name_box .name {
	width: 100%;
	margin: 0 0 10px 0;
	font-family: "M PLUS Rounded 1c", "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO", sans-serif;
	font-size: 2.3rem;
	font-weight: bold;
	line-height: 1.4;
	letter-spacing: .05em;
	color: #00a064;
	overflow: hidden;
}

.name_box .name::after {
	content: "";
	width: 100%;
	height: 4px;
	margin: 8px 0 0 0;
	display: block;
	background: -webkit-radial-gradient(circle closest-side, #ffba00, #ffba00 2px, transparent 2px, transparent);
	background: -moz-radial-gradient(circle closest-side, #ffba00, #ffba00 2px, transparent 2px, transparent);
	background: -ms-radial-gradient(circle closest-side, #ffba00, #ffba00 2px, transparent 2px, transparent);
	background: radial-gradient(circle closest-side, #ffba00, #ffba00 2px, transparent 2px, transparent);
	background-size: 8px 4px;
}

.name_box .name a {
	color: #00a064;
	text-decoration: none;
	display: block;
}

.name_box .date {
	color: #69412d;
}

.name_box .category {
	margin: 0 0 0 20px;
}

.name_box .category a {
	padding: 0 10px;
	font-family: "M PLUS Rounded 1c", "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO", sans-serif;
	font-size: 1.5rem;
	font-weight: bold;
	text-decoration: none;
	color: #fff;
	display: inline-block;
	border-radius: 1em;
	background: #a57c52;
}

.name_box .category.info a {
	background: #3eb166;
}

.name_box .category.event a {
	background: #50a5dc;
}

.name_box .category.column a {
	background: #f5a000;
}

.extract {
	margin-top: 25px;
}

.topics_article .btn_box {
	width: max-content;
	margin: 15px 0 0 0;
}

/* レスポンシブ設定 ----------------------------*/

@media only screen and (max-width: 959px) {
	.topics_article {
		width: calc(65% - 35px);
	}
	
	#list_wrapper {
		margin-top: 35px;
	}
	
	.name_box .name {
		font-size: 2.1rem;
	}
	
	#list_wrapper > article > a::before,
	#list_wrapper > article > a::after {
		width: 30px;
		height: 30px;
	}
}

@media only screen and (max-width: 768px) {
	#list_wrapper {
		margin-top: 30px;
	}
	
	#list_wrapper > article + article {
		margin-top: 35px;
	}
	
	#list_wrapper > article > a {
		margin-bottom: 15px;
		padding: 5px;
	}
	
	.name_box .name {
		font-size: 1.9rem;
	}
	
	.name_box .category a {
		font-size: 1.4rem;
	}
	
	.extract {
		margin-top: 15px;
	}
	
	.topics_article .btn_box {
		width: calc(100vw - 30px);
	}
}

@media only screen and (max-width: 559px) {
	#list_wrapper {
		margin-top: 25px;
	}
	
	#list_wrapper > article {
		display: block;
	}
	
	#list_wrapper > article > a {
		width: 100%;
		margin-bottom: 10px;
	}
	
	.topics_article {
		width: 100%;
	}
	
	#list_wrapper > article > a::before,
	#list_wrapper > article > a::after {
		width: 35px;
		height: 35px;
		-webkit-background: linear-gradient(to top left, rgba(255,255,255,0) 50%, rgba(235,110,140,.7) 50.5%) no-repeat top left/100% 100%;
		-moz-background: linear-gradient(to top left, rgba(255,255,255,0) 50%, rgba(235,110,140,.7) 50.5%) no-repeat top left/100% 100%;
		background: linear-gradient(to top left, rgba(255,255,255,0) 50%, rgba(235,110,140,.7) 50.5%) no-repeat top left/100% 100%;
	}
	
	#list_wrapper > article > a::before {
		right: auto;
		left: 0;
	}
	
	#list_wrapper > article > a::after {
		left: auto;
		right: 0;
		-webkit-background: linear-gradient(to bottom right, rgba(255,255,255,0) 50%, rgba(235,110,140,.7) 50.5%) no-repeat bottom right/100% 100%;
		-moz-background: linear-gradient(to bottom right, rgba(255,255,255,0) 50%, rgba(235,110,140,.7) 50.5%) no-repeat bottom right/100% 100%;
		background: linear-gradient(to bottom right, rgba(255,255,255,0) 50%, rgba(235,110,140,.7) 50.5%) no-repeat bottom right/100% 100%;
	}
	
	.extract {
		margin-top: 10px;
	}
	
	.topics_article .btn_box {
		width: auto;
	}
}

/*--- pagenation -----------------------------------*/

.pager {
	margin: 40px 0 0 0;
	text-align: center;
	display: -webkit-box; /*Android4.3*/
	display: -moz-box; /*Firefox21*/
	display: -ms-flexbox; /*IE10*/
	display: -webkit-flex; /*PC-Safari,iOS8.4*/
	display: flex;
	-webkit-box-pack: center; /*Android4.3*/
	-moz-box-pack: center; /*Firefox21*/
	-ms-flex-pack: center; /*IE10*/
	-webkit-justify-content: center; /*PC-Safari,iOS8.4*/
	justify-content: center;
	-webkit-box-align: start; /*Android4.3*/
	-moz-box-align: center; /*Firefox21*/
	-ms-flex-align: center; /*IE10*/
	-webkit-align-items: center; /*PC-Safari,iOS8.4*/
	align-items: center;
	-ms-flex-wrap: wrap; /*IE10*/
	-webkit-flex-wrap: wrap; /*PC-Safari,iOS8.4*/
	flex-wrap: wrap;
}

.pager li {
	width: 45px;
	height: 45px;
	margin-left: 10px;
	display: block;
	position: relative;
	overflow: hidden;
	z-index: 0;
	border-radius: 5px;
	background: #ffa0aa;
	-webkit-transition: all .2s ease; /*Android*/
	transition: all .2s ease;
}

.pager li:first-child {
	margin-left: 0;
}

.pager li.active {
	font-family: "M PLUS Rounded 1c", "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO", sans-serif;
	font-size: 1.6rem;
	line-height: 1;
	color: #ffffff;
	letter-spacing: .03em;
	line-height: 1;
	padding: .75em 0 0;
	vertical-align: middle;
	background: #e64678;
}

.pager li:hover {
	background: #eb6e8c;
	-ms-transform: scale(1.2, 1.2); /*IE9*/
	-webkit-transform: scale(1.2, 1.2); /*PC-Safari,iOS8.4*/
	transform: scale(1.2, 1.2);
}

.pager li.active:hover {
	background: #e64678;
	-ms-transform: scale(1, 1); /*IE9*/
	-webkit-transform: scale(1, 1); /*PC-Safari,iOS8.4*/
	transform: scale(1, 1);
}

.pager li span,
.pager li a {
	width: 100%;
	height: 100%;
	font-family: "M PLUS Rounded 1c", "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO", sans-serif;
	font-size: 1.6rem;
	line-height: 1;
	text-decoration: none;
	color: #ffffff;
	letter-spacing: .03em;
	line-height: 1;
	text-align: center;
	padding: .75em 0 0;
	display: block;
	vertical-align: middle;
	-webkit-transition: all .5s ease; /*Android*/
	transition: all .5s ease;
}

/* IE10_11 hack */
@media all and (-ms-high-contrast: none) {
	.pager li span,
	.pager li a {
		padding: 0.9em 0 0;
	}
}

.pager li:hover a {
	color: #ffffff;
}

.pager li.prev a::after {
	content: "";
	width: 10px;
	height: 10px;
	margin: 0 -4px 0 0;
	display: inline-block;
	vertical-align: middle;
	position: relative;
	top: -2px;
	border: 2px solid;
	border-color: transparent transparent #ffffff #ffffff;
	-ms-transform: rotate(45deg); /*IE9*/
	-webkit-transform: rotate(45deg); /*PC-Safari,iOS8.4*/
	transform: rotate(45deg);
}

.pager li.next a::after {
	content: "";
	width: 10px;
	height: 10px;
	margin: 0 0 0 -4px;
	display: inline-block;
	vertical-align: middle;
	position: relative;
	top: -2px;
	border: 2px solid;
	border-color: transparent #ffffff #ffffff transparent;
	-ms-transform: rotate(-45deg); /*IE9*/
	-webkit-transform: rotate(-45deg); /*PC-Safari,iOS8.4*/
	transform: rotate(-45deg);
}

/* レスポンシブ設定 ----------------------------*/

@media only screen and (max-width: 959px) {
	.pager {
		margin: 35px 0 0 0;
	}
}

@media only screen and (max-width: 768px) {
	.pager {
		margin: 30px 0 0 0;
	}
	
	.pager li {
		margin-left: 5px;
	}
	
	.pager li:hover {
		-ms-transform: scale(1.1, 1.1); /*IE9*/
		-webkit-transform: scale(1.1, 1.1); /*PC-Safari,iOS8.4*/
		transform: scale(1.1, 1.1);
	}
}

/*----------------------------------------
detail content
------------------------------------------*/

/*--- section topics -----------------------------------*/

#detail {
	margin: 40px 0 5px;
	padding: 0 0 40px 0;
	position: relative;
}

#detail::after {
	content: "";
	width: 100%;
	height: 2px;
	display: block;
	border-radius: 1px;
	background: #ffd23c;
	position: relative;
	bottom: -40px;
}

#tags_list {
	width: 100%;
	text-align: right;
	display: -webkit-box; /*Android4.3*/
	display: -moz-box; /*Firefox21*/
	display: -ms-flexbox; /*IE10*/
	display: -webkit-flex; /*PC-Safari,iOS8.4*/
	display: flex;
	-webkit-box-pack: end; /*Android4.3*/
	-moz-box-pack: end; /*Firefox21*/
	-ms-flex-pack: end; /*IE10*/
	-webkit-justify-content: flex-end; /*PC-Safari,iOS8.4*/
	justify-content: flex-end;
	-ms-flex-wrap: wrap; /*IE10*/
	-webkit-flex-wrap: wrap; /*PC-Safari,iOS8.4*/
	flex-wrap: wrap;
}

#tags_list li {
	margin-top: 5px;
	display: block;
}

#tags_list li span  {
	display: block;
	background: #ffc300;
	position: relative;
}

#tags_list li span a {
	font-family: "M PLUS Rounded 1c", "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO", sans-serif;
	font-size: 1.5rem;
	text-decoration: none;
	color: #fff;
	padding: 0 10px;
	display: block;
}

#tags_list li span a::before {
	content: "";
	width: 1em;
	height: 1.65em;
	display: block;
	position: absolute;
	right: 100%;
	border-top: 0.825em solid transparent;
	border-right: 1em solid #ffc300;
	border-bottom: 0.825em solid transparent; 
}

#tags_list li span a::after {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 2.5px;
	background: #fff;
	display: block;
	position: absolute;
	top: calc(0.825em - 2.5px);
	right: calc(100% - 2.5px);
}

#tags_list li + li {
	margin-left: 22px;
}

#topics_detail .btn_box {
	margin: 30px 0 0 0;
}

#topics_detail .btn_box .common_btn {
	font-size: 1.8rem;
	color: #fff;
	padding: 0.5em 1em;
	border: none;
	-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
			border-radius: 5px;
	background: #ffa0aa;
}

#topics_detail .btn_box .common_btn:hover {
	background: #e64678;
}

#topics_detail .btn_box a.common_btn {
	display: block;
	line-height: 1.5;
}

/* レスポンシブ設定 ----------------------------*/

@media only screen and (max-width: 959px) {
	#detail {
		margin: 35px 0 5px;
		padding: 0 0 35px 0;
	}
	
	#detail::after {
		bottom: -35px;
	}
	
	#topics_detail .btn_box {
		margin: 25px 0 0 0;
	}
}

@media only screen and (max-width: 768px) {
	#detail {
		margin: 25px 0 5px;
		padding: 0 0 25px 0;
	}
	
	#detail::after {
		bottom: -25px;
	}
	
	#tags_list li {
		margin-top: 5px;
	}
	
	#tags_list li + li {
		margin-left: 5px;
	}
	
	#tags_list li span a {
		font-size: 1.4rem;
	}
	
	#topics_detail .btn_box {
		margin: 20px 0 0 0;
	}
}

@media only screen and (max-width: 559px) {
	#detail {
		margin: 20px 0 5px;
		padding: 0 0 20px 0;
	}
	
	#detail::after {
		bottom: -20px;
	}
	
	#topics_detail .btn_box {
		margin: 15px 0 0 0;
	}
}
