@charset "UTF-8";

/*

    Template: swell

    Theme Name: SWELL CHILD

    Theme URI: https://swell-theme.com/

    Description: SWELLの子テーマ

    Version: 1.0.0

    Author: LOOS WEB STUDIO

    Author URI: https://loos-web-studio.com/



    License: GNU General Public License

    License URI: http://www.gnu.org/licenses/gpl.html

*/

.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
    color: #333333;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.5;
    font-family: aralet-n, sans-serif;
    background: #ffffff;
    padding: 14px 40px;
    text-align: center;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(http://zuienkai.or.jp/wp-content/uploads/2025/09/h2-icon03.webp) no-repeat center center / 100% 100%;
}
.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
    position: absolute;
    content: "";
    top: -2px;
    left: -2px;
    width: 68px;
    height: 68px;
    border: none;
    background: url(http://zuienkai.or.jp/wp-content/uploads/2025/09/h2-icon01.webp) no-repeat center center / contain;
}
.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::after {
    position: absolute;
    content: "";
    bottom: -2px;
    right: -2px;
    width: 68px;
    height: 68px;
    border: none;
    background: url(http://zuienkai.or.jp/wp-content/uploads/2025/09/h2-icon02.webp) no-repeat center center / contain;
}
.post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    font-family: aralet-n, sans-serif;
    padding: 18px 16px;
    border: none;
    background: url(http://zuienkai.or.jp/wp-content/uploads/2025/09/h3-icon01.webp) no-repeat center center / 100% 100%;
}
.post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
    display: none;
}
.post_content h4:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    font-family: aralet-n, sans-serif;
    padding: 12px 12px;
    border: none;
    background: url(http://zuienkai.or.jp/wp-content/uploads/2025/09/h4-icon01.webp) no-repeat center bottom / 100% auto;
}
.post_content,
.post_content p {
    font-family: fot-tsukuardgothic-std, sans-serif;
}
@media screen and (max-width: 780px) {
    .post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
        font-size: 22px;
        padding: 12px 20px;
        min-height: 78px;
        width: 98%;
        margin-left: auto;
        margin-right: auto;
    }
    .post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
        width: 48px;
        height: 48px;
    }
    .post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::after {
        width: 48px;
        height: 48px;
    }
    .post_content h4:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
        padding: 6px 8px;
    }
    #main_content {
        padding-left: 4%;
        padding-right: 4%;
    }
}

