@charset "utf-8";


/*===========================================================================


		CSS infomation
			author	:(株)ジョイメイト

		style info  :コンテンツエリア関係 他


============================================================================ */

/* ==========================================================================
   初期設定
========================================================================== */
* {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,
pre,code,form,fieldset,legend,input,button,
textarea,p,th,td {
	margin: 0;
	padding: 0;
}
h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
}
body {
	background: #fff;
	line-height: 1.7;
	font-family: "メイリオ","Meiryo",verdana,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
	font-size: medium;
	color: #333;
}
ul li {
	list-style: none;
}
img {
	vertical-align: bottom;
	-ms-interpolation-mode: bicubic;
}

/*ドラッグ反転*/
::selection { background: #9bb63a; }
::-moz-selection { background: #9bb63a; }


/* ==========================================================================
   共通
========================================================================== */
.clearfix:after {
	content: "";
	clear: both;
	display: block;
}
body {
	background: url(../img/common/bg1.gif) repeat top left;
	position:relative;
}

header,nav,footer { width:100%;}
/*	header,nav,footer { min-width:1000px;}*/
.inner {
	font-size: 85%;
	margin: 0 auto;
	width: 94.9333%;
	max-width: 1000px;
}
@media screen and (max-width:768px) {
	.noSP {
		display: none;
	}
}
@media screen and (min-width:769px) {
	.noPC {
		display: none;
	}
}

/* ==========================================================================
   ヘッダー
========================================================================== */
header {
	background: url(../img/common/header_top.gif) repeat-x top left;
}
header a { display: block; }
header img { margin-bottom: 0; }
header .inner {
	line-height: 0;
	height: 130px;
}
header .logo {
	margin-top: 42px;
	width: 40.2%;
	float: left;
}
header a.notice {
	margin-top: 35px;
	width: 25.2%;
	float: right;
}
header a.notice img {
	width: 100%;
	height: auto;
}
header button {
	display: none;
}
@media (max-width:768px) {
	header {
		position: fixed;
		top: 0;
		left: 0;
		background: #fff;
		height: 70px;
		z-index: 999;
	}
	header .inner {
		display: flex;
		flex-flow: row nowrap;
		align-items: center;
		padding: 0;
		height: 70px;
	}
	header .logo {
		flex: 1;
		margin-top: 0;
		width: 81.4601%;
		float: none;
	}
	header .logo img {
		width: 69.3103%;
		min-width: 201px;
	}
	header a.notice {
		display: block;
		text-align: left;
		margin-top: 0;
		width: 10.9551%;
		height: auto;
		float: none;
	}
	header a.notice img {
		width: 69.2308%;
		min-width: 27px;
		height: auto;
	}
	header button {
		display: block;
		background: #fff;
		padding: 0;
		margin: 0;
		width: 7.5843%;
		height: auto;
		border: none;
	}
	header button img {
		width: 100%;
		min-width: 27px;
		height: auto;
	}
}
@media screen and (min-width:769px) {
	header a.notice {
		pointer-events: none;
	}
}
/* ==========================================================================
   メインナビゲーション
========================================================================== */
nav {
	display: block;
	margin-bottom:20px;
}
nav ul {
	display: table;
	table-layout: fixed;
	width: 100%;
	height: 72px;
	border-top: 1px solid #c4c4c4;
	border-bottom: 1px solid #c4c4c4;
}
nav ul li {
	display: table-cell;
	text-align: center;
	width: 17.6%;
	height: 72px;
}
nav ul li img {
	margin: 28px 0;
}
nav ul li:first-child { width: 12%; }
nav ul li a {
	display: block;
	width: 100%;
	height: 72px;
}
nav ul li a:hover, .cr a {
	border-bottom: 2px solid #8aa722;
}
@media screen and (max-width:768px) {
	nav {
		position: fixed;
		top: 70px;
		left: 0;
		background: rgba(255, 255, 255, 0.8);
		z-index: 100;
	}
	nav ul {
		display: none;
		height: auto;
	}
	nav ul li,
	nav ul li:first-child {
		display: block;
		width: 100%;
		height: auto;
		border-bottom:1px solid #c4c4c4;
	}
	nav ul li a {
		color: #333;
		text-decoration: none;
		padding: 16px 0;
		height: auto;
	}
	nav ul li a:hover {
		color: #333;
		opacity: 0.6;
	}
}


/* ==========================================================================
   メインコンテンツ
========================================================================== */
.main_img {
	position: relative;
	background: url(../img/top/main_img.jpg) no-repeat center center;
	background-size: cover;
	margin-bottom:30px;
	padding-top: 32%;
	width: 100%;
}
.main_img p {
	position: absolute;
	top: 0;
	left: 0;
	width: 35%;
	height: 100%;
}
.main_img p img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	width: 70%;
	min-width: 95px;
	height: auto;
}
.sub_img {
	position: relative;
	overflow: hidden;
	margin: 0 0 15px 0;
	width: 100%;
	height: 130px;
}
.sub_img img {
	position: absolute;
	top: 50%;
	left: 0;
	width: auto;
	height: 100%;
	transform: translateY(-50%);
}
/*#contents {}*/
#main {
	width:67%;
	float:left;
}
@media screen and (max-width:768px) {
	#contents {
		display: flex;
		flex-direction: column-reverse;
	}
	#main {
		width: 100%;
		float: none;
	}
	nav + .inner {
		margin-top: 70px;
	}
	.sub_img img {
		height: 80%;
	}
}
/* ==========================================================================
	サイドコンテンツ
========================================================================== */
#side {
	margin-bottom:100px;
	width:28%;
	min-height: 0%;
	float: right;
}
/* #side .info01, #side .info02, #side .info03 { */
#side [class^="info"] {
	margin-bottom: 10px;
	min-height: 0%;
}
/*== 臨時休診（GW等大きいもの） ==*/
#side .rinji_box {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-self: center;
	margin-bottom: 20px;
	padding: 7px;
	border: solid 1px #d7d7d7;
}
.rinji_box img {
	height: 100%;
	width: 100%;
	margin-bottom: 0;
}

/*== 診療カレンダー ==*/
#side .info01 img {
	margin-bottom: 0;
}
/*#side .info01 {}*/
#side .info01_head {
	display: block;
	font-size: 1px;
	line-height: 0;
	margin: 0;
	width: 100%;
	height: auto;
}
#side .info01_body {
	text-align: center;
	width: 100%;
	border: 1px solid #d7d7d7;
}
#side .info01_body img {
	margin: 4% auto;
	width: 90%;
	max-width: 250px;
}
/*== 休診案内（通常） ==*/
/* .info02{} */
/* #side .info02 img {
	margin-bottom: 0;
} */
.info02_head {
	background: url(../img/common/info02_sub.gif) no-repeat top center;
	font-weight: 550;
	text-align: center;
	color: #fff;
	border-radius: 5px 5px 0 0;
	width: calc(100% + 2px);
	position: relative;
	top: -1px;
	left:-1px;
	padding: 1%;
}
/*.info02_head p{
	font-weight: 550;
	text-align: center;
	position: absolute;
	color: white;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	margin:0;*//*余計な隙間を除く*/
	/*padding:0;*//*余計な隙間を除く*/
/*}*/
/*#side .info02 .info02_head > img {
	display: block;
	font-size: 1px;
	line-height: 0;
	margin: 0;
	width: 100%;
}
.info02_head img{
	width: 100%;
}*/
/*　　　元々表記されていたもの　　*/
#side .info02 {
	border:1px solid #d7d7d7;
	background-image: url(../img/common/cal_bg.gif);
	background-repeat: no-repeat;
	background-position: 90% 60px;
	border-radius: 10px 10px 0 0;
	
}
#side .info02 .info02_box{
	/*background:url(../img/common/cal_bg.gif) no-repeat 90% 30px;*/
	font-weight:bold;
	padding:16px;
	/*border:1px solid #d7d7d7;*/
	min-height: 126px;
}
#side .info02 .infolist {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
/*#side .info02 li {*/
#side .info02 .infolist_item {
	font-size: 90%;/*80%;*/
	text-align: center;
	line-height: 1.5;
	/* padding-bottom: 5px;
	margin-left: 5px;
	width:57px;
	height:70px;
	float:left; */
}
/*---------------------------------------------------------------
	1.診察がある場合、<li>タグに「class="work-on"」「data-infotitle="診療有り"」を追加する。
	  午前休診の場合、<li>タグに「class="work-off amoff"」「data-infotitle="午前休診"」を追加する。
	  午後休診の場合、<li>タグに「class="work-off pmoff"」「data-infotitle="午後休診"」を追加する。
	  一日休診の場合、<li>タグに「class="work-off dayoff"」「data-infotitle="休診"」を追加する。

	2.お盆休みなどの長期休暇を掲載する場合は、
	  <li>タグに class="w2"を追加すると、休診枠2日分が表示される。

	【サンプルコード】
	<ul class="infolist clearfix">
		<li class="【1、2】">
			月/<span class="day">日</span><br>(曜日)
		</li>
	</ul>
	※最大4件まで
---------------------------------------------------------------*/
/*#side .info02 li:before {*/
#side .info02 dt {
/*	content: attr(data-infotitle);*/
	display: block;
	color: #fff;
	text-align: center;
	/* font-size: 11px; */
	/* font-weight: normal; */
	line-height: 1;
	/* padding: 4px 0 3px; */
	padding: 6px 6px 4px;
	/* margin-bottom: 4px; */
}
#side .info02 dd {
	padding: 4px;
}
/*--- 診療有り ---*/
#side .info02 .work-on {
	background: #fbdef1;
}
/*#side .info02 .work-on:before { background:#df7bbb; }*/
#side .info02 .work-on dt { background:#df7bbb; }

/*--- 休診 ---*/
#side .info02 .work-off {
	background:#e9eed4;
}
/* #side .info02 .amoff:before { background:#9ab236; }
#side .info02 .pmoff:before { background:#739fbe; }
#side .info02 .dayoff:before { background:#ed9c0e; } */
#side .info02 .amoff dt { background:#9ab236; }
#side .info02 .pmoff dt { background:#739fbe; }
#side .info02 .dayoff dt { background:#ed9c0e; }

/*--- 休診枠2日分 ---*/
/* #side .info02 .w2 { width:119px; } */
/*---------------------------------------------------------------*/

/* #side .info02 li:first-child { margin-left:0; }
#side .info02 p { margin-bottom:3px; } */
#side .info02 img {
	vertical-align:top;
	margin-bottom:0;
}
#side .info02 .month { font-size:110%; }
#side .info02 .day { font-size:130%; }

/*== 西口整骨院（PCのみ） ==*/
#side .info03 {
	background:#efefef;
	text-align:center;
	padding:8px;
	border-radius: 5px;
}
#side .info03 a {
	display: block;
	margin: 0 auto;
	width: 202px;
	height: 32px;
}
#side .info03 .infoinner {
	background: #fff;
	padding: 18px;
	border: 1px solid #d4dbb7;
}
#side .info03 img {
	max-width: 100%;
}
/*- 2025.04.16 診療と休診あり .info02._new として処理 -*/
#side .info02._new{
	background: none;
}
#side .info02._new .info02_head{
	padding-top: 2%;
	padding-bottom: 1%;
}
#side .info02._new .info02_box{
	padding: 11px 14px;
}
#side .info02._new .infolist{
	display: flex;
	flex-wrap: wrap;
	gap:  8px;
}
#side .info02._new .infolist div{
	width: 100%;
	display: flex;
	flex-direction: column;
}
#side .info02._new .infolist dt{
	font-weight: normal;
	font-size: 130%;
	padding: 8px 8px 4px;
	line-height: 1;
}
#side .info02._new .infolist dt::before{
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 4px;
	position: relative;
	top: 1px;
}
#side .info02 .work-on dt:before {
	background-color:#df7bbb;
}
#side .info02 .dayoff dt::before {
	background-color:#ed9c0e;
}
#side .info02._new .infolist dd{
	font-weight: 400;
	padding: 0 10px 4px;
}
#side .info02._new .infolist .day{
	font-weight: 600;
	position: relative;
}
#side .info02._new .infolist .inblock{
	display: inline-block;
}
@media screen and (max-width:768px) {
	#side {
		margin-bottom: 0;
		width: 100%;
		height: auto;
		float: none;
	}
	/* #side .forSP {
		display: flex;
		flex-flow: row nowrap;
		justify-content: space-between;
	}
	#side .info01,
	#side .info02 {
		width: 49%;
	}*/
	.rinji_box {
		width: 100%;
		max-width: 400px;
		margin-inline: auto;
		/* margin: 0 auto 20px; */
		/* background-image: none; */
	}
	#side .info01 {
		max-width: 400px;
		margin-inline: auto;
	}
	#side .info01_body img {
		max-width: 90%;
	}
	#side .info02 {
		/* background-position: 90% 60%; */
		background-position: right -10px top 40px;
		background-size: 30%;
		/* background:url(../img/common/cal_bg.gif) no-repeat 90% 60%;
		background-size: 40%; */
	}
	#side .info02 .info02_box {
		padding: 2%;
		min-height: 1px;

	}
/*- 2025.04.16 診療と休診あり .info02._new として処理 -*/
	#side .info02._new{
		width: 100%;
		/* max-width: 400px; */
		margin: 0 auto 10px;
		background: none;
	}
	/* 長期休診時 = サイドの臨時休診案内削除時 */
	/* #side .forSP.kyushin {
		justify-content: center;
	}
	#side .forSP.kyushin .info01 {
		width: 100%;
		max-width: 400px;
	} */
}
@media screen and (max-width:500px) {
	/* #side .rinji_box {
		text-align: center;
	} */
	/* #side .info02 p {
		font-size: 2.93vw;
	} */
	/* #side .info02 li {
		font-size:65%;
		text-align: center;
		line-height:1.5;
		padding-bottom:4%;
		margin-left:5px;
		width:32%;
		height:auto;
		float:left;
	}
	#side .info02 li:before {
		font-size: 2.667vw;
		padding: 4px 0 3px;
		margin-bottom: 4%;
	}
	#side .info02 .w2 { width: 64.8%; } */
}
/* ==========================================================================
   フッター
========================================================================== */
footer{
	background:url(../img/common/footer_bg.gif) repeat-x left bottom;
	padding-top:40px;
	border-top: 3px double #dbd7d7;
}
footer a {
	display: block;
	color:#505446;
	background:url(../img/common/list1.gif) no-repeat left center;
	font-size:90%;
	text-decoration:none;
	padding-left:15px;
}
footer .flogo {
	width: 21.1%;
	float:left;
}
footer .fmenu {
	width: 70.5%;
	float:right;
	border-right:1px dotted #d0cfcf;
}
footer .fmenu ul.box {
	padding:8px 0 8px 20px;
	min-height:166px;
	width:33.3333%;
	float:left;
	border-left:1px dotted #d0cfcf;
}
footer .fmenu ul.box li{
	margin-bottom:6px;
}
footer .fmenu ul.box li dd a {
	background:url(../img/common/list2.gif) no-repeat 20px 4px;
	font-size:80%;
	padding-left:30px;
	padding-right: 15px;
}
@media screen and (max-width:768px) {
	footer {
		border-top: none;
		padding-top: 0;
	}
}
/*---　コピーライト　---------------------------------------------------------*/
#copyright {
	display:block;
	color:#fff;
	text-align:center;
	padding-top:60px;
	padding-bottom:5px;
	clear:both;
}
@media screen and (max-width:768px) {
	#copyright {
		padding-top: 5px;
	}
}
/* ==========================================================================
   ページトップに戻る
========================================================================== */
#gotop {
	display: none;
	position: fixed;
	bottom: 0;
	right: 50px;
	background:none;
}
#gotop img {
	width: 5.6vw;
	max-width: 56px;
	height: auto;
}
@media screen and (max-width: 768px) {
	#gotop {
		right: 0;
	}
}
