@charset "UTF-8";

/*　共通設定--------------------------------　*/

html, body, header, section, article, nav, footer,
div, span, p, h1, h2, h3, h4, ul, ol, li, dl, dt, dd,
table, tr, th, td, tbody, thead, tfoot {
	margin: 0;
	padding: 0;}

img { border: 0; vertical-align:bottom }

body {
	width: 100%;
	background-color: #fff;
/*	font: 14px/1.231 'ヒラギノ角ゴ pro W3', "Hiragino KaKu Gothic Pro", Osaka, sans-serif; */
	font-size: 15px;
	line-height: 1.8;
	-webkit-text-size-adjust: 100%;
	}

.pc-only{
	display: none;
}
.sp-only{
	display: block;
}
*{
	box-sizing: border-box;
}

.float-l{
	float: none;
}
.float-r{
	float: none;
}

#back{
	border-top:none;
}
hr{
	margin:0 0 1em 0;
}



/*　ビジュアル--------------------------------　*/

#visual img {
    height:500px !important; /* スマホ用に高さを変更 */
    object-position: top;   /* 上寄せで表示 */
}

#visual:after {
	bottom: 0;
}



/*　ヘッダー・スライドバー--------------------------------　*/

/* slimmenu.js内の .menu-collapseに上書き */
.menu-collapser {
	height:50px;
	background-color:#fff;
	text-align: center;
}
/* menu内のロゴ画像設定 */
.menu-collapser img#spHeadLogo {
	margin: 5px 0 0 0;
    max-height: 40px;
	width: auto;
}
#navi ul.slimmenu.collapsed li a{
	border-bottom: none;
}

table td {
	line-height:1.8em 
}

table td hr {
	margin:0 0 1em 0;
    border: 0;
    height: 1px;
    background: url(../img/hr.gif) repeat-x ;
}

#contents-main table th {
	padding: 0 5px;
}
#contents-main table td {
    padding: 5px;
	white-space: wrap;
}




/*　ヘッダー・ナビ表示--------------------------------　*/

/*　pc用ヘッダー　*/
#head {
    width: 100%;
    margin: 0 ;
	padding: 10px;
}
#head-navi {
	display: none;
}

#head h1 {
	width:100%;
	text-align:center; 
}







/*　コンテンツ--------------------------------　*/

#contents {
	width:100%;
	}

/*　コンテンツ背景--------------------------------　*/

#contents-back {
}



/*　コンテンツ　メインカラム--------------------------------　*/

#contents-main {
	width:100%;
	padding: 0;
	margin:0px auto 0px auto;
	float:none;
}

#contents-main h2 {
	font-size: 135%;
    padding: 0.3em 0 0.3em 0.5em;
    /* font-weight: 600; */
	margin: 1em 0;
}
/* #contents-main h2 span{
	display: block;
} */

#contents-main h2.midasi img {
	width: 50px;
}

#contents-main #title h2 {
	font-size: 150%;
}
#contents-main h2.midasi {
    margin: 0 0 2em;
}


/* #contents-main h2 + h3 {
	padding-top: 0;
}
 */

/* h3アイコン画像 */
#contents-main h4 {
	font-size: 120%;
	margin:0 0 10px;
	font-weight: 600;
}

#contents-main p ,
#contents-main ol ,
#contents-main ul {
	font-size:15px;
	line-height: 1.8;
	}

#contents-main p img {
	width:100%;
	height:auto;
	margin:0 0 1em 0;
	}

#contents-main iframe {
	width:100%;
	height:300px;
	margin: 0 auto;
	vertical-align: bottom;
}

#contents-main h2 span.english {
	font-size: 12px;
	display: block;
}

	



/* テーブル */
/*　テーブル　スクロールバー表示　*/

#contents-main .sp-scroll {
	overflow-x: auto;　　　　/*tableをスクロールさせる*/
	padding: 0;
	margin-bottom: 0;
}
#contents-main .sp-scroll::-webkit-scrollbar {   /*tableにスクロールバーを追加*/
	height: 5px;
	}
#contents-main .sp-scroll::-webkit-scrollbar-track {   /*tableにスクロールバーを追加*/
	background: #F1F1F1;
	}
#contents-main .sp-scroll::-webkit-scrollbar-thumb {   /*tableにスクロールバーを追加*/
	background: #BCBCBC;
	}
#contents-main .sp-scroll table {
	white-space: nowrap;　/*tableのセル内にある文字の折り返しを禁止*/
	width: 100%;
	margin: 0;
}



/*　サイドコンテンツ（非表示）--------------------------------　*/

#contents-main #contents-banner {
	width:96%;
	}
#contents-main #contents-banner p img {
	width:40%;
	margin:0 0.5em;
 }


/* フッター--------------------------------　*/

#footer {
	padding:20px 0 0;
	margin: 0 auto 0px auto;
	padding-bottom: 50px;
}
#footer .footer_logo{
	width: 100%;
	display: block;
	margin: 0 auto 1em;
}
#footer .footer_logo{
	width: 60%;
}
#footer .footer_logo img{
	width: 100%;
	max-width: 283px;
}
#footer #footer_inner .address {
    margin: 10px auto;
}

#footer p span {
	display: inline-block;
}
#footer .box {
	margin: 0 auto;
}
#footer .footer_items {
    width: 90%;
	margin: 20px auto 0;
	display: block;
}
#footer .footer_item {
    width: 100%;
	display: block;
	margin-bottom: 2em;
}


/* ページトップ（非表示） */
#footer p.pagetop {
	display: none;
}
#footer p.pagetop a {
	display: none;
}
/*googlemap*/
#footer .gmap iframe{
	width: 100%;
	max-width: inherit;
	max-height: 300px;
}
	/*footernavi*/
.footernavi {
	display: block;
}
.footernavi .fn_contact{
	padding: 8px 0;
}
.footernavi > div a {
    color: #fff;
    text-decoration: none;
    font-size: 110%;
    padding: 5px 10px;
	display: block;
}


#footer table th{
	font-size: 100%;
}
#footer #footer_inner td.small {
    font-size: 100%;
}

/* コピーライト */
#footer #footer_inner p{
	font-size:15px;
}



/* ★各ページ共通--------------------------------　*/



/*タイトル------------------------------------*/
#contents-main #title{
	max-width: 100%;
	width: 100%;
	margin: 0 auto 0 auto;
	height: auto;
}

/* 背景色あり　共通ボックス */
#contents-main .con-main-bg {
	width:100%;
}	

#contents-main .con-main-box2 {
	width: 96%;
	max-width: inherit;
	margin: 0 auto;
	padding: 0 0 40px;
}


/* コンテンツ枠 */
#contents-main .con-main-box {
	width:96%;
	margin: 0 auto;
	padding: 10px 0 30px;
}

/* h2下テキスト */
#contents-main .common-under-h2 {
	width:96%;
	margin:0 auto 0.5em auto;
	font-size:100%;
	line-height:200%;
	}
#contents-main .common-under-h2 span.common-font18px {
	font-size:15px;
	}



/* ページ下部リンクボタン */
#contents-main a.common-bottom-link {
	display:block;
	width:70%;
	max-width:479px;
	height:auto;
	line-height:2em;
	margin:2em auto 0px auto;
	padding:1em 1em;
	text-align:center;
	color:#fff;
	font-size: 16px;
    letter-spacing: 0px;
	background:url(../img/common_bottom_link_button.png) no-repeat top ;
}
#contents-main a.common-bottom-link:hover {
	background:url(../img/common_bottom_link_button.png) no-repeat bottom;
	text-decoration:none;
}



/* ★トップページのみ--------------------------------　*/


/*  ---------------------------- */

/* 見出し */
/* body.index #contents-main h2 {
	margin:1em 0 0 0 ;
	} */
/* 下層ページh2画像書出し後削除 */
/* body.index #contents-main h2 span {
	display:inline;
	} */



/* ★ごあいさつ greet--------------------------------　*/


/* ★当院の特色--------------------------------　*/
body.feature #contents-main .feature-img01 {
	margin: 2% 0 0 1%;
	width: 28%;
}
/* body.feature #contents-main .setsubi-box,
body.feature #contents-main .mekkin-box {
	display: block;
} */
body.feature #contents-main .feature-box {
	-ms-flex-preferred-size: 48%;
	flex-basis: 48%;
	padding: 3% 3% 1.6%;
	min-height: auto;
}
body.feature #contents-main .feature-box img {
    margin: 0 0 10px;
}

/* ★診療内容--------------------------------　*/

#contents-main .medical-box .medical-detail {
    border-radius: 10px;
    width: 100%;
    margin: 0 0 1em;
}
#contents-main .medical-box .medical-detail img {
    width: 100%;
    height: auto;
    margin: 0 0 10px;
    display: block;
}

/* ★患者様の声--------------------------------　*/
.voice-right,
.voice-left{
	display: block;
}
#contents-main .someone-voice {
	width: 100%;
}
#contents-main .someone-voice img {
    width: 30%;
    max-width: 170px;
	margin: 0 auto ;
}
.balloon1-left,
.balloon1-right {
	width: 96%;
	margin: 1.5em 2%;
    padding: 5%;
}
.balloon1-left:before,
.balloon1-right:before {
	content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-bottom: 15px solid #f5f5f5;
	z-index: 2;
}


/* ★Q&A--------------------------------　*/
body.faq #contents-main .read_open_close {
    padding-left: 1.5em;
    text-indent: -1.5em;
}
body.faq #contents-main .read_open_close:after {
	line-height: 1;
	text-indent: 0;
}
/* ★アクセス--------------------------------　*/
body.access .float-l{
	width: 100%;
}
body.access .float-r{
	width: 100%;
}
#contents-main p img.m0{
	margin: 0 !important;
}
#contents-main .access-box .a-detail{
	-ms-flex-preferred-size: 48%;
	flex-basis: 48%;
	margin: 0 1% 1em;
}
#contents-main table.medical-time th {
    font-size: 100%;
    width: auto;
    padding: 0;
}
#contents-main table.medical-time td {
    padding: 5px;
	font-size: 100%;
}


/* ★--------------------------------　*/


/* ★-------------------------------　*/

/*プライバシーポリシー*/
#contents-main .pp h2{
	padding-top: 1em;
}
#contents-main .pp h3{
	font-size: 120%;
}

/* ★ブログページ共通--------------------------------　*/


/* 一覧 */
body #contents-main	.post .article{
	margin-bottom: 2em;
}
/* body #contents-main	.post .thumbnail-box {
	width: 20%;
	margin: 0 2% 3em 0;
} 

body #contents-main	.post .thumbnail-box img{
	width: 100%;
	height: auto;
}*/


body #contents-main	.post .topics .title{
	position: relative;
}


body #contents-main	.post .box-text-date{
	overflow: auto;
}


/*記事毎　*/
body.detail #contents-main {
    padding-top: 10px;
}


/* ★お問い合わせ-------------------------------- */

body.contact #contents-main {
    padding-top: 0px;
}

/* お問い合わせ　テーブル設定 */
body #contents-main table#inquiry_form ,
body #contents-main table#inquiry_form tbody ,
body #contents-main table#inquiry_form tr ,
body #contents-main table#inquiry_form th ,
body #contents-main table#inquiry_form td {
	display: block;
	border:none;
	}
body #contents-main table#inquiry_form th {
	width:auto;
	margin-top:2em;
}
body #contents-main table#inquiry_form td {
	background: #fff;
}

/* 住所　nest table用 */
#contents-main table#inquiry_form table{
	width:100%;
}
#contents-main table#inquiry_form table td {
	white-space:normal;/* pcのnowrapを解除 */
}



/* input クリックで入力エリアの拡大を防ぐ設定 */
body #contents-main table#inquiry_form  td input ,
body #contents-main table#inquiry_form  td textarea {
	font-size:16px;
	}

/* テキストボックスなどの長さ */
body #contents-main table#inquiry_form  td input.name{
	width:100%}
body #contents-main table#inquiry_form  td input.mail{
	width:100%}
body #contents-main table#inquiry_form  td input.subject{
	width:100%}
body #contents-main table#inquiry_form  td textarea {
	width:100%;}
body #contents-main table#inquiry_form  tr.text input,
body #contents-main table#inquiry_form  td input.text{
	width:100%;
}	

body #contents-main table#inquiry_form  input[name="test"]{
	margin-top: 1em;
}


@media screen and (max-width:480px) {
	#footer #footer_inner address p {
		width: 90%;
	}	
	body.feature #contents-main .feature-box {
		padding: 3% 3% 3.1%;
	}
		
}

