/* ================================================================ */
/* アーカイブ　ここから */
/* ================================================================ */
#mainsub.web_topics {
    padding-bottom: 4rem;
}
.web_topic_read.sub_read {
    background-image: url(../images/web_topics_backTxt.png.png);
    background-repeat: repeat-x;
}
.web_topic_read.sub_read p {
    width: fit-content;
    display: inline-block;
    margin-inline: auto;
}
.topics_cat_list {
    width: 100%;
    margin: 0 auto clamp(25px, 2.6vw, 50px);
    display: flex;
    justify-content: flex-start;
    padding: 10px 15px;
    background: #2D2D2D;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}
.topics_cat_list_wrapper {
    display: flex;
    flex-wrap: wrap;
}
.topics_cat_list p {
    padding: 10px 0;
    top: 10px;
    left: 15px;
    font-weight: bold;
    line-height: 1;
    color: #FFF;
}
.topics_cat_list .box {
    padding: 5px;
}
.topics_cat_list .box a {
    color: #000;
    background: #FFF;
    padding: 3px 10px;
    font-size: 0.9rem;
    transition: all ease 0.5s;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
}
.topics_cat_list .box a.cat_current {
    background: #FADB33;
}
.web_topics_lists {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1rem;
    align-items: stretch;
}
.web_topics_lists_item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}
.web_topics_lists_item a {
    display: block;
    height: 100%;
    padding: 0.3rem;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.web_topics_lists_item_img {
    border-radius: 10px;
    overflow: hidden;
    scale: 1;
}
.web_topics_lists_item_img img {
    transition: all .3s;
}
.web_topics_lists_item:hover .web_topics_lists_item_img img {
    scale: 1.1;
}
.web_topics_lists_item_txt {
    padding: clamp(5px, 1.8vw, 32px);
    padding-bottom: 0;
}
.web_topics_title {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.topics_date {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 0.2rem;
}
.topics_date_post::before {
    content: '\f073';
    font-family: FontAwesome;
    font-weight: 700;
}
.topics_date_re span::after {
    content: '\f021';
    font-family: FontAwesome;
    font-weight: 700;
}
.web_topics_detail {
    color: #535353;
    font-size: .9rem;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.web_topics_lists_item_txt .cat_box {
    display: flex;
    column-gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.web_topics_lists_item_txt .cat {
    padding: 4px 5px;
    color: #000;
    background: #FADB33;
    display: inline-block;
    width: fit-content;
    font-size: 0.9rem;
    line-height: 1;
}
.more {
    text-align: center;
    border-top: solid 1px #CECECE;
    padding: 1rem clamp(5px, 1.8vw, 32px);
}
#mainsub.web_topics .web_topics_box .pagination {
    padding: 4rem 0;
}
#mainsub.web_topics .web_topics_box ul.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 8px;
}
#mainsub.web_topics .web_topics_box ul.page-numbers li a,
#mainsub.web_topics .web_topics_box ul.page-numbers li span {
    background: #F5F5F5;
    padding: 0.7rem 1.2rem;
    display: block;
    border-radius: 5px;
}
#mainsub.web_topics .web_topics_box ul.page-numbers li span.current {
    background: #FADB33;
}
@media screen and (max-width: 820px) {
    .topics_cat_list {
        display: block;
    }
    .web_topics_lists {
        grid-template-columns: repeat(2, 1fr);
    }
    #mainsub.web_topics .web_topics_box .pagination {
        padding: 2rem 0;
    }
}
@media screen and (max-width: 640px) {
    .web_topics_lists {
        grid-template-columns: repeat(1, 1fr);
    }
}
/* ================================================================ */
/* アーカイブ　ここまで */
/* ================================================================ */
#mainsub.web_topics_single_wrapper {
    display: flex;
    gap: 2vw;
    width: min(1730px, 90%);
    margin: 0 auto;
    font-size: 22px;
}
.web_topics_content {
    padding: clamp(16px, 5vw, 96px) clamp(16px, 7vw, 118px);
    background-color: #fff;
    border-radius: 10px;
    width: calc(100% - clamp(250px, 21vw, 400px) - 2vw);
}
.web_topics_tab {
    width: clamp(250px, 21vw, 400px);
}
.web_topics_content h1 {
    font-size: clamp(2em, 4.5vw, 2.8em);
    line-height: 1.4em;
}
.web_topics_content_date {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 0.2rem;
}
.web_topics_content_cat {
    padding: 20px 0;
    border-top: solid 1px #EAEAEA;
    border-bottom: solid 1px #EAEAEA;
    margin-bottom: 6rem;
    font-size: 1em;
}
.web_topics_content_cat .cat {
    padding: 5px 12px;
    background-color: #FADB33;
    line-height: 1;
}
.web_topics_content_thumb {
    margin-bottom: 80px;
}
.web_topics_content_thumb img {
    width: 100%;
}
.web_topics_content_read p {
    font-size: 1em;
}
.web_topics_content_read > :not(:last-of-type) {
    margin-bottom: 2em;
}
.web_topics_content_toc .toc {
    padding: clamp(16px, 5vw, 59px) clamp(16px, 7vw, 102px);
    background-color: #EFEFEF;
    margin: 4rem 0 0;
}
.web_topics_content_toc .toc__title {
    font-size: 1.2em;
    padding-bottom: 0.8rem;
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.8rem;
}
.web_topics_content_toc .toc__title::before {
    content: '\f03a';
    font-family: FontAwesome;
    margin-right: 0.5rem;
}
.web_topics_content_toc .toc__list {
    counter-reset: toc;
}
.web_topics_content_toc .toc__list > li > a::before,
.web_topics_content_toc .toc__list > .toc__item--lv2 > a::before {
    counter-increment: toc;
    content: counter(toc, decimal);
    display: inline-block;
    font-variant-numeric: tabular-nums;
    margin-right: .2em;
    margin-right: 0.9em;
}
.web_topics_content_toc .toc__item--lv2 > a {
    position: relative;
    margin-bottom: 0.2em;
}
.web_topics_content_toc .toc__list a {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.web_topics_content_toc .toc__sublist {
    padding-left: 1.4em;
}
.web_topics_content_toc .toc__item--lv3 {
    margin-bottom: 0.2em;
}
.web_topics_content_toc .toc__item--lv3::before {
    content: '○';
    font-size: 0.5em;
    vertical-align: middle;
    text-decoration: none;
    margin-right: 0.7em;
}
.web_topics_content_main {
    counter-reset: h2;
}
h2.wp-block-heading {
    font-size: 2.4em;
    margin: 2.4em 0 0.9em;
    color: #4D4D4D;
    border-bottom: solid 1px #C6C6C6;
    line-height: 1.3em;
}
h2.wp-block-heading::before {
    counter-increment: h2;
    content: counter(h2, decimal) ".";
    display: inline-block;
    font-variant-numeric: tabular-nums;
    margin-right: 0.7em;
}
h3.wp-block-heading {
    display: block;
    background-color: rgba(250, 219, 51, 0.1);
    padding: 0.3em 0.4em 0.1em;
    border-left: solid 8px #FADB33;
    color: #4D4D4D;
    margin: 1.2em 0;
    font-size: 1.4em;
}
h4.wp-block-heading {
    display: block;
    color: #4D4D4D;
    margin-top: 1.5em;
    font-size: 1.3em;
}
.web_topics_content_main p {
    margin: 1.5em 0;
    font-size: 1em;
}
.web_topics_content_main p:has(mark.has-inline-color) {
    margin: 1.5em 0 0;
}
/* .web_topics_content_main p:has(mark.has-inline-color) + * {
    margin-top: 0;
} */
.web_topics_content_main p mark.has-inline-color {
    display: inline-block;
    padding: 7px 12px 5px;
    line-height: 1em;
}
ul.wp-block-list {
    list-style: disc;
    padding: clamp(16px, 3vw, 48px) clamp(16px, 3vw, 51px);
    border: solid 1px #DBDBDB;
    background-color: #F7F7F7;
}
ol.wp-block-list {
    list-style: decimal;
    padding: clamp(16px, 3vw, 48px) clamp(16px, 3vw, 51px);
    border: solid 1px #DBDBDB;
    background-color: #F7F7F7;
}
.wp-block-list li {
    margin-left: 2rem;
}
.wp-block-list li:not(:last-child) {
    margin-bottom: 0.5rem;
}
.wp-block-image.size-full a,
.wp-block-image.size-full a img {
    width: 100%;
}
.web_topics_content_main p:has(a) {
    margin: 0 0 1.5rem !important;
}
.web_topics_tab nav {
    padding: 1rem;
    background-color: #fff;
    border-radius: 10px;
    position: sticky;
    top: 200px;
}
.web_topics_tab nav .toc__title {
    font-size: 1.2em;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
}
.web_topics_tab nav .toc__title::before {
    content: '\f03a';
    font-family: FontAwesome;
    margin-right: 0.5rem;
}
.web_topics_tab .toc__list {
    counter-reset: toc;
}
.web_topics_tab .toc__sublist {
    display: none;
    padding-left: 1.4em;
}
.web_topics_tab .toc__list a {
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 0.8em;
    opacity: 0.5;
    transition: all .1s;
}
.web_topics_tab .toc__list a:hover {
    opacity: 1;
}
.web_topics_tab .toc__list a.toc__current {
    opacity: 1;
}
.web_topics_tab .toc__list > li > a::before,
.web_topics_tab .toc__list > .toc__item--lv2 > a::before {
    counter-increment: toc;
    content: counter(toc, decimal);
    display: inline-block;
    font-variant-numeric: tabular-nums;
    margin-right: .2em;
    margin-right: 0.9em;
}
.web_topics_tab .toc__item--lv3 {
    margin-bottom: 0.2em;
}
.web_topics_tab .toc__item--lv3::before {
    content: '○';
    font-size: 0.5em;
    vertical-align: middle;
    text-decoration: none;
    margin-right: 0.7em;
}
#container:has(.web_topics_tab) {
    overflow-x: unset;
}
.wt_pattern01 + p {
    margin-top: 0;
}
.sns_share {
    text-align: center;
    margin: 0 auto;
}
.sns_share p {
    text-align: center;
    margin: 1rem auto 0.2rem;
    font-size: 1rem;
    font-weight: 600;
}
.sns_share_btn {
    display: flex;
    gap: clamp(16px, 8vw, 40px);
    align-items: center;
    justify-content: center;
}
.web_topics_nav_outer {
    width: min(1730px, 90%);
    margin: 0 auto;
    padding: 0 0 4rem;
}
.web_topics_nav-below {
    display: flex;
    gap: 1rem 3rem;
    width: calc(100% - clamp(250px, 21vw, 400px) - 2vw);
    flex-wrap: wrap;
    margin-top: 0 !important;
}
#content.web_topics_single .postnav-card {
    width: calc(50% - 1.5rem);
}
.web_topics_box_single {
    width: min(1730px, 90%);
    margin: 0 auto;
    padding-bottom: 4rem;
}
.web_topics_box_single > h3 {
    font-size: clamp(30px, 3vw, 48px);
}
h5.wp-block-heading {
    font-size: 1.2em;
    padding-bottom: 0.1em;
    border-bottom: solid 3px #C6C6C6;
    color: #4D4D4D;
    position: relative;
    line-height: 1.3em;
    margin-top: 1em;
}
h5.wp-block-heading::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #C6C6C6;
    left: 0;
    bottom: 2px;
}
h6.wp-block-heading {
    font-size: 1.1em;
    color: #4D4D4D;
    position: relative;
    line-height: 1.3em;
    margin-top: 1em;
}
h6.wp-block-heading::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(to left, #C6C6C6, #FADB33);
    left: 0;
    bottom: 1px;
}
@media screen and (max-width: 1024px) {
    .web_topics_content {
        padding: clamp(16px, 3vw, 96px) clamp(16px, 5vw, 118px);
    }
    #mainsub.web_topics_single_wrapper {
        font-size: 18px;
    }
    .web_topics_content_cat {
        margin-bottom: 3rem;
    }
    .web_topics_content_thumb {
        margin-bottom: 50px;
    }
    .web_topics_content_toc .toc {
        padding: clamp(16px, 3vw, 59px) clamp(16px, 5vw, 102px);
    }
    h2.wp-block-heading {
        font-size: 2em;
        margin: 1.5em 0 0.5em;
    }
    h3.wp-block-heading {
        margin: 1em 0;
    }
    h4.wp-block-heading {
        margin-top: 1em;
    }
    .web_topics_tab .toc__list a {
        font-size: 0.8em;
    }
}
@media screen and (max-width: 820px) {
    .web_topics_tab {
        display: none;
    }
    .web_topics_content {
        width: 100%;
    }
    .web_topics_nav-below {
        width: 100%;
    }
    #content.web_topics_single .postnav-card {
        width: 100%;
    }
}
@media screen and (max-width: 640px) {
    #mainsub.web_topics_single_wrapper {
        font-size: 16px;
    }
    h2.wp-block-heading {
        font-size: 1.7em;
    }
    .single .nav-below {
        display: flex;
    }
}