.mg_0{
    margin: 0!important;
}

body{
    padding: 0!important;
}

body a:hover, body a:focus {
    color: #d31323;
    text-decoration: underline;
}

body .c-entry__content>table td, body .c-entry__content>table th {
  border-color: #c1c1c1;
}

.l-contents__main p > a {
    color: #d31323;
    text-decoration: underline;
}

.p-global-nav .c-navbar{
    margin: 0;
}

.c-entry__meta{
    display: none!important;
}

nav.p-global-nav {
    background-color: #d50a18;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
}
nav.p-global-nav a{
    color: #fff!important;
}
nav.p-global-nav .c-navbar{
    --_container-max-width: var(--_global--container-max-width);
    --_container-margin: var(--_global--container-margin);
    --_container-margin-right: calc(var(--_container-margin) + env(safe-area-inset-right));
    --_container-margin-left: calc(var(--_container-margin) + env(safe-area-inset-left));
    margin-left: auto;
    margin-right: auto;
    max-width: var(--_container-max-width);
}
nav.p-global-nav ul{
    margin-top: 0!important;
}
.p-global-nav--hover-text-color .c-navbar__item:hover
.p-global-nav--hover-text-color .c-navbar__item:focus{
    color: #fff!important;
}
nav.p-global-nav .c-navbar > .menu-item + .menu-item{
    border-left: 1px solid #fff;
}
nav.p-global-nav .c-navbar__submenu{
    width: 100%;
}

.p-drop-nav .p-global-nav .c-navbar {
    max-width: 1280px;
    width: 100%;
}
.p-drop-nav .p-global-nav .c-navbar__item {
    flex: 1 1 auto;
}

.l-sidebar-widget-area ul{
    padding-left: 0!important;
}

.l-front-page-widget-area--bottom {
    padding-top: var(--_padding2);
    padding-bottom: var(--_padding2);
}
.l-sidebar-widget-area .widget_block a img,
.l-front-page-widget-area--bottom .widget_block a img{
    display: block;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
    padding-bottom: 20px;
}
.l-sidebar-widget-area .widget_block .textwidget a + br,
.l-front-page-widget-area--bottom .widget_block .textwidget a + br{
    display: none;
}
.l-footer{
    background-color: #fff;
    border-top: 10px solid #d31323!important;
}
.c-copyright--inverse {
    background-color: #d31323;
}


.simplemap-content{
    height: fit-content!important;
}

.archive .c-entry-summary__figure{
    background-color: #fff;
}
.archive .wp-post-image{
    object-fit: contain;
}
.archive .c-entry-summary__content{
    display: block;
}


body .c-page-top a:hover, body .c-page-top a:focus {
    color: #fff;
    text-decoration: none;
}


.home .c-entry-summary__term{
    min-width: 128px;
    text-align: center;
}


@media (max-width: 1023px) {
    #page-top.c-page-top{
        bottom: 91px;
    }

    .c-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .home .c-entry-summary__body{
        display: flex;
        flex-direction: column-reverse;
        justify-content: left;
        gap: 1em;
        flex-wrap: wrap;
    }
    .home .c-entry-summary__title{
        margin: 0;
        border: none;
        color: #000;
        padding: 0;
    }
    .home .c-entry-summary__meta{
        margin: 0;
    }

    .c-entry__title{
      font-size: 20px;
      margin: 0 0 50px 0;
      padding: 10px;
      border-radius: 0px;
      -webkit-border-radius: 0px;
      -moz-border-radius: 0px;
      text-align: left;
      color: #333333;
      position: relative;
      border-bottom-width: 4px;
      border-top-style: none;
      border-right-style: none;
      border-bottom-style: solid;
      border-left-style: none;
      border-bottom-color: #d31222;
      letter-spacing: 0.2em;
      font-weight: normal;
      background-color: #fff;
    }

    .l-sidebar-widget-area .widget_block,
    .l-front-page-widget-area--bottom .widget_block{
        max-width: 220px;
        margin-right: auto!important;
        margin-left: auto!important;
    }
    .c-copyright{
        padding-bottom: 6em;
    }
}
@media (min-width: 1024px) {
    .l-header__drop-nav{
        z-index: 1000001!important;
    }
    .c-site-branding__title,
    .l-2row-header__row:first-child {
        padding-bottom: 0;
        padding-top: 0;
    }

    .home .c-entry-summary__body{
        display: flex;
        flex-direction: row-reverse;
        justify-content: left;
        gap: 1em;
        align-items: center;
    }
    .home .c-entry-summary__title{
        margin: 0;
        border: none;
        color: #000;
        padding: 0;
    }
    .home .c-entry-summary__meta{
        margin: 0;
    }

    .c-entry__title{
      font-size: 24px;
      margin: 0 0 50px 0;
      padding: 10px;
      border-radius: 0px;
      -webkit-border-radius: 0px;
      -moz-border-radius: 0px;
      text-align: left;
      color: #333333;
      position: relative;
      border-bottom-width: 4px;
      border-bottom-style: solid;
      border-bottom-color: #d31222;
      letter-spacing: 0.2em;
      font-weight: normal;
    }

    .l-front-page-widget-area--bottom{
        display: none;
    }
}
