/*トランジッション------------*/
.trang::before,
.trang::after {
    position: absolute;
    z-index: -1;
    display: block;
    content: '';
}

.trang,
.trang::before,
.trang::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .5s;
    transition: all .5s;
}

/*-----ボタングレー-----*/
.btn-gray {
    display: block;
    width: 280px;
    background: #a7a7a7;
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding: 15px 10px;
    margin: 0 auto
}

.btn-gray:hover {
    background: #c9c8c8
}




/*-----ボタンアイコン-----*/
.btn-icon {
    display: block;
    width: 100%;
    background: #fff;
    text-align: center;
    padding: 10px;
}

.btn-icon:hover {
    background: #dedede;
}


/*-----ボタンブルー-----*/
.btn-blue {
    display: block;
    width: 350px;
    background: #00a1e9;
    color: #fff;
    font-weight: 300;
    text-align: center;
    padding: 20px 10px;
    margin: 0 auto
}

.btn-blue:hover {
    background: #46ade3
}

/*-----サイドメニューボタン-----*/
.btn-book,
.btn-covid,
.btn-monshin,
.btn-murano,
.btn-emergency {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
}

.btn-book img,
.btn-covid img,
.btn-monshin img,
.btn-murano img {
    max-width: 300px;
    margin: 0 auto
}

/*-----ボタン診療日・予約（TOPページ）-----*/

body.hours div.top-book {
    display: none;
}

div.top-book {
    position: fixed;
    bottom: 30px;
    right: 0;
    display: block;
    z-index: 100;
    opacity: 1;
    transform: translateX(100px);
    animation: slideIn 1s ease-out forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.btn-hours {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ff4500;
    border-radius: 50px 0 0 50px;
    padding: 15px 40px 10px 40px;
    transition: all 0.5s;
}

.btn-hours:hover {
    background: #ff7f50;
}

.btn-hours div {
    display: block;
}


.btn-hours img.hours {
    width: 45px;
    margin: 0 auto 3px;
}


.btn-hours p {
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
}


/*-----ボタン予約-----*/
.btn-book {
    background: #00a1e9;
}

.btn-book:hover {
    background: #40bbf2;
}

/*-----ボタンコロナ-----*/
.btn-covid {
    background: #8ec31f;
}

.btn-covid:hover {
    background: #40bbf2;
}

/*-----ボタン問診票-----*/
.btn-monshin {
    background: #d9d9d9;
}

.btn-monshin:hover {
    background: #ededed;
}

/*-----ボタン医院-----*/
.btn-murano {
    background: #ead0db;
}

.btn-murano:hover {
    background: rgba(234, 208, 219, 0.5);
}

/*-----ボタン夜間-----*/
.btn-emergency {
    background: #827abf;
}

.btn-emergency:hover {
    background: #40bbf2;
}

/*-----ボタン写真-----*/
.btn-photo {
    float: right;
    width: 140px
}

/*-----デジスマ診療券について-----*/
.a-digi {
    display: block;
    color: #000;
    margin: 20px auto 0;
    width: 300px;
    text-align: center;
    transition: 0.3s
}

.a-digi:hover {
    color: #f25820;
}

.a-digi::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url('../img/icon_help.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: -3px;
    margin-right: 4px;
    vertical-align: middle;
}

/*-----テキストリンク-----*/
.a-style1 {
    color: #f25820;
    border-bottom: 1px dotted #f25820;
}

.a-style1:hover {
    color: #ffba00;
    border-bottom: 1px dotted #ffba00;
}

.a-style2 {
    color: #2e4aa7;
    border-bottom: 1px dotted #2e4aa7;
}

.a-style2:hover {
    color: #00a1e9;
    border-bottom: 1px dotted #00a1e9;
}
