/* TableOfContents */
.custom_TableOfContents {
    color: #000;
}
.custom_TableOfContents .-head {
    background: none;
    border-bottom: 3px dotted #A2A2A2;
    font-size: 18px!important;
    margin: 0 0 5px;
    padding: 10px 0!important;
}

.custom_TableOfContents .-head::before {
    content: none;
}

.custom_TableOfContents .wp-block-list {
    font-size: 16px!important;
    list-style: none;
    margin: 2px 0;
    padding: 0;
}

.custom_TableOfContents .wp-block-list > li {
    padding-left: 1em;
    text-indent: -1em;
}

.custom_TableOfContents .wp-block-list > li::before {
    content: '・';
}

@media screen and (max-width: 767px) {
    .custom_TableOfContents .-head {
        font-size: 16px!important;
    }

    .custom_TableOfContents .wp-block-list {
        font-size: 14px!important;
    }
}


/* profile */
.custom_profile > div {
    align-items: center;
    background: #F4F4F4;
    display: flex;
    flex-wrap: wrap;
    font-size: 16px;
    justify-content: space-between;
    padding: 20px 24px 24px!important;
}

.custom_profile .-head {
    background: none;
    border-bottom: 3px dotted #3c3c3c;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    width: 100%;
}

.custom_profile .-head::before {
    content: none;
}

.custom_profile .-status {
    font-size: 16px;
    text-align: center;
    width: 180px;
}

.custom_profile .-status figure {
    margin: 24px 0 13px;
}

.custom_profile img {
    border: 1px solid #D9D9D9;
    display: block;
    height: 100px;
    margin: 0 auto;
    width: 100px;
}

.custom_profile .-name {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
    margin: 0 0 6px;
}

.custom_profile .-catch {
    line-height: 1.3;
    margin-bottom: 0;
}

.custom_profile .-detail {
    line-height: 1.5;
    width: calc(100% - 200px);
}

@media screen and (max-width: 767px) {
    .custom_profile > div {
        padding: 20px!important;
    }

    .custom_profile .-head {
        font-size: 16px;
        line-height: 1;
        padding: 0 0 5px;
    }

    .custom_profile .-status {
        width: 100%;
    }

    .custom_profile .-status figure {
        margin-top: 20px;
    }

    .custom_profile .-name {
        font-size: 16px;
    }

    .custom_profile .-catch {
        font-size: 14px;
    }

    .custom_profile .-detail {
        font-size: 14px;
        margin: 23px 0 0;
        width: 100%;
    }
}


/* BoxPattern01 */
.custom_Box-pattern1 {
    border: 3px solid #DBDDE3!important;
    border-radius: 5px;
    margin: 1em 0 0;
    padding: 24px!important;
    position: relative;
}

.custom_Box-pattern1 .-head {
    background: #fff;
    display: flex;
    left: 20px;
    padding: 0 9px;
    position: absolute;
    top: -0.9em;
    width: fit-content;
}

.custom_Box-pattern1 .-head p {
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 0;
}

.custom_Box-pattern1 .-head p:nth-of-type(1) {
    font-family: dashicons;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    height: 1em;
    margin: 0 0 -4px;
    overflow: hidden;
    width: 1em;
}

.custom_Box-pattern1 .-head p:nth-of-type(1)::before {
    display: inline-block;
    font-size: 1em;
    line-height: 1;
}

.custom_Box-pattern1 .-detail {
    line-height: 1.3;
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {
    .custom_Box-pattern1 {
        padding: 20px;
    }

    .custom_Box-pattern1 .-head {
        font-size: 18px;
    }

    .custom_Box-pattern1 .-head p:nth-of-type(1) {
        font-size: 20px;
    }

    .custom_Box-pattern1 .-detail {
        font-size: 14px;
    }
}


/* BoxPattern02 */
.custom_Box-pattern2 {
    border-radius: 5px;
    margin: 9px 0 0;
    padding: 18px 24px 24px!important;
    position: relative;
}

.custom_Box-pattern2::after {
    background: url('../images/clip.png') center / 100% auto no-repeat;
    content: '';
    display: block;
    height: 51px;
    position: absolute;
    top: -9px;
    right: 26px;
    width: 35px;
}

.custom_Box-pattern2 .-head {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.custom_Box-pattern2 .-detail {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

@media screen and (max-width: 767px) {
    .custom_Box-pattern2 {
        padding: 20px;
    }

    .custom_Box-pattern2 .-head {
        font-size: 16px;
    }

    .custom_Box-pattern2 .-detail {
        font-size: 14px;
    }
}


/* Balloon */
.custom_Balloon > div {
    display: flex;
    justify-content: space-between;
}

.custom_Balloon.-R > div {
    flex-direction: row-reverse;
}

.custom_Balloon .wp-block-group:nth-of-type(1) {
    border-radius: 50%;
    height: 80px;
    width: 80px;
} 

.custom_Balloon .wp-block-group:nth-of-type(1) figure {
    height: 76px;
    margin: 2px;
    width: 76px;
}

.custom_Balloon .-balloon {
    background: #F4F4F4;
    border-radius: 5px;
    color: #4B4B4B;
    font-size: 16px;
    line-height: 1.5;
    padding: 9px 24px;
    position: relative;
    width: calc(100% - 100px);
}

.custom_Balloon .-balloon::after {
    border-color: transparent;
    border-width: 10px 12px;
    border-style: solid;
    box-sizing: border-box;
    content: '';
    display: block;
    position: absolute;
    top: 10px;
}

.custom_Balloon.-L .-balloon::after {
    border-right-color: #f4f4f4;
    left: -24px;
}

.custom_Balloon.-R .-balloon::after {
    border-left-color: #f4f4f4;
    right: -24px;
}

@media screen and (max-width: 767px) {
    .custom_Balloon .wp-block-group:nth-of-type(1) {
        height: 60px;
        width: 60px;
    }

    .custom_Balloon .wp-block-group:nth-of-type(1) figure {
        height: 56px;
        width: 56px;
    }

    .custom_Balloon .-balloon {
        font-size: 13px;
        padding: 14px 15px 13px;
        width: calc(100% - 82px);
    }
}


/* BlogCard */
.custom_Blogcard > div {
    align-items: center;
    border: 1px solid #ddd;
    display: flex;
    gap: 20px;
    min-height: 168px;
    overflow: hidden;
    position: relative;
}

.custom_Blogcard .-image {
    height: 168px;
    margin: 0!important;
    padding: 0;
    width: 50%;
    max-width: 320px;
}

.custom_Blogcard .-detail {
    margin: 0 20px 0 0;
    min-width: 50%;
}

.custom_Blogcard .-head {
    border-left: 3px solid #D52423;
    color: #D52423;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
    margin: 0 0 8px;
    padding: 3px 0 3px 2px;
}

.custom_Blogcard .-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
    margin: 0 0 8px;
}

.custom_Blogcard .-text {
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
}

.custom_Blogcard .-date {
    font-size: 12px;
    line-height: 1.3;
    margin: 8px 0 0;
}

.custom_Blogcard .-link {
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.custom_Blogcard .-link div {
    display: block;
    height: 100%;
}

.custom_Blogcard .-link a {
    background: transparent;
    border-radius: 0;
    display: block;
    height: 100%;
    padding: 0;
    text-indent: -9999px;
    width: 100%;
}

.block-editor-page .custom_Blogcard .-link {
    bottom: 0;
    height: 50px;
    left: auto;
    position: absolute;
    right: 0;
    top: auto;
    width: 50px;
}


@media screen and (max-width: 767px) {
    .custom_Blogcard > div {
        flex-wrap: wrap;
        height: auto;
        width: 100%;
    }

    .custom_Blogcard .-image {
        align-items: center;
        display: flex;
        height: 140px;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }

     .custom_Blogcard .-image img {
         min-height: 100%;
         min-width: 100%;
     }

    .custom_Blogcard .-detail {
        margin: 5px 20px 20px;
        width: calc(100% - 40px);
    }

    .custom_Blogcard .-head {
        font-size: 16px;
    }

    .custom_Blogcard .-title {
        font-size: 16px;
    }

    .custom_Blogcard .-text {
        font-size: 14px;
    }
}


/* marker */
mark.has-inline-color {
    background-image: url('../images/mask.png');
    background-size: 100% 65%;
    background-repeat: repeat-x;
    background-position: top center;
}