


/*─目次───


　　リセットCSS

　　共通

　　nav

　　container

　　header

　　section

　　content

　　more

　　各ページ

　　contact_box

　　footer

　　uptop


*/








/*-----リセットCSS-----*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video,
input, textarea, input[type=checkbox], select {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.3;
}
ol, ul, li {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

input[type=submit],
input[type=reset],
input[type=button] {
	border-radius:0;
	-webkit-box-sizing: content-box;
	-webkit-appearance: button;
	appearance: button;
	border: none;
	box-sizing: border-box;
	cursor: pointer;
}

input[type=text],
input[type=checkbox],
input[type=file],
input[type=password],
textarea,
select {
	margin:1px 5px 5px;
	padding:2px;
	border-radius:0;
	border:1px solid #aaaaaa;
	vertical-align:middle;
}

@media screen and (max-device-width:749px){ /*スマホ*/
input[type=text],
input[type=checkbox],
textarea,
select {
	font-size:1.6rem;
	line-height:2rem;
}
}

@media screen and (min-device-width:750px){ /*PC*/
input[type=text],
input[type=checkbox],
textarea,
select {
	font-size:1.2rem;
	line-height:1.8rem;
}
}


	
input[type=checkbox],
input[type=radio] {
	margin-right:5px;
	vertical-align:middle;
}










/*-----共通-----*/





@font-face {
	font-family: 'rmp-1p-r';
	src:url('..font/rounded-mplus-1p-regular.woff') format('woff'),
		url('../font/rounded-mplus-1p-regular.ttf') format('truetype'),
		url('../font/rounded-mplus-1p-regular.eot') format('opentype')
}
@font-face {
	font-family: 'century-g';
	src:url('..font/gothic_0.woff') format('woff'),
		url('../font/gothic_0.ttf') format('truetype'),
		url('../font/gothic_0.eot') format('opentype')
}
	

* {
	outline:none;
	color:#504c48;
	font-size: inherit;
	line-height: inherit;
}







html {overflow-y:scroll;}

@media screen and (max-device-width:749px){ /*スマホ*/
html {
	font-size:62.5%;
}
}
@media screen and (min-device-width:750px){ /*PC*/
html {
	font-size:80%;
}
}




body {
	background:url(../images/body_bg.gif) top center no-repeat fixed;
	font-size:1.2rem;
	font-family: rmp-1p-r , century-g;
	-webkit-text-size-adjust: 100%;
	line-height:1;
	transition-duration: 2s;
	transition-property: opacity;
	word-wrap:break-word;
}









* a:link,
* a:visited,
* a:active {
	color:#dc8500;
	outline:none;
}

* .nav a:link,
* .nav a:visited,
* .nav a:active {
	color:#504c48;
	text-decoration:none;
}


@media screen and (min-device-width:750px){ /*PC*/
* a:hover {
	opacity:0.8;
}
}

header a,
footer a {
	text-decoration:none;
}












h2,
h3,
p,
span,
li,
dt,
dd {
	transform: rotate(0.03deg);
}


.clear {
	font-size:1px;
	line-height:1px;
	clear:both;
}
@media screen and (min-device-width:750px){ /*PC*/
.float_l {float:left!important;}
.float_r {float:right!important;}
}

.text_l {text-align:left!important;}
.text_r {text-align:right!important;}
@media screen and (max-device-width:749px){ /*スマホ*/
.text_l,
.text_r {padding:0 3%;}
}
@media screen and (min-device-width:750px){ /*PC*/
.text_l,
.text_r {padding:0 10px;}
}


sup {
	font-size:60%;
	vertical-align:super;
}

.blank {
	display:none!important;
}



/* width-img */

.w-img {
	width:100%;
	height:auto;
	display:block;
}



.wp-img {
	margin:0 0 0 1.5%;
	height:auto;
	display:block;
}

@media screen and (min-device-width:750px){ /*PC*/
.wp-img {
	width:728px;
}
}

@media screen and (max-device-width:749px){ /*スマホ*/
.wp-img {
	width:97%;
}
}






/* ■■■■■container■■■■■ */

* {color:#504c48;}

#container {
	margin:0px auto;
	background:#ffffff;
}


@media screen and (min-device-width:750px){ /*PC*/	
#container {
	padding:80px 0 0 0;
	width:950px;
}
}

@media screen and (max-device-width:749px){ /*スマホ*/
#container {
	padding:12vw 0 0 0;
	width:100vw;
}
}

/* ■■■■■header■■■■■ */





#h_nav{
	font-size:1.2rem;
	text-align:right;
	position:absolute;
	top:0px;
	z-index:9999;
}

@media screen and (min-device-width:750px){ /*PC*/
#h_nav {
	padding:15px 15px 0;
	width:920px;
	height:50px;
}
}

@media screen and (max-device-width:749px){ /*スマホ*/
#h_nav {
	padding:3px 1% 0;
	width:98%;
}
}



#h_nav .logo {
	float:left;
}

@media screen and (max-device-width:749px){ /*スマホ*/
#h_nav .logo img {
	width:40vw;
	height:auto;
}
}

@media screen and (max-device-width:749px){ /*スマホ*/
#h_nav .tel {
	width:35vw;
	height:auto;
}
}


#h_nav .day {
	margin:8px 0 0 0;
	display:inline-block;
}


@media screen and (max-device-width:749px){ /*スマホ*/
#h_nav .day {
	font-size:1rem;
}
}


#h_nav .time {
	display:inline-block;
	background:url(../images/linkbutton_bg.gif) top left no-repeat #e6ab51;
}
#h_nav .time a {
	color:#ffffff;
	text-decoration:none;
}

@media screen and (min-device-width:750px){ /*PC*/
#h_nav .time {
	margin:4px 0 0 20px;
	padding:4px 5px 3px 15px;
}
}

@media screen and (max-device-width:749px){ /*スマホ*/
#h_nav .time {
	margin:4px 0 0 4px;
	padding:3px 4px 2px 10px;
	background-size:6px 6px;
	font-size:1rem;
}
}


/* ■■診療時間ポップアップ■■ */


.Trigger {
	position: relative;
}

.Trigger .popup {
	display: none;
	position: absolute;
	z-index:9999;
}

@media screen and (min-device-width:750px){ /*PC*/
.Trigger .popup {
	width:440px;
	height:270px;
	top:-47px;
	right:-5px;
}
}

@media screen and (max-device-width:749px){ /*スマホ*/
.Trigger .popup {
	width:100vw;
	height:auto;
	top:0px;
	right:0px;
}
}




@media screen and (min-device-width:750px){ /*PC*/
h1 {
	padding:0 15px 0;
}
}











@media screen and (max-device-width:749px){ /*スマホ*/


/* --g_nav--spのみall.css */




#g_nav {
	margin:0 0 15px 0;
	width:100%;
}


#g_nav ul {
	margin:0 0 50px 0;
	padding:0 0 10px 0;
	width:100%;
	height:180px;
	background-image:url(../images/line1.gif),url(../images/line2.gif);
	background-repeat:no-repeat,repeat-x;
	background-position:bottom right 100px,bottom right;
	background-size:460px 10px,1.5px 1.5px;
}



#g_nav ul li {
	font-size:1.5rem;
	float:right;
}

#g_nav ul li:not(:last-child) {
	height:180px;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	text-align:right;
}

#g_nav ul li,
#g_nav ul li a {
	background-repeat:no-repeat;
}

#g_nav ul li:last-child {
	width:100%;
	height:30px;
	background-image:url(../images/sitemap_ic.png);
	background-size:30px;
	background-position:bottom right 70px;
	text-align:right;
	position:relative;
	top:20px;
	right:10px;
}
#g_nav ul li:last-child a {	
	display:inline-block;
	padding:3px 0 2px 0px;
	-webkit-writing-mode:horizontal-tb;
	-ms-writing-mode: lr-tb;
	font-size:1.2rem;
	line-height:1.5rem;
	writing-mode: horizontal-tb;
	border-bottom:1px solid #504c48;
}


#g_nav ul li.miyoshi a {background-image:url(../images/miyoshi_ic.png);}
#g_nav ul li.annai a {background-image:url(../images/annai_ic.png);}
#g_nav ul li.hajimete a {background-image:url(../images/hajimete_ic.png);}
#g_nav ul li.shinryou a {background-image:url(../images/shinryou_ic.png);}
#g_nav ul li.shoujou a {background-image:url(../images/shoujou_ic.png);}




#g_nav ul li:not(:last-child) a {
	display:inline-block;
	padding:38px 8px 0 8px;
	background-size:36px;
	background-position:top center;
	line-height:2.5rem;
	vertical-align:middle;
}
.iphone #g_nav ul li:not(:last-child) a {
	padding:38px 16px 0 0!important;
}


#tile {
	height:30vw;
}




#tile .calendar {
	margin:0 1vw;
	width:44vw;
	height:55vw;
	float:left;
}








#tile .banner {
	margin:0 1vw 1vw 0;
	width:26vw;
	height:26vw;
	float:left;
}

#tile .banner img {
	width:26vw;
	height:auto;
}



}




















/* --follow_up-- */

#follow_up {
	position: fixed;
}

@media screen and (min-device-width:750px){ /*PC*/
#follow_up {
	margin:0 0 0 950px;
	bottom:10px;
}
}

@media screen and (max-device-width:749px){ /*スマホ*/
#follow_up {
	right:0;
	bottom:2px;
}
}
		


#follow_up a {
	display: block;
	width: 50px;
	text-align: center;
	float:right;
}
#follow_up a:hover {
	text-decoration: none;
}




@media screen and (max-device-width:749px){ /*スマホ*/
#follow_up a img {
	width:30px;
	height:45px;
}
}



























/* ■■■■■footer■■■■■ */

@media screen and (min-device-width:750px){ /*PC*/

footer {
	padding:0 15px 10px;
	width:920px;
	height:225px;
}


footer .info {
	margin:0 0 0 80px;
	width:600px;
	height:200px;
	float:right;
}


footer .f_nav {
	width:240px;
	line-height:12px;
	float:right;
}

}





@media screen and (max-device-width:749px){ /*スマホ*/

footer {
	width:100%;
	height:auto;
}


footer .info {
	width:100vw;
	height:auto;
}

}




@media screen and (max-device-width:749px){ /*スマホ*/
footer .f_nav {
	margin:0 auto;
	width:95vw;
}
}




@media screen and (min-device-width:750px){ /*PC*/
footer .f_nav .foot_logo,
footer .f_nav .tel {
	width:240px;
	height:auto;
}
}

@media screen and (max-device-width:749px){ /*スマホ*/
footer .f_nav .foot_logo,
footer .f_nav .tel {
	width:100%;
	height:auto;
}
}



footer .f_nav .kamoku {
	padding:4px 0 0 0;
	text-align:right;
}

@media screen and (min-device-width:750px){ /*PC*/
footer .f_nav .kamoku {
	font-size:0.9rem;
}
}

@media screen and (max-device-width:749px){ /*スマホ*/
footer .f_nav .kamoku {
	font-size:1.2rem;
}
}





footer .f_nav .add {
	padding:6px 0 9px 0;
}

@media screen and (min-device-width:750px){ /*PC*/
footer .f_nav .add {
	font-size:1.1rem;
}
}
@media screen and (max-device-width:749px){ /*スマホ*/
footer .f_nav .add {
	font-size:1.5rem;
}
}






footer .f_nav .time {
	margin:5px 0 0 0;
	padding:8px 2px 0;
	background:url(../images/line2.gif) top left repeat-x;
}

@media screen and (min-device-width:750px){ /*PC*/
footer .f_nav .time {
	font-size:1.1rem;
}
}
@media screen and (max-device-width:749px){ /*スマホ*/
footer .f_nav .time {
	font-size:1.2rem;
}
}




footer .f_nav .time span {
	text-align:right;
}
@media screen and (min-device-width:750px){ /*PC*/
footer .f_nav .time span {
	padding:5px 0;
	display:block;
}
}
@media screen and (max-device-width:749px){ /*スマホ*/
footer .f_nav .time span {
	position:absolute;
	right:1px;
}
}

footer .f_nav .day {
	margin:0 0 5px 0;
	padding:0 2px 8px;
	background:url(../images/line2.gif) bottom left repeat-x;
}
@media screen and (min-device-width:750px){ /*PC*/
footer .f_nav .day {
	font-size:1.1rem;
}
}
@media screen and (max-device-width:749px){ /*スマホ*/
footer .f_nav .day {
	padding:3px 1px 5px 1px;
	font-size:1.3rem;
}
}




footer .f_nav ul {
	margin:0 0 5px 0;
	display:flex;
	justify-content:space-around;
}
footer .f_nav li {
	display:inline-block;
	background:url(../images/linkbutton_bg_over.gif) top left no-repeat #eeca93;
}
@media screen and (min-device-width:750px){ /*PC*/
footer .f_nav li {
	font-size:1.1rem;
}
}

@media screen and (max-device-width:749px){ /*スマホ*/
footer .f_nav li {
	font-size:1.8rem;
}
}


footer .f_nav li a:link,
footer .f_nav li a:active,
footer .f_nav li a:visited {
	display:block;
	padding:4px 3px 4px 12px;
	background:url(../images/linkbutton_bg.gif) top left no-repeat #e6ab51;
	color:#ffffff;
}
footer .f_nav li a:hover {
	background-image:none;
	background-color:transparent;
}

footer .f_nav li.kizai {
	margin:0px;
}


footer #copyright {
	padding:2px;
	border-top:2px solid #c5c1bd;
	clear:both;
}
@media screen and (min-device-width:750px){ /*PC*/
footer #copyright {
	font-size:1.1rem;
	text-align:right;
}
}

@media screen and (max-device-width:749px){ /*スマホ*/
footer #copyright {
	font-size:0.9rem;
	padding:20px 0;
	text-align:center;
}
}












