@charset "utf-8";


/* ---------------------------------------------------------------------------------------------

　   footer fix

--------------------------------------------------------------------------------------------- */
.flex-container {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

@media(max-width: 750px){
	.sptop { padding-top: 70px; }
}

.flex-footer {
	margin-top: auto;
}

/* ---------------------------------------------------------------------------------------------

　   flex	ヘッダ部分のフレックス設定

--------------------------------------------------------------------------------------------- */
.flex_hbox {
	display: flex;
	display: -webkit-flex;
	flex-wrap: nowrap;
	-webkit-justify-content: space-between;
    justify-content: space-between;
}

/* 電話 */
/*	.tel { padding: 10px 0 10px 50px; }	*/
.tel { padding: 20px 0; }

@media(min-width: 768px){
  a[href^="tel:"]{
    pointer-events: none;
  }
}

/* ----------------------------------------------

* アンカー

------------------------------------------------ */
.anchor{						/* ヘッダやメニューの作りによっては変わる */
	display: block;
	padding-top: 200px;
	margin-top: -200px;
}


@media(max-width:750px){
	/* スマホでページ内ジャンプをした際にヘッダー分下げてやるやつ */
	.anchor{						/* ヘッダやメニューの作りによっては変わる */
		padding-top: 70px;
		margin-top: -70px;
	}
}

/* ----------------------------------------------

* サブ見出し

------------------------------------------------ */
h4 {
	font-size: 1.2em;	/*サイズ*/
}
h4:before {
	content: '●';		/*アイコンのユニコード*/
	font-weight: 600;
	font-size: 1.2em;
	color: #5ed56c;
}

.stit {
	width:fit-content;
	margin: 0;
	margin-bottom: 20px;
	font-weight: normal;
	color: #fff;
	background: #0ab542;	/*背景色*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	padding: 3px 20px;		/*ボックス内の余白*/
	border-radius: 3px;		/*角丸のサイズ*/
}


/* ----------------------------------------------

* flex

------------------------------------------------ */
.flex_box {
	display: -webkit-flex;
    display: flex;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	list-style: none;
}
.flex_box li { width: calc(100% / 2);}
.flex_box .t {
	background:linear-gradient(transparent 60%, #b0eab8 40%);
	font-size: 240%;
	color: #666;
}
.flex_box .obj { margin: 0 0 0 -120px; }


@media (max-width: 750px) {

	.flex_box {}
	.flex_box li { width: 100%; margin-bottom: 10px;}
	.flex_box .t { font-size: 180%; }
	.flex_box .obj { margin: 0; }
}

/* ----------------------------------------------

* color box
------------------------------------------------ */
.box01 {
	padding: 0.5em 1em;
	margin: 2em 0;
	color: #137a04;
border-radius: 5px;
/*	border: double 5px #4ec4d3;	*/
/*	background: #e4f9e1;*/	/*背景色*/
}

/* ----------------------------------------------

*	続きを読む処理	スマホのみ

------------------------------------------------ */
@media only screen and ( max-width : 750px ) {

	.more {
		position: relative;
	}
	/* ボタン */
	.more-btn {
		background-color: #666;
		border: 1px solid #666;
		bottom: 0;
		color: #fff;
		cursor: pointer;
		display: inline-block;
/*		font-size: 18px;*/
		left: 0;
		margin: auto;
		padding: 3px 10px;
		position: absolute;
		right: 0;
		text-align: center;
		transition: all .2s;
		width: fit-content;
		z-index: 1;
	}
	/* 続きを読むボタンの表記 */
	.more-btn::after {
		content: "続きを読む";
	}
	/* ボタンhover時のスタイル */
	.more-btn:hover {
		background-color: #fff;
		color: #666;
	}
	.more-text {
		overflow: hidden; /* テキストを隠す */
		position: relative;
	}
	/* 最初に見えてるテキストエリアの高さ */
	.more-text.is-hide {
		height: 1.5em;
/*		height: 10em;	*/
	}
	/* テキストをグラデーションで隠す */
	.more-text::before {
		background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,.9) 50%, rgba(255,255,255,.9) 50%, #fff 100%);
		background:         linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,.9) 50%, rgba(255,255,255,.9) 50%, #fff 100%);
		bottom: 0;
		content: "";
		height: 60px; /* グラデーションで隠す高さ */
		position: absolute;
		width: 100%;
	}
	/* 閉じるボタンの位置 */
	.more-btn.is-show {
/*		bottom: -3em;*/
		bottom: -1.4em;
	}
	/* 閉じるボタンの表記 */
	.more-btn.is-show::after {
		content: "閉じる";
	}
	/* 続きを見るボタンをクリックしたらテキストを隠しているグラデーションを消す */
	.more-btn.is-show + .more-text::before {
		display: none;
	}
	/* 閉じるの為にスマホ時だけpadding */
	.more-pb { padding-bottom: 2em; }
}


/* ----------------------------------------------

* footer補足

------------------------------------------------ */
.foot_tr { display: none; }

@media (max-width: 750px) {
	.foot_tr {
		display: flex;
		flex-direction: column;
		gap: 2px;
		justify-content: center;
		align-items: center;
	}
}


/* ----------------------------------------------

* フロート定義

------------------------------------------------ */
.fl { float: left !important; margin-right: 20px; }
.fr { float: right !important; margin-left: 20px; }

/* float解除 */
.froot { display: flow-root; }		/* 回り込み解除 親要素にかけてあげる　*/
.froot img.fr {width:30%; float: right; margin-left: 20px;margin-bottom: 20px; border-radius: 5px;}
.froot img.fl {width:30%; float: left; margin-right: 20px;margin-bottom: 20px; border-radius: 5px;}

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

	.froot img.fr, .froot img.fl {width:96%; margin: 0 10px;}
}


/* ---------------------------------------------------------------------------------------------

　   flex

--------------------------------------------------------------------------------------------- */
.flex_box_ {
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
    justify-content: space-between;
}
@media (max-width: 750px) {

	.flex_box_ {
		flex-direction: column;
	}
}

/* 電話かからないように */
.autotel { pointer-events: none; display: none; }
@media (max-width: 750px) {
	.autotel { pointer-events: auto; }
}


/* ---------------------------------------------------------------------------------------------

	医院案内

--------------------------------------------------------------------------------------------- */
.photos ul {
	/* flex化 */
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}
.photos li {
	width: calc(33.3% - 0.2em);
	padding: .3em;
}
.photos img {
	margin-bottom: 0.5em;
	display: block;
	margin: auto;
	border: 1px #ccc solid;
}
.photos p {
	font-size: 1.2rem;
 	text-align: center;
}

/* ごあいさつ */
.prof {
	width: 100%;
	border-spacing: 0;
	min-width:500px; 
}
.prof th{
	width: 20%;
	border-bottom: solid 3px #eee;
	background-color: #e5f8e0;
	text-align: center;
	vertical-align: middle;
	padding: 10px 0;
}
.prof td{
	border-bottom: solid 1px #8cc07d;
	padding: 10px 0 10px 30px;
}
.prof td ul {}
.prof td ul li {
	border-bottom: dashed 1px #666;
	text-align: left;
	padding: 3px 0;
	list-style: none;
}
.prof td ul li:last-child {
	border-bottom: none;
}

@media (max-width: 750px) {

/*	.photos li { width: calc((100/2%) - 1em); }	*/

	.photos ul { margin: 0 auto; }
	.photos li { width: calc(50% - .2em); }
}


/* ---------------------------------------------------------------------------------------------

	診療案内

--------------------------------------------------------------------------------------------- */
.medtit {
	font-size: 120%;
}


/* ---------------------------------------------------------------------------------------------

	アクセス

--------------------------------------------------------------------------------------------- */
#map_canvas {
	width: 600px;
	height: 300px;
	padding: 5px;
	border: 1px #ccc solid;
}


/* イメージの一覧表示 */
.img_list {
	display:-webkit-box;
	display:-ms-flexbox;
	display: flex;
	list-style: none;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: justify;			/* add */
	-ms-flex-pack: justify;				/* add */

	display: -webkit-flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;

}

.img_list li {
	width: calc(33% - .4rem);
	padding: .8em;
	text-align:center;
}
.img_list li img { display: block; margin: auto; border: 1px #ccc solid; }
.img_list li:after {
	content:attr(title);
	display:block;
	text-align:center;
	margin-top:2px;
}

@media (max-width: 750px){
	#map_canvas { width:98%; height:300px; }

	.img_list li { width: 100%; }
	.img_list li img { width: 99%; }
}



/* ---------------------------------------------------------------------------------------------

	診療時間

--------------------------------------------------------------------------------------------- */
/* 診療時間 */
.timetbl { width: 100%; color: #000; background: #fff; /*min-width:500px;★★*/ font-weight: bold; }
.timetbl th {
	text-align: center;
	border-top: solid #666 1px;
	border-bottom: solid #666 1px;
	background: #e7faf3;
/*	font-weight: normal;	*/
	padding:.5em 0;
 }

.timetbl td {
	text-align: center;
	border-bottom: solid #666 1px;
font-size: 140%;
}
.timetbl tr {
	border-bottom: solid #666 1px;
}
.timetbl tr th:last-of-type {
	background: #f1ffeb;
}
.timetbl tr th:first-of-type {
	width: 28%;
	text-align: center;
}
.timetbl tr td {
	width: 10%;
/*	font-size: 90%;	*/
}
@media screen and (max-width: 750px) {
	.timetbl {
		display: block;
/*★★★
		overflow-x: scroll;*/
		white-space: nowrap;
		font-size: 80%;
	}
	.timetbl th {
		padding:.5em;
	 }
}

/* ---------------------------------------------------------------------------------------------

　   common

--------------------------------------------------------------------------------------------- */
.clred { color: #f00; }
.clgrn { color: #11913b; }

/* [firefoxで表示時画像なしがわかるように] */
img:-moz-broken {
	-moz-force-broken-image-icon:1;
	width:24px;
	height:24px;
}


.pcnt { font-size: 0; }
.pcnt img { width: 0px; height: 0px; }
