/* Media QuelikeTblry ================================================================================*/
.sp{display: none;}
.pc{display: inline-block;}


@media only screen and (max-width: 479px){
	.pc{display: inline-block;}
	
}

@media only screen and (min-width: 480px) and (max-width: 599px) {
	.pc{display: inline-block;}
	
}

@media only screen and (max-width : 599px) {
	.sp{display: inline-block;}
	.pc{display: none;}
	
	body{min-width:inherit!important;}
	
	.toppage{
		width: 100%;
		margin: 0 auto;
		}
	
	#container{
		width: 100%;
		padding: 0;
		box-shadow: none;
		}
    
	.wrap{
		width: 96%;
		padding: 0;
		margin: 0 auto 10%;
		}
	
	.inner{
		padding: 0 0 10% 0;
		}

	
    .title01{
        font-size: 6vw;
        padding: 0 0 1% 12%;
        margin-bottom: 10%;
		background-image: url("../img/icon_house01.png"), none;
		background-position: left center;
		background-size: 9%;
        }
    
	.title02{
        font-size: 5.5vw;
        margin: 0 0 4%;
        }
    
    .title03{
        font-size: 5vw;
        margin-bottom: 4%;
        }
    
    .title04{
        font-size: 5vw;
		padding: 0 2%;
        margin: 0 0 4% 0;
        }
	
	.title05{
		font-size: 5vw;
		padding: 2% 4% 2% 3.5em;
		}
	.title05:not(:first-child){
		margin-top: 5%;
		}
	.title05::before{
		top: 0.4em;
		}
    
	
	table th,
	table td{
		font-size: 4.5vw;
		line-height: 1.5;
		}
    
    table.time th,
    table.time td{
        font-size: 4.4vw;
        padding: 2% 0;
        line-height: 1.2;
        vertical-align: middle;
        }

    table.time th:first-child{
        width: 38%;
        }
    table.time td:not(:first-child){
        font-size: 5.5vw;
        }
    p.uke{
		font-size: 4.4vw;
		}
	.other{
		flex-direction: column;
		margin-top: 0.5em;
		}
    .uke{
        padding: 0 2%;
        }
	p.uke{
		display: block;
		width: 94%;
		margin:  auto;
		}
    .sut{
		width: 100%;
        font-size: 4.4vw;
        text-align: center;
        }
    .close{
        font-size: 5vw;
        text-align: center;
		margin-top: 2%;
        }
	
	.tantou ul.note li{
		font-size: 4vw;
		padding-left: 1em;
		}

    table.tb01 th,
    table.tb01 td{
        display: block;
        width: 100%;
        padding: 2% 4%;
        }
    table.tb01 th{
        border-bottom: none;
        }
    table.tb01 td{
        padding: 2% 0 2% 8%;
        }
    table.tb02{
        margin: 4% 0;
        }
    table.tb02 th,
    table.tb02 td{
        padding: 2% 2%;
        }	
	p,
	ol li,
	ul li,
	dl dt,
	dl dd{
		font-size: 4.5vw;
		line-height: 1.6;
		}

	ul.disc li{
		font-size: 4.5vw;
		line-height: 1.4;
		}
    ul.line li{
        margin: 0 5% 2% 0;
        }
	
	ul.note > li{	
		padding: 2% 0;
		}
    
	dl.dl01{
        flex-direction: column;
        }
    dl.dl01 dt,
    dl.dl01 dd{
        width: 100%;
        }

    dl.dl01 dt{
        padding: 0;

        }
    dl.dl01 dd{
        padding: 0 0 10%;
        }
    
    dl.dl02 dt,
    dl.dl02 dd{
        font-size: 4.5vw;
        }

    dl.dl02 dt{
        padding: 4% 4% 4% 10%;
        }
    dl.dl02 dt::before{
        height: 70%;
        }
    dl.dl02 dt:not(:first-child){
        margin-top: 5%;
        }
    dl.dl02 dd{
        padding: 4% 6%;
        }
    dl.dl02 dd li,
    dl.dl02 dd p,
    dl.dl02 dd th,
    dl.dl02 dd td{
        font-size: 4vw;
        }
    
    .stickyArea{
		width: 96%;
		margin: 0 auto;
		flex-direction: column;
		}
	.stkMenu{
		position: inherit;
		z-index: auto;
		width: 100%;
		border-top: none;
		}
	
	.menuInner{
		position: inherit;
		top: auto;
		}

	.stkContent{
		width:100%;
		border-top: none;
		padding: 10% 0 0;
		}
	.stkContent .wrap{
		width: 100%;
		}
	ul#mdList {
		display: flex;
		flex-wrap: wrap;
		margin: 0;
        justify-content: space-around;
		}
	ul#mdList > li {
		width: 48%;
        margin-bottom: 4%;
		}
	ul#mdList > li > a{
		font-size: 4.4vw;
        text-align: center;
        padding: 2% 4%;
		}
    
    .pageLink{
        flex-direction: column;
        margin-top: 15%;
        }
    .pageLink li{
        width: 100%;
        margin-bottom: 0;
        }
    .pageLink li:not(:first-child){
        margin-top: 5%;
        }
    .pageLink li a{
        position: relative;
        font-size: 5vw;
        text-align: left;
        padding: 2% 10%;
        border-radius: 50px;
        }
    .pageLink li a::before{
        position: absolute;
        right: 5%;
        top: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
         -ms-transform: translateY(-50%);
        margin: 0;
        }
    
    .linkBox{
		flex-direction: column;
		width: 100%;
		}
	.linkBox a{
		width: 100%;
		font-size: 4.5vw;
		padding: 4% 8% 4% 4%;
		margin: 0;
		}
    .linkBox a::after{
        margin: 0;
        }
    
    .att{
        width: 100%;
        padding: 4% 4%;
        box-sizing: border-box;
        margin: 0 auto 10%;
        }

    ul.pageLink01 {
        margin-top: 15%;
        }
    ul.pageLink01 li{
        width: 80%;
        padding: 0 10% 2% 0%;
        
        }
    ul.pageLink01 li a{
        font-size: 5vw;
        line-height: 1.4;
        }    

    ul.pageLink02{
        flex-direction: column;
        margin-top: 15%;
        }
    ul.pageLink02 li:not(:last-child){
        margin-bottom: 5%;
        }
    ul.pageLink02 li a{
        width: 100%;
        padding: 4% 4%;
        }

    
	/* header */
	header{
		background-color: #FFF;
		}
	header .wrap{
        width: 100%;
        padding: 2% 2%;
		background: none;
		border-bottom: #FF969B 5px solid;
		background-color: #FFF;
        }
	
	header .wrap.sticky{
		position: fixed;
		top: 0;
		z-index: 1;
		}
	
    header .page{
        font-size: 3.4vw;
		line-height: 1.2;
        padding: 2% 2%;
		
        }
    header .name h1,
    header .name p{
        font-size: 8vw;
        }
    
    header .wrap > div:not(.menu-btn){
       display: none;
        }
     
	/*menu*/
	.menu-btn{
        width: 50%;
        display: flex;
		justify-content: space-between;
		align-items: center;
        }

    .menu-btn > *{
		width: 30%
        }

    .menu-btn.sticky{
        transform: translateY(0%);
        }
	
	nav{
		position: fixed;
		top: 0;
		right: 0;
		z-index: 999;
		width: 100%;
		height: 85vh;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		background: #FFF;
		margin: 0;
		overflow-y: auto;
		overflow-x: hidden;
		touch-action: pan-y;
		overscroll-behavior-x: none;
		}
	nav{
		transform: translateY(-100vh);
		transition: all .5s linear;
		}
	
	nav.is-active{
		transform: translateY(0);
		}
	
	ul.menu{
		width: 90%;
		flex-direction: column;
        margin: 0 auto;
		}
	ul.menu > li{
		width: 100%;
		border-left: none;
		padding: 4% 0;
		}
	ul.menu > li > a,
	ul.menu > li > p{
		display: block;
		font-size: 5vw;
		line-height: 1;
		text-align: left;
		background-image: none;
		padding: 0;
		}

	ul.menu > li > a:hover{
		background-image: none;
		}

	
	ul.menu > li:last-child{
		padding: 0;
		border-bottom: none;
		}
	ul.menu > li > button{
		display: block;
		width: 60%;
		color: #FFF;
		font-size: 5vw;
		background-color: #555;
		border: #555 1px solid;
		padding: 4% 0;
		margin: 5% 0 10% auto;
		}
	
	.drop-menu{
        position: inherit;
        }
    ul.submenu li a{
        font-size: 4.5vw;
        }

    .drop-menu ul.submenu {
        position: inherit;
        top: auto;
        left: auto;
		z-index: auto;
		visibility: visible;
		opacity: 1;        
		display: flex;
		flex-wrap: wrap;
        min-width: 100%;
        border: none;
        box-shadow: none;
		padding: 0 0 0 5%;
		margin: 4% 0 0 0;
        }
	.drop-menu ul.submenu li{
		width: 50%;
		border-bottom: none;
		}
	.drop-menu ul.submenu li:last-child{
		width: 100%;
		}
    .drop-menu ul.submenu li a {
        font-size: 4.5vw;
        white-space: nowrap;
        padding: 0;
        }
	
	.bk {
		position: fixed;
		z-index: 99;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: #594b3a;
		opacity: 0.6;
		transition-duration: .5s;
		}
	
	/* footer */
    footer{
		border-top: #FF969B 1px solid;
		}
    footer .wrap{
        flex-direction: column;
        padding: 10% 0;
		margin: 0 auto;
        }
    footer .left{
        width: 100%;
        }
	footer ul.kamoku li{
    	font-size: 4vw;
		line-height: 1.2;
    	}
    footer .left .name{
        font-size: 9vw;
        margin: 5% 0;
        }
    footer address{
        font-size: 4.5vw;
        margin-bottom: 5%;
        }
    footer .tel{
		font-size: 8vw;
		margin: 4% 0;
        }

	.copy{
		bottom: 6%;
		position: absolute;
		 left: 50%;
		 transform: translateX(-50%);
		 -webkit-transform: translateX(-50%);
		 -ms-transform: translateX(-50%);
		font-size: 3.5vw;
		}
    
    footer .timeArea{
        width: 100%;
        margin-bottom: 10%;
        }
   
	.pagetop{
		width: 12%;
		right: 0;
		bottom: 18%;
		z-index: 2;
		}
    
    ul.fixBtn {
		width: 98%;
		right: auto;
		left: 50%;
		transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		align-items: inherit;
		justify-content: space-around;
		}
	ul.fixBtn li{
		width: calc(96%/2);
		display: flex;
    	align-items: center;
		justify-content: center;
		}
	ul.fixBtn li:nth-child(-n+2){
		border-radius: 10px;
		margin-bottom: 2%;
		}
	ul.fixBtn li:nth-child(-n+2) a{
		font-size: 5vw;
		}
	ul.fixBtn li a{
		font-size: 4vw;
		line-height: 1.2;
		padding: 4% 0;
		}
	ul.fixBtn li a::before{
		position: inherit;
		left: auto;
		top: auto;
		transform: none;
		-webkit-transform: none;
		-ms-transform: none;
		display: inline-block;
		margin-right: 0.4em;
		}
	ul.fixBtn li.inj{
		width: calc(96%/3);
		}
	ul.fixBtn li.inj a{
		text-align: center;
		}
	ul.fixBtn li.inj a::before{
		display: none;
		}
	
	/* index.html */
	.eyecatch{
		position: inherit;
		width: 100%;
        margin: 0 auto 10%;
		}
	.eyecatch h1{
		position: inherit;
		bottom: auto;
		left: auto;
		z-index: auto;
		color: #AD5657;
		font-size: 5.5vw;
		font-weight: bold;
		text-align: center;
		text-shadow: none;
		margin: -5% 0 5%;
		}
	
	/* slick */	
	.slider{
        width: 100%;
		}
	
	dl#view {
        width: 100%;
		margin-bottom: 5%;
		}
	dl#view dt{
		font-size: 4.5vw;
		padding: 2% 4%;

		}
	dl#view dt:not(:first-child){
		margin-top: 5%;
		}

	dl#view dd{
		padding: 4% 0%;
		}
    
    .click{
        font-size: 3.8vw;
        text-align: center;
        margin-bottom: 2%;
        }
        
	.curonqr{
		width: 50%;
		margin: 0 auto;
		}
	
	.line{
		flex-direction: column;
		
		margin-top: 15%;
		padding: 5% 5%;		
		}
	.line h3{
		font-size: 6vw;
		text-align: center;
		margin-bottom: 4%;
		}
	.line h3::before{
		display: inline-block;
		content: "";
		background-size: contain;
		vertical-align: middle;
		background-repeat: no-repeat;
		background-image: url("../img/icon_line.png");
		width: 1.5em;
		height: 1.5em;
		margin: -0.2em 0.5em 0 0;
		}
	.line p{
		text-align: center;
		}
	.line img{
		width: 60%;
		margin-top: 4%;
		}
	
	
	dl.job{
		margin-top: 10%;
		}
	
	dl.job dd{
		padding: 5% 0 0 5%;
		}


	.qrArea{
		flex-direction: column;
		}
	.qrArea img{
		width: 60%;
		margin: 0 auto;
		}
	
	/* greeting */
	.doctor{
		width: 100%;
		margin-bottom: 4%;
		}
	.doctor h3{
		font-size: 5vw;
		margin: 0;
		}

	.doctor ul.slash,
	.staff .detail p{
		margin-left: 10%;
		}
	.doctor ul.slash li{
		font-size: 4vw;
		}
	.staff .detail:not(:last-child){
		padding: 5% 0;
		}

	/* department --------------------------------------------------- */
	ul.seikei{
		flex-direction: column;
	}
	ul.seikei li{
		width: 100%;
		margin-bottom: 5%;
	}

	
	
	/* clinic --------------------------------------------------- */
	.access address{
		font-size: 18px;
		color: #666;
		line-height: 1.6;
		}
	.access .tel{
		font-size: 26px;
		}

	.map{
		width: 100%;
		margin: 0 auto;
		}
	
	.sumapaQR{
		display: flex;
		align-items: center;
		margin: 0 0 20px 0;
		}
	.sumapaQR img{
		width: 65%;
		margin-right: 7%;
		}

	dl.flow dt:not(:first-child){
		margin-top: 5%;
		}
	dl.flow dd{
		margin: 0 0 0 5%;
		}

	.setting{
		margin-top: 4%;
		}
	.setting > p{
		padding: 2% 2% 2% 4%;
		}

	.setting > div{
		padding: 4% 4%;
		margin-bottom: 5%;
		}

	.settinFlow{
		flex-direction: column;
		}
	.settinFlow > div{
		width: 100%;
		display: flex;
		flex-direction: row-reverse;
		justify-content: space-between;
		align-items: center;
		padding: 4% 4%;
		margin-bottom: 4%;
		}
	.settinFlow > div:not(:nth-child(4n)){
		margin-right: 0;
		}

	.settinFlow.flow2 > div{
		width: 100%;
		}

	.settinFlow > div img{
		width: 20%;
		margin: 0 0 5%;
		}
	.settinFlow > div p{
		width: 80%;
		font-size: 4.5vw;
		text-align: left;
		}
	.settinFlow > div p span{
		display: block;
		width: 30px;
		line-height: 30px;
		color: #FFF;
		text-align: center;
		background-color: #51A657;
		border-radius: 5px;
		margin: 0 0 10px;
		}

	.phamacy{
		flex-direction: column-reverse;
		margin-top: 4%;
		}
	.phamacy img{
		width: 50%;
		margin: 0 auto;
		}
	
	.flexslider{
        margin-bottom: 15%;
        }
    .flexslider .slides{
        position: inherit;
        margin: 0 auto 5%;
        }
    .flexslider .slides li img{
        height: 14em;
        margin: 0 auto 4%;
        }
    .flexslider .slides li p{
        position: inherit;
        right: auto;
        top: auto;
        transform: none;
        -webkit-transform: none;
         -ms-transform: none;
        width: 100%;
        padding: 0;
        }

    .flex-control-thumbs li{
        width: calc( 95%/5 );
        margin: 0 0 2% 0;
        }
    .flex-control-thumbs li:not(:nth-child(5n)){
        margin-right: 1%;
        }
    
    ul.facility{
        flex-direction: column;
        margin: 10% auto 0;
        }

    ul.facility li{
        width: 100%;
        }
    ul.facility li:not(:last-child){
        margin-bottom: 5%;
        }
    .flexslider figcaption{
        font-size: 5vw;
        }
	

}

@media only screen and (max-width : 992px){
	body{min-width: 1100px;}
	
}


@media print, only screen and (min-width:1351px){
	body{min-width: 1100px;}
	
}