
/*====================================
    blog
====================================*/
.blog-wrap{
    max-width: 1100px;
    margin: auto;
    padding: 35px 0 50px;
    display: flex;
    justify-content: space-between;
}
.archive_info .blog-wrap{
    display: block;
}
.midashi{
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
}
.blog-list{
    width: 72%;
}
.sidebar{
    width: 24%;
}
/* サイドバー
-------------------------- */
.widge_wrap{
    padding: 20px 0;
}
.widge_title{
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}
.widge_wrap ul:not(.tags) li a{
    font-size: 14px;
    display: block;
    padding: 14px 10px;
    border-bottom: 1px solid #ddd;
    transition: all .3s;
}
.widge_wrap ul:not(.tags) li a:hover{
    padding-left: 15px;
}
.widge_wrap ul.tags{
    margin-top: 10px;
}

ul.tags{
    display: flex;
    flex-wrap: wrap;
}
ul.tags li{
    margin: 4px 6px 4px 0;
}
ul.tags a{
    background: #eee;
    font-size: 14px;
    display: block;
    padding: 4px 10px;
    border-radius: 5px;
    transition: all .3s;
}
ul.tags li a:hover{
    color: #fff;
    background: #005bac;
}

/* 一覧
-------------------------- */
.blog-item{
    margin: 15px 0;
    padding: 15px 0 25px;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
}
.blog-item a{
    display: block;
}
.blog-item__thumb{
    float: left;
    width: 30%;
    overflow: hidden;
    position: relative;
}
.blog-item__thumb:before {
    content: "";
    display: block;
    padding-top: 75%;
}
.blog-item__thumb img{
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    min-height: auto;
    min-width: auto;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    transform: none;
    width: 100%;
}
.blog-item__text{
    float: right;
    width: 66%;
    font-size: 14px;
}
.blog-item__text .title{
    font-weight: 600;
    font-size: 20px;
}
.blog-item__text .text{
    margin: 10px 0;
}
.blog-item__text .tags a{
    font-size: 13px;
}
.blog-item__text .date{
    color: #666;
    text-align: right;
    margin-top: 10px;
}
/* ページナビ
-------------------------- */
.wp-pagenavi {
    font-size: 14px;
    text-align: center;
    padding-top: 30px;
}
.wp-pagenavi a,
.wp-pagenavi span{
    width: 32px;
    height: 32px;
    line-height: 30px;
    display: inline-block;
    margin: 0 3px;
    border-radius: 6px;
}
.wp-pagenavi a{
    text-decoration: none;
    color: #333;
    border: 1px solid #bbb;
}
.wp-pagenavi .current{
    color: #fff;
    background: #005bac;
    border: 1px solid #005bac;
}

/*====================================
    詳細
====================================*/
.blog-header{
    margin-bottom: 15px;
}
.blog-header .midashi{
    font-size: 30px;
}
.blog-header .date{
    text-align: right;
}
.blog-content{
    font-weight: 400;
}
.blog-content h2{
    clear: both;
    font-size: 26px;
    font-weight: 700;
    margin: 40px 0 20px;
    padding-left: .7em;
    color: #005bac;
    border-left: 4px solid #005bac;
}
.blog-content h2 span{
    text-decoration: none !important;
    font-size: unset !important;
    font-family: unset !important;
}
.blog-content h3{
    clear: both;
    font-size: 21px;
    font-weight: 700;
    margin: 40px 0 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}
.blog-content h3 span{
    font-size: unset !important;
    font-family: unset !important;
}
.blog-content p{
    margin: 10px 0;
}
.blog-content span{
    font-family: unset !important;
}
.blog-content a{
    color: #005bac;
    text-decoration: underline;
}
.blog-content a:hover{
    text-decoration: none;
}
.blog-content blockquote {
    position: relative;
    padding: 10px 15px 10px 70px;
    margin: 2em 0;
    box-sizing: border-box;
    background: #efefef;
    color: #555;
}
.blog-content blockquote:before{
    display: inline-block;
    position: absolute;
    top: 18px;
    left: 15px;
    width: 36px;
    height: 36px;
    content: "";
    background: url(../img/icon_blockquote.png) no-repeat;
    background-size: cover;
}


/* 装飾
-------------------------- */
.blog-content table{
    width: 100% !important;
    margin: 15px 0;
}
.blog-content table th,
.blog-content table td{
    padding: 10px;
    border: 1px solid #dedede;
}
.blog-content .youtube {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin: 20px 0;
}
.blog-content .youtube iframe{
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
}
/*ショートコードから呼び出す装飾*/
.blog-content .kakomi_box{
    border: 1px solid #ddd;
    padding: 1em 1.5em;
    margin: 1.5em 0;
}
.blog-content ul,
.blog-content ul{
    list-style: unset;
    margin-left: 2em;
}
@media only screen and (min-width: 768px){
    .aligncenter{
        display: block;
        margin: 15px auto;
    }
    .alignleft{
        float: left;
        margin: 0 20px 10px 0;
    }
    .alignright {
        float: right;
        margin: 0 0 10px 20px;
    }
}
.alignnone{ display: block; margin: 15px 0; }
.wp-caption { border: 1px solid #ddd; text-align: left; background-color: #f3f3f3; padding: 5px; border-radius: 3px;}
.wp-caption img { margin: 0; padding: 0; border: 0 none;}
.wp-caption p.wp-caption-text { font-size: 14px; line-height: 1.5; margin: 0; padding: 0;}

.blog-content a[target="_blank"]:after {
    content: '';
    background: url(../img/glink_b.png) no-repeat center;
    background-size: cover;
    width: 18px;
    height: 14px;
    margin-left: 8px;
    display: inline-block;
}

/* もくじ
-------------------------- */
#ez-toc-container{
    width: 100%;
    padding: 20px 35px;
    margin: 30px auto 0;
    border: 8px solid #eee;
}
#ez-toc-container .ez-toc-list{
    margin-top: 10px;
}
#ez-toc-container .ez-toc-title{
    margin-bottom: 20px;
}
#ez-toc-container.counter-decimal ul.ez-toc-list li a::before, .ez-toc-widget-container.counter-decimal ul.ez-toc-list li a::before{
    margin-right: 0.6em;
}

/* ブログカード
-------------------------- */
a.nm-card {
    border: 1px solid #eee;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    display: block;
    padding: 20px;
    position: relative;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    width: 100%;
    text-decoration: none;
}
a.nm-card:hover {
    box-shadow: none;
    opacity: .8;
}
a.nm-card+a.nm-card{
    margin-top: 15px;
}

.nm-card-box {
    overflow: hidden;
}

.nm-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #428bca;
    padding-bottom: 5px;
}

.nm-card-thumbnail {
    float: left;
    width: 30%;
    position: relative;
}
.nm-card-thumbnail:before {
    content: "";
    display: block;
    padding-top: 75%;
}
.nm-card-thumbnail img {
    width: 100%;
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    min-height: auto;
    min-width: auto;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    transform: none;
}

.nm-card-content {
    float: right;
    width: 65%;
}
.nm-card-excerpt {
    color: #808080;
    font-size: 13px;
    padding-bottom: 15px;
}
.nm-card-site {
    border-top: dashed 1px #a4a4a4;
    color: #b2b2b2;
    font-size: 11px;
    text-align:right;
    padding-left: 5px;
}
.nm-card-site img {
    margin-right: 5px;
    vertical-align: bottom;
    width: 20px;
}
@media (max-width: 980px) {
    .nm-card-excerpt {
        border: none;
    }
}

/* ボタン
-------------------------- */
div.btn-pt{
    text-align: center;
    padding-top: 2em;
}
.blog-content .ctr,
div.btn-pt a{
    display: inline-block;
    margin: auto;
    padding: 14px 16px;
    color: white;
    min-width: 260px;
    margin: auto;
    text-align: center;
    border-radius: 10px;
    text-decoration: none!important;
}
/*問い合わせ*/
.blog-content .ctr{
    background: #005bac;
}
/*赤ボタン*/
div.btn-red a{
    background: #ef3333;
}
/*オレンジボタン*/
div.btn-orange a{
    background: #ea9612;
}

/*====================================
    news
====================================*/

.archive_info ul li a {
    border-bottom: 1px solid #ccc;
    padding: 23px 0;
    display: block;
}
.archive_info ul li:first-child a {
    border-top: 1px solid #ccc;
    margin-top: 25px;
}
.archive_info ul dl {
    width: 100%;
    display: flex;
}
.archive_info ul dt {
    font-weight: normal;
    width: 15%;
}
.archive_info ul dd {
    width: 85%;
}

/* 詳細
----------------------------------*/
.back_link{
    margin-top: 40px;
}



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

.blog-wrap{
    margin-right: 1.3rem;
    margin-left: 1.3rem;
}

}/* END 1250px */

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

.blog-wrap{
    display: block;
}
.blog-list, .sidebar{
    width: auto;
}


/*====================================
    blog
====================================*/
.blog-wrap{
    padding-top: 0;
}
.blog-list, .sidebar{
    margin-top: 15px;
}
.blog-list+.sidebar{
    padding-top: 40px;
}
.midashi{
    font-size: 20px;
    margin-bottom: 10px;
}

/* サイドバー
-------------------------- */
.widge_title{
    font-size: 18px;
}


/* 一覧
-------------------------- */
.blog-item{
    margin: 10px 0;
    padding: 6px 0 18px;
}
.blog-item__thumb{
    width: 45%;
}
.blog-item__thumb:before {
    padding-top: 60%;
}
.blog-item__text{
    width: 50%;
}
.blog-item__text .title{
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 10px;
}
.blog-item__text .text{
    display: none;
}
.blog-item__text .date{
    font-size: 12px;
}
.blog-item__text .tags li {
    margin: 3px 5px 3px 0;
}
.blog-item__text .tags a {
    font-size: 11px;
    padding: 2px 7px;
}


/*====================================
    詳細
====================================*/
.blog-header .midashi{
    font-size: 22px;
    line-height: 1.4;
}
.blog-header .date{
    padding: 10px 0;
}
.blog-content h2{
    font-size: 20px;
    margin: 30px 0 20px;
}
.blog-content h3{
    font-size: 17px;
    margin: 30px 0 20px;
}
.blog-header .tags a{
    font-size: 13px;
}
.blog-header .date{
    font-size: 14px;
    padding: 5px 0 0;
}
.blog-content blockquote {
    padding: 10px 15px 10px 55px;
}
.blog-content blockquote:before{
    width: 26px;
    height: 26px;
}

.aligncenter, .alignleft, .alignright .alignnone{
    display: block;
    margin: 15px auto;
}

/* もくじ
-------------------------- */
#ez-toc-container{
    width: 100%;
    padding: 20px;
    margin: 10px auto 0;
    border: 4px solid #eee;
}
#ez-toc-container .ez-toc-list li{
    margin-bottom: 6px;
}

/* ブログカード
-------------------------- */
a.nm-card {
    padding: 15px 10px;
}
.nm-card-box{
    line-height: 1.4;
}
.nm-card-thumbnail {
    margin-right: 10px;
    padding-top: 10px;
}
.nm-card-title {
    font-size: 14px;
}
.nm-card-excerpt{
    font-size: 12px;
    padding: 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
/* スクロール対応テーブル
-------------------------- */
.scroll_box table{
    width:100%;
}
.scroll_box{
    overflow: auto;
}
.scroll_box::-webkit-scrollbar{
 height: 5px;
}
.scroll_box::-webkit-scrollbar-track{
 background: #F1F1F1;
}
.scroll_box::-webkit-scrollbar-thumb {
 background: #BCBCBC;
}

/*====================================
    news
====================================*/

.archive_info ul li a {
    padding: 15px 0;
}
.archive_info ul li:first-child a {
    border-top: 1px solid #ccc;
    margin-top: 22px;
}
.archive_info ul dl {
    display: block;
}
.archive_info ul dt {
    font-weight: 300;
    width: 100%;
}
.archive_info ul dd {
    width: 100%;
}


}/* END 767px */