@charset "UTF-8";
/* お役立ちコンテンツ用 */

/*************************
/* flex-box
*************************/
.flex-box {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.flex-box-wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}


/*******************************
*layout
*******************************/


/*******************************
*column
*******************************/
.c-col2{
    flex: 1 0 50%;
}

.img-colm2 > div{
    flex: 1 0 50%;
    padding: 5px;
}

.img-colm2 > div img{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/*******************************
*color
*******************************/
.color-main{
    color: #00a040;
}

.color-main-bg{
    background-color: #00a040;
}


/*******************************
*共通
*******************************/
/* 目次 */
#toc-container {
    margin: 2rem 0;
    padding: 1.2rem 1.5rem;
    background-color: #fff;
    background-color: rgb(0 160 64 / 3%);
    border: 1px solid #00a040;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.toc-title {
    width: fit-content;
    margin-bottom: 1rem !important;
    padding: 0 .5rem 0 .5rem;
    color: #333;
    font-size: 1.25rem;
    font-weight: bold;
    border-bottom: 1px solid #00a040;
    line-height: 1.5;
    text-align: left;
}

#toc-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

#toc-list li {
    margin-bottom: 0.4em;
    font-size: 1.25rem;
    list-style: none !important;
    line-height: 1.6;
}

#toc-list li a {
    position: relative;
    padding-left: 0.4em;
    text-decoration: none;
    transition: color 0.3s ease;
}

#toc-list li.indent {
    padding-left: 1em;
    font-size: 1rem;
}

/* list */
#article .post_content li{
    list-style: disc;
}

#article .post_content ul.num{
    margin-left: 0;
}

#article .post_content ul.num li{
    padding-left: 1rem;
    text-indent: -1rem;
    list-style: decimal;
    list-style-position: inside;
}

#article .post_content ul.num-circle{
    margin-left: 0;
}

#article .post_content ul.num-circle > li{
    padding-left: 3.75rem;
    text-indent: -3.75rem;
    list-style: none;
    line-height: 1.75;
}

#article .post_content ul.num-circle > li:not(:last-child){
    margin-bottom: 1.5rem;
}

#article .post_content ul.num-circle > li > span{
    margin-right: 0.75rem;
    padding: 0.75rem;
    color: #fff;
    font-size: 1.125rem;
    background-color: #00a040;
    border-radius: 50px;
}

/* post-intro */
.post-intro .point{
    border: 1px solid #00a040;
}

.post-intro .point > p:first-child{
    margin-bottom: 0;
    padding: 0.5rem 1.5rem;
    color: #fff;
    background-color: #00a040;
}

.post-intro .point > ul{
    padding: 1.5rem;
}

/* title */
#article .post_content h2{
    position: relative;
    padding: 1rem 1.5rem;
    padding: .75em 1em;
    color: #fff;
    background-color: #006629;
    background-color: #00a040;
    text-align: left;
}

#article .post_content h2::before {
    content: "";
    display: block;
    pointer-events: none;
    position: absolute;
    top: -4px;
    left: 0;
    width: 100%;
    height: calc(100% + 4px);
    box-sizing: content-box;
    border-top: solid 2px #00a040;
    border-bottom: solid 2px #00a040;
}

#article .post_content h3{
    color: #000000;
    border-color: #00a040;
    border-width: 2px;
    border-style: solid;
    padding-left: 1em ;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    border-right: none;
    border-top: none;
    border-bottom: none;
    background-color: transparent;
}

#article .post_content h4 {
    color: #000000;
    border-color: #00a040;
    border-width: 1px;
    border-style: solid;
    border-left: none;
    border-right: none;
    border-top: none;
    padding-bottom: 0.8em;
    background-color: transparent;
}

#article .post_content h4::before{
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    margin-right: 1.5rem;
    border-radius: 50%;
    background-color: #00a040;
}

#article .post_content h5 {
    color: #00a040;
    border-color: #000000;
    border-width: 3px;
    border-style: double;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: none;
    background-color: #f2f2f2;
    padding: 0.8em 1em;
}

/* table */
#article .post_content section .s_table{
    white-space: normal;
}

.table-scroll-text{
    display: none;
}

@media screen and (max-width:767px) {
    #article .post_content section .s_table{
        white-space: nowrap;
    }
    .table-scroll-text{
        display: block;
    }
}

/* talk-box */
.talk-box{
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ddd;
}

.talk-box-border-no{
    border-bottom: transparent;
}

.talk-box > div{
    align-items: center;
    gap: 40px;
    margin-bottom: 2rem;
}

.talk-box > div.talk-r{
    flex-direction: row-reverse;
}

.talk-box > div > div.img{
    flex-shrink: 0;
    text-align: center;
}

.talk-box > div > div.img > span{
    display: block;
}

.talk-box > div > div.text p{
    position: relative;
    margin-bottom: 0.5rem !important;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background-color: #f6f6f6;
    line-height: 1.5 !important;
}

.talk-box > div > div.text p:last-of-type{
    margin-bottom: 0 !important;
}

.talk-box > div > div.text p::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translate(0%, -50%);
    width: 15px;
    height: 30px;
    background-color: #f6f6f6;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.talk-box > div.talk-r > div.text p::before{
    right: -14px;
    left: auto;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* content */
.text-card{
    margin: 2.5rem auto 2rem;
}

.text-card-inner{
    position: relative;
    padding: 2rem 1.5rem 1.5rem;
    border: 1px solid #00a040;
}

.text-card-inner:has(.text-card-caption br) {
    padding-top: 3rem;
}

.text-card-caption{
    position: absolute;
    display: inline-block;
    top: -1rem;
    left: 1.5rem;
    padding: 0.5rem 0.75rem;
    color: #fff;
    background-color: #006629;
}

.text-card-body > p{
    line-height: 1.5;
}

.text-bg{
    position: relative;
    padding: 1.5rem;
    font-size: 1.25rem;
    background-color: #f6f6f6;
    line-height: 1.5 !important;
}

.text-bg-tri-l::before{
    content: '';
    position: absolute;
    left: -13px;
    width: 15px;
    height: 30px;
    background-color: #f6f6f6;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.text-bg-tri-b::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -22px;
    width: 30px;
    height: 15px;
    background-color: #f6f6f6;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform: translate(0%, -50%);
}

.tag-ex{
    display: block;
    width: fit-content;
    margin-bottom: 0.5rem !important;
    padding: 0.25rem 1.5rem;
    color: #fff;
    background-color: #00a040;
}

.text-bg-y{
    background-color: #fbf70f;
}
