@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 2rem 2rem 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 .news-box__title {
    display: inline-block;
    padding: 1em;
}
.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: #96225F;
}
.cms-preview .news-box__body.type1{
    border-color: #96225F;
}
.cms-preview .news-box__head.type2 {
    background: #C86A99;
}
.cms-preview .news-box__body.type2{
    border-color: #C86A99;
}
/*
インナー
---------------------------------------------------------*/
.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: 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;
    font-size: .9rem;
}
.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: #fee7f6;
    color: #bb0a5d;
    font-size: .7rem;
}
/* .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.topic::before {
    letter-spacing: -0.05em;
    padding-left: -0.05em;
    content: "トピック";
}
.cms-preview .news-box__list .category.checkup::before {
    letter-spacing: -0.05em;
    padding-left: -0.05em;
    content: "健診情報";
} */

/*
リスト：ボディ
---------------------------------------------------------*/
.cms-preview .news-box__list .body{
    flex: 1;
    vertical-align: middle;
    text-align: left;
    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: #f2f2f2;
    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:#e5007b;
}
.cms-preview .news-box__list:hover.hover1.news-box__list .category {
    background: #e062a5;
    color:#fff
}
.cms-preview .news-box__list a {
    color: inherit;
    text-decoration: none;
}
.cms-preview .news-box__list a:hover {
    text-decoration: none;
}

/*
ニュースボックス：レスポンシブ
--------------------------------------------------------------*/
@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: 2rem 0 2rem 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: #f7f7f7;
    box-shadow: 0rem 4px 0rem rgba(0, 0, 0, 0.14);
    z-index: 0;
    overflow: hidden;
}
.cms-preview .news-item__ttl{
    padding: .4em 0 .6em;
    margin-bottom: .8em;
    border-bottom: 1px solid #c6c6c6;
    font-weight: bold;
}

.cms-preview .news-item__text p{
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.cms-preview .news-item__text p:last-child{
    margin-bottom: 0;
}
.cms-preview .news-item__text img{
  max-width: min(100%, 160px);
  height: auto;
  margin: 1.5em 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;
    font-size: .9rem;
}
.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: #fee7f6;
    color: #bb0a5d;
    font-size: .7rem;
}
/* .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.topic::before {
    letter-spacing: -0.05em;
    padding-left: -0.05em;
    content: "トピック";
}
.cms-preview .news-item__head .category.checkup::before {
    letter-spacing: -0.05em;
    padding-left: -0.05em;
    content: "健診情報";
} */


/*お知らせ内*/
/*見出し*/
.cms-preview .news-hh01{
    font-weight: bold;
    position: relative;
    padding-left: 1em;
    line-height: 1.3;
}
.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);
    margin-left: -1em;
}

/*リスト*/
.cms-preview .news-list1{
    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: 2em;
}




/*---------------------------------------------------------
カレンダー
---------------------------------------------------------*/
.cms-preview.calendar-ctr {
    display: flex;
    justify-content: space-between;
}
.cms-preview .calendar-item{
    width: 48%;
}
@media print,screen and (max-width: 1024px) {
    .cms-preview.calendar-ctr {
        flex-direction: column;
    }
    .cms-preview .calendar-item{
        width: 100%;
    }
    .cms-preview .calendar-item.item2{
        margin-top: 2em
    }
}

/*カレンダーテーブル
-----------------------------------------------------------*/
.cms-preview .calendar table{
    margin-top: 0rem;
    width: 100%;
    border-collapse:separate;
    border-spacing: 0;
    text-align: center;
}
.cms-preview .calendar table th{
    line-height: 1;
    vertical-align: middle;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    /* padding: 5px 0; */
    padding: 8px 0;
    background: #8B3A5C;
    /* background: #7A2E50; */
    width: 14.3%;
}
.cms-preview .calendar table td{
    line-height: 1.5;
    vertical-align: middle;
    color: #606060;
    font-size: 18px;
    font-weight: bold;
    /* padding: 5px 0; */
    padding: 10px 0;
    background: #fff;
}
/*角丸
-----------------------------------------------------------*/
.cms-preview .calendar table tr:nth-child(1) th:first-child{
    border-radius: 4px 0 0 0  ;
}
.cms-preview .calendar table tr:nth-child(1) th:last-child{
    border-radius: 0 4px 0 0  ;
}
.cms-preview .calendar table tr:last-child td:first-child{
    border-radius: 0 0 0 4px  ;
}
.cms-preview .calendar table tr:last-child td:last-child{
    border-radius: 0 0 4px 0  ;
}
/*罫線
-----------------------------------------------------------*/
.cms-preview .calendar table tr th,.calendar table tr td{
    border-top: solid rgba(0, 0, 0, 0.2) 1px;
}
.cms-preview .calendar table tr:last-child td{
    border-bottom: solid rgba(0, 0, 0, 0.2) 1px;
}
.cms-preview .calendar table tr th,.calendar table td{
    border-left: solid rgba(0, 0, 0, 0.2) 1px;
}
.cms-preview .calendar table tr th:last-child,.calendar table td:last-child{
    border-right: solid rgba(0, 0, 0, 0.2) 1px;
}
/*テキスト
-----------------------------------------------------------*/
/* .cms-preview .calendar table td div{
    font-size: 14px;
    height: 20px;
    font-weight: bold;
}
@media print,screen and (max-width: 375px)  {
    .cms-preview .calendar table td div{
        font-size: 12px;
        height: 15px;
    }
} */
/*補足エリア
-----------------------------------------------------------*/
.cms-preview.calendar-foot{
    /* font-weight: bold; */
    display: flex;
    flex-wrap: wrap;
    margin: 1em 0 0;
}
.cms-preview.calendar-foot .item{
    display: inline-block;
    padding: 0.5em;
    border: solid rgba(0, 0, 0, 0.2) 1px;
    font-weight: bold;
    margin: 0 0.5em 0.5em 0;
    border-radius: 4px;
}
.cms-preview.calendar-foot .comment{
    width:100%;
    margin: 1em 0 2em;
}
.cms-preview.calendar-foot .comment p{
    padding: 0!important;
}

@media screen and (max-width: 678px) {
    .cms-preview.calendar-foot .item{
        font-size: 14px;
    }
}

/*タイプ別の装飾
-----------------------------------------------------------*/
/*タイプ：日付なし
---------------------------------------*/
.cms-preview .calendar table td.type-00{
    /* background-color: #efefef; */
    background-color: #fff;
}
/*タイプ：20:00まで
---------------------------------------*/
.cms-preview .calendar table td.type-01{
    background-color: #fff;
}
.cms-preview .calendar table td.type-01 div::before {
    content: none;
}
.cms-preview.calendar-foot .type-01{
    background-color: #fff;
}

/*タイプ：17:30まで
---------------------------------------*/
.cms-preview .calendar table td.type-02{
    background-color: #cccccc;
}
.cms-preview .calendar table td.type-02 div::before {
    content: none;
}
.cms-preview.calendar-foot .type-02{
    background-color: #cccccc;
}

/*タイプ：18:30まで
---------------------------------------*/
.cms-preview .calendar table td.type-03{
    background-color: #ccffff;
}
.cms-preview .calendar table td.type-03 div::before {
    content: none;
}
.cms-preview.calendar-foot .type-03{
    background-color: #ccffff;
}

/*タイプ：休診日
---------------------------------------*/
.cms-preview .calendar table td.type-04{
    background-color: #ffcccc;
}
.cms-preview .calendar table td.type-04 div::before {
    content: none;
}
.cms-preview.calendar-foot .type-04{
    background-color: #ffcccc;
}

/*タイプ：下記参照
---------------------------------------*/
.cms-preview .calendar table td.type-05{
    background-color: #ffffcc;
}
.cms-preview .calendar table td.type-05 div::before {
    content: none;
}
.cms-preview.calendar-foot .type-05{
    background-color: #ffffcc;
}