@charset "UTF-8";

/*   トピックス（topics.css）   */

/* -------------------------------------------------

Main

------------------------------------------------- */
#Main {
	width: 100%;
	margin: 80px 0 120px;
	position: relative;
}
@media screen and (max-width: 898px)  {
#Main {
	margin: 50px 0 100px;
}
}
@media screen and (max-width: 480px)  {
#Main {
	margin: 30px 0 80px;
}
}


/* -------------------------------------------------

Topics（トピックス一覧／トピックス詳細）

------------------------------------------------- */
/*.Topics__wrp	{
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 0 2%;
	position: relative;
}*/


/* Topics__box（一覧）
================================================== */
.Topics__box	{
	margin: -15px 0 0;
}
.Topics__box >	article:last-of-type {
	margin-bottom: 50px;
}
.Topics__box >	article .no_link,
.Topics__box  >	article a {
 display: flex;
	align-items: flex-start;
 padding:20px 10px;
 border-bottom: 1px solid #cccccc;
}
.Topics__box a {
	text-decoration: none;
}
.Topics__box a:hover {
 /*opacity: 0.7;
 filter: alpha(opacity=70);
 -moz-opacity: 0.7;*/
}

@media screen and (max-width: 898px)  {
.Topics__box > article .no_link,
.Topics__box > article a {
	flex-flow: row wrap !important;
	padding:15px 10px;
}
}
@media screen and (max-width: 768px)  {
.Topics__box	{
	font-size: 1.4rem;
}
}
@media screen and (max-width: 480px)  {
.Topics__box > article:last-of-type {
	margin-bottom: 30px;
}
}

/* 日付+カテゴリー+タイトル
================================================== */
.Topics__box .date {
 min-width: 110px;
}
.Topics__box .category {
 min-width: 160px;
}
.Topics__box .category .mark {
	/*width: 140px;*/
	width: 125px;
	height: 30px;
	line-height: 1;
	font-size: 1.2rem;
	font-weight: 700;
	color: #ffffff;
	display: flex;
 justify-content: center;
	align-items: center;
	background-color: #c50018;
	padding: 1px 5px;
	border-radius: 4px;
}
.Topics__box .title {
	width: auto;
	overflow: auto;
}
.Topics__box a:hover .title {
	text-decoration: underline;
}

@media screen and (max-width: 898px)  {
.Topics__box .title {
	width: 100% !important;
	margin-top: 10px;
}
}
@media screen and (max-width: 768px)  {
.Topics__box .date {
 min-width: 90px;
}
.Topics__box .category {
 /*min-width: 140px;*/
	min-width: 115px;
	/*margin-top: -5px;*/
}
.Topics__box .category .mark {
	width: 100%;
	height: 24px;
}
}


/* -------------------------------------------------

Topics_Detail（詳細ページ）

------------------------------------------------- */
/* 見出し（h2）
================================================== */
.Topics__wrp .h2	{
	font-weight:600;
	font-size:2.8rem;
	line-height: normal;
	border-bottom: 1px solid #C50018;
	margin-bottom: 30px;
	padding-bottom: 20px;
	position:relative;
}
@media screen and (max-width: 768px)  {
.Topics__wrp .h2	{
	font-size:2.4rem;
}
}
@media screen and (max-width: 480px)  {
.Topics__wrp .h2	{
	font-size:1.8rem;
	margin-bottom: 20px;
	padding-bottom: 10px;
}
}

/* カテゴリ　枠／タイトル
================================================== */
.Category_Title	{
	/*font-weight:500;*/
	font-weight:700;
	/*font-size:1.6rem;*/
	font-size:1.4rem;
	color: #ffffff;
	line-height: normal;
	margin: 0 15px 15px 0;
	padding: 2px 20px;
	background-color:#C50018;
	display: inline-block;
	text-align: center;
	border-radius: 4px;
}
@media screen and (max-width: 768px)  {
.Category_Title	{
	/*font-size:1.4rem;*/
	padding: 2px 15px;
}
}
@media screen and (max-width: 480px)  {
.Category_Title	{
	font-size:1.2rem;
	padding: 2px 10px;
}
}


/* 詳細ページ　年月日
================================================== */
.Topics__wrp .date	{
	font-weight: 500;
	font-size:1.6rem;
}
@media screen and (max-width: 768px)  {
.Topics__wrp .date	{
	font-size:1.4rem;
}
}

/* 詳細ページ　内側（本文枠）
================================================== */
.Topics_Detail__inner	{
	line-height: 2;
	margin-bottom: 50px;
}
@media screen and (max-width: 480px)  {
.Topics_Detail__inner	{
	font-size: 1.4rem;
	line-height: 1.7;
}
}

/* テキスト
================================================== */
.Topics_Detail__inner p	{
	padding-bottom: 10px;
}
.Topics_Detail__inner p:last-of-type	{
	/*padding-bottom: 0px;	*/
}

/* 箇条書き（点／数字）
================================================== */
.Topics_Detail__inner ul	{
 padding: 0.5em 0.5em 0.5em 2em;/*ボックス内の余白*/
 list-style:disc;
}
.Topics_Detail__inner ol	{
 padding: 0.5em 0.5em 0.5em 0em;/*ボックス内の余白*/
	list-style: none;
 counter-reset: number;
 }
.Topics_Detail__inner ol li {
  position: relative;
  padding-left: 50px;
}
.Topics_Detail__inner ol li::before {
  counter-increment: number;
  content: '（' counter(number) '）';
  position: absolute;
  left: 0px;
}
@media screen and (max-width: 480px)  {
.Topics_Detail__inner ol li {
  padding-left: 40px;
}
}

/* テキストリンク
================================================== */
.Topics_Detail__inner a	{
	font-weight: 500;
	color:#C50118;
	text-decoration: underline;
}
.Topics_Detail__inner a:hover	{
	transition: .3s;
	text-decoration: none;
}

/* 詳細ページ　中見出し
================================================== */
.Topics_Detail__inner .h3	{
	font-weight: 600;
	font-size:2.2rem;
	line-height: normal;
	margin: 0 0 15px;
	padding-left: 35px;
	position:relative;
}
.Topics_Detail__inner .h3::before	{
	content: "";
	position: absolute;
	top:8px;
	left: 0;
	width: 20px;
	height: 20px;
	background-image: url("../images/icon__midashi.svg");
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: 20px;
}

@media screen and (max-width: 768px)  {
.Topics_Detail__inner .h3	{
	font-size:1.8rem;
}
.Topics_Detail__inner .h3::before	{
	top:5px;
}
}
@media screen and (max-width: 480px)  {
.Topics_Detail__inner .h3	{
	font-size:1.6rem;
	padding-left: 30px;
}
.Topics_Detail__inner .h3::before	{
	width: 16px;
	height: 16px;
	background-size: 16px;
}
}


/* 詳細ページ　小見出し
================================================== */
.Topics_Detail__inner .h4	{
	font-weight: 600;
	margin: 0 0 10px;
}


/* 詳細ページ　写真枠
================================================== */
/* 写真1枚 */
.Photo	{
	margin: 30px auto;
	display: flex;
	flex-direction: column;		/*  縦並び  */
	text-align: center;
	justify-content: center;
	align-items: center;
}
.Photo > div {
	margin: 0 auto 25px;
}
.Photo > div img {
	margin: 0 !important;
	border-radius: 10px;
}
@media screen and (max-width: 768px)  {
.Photo	{
	margin: 20px auto;
}
}


/* 写真複数枚 */
.Photo__column02,
.Photo__column03,
.Photo__column04	{
 width: 100%;
	margin: 10px auto;
	display: flex;
	flex-flow: row wrap;
	text-align: center;
	/*align-items: center;*/
	font-size: 1.4rem;
}
.Photo__column02 > div	img,
.Photo__column03 > div	img,
.Photo__column04 > div	img {
	margin: 0 !important;
	border-radius: 10px;
}
.Photo__column02 > div figure,
.Photo__column03 > div figure,
.Photo__column04 > div figure	{
 position: relative;
 overflow: hidden;
 /* padding-top: 56.25%;		16:9*/
 padding-top: 75%;    /* 4:3 */
	/* padding-top: 66.66%; 3:2 */
}
.Photo__column02 > div figure	img,
.Photo__column03 > div figure	img,
.Photo__column04 > div figure	img {
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%,-50%);
 width: 100%;
 height: 100%;
 object-fit: cover;
}
@media screen and (max-width: 768px)  {
.Photo__column02,
.Photo__column03,
.Photo__column04	{
	font-size: 1.3rem;
	line-height: 1.7 !important;
}
}

/* 横並び2列 */
.Photo__column02 > div	{
	width: calc(50% - 15px);
 margin:0 30px 30px 0;
	overflow: hidden;
}
.Photo__column02 > div:nth-child(2n) {
 margin-right: 0;
}
@media screen and (max-width: 640px)  {
.Photo__column02 > div	{
	width: calc(50% - 8px);
 margin:0 15px 15px 0;
}
}

/* 横並び3列 */
/*.Photo__column03 > div	{
	width: calc(33.3333% - 20px);
 margin:0 30px 30px 0;	
}*/
.Photo__column03 > div	{
	width: calc(33.3333% - 10px);
 margin:0 15px 15px 0;
}
.Photo__column03 > div:nth-child(3n) {
 margin-right: 0;
}

/*@media screen and (max-width: 768px)  {
.Photo__column03 > div	{
	width: calc(33.3333% - 10px);
 margin:0 15px 15px 0;
}
}*/
@media screen and (max-width: 640px)  {
.Photo__column03 > div	{
	width: calc(50% - 8px);
 margin:0 15px 15px 0;
}
.Photo__column03 > div:nth-child(2n) {
 margin-right: 0;
}
.Photo__column03 > div:nth-child(3) {
 margin-right: 15px;
}
}
@media screen and (max-width: 480px)  {
.Photo__column03 > div:nth-child(3) {
 margin-right: 0;
}
}


/* 横並び4列 */
.Photo__column04 > div	{
	width: calc(25% - 11.4px);
 margin:0 15px 15px 0;
}
.Photo__column04 > div:nth-child(4n) {
 margin-right: 0;
}
@media screen and (max-width: 1080px)  {
.Photo__column04 > div	{
	width: calc(33.3333% - 10px);
 margin:0 15px 15px 0;
}
.Photo__column04 > div:nth-child(3n) {
 margin-right: 0;
}
.Photo__column04 > div:nth-child(4) {
 margin-right: 15px;
}
}
@media screen and (max-width: 640px)  {
.Photo__column04 > div	{
	width: calc(50% - 8px);
 margin:0 15px 15px 0;
}
.Photo__column04 > div:nth-child(2n) {
 margin-right: 0;
}
.Photo__column04 > div:nth-child(3) {
 margin-right: 15px;
}
}
@media screen and (max-width: 480px)  {
.Photo__column04 > div:nth-child(3) {
 margin-right: 0;
}
}

/* ホバー
================================================== */
.Photo > div:hover,
.Photo__column02 > div:hover,
.Photo__column03 > div:hover,
.Photo__column04 > div:hover	{
 opacity: 0.7;
 filter: alpha(opacity=70);
 -moz-opacity: 0.7;
	transition: .3s;
	cursor: pointer;
}
@media screen and (max-width: 480px)  {
.Photo__column02,
.Photo__column03,
.Photo__column04	{
	flex-flow: column wrap;
}
.Photo__column02 > div,
.Photo__column03 > div,
.Photo__column04 > div	{
	width: 100%;
	margin:0 0 10px;
}	
}


/* NEWマーク
================================================== */
.NEW::after {
	content: "NEW";
	color: #ffffff;
	background:#eb3838;
	font-size: 1.2rem;
	padding: 0.1rem 1rem 0.2rem 1rem;
	border-radius: 0.5rem;
	margin-left:0.5rem;
	vertical-align: 1px;
	font-weight: 400;
	line-height:normal;
}
@media screen and (max-width: 768px)  {
.NEW::after {
	font-size: 1rem;
	padding: 0.1rem 0.8rem 0.2rem 0.8rem;
}
}


/* -------------------------------------------------

pagination

------------------------------------------------- */
.pager {
	width: 100%;
}
@media screen and (max-width: 640px) {
.pager {
	font-size: 1.4rem;
}	
}

/* 詳細ページ用
================================================== */
.pager .pagination {
	width: 100%;
	margin: 0 auto 50px;
	display: flex;
	justify-content: space-between;
}
.pager .pagination li {
	/*font-weight: 500;*/
	font-weight: 600;
 margin: 0 2px;
 padding: 0;
 width: 200px;
 height: 50px;
 text-align: center;
 position: relative;
	border-radius: 3px;
}
.pager .pagination li.pre,
.pager .pagination li.next{
	border: 1px solid #cccccc;
 background-color:#ffffff;
 width: 150px;
 height: 50px;
 text-align: center;
}
.pager .pagination li a{
	border-radius: 3px;
 vertical-align: middle;
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 text-align: center;
 display:table;
 color: #333333;
 text-decoration: none;
 -webkit-transition: all 0.3s ease;
 -moz-transition: all 0.3s ease;
 -o-transition: all 0.3s ease;
 transition: all  0.3s ease;
}
.pager .pagination li a span {
 display:table-cell;
 vertical-align:middle;
}
.pager .pagination li a:hover{
 background-color: #eeeeee;
}
.pager .pagination li a:hover.active{
 color: #333333;
 background: #ffffff;
	border: 1px solid #cccccc;
}
.pager .pagination li a.active{
 color: #ffffff;
 background: #C50018;
	border: 1px solid #C50018;
}
.pager .sp_back{
 display: none;
}
@media screen and (max-width: 640px) {
.pager .pagination {
 margin: 0 auto 30px;
}
.pager .pagination li{
 display: none;
}
.pager .pagination li.pre,
.pager .pagination li.next{
 display: inline-block;
 width: 50%;
 height: 50px;
 text-align: center;
	font-size: 1.4rem;
}
.pager .pagination li.pre a,
.pager .pagination li.next a{
 width: 100%;
 text-align: center;
}
.pager .sp_back{
	display: block;
}
.pager .sp_back a{
	width: 99.5%;
 height: 50px;
	font-size: 1.4rem;
 display: flex;
	justify-content: center;
	align-items: center;
	color: #ffffff;
	border: 1px solid #C50018;
 background-color:#C50018;
 text-align: center;
 text-decoration: none;
 -webkit-transition: all 0.3s ease;
 -moz-transition: all 0.3s ease;
 -o-transition: all 0.3s ease;
 transition: all  0.3s ease;
	border-radius: 5px;
 margin: 0 auto 15px;
	/*font-weight: 400;*/
	font-weight: 600;
}
.pager .sp_back a:hover{
	color: #333333;
 background: #ffffff;
	border: 1px solid #cccccc;
}
}


/*
Default style for WP-PageNavi plugin
http://wordpress.org/extend/plugins/wp-pagenavi/
*/

/* wp-pagenavi 色変更（一覧用）
================================================== */
.wp-pagenavi {
	clear:both;
	margin: 0 auto !important;
}

.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	border: 1px solid #BFBFBF;
	padding: 3px 10px !important;
	margin: 2px;
	border-radius: 5px;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	/*border-color: #000;*/
	border-color: #C50018 !important;
	color: #C50018;
}

.wp-pagenavi span.current {
	font-weight:normal !important;
	background-color: #C50018;
	color: #ffffff !important;
}

