@charset "utf-8";

/*========================================================
トップページ：ニュースボックス
=========================================================*/

/*
.news-flex-ctr {
    display: flex;
    align-items: flex-start;
}

@media print,screen and (max-width: 1024px)  {
    .news-flex-ctr {
        flex-direction: column;
    }
}
*/
/*
コンテナー
---------------------------------------------------------*/
.news-box__item {
    max-width: 100%;
    margin: 0rem 2rem 0 0;
    flex: 1;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    border-radius: .5rem;
    overflow: hidden;
}
.news-box__item:last-child {
    margin-right:0;
}
.news-box__item.type1{
    background-color: #fff;
    padding: 20px 10px 5px;
    border-radius: .5rem;
}

/*
ヘッド
---------------------------------------------------------*/
.news-box__head {
    text-align: center;
    position: relative;
    color: #fff;
    border-radius: .5rem .5rem 0 0;
    line-height: 1;
}
.news-box__title {
    display: inline-block;
    padding: .5em;
}
.news-box__btn{
    position: absolute;
    top:50%;
    right: 0%;
    transform:translate(0,-50%);
    background: #169316;
    color: #ffffff;
    border-radius: .3rem;
    padding: .4em 1em;
    line-height: 1;
    margin-right: 1rem;
    cursor:pointer;
    transition: .3s ease-out;
    font-weight: bold;
}
.news-box__btn:hover{
    background: #26c426;
    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;
}

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

/*
リスト：ヘッド
---------------------------------------------------------*/
.news-box__list .head {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin-bottom: .35em;
}
.news-box__list .time{
    color: #838383;
    padding-top: .1rem;
    padding-right: .5em;
    line-height: 1;
    transition: .3s ease-out;
}
.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: #dce4ff;
    color: #25218d;
}
.news-box__list .category.annai::before {
    letter-spacing: .3em;
    padding-left: .3em;
    content: "ご案内";
}
.news-box__list .category.jikan::before {
    letter-spacing: -0.05em;
    padding-left: -0.05em;
    content: "診療日時";
}
.news-box__list .category.tantou::before {
    letter-spacing: .3em;
    padding-left: .3em;
    content: "担当医";
}

/*
リスト：ボディ
---------------------------------------------------------*/
.news-box__list .body{
    flex: 1;
    vertical-align: middle;
    line-height: 1.5;
    transition: .3s ease-out;
}
/*
ホバー
---------------------------------------------------------*/
.news-box__list:hover{
    background: #e5e5e5;
}
.news-box__list:hover.news-box__list .body,
.news-box__list:hover.news-box__list .category,
.news-box__list:hover.news-box__list .time {
    color:#000000;
}
.news-box__list:hover.news-box__list .category {
    background: #2a37d4;
    color:#fff
}

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

@media screen and (max-width: 678px) {
    .news-box__list {
        padding: 1em 0.5em 1em;
    }
    .news-box__body{
        border-width: 7px;
    }
}
/*========================================================
カレンダー
=========================================================*/
.calendar-box {
    background-color: #fff;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 1.8em 10px 7px ;
    margin: 0 0 2em ;

}
.calendar.head{
    text-align: center;
    margin-bottom: 1em;
    color: #4654be;
}

.calendar.lead p{
    line-height: 1.8;
    margin-bottom: 1em;
    color: #272727;
    font-size: 15px 
}
.calendar.lead p a{
    color: #ea6817;
    font-weight: bold;
    text-decoration: underline;
    transition: 0.3s ease-out;
}
.calendar.lead p a:hover{
opacity: 0.6
}

.calendar.body{
    background-color: #fff;
}

/*========================================================
臨時ニュース
=========================================================*/







/*========================================================
お知らせページ
=========================================================*/
.news-item{
    position: relative;
    padding: 20px 15px;
    border-radius: 10px;
    background: #fff9ea;
    box-shadow: 0rem 4px 0rem rgba(0, 0, 0, 0.14);
    z-index: 0;
    overflow: hidden;
}
.news-item__ttl{
    padding: .4em 0 .8em;
    margin-bottom: .6em;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

.news-item__text p{
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 1em;
}
.news-item__text p:last-child{
    margin-bottom: 0;
}
.news-item__head {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin-bottom: .0em;
}
.news-item__head .time{
    color: #838383;
    padding-top: .1rem;
    padding-right: .5em;
    line-height: 1;
    transition: .3s ease-out;
}
.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;
}
.news-item__head .category.annai::before{
    letter-spacing: .3em;
    padding-left: .3em;
    content: "ご案内";
}
.news-item__head .category.jikan::before {
    letter-spacing: -0.05em;
    padding-left: -0.05em;
    content: "診療日時";
}
.news-item__head .category.tantou::before {
    letter-spacing: .3em;
    padding-left: .3em;
    content: "担当医";
}




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

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

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

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