.col-md-4.d-flex.justify-content-around{
    margin-bottom: 1em;
}
.card{
    padding-top: 1em;
}
.card-body{
    padding:1em 0;
}
.card-img-top{
    display: block;
    margin: auto;
    max-width: 640px!important;
    height: auto;
    opacity: 1;
}
.carousel-item.active img.d-block{
    margin: auto;
}
.carousel-item img{
    width: 100%;
    height: auto;
}

/*201811*/
.card-title{
    font-size: 1em;
}
.card-title .dayandtime{
    background-color: #f7a7af;
    padding: 0.25em;
    color: #FFF;
    border-radius: 0;
    display: inline-block;
}
.topics-page.detail-page .card-img-top{
    opacity: 1;
    max-width: 640px;
}

.carousel {
    max-width: 640px;
    margin: auto;
}

.carousel-item img{
    max-width: 640px;
}
.dayandtime{
    margin-bottom: 8px;
}
.faq-detail-main-cont .card-text a{
    color: #e9495e;
}
.coupon-shoplink-btn{
    margin:1em auto;
    display:block;
    background-color: #FFF !important;
    color: #e50051 !important;;
    border-color: #e50051 !important;;
    box-shadow: 0px 0px 12px 6px #e9e9e9 !important;
    white-space: inherit;
    text-align: center;
}
h2{
    display: flex;
}
h2 img{
    width: 1em;
    height: auto;
    align-self: center;
}

/*仕様変更に伴う変更は以下*/

.detail-main-cover{
    padding: 5px;
    border: 1px solid rgba(0,0,0,.125);
}

@media(min-width:992px){
    .detail-main-cover{
        padding-top: 1em;
    }
}

.detail-main-title{
    background-color: #e9495e;
    color: #FFF;
    padding: 5px;
    width: 100%;
    font-weight: bold;
    display: flex;
    align-content: center;
    align-items: center;
}
.detail-main-title img{
    width: 0.8em;
    height: auto;
    padding-right: 5px;
}

/*サイドバー*/

.news_topics_item_cover li:first-child {
    border-top: 2px dotted #ccc;
}
.news_topics_item {
    display: flex;
    border: none;
    border-bottom: 2px dotted #ccc;
    padding: 5px 0;
}

.news_topics_item a {
    display: flex;
    align-content: start;
    align-items: start;
    color: #000 !important;
    width: 100%;
}

.news_topics_item {
    color: #000 !important;
    display: flex;
    align-content: start;
    align-items: start;
}

.news_topics_item p, .news_topics_item h5 {
    padding: 0;
    margin: 0;
}

.news_topics_item *, .news_topics_item h5, .news_topics_item p {
    font-size: 1rem !important;
}

.list-group-item-img {
    margin-right: 1em;
    width: 83px;
    height: auto;
    align-self: center;
}

.side-bar{
    padding-right: 0;
}

@media (max-width: 991px) {
    .side-news {
        width: 100% !important;
    }
    .side-bar{
        padding: 1em 0 0 0;
    }
}

.side-news{
    /*width: 360px;*/
    width: 100%;
    height: 548px;
    border: 5px solid #e9495e;
    padding: 0;
    background-color: #FFF;
    border-top: none;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}
.news_topics_item_cover{
    height: 465px;
    overflow-y: scroll;
}

.news_topics_item_text {
    align-self: stretch;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    flex: auto;
}
.news_topics_item_text h5{
    width: 100%;
}
p.newstopics-text-add {
    font-size: small !important;
    text-align: right;
    width: 100%;
}

.side-news h3 .fa.fa-bullhorn{
    margin-right: 0.25em;
    line-height: unset !important;
    font-size: 1em;
}
.side-news h3{
    align-items: center;
    background-color: #e9495e;
    color: #FFF;
    padding: 0.5rem;
    width: 100%;
    font-size: 1em;
    display: flex;
    align-content: center;
    align-items: center;
}
.side-news h3 img{
    height: 1em !important;
    width: auto !important;
    padding-right: 5px;
}

.side-news h3 .small{
    padding-left: 5px;
}

.banner-area-square2{
    padding: 1em;
}

@media (max-width: 991px) {
    .banner-area-square2{
        padding: 5px;
    }
}

.detail-page-row{
    max-width: 1108px;
}

@media (max-width: 991px) {
    h3 {
        font-size: 1em !important;
    }
}

.newstopicsall-view-link {
    background: #fce4e9;
    line-height: 1.75;
    display: flex;
    justify-content: center;
    font-size: 1em;
}

.newstopicsall-view-link {
    background: #fce4e9;
    line-height: 1.75;
    font-size: 1.5rem;
    padding: 5px;
    width: 100%;
    font-size: 1em;
}

.news_topics_item {
    padding-left: 5px;
    padding-right: 5px;
}
p.newstopics-text-add {
    line-height: 1;
}
.detail-main-cover .card-text{
    word-break: break-all;
}

@media (max-width: 991px){

    .newstopicsall-view-link {
        line-height: 2;
    }

}

.banner-area-square2 a{
    padding: 1em;
}

@media (min-width: 992px){
    .col-lg-2 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}