/**
 * headline系のタグ
 */

/* 上下二重線 */
.hl_doubleline_t_u,
.hl_doubleline_t_u_bgg {
    padding: 0.5em;
    color: var(--hl-font-color);
    border-top: double 3px var(--hl-base-color2);
    border-bottom: double 3px var(--hl-base-color2);
}

/* 上下二重線・グレー背景 */
.hl_doubleline_t_u_bgg {
    background-color: var(--hl-bg-color1);
}

/* ステッチリボン風 */
.hl_whitestitch,
.hl_whitestitch_fc,
.hl_whitestitch_beige,
.hl_whitestitch_fc_beige {
    padding: 0.2em 1.5em;
    color: var(--hl-font-color);
    background: var(--hl-base-color1);
    border: dashed 2px #fff;
    box-shadow: 0 0 0 5px var(--hl-base-color1);
}
.hl_whitestitch_beige,
.hl_whitestitch_fc_beige {
    background: var(--hl-base-colorB);
    box-shadow: 0 0 0 5px var(--hl-base-colorB);
}
@media screen and (max-width: 767.98px) {

    .hl_whitestitch,
    .hl_whitestitch_fc,
    .hl_whitestitch_beige,
    .hl_whitestitch_fc_beige {
        padding: 0.5em;
    }
}

/* ステッチリボン風（文字の長さまで） */
.hl_whitestitch_fc {
    width: fit-content;
}

/* 2色の下線 */
.hl_dualcolor_underline,
.hl_dualcolor_underline_fc {
    position: relative;
    margin-bottom: 0.5rem;
    padding: 0.5em;
    color: var(--hl-font-color);
    border-bottom: solid 3px var(--hl-base-color1);
}
.hl_dualcolor_underline_fc {
    width: fit-content;
}
.hl_dualcolor_underline:after,
.hl_dualcolor_underline_fc:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    display: block;
    width: 20%;
    border-bottom: solid 3px var(--hl-base-color2);
}

/* 左に青いバー */
.hl_bluebar_l,
.hl_bluebar_l_uf,
.hl_bluebar_l_us,
.hl_bluebar_l_bg {
    padding: 0.25em 0.5em;
    color: var(--hl-font-color);
    background: transparent;
    border-left: solid 8px var(--hl-base-color3);
}

/* 左に青いバー・下線つき */
.hl_bluebar_l_uf,
.hl_bluebar_l_us {
    border-bottom: solid 1px var(--hl-base-color2);
}

/* 左に青いバー・下線つき（文字の長さまで） */
.hl_bluebar_l_us {
    width: fit-content;
}

/* 左に青いバー・背景色つき */
.hl_bluebar_l_bg {
    background-color: var(--hl-bg-color1);
}

/* 交差する枠 */
.hl_crossline {
    position: relative;
    width: fit-content;
    padding: 0.25em 1.25em;
    color: var(--hl-font-color);
    border-top: solid 2px var(--hl-base-color2);
    border-bottom: solid 2px var(--hl-base-color2);
}
.hl_crossline:before,
.hl_crossline:after {
    content: '';
    position: absolute;
    top: -7px;
    width: 2px;
    height: -webkit-calc(100% + 14px);
    height: calc(100% + 14px);
    background-color: var(--hl-base-color2);
}
.hl_crossline:before {
    left: 7px;
}
.hl_crossline:after {
    right: 7px;
}

/* 斜めストライプの下線 */
.hl_diagonalstripes {
    position: relative;
    margin-bottom: 3rem;
    padding: 0.25em 0.5em;
    color: var(--hl-font-color);
}
.hl_diagonalstripes:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 7px;
    background: -webkit-repeating-linear-gradient(-45deg, var(--hl-base-color2), var(--hl-base-color2) 2px, #fff 2px, #fff 4px);
    background: repeating-linear-gradient(-45deg, var(--hl-base-color2), var(--hl-base-color2) 2px, #fff 2px, #fff 4px);
}
@media screen and (max-width: 767.98px) {
    .hl_diagonalstripes {
        margin-bottom: 1.5rem;
    }
}

/* アイコン付き */
.hl_icon,
.hl_icon_u {
    margin-top: 1.5em;
    color: var(--hl-base-color4);
    font-size: 1.2em;
    font-weight: 500;
    line-height: 1.5;
    font-feature-settings: "palt";
}
.hl_icon::before,
.hl_icon_u::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4em;
    height: 1.4em;
    margin-right: 0.4em;
    color: #fff;
    font-size: 0.85em;
    line-height: 1;
    background-color: var(--hl-base-color4);
    border-radius: 50%;
}
.hl_icon_u {
    border-bottom: solid 2px var(--hl-base-color2);
}