/*  
Theme Name: RECENT
Theme URI: http://www.kingfish.co.jp/sitepress/
Description: Original theme for RECENT.
Version: 1.0
Author: KINGFISH COMMUNICATION, Inc.
Author URI: http://www.kingfish.co.jp/sitepress/
*/



html {
    height: 100%;
    overflow-y: scroll;
}

body {
    height: 100%;
    margin: 0px;
    padding: 0px;
    background: url(images/head_bg.png) repeat-x;
    background-color:#d8e6e7;
    background-color:#dddddd;
    font-size:80%;
    color:#555555;
}
* {
    margin: 0px;
    padding: 0px;
}

a {
    color: #426567;
}
a:hover {
    color: #426567;
}
a:visited {
    color: #6e8d8f;
}
a:active {
    color: #b8cdce;
}

/* ヘッダー */
#head-wrapper {
    width: 780px;
    margin-right: auto;
    margin-left: auto;
}
#header {
    height: 81px;
}
* #header h1 {
    float: left;
    color: #FFFFFF;
    font-size: 24px;
}
#header h1 a {
    color: #FFFFFF;
    text-decoration:none;
}

#header p {
    float: left;
    margin-top: 35px;
    margin-left: 24px;
    width: 448px;
    color: #dfe4e5;
    font-size: 90%;
    line-height: 130%;
}

/* メニュー */
#head-wrapper ul#menu {
    clear: both;
    background: url(images/menu_bg.gif) no-repeat left;
    margin-left:20px;
    margin-top: 20px;
    _margin-top: 0;
}
#head-wrapper ul#menu li {
    float: left;
    list-style: none;
    _width:1%;
    _white-space: nowrap;}
#head-wrapper ul#menu li a {
    display: block;
    height:38px;
    padding:0 20px;
    line-height:34px;
    text-decoration:none;
    color:#0b3c79;
    background: url(images/menu_bg.png) no-repeat right;
}
#head-wrapper ul#menu li a:hover {
    background: url(images/menu_hover_bg.png) no-repeat right;
}

/* コンテンツ */
#contents-wrapper {
    padding-top:20px;
    /*
    background: url(images/contents_bg.png) repeat-x fixed left top;
    background-color:#d8e6e7;
    */
    background-color:#dddddd;
}

#sub-contents, #contents {
    width: 740px;
    margin-right: auto;
    margin-left: auto;
    background:#fff;
    padding:20px;
    min-height:400px;
    border: solid 1px #426567;
}


#footer {
    background-color:#FFFFFF;
    width: 780px;
    margin: 20px auto;
    padding-top: 6px;
    text-align: center;
    font-size: 12px;
    border: solid 1px #426567;
}

#footer ul#menu {
    clear: both;
}
#footer ul#menu li {
    float: right;
    list-style: none;
    _width:1%;
    _white-space: nowrap;}
#footer ul#menu li a {
    padding:0 20px;
    text-decoration:none;
    color: #426567;
}
#footer ul#menu li a:hover {
    text-decoration: underline;
}
#footer address#copyright {
    clear: both;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    font: normal 10px Arial, Helvetica, sans-serif;
    color: #FFFFFF;
    background: #426567;
    margin: 6px auto 0 auto;
}


/* サブページコンテンツ */
.post h2 {
    margin-bottom:5px;
    background: url(images/h_bg.png) repeat-x left 30px;
    padding-bottom: 20px;
    padding-left: 5px;
    font-size:24px;
}

.post h2 a {
    text-decoration: none;
    color: #555555;
}

.entry {
    margin: 0 20px;
}
.entry h3 {
    font-size:14px;
    padding: 5px;
    margin: 20px 0 10px 0;
    border-bottom: 1px solid #ccc;
}
.entry p,
.entry table,
.entry ul,
.entry ol {
    margin-bottom:20px;
    line-height:150%;
    margin:0.7em 10px;
}
.entry ul,
.entry ol{
    margin-left:20px;
}

/* テーブルスタイル */
.entry table th {
    text-align:left;
    background:#eee;
    padding:5px;
    vertical-align:top;
    white-space:nowrap;
    line-height:140%;
}
.entry table td {
    background:#f5f5f5;
    padding:5px;
    vertical-align:top;
    line-height:140%;
}



/* トップレイアウト */


/*　トップ写真　*/
.toppage #top-image {
    float: left;
    width: 338px;
    margin-top: -20px;
    margin-left: -40px;
}

/*　トップ文字情報　*/
#top-text {
    float:right;
    width:380px;
}
#top-text h2 {
    margin: 0 0 5px 0;
    background: url(images/h_bg.png) repeat-x left 18px;
    padding-bottom: 20px;
    padding-left: 5px;
}
#top-text p {
    margin-bottom:20px;
    line-height:150%;
    margin-left:10px;
}
#top-text dl {
    margin-left: 10px;
}
#top-text dt {
    color: #999999;
    font: 10px Arial, Helvetica, sans-serif;
    margin-bottom: 0.3em;
}
#top-text dd {
    margin-bottom: 0.7em;
}

.navigation {
    margin: 16px 0;
    *padding-bottom: 16px;
}
.navigation .alignright {
    float: right;
}
.navigation .alignleft {
    float: left;
}
.navigation .spacer {
    clear: both;
}

.post {
    margin-bottom: 24px;
}


/* floatさせたボックスが親ボックスの外にはみ出す現象を回避（ここから） */
.clearfix {
    min-height:1px;　/* IE 7対策 */
}
.clearfix:after {
    content:".";
    display:block;
    height:0px;
    clear:both;
    visibility:hidden;
}
.clearfix { display:inline-table; }
/* Mac IE には適用させない \*/
* html .clearfix { height:1px; }
.clearfix { display:block; }
/* */
/* floatさせたボックスが親ボックスの外にはみ出す現象を回避（ここまで） */


.post .imagelink {
    float:left;
    margin-bottom:9px;
    margin-right:9px;
}
img {
    border:0 none;
    vertical-align:top;
}

.post p {
    margin: 2px 0;
}

.c-both {
    clear: both;
}
