@charset "utf-8";

/*=============================

common

=============================*/
/* パン屑ナビ */
#bread-nav {
    font-size: 13px;
    font-weight: 500;
    margin-top: 30px;
}
#bread-nav li {
    display:inline-block;
	margin-left: 10px;
}
#bread-nav li:before {
    content: '>';
	margin-right: 10px;
}
#bread-nav li:first-child {
    margin-left:0;
}
#bread-nav li:first-child:before {
    display: none;
}
#bread-nav li a {
    color: var(--main-color);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#bread-nav li a:hover {
    color: var(--main-color);
}


@media (max-width: 815px) {

    #bread-nav {
        margin-top: 50px;
    }

}


/* ----------------

cmn-post

----------------- */
.post__in {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.post-contents {
    width: calc(100% - 400px);
    min-height: 500px;
}
.post__list >li {
	padding-bottom: 20px;
    margin-bottom: 20px;
	border-bottom: dotted 1px;
}
.post__list >li a {
    display: flex;
    justify-content: space-between;
}
.post__list >li a .blog-thumb {
    margin-bottom: 0;
    width: 30%;
}
.post__list >li a .blog-info {
    width: 68%;
}

/* sidebar */
#sidebar {
    width: 350px;
}
.sideBox {
    margin-bottom: 30px;
}
.side-title {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
    margin-bottom: 20px;
    background: var(--base-color);
}
.side-category__list >li {
    font-weight: 500;
    margin-bottom: 20px;
}
.side-category__list >li a {
	color: var(--base-color);
}

.side-recent__list >li {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: dotted 1px;
}
.side-recent__list >li a {
    display: flex;
    justify-content: space-between;
}
.side-recent__list >li a .blog-thumb {
    margin-bottom: 0;
    width: 30%;
}
.side-recent__list >li a .blog-info {
    width: 68%;
    font-size: 12px;
}
.side-recent__list >li a .blog-info .blog-info-category,
.side-recent__list >li a .blog-info .blog-info-date{
    font-size: 11px;
}

/* pager */
#cmn-pager {
    margin-top: 100px;
}
#cmn-pager .wp-pagenavi {
    clear: both;
    display: flex;
    justify-content: center;
}
#cmn-pager .wp-pagenavi a,
#cmn-pager .wp-pagenavi span {
    color: var(--main-color);
    display: flex;
    flex-wrap: wrap;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid #bbc4c0;
}
#cmn-pager .wp-pagenavi a:hover,
#cmn-pager .wp-pagenavi span.current {
    color: #fff;
    background: var(--main-color);
}

/* single */
.post-header {
    padding-bottom: 10px;
    margin-bottom: 30px;
    border-bottom: solid 1px;
}
.post-header .post-date {
	display: inline-block;
    color: var(--main-color);
}
.post-header .post-category {
    color: #fff;
    font-size: 13px;
    padding: 2px 10px;
    display: inline-block;
    border-radius: 5px;
    background: var(--vg-color);
    margin-left: 10px;
}
.post-header .post-title {
	font-size: 24px;
	margin-top: 10px;
}

#post-body {
    min-height: 500px;
	line-height: 2;
}
#post-body h2 {
    font-size: 24px;
    padding: 3px 5px 3px 15px;
    margin-bottom: 20px;
    border-left: solid 5px var(--main-color);
    background: #efefef;
}
#post-body h3 {
    font-size: 20px;
    color: var(--main-color);
}
#post-body h3:before {
    content: '―';
    margin-right: 10px;
}
#post-body .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#post-body .gallery img {
    border: none;
}

#post-body .gallery-item {
    float: none !important;
    /*width: 49% !important; */
}

#post-body .aligncenter {
    display: block;
    text-align: center;
    margin: auto;
}
#post-body p {
	margin-bottom: 1em;
}
#post-pager {
    display: flex;
    margin-top: 100px;
	position: relative;
}
#post-pager .prev {
    margin-right: auto;
}
#post-pager .next {
    margin-left: auto;
}
#post-pager .prev a,
#post-pager .next a {
    font-weight: 500;
}
#post-pager .return {
    margin: auto;
    width: 200px;
    text-align: center;
    position: absolute;
    left: calc(50% - 100px);
}
#post-pager .return a {
    color: var(--main-color);
}




@media (max-width: 815px) {

    .post__in {
        display: block;
    }
	.post-contents {
		width: 100%;
		min-height: 100%;
        margin-bottom: 60px;
	}
    .post-header .post-title {
        font-size: 18px;
    }
    #post-body h2 {
        font-size: 18px;
        line-height: 1.5;
    }
    #post-body h3 {
        font-size: 16px;
    }
	#cmn-pager {
		margin-top: 50px;
	}
	#sidebar {
		width: 100%;
	}
    .side-category__list >li {
        font-size: 14px;
    }

}


