
/*------------------------------------------------------------
	共通レイアウト
------------------------------------------------------------*/

div.h3Box {
	position: relative;
	padding-bottom: 5px;
	margin-bottom: 20px;
	border-bottom: 2px solid #3c3c3c;
}




@media only screen and (min-width: 641px) {
	
	div.h3Box {
		margin-bottom: 30px;
	}
}

/*------------------------------------------------------------
	メインビジュアル
------------------------------------------------------------*/

main {
	height: 100px;
}

main video {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	height: auto;
	z-index: -1;
}

@media only screen and (min-width: 641px) {
	
	main {
		height: 180px;
	}	
}

/*------------------------------------------------------------
	ニュース （一覧）
------------------------------------------------------------*/

div#newsArea {
	margin-bottom: 30px;
}

div#newsArea section article {
	background: #fff;
	width: 48%;
	margin-right: 4%;
	margin-bottom: 20px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

div#newsArea section article:nth-child(2n) {
	margin-right: 0;
}

div#newsArea section figure {
	width: 100%;
	height: 120px;
	overflow: hidden;
}

div#newsArea section dl {
	padding: 10px;
}

div#newsArea section dl dt {
	font-size: 1rem;
	color: #87BCE0;
}

div#newsArea section dl dd.ttl {
	line-height: 1.6;
}

div#newsArea section dl dd.ttl a {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #3c3c3c;
	text-decoration: none;
}

div#newsArea section dl dd.excerpt {
	display: none;
}

@media only screen and (min-width: 813px) {
	
	div#newsArea {
		margin-bottom: 60px;
	}

	div#newsArea section article,
	div#newsArea section article:nth-child(2n)  {
		width: 31%;
		margin-right: 3.5%;
		margin-bottom: 40px;
	}
	
	div#newsArea section article:nth-child(3n) {
		margin-right: 0;
	} 
	div#newsArea section figure {
		height: 240px;
		-webkit-transition:0.3s ease-in-out;
		transition:0.3s ease-in-out;
	}
	
	div#newsArea section figure:hover {
		opacity:0.8;
		filter: alpha(opacity=80);
		-ms-filter: "alpha( opacity=80 )";
		background: #fff;
	}
	
	div#newsArea section dl {
		padding: 15px 20px;
	}
	
	div#newsArea section dl dt {
		font-size: 1.1rem;
	}
	
	div#newsArea section dl dd.ttl {
		margin-bottom: 10px;
	}
		
	div#newsArea section dl dd.ttl a {
		font-size: 1.4rem;
		font-weight: bold;
	}
	
	div#newsArea section dl dd.ttl a:hover {
		text-decoration: underline;
	}

	div#newsArea section dl dd.excerpt {
		display: block;
		font-size: 1.3rem;
		text-align: justify;
		line-height: 1.8;
		color: #4d4d4d;
	}
	
}

/*------------------------------------------------------------
	ニュース（個別）
------------------------------------------------------------*/

div#newsPostArea p.date {
	font-size: 1.1rem;
	font-weight: bold;
	letter-spacing: 1px;
	color: #87BCE0;
}

div#newsPostArea h4 {
	width: 100%;
	font-size: 1.6rem;
	font-weight: bold;
	padding:0 0 15px;
	color: #3c3c3c;
}

div#newsPostArea div.postArea {
	text-align: justify;
	padding: 0 0 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid #3c3c3c;
}

div#newsPostArea section#linkBtn {
	margin-bottom: 30px;
}

div#newsPostArea section#linkBtn div.oneThird {
	width: 33.333%;
	margin: 0;
}

div#newsPostArea section#linkBtn div.oneThird a {
	font-size: 1.2rem;
	font-weight: bold;
	text-decoration: none;
}

div#newsPostArea section#linkBtn div.oneThird:nth-child(2) {
	text-align: center;
}

div#newsPostArea section#linkBtn div.oneThird:last-child {
	text-align: right;
}

@media only screen and (min-width: 641px) {
	
	div#newsPostArea {
		width: 900px;
		margin: 0 auto;
	}
	
	div#newsPostArea h3 {
		font-size: 1.8rem;
	}
	
	div#newsPostArea p.date {
		padding: 0 60px;
	}
	
	div#newsPostArea h4 {
		font-size: 2.2rem;
		padding:0 60px 25px;
	}
	
	div#newsPostArea p {
		padding: 0 30px;
		font-size: 1.5rem;
	}
	
	div#newsPostArea div.postArea {
		padding: 0 40px 30px;
		margin-bottom: 30px;
	}
	
	div#newsPostArea section#linkBtn {
		padding: 0 30px;
		margin-bottom: 40px;
	}
	
	div#newsPostArea section#linkBtn div.oneThird a {
		font-size: 1.3rem;
		background: none;
		color: #3c3c3c;
		border: 1px solid #ccc;
		padding: 25px 0;
	}
	
	div#newsPostArea section#linkBtn div.oneThird a:hover {
		background: #87BCE0;
		color: #fff;
		border-color: #87BCE0;
	}

}



/*------------------------------------------------------------
	個別投稿エリアのスタイル（※editor-style.cssと連動）
------------------------------------------------------------*/

.postArea h1,
.postArea h2,
.postArea h3,
.postArea h4,
.postArea h5,
.postArea h6 {
	font-family: 'Noto Sans Japanese',sans-serif;
	font-weight: 500;
	line-height: 1.8;
	text-align:left;
	color: #3c3c3c;
	margin: 0 0 6px;
}

.postArea h1,
.postArea h2,
.postArea h3 {
	font-size: 2rem;
}

.postArea h2 {
	background: none;
	position: relative;
	bottom: auto;
	left: auto;
	padding: 0;
	letter-spacing: 0;
}

.postArea h4 {
	font-size: 1.8rem;
}

.postArea h5 {
	font-size: 1.6rem;
}

.postArea h6 {
	font-size: 1.5rem;
}

/*段落直後の見出しは上に余白を追加*/
.postArea p + h1,
.postArea p + h2,
.postArea p + h3,
.postArea p + h4,
.postArea p + h5,
.postArea p + h6 {
	margin: 12px 0 6px;	
}

/*太字（蛍光ハイライト）*/
.postArea strong {
	font-weight: 600;
}

/*リスト*/
.postArea ul,
.postArea ol {
	line-height: 1.8;
	color: #4d4d4d;
	margin: 10px 0 10px 20px;
}

.postArea ul li {
	list-style: disc;
}

.postArea ol li {
	list-style: decimal;
}

.postArea ul li:not(:last-child),
.postArea ol li:not(:last-child) {
	margin-bottom: 3px;
}


/*区切り線*/
.postArea hr {
	border: none;
	border-bottom: 1px solid #ccc;
	margin: 18px 0 17px;
}

/*段落*/
.postArea p {
	color: #3d3d3d;
	line-height: 1.8;
	margin-bottom: 8px;
}


/*画像*/
.postArea p img {
	margin-bottom: 12px;
}

.postArea p + p > img {
	margin: 16px 0;	
}

/* 整形済みテキスト */
.postArea pre {
	display: block;
	max-width:100%;
	background: #efefef;
	padding: 15px 20px;
	margin-bottom: 10px;
}

/* リンク */
.postArea a {
	text-decoration: underline;
}

/* 引用 */
.postArea blockquote {
  display:block;
  padding: 16px 16px 16px 54px;
  margin: 20px 0;
  position: relative;
  border: 1px dashed #3c3c3c;
}

.postArea blockquote::before {
  content: "\f06a";
  font-family: 'Font Awesome 5 Pro';
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  color: #3c3c3c;
  position: absolute;
  left: 14px;
  top:50%;
  margin-top: -15px;
}

.postArea blockquote p {
	font-weight: 500;
	color: #3c3c3c;
}

.postArea blockquote p:last-child {
	margin-bottom: 0;
}
.postArea blockquote p + ul,
.postArea blockquote p + ol {
	margin-top: 0;
}

.postArea p + blockquote {
	margin-top: 15px;
}

@media only screen and (min-width: 813px) {
		
	.postArea h1,
	.postArea h2,
	.postArea h3,
	.postArea h4,
	.postArea h5,
	.postArea h6 {
		line-height: 1.9;
		margin: 5px 0 10px;
	}
	
	.postArea h1 {
		font-size: 3rem;
	}
	
	.postArea h2 {
		font-size: 2.6rem;
	}
	
	.postArea h3 {
		font-size: 2rem;
	}
	
	.postArea h4 {
		font-size: 1.9rem;
	}
	
	.postArea h5 {
		font-size: 1.8rem;
	}
	
	.postArea h6 {
		font-size: 1.7rem;	
	}
	
	
	/*段落直後の見出しは上に余白を追加*/
	.postArea p + h1,
	.postArea p + h2,
	.postArea p + h3,
	.postArea p + h4,
	.postArea p + h5,
	.postArea p + h6 {
		margin: 20px 0 10px;	
	}
	
	/*リスト*/
	.postArea ul,
	.postArea ol {
		line-height: 2;
		margin: 18px 0 10px 20px;
	}
	
	/*表の中ではマージンなし*/
	.postArea dl dd ul,
	.postArea dl dd ol {
		margin-top: 0;
	}
	
	.postArea ul li:not(:last-child),
	.postArea ol li:not(:last-child) {
		margin-bottom: 5px;
	}
	
	/*区切り線*/
	.postArea hr {
		margin: 23px 0 20px;
	}
	
	/*段落*/
	.postArea p {
		line-height: 2;
		margin-bottom: 10px;
	}
	
	/*画像*/
	.postArea p img {
		margin-bottom: 15px;
	}
	
	.postArea p + p > img {
		margin: 20px 0;	
	}
	
	.postArea .alignleft {
		float: left;
		margin-right: 20px;
		margin-bottom: 20px;	
	}
	
	.postArea .alignright {
		float: right;
		margin-left: 20px;
		margin-bottom: 20px;	
	}
	
	
	/* 整形済みテキスト */
	.postArea pre {
		padding: 20px;
	}
	
	/* リンク */
	.postArea a:hover {
		color: #90080D;
	}
	
	
	/* 引用 */
	.postArea blockquote {
		padding: 20px 35px 20px 84px;
		margin: 20px 0;
	}
	
	.postArea blockquote::before {
		font-size: 4rem;
		left: 25px;
		margin-top: -20px;
	}
	
	.postArea p + blockquote {
		margin-top: 28px;
	}

	
}




/*------------------------------------------------------------
	WP-pagenavi
------------------------------------------------------------*/

div.wp-pagenavi {
    clear:both;
    display:block;
    padding:20px 0 30px;
    text-align:center;
    margin: 0 auto;
}

div.wp-pagenavi a,
div.wp-pagenavi span {
    border:solid 1px #87BCE0;
    padding:9px 12px 7px;
    margin:5px;
    color:#87BCE0;
    text-decoration:none;
}

div.wp-pagenavi a:hover,
div.wp-pagenavi span.current {
	background: #87BCE0;
    border:solid 1px #87BCE0;
    color:#fff;
    text-decoration:none;
}

div.wp-pagenavi span.current {
	background: #87BCE0;
	border:solid 1px #87BCE0;
    color:#fff;
    text-decoration:none;
}
