/*
Theme Name: MuumChild
Theme URI:  https://www.wpserveur.net
Author:     WPServeur
Author URI: https://www.wpserveur.net
Template:   muum_tcd085
Version:    1.0
License:    GNU General Public License v2 or later
*/
/*------------------------------------------

共通

------------------------------------------*/
body {
    color: #444;
}

/*--------見出し--------*/
.post_content h1 {
    position: relative;
    margin-bottom: 2em !important;
}


.post_content h1:before {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #00913a;
}

/*--------見出しTOP用--------*/
.home #main_col h1 {
    position: relative;
    margin-bottom: 2em !important;
}

.home #main_col h1:before {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #00913a;
}


.post_content h2 {
    background: rgba(50, 50, 50, .07);
    border-bottom: 3px solid #00913a;
    padding: .5em .5em !important;
    text-align: left !important;
    font-size: 24px !important;
}

.post_content h3 {
    border-top: 2px solid #00913a;
    border-bottom: 2px solid #00913a;
    padding: .3em .5em !important;
    font-size: 22px !important;
}

.post_content h4 {
    border-bottom: 2px dotted #00913a;
    padding: .3em .5em !important;
}

.post_content h5 {
    border-left: 4px solid #00913a;
    padding: .1em .5em !important;
}

/*--------見出しTOP用--------*/
.home #main_col h1 {
    font-weight: 600;
    line-height: 1.4;
    margin: 120px 0 1.3em 0;
    text-align: center;
    font-size: 30px;
    text-align: center;
}

.home #main_col h1:before {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #00913a;
}

@media screen and (max-width: 767px) {
    .post_content h2 {
        font-size: 20px !important;
    }

    .home #main_col h1 {
        font-size: 24px;
    }

}

/*--------テキストリンク--------*/
.post_content a {
    text-decoration: underline;
}

.post_content a:hover {
    text-decoration: none !important;
}

a:hover {
    transition: 0.5s;
}

/*--------投稿記事内のボタン--------*/
.post_content .wp-element-button,
.post_content .ark-block-button__link {
    text-decoration: none;
}

.post_content .wp-element-button:hover {
    opacity: 0.7;
    text-decoration: none;
}

@media screen and (max-width: 600px) {

    /*スマホの時はボタンを全幅に*/
    .wp-block-buttons > .wp-block-button.wp-block-button__width-50 {
        width: 100% !important;
    }

    .ark-block-buttons[data-orientation="horizontal"] .ark-block-button[data-has-width] {
        width: 100% !important;
    }

}



/*--------投稿記事内の表--------*/
.post_content td,
.post_content th {
    padding: 0.5em 1em !important;
}

.post_content .wp-block-table.is-style-regular thead {
    border-bottom: 0;
}

.post_content .wp-block-table.is-style-regular thead th {
    background: #555;
    color: #fff;
}

/*--------目次--------*/
.post_content .ark-block-toc {
    border: 3px double #aaa;
    background-image: inherit;
}

/*--------投稿記事内の引用--------*/
.post_content blockquote::before,
.post_content blockquote::after {
    color: #00913a !important;
}

/*--------ブログカード--------*/
.arkb-boxLink__content {
    line-height: 1.5em;
}

/*------------------------------------------

TOP

------------------------------------------*/
/*各カテゴリ記事一覧*/
.home .top_cat_content {}

.home .top_cat_content .item {
    opacity: 1;
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
    height: 230px;
    margin: 0 0 40px 0;
    position: relative;
}

.home .top_cat_content .category {
    font-size: 12px;
    text-align: center;
    color: #fff;
    position: absolute;
    z-index: 3;
    left: 362px;
    top: 10px;
    min-width: 130px;
    height: 35px;
    line-height: 35px;
    padding: 0 20px;
    display: inline-block;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.home .top_cat_content .link {
    display: block;
    width: 100%;
    height: 100%;
}

.home .top_cat_content .image_wrap {
    float: left;
    display: block;
    width: 352px;
    height: 230px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.home .top_cat_content .image {
    width: 100%;
    height: 100% !important;
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.home .top_cat_content .content {
    width: calc(100% - 352px);
    height: 230px;
    float: left;
    border: 1px solid #ddd;
    border-left: none;
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.home .top_cat_content .content_inner {
    padding: 0 30px;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.home .top_cat_content .title {
    font-weight: 600;
    line-height: 1.8;
    max-height: 5.4em;
    overflow: hidden;
    visibility: visible;
    word-wrap: break-word;
    word-break: break-all;
    font-size: 18px;
}

.home .top_cat_content .title span {
    display: -webkit-inline-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.home .top_cat_content .date::before {
    font-family: 'footer_bar';
    content: '\e912';
    font-size: 13px;
    top: 0px;
    left: 0px;
    position: absolute;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.home .top_cat_content .date {
    font-size: 14px;
    margin: 7px 0 0 0;
    padding: 0 0 0 22px;
    color: #999;
    position: relative;
    font-family: 'Arial';
}

@media screen and (max-width: 1100px) {
    .home .top_cat_content .item {
        margin: 0 0 30px 0;
    }

    .home .top_cat_content .category {
        font-size: 11px;
        min-width: 100px;
        height: 25px !important;
        line-height: 25px !important;
        padding: 0 15px;
    }
}

@media screen and (max-width: 900px) {
    .home .top_cat_content .item {
        height: 200px;
    }

    .home .top_cat_content .category {
        left: 310px;
    }

    .home .top_cat_content .image_wrap {
        width: 300px;
        height: 200px;
    }

    .home .top_cat_content .content {
        width: calc(100% - 300px);
        height: 200px;
    }
}

@media screen and (max-width: 750px) {
    .home .top_cat_content .item {
        height: 147px;
        margin: 0;
        padding: 20px 20px 20px 0;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        border-top: 1px solid #ddd;
    }

    .home .top_cat_content .category {
        left: 0px;
        height: 25px;
        line-height: 25px;
        top: 8px;
    }


    .home .top_cat_content .image_wrap {
        width: 160px;
        height: 105px;
    }

    .home .top_cat_content .content {
        width: calc(100% - 160px);
        height: 105px;
        border: none;
    }

    .home .top_cat_content .content_inner {
        padding: 0 0 0 20px;
    }

    .home .top_cat_content .title {
        line-height: 1.8;
        max-height: 5.4em;
        font-size: 15px;
    }

}

/*------------------------------------------

サイドバー

------------------------------------------*/
/*検索結果404のときサイドバー削除*/
.search-no-results #side_col {
    display: none;
}

@media screen and (max-width: 1100px) {

    /*ワンカラムの時、サイドバーウィジェットを削除*/
    #side_col {
        display: none !important;
    }
}

/*------------------------------------------

ヘッダー

------------------------------------------*/
/*検索バーの削除*/
#header_search {
    display: none;
}

/*メガメニューのテキストリンクを変更*/
.megamenu_blog_list .category_list li.active a {
    color: #fff !important;
}

.megamenu_blog_list .category_list li.active a:hover {
    opacity: 0.7 !important;
}

/*ロゴサイズ調整*/
#header_logo img {
    max-height: 50px;
}

/*------------------------------------------

フッター

------------------------------------------*/
/*投稿ページ下部の特集記事削除*/
#bottom_post_list {
    display: none !important;
}

/*フィードアイコン削除*/
#footer_sns .rss {
    display: none !important;
}

/*------------------------------------------

TOP記事一覧

------------------------------------------*/
/*カテゴリ位置調整*/
#index_tab_post_list .post_list.type2 .category {
    left: 362px;
    top: 10px;
    height: 35px;
    line-height: 35px;
}

@media screen and (max-width: 1100px) {
    #index_tab_post_list .post_list.type2 .category {
        height: 25px !important;
        line-height: 25px !important;
    }
}

@media screen and (max-width: 900px) {
    #index_tab_post_list .post_list.type2 .category {
        left: 310px;
    }
}

@media screen and (max-width: 750px) {
    #index_tab_post_list .post_list.type2 .category {
        left: 20px !important;
        height: 25px !important;
        line-height: 25px !important;
        top: 8px !important;
    }
}

@media screen and (max-width: 480px) {
    #index_tab_post_list .post_list.type2 .category {
        left: 20px !important;
        top: 10px !important;
        height: 20px !important;
        line-height: 20px !important;
    }
}

/*タイトルの行数を制限*/
#index_tab_post_list .post_list.type2 .title span {
    -webkit-line-clamp: 2;
    overflow: hidden;
}

@media screen and (max-width: 480px) {
    #index_tab_post_list .post_list.type2 .title span {
        -webkit-line-clamp: 3;
    }
}

/*スマホのサムネイル等調整*/
@media screen and (max-width: 480px) {
    #index_tab_post_list .post_list.type2 .image_wrap {
        width: 110px;
        height: 70px;
    }

    #index_tab_post_list .post_list.type2 .item {
        height: 150px;
    }

    #index_tab_post_list .post_list.type2 .link {
        display: flex;
        align-items: center;
    }

    #index_tab_post_list .post_list.type2 .content {
        width: calc(100% - 120px);
        height: 115px;
    }

    #index_tab_post_list .post_list.type2 .content_inner {
        padding: 0 0 0 10px;
    }
}





/*------------------------------------------

検索フォーム

------------------------------------------*/
.vkfs__call-filter-search .vk-filter-search {
    display: flex;
    align-items: center;
    padding: 2em 1em;
    border: 3px double #aaa;
}

.vkfs__call-filter-search .vk-filter-search .vkfs__labels {
    width: 80%;
}

.vkfs__call-filter-search .vk-filter-search .vkfs_submit {
    width: 20%;
    height: 35px;
    background-color: #00913a;
    border: 0;
    color: #fff;
    border-radius: 4px;
}

.vkfs__call-filter-search .vk-filter-search .vkfs_submit:hover {
    background-color: #333;
    transition: 0.5s;
}

@media screen and (max-width: 767px) {
    .vkfs__call-filter-search .vk-filter-search {
        display: block;
    }

    .vkfs__call-filter-search .vk-filter-search .vkfs__labels {
        width: 100%;
    }

    .vkfs__call-filter-search .vk-filter-search .vkfs_submit {
        width: 90%;
        max-width: 400px;
    }
}

/*------------------------------------------

検索結果ページ

------------------------------------------*/
/*ページタイトルの色変更*/
.search-results #page_header {
    background: #333333 !important;
}

/*カテゴリとタグの表示*/
.search-results .result_catArea {
    margin-bottom: 16px;
    font-weight: bold;
}

/*----検索結果ページとカテゴリページ共通----*/
@media screen and (max-width: 1100px) {
    .blog_list.type2 {}


}

/*サムネイル調整*/
.blog_list.type2 .image_wrap {
    width: 352px;
}

.blog_list.type2 .content {
    width: calc(100% - 352px);
}

/*スマホのサムネイル等調整*/
@media screen and (max-width: 750px) {
    .blog_list.type2 .image_wrap {
        width: 160px !important;
        height: 105px !important;
    }

    .blog_list.type2 .item {
        height: auto !important;
        margin-bottom: 10px !important;
    }

    .blog_list.type2 .content {
        width: calc(100% - 160px) !important;
        border: 0 !important;
    }

    .blog_list.type2 .link {
        border-bottom: 1px solid #ddd !important;
        padding: 0 0 10px 0;
        display: flex;
        align-items: center;
    }
}

@media screen and (max-width: 480px) {
    .blog_list.type2 .image_wrap {
        width: 110px;
        height: 70px;
    }

    .blog_list.type2 .item {
        height: 150px;
    }

    .blog_list.type2 .link {
        display: flex;
        align-items: center;
    }

    .blog_list.type2 .content {
        width: calc(100% - 120px);
        height: 115px;
    }

    .blog_list.type2 .content_inner {
        padding: 0 0 0 10px;
    }
}

/*カテゴリアイコン*/
.blog_list.type2 .category {
    left: 362px;
    top: 10px;
    height: 35px;
    line-height: 35px;
}

@media screen and (max-width: 1100px) {
    .blog_list.type2 .category {
        height: 25px !important;
        line-height: 25px !important;
        left: 160px !important;
        top: 0px !important;
    }
}

@media screen and (max-width: 900px) {
    .blog_list.type2 .category {
        left: 130px !important;
        height: 20px !important;
        line-height: 20px !important;
    }
}

@media screen and (max-width: 750px) {
    .blog_list.type2 .category {
        left: 0px !important;
        height: 20px !important;
        line-height: 20px !important;
        top: 4px !important;
    }
}

@media screen and (max-width: 480px) {
    .blog_list.type2 .category {
        left: 0px !important;
        top: 5px !important;
        height: 20px !important;
        line-height: 20px !important;
    }
}

/*タイトルの行数調整*/
.blog_list.type2 .title span {
    -webkit-line-clamp: 2;
    overflow: hidden;
}

@media screen and (max-width: 480px) {
    .blog_list.type2 .title span {
        -webkit-line-clamp: 3;
    }
}




/*------------------------------------------

お問合せ

------------------------------------------*/
/*必須*/
.page-id-32 .wpcf7 .required {
    background-color: #C1413A;
    color: #fff;
    margin-left: 0.3em;
    padding: 0.3em 0.4em;
    border-radius: 4px;
    font-size: 0.8em;
}

/*同意*/
.page-id-32 .wpcf7 .privacy_acceptance .wpcf7-list-item {
    float: left;
    margin: 0 0 0 0;
}

.page-id-32 .wpcf7 .privacy_acceptance .wpcf7-list-item-label {
    font-size: 16px;
}
