/*
Theme Name: WP-Andreas01
Theme URI: http://andreasviklund.com/wordpress-themes/
Description: Updated for WordPress v2.6, now supporting tags, gravatars and other useful features. Originally based on the classic <a href="http://andreasviklund.com/templates/andreas01/">andreas01 CSS template</a>. Valid XHTML 1.0 Strict and CSS. Public domain.
Version: 2.0
Author: Andreas Viklund
Author URI: http://andreasviklund.com/
Tags: 2 columns, 3 columns, white, widgets, fixed width, 800px, andreas
*/

/* Body */
* {margin:0; padding:0;}
body {background:#f4f4f4 url(img/bg.gif) top center repeat-y; color:#303030; font:85% Osaka, "メイリオ", "ＭＳ Ｐゴシック", "ヒラギノ角ゴ Pro W3",sans-serif;}
#wrap {background-color:#fff; color:#333; margin:0 auto; width:760px;}

/* Links */
a {background-color:inherit; color:#286ea0; font-weight:bold; text-decoration:none;}
a:hover {background-color:inherit; color:#286ea0; font-weight:bold; text-decoration:underline;}
a img {border:0;}

/* Header */
#header {
	margin:10px 0 0;
	padding-bottom: 10px;
}
#header h1 {background-color:inherit; color:#555; font-size:2em; letter-spacing:-1px; margin:0 0 10px; 	display: block;
	height: 44px;
	width: 354px;
	background-image: url(img/site_id.gif);}
#header h1 a {
	color:#555;
	text-decoration:none;
	background-repeat: no-repeat;
	display: block;
	height: 44px;
	width: 354px;
	text-indent: -9999pt;
}
#header p {background-color:inherit; color:#777; font-size:1.1em; font-weight:bold; line-height:1.3em; margin:6px 0 0; text-align:left; width:400px;}

#header p.description {
	display:block;
	}
 
#frontphoto {
	background-image: url(img/front.jpg);
	display: block;
	height: 100px;
	width: 760px;
	clear: both;
	float: none;
	padding: 0px;
	margin-top: 10;
	margin-right: 0;
	margin-bottom: 10;
	margin-left: 0;
border: solid 1px #cccccc;
}

#header .utility{
 display:block;
 width:250px;
 margin:-70px 0px 50px auto;
/* position:absolute;
 top:5px;
 left:400px;
*/
}

#header .utility li{
	display:inline;
	margin-right:10px;
}
/* Sidebars */
#leftside {clear:left; float:left; line-height:1.5em; margin:0 0 5px; padding:0; width:140px;}
#extras {float:right; line-height:1.4em; margin:0 0 5px; padding:0; width:140px;}
#leftside p, #leftside ul, #leftside div.textwidget, #extras p, #extras ul, #extras div.textwidget {font-size:1em; margin:0 0 18px;}
#leftside li, #extras li {line-height:1.2em; list-style:none; margin:0 0 6px;display:block;}
#leftside ul ul, #extras ul ul {margin:6px 0 0 10px;}
#leftside ul ul li, #extras ul ul li {margin:0 0 4px;}
#leftside ul ul li a, #extras ul ul li a {font-weight:normal;}
#leftside ul.linklist, #extras ul.linklist {font-size:1em;}
#leftside ul.linklist ul, #extras ul.linklist ul {margin:0 0 20px;}
#leftside ul.linklist ul li a, #extras ul.linklist ul li a {font-weight:bold;}
#leftside h2, #leftside ul.linklist li h2, #leftside h3, #extras h2, #extras ul.linklist li h2, #extras h3, table#wp-calendar caption {background-color:inherit; color:#505050; font-size:1.3em; font-weight:normal; text-align:left; margin:0 0 6px;}
#leftside label, #extras label {}

/* Main menu */
ul.page {list-style:none; margin:0 0 20px; width:140px;}
ul.page li {display:inline; line-height:1.4em; width:140px;}
ul.page li a {background-color:#f4f4f4; border-left:4px solid #cccccc; color:#505050; float:left; font-weight:bold; margin-bottom:5px; padding:5px 1px 5px 5px; text-decoration:none; width:130px;}
ul.page li a:hover, ul.page li.current_page_item a {background-color:#eaeaea; border-left:4px solid #286ea0; color:#505050;}
ul.page ul {font-size:0.9em; margin:0 0 0 15px; padding:0 0 5px; width:125px;}
ul.page ul a {padding:3px 1px 3px 5px; width:115px;}
ul.page ul ul {width:113px;}
ul.page ul ul a {width:100px;}

/* Content */
#content {line-height:1.8em; margin:0 155px 5px; padding:0;}
.home #content {line-height:1.6em; margin:0 10px; padding:10;}

#contentwide {line-height:1.6em; margin:0 0 5px 150px; padding:0;}
#content h2,#contentwide h2 {font-size:1.6em; margin:0 0 10px;
background-color:#f4f4f4; border-left:4px solid #cccccc; font-weight:bold; line-height:1.5em; margin:1px 0 30px; padding:8px 5px 8px 8px;}
.home #content h2{clear:left;}
#content h3,#contentwide h3 {font-size:1.6em; margin:0 0 16px 0; font-weight:normal; border-bottom:1px solid #c0c0c0;}
#content h4,#contentwide h4 {font-size:1.4em; margin:0 0 15px 0; font-weight:normal; border-bottom:1px dotted #c0c0c0;}

#content ul,#contentwide ul,#content ol,#contentwide ol {margin:0 0 16px 20px;}
#content li,#contentwide li {padding:0 0 0 5px;}
#content ul ul,#contentwide ul ul,#content ol ol,#contentwide ol ol {margin:0 0 0 16px;}
#content .post {font-size:1.1em;}


/* Footer */

#footer {border-top:2px solid #e0e0e0; font-size:0.9em; clear:both; color:#777; font-weight:normal; line-height:1.7em; margin:0 auto; padding:10px 0; text-align:center; width:760px;}
#footer p {margin:0; padding:0;}
#footer a {color:#777; font-weight:normal; text-decoration:none;}
#footer a:hover {color:#555; text-decoration:underline;}
#footer strong a {font-weight:bold;}
#footer span.credits {font-size:1.1em;}

/* Subpage menu */
#subpages {border-bottom:1px solid #e0e0e0; border-left:1px solid #e0e0e0; float:right; font-weight:bold; line-height:1.3em; margin:-5px 0 8px 15px; padding:0 0 10px 10px; width:140px;}
#subpages h2 {font-size:1.2em; font-weight:bold; letter-spacing:-1px; line-height:1.3em; margin:0 0 12px;}
#subpages ul.submenu {line-height:1.4em; list-style:none; margin:0;}
#subpages ul.submenu li {display:inline; line-height:1.4em;  padding:0;}
#subpages ul.submenu li a {background-color:#f4f4f4; border-left:4px solid #cccccc; color:#505050; float:left; font-weight:bold; margin-bottom:5px; padding:3px 1px 3px 5px; text-decoration:none;}
#subpages ul.submenu li ul {margin:0 0 5px 10px;}
#subpages ul.submenu li ul li a {width:auto;}
#subpages ul.submenu li ul ul {margin:0 0 5px 10px;}
#subpages ul.submenu li ul ul li a {width:auto;}
#subpages ul.submenu li ul ul ul {margin:0 0 5px 10px;}
#subpages ul.submenu li ul ul ul li a {}
#subpages ul.submenu li a:hover,#subpages ul.submenu li.current_page_item a {background-color:#eaeaea; border-left:4px solid #286ea0; color:#555;}
#subpages ul.submenu li.current_page_item ul li a {background-color:#f4f4f4; border-left:4px solid #cccccc; color:#555;}

/* Subpage menu  original
#subpages {border-bottom:1px solid #e0e0e0; border-left:1px solid #e0e0e0; float:right; font-weight:bold; line-height:1.3em; margin:-5px 0 8px 15px; padding:0 0 10px 10px; width:auto;}
#subpages h2 {font-size:1.2em; font-weight:bold; letter-spacing:-1px; line-height:1.3em; margin:0 0 12px;}
#subpages ul.submenu {line-height:1.4em; list-style:none; margin:0;}
#subpages ul.submenu li {display:inline; line-height:1.4em; width:180px; padding:0;}
#subpages ul.submenu li a {background-color:#f4f4f4; border-left:4px solid #cccccc; color:#505050; float:left; font-weight:bold; margin-bottom:5px; padding:3px 1px 3px 5px; text-decoration:none; width:180px;}
#subpages ul.submenu li ul {margin:0 0 5px 10px; width:170px;}
#subpages ul.submenu li ul li a {width:170px;}
#subpages ul.submenu li ul ul {margin:0 0 5px 10px; width:160px;}
#subpages ul.submenu li ul ul li a {width:160px;}
#subpages ul.submenu li ul ul ul {margin:0 0 5px 10px; width:150px;}
#subpages ul.submenu li ul ul ul li a {width:150px;}
#subpages ul.submenu li a:hover,#subpages ul.submenu li.current_page_item a {background-color:#eaeaea; border-left:4px solid #286ea0; color:#555;}
#subpages ul.submenu li.current_page_item ul li a {background-color:#f4f4f4; border-left:4px solid #cccccc; color:#555;} */


/* new sub menu*/
ul.sub_navi {border-bottom:1px solid #e0e0e0; border-left:1px solid #e0e0e0; float:right; font-weight:bold; line-height:1.3em; margin:-5px 0 8px 15px; padding:0 0 10px 10px; width:140px;}
 h2 {font-size:1.2em; font-weight:bold; letter-spacing:-1px; line-height:1.3em; margin:0 0 12px;}
 ul.sub_navi {line-height:1.4em; list-style:none; margin:0;}
 ul.sub_navi li {display:inline; line-height:1.4em;  padding:0;}
 ul.sub_navi li a {background-color:#f4f4f4; border-left:4px solid #cccccc; color:#505050; float:left; font-weight:bold; margin-bottom:5px; padding:3px 1px 3px 5px; text-decoration:none;}
 ul.sub_navi li ul {margin:0 0 5px 10px;}
 ul.sub_navi li ul li a {width:auto;}
 ul.sub_navi li ul ul {margin:0 0 5px 10px;}
 ul.sub_navi li ul ul li a {width:auto;}
 ul.sub_navi li ul ul ul {margin:0 0 5px 10px;}
 ul.sub_navi li ul ul ul li a {}
 ul.sub_navi li a:hover, ul.sub_navi li.current_page_item a {background-color:#eaeaea; border-left:4px solid #286ea0; color:#555;}
 ul.sub_navi li.current_page_item ul li a {background-color:#f4f4f4; border-left:4px solid #cccccc; color:#555;}



/* Tags */
p,ul,ol {margin:0 0 18px;}
blockquote {border-left:4px solid #e0e0e0; margin:20px; padding:8px 8px 8px 15px;}
blockquote p {background-color:inherit; color:#505050; font-size:0.9em; line-height:1.3em;}
label {background-color:inherit; color:#606060; font-size:0.9em; font-weight:bold;}
table#wp-calendar {margin:0 0 20px; width:140px;}
code {font-size:1.2em; display:block; padding:5px 5px 5px 8px; background-color:#f4f4f4; margin:5px 0 15px 0;border-left:4px solid #cccccc;}

/* Forms */
#s,#submit {background-color:#ffffff; border:1px solid #cccccc; color:#505050; font-size:0.9em; margin:0 0 16px; padding:4px; width:130px;}
#author,#email,#url,#comment {border:1px solid #cccccc; font-family:Osaka, "メイリオ", "ＭＳ Ｐゴシック", "ヒラギノ角ゴ Pro W3",Sans-Serif; font-size:1em; margin:0; padding:4px;}
#commentsection {margin:25px 0 0;}
#commentsection p {margin:0 0 6px;}
textarea{width:100%;}

/* Float fix */
.contenttext {overflow:hidden;}
* html .contenttext {height:1px; overflow:visible;}
* html .contenttext p {overflow:hidden; width:99%;}

/* WP image align classes */
img.centered {display:block; margin-left:auto; margin-right:auto;}
img.alignright {padding:4px; margin:0 0 2px 7px; display:inline;}
img.alignleft {padding:4px; margin:0 7px 2px 0; display:inline;}
.alignright {float:right;}
.alignleft {float:left;}

/* Various classes */
.left {border:1px solid #cccccc; float:left; margin:10px 15px 10px 0;}
.right {border:1px solid #cccccc; float:right; margin:10px 0 5px 10px;}
.center {border:1px solid #aaaaaa; margin:5px auto 12px; text-align:center;}
.textright {text-align:right;}
.small {font-size:0.8em;}
.bold {font-weight:bold;}
.hide {display:none;}
.post {margin:0 0 25px;}
/*.postinfo {background-color:#f4f4f4; border-left:4px solid #cccccc; color:#606060; font-size:0.9em; font-weight:bold; line-height:1.5em; margin:1px 0 30px; padding:8px 5px 8px 8px;}
*/
.postinfo {background-color:#fff; border-left:1px solid #cccccc; color:#606060; font-size:0.9em; font-weight:bold; line-height:1.5em; margin:1px 0 30px; padding:8px 5px 8px 8px;}
.comment {background-color:#f4f4f4; border-left:4px solid #cccccc; color:#606060; margin:0 0 10px; padding:8px 5px 0 8px;}
.comment p {font-size:0.9em; line-height:1.3em; margin:0 0 6px; padding-bottom:5px;}
.gravatarside {float:right; width:48px; height:48px; margin:0 5px 5px 5px;}
.navigation {display:block; margin:10px 0 20px 0; padding:0; text-align:center;}
.navigation p {margin:0; padding:0;}
.prevlink {margin-right:20px;}
.nextlink {margin-left:20px;}

.adsense_in{
float:right;
margin:0 0 10px 10px;
}

.related{
background-color:#f6f6f6; border:1px solid #cccccc; color:#606060; font-size:0.9em; font-weight:bold; line-height:1.5em; margin:1px 0 30px; padding:8px 5px 8px 8px;

}

html {
	overflow-y: scroll;
}
a {
	outline: none;
}
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden; 
}
.clearfix{
	display:inline-block;
}

.text_hide,.text_hide * {
	text-indent: -9999px;
	text-decoration: none;
	font-size: 8px;
	line-height: 8px;
	outline: none;
}
.clear {
	clear: both;
}

#global_navi{
	background-image:url(img/global_menu.gif);
	display:block;
	width:760px;
	height:49px;
	border-left:1px solid #ccc;
	border-right:1px solid #ccc;
	margin-bottom: 3px;
}
#global_navi li {
	display: block;
	float: left;
}

#global_navi li a {
	display: block;
	float: left;
	height: 49px;
	line-height:49px;
	border-left:1px solid #ccc;
	border-right:1px solid #fff;
	padding:0 10px;
	
}

#global_navi li.current_page_item a, #global_navi li.current-page-ancestor a, #global_navi li a:hover {
	background-image:url(img/global_menu.gif);
	background-position: 0 -47px;
}


/*トップページ*/

	.home #main {
	background: url(images/hoken_top.jpg) no-repeat;

	}

	.home #main h2{
	background:url(none);
	padding:15px 0 10px 300px;
	margin: 0 0 20px 0;
	color:#000;
	font-size:18px;
	height:20px;
	}
	
	.home .top_content {
	display: block;
	margin:0px;
	padding:0 20px;
	margin-bottom:40px;
}
	#main .top_content p{
	padding:0;
	margin:0;
	}

	
	#pick_wrapper ul.pickups {
	margin: 0px 0 30px 0;
	padding: 0px;
	display:block;
	overflow:hidden;
	
}


#pick_wrapper .pickups li.pick {
	width: 183px;
	border: 1px solid #999999;
	float:left;
	list-style:none;
	margin-right:15px;
	min-height:180px;
	display:block;
}
#pick_wrapper .pickups li#pick03 {
	margin-right:0px;
}

#content .pickups h3{
background-color: #F4F4F4;
text-align:center;
padding:5px!important;
}

#top_news{
	border: 1px solid #999999;
	clear:both;
}

#top_news h4 {
font-size: 14px;
line-height: 30px;
background: #f0f0f0;
padding-left: 12px;
padding-top: 3px;
letter-spacing: 0.2em;
color: #333333;
font-weight: normal;
border-left:0px!important;
}
.linkcat   img  {
	float: left;
	margin-right: 5px;
}
.linkcat a {
	font-weight: bold;
}
.linkcat .url {
	color: #006600;
}
.linkcat li {
	margin-bottom : 10px;
	overflow : hidden;

}
.linkcat h3 , li.linkcat{
	/*clear : both;*/
	list-style:none;
	overflow:hidden;
}

.list_subpages.thumbnail .post
{
    overflow: hidden;
    float: left;
    width: 200px;
    margin: 10px;
    border: 1px solid #dedede;
    background-image: url(img/bg-white.png);
    background-repeat: repeat-x;
    background-position: left bottom;
    border-radius: 5px;
}

.list_subpages.thumbnail .post_thumb a
{
    display: block;
    width: 278px;
    margin: 10px;
}

.list_subpages.thumbnail .post_content
{
    padding: 10px;
}

.list_subpages.thumbnail .post_content h4
{
    font-weight: bolder;
    margin-bottom: 0px !important;
}

.list_subpages.thumbnail .post_content .post_excerpt
{
    font-size: 12px;
    line-height: 18px;
    margin-top: 10px;
}

hr {
margin : 15px 0;
}

.home #content .list_subpages .post{
width:240px;
float:left;
margin:0 20px 15px 0;
min-height:30px;
display:block;
font-size:12px!important;
}

.home #extras{
width:200px;
float:right;
}
.home #content .list_subpages .post h4{
background:none;
font-weight:normal;
font-size:14px!important;
border:none;
line-height:1.4em;
margin-bottom:0;
}
.home #content h2{
clear:both;
font-size:17px;
padding:3px;
}
.home #content h3{
clear:both;
font-size:16px;
}

div.top_list_content{
width:520px;
float:left;
}

/*-------- table ----------*/
table.bordered {
    border: 1px solid #CCCCCC;
    border-collapse: collapse;
}
table.bordered th {
    background: none repeat scroll 0 0 #A6A6A6;
    color: #FFFFFF;
    font-weight: normal;
    white-space: nowrap;
}
table.bordered th, table.bordered td {
    border: 1px solid #CCCCCC;
    padding: 5px 10px 3px;
    vertical-align: top;
}
table.bordered th.side {
    background: none repeat scroll 0 0 #F2F2F2;
    color: #404040;
    text-align: left;
}

