@charset "utf-8";
/*========================================================

セクション

=========================================================*/
.sec__ctr {
    padding-top: 60px;
    padding-bottom: 60px;
}
.sec__lead{
    margin-top: 20px;
    display:flex;
    justify-content: center;
}
.sec__lead p{
    line-height: 1.7;
    text-align: justify;
}
.sec__body {
    padding-top: 35px;
}
.sec__foot {
    margin-top: 40px;
}
@media print,screen and (max-width: 1024px)  {
    .sec__ctr {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .sec__lead{
        margin-top: 20px;
    }
    .sec__body {
        padding-top: 25px;
    }
    .sec__foot {
        margin-top: 30px;
    }
}

/*=======================================================

ファーストボックス

========================================================*/

.sec__ctr-first {
    position: relative;
    margin: -30px 0 -30px;
    background: rgb(255, 255, 255);
    border-radius: 10px;
    /*---------*/
    z-index: 20;
    /*---------*/
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    padding: 0 40px;
}

.top-page-jikan {
    display: flex;
}

.top-page-jikan .flex-item.type1 {
    width: 55%;
}
.top-page-jikan .flex-item.type2 {
    width: 45%;
}

@media print,screen and (max-width: 1024px)  {
    .top-page-jikan  {
        flex-direction: column;
    }
    .top-page-jikan .flex-item.type1,
    .top-page-jikan .flex-item.type2{
        width: 100%;
    }
}


.jikan-text{
    padding: 0 0 0 20px;
}
.jikan-text ul li{
    line-height: 1.7;
    padding: 0 0 .5em 0em;
    position: relative;
}
.jikan-text ul li:last-child{
    padding-bottom: 0;
    margin-bottom: 0;
    border-style: none;
}


@media print,screen and (max-width: 1024px)  {
    .sec__ctr-first {
        padding: 0 15px;
    }
    .jikan_item1 {
        width: 100%;
        margin-right: 0px;
    }
    .jikan_item2 {
        padding: 0em 0 0;
        width: 100%;
        max-width: 600px;
    }
    .jikan-text{
        padding: 0 0px;
    }
}




/*=======================================================

 サービス内容

========================================================*/

/*
パネル
---------------------------------------------------------*/
.service__ctr {
    display: flex;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}
/*
パネルアイテム：画像
---------------------------------------------------------*/
.service__item1 {
    width: 50%;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    background-size:cover;
    background-position: center;
}
.service__item1.type1 {
    background-image: url(/asset/images/medical_img1.jpg);
}
.service__item1.type2 {
    background-image: url(/asset/images/medical_img2.jpg);
}
.service__item1.type3 {
    background-image: url(/asset/images/medical_img3.jpg);
}
.service__item1.type4 {
    background-image: url(/asset/images/medical_img4.jpg);
}
.service__item1.type5 {
    background-image: url(/asset/images/medical_img5.jpg);
}

.service__item1::before,.service__item1::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 10px;
    border-width: .3rem;
    border-color: rgba(255, 255, 255, 0.4);
}
.service__item1::before{
    border-left-style: solid;
    border-top-style: solid;
    top: 0;
    left: 0;
}
.service__item1::after{
    border-right-style: solid;
    border-bottom-style: solid;
    bottom: 0;
    right: 0;
}

/*
パネルアイテム：テキストボックス
---------------------------------------------------------*/
.service__item2 {
    width: 50%;
    color: #fff;
    background-color: #4e0027;
    background-image: linear-gradient(-20deg, rgba(255, 255, 255, 0) 20%, #b73b79);
    padding: 2em 2em 2.5em;
}
.service__item2.type1{
    order: -1;
}

@media print,screen and (max-width: 1024px)  {
    .service__ctr {
        flex-direction: column;
        margin: 0 auto 2em;
    }
    .service__item1 {
        width: 100%;
        height: 350px;
    }
    .service__item2 {
        width: 100%;
    }
    .service__item2.type1{
        order: 0;
    }
}
@media print,screen and (max-width: 678px)  {
    .service__item1 {
        width: 100%;
        height: 300px;
    }
    .service__item2 {
        padding: 2em 1em 2.3em;
        background-color: #760b40;
        background-image: none;
    }
}
@media print,screen and (max-width: 375px)  {
    .service__item1 {
        width: 100%;
        order: 0;
        height: 250px;
    }
}


/*---------------------------------------------------------

事業所の紹介

---------------------------------------------------------*/
.about__item {
    display: block;
    border-radius: .5rem;
    overflow: hidden;
    width: 100%;
    background: #fff;
    margin: 0 20px 0 0;
    cursor: pointer;
    transition: .3s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.about__item:last-child {
    margin: 0;
}

/*
画像部分
---------------------------------------------------------*/
.about__item .head {
    height: 250px;
    overflow: hidden;
    background-color: #000;
    position: relative;
}
.about__item .img {
    height: 100%;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: .5s ease-out;
}
.about__item .img.type1{
    background-image: url(/asset/images/about2.jpg);
    background-size:cover;
    background-position: center;
}
.about__item .img.type2{
    background-image: url(/asset/images/about3.jpg);
    background-size:cover;
    background-position: center;
}
.about__item .img.type3{
    background-image: url(/asset/images/about1.jpg);
    background-size:cover;
    background-position: center;
}
.about__item:hover.about__item .img{
    transform: scale(1.1);
    opacity: .8;
}
.about__item:hover{
    background: rgb(226, 226, 226);
}
/*
タイトル部分
---------------------------------------------------------*/
.about__item .body {
    padding: .7em;
    transition: .5s ease-out;
}
.about__item .body .title {
    font-weight: bold;
    color: #811855;
    line-height: 1.3;
}

/*
レスポンシブ
---------------------------------------------------------*/
@media print,screen and (max-width: 1024px)  {
    .about__item {
        margin: 0 0 4rem;        
    }
    .about__item:last-child {
        margin: 0;  
    }
}
@media print,screen and (max-width: 678px)  {
    .about__item .head  {
        height: 275px;
    }
}

@media print,screen and (max-width: 375px)  {
    .about__item .head  {
        height: 250px;
    }
}

/*========================================================

ご挨拶

=========================================================*/

.message_head {
    width: 32rem;
    height: 32rem;
    background-color: rgba(255, 255, 255, 0.5);
    background-size:32rem auto;
    margin: 0rem auto ;
    background-position: 40px 40px;
    border: solid .2rem #dbbdc3;
    border-radius: 50%;

    background-image: url(/asset/images/intyou.png);
    background-repeat: no-repeat;
    background-size:105%;
    background-position: top center;
    overflow: hidden;
    position: relative;
}
.message_head_text {
    position: absolute;
    bottom:15px;
    left: 50%;
    transform: translate(-50%,0);
    color: #55112e;
    margin-bottom: 2rem;
    background-color: rgba(225, 225, 225, 0);
    padding: 0 .3em;
    margin-bottom: 0;
}

.message_body {
    flex: 1;
    max-width: 60%;
    padding: 0em 0 0;
}

.message_body p{
    color: #000;
}

.message_body_ttl {
    line-height: 1.3;
    margin-bottom: .5em;
    color: #892860;
}

@media print,screen and (max-width: 1024px)  {
    .message_body {
        max-width: 100%;
        padding: 2em 0 0;
    }
    .message_body_ttl {
        line-height: 1.3;
        margin-bottom: 1em;
    }
}

@media print,screen and (max-width: 375px)  {
    .message_head {
        width: 27rem;
        height: 27rem;
    }
}

/*---------------------------------------------------------
メイディア
---------------------------------------------------------*/
.pickup__ctr {
    display: flex;
    justify-content:center;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    padding:4rem 3rem;
}
.pickup__item {
    width: 50%;
}
.pickup__item.type1{
}
.pickup__item.type2{
    margin-left: 2rem;
}
@media print,screen and (max-width: 1024px)  {
    .pickup__ctr {
        display: flex;
        flex-flow: column;
        padding:4rem 3rem;
    }
    .pickup__item {
        width: 100%;
    }
    .pickup__item.type2{
        margin-left: 0rem;
    }
    .pickup__item.type1 ul.list03 li{
        line-height: 1.5;
        padding: 0 0 .5em 1.5em;
        margin-bottom: .5em;
        position: relative;
        border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
    }
}


/*---------------------------------------------------------
診療時間
---------------------------------------------------------*/
.jikan_item1 {
    width: 50%;
    margin-right: 30px;
}
.jikan_item2 {
    width: 50%;
}

@media print,screen and (max-width: 1024px)  {
    .first-sec-box {
        padding: 0 15px;
    }
    .jikan_item1 {
        width: 100%;
        margin-right: 0px;
    }
    .jikan_item2 {
        padding: 0em 0 0;
        width: 100%;
        max-width: 600px;
    }
}

/*---------------------------------------------------------
ダミー
---------------------------------------------------------*/
.dummy1 {
    width: 100%;
    margin-right: 0rem;
    height: auto;
    cursor: pointer;
    flex: 1;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}
.dummy1_overlay{
    background: #000;
    z-index: 2;
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all .5s ease-out;
    opacity: 0.6;
}

.dummy1 p {
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;;
    transform: translate(-50%,-50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}
.dummy1 img {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
}

@media print,screen and (max-width: 1024px)  {
    .dummy1 {
        width: 100%;
        margin-right: 0rem;
    }
}
