* {
	margin: 0;
	padding: 0;
	font-style: normal;
	font-weight: normal;
	font-size : 100%;
}



body {
    font-family: "ＭＳ Ｐ明朝", "細明朝体", "ヒラギノ明朝 Pro W3";
	font-size: 90%;
	line-height: 200%;
	color: #666666;
    margin: 0;
	height: 100%;
    text-align: center;
}


div#photo_box{ width: 900px; margin: 0 auto;}



div.top_menu{ text-align: center;}

div.photo_title{ margin-left: 170px; width: 410px; text-align: center;}



.clearfix:after {
	content: "."; 
	display: block; 
 	height: 0; 
 	clear: both; 
 	visibility: hidden;
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

#menu {
	font-size: 10px;
	font-weight: normal;
	color: #999999;
	letter-spacing: 0.3em;
	width: 900px;
	margin: 3px 0 40px 70px;
    text-align: left;
}

* html #menu{ width: 830px; margin: 3px 0 40px 70px; }


#menu a:link { color: #999999;text-decoration: none }
#menu a:visited { color: #667699;text-decoration: none }
#menu a:hover { color: #CC6666; text-decoration: none }





a:link { color: #999999; }
a:visited { color: #667699; }


#header{
	background: url(images/header.png) no-repeat;
	border: 0;
	text-align: center;
	width: 900px;
	margin: 0 auto;
	height:250px;
}

#header_bg{
         text-align: right;
         width: 270px;
}



#title {
	vertical-align: bottom;
	text-align: right;
         height: 100px;
}


.blog_discription {
	text-align: left;
}


#contener {
	border: none;
	width: 900px;
    clear: both;
    margin: 0 auto;
	text-align: center;
}

#footer {
	height: 110px;
	width: 900px;
    clear: both;
    margin: 0 auto;
	text-align: right;
}

/*ギャラリー中ページ*/

.g_titlebox {
	width: 500px;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	clear: both;
}
.categry_name{
	font-size: 180%;
	color: #CC6666;
	letter-spacing: 0.2em;
	vertical-align: top;
	padding-top:15px;
	padding-right: 15px;
	padding-left: 15px;
	width: 462px;
	background: url(images/ribon_center_s.png) repeat-x top;
}
.g_titlelink { font-size: 0.8em; }
.title_icon1{ vertical-align: middle; }
.title_icon2 { text-align: center; }


.imgtitle { float: none; margin-top: 10px; }


#garelly_box {
 	padding: 10px 0 30px 0;
 	margin: 0 auto;
	margin-top: 30px;
 	clear: both;
 	width: 795px;
        text-align: left;
}
/*\*/* html #garelly_box{ overflow: visible; height:1px; }/**/


/*写真のフレーム1---------------------------------------------------------------*/

.table_01 {
     width: auto;
     float: left;
     margin-right: 54px
  
}
.td_imgbox { padding: 20px; }
.td_l { background: url(images/2pict_middle_right.png) repeat-y right; width: 37px; }
.td_l_kado { background: url(images/2pict_middle_right.png) repeat-y right; width: 37px; vertical-align: top; height: 41px; }
.td_r { background: url(images/2pict_middle_left.png) repeat-y; width: 40px; }
.td_r_kado { background: url(images/2pict_middle_left.png) repeat-y;width: 40px; vertical-align: top; height: 41px; }
.tb_h { background: url(images/2pict_header.png) repeat-x top; height: 41px; }
.tb_f { background: url(images/2pict_footer.png) repeat-x; height: 37px; }


/*写真のフレーム2---------------------------------------------------------------*/

.table_02 {
         clear: both;
         float: right;
         margin-left: 54px;
         width: auto;
}

.td_l_02 { background: url(images/pict_middle_left.png) repeat-y left; width: 38px; }
.td_l_02kado { width: 38px; height: 39px; text-align: right; }
.td_r_02 { background: url(images/pict_middle_right.png) repeat-y right; width: 38px; }
.td_r_02kado { width: 38px; height: 39px; }
.tb_h_02 { background: url(images/pict_header.png) repeat-x left top; height: 37px; }
.tb_f_02 { background: url(images/pict_footer.png) repeat-x left top; height: 39px; }

img { margin: 0px; }

/*文字の場所---------------------------------------------------------------*/

.word {
     text-align: left;
     width: auto;
     margin-top: 0px;
     float: left;
     margin-right: 0px;
     margin-left: 0px;
      background-image: url(images/g_ward_middle.png);
      background-repeat: no-repeat;
      background-position: left 39px;
}
html:first-child .word, *+html:first-child body .word {
      text-align: left;
      width: auto;
      float: left;
      margin-right: 0px;
      margin-left: 0px;
      background-image: url(images/g_ward_middle.png);
      background-repeat: no-repeat;
      background-position: left 39px;

}
html>/**/body .word {
     text-align: left;
     width: 272px;
     float: left;
     margin-right: 0px;
     margin-left: 0px;
      background-image: url(images/g_ward_middle.png);
      background-repeat: no-repeat;
      background-position: left 39px;

}

         
.word2{
     text-align: left;
     width: auto;
     float: right;
     background-image: url(images/g_ward_middle.png);
     background-repeat: no-repeat;
     background-position: left 39px;

}

html:first-child .word2, *+html:first-child body .word2{
     text-align: left;
     width: auto;
     float: right;
     margin-right: 0px;
     margin-left: 0px;
     background-image: url(images/g_ward_middle.png);
     background-repeat: no-repeat;
     background-position: left 39px;　　　
}
html>/**/body .word2 {
     text-align: left;
     width: 272px;
     float: right;
     margin-right: 0px;
     margin-left: 0px;
     background-image: url(images/g_ward_middle.png);
     background-repeat: no-repeat;
     background-position: left 39px;
}
.w_header {
	background-image: url(images/g_ward_header.png);
	background-repeat: repeat-x;
	background-position: right top;
	text-align: left;
	vertical-align: middle;
	
}

.w_middle {
	background-image: url(images/g_ward_middle.png);
	background-repeat: repeat-y;
	padding-right: 20px;
	padding-left: 20px;
}
.nametext{
	float: left;
	clear: none;
}
.w_name {
	font-size: 18px;
	color: #666666;
	text-align: left;
}
.w_age {
	font-size: 12px;
	color: #999999;
	margin-left: 10px;
	text-align: left;    
         
}
.w_left{
	background-image: url(images/g_ward_middle.png);
	background-repeat: repeat-y;
	background-position: left top;
}
.w_right {
	background-image: url(images/g_ward_right.png);
	background-repeat: repeat-y;
	background-position: left;
	text-align: justify;
	width: 18px;
	vertical-align: top;
}
.w_footer {
	margin: 0px;
	background-image: url(images/g_ward_footer.png);
	background-repeat: repeat-x;
	background-position: right top;
	padding: 0px;
	width: auto;
	text-align: left;
	vertical-align: top;
    height: 38px;
}
#line1, 
#line2, 
#line3 {
    margin: 20px auto;
    width: 80%;
    clear: both;
    float: none;
    background: center no-repeat;
    height: 91px;
}

#line1{ background: url(images/line_1.png); }
#line2{ background: url(images/line_2.png); }
#line3{ background: url(images/line_3.png); }

#page_end {
	margin: 20px auto;
	width: 500px;
	height: 33px;
	clear: both;
	text-align: center;
}

td.prev {
	margin-top: 10px;
}
td.next {
	margin-top: 10px;
}

td.top {
	margin-top: 10px;
	text-align: center;
}
