/* typography.css - 見出し・本文・リスト・引用 */

figure img {
    border-radius:var(--r-lg)
}

@media only screen and (max-width: 768px) {
    figure img {
            border-radius:var(--r-sp)
        }
}

figcaption {
    margin-top: .5rem;
    font-size:var(--fs-small);
    color:var(--c-text-muted)
}

@media only screen and (max-width: 768px) {
    figcaption {
            font-size:var(--fs-caption)
        }
}

blockquote {
    padding: 5rem 9rem;
    border-radius:var(--r-lg);
    background-color: var(--c-brand-50);
    position: relative
}

@media only screen and (max-width: 768px) {
    blockquote {
            padding: 2rem 2rem;
            border-radius:var(--r-sp)
        }
}

blockquote::before {
    content: " ";
    display: block;
    width: 39px;
    height: 33px;
    background: url("../img/common/blockquote.svg") center no-repeat;
    position: absolute;
    top: -1rem;
    left: 3rem
}

@media only screen and (max-width: 768px) {
    blockquote::before {
            background-size: 26px auto;
            top: -1.5rem;
            left: 1rem
        }
}

.tmpl_heading2 {
    margin-bottom: 30px;
    font-size:var(--fs-h2);
    font-weight: 700;
    text-align: center
}

@media only screen and (max-width: 768px) {
    .tmpl_heading2 {
            margin-bottom: 2rem;
            font-size:var(--fs-h2-sp)
        }
}

.tmpl_heading2+.tmpl_section_lead {
    margin-top: -10px
}

.tmpl_heading3 {
    margin-bottom: 20px;
    font-size:var(--fs-h3);
    font-weight: 700;
    color: var(--c-brand-800)
}

@media only screen and (max-width: 768px) {
    .tmpl_heading3 {
            margin-bottom: 1.5rem;
            font-size:var(--fs-lead)
        }
}

.tmpl_heading4 {
    margin-bottom: 15px;
    font-size:var(--fs-h4);
    font-weight: 700
}

@media only screen and (max-width: 768px) {
    .tmpl_heading4 {
            margin-bottom: 1rem;
            font-size:var(--fs-base)
        }
}

.tmpl_section_lead {
    margin: 20px 0 30px;
    font-size:var(--fs-lead);
    text-align: center
}

@media only screen and (max-width: 768px) {
    .tmpl_section_lead {
            margin: 1rem 0 2rem;
            font-size:var(--fs-base)
        }
}

.tmpl_section_catch {
    margin-bottom: 15px;
    font-family: "Montserrat", sans-serif;
    font-size:var(--fs-h3);
    font-weight: 700;
    color: var(--c-brand-800);
    text-align: center
}

@media only screen and (max-width: 768px) {
    .tmpl_section_catch {
            margin-bottom: .5rem;
            font-size:var(--fs-lead)
        }
}

.tmpl_attention {
    font-size:var(--fs-small);
    font-weight: 400;
    color:var(--c-text-subtle)
}

@media only screen and (max-width: 768px) {
    .tmpl_attention {
            font-size:var(--fs-caption)
        }
}

.tmpl_unorderedlist li,
.tmpl_orederedlist li {
    padding-left: 20px;
    margin-bottom: .8rem;
    font-size:var(--fs-lead);
    position: relative
}

@media only screen and (max-width: 768px) {
    .tmpl_unorderedlist li,
        .tmpl_orederedlist li {
            padding-left: 15px;
            font-size:var(--fs-base)
        }
}

.tmpl_unorderedlist li:last-child,
.tmpl_orederedlist li:last-child {
    margin-bottom: 0
}

.tmpl_unorderedlist li::before,
.tmpl_orederedlist li::before {
    content: " ";
    display: block;
    position: absolute
}

.tmpl_unorderedlist li::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--c-brand-800);
    top: 10px;
    left: 0
}

@media only screen and (max-width: 768px) {
    .tmpl_unorderedlist li::before {
            width: 6px;
            height: 6px
        }
}

.tmpl_orederedlist {
    counter-reset: number 0
}

.tmpl_orederedlist li {
    padding-left: 25px
}

@media only screen and (max-width: 768px) {
    .tmpl_orederedlist li {
            padding-left: 20px
        }
}

.tmpl_orederedlist li::before {
    counter-increment: number 1;
    content: counter(number) ".";
    top: 2px;
    left: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    color: var(--c-brand-800)
}

@media only screen and (max-width: 768px) {
    .tmpl_orederedlist li::before {
            top: 1px
        }
}

.tmpl_descriptionlist {
    border-bottom: 1px solid var(--c-border);
    padding-bottom: 3.5rem
}

@media only screen and (max-width: 768px) {
    .tmpl_descriptionlist {
            padding-bottom: 1.5rem
        }
}

.tmpl_descriptionlist dt {
    padding-top: 3.5rem;
    border-top: 1px solid var(--c-border);
    margin-bottom: .8rem;
    font-size:var(--fs-lead);
    font-weight: 700;
    color: var(--c-brand-800)
}

@media only screen and (max-width: 768px) {
    .tmpl_descriptionlist dt {
            padding-top: 1.5rem;
            font-size:var(--fs-base)
        }
}

.tmpl_descriptionlist dd+dt {
    margin-top: 3.5rem
}

@media only screen and (max-width: 768px) {
    .tmpl_descriptionlist dd+dt {
            margin-top: 1.5rem
        }
}

.tmpl_cite_source {
    color: var(--c-text-cite);
}
