﻿@charset "utf-8";

/* ==========================================================================
   コラムページのみ反映
   ========================================================================== */
section#column-content {
    background-color: rgba(0, 76, 24, 0.08);
}
div.c-container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 50px;
    padding: 0;
}
div.c-main__wrapper{
    flex-basis: 72%;
    box-shadow: 0px 3px 10px rgba(0,0,0,.2);
}
main{
    background-color: #fff;
}
main div.column{
    padding: 3rem;
}
p.post-meta{
    font-weight: bold;
    margin-top: 1em;
}

/* 大目次 */
div.toc__container{
    border-top: solid 2px #da531c;
    border-bottom: solid 2px #da531c;;
}
div.toc__container::before{
    content:none;
}
.single-column div.mokuji>p.mokuji_title {
    font-size: 18px;
    margin: 0.5em 0 1em;
}
li.toc__item--h2{
    margin-top: 0.5em;
}
/* mokuji */
.mokuji ol {
    margin-left: 0;
}
.single-column div.mokuji{
    background-color: #f5f5f5;
    border-radius: 4px;
    position: relative;
}
.mokuji::before {
    background: #da531c;
    -webkit-clip-path: polygon(0 0, 100% 0, 0 100%);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    content: "";
    display: block;
    height: 22px;
    left: 0;
    position: absolute;
    top: 0;
    width: 22px;
}

h1.column_title{
    font-size:30px;
    line-height: 1.4em;
    text-align: left;
    font-weight: bold;
    padding: 0;
    margin: 0;
}
h2.wp-block-heading{
    font-size: 24px;
    line-height: 1.4;
    background: #da531c;
    color: #fff;
    padding: 8px 16px;
    text-align: left;
    font-weight: bold;
    margin: 2em 0 0.6em;
}
#column-content h3.wp-block-heading{
    font-size: 22px;
    background-color: transparent;
    color: #333;
    margin: 2em 0 0;
}
#column-content h3.wp-block-heading::before{
    background-color: #da531c;
    content: "";
    height: 3px;
    width: 30px;
    display: inline-block;
    margin-bottom: 0.3em;
}
#column-content h3.wp-block-heading span{
    margin-left: 0.2em;
}
.single-column .honbun h4{
    font-size: 20px;
}
.single-column .honbun h4::before{
    color: #da531c;
}
.honbun h4{
    border-bottom: none;


}

/* sideBar */
   section.c-side{
    flex-basis: 23%;
    background-color: #fff;
    box-shadow: 0px 3px 10px rgba(0,0,0,.2);
    padding: 0;
   }
   div.c-side__inner{
    padding: 15px;
   }
   div.c-side-recently__header h2 {
    padding: 0;
    font-size: 22px;
    font-weight: bold;
   }


@media screen and (max-width: 768px){
    #column-content p{
        font-size: 14px;
        line-height: 1.6em;
    }
    div.c-container{
        display: block;
        margin-top: 0;
    }
    main div.column{
        padding: 2rem;
    }
    h1.column_title{
        font-size: 22px;
    }
    h2.wp-block-heading{
        font-size: 20px;
    }
    #column-content h3.wp-block-heading{
        font-size: 18px;
    }
    .single-column .honbun h4{
        font-size: 17px;
    }
    /*sidebar*/
    section.c-side {
        display: none;
    }
}

@media screen and (max-width: 1200px){
    div.container {
        width: 98%;
    }
}