/* =========================
    Typography
========================= */
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h3:not(.noh), .m3,
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h4:not(.noh), .m4,
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h5:not(.noh), .m5,
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h6:not(.noh), .m6
{
    line-height: 1.3;
    font-weight: bold;
    letter-spacing: 2px;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h1:not(.noh), .m1,
.wp-block-post-title{
    line-height: 1.3;
    font-weight: bold;
    letter-spacing: 2px;
    display: block;
    font-size: 2.0em;
    text-align: center;
    margin-top: 1em;
    margin-bottom: 1.5em;
    padding-top:0em;
clear: both;
}
@media (max-width: 540px){
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h1:not(.noh), .m1,
.wp-block-post-title{font-size: 1.5em;}
}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h1:not(.noh):after, .m1:after, .wp-block-post-title:after{
    display: block;
    width: 50px;
    height: 5px;
    margin: 20px auto 30px;
    content: "";
    background: var(--color-c);
}

:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h2:not(.noh), .m2{
    font-size: 1.8em;
    line-height: 1.3;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
    margin-top: 3.5em;
    margin-bottom: 0.75em;
    padding-top:0em;
clear: both;
}
@media (max-width: 540px){
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h2:not(.noh), .m2{font-size: 1.5em;}
}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h2:not(.noh):after, .m2:after {
    display: block;
    width: 40px;
    height: 3px;
    margin: 20px auto 20px;
    content: "";
    background: var(--color-a);
}

:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h3:not(.noh), .m3{
font-size: 1.5em;
  padding: 0.5em;/*文字周りの余白*/
  color: var(--color-d);/*文字色*/
  background: #fffaf4;/*背景色*/
  border-left: solid 5px var(--color-a);/*左線（実線 太さ 色）*/
}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h4:not(.noh), .m4{
font-size: 1.5em;
  border-bottom: solid 3px var(--color-b);
  position: relative;
      padding-bottom: 5px;
}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h4:not(.noh):after, .m4:after{
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px var(--color-a);
  bottom: -3px;
  width: 30%;
}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h5:not(.noh), .m5{font-size: 1.5em; color:var(--color-a);}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h6:not(.noh), .m6{font-size: 1.5em; color:var(--color-d);}

.m11{
    line-height: 1.3;
    font-weight: bold;
    letter-spacing: 2px;
    display: block;
    font-size: 2.5em;
    text-align: center;
    margin-top: 0em;
    margin-bottom: 0.75em;
    padding-top:2em;
}
.m11:first-letter{color:var(--color-b);}

section > h2:first-child, section > h3:first-child, section > h4:first-child, section > h5:first-child, section > h6:first-child,
.imgh + h2, .imgh + h3, .imgh + h4, .imgh + h5, .imgh + h6,
div > h2:first-child, div > h3:first-child, div > h4:first-child, div > h5:first-child, div > h6:first-child{margin-top: 0em !important;}
h1 + h2, h1 + h3, h1 + h4, h1 + h5, h1 + h6, h2 + h1, h2 + h3, h2 + h4, h2 + h5, h2 + h6, h3 + h1, h3 + h2, h3 + h4, h3 + h5, h3 + h6,
h4 + h1, h4 + h2, h4 + h3, h4 + h5, h4 + h6, h5 + h1, h5 + h2, h5 + h3, h5 + h4, h5 + h6{margin-top: 1em !important;}

h1 a, h2 a, h3 a, h4 a, h5 a, h6a{text-decoration:unset;}