@charset "utf-8";

/*=============================

common

=============================*/
#container {
    margin-top: 150px;
}

.page-title {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}
.page-title h2 {
    color: var(--red-color1);
    font-size: 30px;
    font-weight: 500;
}
.page-title h2 i {
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 10px;
    vertical-align: middle;
}
.page-title h2 i.icon-post {
    width: 36px;
    height: 36px;
    background-image: url("../img/cmn/icon_post_cmn.png");
    vertical-align: -7px;
}
.page-title h2 i.icon-news {
    width: 33px;
    height: 43px;
    background-image: url("../img/cmn/icon_post_news.png");
}
.page-title h2 i.icon-recipe {
    width: 33px;
    height: 33px;
    background-image: url("../img/cmn/icon_post_recipe.png");
}
.page-title h2 i.icon-learn {
    width: 32px;
    height: 32px;
    background-image: url("../img/cmn/icon_post_learn.png");
}
.page-title p {
    font-size: 30px;
    font-family: var(--base-font-en);
    margin-left: 20px;
    margin-top: 2px;
    color: var(--red-color2);
}



@media (max-width: 815px) {

    #container {
        margin-top: 70px;
    }

    .page-title {
        margin-bottom: 30px;
    }
    .page-title h2 {
        font-size: 18px;
    }
    .page-title h2 i.icon-post {
        width: 18px;
        height: 18px;
        vertical-align: -4px;
    }
    .page-title h2 i.icon-news {
        width: 18px;
        height: 20px;
    }
    .page-title h2 i.icon-recipe {
        width: 18px;
        height: 18px;
    }
    .page-title h2 i.icon-learn {
        width: 18px;
        height: 18px;
    }
    .page-title p {
        font-size: 18px;
    }

}

/* ----------------

post

----------------- */
.post-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.post-contents {
    width: calc(100% - 450px);
}

#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(--red-color1);
    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 {
    background: var(--red-color1);
}


/* single */
.post-single-in {
    max-width: 1000px;
    margin: auto;
}
.post-header {
    margin-bottom: 50px;
}
.post-header-category {
    display: inline-block;
    font-size: 14px;
    color: var(--red-color1);
    padding: 2px 5px;
    border:solid 1px;
}
.post-header-date {
    display: inline-block;
    font-size: 14px;
    color: var(--date-color);
    margin-left: 20px;
}
.post-header h1 {
    font-size :30px;
    font-weight: 500;
    line-height: 2;
    margin-top: 10px;
}

.post-body {
    min-height: 500px;
	line-height: 2;
}
#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 {
    color: var(--red-color1);
    font-size: 14px;
    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(--red-color1);
}


/* sidebar */
#post-sidebar {
    width: 420px;
}
.sidebar-box {
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    background: #fff;
}
.sidebar-title {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: solid 1px var(--red-color2);
}
.sidebar-title h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--red-color1);
}
.sidebar-title h3 i {
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 10px;
    vertical-align: bottom;
}
.sidebar-title h3 i.icon-side-post {
    width: 26px;
    height: 26px;
    background-image: url("../img/cmn/icon_post_cmn.png");
    vertical-align: -7px;
}
.sidebar-title p {
    font-family: var(--base-font-en);
    margin-left: 10px;
    margin-top: 2px;
    color: var(--red-color2);
}

/* side-category */
.side-category__list {
    display: flex;
    align-items: center;
}
.side-category__list >li:not(:first-child) {
    margin-left: 20px;
}
.side-category__list >li a {
    font-size: 16px;
    font-weight: 500;
    color: var(--red-color1);
}
.side-category__list >li a:after {
    content: '';
    color: var(--red-color1);
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: solid 2px;
    border-right: solid 2px;
    transform: rotate(45deg);
    margin-left: 20px;
}
.side-category__list >li a i {
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 10px;
    vertical-align: middle;
}
.side-category__list >li a i.icon-category-news {
    width: 15px;
    height: 21px;
    background-image: url("../img/cmn/icon_post_news.png");
}
.side-category__list >li a i.icon-category-recipe {
    width: 26px;
    height: 26px;
    background-image: url("../img/cmn/icon_post_recipe.png");
}
.side-category__list >li a i.icon-category-learn {
    width: 20px;
    height: 20px;
    background-image: url("../img/cmn/icon_post_learn.png");
}

/* side-tags */
.side-tags__list {
    margin-left: -10px;
}
.side-tags__list >li {
    font-size: 14px;
    display: inline-block;
    margin: 10px 0 0 10px;
}
.side-tags__list >li a {
    color: var(--red-color1);
    display:block;
    padding: 5px 20px;
    border: solid 1px;
    border-radius: 10000px;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.side-tags__list >li a:hover {
    color: #fff;
    background: var(--red-color1);
}

/* side-newest / side-recommend */
.side-post__list >li {
    margin-bottom: 10px;
}
.side-post__list >li a {
    display: flex;
    justify-content: space-between;
}
.side-post-thumb {
    width:48%;
    border-radius: 10px;
    overflow: hidden;
}
.side-post-info {
    width: 48%;
    font-size: 14px;
}
.side-post-info__title {
    color: var(--base-color);
    line-height: 2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.side-post-info__date {
    color: var(--date-color);
    margin-top: 20px;
    text-align: right;
}

/* side-movie */
#side-movie {
    padding: 50px 25px;
    color: #fff;
    background: var(--red-color1);
}
#side-movie .sidebar-title h3 {
    color: #fff;
}
.sidebar-title h3 i.icon-side-movie {
    width: 32px;
    height: 20px;
    background-image: url("../img/cmn/icon_post_yt.png");
    vertical-align: -3px;
}
.side-movie__list >li {
    text-align: center;
    margin-bottom: 20px;
}
#side-movie .more-btn {
    margin-top: 50px;
}
#side-movie .more-btn a {
    font-size: 14px;
    padding: 15px 0;
}
#side-movie .more-btn a:after {
    vertical-align: 0px;
}



@media (max-width: 815px) {

	.post-contents {
		width: 100%;
		margin-bottom: 100px;
	}

    .post-header h1 {
        font-size: 18px;
    }
    .post-header-category {
        font-size: 10px;
    }
    .post-header-date {
        font-size: 10px;
    }
    .post-body {
        min-height: 100%;
    }

	#sidebar {
		width: 100%;
	}

    .sidebar-title h3 {
        font-size: 13px;
    }
    .sidebar-title h3 i.icon-side-post {
        width: 20px;
        height: 20px;
    }
    .side-category__list >li a {
        font-size: 12px;
    }
    .side-category__list >li a i {
        margin-right: 5px;
    }
    .side-category__list >li a i.icon-category-news {
        width: 10px;
        height: 13px;
    }
    .side-category__list >li a i.icon-category-recipe {
        width: 13px;
        height: 13px;
    }
    .side-category__list >li a i.icon-category-learn {
        width: 13px;
        height: 13px;
    }
    .side-category__list >li a:after {
        width: 6px;
        height: 6px;
        margin-left: 10px;
    }

    .side-tags__list >li {
        font-size: 12px;
    }

    #side-movie .more-btn a {
        font-size: 12px;
    }

}


/**/






