.WhBGLeft{
    margin-top: 4rem;
}
#PageContents h1{
    margin-top: 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.sourceName {
    font-weight: normal;
    font-size: 1rem;
    line-height: 125%;
    border: none !important;
}
#FlexFrame {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: calc( 100vw * ( 1200 / 1440));
    max-width: 1200px;
    margin: 0 auto;
    gap:20px;
    position: relative;
}

#MainBody {
    width: 95%;
    margin: auto;
}

#BorderDiv {
    width: auto;
    flex-grow: 1;
    /*padding: 10px;*/
    position: relative;
    z-index: 0;
}
#BorderDiv h2{
    margin: 0 auto;
}
#NewsDiv {
    width: 100%;
}
#TopHeightA {
    height: 100%;
    width: 100%;
}

.Count {
    font-size: 1.2em;
    text-align: right;
    padding-right: 1rem;
}

.NewsLink {
    text-decoration: none;
}

.Content {
    height: 100%;
    width: 100%;
    padding-right: 1rem;
}

.MaffTable {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.MaffTable tr {
    height: 100%;
}

.MaffTable .Image {
    width: 150px;
    height: 90%;
}

.MaffTable .Image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 2px solid #0971CE;
}

.MaffTable .Text {
    height: 100%;
    text-align: left;
    padding-left: 8px;
    vertical-align: middle;
}

.MaffTable .Text div {
    margin-bottom: 10px;
}

.NewsTitle {
    text-decoration: underline;
}

.pubDate {
    color: #808080;
    text-decoration: none;
}

@media screen and (min-width: 768px) {
    /* 768px以上に適用されるCSS（pc） */
    .TopCategory {
        display: none;
    }

    #RespH1 {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {
    /* 767px以下に適用されるCSS（スマホ） */
    #PageContents h1{
        margin-top: 0;
        justify-content: flex-start;
        align-items:flex-start;
        flex-flow: column;
    }
    .sourceName {
        display: flex;
        align-items: flex-end;
        width: 100%;
        height: 2rem;
    }
    #FlexFrame {
        width: calc( 100vw * ( 312 / 360));
        max-width: : calc( 100vw * ( 312 / 360));
        flex-flow: column;
    }

    #BorderDiv {
        width: 100%;
    }
    .TopHeightS{
        margin: 2rem auto 0;
    }
    .MaffTable .CategoryText {
        display: none;
    }

    .TopCategory div {
        margin-bottom: 10px;
    }

    .MaffTable .Image {
        width: 100px;
    }
    #RespH2 {
        display: none !important;
    }
    #RespH1{
        font-size: 157% !important;
        line-height: 125% !important;
        margin: 1.5rem auto 0 !important;
        text-align: center;
    }
    .Content {
        padding-left: 1rem;
    }

}
