@charset "UTF-8";


/**************************************************
　共通
***************************************************/


/**************************************************
　一覧
***************************************************/

/* Category */
.postAll .category li {
	border: 2px solid var(--base-gray-bg);
	border-radius: 50px;
	color: var(--base-gray);
	display: inline-block;
	height: 50px;
	line-height: 48px;
	transition: .25s;
}
.postAll .category li a {
	box-sizing: border-box;
	color: var(--base-gray);
	display: block;
	padding: 0 40px;
	width: 100%;
}
.postAll .category li.selected,
.postAll .category li:hover {
	border: 2px solid var(--base-orange);
}
.postAll .category li.selected a,
.postAll .category li:hover a {
	color: var(--base-orange);
}

/**************************************************
　投稿詳細
***************************************************/

.postDetail {
	position: relative;
}
.postDetail .header h1 {
	border-bottom: 1px solid var(--base-gray-bg);
	color: var(--base-black);
	font-weight: 600;
	padding: 0 10px 15px 10px;
}
.postDetail .header .date {
	color: var(--base-gray);
	margin: 15px 10px 0 0;
	text-align: right;
}
.postDetail .body {
	color: var(--base-black);
	margin-top: 40px;
	word-break: break-all;
}
.postDetail .body a {
	color: var(--base-orange);
	word-break: break-all;
}
.postDetail .body h1 {
	margin-bottom: 20px;
}
.postDetail .body h2,
.postDetail .body h3,
.postDetail .body h4,
.postDetail .body h5,
.postDetail .body h6 {
	margin-bottom: 10px;
}
.postDetail .body p {
	font-size: 1.1rem;
	line-height: 2.2rem;
}
.postDetail .wp-block-media-text__media {
	text-align: center;
}
.postDetail .wp-topicsBlock-image figcaption {
	color: var(--base-gray);
}
.postDetail .gallery,
.postDetail .wp-block-gallery {
	margin: 40px auto;
}


/**************************************************
　Pager
***************************************************/

.wp-pagenavi {
	clear: both;
	margin: 0 auto;
	padding-top: 20px;
	position: relative;
	text-align: center;
}
.wp-pagenavi::after {
	clear: both;
	content: "";
	display: block;
}
.wp-pagenavi a,
.wp-pagenavi span {
	border-radius: 3px;
	margin-left: 10px;
	padding: 5px 10px;
}
.wp-pagenavi a {
	border: 1px solid var(--base-gray);
	color: #999;
	transition: all 0.3s linear;
}
.wp-pagenavi a:hover {
	border: 1px solid var(--base-orange);
	color: var(--base-orange);
}
.wp-pagenavi a.current {
	border: 1px solid var(--base-orange);
	background-color: var(--base-orange);
	color: #fff;
}
.wp-pagenavi .pages {
	display: none;
}


/**************************************************
　デバイス振り分け設定
***************************************************/

/* ■■ SP ■■ */
@media (max-width: 767px) {

	/* 共通 */

	/* 一覧 */
	.postAll .category {
		margin-bottom: 60px;
	}
	.postAll .category li {
		display: inline-block;
		margin: 0 10px 10px 0;
	}
	.postAll .category li a {
		padding: 0 30px;
	}
		/* Pager */
	.wp-pagenavi {
		margin-top: 50px;
	}

	/* 投稿詳細 */
	.postDetail .contents {
		margin: 40px auto 0;
		width: 80dvw;
	}
	.postDetail .contents img {
		display: block;
		height: initial;
		margin: 0 auto;
		width: initial;
	}
	.postDetail .contents figcaption {
		margin-top: -20px;
	}
	.postDetail .contents img {
		margin: 0 auto 30px;
		max-height: 240px;
		max-width: 80dvw;
	}
	.postDetail .gallery-item {
		width: initial !important;
	}
	.postDetail .gallery-item img {
		margin: 20px auto 10px;
	}
	.postDetail video {
		max-width: 80dvw;
	}


}
@media (max-width: 320px) {

	/* 幅狭スマホ */

	/* 共通 */

	/* 投稿詳細 */
	.postDetail {
		padding: 60px 0 80px;
	}
	.postDetail.event {
		padding-top: 20px;
	}
	.postDetail .header h1 {
		font-size: 1.3rem;
		line-height: 2.2rem;
	}
	.postDetail h1,
	.postDetail h2 {
		font-size: 1.3rem;
	}
	.postDetail h3,
	.postDetail h4 {
		font-size: 1.1rem;
	}


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

	/* 幅広スマホ */

	/* 共通 */
	.postAll {
		padding: 60px 0 100px;
	}
		
	/* 投稿詳細 */
	.postDetail {
		padding: 80px 0 100px;
	}
	.postDetail.event {
		padding-top: 40px;
	}
	.postDetail .header h1 {
		font-size: 1.6rem;
		line-height: 2.6rem;
	}
	.postDetail h1 {
		font-size: 1.6rem;
	}
	.postDetail h2 {
		font-size: 1.4rem;
	}
	.postDetail h3 {
		font-size: 1.2rem;
	}
	.postDetail h4 {
		font-size: 1.1rem;
	}

}


/* ■■ タブレット＆ブラウザ ■■ */
@media screen and (min-width: 768px) {

	/* 共通 */
	.postAll .category {
		text-align: center;
	}

	/* 投稿詳細 */
	.postDetail .contents img {
		margin-bottom: 40px;
	}
	.postDetail .gallery {
		display: flex;
		flex-wrap: wrap;
	}
	.postDetail .gallery-item img {
		margin-bottom: 0;
	}
	.postDetail .gallery-item img {
		display: inline-block;
		margin-right: 30px;
	}
	.postDetail .gallery-item img {
		margin-bottom: 10px;
	}
	.postDetail .contents figcaption {
		margin-top: -30px;
	}
	.postDetail img {
		margin-bottom: 40px;
		max-width: 600px;
	}
	.postDetail video {
		max-width: 600px;
	}
	.postDetail figcaption {
		margin-top: -35px;
	}
	.postDetail .wp-block-image {
		display: inline-block;
		margin-right: 20px;
	}
	.postDetail .gallery-item {
		margin: 0 20px 20px 0;
		width: initial !important;
	}
	.postDetail .wp-block-gallery img {
		max-width: 100%;
	}
	.postDetail .wp-block-image.size-full,
	.postDetail .wp-block-image.size-large {
		display: block;
		text-align: center;
	}
	.postDetail .wp-block-image.size-full img,
	.postDetail .wp-block-image.size-large img {
		display: initial;
	}
	.postDetail .wp-block-gallery .wp-block-image.size-full,
	.postDetail .wp-block-gallery .wp-block-image.size-large {
		display: inline-block;
		text-align: initial;
	}
	.postDetail .wp-block-gallery .wp-block-image.size-full img,
	.postDetail .wp-block-gallery .wp-block-image.size-large img {
		display: inline;
	}

}


/* ■■ (狭いブラウザとタブレット向け) ■■ */
@media (max-width: 1020px) and (min-width: 768px) {

	/* 共通 */

	/* 一覧 */
	.postAll .category li {
		margin-right: 10px;
	}
	.postAll .category {
		margin-bottom: 80px;
	}
	.postAll .eachBox {
		margin: 0 0 70px 35px;
	}

	/* 投稿詳細 */
	.postDetail  {
		padding: 80px 0 100px;
	}
	.postDetail.event {
		padding-top: 40px;
	}
	.postDetail .contents {
		margin: 40px auto 0;
		width: 700px;
	}
	.postDetail .header h1 {
		font-size: 1.6rem;
		line-height: 2.6rem;
	}
	.postDetail h1 {
		font-size: 1.8rem;
	}
	.postDetail h2 {
		font-size: 1.6rem;
	}
	.postDetail h3 {
		font-size: 1.4rem;
	}
	.postDetail h4 {
		font-size: 1.2rem;
	}
	.postDetail .gallery-item {
		margin: 0 20px 20px 0;
		width: initial !important;
	}


}


/* ■■ PC ■■ */
@media screen and (min-width: 1021px) {

	/* 共通 */

	/* 一覧 */
	.postAll .category {
		margin-bottom: 100px;
	}
	.postAll .category li {
		font-size: 1.1rem;
		margin-right: 15px;
	}
	.postAll .eachBox {
		margin: 0 0 100px 60px;
	}

	/* 投稿詳細 */
	.postDetail  {
		padding: 100px 0 140px;
	}
	.postDetail .contents {
		margin: 60px auto 0;
		width: 1000px;
	}
	.postDetail .header h1 {
		font-size: 2.0rem;
		line-height: 3.2rem;
	}
	.postDetail h1 {
		font-size: 2.0rem;
	}
	.postDetail h2 {
		font-size: 1.8rem;
	}
	.postDetail h3 {
		font-size: 1.6rem;
	}
	.postDetail h4 {
		font-size: 1.4rem;
	}
	.postDetail .gallery .gallery-item:not(:first-of-type) {
		margin-left: 40px;
	}
	.postDetail .gallery .gallery-item img {
		max-width: 100%;
	}
	.postDetail .gallery-columns-2 .gallery-item {
		width: calc( 50% - 20px ) !important;
	}


}
@media screen and (min-width: 1185px) {

	/* ワイドブラウザ */

}
@media screen and (min-width: 1400px) {

	/* ワイドブラウザ */
	
	/* 共通 */

	/* 一覧 */
	.postAll .category {
		margin-bottom: 120px;
	}

}
