/* floating */
html {
	height:100%;
}
body {
	box-sizing:border-box;
	font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";

	cursor:auto;
	padding:0;
	margin:0;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
	height: 100%;
}
img{
	max-height: 100%;
	height: auto;
	width /***/:auto;
	display:block;
}
a { 
	text-decoration:underline; 
	color: #5a4a3b;
}
.menuBox1 a {
	text-decoration: none;
}
#link01, #link02 {
	margin-top: -130px;
	background-color: #ccc;
	position: absolute;	
}



#wrapper{
     width:100%;
	padding: 0;
     margin:0;
    position: relative;/*フッターの位置設定の基準*/
    min-height: 100%;/*最低値を100％にしておけばコンテンツ量が増えた分だけ伸びる*/
    height: auto !important;/*ie6用（今いるかな？）*/
    height: 100%;    
    background-color: #FFF;/*コンテンツの背景色は全体囲みのココに指定*/
	float: left;
}
#menu {
	box-sizing:border-box;
	width:100%;
	max-width: 1000px;
	height: auto;
	margin: 0 auto;
}
.menuBox1 {
	width: 100%;
	height:auto;
	text-align:center;
	margin-top: 10px
}
.menuBox1 img{
	width:100%;
	max-width: 400px;
	height:auto;
	display:block;
}
.navimain {
	box-sizing:border-box;
	width:100%;
	max-width: 1000px;
	height:100px;
	font-size:16px;
	line-height:100px;
	text-align:center;
	margin:0 auto;
}
.navimain li {
	width:50%;
	list-style-type:none;
	float:left;
	letter-spacing:0px;
}
.headadd {
	width: 100%;
	height: auto;
	text-align: right;
	color: rgba(63,46,34,1.00);
	font-size: 14px;
	line-height: 18px;
	padding-top: 10px;
	float: right;
}
.headtel{
	width: 100%;
	height: auto;
	float: right;
	text-align: right;
	color: rgba(63,46,34,1.00);
	font-size: 32px;
	line-height: 42px;
	display: block;
}

.headtelA{
	float: right;
	display:inline-block;
	vertical-align:middle
}
.headtel2 {
	width: 100%;
	height: auto;
	float: left;
	text-align: left;
	color: rgba(63,46,34,1.00);
	font-size: 28px;
	line-height: 42px;
	display: none;
}
.headtelA2{
	float: left;
	display:inline-block;
	vertical-align:middle
}
.headtel a{
	text-decoration: none;
}
@media screen and (max-width: 650px) { 
.headtel {
	width: 260px;
	font-size: 28px;
}
}
@media screen and (max-width: 499px) { 
.navimain li {
	width:100%;
	list-style-type:none;
	float:left;
	letter-spacing:0px;
}
.headadd {
	text-align: left;
	float: left;
	padding-left: 10px;
	font-size: 16px;
	line-height: 24px;
	padding-bottom: 5px;
	border-top: 1px solid #ddd0b6;
}
.headtel {
	width: 100%;
	text-align: left;
	padding-left: 55px;
	float: left;
	padding-bottom: 10px;
	font-size: 28px;
}
.headtel {
	display: none;
}
.headtel2 {
	display: block;
}
}





.fixed {
	position: fixed;
	top: 0px;
	z-index: 999;
}
#content0{
	box-sizing:border-box;
	width:100%;
	height:50px;
	text-align:center;
	float:left;
	overflow:hidden;
	background-color: #ddd0b6;
}
.contentNavi {
	box-sizing:border-box;
	width:100%;
	height:50px;
	font-size:16px;
	line-height:50px;
	text-align:center;
	margin:0 auto;
	position: relative;
	z-index: 5;
}
.navimain2 {
	box-sizing:border-box;
	width:100%;
	max-width: 1000px;
	height:50px;
	font-size:16px;
	line-height:50px;
	text-align:center;
	margin:0 auto;
	background-color: #ddd0b6;
}
.navimain2 li {
	width:20%;
	list-style-type:none;
	float:left;
	letter-spacing:0px;
	text-align: center;
	height:50px;
}
.navimain2 li.big {
	width:40%;
	height:50px;
}
@media screen and (max-width: 499px) { 
	#content0{
		height:100px;
	}
	.navimain2 {
		height:100px;
	}
	.navimain2 li {
		width:33.33333%;
	}
	.navimain2 li.big {
		width:100%;
		border-top: 1px solid #3f2e22;
		border-left: 0px solid #3f2e22;
	}
}
.navimain2 li:hover {
	background-color: #f2ece1;
}
.navicolor {
	color: rgba(63,46,34,1.00);
	border-left: 1px solid #3f2e22;
}
.navicolor a {
	color: rgba(63,46,34,1.00);
	text-decoration: none;
}
.navicolor a:hover{
	color: rgba(63,46,34,0.5)
}
.noborder {
	border-left: 0px solid #3f2e22;
}








	
#content1{
	box-sizing:border-box;
	background-color:#FFF;
	width:100%;
	height:auto;
	text-align:center;
	position: relative;
	float:left;
}





#content2{
	box-sizing:border-box;
	width:100%;
	height:20px;
	position:relative;
	text-align:center;
	float:left;
	overflow:hidden;
	background-color: #ddd0b6;
}
.timeImg {
	width: 100%;
	max-width: 1000px;
	height: auto;
	margin: 0 auto;
}
.timeImg img{
	width: 100%;
	height: auto;
	display: block;
}










#content3{
	box-sizing:border-box;
	background-color:#FFFFFF;
	width:100%;
	height:auto;
	position:relative;
	padding:30px 30px 0 30px;
	text-align:center;
	float:left;
	overflow:hidden;
}
.mainBox {
	box-sizing:border-box;
	width:100%;
	max-width:1000px;
	height:auto;
	position:relative;
	margin:0 auto;
}
.Boxtitle {
	width:100%;
	font-size:32px;
	color:#3f2e22;
	text-align:left;
	letter-spacing:2px;
	padding-top: 30px;
	margin-bottom:20px;
	float:left;
}
.naiyou {
	width:100%;
	max-width:1000px;
}

.naiyouli {
	float:left;
	margin-right:40px;
	margin-bottom:20px;
	white-space:nowrap;
	list-style: none;
	color: #333;
	font-size: 16px;
}
.osirase {
	width:100%;
	max-width:1000px;
	float:left;
	padding-left: 40px;
	color: #333;
	font-size: 16px;
	text-align: left;
}

@media screen and (max-width: 479px) { 
.Boxtitle {
	font-size:26px;
}
.naiyou {
	padding-left: 10px;
}
.naiyouli {
	margin-right:20px;
	font-size: 14px;
}
.osirase {
	padding-left: 10px;
	margin-right:20px;
	font-size: 14px;
}

}












#content4{
	box-sizing:border-box;
	background-color:#FFFFFF;
	width:100%;
	height:auto;
	position:relative;
	padding:30px 30px 0 30px;
	text-align:center;
	float:left;
	overflow:hidden;
}
.timeBox {
	box-sizing: border-box;
	width: 100%;
	max-width: 1000px;
	height: auto;
	font-size: 14px;
}
.timeBox1 {
	box-sizing: border-box;
	width: 28%;
	height: auto;
	background-color: #ddd0b6;
	float: left;
	border: 1px solid #3f2e22;
	padding: 5px;
	color: #3f2e22;
	text-align: left;
	
}
.timeBox2 {
	box-sizing: border-box;
	width: 12%;
	height: auto;
	background-color: #ddd0b6;
	float: left;
	border: 1px solid #3f2e22;
	border-left: 0px solid #3f2e22;
	padding: 5px;
	color: #3f2e22;
	text-align: center;
	letter-spacing: -3px;
}
.timeBox3 {
	color: #333;
	background-color: #FFF;
	border-top: 0px solid #3f2e22;
	font-size: 28px;
	line-height: 50px;
	height: 60px;
}
.timefont {
	font-size: 21px;
	line-height: 21px;
	text-align: center;
	padding-top: 5px;
}
.timefont2 {
	font-size: 14px;
}
.BoxDescription {
	box-sizing:border-box;
	width:100%;
	height:auto;
	font-size:14px;
	line-height:24px;
	color:#333;
	float:left;
	margin:10px 0;
	text-align: left;
}

@media screen and (max-width: 799px) { 
.timefont {
	font-size: 16px;
}
.timefont2 {
	font-size: 12px;
}
.timeBox3 {
	font-size: 24px;
}
}
@media screen and (max-width: 479px) { 
.timeBox1 {
	width: 34%;
	font-size: 10px;
	padding-left: 0px;
	padding-right: 0px;
}
.timeBox2 {
	width: 11%;
	font-size: 10px;
	padding-left: 0px;
	padding-right: 0px;
}
.timeBox3 {
	padding-left: 0px;
	padding-right: 0px;
}
.timefont {
	font-size: 12px;
}
.timefont2 {
	font-size: 10px;
}
.timeBox3 {
	font-size: 18px;
}
}













#content5{
	box-sizing:border-box;
	background-color:#FFFFFF;
	width:100%;
	height:auto;
	position:relative;
	padding:30px 30px 0 30px;
	text-align:center;
	float:left;
	overflow:hidden;
}
.timeImg2 {
	box-sizing:border-box;
	width: 100%;
	max-width: 1000px;
	height: auto;
	margin: 0 auto;
}
.timeImg2 img{
	width: 100%;
	height: auto;
	display: block;
	border: 20px solid #ddd0b6;
}
.textright{
	text-align: right;
}
.googlebtm {
	box-sizing:border-box;
	width: 100%;
	height: auto;
	background-color: #ddd0b6;
	font-size: 18px;
	color: #3f2e22;
	text-align: center;
	float: left;
	padding: 10px 0;
	margin-bottom: 20px;
	border: 2px solid #ddd0b6;
}
.googlebtm:hover {
	background-color: #FFF;
}

@media screen and (max-width: 479px) { 
.timeImg2 img{
	border: 5px solid #ddd0b6;
}
}








#footter {
	box-sizing:border-box;
	background-color:#ddd0b6;
	width:100%;
	height:60px;
	line-height: 60px;
	float: left;
	margin-top: 20px;
}
.footTitle {
	width:100%;
	font-size:12px;
	color: #3f2e22;
	text-align:center;
	letter-spacing:0px;
	position: relative;
}
@media screen and (max-width: 499px) { 
.footTitle {
	font-size:10px;
}
}

@media screen and (max-width: 799px) { 
#content3, #content4, #content5 {
	padding:20px 10px 0 10px;
}
}





.brtab {
	display: none;
}
.brsp {
	display: none;
}
@media screen and (max-width: 650px) { 
.brtab {
	display: block;
}
}
@media screen and (max-width: 479px) { 
.brsp {
	display: block;
}
}


.red {
	color: #FF0000;
}

#toTop {
	width:100%;
	height:30px;
	text-align:center;
	float:left;
	position: relative;
}
.policyBox {
	box-sizing: border-box;
	width:150px;
	height: auto;
	position: relative;
	float: right;
	font-size:14px;
	color:#3f2e22;
	text-align:center;
	letter-spacing:1px;
	padding: 5px 10px;
	border-radius: 5px;
	border: 1px solid #3f2e22;
}
.policyBox:hover {
	background-color: #3f2e22;
	color: #FFF;
}
@media screen and (max-width: 799px) { 
.policyBox {
	font-size:12px;
	right: 10px;
	margin-top: 5px;
	}
}
@media screen and (max-width: 479px) { 
.policyBox {
	font-size:12px;
	right: 5px;
	float: left;
	margin-left: 20px;
	margin-top: 5px;
	}
}



/* =========================================================
   アイクリニック新船橋 追加スタイル（互仁会テーマ）
   ========================================================= */

/* セクション見出しに英字ラベル＆下線アクセント */
.Boxtitle {
    position: relative;
    border-bottom: 2px solid #ddd0b6;
    padding-bottom: 14px;
}
.Boxtitle:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 70px;
    height: 2px;
    background-color: #3f2e22;
}
.BoxtitleEn {
    font-size: 13px;
    letter-spacing: 3px;
    color: #b9a890;
    margin-left: 14px;
    font-weight: normal;
    vertical-align: middle;
}
@media screen and (max-width: 479px) {
    .BoxtitleEn { font-size: 11px; margin-left: 8px; }
}

/* セクションの上下余白を少し広げる */
#news, #content3, #content4, #content5 {
    box-sizing: border-box;
    background-color: #FFFFFF;
    width: 100%;
    height: auto;
    position: relative;
    padding: 30px 30px 0 30px;
    text-align: center;
    float: left;
    overflow: hidden;
}
#news { padding-top: 40px; }

/* ---- お知らせ（リニューアル） ---- */
.newsList {
    width: 100%;
    max-width: 1000px;
    margin: 6px auto 10px;
    padding: 0;
    list-style: none;
    text-align: left;
    float: left;
}
.newsItem {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    background: #fff;
    border: 1px solid #e7ddcb;
    border-left: 4px solid #3f2e22;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(63,46,34,0.06);
    padding: 22px 26px;
    margin-bottom: 16px;
    transition: box-shadow .2s ease, transform .2s ease;
}
.newsItem:hover {
    box-shadow: 0 6px 18px rgba(63,46,34,0.12);
    transform: translateY(-1px);
}
.newsMeta {
    flex: 0 0 130px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 2px;
}
.newsDate {
    font-size: 16px;
    font-weight: 700;
    color: #3f2e22;
    letter-spacing: 1px;
}
.newsTag {
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    padding: 6px 12px;
    border-radius: 999px;
    color: #fff;
    letter-spacing: 1px;
    white-space: nowrap;
}
.tagInfo   { background-color: #3f2e22; }
.tagChange { background-color: #b89067; }
.tagClosed { background-color: #c0673f; }

.newsBody { flex: 1 1 auto; min-width: 0; }
.newsTitle {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
}
.newsText {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: #555;
}
.newsText + .newsText { margin-top: 10px; }

.newsDetail {
    margin: 12px 0;
    background: #f6f1e8;
    border-radius: 6px;
    padding: 14px 18px;
}
.newsDl {
    display: flex;
    gap: 14px;
    margin: 0;
    padding: 7px 0;
}
.newsDl + .newsDl { border-top: 1px dashed #e6dcc9; }
.newsDl dt {
    flex: 0 0 116px;
    font-size: 13px;
    font-weight: 700;
    color: #3f2e22;
    background: #ddd0b6;
    border-radius: 4px;
    text-align: center;
    padding: 4px 0;
    height: fit-content;
}
.newsDl dd {
    flex: 1 1 auto;
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: #555;
}

@media screen and (max-width: 599px) {
    .newsItem { flex-direction: column; gap: 12px; padding: 18px; }
    .newsMeta { flex: 0 0 auto; width: 100%; flex-direction: row; align-items: center; gap: 12px; padding-top: 0; }
    .newsTitle { font-size: 16px; }
    .newsText { font-size: 14px; }
    .newsDl { flex-direction: column; gap: 6px; }
    .newsDl dt { flex: none; width: 130px; }
}

/* ---- 診療時間：木曜休診セル ---- */
.timeBox3.closed {
    color: #c9bca8;
    background-color: #f6f1e8;
}

/* ---- アクセス：地図 iframe ---- */
.timeImg2 iframe {
    width: 100%;
    height: 440px;
    display: block;
    border: 14px solid #ddd0b6 !important;
    border-radius: 4px;
    box-sizing: border-box;
}
@media screen and (max-width: 479px) {
    .timeImg2 iframe { height: 320px; border-width: 6px !important; }
}

/* ---- フッター（互仁会） ---- */
#footter {
    height: auto;
    line-height: normal;
    padding: 26px 20px 22px;
}
.footInner { text-align: center; margin-bottom: 14px; }
.footGroup {
    font-size: 18px;
    font-weight: 700;
    color: #3f2e22;
    letter-spacing: 3px;
    margin-bottom: 6px;
}
.footAddr {
    font-size: 13px;
    color: #7a6b58;
    letter-spacing: 0.5px;
}
@media screen and (max-width: 479px) {
    .footGroup { font-size: 16px; }
    .footAddr { font-size: 11px; }
}

/* ---- 診療時間テーブル：7列（月〜日）対応で再計算 ---- */
.timeBox1 { width: 23%; letter-spacing: 0; }
.timeBox2 { width: 11%; letter-spacing: 0; }
@media screen and (max-width: 799px) {
    .timefont { font-size: 14px; }
    .timefont2 { font-size: 10px; }
    .timeBox3 { font-size: 20px; }
}
@media screen and (max-width: 479px) {
    .timeBox1 { width: 23%; font-size: 9px; padding-left: 0; padding-right: 0; }
    .timeBox2 { width: 11%; font-size: 9px; padding-left: 0; padding-right: 0; }
    .timefont { font-size: 10px; line-height: 13px; }
    .timefont2 { font-size: 8px; }
    .timeBox3 { font-size: 15px; line-height: 44px; }
}

/* ---- ナビ：5項目（お知らせ/診療内容/診療日/アクセス + コンタクト大）を1行に ---- */
.navimain2 li { width: 15%; }
.navimain2 li.big { width: 40%; }
.navimain2 li span { font-size: 15px; }
@media screen and (max-width: 799px) {
    .navimain2 li span { font-size: 13px; letter-spacing: -0.5px; }
}
@media screen and (max-width: 499px) {
    #content0 { height: 100px; }
    .navimain2 { height: 100px; }
    .navimain2 li { width: 25%; }
    .navimain2 li.big { width: 100%; border-top: 1px solid #3f2e22; border-left: 0; }
    .navimain2 li span { font-size: 12px; }
}
@media screen and (max-width: 360px) {
    .navimain2 li span { font-size: 11px; }
}

/* ---- 院内のご案内（写真ギャラリー） ---- */
#clinic {
    box-sizing: border-box;
    background-color: #FFFFFF;
    width: 100%;
    height: auto;
    position: relative;
    padding: 30px 30px 0 30px;
    text-align: center;
    float: left;
    overflow: hidden;
}
.galleryRow {
    width: 100%;
    max-width: 1000px;
    margin: 8px auto 4px;
    display: flex;
    gap: 22px;
    float: left;
}
.galleryItem {
    flex: 1 1 0;
    margin: 0;
    background: #fff;
    border: 1px solid #e7ddcb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(63,46,34,0.08);
}
.galleryItem img {
    width: 100%;
    height: auto;
    display: block;
}
.galleryItem figcaption {
    font-size: 14px;
    color: #3f2e22;
    background: #f2ece1;
    padding: 10px 0;
    letter-spacing: 1px;
    font-weight: 500;
}
@media screen and (max-width: 599px) {
    .galleryRow { flex-direction: column; gap: 16px; }
    .galleryItem figcaption { font-size: 13px; }
}

/* ヒーロー写真の角を少しなじませる */
#content1 .timeImg img { display: block; }

/* =========================================================
   アイクリニック新船橋 テーマ
   ベース：ベージュ壁(#ddd0b6)＋ダークウッド(#3f2e22)
   アクセント：サイン照明のブルー(#3f97c4)
   ========================================================= */

:root{
    --acc-blue: #3f97c4;
    --acc-blue-d: #2f7da6;
    --acc-blue-l: #eaf4fa;
}

/* セクション英字ラベルをサインブルーに */
.BoxtitleEn { color: var(--acc-blue); }

/* 見出し下線アクセントもブルーに */
.Boxtitle:after { background-color: var(--acc-blue); }

/* ナビ：ホバーでブルー下線 */
.navimain2 li { position: relative; transition: background-color .2s ease; }
.navimain2 li:hover { background-color: #f1e9da; }
.navicolor:after{
    content:"";
    position:absolute;
    left:0; bottom:0;
    width:100%; height:3px;
    background:var(--acc-blue);
    transform:scaleX(0);
    transition:transform .2s ease;
}
.navimain2 li:hover.navicolor:after{ transform:scaleX(1); }

/* お知らせ：日付・左ボーダー・「お知らせ」タグをブルーに */
.newsDate { color: var(--acc-blue-d); }
.newsItem { border-left-color: var(--acc-blue); }
.tagInfo  { background-color: var(--acc-blue); }

/* 診療内容リストにブルーのドットを付与 */
.naiyouli{
    position:relative;
    padding-left:4px;
}

/* アクセス地図・ギャラリー枠はベージュのまま、キャプションにブルー差し色 */
.galleryItem figcaption{
    color:#3f2e22;
    border-top:3px solid var(--acc-blue);
}

/* プライバシーポリシーボタン：ホバーでブルー */
.policyBox:hover{
    background-color: var(--acc-blue);
    border-color: var(--acc-blue);
    color:#FFF;
}

/* 電話番号リンクの色味を引き締め */
.headtel, .headtel2 { color:#3f2e22; }
