@charset "UTF-8";

/* ----------------------------------------------------------------
投稿の詳細ページ
---------------------------------------------------------------- */

/* 共通CSS上書き */
.sectionContainer_inner {
    width: 100%;
    margin: 24px auto 0;
}
.sectionContainer_inner.cat {
    margin: 0 auto;
    padding: 0 0 20px;
}
.catList {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
.articleList {
    margin: 0 auto 30px;
}
.shopSearch.btn_container {
    padding: 40px 0;
}

@media print, screen and (min-width:768px) {
    .sectionContainer_inner {
        margin: 0 auto 20px;
    }
    .sectionContainer_inner.cat {
        margin: 0 auto;
        padding: 0 0 40px;
    }
    .shopSearch.btn_container {
        padding: 60px 0;
    }
    .articleList {
        margin: 0 auto 20px;
    }
}

/* コンテンツ */
.contentsWrap.white {
    background-color: #FFF;
}
.contentsWrap.gray {
    background-color: #F7F7F1;
}
.mainContents {
    width: 90.4%;
    margin: 0 auto;
}
.contentsWrap.gray > .mainContents {
    margin-bottom: 30px;
}
.postItem_content {
    font-size: 1.6rem;
    line-height: 1.875;
    padding-bottom: 30px;
}
/* .postItem_content p:not(:first-of-type), */
.postItem_content p + p {
    margin-top: 20px;
}
.postItem_content p + div {
    margin-top: 20px;
}
.postItem_content p + ul,
.postItem_content p + ol {
    margin-top: 10px;
}
.postItem_content div + p {
    margin-top: 13px;
}
.postItem_content p + figure {
    margin: 30px 0;
}
.postItem_content h4 + p,
.postItem_content h4 + ul,
.postItem_content h4 + ol,
.postItem_content h4 + div {
    margin-top: 14px;
}
.postItem_content h2 + p {
    margin-top: 0;
}
.postItem_content a:link, .postItem_content a:visited {
    color: inherit;
    text-decoration: none;
    word-break: break-all;
}
.postItem_content p a:link, .postItem_content p a:visited {
    color: #EF6D22;
    text-decoration: none;
}
.postItem_content a:hover {
    opacity: 0.7;
}
.postItem_content ul li {
    text-indent: -1em;
    padding-left: 1em;
}
.postItem_content ul li::before {
    content: '●';
    color: #EF6D22;
    margin-right: 0.3em;
}
.postItem_content ol li {
    counter-increment: numCount;
}
.postItem_content ol li::before {
    content: counter(numCount);
    color: #EF6D22;
    margin-right: 0.3em;
    font-weight: 600;
}
@media print, screen and (min-width:768px) {
    .mainContents {
        width: 1040px;
        margin: 0 auto;
    }
    .contentsWrap.gray > .mainContents {
        margin-bottom: 20px;
    }
    .postItem_content {
        padding-bottom: 25px;
    }
    .postItem_content h2 + p {
        margin-top: 10px;
    }
    .postItem_content p + p {
        margin-top: 30px;
    }
    .postItem_content div + p {
        margin-top: 33px;
    }
    .postItem_content p + div {
        margin-top: 47px;
    }
    .postItem_content p + ul,
    .postItem_content p + ol {
        margin-top: 24px;
    }
    .postItem_content p + figure {
        margin: 43px 0;
    }
}

/* 見出し・タイトル */
.titleBox_inner {
    padding: 26px 0 0;
}
.titleBox_inner h3 {
    margin: 0 0 24px;
}
.titleBox_inner.catTitle {
    font-size: 1.6rem;
    line-height: 2.25;
    font-weight: 400;
    text-align: left;
    padding: 16px 0 8px;
    width: 90.4%;
    margin: 0 auto;
}
.titleBox_inner h1 {
    font-size: 2.0rem;
    line-height: 1.5;
    text-align: center;
    padding: 16px 0;
}
.titleBox_inner.topTitle {
    padding: 8px 0 16px;
}
.titleBox_inner.topTitle h1 {
    font-size: 2.0rem;
    line-height: 1.5;
    text-align: center;
    padding: 0;
    font-family: "A1 Gothic M", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック体, YuGothic, メイリオ, Meiryo, sans-serif !important;
}
.postItem_content h2 {
    font-size: 2.0rem;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
    padding: 20px 0;
    font-family: "A1 Gothic M", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック体, YuGothic, メイリオ, Meiryo, sans-serif !important;
}
.postItem_content h3 {
    font-size: 1.8rem;
    line-height: 1.556;
    font-weight: 400;
    margin: 30px 0 24px;
    padding-bottom: 16px;
    border-bottom: solid 2px #D7D2CB;
    position: relative;
}
.postItem_content h3::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100px;
    height: 2px;
    background: #EF6D22;
}
.postItem_content h4 {
    color: #EF6D22;
    font-size: 1.8rem;
    line-height: 1.556;
    font-weight: 400;
}
.postItem_content h4:has(+ h4) {
    font-size: 1.6rem;
    line-height: 1.875;
    font-weight: 700;
    font-family: "A1 Gothic B", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック体, YuGothic, メイリオ, Meiryo, sans-serif !important;
}
.postItem_content h4 + h4 {
    margin-bottom: 14px;
}
.postItem_content p + h4 {
    margin-top: 20px;
}
div + .postItem_content h3 {
    margin-top: 40px;
}
@media print, screen and (min-width:768px) {

    .titleBox_inner.catTitle {
        font-size: 2.0rem;
        line-height: 1.8;
        padding: 31px 0 15px;
        width: 1040px;
        margin: 0 auto;
    }
    .titleBox_inner h1 {
        font-size: 2.8rem;
        line-height: 1.286;
        padding: 23px 0 49px;
        margin: 0 auto;
    }
    .titleBox_inner.topTitle {
        padding: 23px 0 49px;
    }
    .titleBox_inner.topTitle h1 {
        font-size: 2.8rem;
        line-height: 1.286;
        margin: 0 auto;
        padding: 0;
    }
    .titleBox_inner h3 {
        margin: 30px 0 40px;
    }
    .postItem_content h2 {
        font-size: 2.8rem;
        line-height: 1.286;
    }
    .titleBox_inner h3,
    .postItem_content h3 {
        font-size: 2.4rem;
        line-height: 1.5;
    }
    .postItem_content h4 {
        font-size: 2.0rem;
        line-height: 1.5;
    }
    .postItem_content h4 + h4 {
        margin-top: 3px;
    }
    p + .postItem_content h3,
    div + .postItem_content h3 {
        margin: 74px auto 33px;
    }
    .postItem_content p + h4 {
        margin-top: 60px;
    }
}


/* ------- リフォームで解決 HTMLカスタムパーツ------- */
.postItem_content .kodate-solve-wrap {
    margin: 82px auto 52px;
}
.kodate-solve-inner {
    padding: 0 14px;
}
.kodate-solve-ttl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 2.0rem;
}
.kodate-solve-ttl-txt {
    width: 100%;
    text-align: center;
    font-weight: 600;
    line-height: 1.4;
    font-family: "A1 Gothic M", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック体, YuGothic, メイリオ, Meiryo, sans-serif !important;
    position: relative;
    margin-bottom: 10px;
}
.kodate-solve-ttl-txt::before {
    content: "";
    background: url(../img/ico_solve.svg) 50% 50% no-repeat;
    background-size: 100%;
    position: absolute;
    width: 42px;
    height: 51px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.kodate-solve-item {
    position: relative;
    box-sizing: border-box;
    margin: 16px 0 0 0;
    padding: 20px 0;
    border: 2px solid #000;
    border-radius: 8px;
    text-align: center;
}
.kodate-solve-txt {
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
}
.kodate-solve-ic {
    display: block;
    bottom: -25px;
    left: 50%;
    width: 24px;
    height: 5px;
    padding: 0 12px;
    background: #fff;
    -webkit-transform: translate(-80%);
    transform: translate(-80%);
    position: relative;
}
.kodate-solve-ic::after {
    content: "";
    background: url(../img/ico_check.svg) 50% 50% no-repeat;
    background-size: 100%;
    background-color: #FFF;
    position: absolute;
    width: 18px;
    height: 15px;
    /* padding: 0 4px; */
    position: absolute;
    top: 0;
    left: 4px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.contentsWrap.gray .kodate-solve-ic,
.contentsWrap.gray .kodate-solve-ic::after {
    background-color: #F7F7F1;
}
.postItem_content .kodate-solve-item::before {
    content: none;
}
@media print, screen and (min-width:768px) {
    .postItem_content .kodate-solve-wrap {
        margin: 100px auto;
    }
    .kodate-solve-inner {
        padding: 0;
    }
    .postItem_content .kodate-solve-items {
        display: flex;
        flex-flow: wrap;
        justify-content: space-between;
    }
    .postItem_content .kodate-solve-item {
        margin: 40px 0 0 0;
        padding: 32px 0;
    }
    .kodate-solve-item.is-col4 {
        width: calc((100% - 48px)/ 4);
    }
    .kodate-solve-item.is-col3 {
        width: calc((100% - 32px)/ 3);
    }
    .kodate-solve-ic::after {
        top: 10px;
    }
    .kodate-solve-ttl-txt {
        font-size: 2.8rem;
        line-height: 1.286;
        margin-left: 42px;
    }
    .kodate-solve-ttl-txt::before {
        bottom: -34px;
        left: 25.5%;
    }
}

/* ------- ここち・さがすリノベーション リンクボタン HTMLカスタムパーツ------- */
.renovateBtn {
    display: flex;
    flex-flow: nowrap;
    justify-content: center;
    align-items: center;
    height: 80px;
    line-height: 1.45;
    border: 1px solid #edebe2;
    border-radius: 8px;
    background: #f8f7f2!important;
    color: #000!important;
    font-size: 16px!important;
    font-weight: 400;
    text-align: center;
    text-decoration: none!important;
}
.renovateBtn_title {
    order: 2;
    color: #a89a7a;
    font-size: 1.6rem;
    font-weight: 400;
    text-align: center;
    letter-spacing: -.1em;
    margin: auto auto auto 0;
}
.renovateBtn_img {
    order: 1;
    width: 130px;
}
.renovateBtn_img img {
    width: 50px;
}
@media print, screen and (min-width:768px) {
    .renovateBtn_box {
        max-width: 800px;
        margin: 0 auto;
    }
    .renovateBtn {
        flex-flow: nowrap;
        height: 80px;
        margin: 0 auto;
        display: flex;
        position: relative;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        height: 80px;
        font-size: 14px;
        font-size: 14px;
        line-height: 1.71;
        transition: all .2s linear 0s;
    }
    .renovateBtn_title {
        margin: auto auto auto 0;
        font-size: 16px;
        text-align: left;
    }
    .renovateBtn_img {
        width: 95px;
        margin: 0 0 0 auto;
        padding-right: 50px;
    }
    .renovateBtn_img img {
        width: 100%;
    }
    .renovateBtn:hover {
        border-radius: 80px;
    }
}

/* ------- 目次 ------- */
.toc {
    padding: 15px 10px 15px;
    background-color: #F7F7F1;
    border-radius: 6px;
    position: relative;
}
.contentsWrap.gray .toc {
    padding: 15px 10px 15px;
    background-color: #fff;
    border-radius: 6px;
}
.toc .title {
    text-align: center;
    cursor: pointer;
}
.toc .title::after {
    position: absolute;
    font-family: 'Font Awesome 5 Pro';
    content: '\f067';
    color: #EF6D22;
    font-weight: 900;
    font-size: 1.9rem;
    line-height: 1.65;
    right: 10px;
    transition: all .3s;
}
.toc .title.show::after {
    content: '\f068';
}
.toc ol {
    padding-top: 14px;
    padding-bottom: 10px;
    display: none;
}
.toc ol li {
    position: relative;
    text-indent: -1em;
    padding: 10px 0 10px 3em;
    border-bottom: 1px solid #D7D2CB;
    line-height: 1.5;
}
.toc ol li::before {
    color: #333333;
    content:counter(numCount) '.';
    font-weight: inherit;
}
.toc ol li::after {
    position: absolute;
    font-family: 'Font Awesome 5 Pro';
    content: '\f054';
    color: #EF6D22;
    font-weight: 900;
    font-size: 1.2rem;
    left: 28px;
    top: 14px;
}
.toc ol li:first-of-type {
    border-top: 1px solid #D7D2CB;
}
@media print, screen and (min-width:768px) {
    .toc,
    .contentsWrap.gray .toc {
        padding: 22.5px 30px;
        border-radius: 10px;
    }
    .toc .title::after {
        right: 30px;
    }
    .toc ol {
        padding-bottom: 7.5px;
    }
}

/* ------- ブロックエディタースタイル上書き ------- */
.wp-block-columns {
    justify-content: space-between;
}
.contentsWrap.gray .wp-block-columns.has-background,
.contentsWrap.gray .wp-block-column.has-background {
    padding: 1.5em 1em 1em;
    border-radius: 0.8em;
}
.wp-block-columns .wp-block-column + .wp-block-colum figure.wp-block-image {
    margin: 0;
}