/* レジデンシャルケア徳川町ホームページ基本設定 */

@import url('https://fonts.googleapis.com/icon?family=Material+Icons');/* Googleアイコン */

/* 基本 */


/*初期化------------------------------------------------ */


body,div,pre,p,
form,fieldset,input,textarea,select,option,
dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,p,
embed,object {
	margin: 0;
	padding: 0;
	vertical-align: baseline;

}


p {
	line-height: 2;
	margin-bottom: 1.5em;
}

BODY {
background-image : url('img/bg1.gif');
background-attachment: fixed;
background-position:0% 0%;
background-repeat: no-repeat;
background-color: #fff9e5;
scrollbar-track-color:#fff9e5;
margin:0;
}

body,caption,tr,td,th{
font-size: 92%;
color:#55492a;
line-height: 126%;
letter-spacing: 1px;/* 文字間隔 */
}


/* スクロールバーのズレ対策 */
*html body {overflow-y:auto;/*IE6だけに適用*/}

*+html body {overflow-y:auto;/*IE7だけに適用*/}

html{	overflow-y:scroll;
	overflow-x:hidden;　/* 横スクロールなし */}


/* ■■■ヘッダー■■■ */



/* ■■■テーブル■■■ */

/* テーブルとセルの線を細くする */

table,td {
	border-collapse:collapse;
	border-color:#bbb;
	}
.table1{width : 800px;margin:15px;}	
/* テーブルとセルの線を細くする（暗い罫線も同じ色になるように） */
.table1,.table1 td,.table1 th {
	border-collapse:collapse;
	border:1px #bbb solid;
	}
.table1 td{padding:5px;text-align:center;}
/* ヘッダーセル */
.table1 th {padding:6px;
	border-collapse:collapse;
	background-color:#006600;
	font-weight:400;color: #ffffff;
	}

.gray_bg{background-color:#f8f4f3;}
.green_bg{background-color:#bbccaa;}

table.kaigyo td{line-height:1.9;}

/* リンク */

A:Link,A:Visited{
	color : #00557c;
	text-decoration : none;}
a:hover{color : #4664a2;}

/* トップページのリンク部分 */
A.menu:Link,A.menu:Visited{
background-image : url('img/mb.gif');
	color : #646c68;
	text-decoration : none;
width : 180px;
padding :0px 0px 1px 26px;
}
a.menu:hover{
	color : #000000;
background-image : url('img/mb2.gif');
padding :0px 26px 1px 0px;
text-align: right;
}



/*メニュー
---------------------------------------------------------------------------*/
/*メニューブロックの設定*/
.menu-td{background-color:#ffeea6;height : 75px;text-align:center;}

.menu_bar {padding:7px 0 0 10px;overflow:hidden;
  text-transform: uppercase;
  font-weight: bold;
}
.menu_bar * {
  box-sizing: border-box;
}
.menu_bar li { height : 35px;
  display: inline-block;font-size: 120%;
  list-style: outside none none;
  margin: 0 ;
  position:relative;
  padding: 6px 20px 0 23px;
}

.menu_bar li:before{/*◇ */
  content:"";
  display:block;
  width:7px;
  height:7px;
  border:2px solid #F64F28;
  position:absolute;
  top:8px;
  left:5px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.menu_bar a {background-color:#ffeea6;
  padding:0;
  color: rgba(0, 0, 0, 0.5);
  position: relative;
  text-decoration: none;
}
.menu_bar a:before,
.menu_bar a:after {
  position: absolute;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
.menu_bar a:before {/* 下線 */
    bottom: 0;
  display: block;
  height: 2px;
  width: 0%;
  content: "";
  margin-bottom: -4px;
  background-color: #F64F28;
}
.menu_bar a:after {/* 文字 */
  left: 0;
    bottom: 0;
  padding: 0.2em 0;
  position: absolute;
  content: attr(data-hover);
  color: #333;
  white-space: nowrap;
  max-width: 0%;
  overflow: hidden;
}
.menu_bar a:hover:before,
.menu_bar .current a:before {
  opacity: 1;
  width: 100%;
}
.menu_bar a:hover:after,
.menu_bar .current a:after {
  max-width: 100%;
}

img{ border:0;}

/* 見出し */

h1           {
font-size: 16px;
border : solid #006600;
padding : 4px 0px 2px 10px;
border-width : 1px 0px 1px 1px;
margin : 0px 0px 0px 0px;
width : 100%;
background-color:#55b687;
filter: Alpha( Opacity=0, FinishOpacity=100, Style=1, StartX=100, FinishX=40, StartY=100, FinishY=100);
color: #FFFDF4;

}

h2           { 
font-size: 18px;
background : #fff url('img/titl_bg.gif') no-repeat;
padding: 18px 0 0 0;
width : 240px;
height : 50px;
color: #FFFDF4;
text-align: center;
 }


h3           {
	font-size:16px;
background-image: url('img/h3_bg.gif');
background-repeat: no-repeat;
	padding:3px 25px;
height : 30px;
margin : 20px 0px 0px 10px;
	letter-spacing:1px;}
h4 {
font-size: 120%;
  background:#7bc4a0;
  padding:10px;margin:15px 0;
  border:2px solid #fff;color: #ffffff;
  -webkit-box-shadow: 0 0 0 3px #7bc4a0;
  -moz-box-shadow: 0 0 0 3px #7bc4a0;
  box-shadow: 0 0 0 3px #7bc4a0;
}


h5{font-size: 110%;
  position:relative;
  padding:5px 25px;
  border-bottom:3px solid #ff6c00;
}
h5:before{
  content:"";
  display:block;
  width:7px;
  height:7px;
  border:2px solid #ff6c00;
  position:absolute;
  top:8px;
  left:3px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

h6           {background-color:orange;
font-size: 16px;
margin-bottom:0px;
padding-top:7px;
padding-left:25px;
color:#ffffff;
width : 413px;
height : 29px;
font-weight: bold; }


/*Googleアイコンを使ったメニュー　@import url('https://fonts.googleapis.com/icon?family=Material+Icons');←このようにGoogleアイコンをインポートする */
/*---------------------------------------------------------------------------*/
#menu7{padding:0 10px;display:block;overflow:hidden;/*回り込みを回避*/line-height:2;}
#menu7 ul {margin:0 0 15px 15px;}
/*メニュー１個ごとの設定*/
#menu7 ul li {margin:0 5px;border-bottom: dotted 1px #ccc;/*下の線の線種、幅、色*/
	position: relative;padding-left:12px;
	display: block;}
#menu7 ul li a {
	text-decoration: none;
	padding: 3px 10px;	/*上下、左右へのメニュー内の余白*/
}
#menu7 ul li::before{content: "pets"; font-family: 'Material Icons';font-size:120%;color: #c00;
	vertical-align: middle;margin:0 0 0 0;
position: absolute;
	top: -2px;
	left: -10px;
}

/* Material iconsを利用する（個別に利用する場合） */
.material-icons {
	font-family: 'Material Icons';
	font-weight: normal;
	font-style: normal;
	color: #0c6fbd;
	font-size: 24px;  /* 推奨サイズ */
	display: inline-block;
	width: 1em;
	height: 1em;
	line-height:1;
	text-transform: none;
vertical-align : top;
margin:0 5px 0 20px;
  /* WebKitブラウザサポート */
  -webkit-font-smoothing: antialiased;
  /* Chrome、Safariサポート */
  text-rendering: optimizeLegibility;
  /* Firefoxサポート */
  -moz-osx-font-smoothing: grayscale;
  /* IEサポート */
  font-feature-settings: 'liga';}

/* 背景下一列 */
.sitaichi{
background-image : url("img/sitaichi.gif");
background-position:0% 100%;
background-repeat: no-repeat;
height : 120px;
}

/* 濃色背景セルなど */
.mojibb {font-size: 13px;color: #FFFDF4}
.mojiao {font-size: 14px;color: #3a5593; line-height: 125%}



/* 左上の画像 */

.bg_hidariue
{background-image : url('img/bg1.gif');
background-attachment: fixed;
background-position:0% 0%;
background-repeat: no-repeat;
}

/* 右下の画像 */
.bg_migisita
{background-image : url('img/bg3.gif');
background-attachment: fixed;
background-position:100% 100%;
background-repeat: no-repeat;
}
.bg_migisita2
{background-image : url('img/image_top.jpg');
background-attachment: fixed;
background-position:100% 100%;
background-repeat: no-repeat;
}

/* 右上の画像 */
.bg_migiue
{background-image : url('img/bg2.jpg');
background-attachment: fixed;
background-position:100% 0%;
background-repeat: no-repeat;
background-color: #136bb3;
}

/* 左下の画像 */
.bg_hidarisita
{background-image : url('img/read_bg.jpg');
background-attachment: fixed;
background-position:0% 100%;
background-repeat: no-repeat;
}
/* タイトル */

.hyo_titl {
background-image: url('img/titl_bg.gif');
background-repeat: no-repeat;
width : 300px;
height : 38px;
letter-spacing: 2px;
padding-left: 40px;
padding-top: 7px;
font-size: 17px;
color:#4c5f4b;
font-weight: bold;

}

/* 配置 */

/* 回り込み解除 */
.cb {
	clear:both;
	}
	
/* 右寄せ */
.haiti_right {
	text-align:right;
	}
	
/* 左寄せ */
.haiti_left {
	text-align:left;
	}

.haiti_left_float {
	float:left;
	}
	
/* 文字のセンタリング */
.haiti_cent {
	text-align:center;
	margin:0 auto;
	}

/* 上付 */
.haiti_top {
	vertical-align:top;
	}
	
/* 下付 */
.haiti_bottom {
	vertical-align:bottom;
	}
	
/* 改行しない */
.nowrap {
	white-space:nowrap;
	}

.w100{width : 100%;}
/* 表の枠 */


.hyo_uesita {
border-top:1px solid #bba78e; 
border-bottom:1px solid #bba78e; 

}
.hyo_sayu {
border-right:1px solid #bba78e; 
border-left:1px solid #bba78e; 
}
.hyo_migi {
border-right:1px solid #bba78e; 

}

.hyo_sita {
border-bottom:1px solid #bba78e; 

}
.hyo_ue {
border-top:1px solid #bba78e; 

}
.hyo_hidari {
border-left:1px solid #bba78e; }

.hyo_kakomi {
border-top:1px solid #bba78e; 
border-bottom:1px solid #bba78e; 
border-right:1px solid #bba78e; 
border-left:1px solid #bba78e; 

}
/* 問い合わせ部分 */
.sub {
	font-size: 12px;
	color: #666666;
	padding-left: 10px;
	background-color: #fffcc4;}
input{	padding: 7px;}


input,textarea {	padding: 7px;
	border-top:1px solid #d4d0c8;
	border-bottom:1px solid #d4d0c8;
	border-left:1px solid #d4d0c8;
	border-right:1px solid #d4d0c8;
	background-color: #fff9e5;
	font-size: 12px;
	color: #666666;

}
.btn {
	border-top:1px solid #ffffff;
	border-bottom:1px solid #ffffff;
	border-left:1px solid #ffffff;
	border-right:1px solid #ffffff;
	background-color: #ffffff;

}


/*グラデーション*/
.filt_hk{
filter: Alpha( Opacity=0, FinishOpacity=100, Style=1, StartX=100, FinishX=0, StartY=100, FinishY=100);
}

/*グラデーション右濃*/
.filt_mk{
filter: Alpha( Opacity=0, FinishOpacity=100, Style=1, StartX=0, FinishX=100, StartY=100, FinishY=100);
}

/*グラデーション上濃*/
.filt_uk{
filter: Alpha( Opacity=0, FinishOpacity=100, Style=1, StartX=100, FinishX=100, StartY=100, FinishY=0);
}
/*グラデーション下濃*/
.filt_sk{
filter: Alpha( Opacity=0, FinishOpacity=100, Style=1, StartX=100, FinishX=100, StartY=0, FinishY=100);
}

/* 濃色背景セルなど */

.mojibb {font-size: 13px;color: #dadaa5}


/* 改行 */
.kaigyo140{
line-height: 1.7}

.kaigyo_siro{
line-height: 150%;
color: #FFFDF4}


/* 水平線 */

hr {border-style: dotted;
margin-bottom:3px;
margin-top:3px;
color:#7d5b51;}

/* インデント */

blockquote{margin-bottom:0px;
margin-top:0px;}


/* 左寄せ画像回り込み終了タグ */
.pict {
	float:left;
	margin:2px 5px 1px 0;
	padding:5px;
	}
	
/* 右寄せ画像 */
.pict_r {
	float:right;
	margin:2px 5px 1px 0;
	padding:5px;
	}

/* コピーライト */

.copy{font-size:10px;
	font-family: Verdana;
color:#6c7046;}

/* レジデンシャルケア */
