@media only screen and (max-width: 640px) {

body {
	font-size: 100%; /* 16px */
	color: #000000;
	background: #ffffff;
	line-height:1.75;
	word-wrap:break-word;
}

a,
span,
img{
	transition-duration:0.3s;
	-webkit-transition-duration:0.3s;
	-moz-transition-duration:0.3s;
	-o-transition-duration:0.3s;
	-ms-transition-duration:0.3s;
}

a, a:link, a:visited {
	color: #2b3c9a;
}

a:hover {
	color: #2b3c9a;
}

#top {
	position: relative;
}

#md-site {
	padding-top: 60px !important;
	padding-bottom: 73px !important;
}
body.onlypage #md-site {
	padding-bottom: 0 !important;
}

.container-inner {
	width: auto;
}
	
	.pg-canvas{
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		margin: auto;
		min-width: 100%;
		min-height: 100%;
		width: auto;
		height: auto;
		z-index: -1;
	}
	.fade-in {
		opacity : 0.0;
		-webkit-transform : translate(0, 50px);
		-moz-transform : translate(0, 50px);
		-o-transform : translate(0, 50px);
		-ms-transform : translate(0, 50px);
		transform : translate(0, 50px);
		-webkit-transition : all 500ms;
		-moz-transition : all 500ms;
		-o-transition : all 500ms;
		-ms-transition : all 500ms;
		transition : all 500ms;
	}
	.scroll-in {
		opacity : 1;
		-webkit-transform : translate(0, 0);
		-moz-transform : translate(0, 0);
		-o-transform : translate(0, 0);
		-ms-transform : translate(0, 0);
		transform : translate(0, 0);
	}



/* HEADER */


#header{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:60px;
	background-color:rgba(255,255,255,0.82);
    border-bottom: 1px solid #00428b;
	z-index:3000;
	box-shadow: 0px 4px 4px -4px #999999;
	-webkit-box-shadow: 0px 4px 4px -4px #999999;
	-moz-box-shadow: 0px 4px 4px -4px #999999;
}

#header .container-inner {
	padding:10px 110px 10px 15px;
}

#header .primary{
}
#header .h-logo {
	display:block;
	margin:0;
	line-height:0;
}
#header .h-logo a {
	display:inline-block;
	text-decoration:none;
}
#header .h-logo a:hover,
#header .h-logo a:active {
	filter:alpha(opacity=60); /* IE 6,7*/
	-ms-filter: "alpha(opacity=60)"; /* IE 8,9 */
	-moz-opacity:0.6; /* FF , Netscape */
	-khtml-opacity: 0.6; /* Safari 1.x */
	opacity:0.6;
	zoom:1; /*IE*/
}
#header .h-logo a img {
	width: auto;
	max-height: 40px;
}

#header .secondary{
	display:none;
}

.search-box #cse-search-box{
    position: relative;
}
.search-box .search-input{
    width: calc( 100% - 4px );
    width:  -webkit-calc( 100% - 4px );
    padding: 4px 30px 4px 4px;
	background-color: #eff8fe !important;
    border: 1px solid #b4c6ce;
}
.search-box .search-btn{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    margin: auto;
}


/* FOOTER */

#footer {
	color: #ffffff;
	background-color:#008cd6;
	background-position: right -30px bottom -18px;
	background-repeat: no-repeat;
	background-image: url("../images/common/f-itembg.png");
	background-size: 150px auto;
}

#footer .container-inner {
	padding: 40px 15px;
}

#footer a{
	color: #ffffff;
}

#footer .f-sign{
    margin-bottom: 30px;
}
#footer .f-sign_inner{
}
#footer .f-image{
	text-align: center;
}

#footer .f-names{
	margin-bottom: 15px;
}

#footer .f-name{
	margin-bottom: 20px;
	text-align: center;
}
#footer .f-name a{
	text-decoration:none;
}
#footer .f-name a:hover {
	filter:alpha(opacity=60); /* IE 6,7*/
	-ms-filter: "alpha(opacity=60)"; /* IE 8,9 */
	-moz-opacity:0.6; /* FF , Netscape */
	-khtml-opacity: 0.6; /* Safari 1.x */
	opacity:0.6;
	zoom:1; /*IE*/
}
#footer .f-tel{
	margin-bottom: 10px;
	text-align: center;
}
#footer .f-tel a{
	text-decoration:none;
}
#footer .f-address{
	margin-bottom: 5px;
	text-align: center;
}
	#footer .f-address .f-place{
		margin-bottom: 10px;
		font-size: 93.75%;
	}
	#footer .f-address .f-fax{
		font-size: 93.75%;
	}
	#footer .f-access .faccess-list > li{
		margin-bottom: 5px;
	}
	#footer .f-access .faccess-list > li.car,
	#footer .f-access .faccess-list > li.train{
		display: inline-block;
		vertical-align: middle;
	}
	#footer .f-access .faccess-list > li.car{
		margin-right: 10px;
	}
	#footer .f-access .faccess-list > li .item{
		display: inline-block;
		vertical-align: baseline;
		font-size: 93.75%;
	}
	#footer .f-access .faccess-list > li .cont{
		display: inline-block;
		vertical-align: baseline;
		font-size: 93.75%;
	}
	#footer .f-nav{
		display: -webkit-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-ms-flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
		align-items: stretch;
		margin-bottom: 40px;
	}
	#footer .f-nav .inner-box{
		width: 50%;
		/* 230127 */
		/* padding: 5px 14px; */
		border-left: 1px solid #ffffff;
		border-right: 1px solid #ffffff;
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-o-box-sizing: border-box;
		-ms-box-sizing: border-box;
		/* 230127 */
		padding: 5px 10px;
	}
	#footer .f-nav .inner-box:nth-child(even){
		border-left: none;
	}
	#footer .f-nav .fnav-list > li{
		margin-bottom: 20px;
	}
	#footer .f-nav .fnav-list.mb_shrink > li{
		margin-bottom: 10px;
	}
	#footer .f-nav .fnav-list > li a{
		font-size: 93.75%;
	}
	#footer .f-nav .fnav-list > li > a{
		display: block;
		padding-left: 14px;
		background-image: url("../images/common/listmark-type01_w.png");
		background-position: 0 8px;
		background-repeat: no-repeat;
		background-size: 10px auto;
	}
	#footer .f-nav .fnav-list > li > ul{
		padding-left: 14px;
	}
	#footer .f-nav .fnav-list > li > ul > li > a{
		display: block;
		padding-left: 16px;
		background-image: url("../images/common/listmark-disc_w.png");
		background-position: 8px 10px;
		background-repeat: no-repeat;
		background-size: 3px auto;
	}
	
#footer .f-address .f-map{
    display: inline-block;
    vertical-align: middle;
}
#footer .f-address .f-map a{
	display:inline-block;
	padding:2px 10px;
	text-decoration:none;
	border:1px solid #ffffff;
}
#footer .f-address .f-map a:hover{
	background-color: rgba(255,255,255,0.3);
}
#footer .f-banner a{
	display:inline-block;
	padding:0;
	line-height:0;
}
#footer .f-banner a:hover{
	filter:alpha(opacity=60); /* IE 6,7*/
	-ms-filter: "alpha(opacity=60)"; /* IE 8,9 */
	-moz-opacity:0.6; /* FF , Netscape */
	-khtml-opacity: 0.6; /* Safari 1.x */
	opacity:0.6;
	zoom:1; /*IE*/
}
#footer .copyright {
	margin: 0;
	padding:10px 0;
	font-size: 68.75%;
	text-align:center;
}






/* NAVIGATION */

#nav{
    display: none;
}

#sp-menu {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 3500;
	margin-bottom:0;
}

#sp-menu a {
}

#sp-menu .menu {
	float: right;
	width: 45px;
	height: 60px;
}

#sp-menu .tel {
	float: right;
	width: 45px;
	height: 60px;
}

#sp-menu .menu a {
	display: block;
	width: 100%;
	height: 100%;
	position:relative;
}
#sp-menu .tel a {
	display: block;
	width: 100%;
	height: 100%;
	position:relative;
}

	#sp-menu .menu a .icon{
		display: block;
		position: absolute;
		top:35%;
		left:0;
		right:0;
		margin:auto;
		width: 25px;
		height: 3px;
		background: #0091db;
		transition: .2s;
	}
	#sp-menu .menu a .icon:before,
	#sp-menu .menu a .icon:after{
		display: block;
		content: "";
		position: absolute;
		top: 35%;
		left: 0;
		right:0;
		margin:auto;
		width: 25px;
		height: 3px;
		background: #0091db;
		transition: .3s;
	}
	#sp-menu .menu a .icon:before{
		margin-top: -8px;
	}
	#sp-menu .menu a .icon:after{
		margin-top: 6px;
	}
	#sp-menu .menu a.close .icon{
		background: transparent;
	}
	#sp-menu .menu a.close .icon:before{
		margin-top: 0;
	}
	#sp-menu .menu a.close .icon:after{
		margin-top: 0;
	}
	#sp-menu .menu a.close .icon:before{
		transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
	}
	#sp-menu .menu a.close .icon:after{
		transform: rotate(-135deg);
		-webkit-transform: rotate(-135deg);
	}

	#sp-menu .menu a .text{
		display: block;
		position: absolute;
		bottom:10%;
		left:0;
		right:0;
		margin:auto;
		color:#0091db;
		font-size:0.64em;
		font-weight:bold;
		text-align:center;
	}
    
	#sp-menu .tel a .icon{
		display: block;
        width: 100%;
        height: 22px;
		position: absolute;
		top:20%;
		left:0;
		right:0;
		margin:auto;
        text-align: center;
        background-image: url(../images/common/tel_sp.png);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: auto 22px;
    }

	#sp-menu .tel a .text{
		display: block;
		position: absolute;
		bottom:10%;
		left:0;
		right:0;
		margin:auto;
		color:#0091db;
		font-size:0.64em;
		font-weight:bold;
		text-align:center;
	}



#md-nav {
	position:fixed;
	top:60px;
	right:0;
	bottom:0;
	left:0;
	overflow:auto;
	margin:auto;
	z-index:2000;
	display:none;
	background-color:rgba(255,255,255,0.8);
}

#md-nav .mdnav-wrapper {
	margin: 30px 30px 90px;
}

#md-nav .mdnav-wrapper .search-box {
	margin-bottom: 20px;
}

#sp-nav {
}
#sp-nav li {
	display: block;
	width: 100%;
	font-weight: bold;
	line-height: 1.4;
	border-bottom: 1px solid #008cd6;
	color: #1eb5e1;
}
#sp-nav li.separater {
	border-bottom: 3px solid #008cd6;
}
#sp-nav li a,
#sp-nav li span.parent {
	display: block;
	padding: 12px 12px 12px 34px;
	font-size: 14px;
	text-decoration: none;
	color: #2b3c9a;
	background-image:url("../images/common/mdnav-listmark.png");
	background-repeat:no-repeat;
	background-position: 4px 8px;
	background-size:22px auto;
	cursor: pointer;
}
#sp-nav li li a,
#sp-nav li li span.parent {
	padding: 8px 8px 8px 28px;
	background-size:16px auto;
}
#sp-nav li.on > a,
#sp-nav li.on > span.parent,
#sp-nav li > span.parent.on,
#sp-nav li > a:hover {
	background-color: rgba(255,255,255,0.5);
	background-image:url("../images/common/mdnav-listmark_on.png");
}
#sp-nav li ul {
	display: none;
	border-top: 1px solid #008cd6;
	padding-top: 1px;
	margin: 0 0 10px 30px;
}
#sp-nav li li {
	border-bottom: 1px dotted #008cd6;
}
#sp-nav li li:last-child {
	border-bottom: none;
}
#sp-nav li span.parent {
    padding-right: 20px;
    position: relative;
	cursor: pointer;
}
#sp-nav li span.parent:before,
#sp-nav li span.parent:after{
    content: "";
    display: block;
    width: 15px;
    height: 2px;
    position: absolute;
    top: 0;
    right:10px;
    bottom: 0;
    margin:auto;
    
	transition-duration:0.3s;
	-webkit-transition-duration:0.3s;
	-moz-transition-duration:0.3s;
	-o-transition-duration:0.3s;
	-ms-transition-duration:0.3s;
}
#sp-nav > li > span.parent:before,
#sp-nav > li > span.parent:after{
    width: 20px;
    background-color: #008cd6;
}
#sp-nav li span.parent:after{
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
}
#sp-nav li span.parent.on:after{
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
}
#sp-nav li span.parent.on:before{
    background-color: transparent;
}
#sp-nav li span.cnst,
#sp-nav li li span.cnst {
	filter:alpha(opacity=50);
	-moz-opacity: 0.5;
	opacity: 0.5;
}










/* TITLE */

#title {
	margin: 0;
    width: auto;
	height: 120px;
	background-image: url(../images/common/title-bg.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

#title .container-inner {
	padding:0;
    width: 100%;
    padding: 0 10px;
	height: 120px;
    display: table;
}

#title .title-box {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}
#title .inner {
	display:inline-block;
}

#title .level01 {
	margin-bottom:5px;
	color:#00428b;
	font-size: 87.5%;
    font-family: "Shin Maru Go Regular", "新丸ゴ R", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-weight:bold;
    letter-spacing: 2.6pt;
	line-height:1.4;
	text-shadow: 0px 0px 10px #ffffff, 0px 0px 10px #ffffff, 0px 0px 10px #ffffff, 0px 0px 10px #ffffff;
}

#title .title {
	margin-bottom:0;
	color:#00428b;
	font-size: 150%;
    font-family: "Shin Maru Go Regular", "新丸ゴ R", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-weight:bold;
    letter-spacing: 2.6pt;
	line-height:1.4;
	text-shadow: 0px 0px 10px #ffffff, 0px 0px 10px #ffffff, 0px 0px 10px #ffffff, 0px 0px 10px #ffffff;
}
	
	/* UNAV */
	#unav{
		position: fixed;
		left: 0;
		bottom: 0;
		right: 0;
		height: 73px;
    
		box-shadow: 0px -4px 4px -4px rgba(0,0,0,0.2);
		-webkit-box-shadow: 0px -4px 4px -4px rgba(0,0,0,0.2);
		-moz-box-shadow: 0px -4px 4px -4px rgba(0,0,0,0.2);
		
		z-index: 7000;
	}
	#unav .container-inner{
		padding: 0;
	}
	.unav-list{
		display: -webkit-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-ms-flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
		align-items: stretch;
		text-align: center;
	}
	.unav-list > li{
		display: -webkit-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		-webkit-align-items: center;
		align-items: center;
		justify-content: center;
		width: 25%;
	}
	.unav-list > li a{
		display: block;
		width: 100%;
		height: 73px;
		padding-top: 3px;
		color: #000000;
		font-size: 81.25%;
    	font-family: "UD Shin Go Regular", "UD新ゴ R", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
		line-height: 1.1;
		text-decoration: none;
		background-color: rgba(255,255,255,0.9);
		position: relative;
	}
	.unav-list > li a:before{
		content: "";
		display: block;
		padding: 5px;
		vertical-align: middle;
		width: 36px;
		height: 36px;
		margin: 0 auto 2px;
		background-position: center center;
		background-repeat: no-repeat;
		background-size: 36px auto;
	}
	.unav-list > li.outpatient a:before{
		background-image: url("../images/common/unav-outpatient.png");
	}
	.unav-list > li.hospitalization a:before{
		background-image: url("../images/common/unav-hospitalization.png");
	}
	.unav-list > li.examination a:before{
		background-image: url("../images/common/unav-examination.png");
	}
	.unav-list > li.recruit a:before{
		background-image: url("../images/common/unav-recruit.png");
	}
	.unav-list > li a:after{
		content: "";
		display: block;
		width: 0;
		height: 3px;
		position: absolute;
		top: 0;
		left: 0;
		background-color: #0091db;
		transition-duration:0.3s;
		-webkit-transition-duration:0.3s;
		-moz-transition-duration:0.3s;
		-o-transition-duration:0.3s;
		-ms-transition-duration:0.3s;
	}
	.unav-list > li a:hover:after,
	.unav-list > li.on a:after{
		width: 100%;
	}
	.unav-list > li.outpatient a:after{
		background-color: #0091db;
	}
	.unav-list > li.hospitalization a:after{
		background-color: #d7a200;
	}
	.unav-list > li.examination a:after{
		background-color: #8fb64a;
	}
	.unav-list > li.recruit a:after{
		background-color: #ed777f;
	}


/* CONTENT */

#content {
	/*
	margin-bottom:10px;
	*/
}

#content .container-inner {
	padding: 10px;
}

	#breadcrumb{
		margin-bottom: 20px;
	}
#breadcrumb li{
	display:inline-block;
	vertical-align:middle;
	font-size:85.7142%;
}
#breadcrumb li a{
	color:#000000;
}
#breadcrumb li.on{
	color:#000000;
}

#c-wrapper {
}

#main {
	margin-bottom:50px;
}

#side {
	padding:10px;
}

#content #side #snav {
	padding:0 10px;
}

.section {
	margin-bottom: 60px;
}

.section-s {
	margin-bottom: 40px;
}

.section-ss {
	margin-bottom: 20px;
}

.section-sss {
	margin-bottom: 15px;
}

.section-ssss {
	margin-bottom: 10px;
}

.pagetop {
	position:fixed;
	bottom:83px;
	right:10px;
	text-align: right;
	margin: 0;
	z-index:1000;
}
.pagetop a {
	display:block;
	width: 35px;
	height: 35px;
	line-height:0;
	text-decoration:none;
	background-color: #008cd6;
	border:1px solid #ffffff;
	position: relative;
}

.pagetop a:hover {
	text-decoration:none;
	filter:alpha(opacity=60); /* IE 6,7*/
	-ms-filter: "alpha(opacity=60)"; /* IE 8,9 */
	-moz-opacity:0.6; /* FF , Netscape */
	-khtml-opacity: 0.6; /* Safari 1.x */
	opacity:0.6;
	zoom:1; /*IE*/
}
.pagetop a img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}
body.onlypage .pagetop {
    bottom: 10px;
}

.inlink{
	margin-top:-65px;
	padding-top:65px;
}


	/* SUBNAV */
	.subnav-list{
		letter-spacing: -.4em;
		text-align: center;
	}
	.subnav-list > li{
		display: inline-block;
		vertical-align: middle;
		width: 47%;
		margin: 0 3% 10px 0;
		letter-spacing: normal;
	}
	.subnav-list > li:nth-child(even){
		margin-right: 0;
	}
	.subnav-list > li a{
		display: block;
		padding: 8px 10px;
		color: #ffffff;
		font-size: 81.25%;
		font-weight: bold;
		text-decoration: none !important;
		background-color: #0091db;
		border: 1px solid #0091db;
		border-radius: 20px;
	}
	.subnav-list > li a:hover,
	.subnav-list > li.on a{
		color: #0091db;
		background-color: #ffffff;
	}





}
