.container {
    padding: 0;
    max-width: 1140px!important;
}

.ep-main {
    float: left;
    width: 100%;
    margin-right: -320px;
    padding-right: 320px;
    box-sizing: border-box;
}

.ep-side {
    float: right;
    width: 320px;
    padding-left: 20px;
}

@media only screen and (max-width: 767.98px) {
    .ep-main {
        margin-right: 0;
        padding-right: 0;
    }
    .ep-side {
        display: none !important;
    }

}

.cards div[class*="col-"] {
    padding-right: 2px;
    padding-left: 2px;
}

.card-img-custom {
    width: 100%;
    height: 160px;
    border-radius: 0;
}

.card {
    width: 100%;
    border-radius: 0;
}

.card h5 {
    font-size: 0.9rem;
    font-weight: bold;
}

.card-body {
    padding: 0 0.5rem;
    border-top: 1px solid #eee;
}

.card-title {
    margin: 0.5rem 0;
    line-height: 1.4;
}

.card-footer {
    padding: 0 0.5rem 0.3rem;
    background-color: #fff;
    border-top: none;
}

/*------------------------------------------
    グローバルヘッダー
------------------------------------------*/
#site-header nav.fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
}

#site-header .header-title {
    padding-top: 5px;
    padding-bottom: 10px;
}

#site-header2 .header-title {
    padding-top: 5px;
    padding-bottom: 10px;
}

#site-header .header-title h1,
#site-header2 .header-title h1 {
    text-align: center;
}

#site-header .header-title img,
#site-header2 .header-title img {
    height: 32px;
    margin-bottom: 5px;
}

#site-header2 {
    border-bottom: 1px solid #d8d8d8;
}

#site-footer {
    margin: 30px 0 10px;
}

#site-footer2 {
    margin-top: 80px;
    padding: 20px 0 18px;
    border-top: 1px solid #d8d8d8;
}

.footer-link a:hover,
.footer-notice a:hover {
    text-decoration: underline;
}

.footer-notice {
    padding: 10px;
    background-color: #f8f8f8;
}

/*------------------------------------------
    グローバルナビゲーション
------------------------------------------*/
.navbar-custom {
    padding: 0;
    margin: 0 0 15px;
    background-color: #fff;
}

@media only screen and (max-width: 767.98px) {
    .navbar-custom {
        margin: 0 0 6px;
    }
}

.navbar-custom .nav-item a.nav-link {
    display: block;
    padding: 12px 0;
    text-align: center;
    background-position: 0 0;
    background-size: auto 200%;
    transition: 0.3s;
}

.navbar-custom .nav-item a.nav-link-default {
    border-bottom: #1d3994 solid 3px;
    background-image: linear-gradient( #fff 50%, #1d3994 50%);
}
.navbar-custom .nav-item a.nav-link-red {
    border-bottom: #E93940 solid 3px;
    background-image: linear-gradient( #fff 50%, #E93940 50%);
}
.navbar-custom .nav-item a.nav-link-pink {
    border-bottom: #FA7DB5 solid 3px;
    background-image: linear-gradient( #fff 50%, #FA7DB5 50%);
}
.navbar-custom .nav-item a.nav-link-green {
    border-bottom: #1B7150 solid 3px;
    background-image: linear-gradient( #fff 50%, #1B7150 50%);
}
.navbar-custom .nav-item a.nav-link-blue {
    border-bottom: #1291D0 solid 3px;
    background-image: linear-gradient( #fff 50%, #1291D0 50%);
}
.navbar-custom .nav-item a.nav-link-orange {
    border-bottom: #F79440 solid 3px;
    background-image: linear-gradient( #fff 50%, #F79440 50%);
}
.navbar-custom .nav-item a.nav-link-black {
    border-bottom: #505050 solid 3px;
    background-image: linear-gradient( #fff 50%, #505050 50%);
}

.navbar-toggler-icon-custom {
    color: #fff;
}

.navbar-custom .navbar-toggler[aria-expanded="false"] span:before {
    font-family: 'icomoon';
    content: '\f0c9';
    font-weight: 900;
    font-size: 25px;
}
.navbar-custom .navbar-toggler[aria-expanded="true"] span:before {
    font-family: 'icomoon';
    content: '\f00d';
    font-weight: 900;
    font-size: 25px;
}

@media only screen and (max-width: 767.98px) {
    .navbar-toggler-icon-custom div {
        margin-top: 0px;
        font-size: 0.5rem;
    }

    .navbar-custom {
        background-color: #1d3994;
        border-bottom: #1d3994 solid 1px;
    }

    .navbar-custom .navbar-nav {
        background-color: #fff;
    }

    .navbar-custom .nav-item a.nav-link {
        text-align: left;
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        color: rgb(0,0,0);
        color: rgba(0,0,0,0.8);
    }
    .navbar-custom .nav-item a.nav-link-default {
        border-left: #1d3994 solid 5px;
        border-top: #ccc solid 1px;
        border-bottom: none;
    }
    .navbar-custom .nav-item a.nav-link-red {
        border-left: #E93940 solid 5px;
        border-top: #ccc solid 1px;
        border-bottom: none;
    }
    .navbar-custom .nav-item a.nav-link-pink {
        border-left: #FA7DB5 solid 5px;
        border-top: #ccc solid 1px;
        border-bottom: none;
    }
    .navbar-custom .nav-item a.nav-link-green {
        border-left: #1B7150 solid 5px;
        border-top: #ccc solid 1px;
        border-bottom: none;
    }
    .navbar-custom .nav-item a.nav-link-blue {
        border-left: #1291D0 solid 5px;
        border-top: #ccc solid 1px;
        border-bottom: none;
    }
    .navbar-custom .nav-item a.nav-link-orange {
        border-left: #F79440 solid 5px;
        border-top: #ccc solid 1px;
        border-bottom: none;
    }
    .navbar-custom .nav-item a.nav-link-black {
        border-left: #505050 solid 5px;
        border-top: #ccc solid 1px;
        border-bottom: none;
    }
}
@media only screen and (min-width: 768px) {
    .navbar-custom .nav-item a.nav-link:hover,
    .navbar-custom .nav-item a.nav-link-red.now,
    .navbar-custom .nav-item a.nav-link-pink.now,
    .navbar-custom .nav-item a.nav-link-green.now,
    .navbar-custom .nav-item a.nav-link-blue.now,
    .navbar-custom .nav-item a.nav-link-orange.now,
    .navbar-custom .nav-item a.nav-link-black.now {
        background-position: 0 100%;
        color: #fff;
    }
    .navbar-custom .nav-item a.nav-link-red.now {
        background-color: #E93940;
    }
    .navbar-custom .nav-item a.nav-link-pink.now {
        background-color: #FA7DB5;
    }
    .navbar-custom .nav-item a.nav-link-green.now {
        background-color: #1B7150;
    }
    .navbar-custom .nav-item a.nav-link-blue.now {
        background-color: #1291D0;
    }
    .navbar-custom .nav-item a.nav-link-orange.now {
        background-color: #F79440;
    }
    .navbar-custom .nav-item a.nav-link-black.now {
        background-color: #505050;
    }
}

/*------------------------------------------
    フッター
------------------------------------------*/
.footer-link {
    text-align: center;
    margin-bottom: 10px;
}

.footer-link li {
    margin-bottom: 10px;
}

.footer-link a:hover,
.footer-notice a:hover {
    text-decoration: underline;
}

@media only screen and (min-width: 768px) {
    .footer-link li {
        display:inline;
        list-style-type:none;
        margin-right:6px;
        padding-left:10px;
    }

    .footer-link li+li {
        border-left:1px solid #999;
    }
}

/*------------------------------------------
    記事ページ
------------------------------------------*/
#article {
    margin-bottom: 20px;
}

#article .article-title h2 {
    font-size: 2em;
    font-weight: bold;
    line-height: 1.6;
}

#article .article-title h3 {
    margin-top: 6px;
    font-size: 1.5em;
    line-height: 1.5;
}

#article .article-photo {
    width: 100%;
    color: #aaa;
}

#article .article-photo img {
    margin: 0 auto;
    border:1px solid #f0f0f0;
}

#article .article-body {
    margin-top: 20px;
    font-size: 1.2em;
}

#article .publish-date {
    text-align: right;
    margin: 5px 0;
}

#article .owner-name {
    font-size: 0.9em;
}

#article .link-nor {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}

@media only screen and (max-width: 767.98px) {
    #article .link-nor {
        margin-top: 30px;
        margin-bottom: 20px;
    }
}

#article .link-nor a {
    padding: 0.8rem 8rem;
    border: #1d3994 solid 1px;
    border-radius: 0;
    color: #1d3994;
}

#article .link-nor a:hover {
    background-color: #1d3994;
    color: #fff;
}

#article .news-more {
    margin-top: 20px;
    margin-bottom: 30px;
}

#article .news-more a {
    display: block;
    padding: 10px 0;
    border: 1px solid #1d3994;
    border-radius: 5px;
    color: #1d3994;
    font-size: 0.9em;
    text-align: center;
}

/*------------------------------------------
    ニュースリスト
------------------------------------------*/
#latest_news {
    margin-bottom: 20px;
}

.news-list-container {
    margin-bottom: 50px;
}

@media only screen and (max-width: 767.98px) {
    .news-list-container {
        margin-bottom: 20px;
    }
}

.news-list-category {
    margin-bottom: 5px;
    padding: 12px 0 12px 20px;
    border-top: #1d3994 solid 2px;
    border-bottom: #1d3994 solid 2px;
    background-color: rgba(29,57,148,0.05);
    color: #1d3994;
    font-size: 1.2rem;
    font-weight: bold;
}

@media only screen and (max-width: 767.98px) {
    .news-list-category {
        margin-bottom: 0;
        padding: 12px 0 12px 10px;
        font-size: 1.2rem;
    }
}

.news-list-category-red {
    border-top: #E93940 solid 2px;
    border-bottom: #E93940 solid 2px;
    background-color: rgba(233,57,64,0.05);
    color: #E93940;
}
.news-list-category-pink {
    border-top: #FA7DB5 solid 2px;
    border-bottom: #FA7DB5 solid 2px;
    background-color: rgba(250,125,181,0.05);
    color: #FA7DB5;
}
.news-list-category-green {
    border-top: #1B7150 solid 2px;
    border-bottom: #1B7150 solid 2px;
    background-color: rgba(27,113,80,0.05);
    color: #1B7150;
}
.news-list-category-blue {
    border-top: #1291D0 solid 2px;
    border-bottom: #1291D0 solid 2px;
    background-color: rgba(18,145,208,0.05);
    color: #1291D0;
}
.news-list-category-orange {
    border-top: #F79440 solid 2px;
    border-bottom: #F79440 solid 2px;
    background-color: rgba(247,148,64,0.05);
    color: #F79440;
}
.news-list-category-black {
    border-top: #505050 solid 2px;
    border-bottom: #505050 solid 2px;
    background-color: rgba(0,0,0,0.05);
    color: #505050;
}

.news-list-subcategory {
    margin-bottom: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    font-size: 1.3em;
    border-bottom: #000 solid 1px;
}

.news-list-category .headline-link {
    margin-top: 5px;
    font-size: 0.8em;
}

.news-list-more {
    margin-left: 5px;
    margin-right: 5px;
}

.news-list-more a {
    display: block;
    transition: all 0.3s ease;
    border-radius: 5px;
    color: #1d3994;
}
.news-list-more a:hover {
    background-color: #1d3994;
    color: #fff;
}
.news-list-more-inner {
    margin-top: 10px;
    padding: 10px 0;
    border: 1px solid rgba(29,57,148,0.8);
    border-radius: 4px;
    text-align: center;
}
.news-list-more-red a {
    color: #E93940;
}
.news-list-more-red a:hover {
    background-color: #E93940;
}
.news-list-more-inner-red {
    border: 1px solid rgba(233,57,64,0.8);
}
.news-list-more-pink a {
    color: #FA7DB5;
}
.news-list-more-pink a:hover {
    background-color: #FA7DB5;
}
.news-list-more-inner-pink {
    border: 1px solid rgba(250,125,181,0.8);
}
.news-list-more-green a {
    color: #1B7150;
}
.news-list-more-green a:hover {
    background-color: #1B7150;
}
.news-list-more-inner-green {
    border: 1px solid rgba(27,113,80,0.8);
}
.news-list-more-blue a {
    color: #1291D0;
}
.news-list-more-blue a:hover {
    background-color: #1291D0;
}
.news-list-more-inner-blue {
    border: 1px solid rgba(18,145,208,0.8);
}
.news-list-more-orange a {
    color: #F79440;
}
.news-list-more-orange a:hover {
    background-color: #F79440;
}
.news-list-more-inner-orange {
    border: 1px solid rgba(247,148,64,0.8);
}
.news-list-more-black a {
    color: #505050;
}
.news-list-more-black a:hover {
    background-color: #505050;
}
.news-list-more-inner-black {
    border: 1px solid rgba(0,0,0,0.8);
}

.news-list .card-img-wrap {
    height: 160px;
    /*margin:0 auto;*/
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
    overflow: hidden;
}

.news-list img {
    transition: 0.5s all;
}

.news-list:hover img {
    transform: scale(1.1);
}

.news-list a:hover .card-title {
    text-decoration: underline;
}

.news-keyword {
    display: inline-block;
    margin: 0 4px 8px 0;
    padding: 8px 16px;
    border: 1px solid #888;
    background-color: #fff;
    border-radius: 5px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

@media only screen and (max-width: 767.98px) {
    .news-keyword {
        padding: 6px 12px;
    }
}

.news-keyword:hover {
    background-color: #ebedef;
}

/*------------------------------------------
    サイドバー用ニュースリスト
------------------------------------------*/
.side-news-list {
    padding: 5px 0;
    border-bottom: 1px solid #e3e3e3;
}

.side-news-list .side-img-wrap {
    /*height: 160px;*/
    /*margin:0 auto;*/
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
    overflow: hidden;
    border-radius: 3px;
}

.side-news-list img {
    transition: 0.5s all;
}

.side-news-list:hover img {
    transform: scale(1.2);
}

.side-news-list:hover .side-news-title {
    text-decoration: underline;
}

.side-news-list-title {
    padding: 5px;
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: 600;
    color: #1d3994;
    border-top: 2px #1d3994 solid;
    border-bottom: 2px #1d3994 solid;
}

.side-news-photo {
    float: left;
    margin-right: 10px;
}

.side-news-photo img {
    width: 80px;
    height: 80px;
    border-radius: 3px;
}

.side-news-text {
    overflow: auto;
}

.side-news-text .side-news-title {
    margin-bottom: 0;
    line-height: 20px;
    font-weight: bold;
}

.trendword-item {
    display: inline-block;
    margin: 0 2px 6px 0;
    padding: 6px 14px;
    border: 1px solid #aaa;
    background-color: #fff;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.trendword-item:hover {
    background-color: #ebedef;
}

#site-search input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
}

#site-search button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border: 1px solid #ced4da;
    border-left: 0;
}

#site-search button i {
    opacity: 0.5;
}

#site-search input:focus,
#site-search button:focus {
    border-color: #ced4da;
    outline: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.news-category {
    padding: 4px 6px;
    margin-right: 10px;
    border-radius: 8px;
}


.popular-words-title {
    padding-bottom: 5px;
    font-size: 1.1rem;
    font-weight: bold;
}

.popular-words {
    position: relative;
    display: inline-block;
    margin: 0.5em 0;
    padding: 7px 10px;
    width: 100%;
    color: #555;
    background: #FFF;
    border: solid 2px #888;
    box-sizing: border-box;
}

.popular-words:before,
.popular-words:after {
    content: "";
    position: absolute;
    left: 18%;
}

.popular-words:before {
    top: -24px;
    margin-left: -15px;
    border: 12px solid transparent;
    border-bottom: 12px solid #FFF;
    z-index: 2;
}

.popular-words:after {
    top: -29px;
    margin-left: -17px;
    border: 14px solid transparent;
    border-bottom: 14px solid #888;
    z-index: 1;
}

.popular-words p {
    margin: 0;
    padding: 0;
}

.expand {
    max-height: 140px;
    overflow: hidden;
    position: relative;
    transition: .5s;
}

.expand::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 50%, #fff 100%);
    background: linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 50%, #fff 100%);
}

.grad-trigger {
    display: none;
}

.grad-btn {
    z-index: 2;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 120px;
    margin: 5px auto;
    border-radius: 2px;
    background: #1d3994;
    color: #fff;
    font-size: 0.8rem;
    text-align: center;
    cursor: pointer;
    transition: .2s ease;
    box-shadow: 0 0 3px rgba(0,0,0,.3)
}

.grad-trigger:checked ~ .expand {
    max-height: 800px;
}

.grad-trigger:checked ~ .expand:before {
    opacity: 0;
    height: 0;
}

.grad-trigger:checked + .grad-btn {
    display: none;
}