@charset "utf-8";

/*========================================================
トップページ：ニュースボックス
=========================================================*/
/*
コンテナー
---------------------------------------------------------*/
.news-box__ctr {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    border-radius: .5rem;
    overflow: hidden;
}
@media screen and (max-width: 1024px) {
    .news-box__ctr {
        margin-top: 3em;
        margin-bottom: 1em
    }
}


/*
ヘッド
---------------------------------------------------------*/
.news-box__head {
    text-align: center;
    position: relative;
    color: #fff;
    border-radius: .5rem .5rem 0 0;
    line-height: 1;
}
.news-box__head.type1 {
    background: #4cc7a6;
}

.news-box__head.type2 {
    background: #bdaa7a;
}
.news-box__title {
    display: inline-block;
    padding: .5em;
}
.news-box__btn{
    position: absolute;
    top:50%;
    right: 0%;
    transform:translate(0,-50%);
    background: #fff;
    color: #654c2e;
    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: #654c2e;
    color: #fff;
}
/*
ボディ
---------------------------------------------------------*/
.news-box__body{
    border-style: solid;
    border-width: 10px;
    border-top: none;
    border-radius: 0 0 5px 5px;
    background: #fff;
}
.news-box__body.type1{
    border-color: #4cc7a6;
}
.news-box__body.type2{
    border-color: #bdaa7a;
}
/*
インナー
---------------------------------------------------------*/
.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: .2rem;
    line-height: 1;
    width: 4.5em;
    text-align: center;
    vertical-align: middle;
    transition: .3s ease-out;
    background-color: #f6e6d3;
    color: #6e5333;
}
.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 .body{
    flex: 1;
    vertical-align: middle;
    line-height: 1.5;
    transition: .3s ease-out;
}
/*
ホバー
---------------------------------------------------------*/
.news-box__list:hover{
    background: #f1e9de;
}
.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:#68461d;
}
.news-box__list:hover.news-box__list .category {
    background: #654c2e;
    color:#fff
}

/*
ニュースボックス：レスポンシブ
--------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
    .news-box__item{
        max-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;
    }
}


/*========================================================
お知らせページ
=========================================================*/
.news-item{
    position: relative;
    padding: 20px 15px;
    border-radius: 10px;
    background: #f7f3e9;
    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-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: "・";
}