@charset "utf-8";
/*
Theme Name: 石巻法人会
Theme URI: http://
Description: 石巻法人会専用デザイン。
Author: lampworks
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags: 
*/

@charset "utf-8";
/* CSS Document */

* {
	margin: 0;
	padding: 0;
}
 
body {
	font-family: Verdana, sans-serif;
	background-color: #FFFFFF;
	height: 100%;
}

#bg{
	width: 941px;
	background-image: url(images/bg_wallpaper.jpg);
	background-repeat: repeat-y;
	margin: 0 auto 0;
}

#container{
	width: 900px;
}

#header{
	margin-left: 20px;
}

h1{
	margin: 0;
	font-size: 8pt;
	height: 20px;
	background-color: #007DBD;
	width: 895px;
	padding: 7px 0 0 7px;
	color: #FFF;
}

h2{
	margin: 0 0 0 8px;
	background-image: url(images/logo_houjin.jpg);
	width: 879px;
	height: 112px;
	text-indent:100%;
	white-space:nowrap;
	overflow:hidden;
}


h3{
	background-image: url(images/bg_title.jpg);
	background-repeat: no-repeat;
	width: 619px;
	height: 41px;
	padding: 13px 0 0 10px;
	font-size: 12pt;
	color: #FFF;
	margin: 7px 0 0 0;
}

h4{
	border-bottom: 2px solid #F90;
	font-size: 10pt;
	padding: 3px 0 3px 5px;
	width: 590px;
	margin: 7px 0 5px 10px;
}


#content{
	width: 640px;
	float: right;
	margin: 15px 5px 0 0;
}


#content p{
	font-size: 11pt;
	margin: 0;
	padding: 0 10px 10px 10px;
}

#content ul{
	margin: 0 0 0 20px;
}

#content li{
	font-size: 11pt;
	line-height: 180%;
	list-style-type: none;
	background-image: url(images/list-img.gif);
	background-repeat: no-repeat;
	background-position: 0 2px;
	padding-left: 15px;
}

#content .g_yotei table{
		width: 630px;
		font-size: 10pt;
		border-collapse: collapse;
}

#content .g_yotei table th{
	padding: 3px;
	background-color: #FFFF99;
	border: 1px solid #CCC;
}

#content .g_yotei table td{
	padding: 3px;
	background-color: #FFF;
	border: 1px solid #CCC;
}


#content .s_ta table{
		/*
		width: 630px;
		*/
		font-size: 10pt;
		border-collapse: collapse;
}

#content .s_ta table th{
	padding: 3px;
	background-color: #FFFF99;
	border: 1px solid #CCC;
}

#content .s_ta table td{
	padding: 3px;
	background-color: #FFF;
	border: 1px solid #CCC;
	text-align: left;
}




#content a:link{
	color: #0066FF;
	text-decoration: none;
}
#content a:visited{
	color: #0066FF;
	text-decoration: none;
}
#content a:hover{
	color: #FF9933;
	text-decoration: none;
}

.p_list {
	font-size: 80%;
	padding: 10px 0 0 20px;
	width: 610px;
	height: 25px;
	margin: 0 0 20px 0;
	font-size: 10pt;
	background-color: #CCC;
}

.p_list a:link {
	color: #6699FF;
	text-decoration: none;
}

.p_list a:visited {
	color: #6699FF;
	text-decoration: none;
}

.p_list a:hover {
	color: #FF9933;
	text-decoration: underline;
}

.u_top{
	text-align: right;
	padding: 0 10px 0 0;
	font-size: 10pt;
	margin: 10px 0 5px 0;
	font-weight: bold;
}

.page_next{
	text-align: right;
	padding: 0 10px 0 0;
	font-size: 10pt;
}

#pan{
	width: 610px;
	height: 25px;
	padding: 10px 0 0 20px;
	margin: 0 0 20px 0;
	font-size: 10pt;
	background-color: #CCC;
}

dl.info dt {
  clear: left;
  float: left;
  margin: 0 0 0.8em;
  width: 7.5em;
  border-left: solid 8px #CCC;
  padding-left: 5px;
  color: #000;
  font-size: 10pt;
}

dl.info dd {
  margin-bottom: 0.8em;
  margin-left: 7.5em;
  font-size: 10pt;
}



#sidebar{
	width: 200px;
	float: left;
	margin: 15px 0 0 30px;
}

#sidebar p{
	background-image: url(images/bg_button.jpg);
	background-repeat: no-repeat;
	width: 200px;
	height: 50px;
	font-size: 11pt;
	font-weight: bold;
	padding: 17px 0 0 30px;
	margin: 0;
}

#sidebar ul{
	margin: 0 0 0 10px;
	padding: 0;
}

#sidebar li{
	padding: 0 0 5px 10px;
	margin: 0 0 5px 0;
	font-size: 11pt;
	width: 180px;
	border-left: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	list-style-type: none;
	font-size: 10pt;
}

#sidebar .e-tax{
		width: 180px;
		text-align: left;
		font-size: 11px;
		margin: 0 10px 0 10px;
}

#sidebar a:link{
	color: #0066FF;
	text-decoration: none;
}
#sidebar a:visited{
	color: #0066FF;
	text-decoration: none;
}
#sidebar a:hover{
	color: #FF9933;
	text-decoration: none;
}

#sidebar li a{
	display: block;
	
}


.e_tax p.area{
	width: 175px;

}

/*
#sidebar dl{
	margin: 0;
	padding: 0;
}

#sidebar dt{
	background-image: url(images/bg_button.jpg);
	background-repeat: no-repeat;
	width: 200px;
	height: 50px;
	font-size: 11pt;
	font-weight: bold;
	padding: 18px 0 0 30px;
	margin: 0;
}

#sidebar dd{
	padding: 0 0 0 10px;
	margin: 0;
	font-size: 11pt;
}
*/

#foot{
	clear: both;
	margin: 38px 0 0 22px;
	padding: 0 0 0 50px;
	width: 850px;
	height: 151px;
	background-image: url(images/footer_img.jpg);
	background-repeat: no-repeat;
	border-top: 1px solid #CCC;
}



.menu{
	font-size: 10pt;
	width: 680px;
	margin-left: auto;
	margin-right: auto;
}

.menu ul{
	margin: 0;
	padding: 0;
}

.menu li{
	list-style-type: none;
	float: left;
}

.menu li a{
	display: block;
	width: 120px;
	line-height: 25px;
	border-right: solid 1px #CCC;
	text-align: center;
	text-decoration: none;
}

.menu li.first a{
	border-left: solid 1px #CCC;
}

.menu li a:hover{
	background-color: #bbfdb5;
}

address{
	font-style: normal;
	font-size: 10pt;
	padding: 126px 0 10px 10px;
	vertical-align: 150%;
	text-align: center;
	color: #FFF;

}

/**
 * 5.4 Galleries
 * ----------------------------------------------------------------------------
 */

.gallery {
	margin-bottom: 20px;
	margin-left: -4px;
}

.gallery-item {
	float: left;
	margin: 0 4px 4px 0;
	overflow: hidden;
	position: relative;
}

.gallery-columns-1.gallery-size-medium,
.gallery-columns-1.gallery-size-thumbnail,
.gallery-columns-2.gallery-size-thumbnail,
.gallery-columns-3.gallery-size-thumbnail {
	display: table;
	margin: 0 auto 20px;
}

.gallery-columns-1 .gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item {
	text-align: center;
}

.gallery-columns-4 .gallery-item {
	max-width: 23%;
	max-width: -webkit-calc(25% - 4px);
	max-width:         calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
	max-width: 19%;
	max-width: -webkit-calc(20% - 4px);
	max-width:         calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
	max-width: 15%;
	max-width: -webkit-calc(16.7% - 4px);
	max-width:         calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
	max-width: 13%;
	max-width: -webkit-calc(14.28% - 4px);
	max-width:         calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
	max-width: 11%;
	max-width: -webkit-calc(12.5% - 4px);
	max-width:         calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
	max-width: 9%;
	max-width: -webkit-calc(11.1% - 4px);
	max-width:         calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
	margin-right: 0;
}

.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),
.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) {
	clear: left;
}

.gallery-caption {
	background-color: rgba(0, 0, 0, 0.7);
	box-sizing: border-box;
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
	margin: 0;
	max-height: 50%;
	opacity: 0;
	padding: 2px 8px;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: left;
	-webkit-transition: opacity 400ms ease;
	transition:         opacity 400ms ease;
	width: 100%;
}

.gallery-caption:before {
	box-shadow: 0 -10px 15px #000 inset;
	content: "";
	height: 100%;
	min-height: 49px;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}

.gallery-item:hover .gallery-caption {
	opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}
