/*----------------------------------------
ワードプレス内だけで使用するスタイルを記述
共通枠で使用しているIDやCLASS名は使用しないこと
----------------------------------------*/
#info {
	padding-bottom: 30px;
}
@media print, screen and (min-width:769px){
	#main {
		width: 1100px;
		margin: auto;
		overflow: hidden;
	}
	.main {
		float: left;
		width: 800px;
	}
	.navi {
		float: right;
		width: 260px;
	}
}
@media only screen and (max-width: 768px) {
	#main {
		padding: 0 15px;
	}
}
/* 記事 */
.post {
	background: #fff;
	clear: both;
	margin-bottom: 40px;
    border: 1px solid #008bdc;
	padding: 10px;
}
.post:after {
	clear: both;
	display: block;
	overflow: hidden;
	height: 0px;
	content: "";
}

/* タイトル */
.post .post_title {
	padding: 10px;
	border-bottom: 1px solid #008bdc;
	padding: 10px;
}
.post h3 {
	background:#fff;
	font-size: 18px;
	color: #008bdc;
	padding: 10px;
	border-bottom: 1px dotted #999999;
}

.post .post_title a {
	color: #333;
	text-decoration: none;
}
.post .post_title a:hover {
	text-decoration: underline;
}

/* 日付 */
.post .post_date {
	clear: both;
	margin-bottom: 10px;
	color: #888888;
	font-size: 80%;
	font-weight: normal;
	text-align: right;
}

/* カテゴリ */
.post .post_category {
	clear: both;
	margin-bottom: 0;
	padding-top: 10px;
	border-top: 1px solid #DDDDDD;
	font-size: 80%;
	color: #888888;
	text-align: right;
}
.post .post_category a {
	color: #888888;
	text-decoration: none;
}
.post .post_category a:hover {
	text-decoration: underline;
}

/* 本文 */
.post_in {
	clear: both;
	width: calc(100% - 20px);
	margin: auto;
	padding: 10px;
}
.post_content {
	clear: both;
	padding: 0 0 20px;
	font-size: 90%;
	font-weight: normal;
}
.post_content:after {
	clear: both;
	display: block;
	overflow: hidden;
	height: 0px;
	content: "";
}
.post_in .btn {
	text-align: center;
}
.post_in .btn a {
	display: inline-block;
	color: #000000;
	padding: 5px 30px;
	border: 1px solid #000000;
}
/* ページナビ 2025*/
#wp_pagenavi {
  display: flex;
  justify-content: center;
  align-items: center;
	width: 100%;
	margin: 60px 0;
}
#wp_pagenavi > * {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  padding: 8px;
  min-width: 40px;
  height: 40px;
  font-size: 18px;
  border-radius: 40px;
  border: 1px solid #eee;
}
#wp_pagenavi span {
  color: #fff;
  background-color: #085CA9;
  border: 1px solid #CCCCCC;
  pointer-events: none;
}
#wp_pagenavi a {
  color: #085CA9;
  background-color: #fff;
  border: 1px solid #CCCCCC;
  transition: background-color .4s ease;
}
#wp_pagenavi a:hover {
  color: #fff;
  background-color: #085CA9;
  border: 1px solid #CCCCCC;
}
/* カレンダー */
#navi_calendar,
#navi_archive {
	clear: both;
	margin-bottom: 30px;
	padding: 10px;
	border: 2px solid #008bdc;
	background: #fff;
	font-weight: normal;
	font-size: 90%;
}
#navi_calendar h3,
#navi_archive h3 {
	margin-top: 0;
	margin-bottom: 5px;
	color: #008bdc;
}
#navi_calendar table {
	width: 100%;
	line-height: 1.3;
}
#navi_calendar table caption {
	padding: 5px 0;
	background: #008bdc;
	color: #FFFFFF;
	font-weight: bold;
}
#navi_calendar table th,
#navi_calendar table td {
	padding: 5px 0;
	text-align: center;
}
#navi_calendar table th {
	border-bottom: 1px solid #DDDDDD;
}
#navi_calendar table tfoot td {
	border-top: 1px solid #DDDDDD;
}
#navi_calendar table tfoot #next {
	text-align: right;
}
#navi_calendar a {
	font-weight: bold;
}

/* アーカイブ */
#navi_archive li {
	padding: 8px 5px;
	border-bottom: 1px solid #DDDDDD;
	list-style: none;
}
#navi_archive li a {
	text-decoration: none;
}
#navi_archive li a:hover {
	text-decoration: underline;
}


/* =Images
-------------------------------------------------------------- */

.post img {
	height: auto;
	max-width: 100%;
}
.post .alignleft,
.post img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.post .alignright,
.post img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.post .aligncenter,
.post img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.post img.alignleft,
.post img.alignright,
.post img.aligncenter {
	margin-bottom: 12px;
}
.post .wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	padding: 4px;
	text-align: center;
}
.post .wp-caption img {
	margin: 5px 5px 0;
}
.post .wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
.post .wp-smiley {
	margin: 0;
}
.post .gallery {
	margin: 0 auto 18px;
}
.post .gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.post .gallery img {
	border: 2px solid #cfcfcf;
}
.post .gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.post .gallery dl {
	margin: 0;
}
.post .gallery img {
	border: 10px solid #f1f1f1;
}
.post .gallery br+br {
	display: none;
}
.post .attachment img { /* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}
/*-----------------------------
ギャラリー
------------------------------*/
.gallery { /** ギャラリーを囲むボックス **/
	width: 100%;
	margin-bottom: 20px !important;
    overflow: hidden;
}
 
.gallery br {display: none;} /** 自動で挿入される clearfix の余白解除 **/
 
.gallery-item { /** 画像共通のスタイル **/
    float: left;
	margin-bottom: 0 !important;
	position: relative;
}
.gallery-icon { /** 画像を囲む dt のスタイル **/
    text-align: center;
	position: relative;
}
.gallery-icon::after{
	position: absolute;
	content: url(/img/info/bg_sub.png);
	top: 0;
	left: 0;
}
 
.gallery-icon img {
	width: 100%;
	height: auto;
	margin-bottom: 25px !important;
}
 
.gallery-caption { /** キャプション **/
	position: absolute;
	top: 0;
	left: 8px;
    font-size: 12px;
    margin: 0 0 10px;
    text-align: center;
	color: #000059;
	font-style: italic;
	line-height: 27px;
}
 
.gallery-columns-1 .gallery-item { /** カラムなし **/
    width: 100%;
    margin-right: 0;
}
.gallery-columns-2 .gallery-item { /** 2カラム **/
	width: 48%;
	margin: 0 1%;
}
.gallery-columns-3 .gallery-item { /** 3カラム **/
    width: 31.33333%;
	margin: 0 1%;
}
.gallery-columns-3 .gallery-item:nth-of-type(3n+1){
	clear: both;
}

.gallery-columns-4 .gallery-item { /** 4カラム **/
    width: 23%;
    margin: 0 1%;
}
.gallery-columns-5 .gallery-item { /** 5カラム **/
    width: 18%;
    margin: 0 1%;
}
 
@media screen and (max-width: 640px) {
	/* 640px以下用の記述 */
	.gallery-columns-3 .gallery-item, .gallery-columns-4 .gallery-item {
		width: 48%;
		margin: 0 1%;
	}
	.gallery-columns-5 .gallery-item {
		width: 31.33333%;
		margin: 0 1%;
	}
}

@media screen and (max-width: 480px) {
    img.alignleft,
    .wp-caption.alignleft {
        float: none !important;
        margin-left: 0 !important;
    }
    img.alignright,
    .wp-caption.alignright {
        float: none !important;
        margin-left: 0 !important;
    }
}