@charset "utf-8";

/*----------------------------------------------------------------------
CMSお知らせ
----------------------------------------------------------------------*/
/*========================================================
トップページ：ニュースボックス
=========================================================*/

.cms-preview.news-flex-ctr {
    display: flex;
    align-items: flex-start;
}

@media print,screen and (max-width: 1024px)  {
    .cms-preview.news-flex-ctr {
        flex-direction: column;
    }
}

/*
コンテナー
---------------------------------------------------------*/
.cms-preview .news-box__item {
    max-width: 50%;
    margin: 0rem 1rem 0 0;
    flex: 1;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    border-radius: .5rem;
    overflow: hidden;
}
.cms-preview .news-box__item:last-child {
    margin-right:0;
}

/*
ヘッド
---------------------------------------------------------*/
.cms-preview .news-box__head {
    text-align: center;
    position: relative;
    color: #fff;
    border-radius: .5rem .5rem 0 0;
    line-height: 1;
}
.cms-preview h3 {
    margin: .5em !important;
    background: none !important;
    border-bottom: none !important;
    color: #ffffff !important;
    padding-left: 0 !important;
}
.cms-preview .news-box__title {
    display: inline-block;
    padding: .5em;
}
.cms-preview .news-box__btn{
    position: absolute;
    top:50%;
    right: 0%;
    transform:translate(0,-50%);
    background: #a08d3a;
    color: #ffffff;
    border-radius: .3rem;
    padding: .4em 1em;
    line-height: 1;
    margin-right: 1rem;
    cursor:pointer;
    transition: .3s ease-out;
    font-weight: bold;
/*    text-decoration: underline;*/
}
.cms-preview .news-box__btn:hover{
    background: #e2bc18;
    color: #ffffff;
}
/*
ボディ
---------------------------------------------------------*/
.news-box__ctr{
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border-radius: 5px;
}
.news-box__body{
    border-style: solid;
    border-width: 10px;
    border-top: none;
    border-radius: 0 0 5px 5px;
    background: #fff;
    overflow: hidden;
}

/*
色：ヘッド、ボディ
---------------------------------------------------------*/
.cms-preview .news-box__head.type1 {
    background: #2d639a;
}
.cms-preview .news-box__body.type1{
    border-color: #2d639a;
}
.cms-preview .news-box__head.type2 {
    background: #5094ad;
}
.cms-preview .news-box__body.type2{
    border-color: #5094ad;
}
/*
インナー
---------------------------------------------------------*/
.cms-preview .news-box__inner{
    width: 100%;
    height: 250px;
    overflow:auto;
    -webkit-overflow-scrolling:touch;
}
@media screen and (max-width: 1024px) {
    .cms-preview .news-box__inner{
        height: 100%;
        max-height: 250px;
    }
}
/*スクロールバー*/
.cms-preview .news-box__inner::-webkit-scrollbar {
    width: 1rem;
}
.cms-preview .news-box__inner::-webkit-scrollbar-track {
    background: #ebebeb;
}
.cms-preview .news-box__inner::-webkit-scrollbar-thumb {
    background:#d3d3d3;
}
/*
リスト
---------------------------------------------------------*/
.cms-preview .news-box__list {
    /* padding: 1.5rem 1.5rem 1.5rem; */
    padding: 1rem 1rem 1rem;
    border-bottom: 1px dotted #c0c4d0;
    cursor:default;
    transition: all .3s ease-out;
    list-style: none;
}
.cms-preview .news-box__list:last-child {
    border-bottom: none;
}

/*
リスト：ヘッド
---------------------------------------------------------*/
.cms-preview .news-box__list .head {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin-bottom: .35em;
}
.cms-preview .news-box__list .time{
    color: #838383;
    padding-top: .1rem;
    padding-right: .5em;
    line-height: 1;
    transition: .3s ease-out;
}
.cms-preview .news-box__list .category {
    border-radius: .2rem;
    padding-top: .3rem;
    padding-bottom: .3rem;
    line-height: 1;
    width: 4.5em;
    text-align: center;
    vertical-align: middle;
    transition: .3s ease-out;
    background-color: #fdeab6;
    color: #815f00;
}
.cms-preview .news-box__list .category.annai::before {
    letter-spacing: .3em;
    padding-left: .3em;
    content: "ご案内";
}
.cms-preview .news-box__list .category.jikan::before {
    letter-spacing: -0.05em;
    padding-left: -0.05em;
    content: "診療日時";
}
.cms-preview .news-box__list .category.tantou::before {
    letter-spacing: .3em;
    padding-left: .3em;
    content: "担当医";
}

/*
リスト：ボディ
---------------------------------------------------------*/
.cms-preview .news-box__list .body{
    flex: 1;
    vertical-align: middle;
    line-height: 1.5;
    transition: .3s ease-out;
}
.cms-preview .news-box__list p{
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 1em;
}
.cms-preview .news-box__list p:last-child{
    margin-bottom: 0;
}
/*
ホバー
---------------------------------------------------------*/
.cms-preview .news-box__list.hover1:hover{
    background: #e5e5e5;
    cursor:pointer;
}
.cms-preview .news-box__list:hover.hover1.news-box__list .body,
.cms-preview .news-box__list:hover.hover1.news-box__list .category,
.cms-preview .news-box__list:hover.hover1.news-box__list .time {
    color:#000000;
}
.cms-preview .news-box__list:hover.hover1.news-box__list .category {
    background: #2a37d4;
    color:#fff
}

/*
ニュースボックス：レスポンシブ
--------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
    .cms-preview .news-box__item{
        max-width: 100%;
        width: 100%;
        margin: 0;
        flex: 1
    }
    .cms-preview .news-box__item:last-child {
        margin: 3rem 0 0 0;
    }
}

@media screen and (max-width: 678px) {
    .cms-preview .news-box__list {
        padding: 1em 0.5em 1em;
    }
    .cms-preview .news-box__body{
        border-width: 7px;
    }
}


/*========================================================
お知らせページ
=========================================================*/
.cms-preview .news-item{
    position: relative;
    padding: 20px 15px;
    border-radius: 10px;
    background: #edf2f8;
    box-shadow: 0rem 4px 0rem rgba(0, 0, 0, 0.14);
    z-index: 0;
    overflow: hidden;
}
.cms-preview h2 {
    color: #777777;
	font-size: 140%;
	text-align: left;
	text-shadow: 1px 1px 0 #fff;
}
.cms-preview .news-item__ttl{
    /* padding: .4em 0 .8em;
    margin-bottom: .6em; */
    margin: .8em 0 1em!important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

.cms-preview .news-item__text p{
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 0;
}
.cms-preview .news-item__text p:last-child{
    margin-bottom: 0;
}
.cms-preview .news-item__head {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin-bottom: .0em;
}
.cms-preview .news-item__head .time{
    color: #838383;
    padding-top: .1rem;
    padding-right: .5em;
    line-height: 1;
    transition: .3s ease-out;
}
.cms-preview .news-item__head .category{
    border-radius: .2rem;
    padding-top: .3rem;
    padding-bottom: .3rem;
    line-height: 1;
    width: 4.5em;
    text-align: center;
    vertical-align: middle;
    transition: .3s ease-out;
    background-color: #f7dec0;
    color: #5d0f0f;
}
.cms-preview .news-item__head .category.annai::before{
    letter-spacing: .3em;
    padding-left: .3em;
    content: "ご案内";
}
.cms-preview .news-item__head .category.jikan::before {
    letter-spacing: -0.05em;
    padding-left: -0.05em;
    content: "診療日時";
}
.cms-preview .news-item__head .category.tantou::before {
    letter-spacing: .3em;
    padding-left: .3em;
    content: "担当医";
}




/*お知らせ内*/
/*見出し*/
.cms-preview .news-hh01{
    font-weight: bold;
    position: relative;
    padding-left: 1em;
    line-height: 1.3;
/*    color: #000;*/
}
.cms-preview .news-hh01::before{
    font-weight: bold;
    position: absolute;
    content: "";
    top:.3em;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.3);
/*        border-radius: 1em;*/
    margin-left: -1em;
}

/*リスト*/
.cms-preview .news-list1{
    /*    color: #ea640f;*/
    font-weight: bold;
    padding: 0 0 0 .5em;
}

.cms-preview .news-list1 li{
    font-weight: bold;
    list-style: none;
    position: relative;
    padding-left: .4em;
    margin-bottom: .4em;
    line-height: 1.5;
}

.cms-preview .news-list1 li::before{
    margin-left: -1.1em;
    position: absolute;
    content: "・";
}

/* 余白 */
.cms-preview .mt_20 {
	margin-top: 20px;
}