@charset "UTF-8";

/* m_img
---------------------------------------------------------*/
.contentpage .m_img_area .m_img{
    background-image: url("../images/access/m_img@2x.jpg");}
.contentpage .m_img_area .m_img::before{
    background-image: url("../images/access/m_deco@2x.png");}


/* map
---------------------------------------------------------*/
#map .map_inbox{
    position: relative;
}
#map .map_inbox .btn{
    position: absolute;
    bottom: -45px;
    right: 55px;
    width: 18%;
    max-width: 170px;
}
#map ul{
    margin-top: 1.5em;
    font-size: min(140%,2vw);
    letter-spacing: 0.1em;
    font-feature-settings: "palt";
    line-height: 1.5em;
}
#map ul li{
    position: relative;
    display: inline-block;
    padding-left: 5em;
    box-sizing: border-box;
    margin-right: 1.8em;
}
#map ul li::before{
    position: absolute;
    display: block;
    content: "";
    background: url("../images/access/abs01@2x.png")no-repeat top left;
    background-size: 100% auto;
    width:4em;
    height: 4em;
    top: 50%;
	transform: translateY(-50%);
    left: 0;
}
#map ul li:nth-child(2)::before{
    background-image: url("../images/access/abs02@2x.png");
}
#map ul li span{
    font-size:130%;
}
.access_bg{
    height: 495px;
    background: url("../images/access/img01@2x.jpg")no-repeat center center;
    background-size: cover;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) { 
#map iframe{
    height:50vw;
}
#map .map_inbox .btn{
    bottom: -5vw;
    right: 3%;
}
#map ul{
    margin-top: 1em;
}
#map ul li{
    padding-left: 4.5em;
    margin-right: 1em;
}
.access_bg{
    height: 33vw;
}
}

/* Mobile (Portrait) 
------------------------------------------*/ 
@media only screen and (max-width: 767px) { 
#map iframe{
    height: 60vw;
}
#map .map_inbox .btn{
    bottom: -8vw;
    right:-1%;
    width: 28%;
}
#map ul{
    margin-top: 0;
    font-size: 95%;
}
#map ul li{
    display: block;
    padding-left:4.2em;
    margin-right: 0;
    margin-top: 1.2em;
}
#map ul li::before{
    width: 3.5em;
    height: 3.5em;
}
.access_bg{
    height: 40vw;
    background-position: center left;
}
}





/* clinic
---------------------------------------------------------*/
#clinic .bg{
    background: url("../images/access/img03@2x.jpg")no-repeat bottom left #E7F4F3;
    background-size: 100% auto;
}
#clinic .flexbox{
    max-width: 1205px;
    margin-left: auto;
    margin-right: auto;
}
#clinic .flexbox .flex_l{
    width: 46%;
    max-width: 534px;
}
#clinic .flexbox .flex_l .name{
    font-size: min(200%,2.5vw);
    letter-spacing: 0.05em;
    line-height: 1.8em;
}
#clinic .flexbox .flex_l .name dt{
    font-size:150%;
}
#clinic .flexbox .flex_l address{
    margin: 20px 0 45px;
}
#clinic .flexbox .flex_r{
    width: 50%;
}
#clinic .medlist{
    max-width: 1052px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;	
}
#clinic .medlist dt{
    width: 7.5rem;
    font-size: min(170%,2vw);
    line-height: 1em;
    letter-spacing: 0.05em;
}
#clinic .medlist dd{
    width: calc(100% - 7.5rem);
    font-size: min(110%,1.8vw);
    line-height: 2.4em;
}
#clinic .medlist dd li{
    position: relative;
    padding-right: 1.9em;
    box-sizing: border-box;
    display: inline-block;
}
#clinic .medlist dd li::before{
    position:absolute;
    display: block;
    content: "／";
    top:0;
    right: .1em;
}
#clinic .medlist dd li:last-child::before{
    display: none;
}
#clinic .medlist dd li a{
    text-decoration: underline;
}
#clinic .com_contact_list{
    max-width: 990px;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) { 
#clinic .flexbox .flex_l address{
    margin: 3% 0 5%;
}
#clinic .medlist dt{
    width: 4.5rem;
}
#clinic .medlist dd{
    width: calc(100% - 4.5rem);
    letter-spacing: normal;
    line-height: 2em;
}
#clinic .medlist dd li{
    padding-right: 1.3em;
}
#clinic .medlist dd li::before{
    right: -0.1em;
}
}

/* Mobile (Portrait) 
------------------------------------------*/ 
@media only screen and (max-width: 767px) { 
#clinic .flexbox{
    display: block;
}
#clinic .flexbox .flex_l{
    width: 100%;
    max-width: 100%;
    margin-bottom: 8%;
    text-align: center;
}
#clinic .flexbox .flex_l .name{
    font-size: 125%;
}
#clinic .flexbox .flex_l address{
    margin: 4% 0 6%;
}
#clinic .flexbox .flex_r{
    width: 100%;
}
#clinic .medlist{
    display: block;
}
#clinic .medlist dt{
    width: 100%;
    font-size: 110%;
    margin-bottom: .5em;
    text-align: center;
}
#clinic .medlist dd{
    width: 100%;
    font-size: 90%;
    letter-spacing: normal;
    line-height: 2em;
}
#clinic .medlist dd li{
    padding-right: 1em;
}
#clinic .medlist dd li::before{
    right: -.17em;
}
#clinic .medlist dd li:last-child::before{
    display: none;
}
#clinic .medlist dd li a{
    text-decoration: underline;
}
}


/* last_slide
---------------------------------------------------------*/
.last_slide .swiper-slide{
    position: relative;
    width: 35vw;
    max-width: 420px;
}
.last_slide .swiper-slide .deco{
    position: absolute;
    width: 30%;
}
.last_slide .swiper-slide .deco.abs1{
    top:-35px;
    left: -2%;
}
.last_slide .swiper-slide .deco.abs2{
    top: 50%;
	transform: translateY(-50%);
    right: -10px;
}
.last_slide .swiper-slide .deco.abs4{
    bottom:-10px;
    left: 0;
}
.last_slide .swiper-slide .deco.abs5{
    top:-30px;
    left: 4%;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) { 
.last_slide .swiper-slide .deco.abs1{
    top:-5vw;
}
.last_slide .swiper-slide .deco.abs4{
    bottom:-2vw;
}
.last_slide .swiper-slide .deco.abs5{
    top:-5vw;;
}
}

/* Mobile (Portrait) 
------------------------------------------*/ 
@media only screen and (max-width: 767px) { 
.last_slide .swiper-slide{
    width: 45vw;
}
.last_slide .swiper-slide .deco.abs1{
    top:-4vw;
}
.last_slide .swiper-slide .deco.abs4{
    bottom:-1vw;
}
.last_slide .swiper-slide .deco.abs5{
    top:-4vw;
}
}