
#dKVWrapper #dKeyVisual.middle_header .header_img {
    right: 0;
}

@media screen and (min-width: 768.02px) {

#dKVWrapper #dKeyVisual.middle_header .header_img {
    width: 232px;
}

}

#dMainColumn #aMainContents:has(.kankyo-biz-article) {
    padding-bottom: 0;
}

.kankyo-biz-article {
    color: #313534;
    overflow: hidden;
}

/*
============================= header =============================
*/

.kankyo-biz-article__header {
    border-left: 8px solid #007383;
    padding: 13px 0 19px 24px;
}

.kankyo-biz-article__header .sub-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 10px;
}

.kankyo-biz-article__header h1,
.kankyo-biz-article__header h2 {
    font-size: inherit;
    font-weight: bold;
    background: none;
    color: inherit;
    position: relative;
    border: none;
    text-align: left;
    padding: 0;
    margin: 0;
    min-height: 0;
}

.kankyo-biz-article__header h1::before,
.kankyo-biz-article__header h1::after,
.kankyo-biz-article__header h2::before,
.kankyo-biz-article__header h2::after {
    content: none;
}

.kankyo-biz-article__header h1,
.kankyo-biz-article__header h2 {
    font-size: 32px;
}

.kankyo-biz-article__header .text {
    font-size: 16px;
    font-weight: bold;
    margin: 14px 0 0;
}

.kankyo-biz-article__header .small {
    font-size: 16px;
    font-weight: normal;
    margin: 14px 0 0;
}

.kankyo-biz-article__header .small:has( + .date) {
    margin-bottom: -7px;
}

.kankyo-biz-article__header .date {
    font-size: 16px;
    font-weight: bold;
    margin: 14px 0 0;
}

.kankyo-biz-article__body::before {
    content: "";
    display: block;
    margin-bottom: 38px;
}

div#dMain div.kankyo-biz-article__body,
div#dMain div.kankyo-biz-article__body p {
    line-height: 2;
}

/*
============================= heading =============================
*/

.kankyo-biz-article h2 {
    font-weight: bold;
    font-size: inherit;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    color: inherit;
}

.kankyo-biz-article h2 {
    font-size: 28px;
    position: relative;
    margin: 96px 0 20px;
    margin: 48px 0 24px;
    padding: 0 0 8px;
    width: fit-content;
    max-width: 100%;
}

.kankyo-biz-article h2:first-of-type {
    margin-top: 48px;
}

.kankyo-biz-article h2::before,
.kankyo-biz-article h2::after {
    position: absolute;
    width: auto;
    height: auto;
    display: block;
    background: none;
    transform: none;
    left: 0;
}

.kankyo-biz-article h2::before,
.kankyo-biz-article h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    border-bottom: 3px solid transparent;
}

.kankyo-biz-article h2::before {
    border-color: #e1e1e1;
    z-index: 1;
    width: 100vw;
}

.kankyo-biz-article h2::after {
    border-color: #007383;
    z-index: 2;
    right: 0;
}

.kankyo-biz-article h3 {
    font-weight: bold;
    font-size: inherit;
    margin: 0;
    padding: 0;
    background-color: transparent;
    border: none;
    color: inherit;
}

.kankyo-biz-article h3 {
    position: relative;
    margin-top: 45px;
    margin-bottom: 16px;
    padding-left: 1em;
    font-weight: bold;
    font-size: 20px;
}

.kankyo-biz-article h3::before {
    content: none;
}

.kankyo-biz-article h3::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 8px;
    height: 21px;
    background-color: #007383;
}

.kankyo-biz-article h6,
.kankyo-biz-article .h6 {
    font-weight: bold;
    font-size: 18px;
    margin: 2em 0 .75em;
    padding: 0;
}

.kankyo-biz-article h6:first-of-type,
.kankyo-biz-article .h6:first-of-type {
    margin-top: 0;
}

div#dMain div.kankyo-biz-article__body p.h6 {
    line-height: 1.6;
}

/*
============================= text =============================
*/

.kankyo-biz-article {
    font-weight: bold;
}

/* .kankyo-biz-article__body p + p {
    margin-top: 16px;
} */

.kankyo-biz-article .caption {
    display: block;
    margin-block: 1em 0;
}

.kankyo-biz-article .note {
    color: #c8c9c4;
    font-size: .8em;
}

.kankyo-biz-article .note small {
    font-size: inherit;
}

.p-post__body a, .p-post__body a:link, .p-post__body a:visited {
    color: #153d70;
}

.kankyo-biz-article a[target="_blank"] {
    padding-right: 1.25em;
    background: transparent url(/member_assets/images/icon-tab-link.svg) right center no-repeat;
    background-size: 1em auto;
}

/*
============================= elements =============================
*/

/* figure */

.kankyo-biz-article .figures {
    margin: 80px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 64px;
}

.kankyo-biz-article .figures--2col > * {
    flex-basis: calc((100% - 64px) / 2);
    margin: 0;
}

.kankyo-biz-article figure {
    margin: 80px auto;
    text-align: center;
    width: fit-content;
    display: table;
}

.kankyo-biz-article figure .cboxElement {
    transition: opacity .4s ease-in-out;
    cursor: pointer;
}

@media (any-hover: hover) {
    .kankyo-biz-article figure .cboxElement:hover {
        opacity: .6;
    }
}

.kankyo-biz-article figure img.w-2xs {
    display: block;
    width: 200px;
    height: auto;
    margin-inline: auto;
}

.kankyo-biz-article figure img.w-sm {
    display: block;
    width: 558px;
    height: auto;
    margin-inline: auto;
}

.kankyo-biz-article figure img.w-md {
    display: block;
    width: 720px;
    height: auto;
    margin-inline: auto;
}

/* .kankyo-biz-article h2 + figure,
.kankyo-biz-article h3 + figure {
    margin-top: 0;
} */

.kankyo-biz-article figure p,
.kankyo-biz-article figure figcaption {
    font-weight: bold;
    max-width: 100%;
}

.kankyo-biz-article figure figcaption {
    padding: 1.2em 0 0;
    display: table-caption;
    caption-side: bottom;
    width: fit-content;
    margin: 0 auto;
}

/* キャプションの中の見出し */
.kankyo-biz-article figure figcaption > strong:first-child:has(+ br) {
    display: inline-block;
    padding-bottom: .5em;
}

.kankyo-biz-article figure:has(.next_preview) {
    margin-bottom: 0;
}

.kankyo-biz-article figure p.next_preview {
    margin-block: 0;
    padding-block: 0;
}

/* blockquate */

.kankyo-biz-article blockquote {
    margin: 1em 0;
    padding: 2em 2.5em;
    background: #f3f5f7;
}

/* box */

.kankyo-biz-article .box--bordered {
    border: 1px solid #313534;
    padding: max(24px, 4%) max(24px, 4%);
}

.kankyo-biz-article .p-post__image {
    margin: 0 auto 56px;
    text-align: left;
}

.kankyo-biz-article .p-post__caption {
    width: 100%;
}

/*
============================= page bottom nav =============================
*/

.kankyo-biz-article .next_preview a {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    background: #007383;
    color: #fff;
    border-radius: 100em;
    width: fit-content;
    min-height: 40px;
    margin: 0 auto 0;
    padding: 2px 2em;
    min-width: min(520px, 100%);
    box-sizing: border-box;
    text-align: center;
    transition: opacity .4s ease-in-out;
}

.kankyo-biz-article__bottom-nav {
    margin: 56px auto 0;
}

.kankyo-biz-article .page-navigation,
.p-list__pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 56px 0 20px;
}

.page-navigation-item a,
.p-list__pager a,
.p-list__pager [aria-current="page"] {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    aspect-ratio: 1;
    box-sizing: border-box;
    border: 2px solid #007383;
    font-size: 24px;
    font-weight: bold;
    color: #007383;
}

.page-navigation-item a:link,
.page-navigation-item a:visited,
.p-list__pager a:link,
.p-list__pager a:visited {
    color: #007383;
}

.page-navigation-item.active a,
.p-list__pager [aria-current="page"] {
    background: #007383;
    color: #fff;
}

.p-list__pager .c-item--prev,
.p-list__pager .c-item--next {
    display: none;
}

.lightboxImg {
    display: inline-block;
    width: fit-content;
    position: relative;
    padding-bottom: 32px;
}

.lightboxImg:before {
    border-radius: 50%;
    position: absolute;
    right: 0px;
    bottom: 0px;
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(/member_assets/images/circle-plus-kankyo-business.svg) no-repeat center;
    background-size: contain;
    background-position: center;
}

.kankyo-biz-article__article-nav {
    margin: 88px auto 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

:where(.kankyo-biz-article__article-nav) .kankyo-biz__item {
    flex: 1 0 0;
    display: flex;
    max-width: 50%;
}

:where(.kankyo-biz-article__article-nav) .kankyo-biz__item-link {
    border: 1px solid #ddd;
    flex: 1 0 0;
    text-decoration: none;
    display: flex;
    gap: 24px;
    padding: 24px;
    transition: opacity .4s ease-in-out;
}

:where(.kankyo-biz-article__article-nav) a.kankyo-biz__item-link:link,
:where(.kankyo-biz-article__article-nav) a.kankyo-biz__item-link:visited,
:where(.kankyo-biz-article__article-nav) a.kankyo-biz__item-link:hover,
:where(.kankyo-biz-article__article-nav) a.kankyo-biz__item-link:active {
    text-decoration: none;
    color: #313534;
}

:where(.kankyo-biz-article__article-nav) a.kankyo-biz__item-link:hover {
    opacity: .6;
}

:where(.kankyo-biz-article__article-nav) .kankyo-biz__item-pic {
    flex: 0 0 auto;
    width: 150px;
    max-width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgb(0 0 0 / 12%);
}

:where(.kankyo-biz-article__article-nav) .kankyo-biz__item-pic img {
    width: 100%;
}

:where(.kankyo-biz-article__article-nav) .kankyo-biz__item-content {
    flex: 1 1 auto;
    margin: 0;
}

:where(.kankyo-biz-article__article-nav) .kankyo-biz__item-title {
    margin: 0;
}

.kankyo-biz-article__article-nav_label {
    margin: 0 0 10px;
    font-weight: bold;
    background: #007383;
    color: #fff;
    width: fit-content;
    padding: 4px 11px;
    font-size: 12px;
}

@media (any-hover: hover) {

    .kankyo-biz-article .next_preview a:any-link:hover {
        opacity: .6;
    }

    .page-navigation-item:not(.active) a:any-link:hover,
    .p-list__pager a:any-link:hover {
        /* border-color: #007383;
        color: #007383; */
        background-color: #007383;
        color: #fff;
    }
}

@media (max-width: 768px) {

    .kankyo-biz-article__header {
        border-left-width: 6px;
        padding: 8px 0 8px 16px;
    }

    .kankyo-biz-article__header .sub-title {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .kankyo-biz-article__header h1, 
    .kankyo-biz-article__header h2 {
        font-size: 18px;
    }

    .kankyo-biz-article__header .text {
        font-size: 12px;
        font-weight: normal;
        margin-top: 10px;
    }

    .kankyo-biz-article__header .small {
        font-size: 12px;
        font-weight: normal;
        margin-top: 10px;
    }

    .kankyo-biz-article__header .small:has( + .date) {
        margin-bottom: -5px;
    }

    .kankyo-biz-article__header .date {
        font-size: 12px;
        font-weight: normal;
        margin-top: 10px;
    }

    .kankyo-biz-article__body::before {
        margin-bottom: 32px;
    }

    .kankyo-biz-article h2 {
        font-size: 1.8rem;
        margin-block: 64px 24px;
    }

    .kankyo-biz-article h2:first-of-type {
        margin-top: 32px;
    }

    .kankyo-biz-article h3 {
        font-size: 1.5rem;
        margin-block: 32px 16px;
    }

    .kankyo-biz-article h3::after {
        top: 0;
        left: 0;
        width: 4px;
        height: 1.6em;
    }

    div#dMain div.kankyo-biz-article__body, 
    div#dMain div.kankyo-biz-article__body p {
        line-height: inherit;
    }

    .kankyo-biz-article p {
        font-size: inherit;
        font-weight: normal;
    }

    .kankyo-biz-article .figures {
        margin: 40px 0 48px;
        gap: 32px;
    }

    .kankyo-biz-article .figures--2col > * {
        flex-basis: calc((100% - 32px) / 2);
    }

    .kankyo-biz-article .figures > * {
        margin: 0;
    }

    .kankyo-biz-article figure {
        margin: 40px auto 48px;
    }

    /* .kankyo-biz-article h2 + figure,
    .kankyo-biz-article h3 + figure {
        margin-top: 0;
    } */

    .kankyo-biz-article figure p, 
    .kankyo-biz-article figure figcaption {
        padding: 1em 0 0;
        font-size: 11px;
    }

    .kankyo-biz-article figure * {
        
    }

    .kankyo-biz-article figure:has(.next_preview) {
        margin-top: max(40px, 10%);
    }

    .kankyo-biz-article .next_preview a {
        font-size: 13px;
        padding-block: 8px;
        min-width: min(32em, 100%);
    }

    .kankyo-biz-article .p-post__image {
        margin-bottom: 32px;
    }

    .kankyo-biz-article__bottom-nav {
        margin-top: 32px;
    }

    .kankyo-biz-article .page-navigation {
        margin-top: 32px;
    }

    .page-navigation-item a {
        width: 40px;
        font-size: 16px;
    }

    .kankyo-biz-article__article-nav {
        margin: 56px auto 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 8px;
    }

    :where(.kankyo-biz-article__article-nav) .kankyo-biz__item {
        display: contents;
        max-width: none;
        
    }

    :where(.kankyo-biz-article__article-nav) .kankyo-biz__item-link {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 2;
        gap: min(20px, calc(16 / 375 * 100vw));
        padding: min(20px, calc(16 / 375 * 100vw));
    }

    :where(.kankyo-biz-article__article-nav) .kankyo-biz__item-pic {
        width: 100%;
        max-width: none;
    }

    p.kankyo-biz-article__article-nav_label {
        font-size: 12px;
    }

    :where(.kankyo-biz-article__article-nav) .kankyo-biz__item-title {
        margin-bottom: .25em;
    }

}


