@charset "UTF-8";
/*
Theme Name: XeoryExtension子テーマ
Theme URI: https://xeory.jp/extension
Description: Xeory子テーマ
Author: バズ部
Author URI: https://bazubu.com/
Template:xeory_extension
Version: 0.2.5
*/


/* --------------------------------------------------
共通
-------------------------------------------------- */
*{
    font-family: 'Noto Sans JP', sans-serif !important;
}
.fa,
#searchform button { /* アイコンフォントを表示させる */
    font-family: FontAwesome !important;
}
html {
    font-size: 16px;
}
body.home .wrap {
    width: 960px;
}
.btn {
    margin: 2rem 0 5rem;
    text-align: center;
}
.btn a {
    border: 2px solid #006837;
    padding: 1rem 12rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 3rem;
}
.btn a:hover {
    background: #006837;
    color: #fff;
    text-decoration: none;
}
.post-content p {
    font-size: 1rem;
    line-height: 1.8;
}


/* --------------------------------------------------
スライダー
-------------------------------------------------- */
.metaslider .flex-viewport {
    overflow: visible !important;
}
/*画像に余白をつけたい場合*/
.flexslider .slides img{
    padding:0 2px!important;
}
html {
    overflow-x:hidden;
}
body.home #main_visual {
    height: auto !important;
    background: #FFFEF5;
	display: none;
}
body {
    background: #FFFEF5;
    color: #241913;
    overflow-x: hidden;
}
a {
    color: #006837;
}

/* --------------------------------------------------
ヘッダー
-------------------------------------------------- */
#header {
    background-color: #fff;
    padding: 0;
    overflow: visible;
    border-bottom: solid 3.5px #8CC63F;
}
.logo-wrapper {
    float: left;
    line-height: 1.4;
    margin-top: 22px;
}
.logo-wrapper a {
    font-size: 1.5rem;
    font-weight: bold;
}
.logo-wrapper a:hover {
    text-decoration: none;
}
.logo-wrapper a img {
    width: 200px;
}
#gnav {
    background: #fff;
}
#gnav ul li a {
    display: block;
    padding: 32px 12px;
    line-height: 28px;
    color: #006837;
    background: #fff;
    text-decoration: none;
    -webkit-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
    font-size: 0.85rem;
    font-weight: 700;
}
#gnav ul li.current-menu-item a {
    background: #fff;
}
#gnav ul li a:hover {
    color: #006837;
    background: transparent;
}

/* --------------------------------------------------
フッター
-------------------------------------------------- */
.footer-sns-area-cont {
    display: table;
    margin: 0 0 0 auto;
}
.footer-sns-area-cont::before {
    content: "＼ フォローで更新情報をお伝えします ／";
    font-size: 0.75rem;
    font-weight: bold;
    display: block;
    text-align: center;
    padding-bottom: 5px;
    margin-top: -1rem;
}
ul.footer-sns-area {
    display: flex;
    justify-content: flex-end;
    padding: 0 15px 0 0 !important;
}
.footer-sns-area li {
    height: 40px;
    margin: 0 0 0 10px;
}
.footer-sns-area li img {
    height: 100%;
}

/* --------------------------------------------------
最新記事
-------------------------------------------------- */
body.home .front-loop {
    border-top: none;
    border-bottom: none;
    background: none;
}
body.home .front-loop h2 {
    width: 960px;
    padding: 0 0 0.5rem;
    margin: 0 auto;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: left;
}
body.home .front-loop .front-loop-cont {
    padding: 2rem 0;
    display: flex;
    flex-wrap: wrap;
}
body.home .front-loop article.post {
    border: none;
    margin: 0;
}
body.home .front-loop article.post:first-of-type,
.post-archive-wrap article.post {
    width: 100%;
    display: flex;
}
body.home .front-loop article.post:first-of-type .post-info-box,
.post-archive-wrap .post-info-box {
    padding: 2.5rem 2rem 2rem;
    width: 60%;
}
body.home .front-loop .popular_post_box h3 {
    font-weight: 700;
    font-size: 1.2rem;
}
body.home .front-loop article.post:first-of-type h3,
.post-archive-wrap .post-info-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.post-archive-wrap .post-info-box h3 a {
    color: #241913;
}
body.home .front-loop .popular_post_box .p_category,
.post-archive-wrap .post-info-box .p_category {
    background: transparent;
    color: #006837;
    display: inline-block;
    padding: 4px 16px;
    font-size: 12px;
    border: 1px solid;
    /* margin-bottom: 1rem; */
    margin-bottom: 0;
}
.excerpt {
    color: #666;
    font-size: 0.75rem;
    display: none;
}
body.home .front-loop .popular_post_box .p_date,
.post-archive-wrap .post-info-box .p_date{
    position: relative;
    top: auto;
    left: auto;
    right: 0;
    background: transparent;
    width: auto;
    height: auto;
    text-align: right;
    font-size: 12px;
    font-weight: 700;
    color: #f797a5;
    opacity: 1;
    margin: 0;
}
body.home .front-loop article.post:first-of-type img {
    margin-bottom: 0;
}
body.home .front-loop article.post + article {
    margin-right: 1.5rem;
}
body.home .front-loop article.post:last-of-type {
    margin-right: 0;
}
body.home .front-loop article.post:nth-of-type(4) {
    margin-right: 0;
}
body.home .front-loop article.post {
    width: calc((960px - 3rem)/ 3);
    overflow: hidden;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px #e5e5e5 solid;
    box-shadow: 0 2.5rem 2rem -2.5rem hsl(200 50% 20% / 10%);
    transition: all .3s ease;
}
.post-archive-wrap article.post {
    overflow: hidden;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2.5rem 2rem -2.5rem hsl(200 50% 20% / 10%);
    transition: all .3s ease;
}
body.home .front-loop article.post:hover,
.post-archive-wrap article.post:hover {
    box-shadow: none;
    transform: translateY(2px);
}
.post-info-box {
    padding: 1rem 2rem 2rem;
}
.tag-list {
    margin: 1.5rem 0 0 !important;
    padding: 0;
    font-size: 12px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.tag-list li {
    float: none !important;
    width: auto !important;
    margin-right: 0.5rem;
}
.tag-list li a {
    color: #006837 !important;
}
.tag-list li a:before {
    content: "#";
}
body.home .front-loop .popular_post_box img,
.post-archive-wrap article.post .post-thumbnail img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}
body.home .front-loop article.post:first-of-type .post-thumbnail,
.post-archive-wrap article.post .post-thumbnail {
    width: 40%;
}

/* カテゴリと日付横並び */
.p_date-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

/* --------------------------------------------------
注目のタグと全てのタグ
-------------------------------------------------- */
.all-tag, 
.all-category {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    border-radius: 0.5rem;
    margin-bottom: 3rem !important;
    padding: 2rem;
    border: 1px solid #e5e5e5;
    background-color: #fff;
}
.all-tag-head,
.all-category-head{
    display: block;
    width: 100%;
    padding: 0 0 0.5rem;
    margin: 0 auto 0.5rem;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.85rem;
    font-weight: 700;
}
.all-category ul{
    padding: 0;
    margin: 0;
}
.all-tag li,
.all-category li{
    list-style: none;
}
.all-category li::before{
    content: "・";
}
.all-tag a{
    display: inline-block;
    margin: 0 0.5rem 0.5rem 0;
    padding: 2px 10px;
    border: 1px solid #006837;
    border-radius: 50px;
    font-size: 14px
}
.all-tag a::before{
    content: "# " ;
}
.all-tag a:hover{
    background-color: #006837;
    color: #fff;
    text-decoration: none;
}
.popular-tag,
.attention-tag{
    width: 48%;
}
.attention-tag{
    margin-left: 4%;
}
.all-link{
    float: right;
    margin-bottom: 5px;
}
.all-link a{
    margin: 0;
    padding: 0;
    border: none;
    font-size: 13px;
    font-weight: 400;
}
.all-link a:hover{
    background-color: #fff;
    color: #006837;
    text-decoration: underline;
}
.all-link a::before{
    content: "";
}

.top-tag{
    margin: 80px auto 0 !important;
}

/* --------------------------------------------------
フッター
-------------------------------------------------- */
.footer-logo.logo-wrapper {
    margin-top: 0;
}
#footer-gnav-ul li a {
    font-size: 0.85rem;
    font-weight: 700;
}

/* --------------------------------------------------
記事一覧
-------------------------------------------------- */
body.blog h1.post-title {
    display: none;
}
.post-loop-wrap .post-footer a.morelink {
    background: #006837;
}

/* --------------------------------------------------
記事詳細
-------------------------------------------------- */
article.post, article.page {
    border-radius: 8px;
}
.post-content h2 {
    font-size: 24px;
    font-weight: bold;
    border-left: 10px solid #006837;
    background: #8cc63f;
}
.post-content h3 {
    font-size: 1.2rem;
    margin: 48px 0 24px;
    padding: 20px 0;
    clear: both;
    font-weight: 700;
    border-bottom: 2px solid #006837;
    line-height: 1;
    color: #006837;
}
.post-footer .bzb-sns-btn {
    padding: 30px 0;
    display: none;
}

/* --------------------------------------------------
リンク
-------------------------------------------------- */
body.home .front-loop .popular_post_box h3 a:hover,
.post-title a:hover,
.post-archive-wrap .post-info-box h3 a:hover {
    color: #006837;
}


/* --------------------------------------------------
目次
-------------------------------------------------- */
div#ez-toc-container {
    width: 100%;
    margin: 5rem auto 0 0;
    padding: 2rem;
}
.ez-toc-title-container {
    margin-bottom: 0.5rem;
}
div#ez-toc-container ul li {
    line-height: 1.8;
}
.ez-toc-list-level-3 {
    font-size: 0.85rem;
    margin-bottom: 0.5rem !important;
}
.ez-toc-list-level-3 li {
    margin: 0.3rem !important;
}

/* --------------------------------------------------
サイドバー
-------------------------------------------------- */
.side-widget a {
    display: inline-block;
    color: #006837;
}

/* --------------------------------------------------
レスポンシブ
-------------------------------------------------- */
@media only screen and (max-width:991px) {
    #header .wrap {
        margin: 0 0 0 24px;
    }
    #gnav-sp {
        top: 124px !important;
    }
    body.home .wrap,
    body.home .front-loop h2 {
        width: 90%;
        margin: 0 auto;
    }
    body.home .front-loop .popular_post_box .wrap-a {
        border: none;
        height: 100%;
    }
    body.home .front-loop article.post {
        width: calc((100% - 3rem)/ 3);
    }
    body.home .front-loop article.post:nth-of-type(4),
    body.home .front-loop article.post:nth-of-type(5) {
        display: block;
    }
    #header-nav-btn a:hover {
        text-decoration: none;
    }
    article.page .post-content {
        padding: 20px;
    }
    .all-tag, .all-category{
        padding: 1.5rem;
    }
    .all-tag a{
        font-size: 12px !important;
    }
    .popular-tag,
    .attention-tag{
        width: 100%;
        margin: 0;
    }
    .attention-tag{
        margin-top: 30px;
    }	
}
@media only screen and (max-width:767px) {
    #header-nav-btn {
        width: 112px;
        float: right;
        height: 88px;
        margin-right: 0;
    }
    #header-nav-btn a {
        font-size: 32px;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #gnav-sp {
        top: 134px !important;
    }
    .post-archive-wrap .post-info-box h3 {
        margin-top: 0;
    }
    .post-title {
        font-size: 1.2rem;
    }
    div#ez-toc-container {
        width: 100%;
    }
    .footer-sns-area-cont {
        margin: 0 auto;
    }
    .footer-sns-area-cont::before {
        margin-top: 30px;
    }
}
@media only screen and (max-width:599px) {
    body.home #content {
        padding-top: 1rem;
    }
    body.home .front-loop .popular_post_box .p_category, 
    .post-archive-wrap .post-info-box .p_category {
        font-size: 10px;
        padding: 2px 8px;
    }
    .p_date-wrapper {
        margin-bottom: 0.5rem;
    }
    body.home .front-loop article.post:first-of-type h3, 
    body.home .front-loop article.post h3, 
    .post-archive-wrap .post-info-box h3 {
        font-size: 0.85rem;
    }
    .excerpt {
        display: none;
    }
    .tag-list {
        margin: 0.5rem 0 !important;
    }
    body.home .front-loop article.post:first-of-type .post-info-box, 
    body.home .front-loop article.post .post-info-box, 
    .post-archive-wrap .post-info-box {
        padding: 1rem 1rem 0.5rem;
    }
    body.home .front-loop article.post .post-thumbnail, 
    body.home .front-loop article.post:first-of-type .post-thumbnail, 
    .post-archive-wrap article.post .post-thumbnail {
        width: 30%;
        padding: 1rem 0 0 1rem;
    }
    body.home .front-loop .popular_post_box img, .post-archive-wrap article.post .post-thumbnail img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
    }
    .post-info-box {
        width: 70% !important;
    }
    body.home .front-loop article.post {
        width: 100%;
        display: flex;
        margin: 0 0 0.5rem !important;
    }
    .post-archive-wrap article.post {
        margin-bottom: 0.5rem;
    }
    body.home .front-loop article.post:nth-of-type(4), 
    body.home .front-loop article.post:nth-of-type(5) {
        display: flex;
    }
    .btn {
        margin: 0 0 5rem;
        text-align: center;
        width: 100%;
    }
    .btn a {
        padding: 1rem 5rem;
        width: 100%;
        display: inline-block;
    }
    .post-share {
        padding: 20px;
    }
    .post-content h2,
    .post-content h3 {
        font-size: 1rem;
        line-height: 1.6;
        margin: 60px 0 20px -30px;
    }
    .post-content h3 {
        margin: 0 0 20px 0;
        padding-top: 0;
    }
    .tag-list li a {
        font-weight: bold;
    }
    #toc_container p.toc_title + ul.toc_list {
        font-weight: bold;
    }
    .postviews li {
        margin-bottom: 1rem;
        font-weight: bold;
    }
    .post-content p {
        font-size: 0.85rem;
        line-height: 1.8;
    }
    .post-footer ul {
        overflow: hidden;
        padding: 0;
        margin: 0;
    }
}
@media only screen and (max-width:414px) {
    .logo-wrapper a {
        font-size: 1.2rem;
    }
    .logo-copy {
        font-size: 10px;
    }
    .logo-subtitle {
        top: 0;
        display: table;
        margin: 2px 0 1rem;
        font-size: 8px;
    }
    #header-nav-btn {
        height: 98px;
    }
    #gnav-sp {
        top: 98px !important;
    }
}