/* ///////////////////////////////////////////////////////////////////
メディカルコンテンツ
/////////////////////////////////////////////////////////////////// */

.medical-summary{
    background: #f8f4e6;
    margin: 50px 0;
    padding: 15px 0
}

.medical-summary ul{
    width: 94%;
    max-width: 1360px;
    text-align: center;
    margin: 0 auto
}

.medical-summary li{
    width: 21%;
    margin: 1%;
    text-align: left;
    font-size: 20px;
    letter-spacing: 3px;
    padding: 10px;
    background: #fff
}

.medical-summary li img{
    width: 15%;
    vertical-align: middle;
    margin-right: 20px
}

.medical-summary .green{
    border:solid 1px #74ba87ff
}

.medical-summary .blue{
    border:solid 1px #89b1f1ff
}

.medical-summary .brown{
    border:solid 1px #d8a373fe
}

.medical-summary .green:hover{
    background: #74ba8732;
    transition-duration: 0.5s;
}

.medical-summary .blue:hover{
    background: #89b1f132;
    transition-duration: 0.5s;
}

.medical-summary .brown:hover{
    background: #d8a37332;
    transition-duration: 0.5s;
}

.medical-summary .flow{
    background:#c5ac2bff;
    color: #fff
}

.medical-summary .flow:hover{
    transition-duration: 0.3s;
    transform: translateY(-3px);
    opacity: .6
}

.medical-summary .price{
    background:#dd4145ff;
    color: #fff
}

.medical-summary .price:hover{
    transition-duration: 0.3s;
    transform: translateY(-3px);
    opacity: .6
}

/* ///////////////////////////////////////////////////////////////////
メディカル　-　トップ
/////////////////////////////////////////////////////////////////// */

#m-top{
    width: 100%;
    text-align: center;
    max-width: 1280px;
    margin: 0 auto 4%;
    padding: 0 0 3%;
    background-image: url(../../images/f-medical.webp);
    background-repeat: no-repeat;
    background-position: left bottom;
}

#m-top .wrap{
    background-image: url(../../images/yellow-+.webp);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 60px;
}

#m-top span{
    display: inline-block;
    width: auto;
    font-size: 1.8rem;
    font-weight: bold;
    font-family: "游ゴシック";
    margin: 0 0 1%;
    text-align: left;
    position: relative;
}
#m-top span::before{
    content: "";
    display: inline-block;
    width: 70px;
    height: 50px;
    background-image: url(../../images/yellow-+.webp);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
    vertical-align: top;
    position: absolute;
    left: -60px;
}
#m-top p{
    width: 60%;
    margin: 0 5% 0 auto;
    line-height: 2;
    font-size:1.4rem;
    text-align: left;
}


/* ///////////////////////////////////////////////////////////////////
メディカル　-　トップ - 見出し
/////////////////////////////////////////////////////////////////// */

#med-top{
    text-align: center;
    margin: 2% 0 0;
}
#med-top .med-top{
    display: inline-block;
    position: relative;
}
.med-top .img{
    position: absolute;
    left: 0;
    bottom: 0;
}
.med-top .img img{
    width: 96px;
}
.med-top .wrap{
    display: inline-block;
    width: 100%;
    text-align: left;
    margin: 0 0 0 100px;
    vertical-align: middle;
}
.med-top .wrap p{
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    font-family: "游明朝";
}
.med-top .wrap h1{
    margin: 2px 0 0;
    font-size: 3vw;
    font-family: "游ゴシック";
}
.med-top .wrap h1 font{
    font-size: 2vw;
}
.med-top .wrap p.green{
    color: #74ba87ff
}

.med-top .wrap p.blue{
    color: #89b1f1ff
}

.med-top .wrap p.brown{
    color: #d8a373fe
}

#medical-content h2{
    position: relative;
    text-align: center;
    color: #fff;
    font-family: "游ゴシック";
    width: 93%;
    max-width: 1360px;
    margin: 2% auto 40px;
    padding: 20px 3%;
    font-weight: bold;
    letter-spacing: .25em;
    line-height: 1.4em;
    font-size: 2vw;
}
#medical-content h2::before {
    position: absolute;
    content: '';
    top: 100%;
    right: 0;
    border: none;
    border-bottom: solid 20px transparent;
    border-left: solid 25px #56534c;
}