@charset "utf-8";

/*========================================================
トップページ：ニュースボックス
=========================================================*/
/*
コンテナー
---------------------------------------------------------*/
.news-box__item {
    max-width: 50%;
    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__head {
    text-align: center;
    position: relative;
    color: #fff;
    border-radius: .5rem .5rem 0 0;
    line-height: 1;
}
.news-box__head.type1 {
    background: #80144e;
}

.news-box__head.type2 {
    background: #af457e;
}
.news-box__title {
    display: inline-block;
    padding: .5em;
}
.news-box__btn{
    position: absolute;
    top:50%;
    right: 0%;
    transform:translate(0,-50%);
    background: #fff;
    color: #ac0759;
    border-radius: .3rem;
    padding: .4em 1em;
    line-height: 1;
    margin-right: 1rem;
    cursor:pointer;
    transition: .3s ease-out;
}
.news-box__btn:hover{
    background: #d836a6;
    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: #80144e;
}
.news-box__body.type2{
    border-color: #af457e;
}
/*
インナー
---------------------------------------------------------*/
.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: #ffdcf3;
    color: #9f0049;
}
.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: #f2f2f2;
}
.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:#e5007b;
}
.news-box__list:hover.news-box__list .category {
    background: #e84aab;
    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;
    }
}


/*PRボックス*/
.prbox {
    width:100%;
    background:#ffffff;
    padding:1em 4em 1em;
    text-align:left;
    box-sizing:border-box;
    overflow:hidden;
    border-radius: 10px;
    box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.05),0px 4px 5px -2px rgba(0, 0, 0, 0.1);
}
.prbox_flex {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
}
.pr_textbox {
    order:1;
    padding: 0;
    width: 70%;
}
.pr_imgbox {
    order:2;
    padding: 0;
    width: 25%;
}
.pr_imgbox img {
    width: 50%;
    vertical-align: bottom;
    display: block;
    margin: 0 auto 1em;
}
.prbox h3 span.ib {
    display: inline-block;
    font-weight: inherit;
}
@media screen and (max-width: 1024px) {
.prbox {
    width: 100%;
    padding:15px 15px 5px;
    margin:30px auto 0;
}
.prbox_flex {    
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}
.pr_textbox {
    padding-top:0;
    width: 100%;
}
.pr_imgbox {
    width: 100%;
    padding: 5px 0 10px 0;
}
.pr_imgbox.hihyouji {
    display: none;
}
.pr_imgbox img {
    width: 50%;
    max-width: 100px;
    margin: 0.5em auto 0.5em;
}

}


/*PRボックス 01*/
/* .prbox {
    width:100%;
    background:#ffffff;
    padding:1em 4em 1em;
    text-align:left;
    box-sizing:border-box;
    overflow:hidden;
    border-radius: 10px;
    box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.05),0px 4px 5px -2px rgba(0, 0, 0, 0.1);
} */
.prbox .head {
    padding-bottom: .7em;
    border-bottom: 1px #80144E solid;
}
.prbox_flex01 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
}
.prbox_flex01 .item1 {
    width: 70%;
}
.prbox_flex01 .item2 {
    padding: 0 0 0 3em;
    width: 30%;
}
.prbox_flex01 .item2 img {
    width: 100%;
    display: block;
    margin: 0 auto 0;
    max-width: 140px;
}
/* 動画から画像へ変更のためコメントアウト Add iwa 250321
    .prbox_flex01 .vid_contents {
    width: 100%;
    text-align: center;
    padding: 1em;
    background: #f5edf0;
    border-radius: 6px;
    }
.prbox_flex01 video {
    width: 100%;
    border: 2px solid #838383;
    border-radius: 6px;
    } */
@media screen and (max-width: 1024px) {
.prbox_flex01 {    
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}
.prbox_flex01 .item1 {
    width: 100%;
    padding: 0;
}
.prbox_flex01 .item2 {
    width: 100%;
    padding: 1em 1em 2em 1em;
    display: none;
}
/* .prbox_flex01 .item2 img{
    display: block;
    margin: 0 auto 0;
} */
}



/*========================================================
お知らせページ
=========================================================*/
.news-item{
    position: relative;
    padding: 20px 15px;
    border-radius: 10px;
    background: #faf2f5;
    box-shadow: 0rem 4px 0rem rgba(0, 0, 0, 0.14);
    z-index: 0;
    overflow: hidden;
}
.news-item__head{
    display: flex;
}
.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: .2rem;
    line-height: 1;
    width: 4.5em;
    text-align: center;
    vertical-align: middle;
    transition: .3s ease-out;
    background-color: #ffdcf3;
    color: #9f0049;
}

.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__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: "・";
}