/*
Template Name: 共通デザイン
*/



/* 初期化 : 全体
--------------------------------------------------------------------------- */

* {
	line-height: 150%;
	margin: 0;
	padding: 0;
	font-family:"ﾒｲﾘｵ",meiryo,sans-serif;
	
}



/* 初期化 : a
--------------------------------------------------------------------------- */

a		{ text-decoration: underline; }
a img		{ border: 0 none; }



/* 初期化 : blockquote
--------------------------------------------------------------------------- */

blockquote {
	display: block;
	_zoom: 1;
	clear: both;
	line-height: 170%;
	margin: 25px 15px;
	padding: 10px 25px;
	_padding-top: 10px;
	border-width: 1px;
	border-style: solid;
	font-size: 12px;
}

blockquote p {
	margin: 0 !important;
}



/* 初期化 : pre
--------------------------------------------------------------------------- */

pre {
	line-height: 170%;
	margin: 25px 15px;
	white-space: pre-wrap;
	word-wrap: break-word;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	white-space: -moz-pre-wrap;
}



/* 初期化 : code
--------------------------------------------------------------------------- */

code {
	display: block;
	line-height: 170%;
	margin: 25px 15px;
	padding: 20px 25px;
	border-width: 1px;
	border-style: solid;
	font-size: 12px;
}



/* 初期化 : table
--------------------------------------------------------------------------- */

table {
	_zoom: 1;
	margin: 25px 15px;
	_margin: 50px 15px;
	border-collapse: collapse; 
	font-size: 12px;
}

table * {
	text-align: left;
}

*:first-child+html table {
	margin: 50px 15px;
}

th,
td	{ vertical-align: top; }
th	{ font-weight: bold; }



/* 初期化 : hr 
--------------------------------------------------------------------------- */

hr {
	display: block;
	height: 1px;
	margin: 50px 0;
	border-width: 1px 0 0;
	border-style: solid;
}



/* フォント装飾
--------------------------------------------------------------------------- */

h1, h1 *,
h2, h2 *,
h3, h3 *,
h4, h4 *,
h5, h5 *,
h6, h6 *,
div#header_inner a,
ul#global_navigation li a,
div.side div.title, div.side div.title *
{
	_zoom: 1;
	font-family: 'meiryo', 'meiryo, 'meiryo';
	font-weight: bold;
}

div#content,
div#content p,
div#content pre,
div#content div.post,
div#content div.post ul li,
div#content div.post ol li,
div#content div.post div.ddsg-wrapper ul li
{
	font-size: 13px;
}



/* clearfix
--------------------------------------------------------------------------- */

.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}

.clearfix			{ display: inline-table; }

/* Hides from IE-mac \*/
* html .clearfix		{ height: 1%; }
.clearfix			{ display: block; }
/* End hide from IE-mac */



/* body
--------------------------------------------------------------------------- */

body {
	background-repeat: repeat;
	background-attachment: fixed;
	text-align: center;
}



/* サイト最外枠
--------------------------------------------------------------------------- */

div#rap {
	position: relative;
	margin: 0 auto;
	text-align: left;
}



/* h1
--------------------------------------------------------------------------- */

h1 {
	z-index: 1;
	position: absolute;
	margin: 5px 35px;
	font-size: 10px;
	font-weight: normal;
}



/* ヘッダー
--------------------------------------------------------------------------- */

div#header {
	position: relative;
	top: 0;
	overflow: hidden;
	height: 150px;
	background-position: left bottom;
	background-repeat: repeat-x;
	text-align: center;
}

div#header_inner {
	height: 145px;
	margin: 0 auto;
	text-align: left;
}

div#header_inner h3 {
	position: absolute;
	top: 40px;
	left: 60px;
	font-size: 32px;
}

div#header_inner a {
	text-decoration: none;
}

.description {
	display: block;
	position: absolute;
	top: 105px;
	padding: 0 65px;
	font-size: 12px;
	text-decoration: none;
}



/* グローバルナビゲーション
--------------------------------------------------------------------------- */

ul#global_navigation,
ul#global_navigation li
{
	height: 40px;
}

ul#global_navigation {
	z-index: 1;
	position: absolute;
	top: 150px;
	left: 0;
	background-position: left top;
	background-repeat: repeat-x;
}

ul#global_navigation li {
	overflow: hidden;
	list-style-type: none;
	float: left;
	text-align: center;
}

ul#global_navigation li a {
	display: block;
	overflow: hidden;
	height: 32px;
	line-height: 32px;
	_height: 34px;
	_line-height: 34px;
	margin: 3px 0 3px 1px;
	padding: 0 5px;
	border-width: 1px;
	border-style: solid;
	background-repeat: repeat-x;
	font-size: 12px;
	text-decoration: none;
}

ul#global_navigation li a:link,
ul#global_navigation li a:visited
{
	background-position: left -4px;
}

ul#global_navigation li a:hover,
ul#global_navigation li a:active
{
	background-position: left -44px;
	text-decoration :underline;
}



/* パンくずナビゲーション
--------------------------------------------------------------------------- */

div#pankuzu_navigation {
	position: absolute;
	top: 210px;
	float: right;
	text-align: left;
}

div#pankuzu_navigation p {
	padding: 0 20px;
	font-size: 12px;
	text-align: left;
}

#pankuzu_navigation a		{  }
#pankuzu_navigation a:link,
#pankuzu_navigation a:visited	{  }
#pankuzu_navigation a:hover,
#pankuzu_navigation a:active	{  }



/* コンテンツ全体枠
--------------------------------------------------------------------------- */

div#bigcontent {
	position: absolute;
	float: left;
	margin: 0 0px 10px;
	padding: 0 0 90px;
	border-width: 1px;
	border-style: solid;
}



/* メインカラム・サイドカラムの囲い枠
--------------------------------------------------------------------------- */

div#content-and-side {
	float: left;
	width: 830px;
}



/* メインカラム
--------------------------------------------------------------------------- */

div#content {
	position: relative;
	float: right;
	overflow: hidden;
	margin: 70px 0 60px;
}

div#content,
div.side
{
	display: inline;
}



/* 記事
--------------------------------------------------------------------------- */

div#content div.post {
}

div#content h2.type1 {
	margin: 0 0 25px;
}

div#content div.storycontent {
	margin: 25px 0 35px;
	padding: 0 0 15px;
	border-width: 0 0 1px;
	border-style: dashed;
}

div#content div.post p {
	line-height: 170%;
	margin: 25px 15px 35px;
	text-align: left;
}

div#content ul,
div#content ol
{
	margin: 25px 0;
}

div#content ul {
	list-style-type: none;
}

div#content ul li {
	_zoom: 1;
	line-height: 170%;
	margin: 5px 15px;
	padding: 0 0 0 25px;
	background-repeat: no-repeat;
	background-position: left center;
}

div#content ol {
}

div#content ol li {
	line-height: 170%;
	margin: 10px 15px 10px 40px;
	background-repeat: no-repeat;
	background-position: left center;
}

div#content img {
	margin: 0 15px 15px;
	_margin-bottom: 0;
}

div#content div.post table {
	border-width: 1px 0 0 1px;
	border-style: solid;
}

div#content div.post table th,
div#content div.post table td
{
	padding: 10px 15px;
	border-width: 0 1px 1px 0;
	border-style: solid;
	vertical-align: top;
}

div#content div.post table th {
	font-weight: bold;
}

div#content div.post table td p {
	margin: 0;
	font-size: 12px;
}

div#content p.link {
	_zoom: 1;
	line-height: 170%;
	margin: 50px 15px;
	padding: 5px 0 5px 35px;
	background-repeat: no-repeat;
	background-position: left center;
	font-size: 15px;
	font-weight: bold;
}



/* 記事のカテゴリ・タグ情報
--------------------------------------------------------------------------- */

div#content div.post div.storycontent p.post_metadata {
	margin: 35px 15px 10px;
	padding: 10px 15px;
	border-width: 1px;
	border-style: solid;
	font-size: 12px;
}

div#content div.post div.storycontent p.post_metadata a:link,
div#content div.post div.storycontent p.post_metadata a:visited	{ text-decoration: none; }
div#content div.post div.storycontent p.post_metadata a:hover,
div#content div.post div.storycontent p.post_metadata a:active	{ text-decoration: underline; }

div#content div.post p.linknav {
	text-align: right;
}



/* ページナビゲーション・記事下ナビゲーション
--------------------------------------------------------------------------- */

.page_navigation,
.post_navigation
{
	_zoom: 1;
	display: block;
	margin: 20px 0 35px !important;
	padding: 15px 15px 0 !important;
}

.page_navigation *,
.post_navigation *
{
	line-height: 200%;
}

.post_navigation {
	border-width: 1px 0 0;
	border-style: dashed;
}

.page_navigation span.inner,
.post_navigation span.inner
{
	display: block;
	margin: 0;
	padding: 10px 15px;
	border-width: 1px;
	border-style: solid;
	font-size: 12px;
}



/* 新着記事 etc
--------------------------------------------------------------------------- */

div#content ul.new,
div#content ul.menu
{
	_zoom: 1;
	margin: 20px 15px ;
	border-width: 1px;
	border-style: solid;
}

div#content ul.new li {
	margin: 7px 15px;
	font-size: 12px;
}

div#content ul.menu li {
	_height: 1%;
	line-height: 170%;
	margin: 20px 15px 7px 15px;
	padding: 0 0 0 20px;
	background-position: left center;
	background-repeat: no-repeat;
	font-size: 15px;
}

div#content ul.menu li.sab,
div#content div.storycontent ul.menu li.sab{
	_zoom: 1;
	line-height: 170%;
	margin: 7px 30px;
	padding: 0 0 0 20px;
	background-image: url(images/backgrounds/darkblue/list/icon-sbox2.png);
	background-repeat: no-repeat;
	background-position: left center;
	font-size: 14px;
}



/* サイドカラム
--------------------------------------------------------------------------- */

div.side {
	overflow: hidden;
	position: relative;
}

div.side div.sidebar {
	border-width: 0 1px 1px;
	border-style: solid;
}

div.side div.title {
	padding: 8px 15px;
}

div.side div.title p {
	font-size: 15px;
}

div.side div.box,
div.side div.textwidget
{
	margin: 20px 15px;
	font-size: 12px;
}

div.side div.box p,
div.side div.textwidget p
{
	margin: 0 0 20px;
}

div.side div.box p.center,
div.side div.textwidget p.center
{
	text-align: center
}

div.side ul {
	list-style-type: none;
        margin: 20px 10px;
	padding: 0;
}

div.side ul li {
	_zoom: 1;
	margin: 0 0 15px;
	padding: 0 0 0 20px;
	background-repeat: no-repeat;
	background-position: left 2px;
	font-size: 12px;
}

div.side ul li p {
	font-size: 12px;
}

div.side ul li ul {
	margin: 5px 0 15px -3px;
}

div.side ul li ul li {
	margin: 0 0 5px;
	padding: 0 0 0 20px;
}

div.side ul li ul li children a:link,
div.side ul li ul li children a:visited	{  }
div.side ul li ul li children a:hover,
div.side ul li ul li children a:active	{  }

#searchform {
	margin: 2px 0 15px 0;
}



/* フッター
--------------------------------------------------------------------------- */

div#footer {
	display: block;
	clear: both;
	position: absolute;
	bottom: 0;
	left: -1px;
	padding: 20px 0;
	background-position: left center;
	background-repeat: repeat-x;
	font-size: 12px;
	text-align: center;
}

div#footer * {
	line-height: 200%;
}

div#footer a:link,
div#footer a:visited	{ text-decoration: none; }
div#footer a:hover,
div#footer a:active	{ text-decoration: underline; }



/* ランキング
--------------------------------------------------------------------------- */

div#content div.post p.ran1,
div#content div.post p.ran2,
div#content div.post p.ran3,
div#content div.post p.ran4,
div#content div.post p.ran5
{
	_zoom: 1;
	margin: 25px 0;
	padding: 20px 0 0 70px;
	background-repeat: no-repeat;
	background-position: left center;
	font-family: 'meiryo, 'meiryo', 'meiryo';
	font-weight: normal;
	text-align: left;
	text-decoration: underline;
}

div#content div.post p.ran1 {
	font-size: 35px;
}

div#content div.post p.ran2 {
	font-size: 30px;
}

div#content div.post p.ran3 {
	font-size: 25px;
}

div#content div.post p.ran4,
div#content div.post p.ran5
{
	font-size: 20px;
}

div#content div.post img.float-left	{ float: left; }
div#content div.post img.float-right	{ float: right; }

div#content div.post div.link-banner {
	clear: both;
	margin: 25px 15px;
	text-align: right;
}

div#content div.post div.link-banner img {
	margin: 0;
}

div#content div.post p.link-text {
	margin-left: 230px;
	text-align: left;
}

div#content div.post p.link-text a {
	display: inline-block;
	_height: 1%;
	line-height: 170%;
	padding: 5px 0 5px 35px;
	background-repeat: no-repeat;
	background-position: left center;
	font-size: 15px;
	font-weight: bold;
}



/* サイトマップ
--------------------------------------------------------------------------- */

div#content div.post div.ddsg-wrapper {

}

div#content div.post div.storycontent div.ddsg-wrapper h2 {
	margin: 0 5px 20px;
	padding: 7px 15px 6px 30px;
	background-repeat: no-repeat;
	background-position: left center;
	font-size: 14px;
}

div#content div.post div.ddsg-wrapper ul {
	margin: 0;
}

div#content div.post div.ddsg-wrapper ul li {
	margin: 10px 0 10px 25px;
	padding: 0 0 0 20px;
	background-repeat: no-repeat;
	background-position: left 5px;
}

div#content div.post div.ddsg-wrapper ul li ul li {
	margin-left: 5px;
}




/* お気に入りボタン
--------------------------------------------------------------------------- */

div#content p.bookmark {
	margin: 25px 35px;
}

div#content p.bookmark input.bookmark_button {
	width: 150px;
	height: 35px;
	_height: auto;
	line-height: 35px;
	_line-height: 100%;
	_padding: 10px 0;
	font-size: 12px;
}

.add_bookmark {
	width: 150px;
	height: 30px;
	font-size: 12px;
}



/* ---------- 各種アイコン ---------- */

div#content div.post p.iconb {
	_zoom: 1;
	background-repeat: no-repeat;
	background-position: left center;
	margin: 50px 15px 25px;
	padding: 5px 35px;
	font-weight: bold;
	text-align: left;
}

p.icon1,
p.icon2
{
	_zoom: 1;
	background-repeat: no-repeat;
	background-position: left center;
	text-align: left;
}

p.icon1 {
	padding: 5px 0 5px 35px;
	font-weight: bold;
}

p.icon2 {
	padding: 0 0 0 20px;
}


div#content div.post p.link,
div#content div.post p.link2,
div#content div.post p.link3
{
	line-height: 170%;
	margin: 50px 15px;
	font-size: 15px;
	font-weight: bold;
}

div#content div.post p.link a,
div#content div.post p.link2 a,
div#content div.post p.link3 a
{
	background-repeat: no-repeat;
	background-position: left center;
	_zoom: 1;
	padding: 5px 0 5px 35px;
}

div#content div.post p.link		{ text-align: center !important; }
div#content div.post p.link2		{ text-align: left !important; }
div#content div.post p.link3		{ text-align: right !important; }



/* コメント : 一覧表示
--------------------------------------------------------------------------- */

div.comments_list {
	_zoom: 1;
	margin: 20px 15px 35px;
}

div.comments_list div.each_comment {
	margin: 0 0 10px;
	padding: 12px 15px 8px;
	border-width: 1px;
	border-style: solid;
}

div.comments_list div.comment_text {

}

div.comments_list div.comment_footer {
	margin: 10px 0 0;
}

div.comments_list p.author_link {
	margin: 0 !important;
	font-size: 12px !important;
	text-align:right !important;
}


div.comment_text pre {
	margin: 0 !important;
}


/* コメント : 投稿
--------------------------------------------------------------------------- */

form#comment_form {
	margin: 20px;
}

form#comment_form div#comment_detail {

}

form#comment_form label {
	display: block;
	margin: 10px 0 3px;
}

form#comment_form input,
form#comment_form textarea
{
	display: block;
	width: 400px;
}

form#comment_form input#author_name {

}

form#comment_form input#author_email {

}

form#comment_form input#author_url {

}

form#comment_form textarea#comment_text {
	height: 250px;
	margin: 0 0 20px;
	font-size: 12px;
}

form#comment_form input#comment_submit {
	width: 160px;
	height: 35px;
	line-height: 35px;
	font-size: 12px;
	text-align: center;
}



/* メールアイコン 追加分
--------------------------------------------------------------------------- */

p.mail
{
	_zoom: 1;
	background-repeat: no-repeat;
	background-position: left center;
	text-align: left;
}


p.mail {
	padding: 5px 0 5px 40px;
	background-image: url(images/sample/mail.png);
	font-weight: bold;
}



/* 検索ボックス
--------------------------------------------------------------------------- */

input#s,
input#searchsubmit	{ margin: 5px 0 0; }

input#s			{ width: 68%; height: 20px; }

input#searchsubmit	{ width: 25%; height: 30px; font-size: 12px; }



/* ウィジェット対応 追加分
--------------------------------------------------------------------------- */

#wp-calendar {
	width: 85%;
}

#wp-calendar caption {
	padding-bottom: 4px;
	font-size: 14px;
	font-weight: bold;
	text-align: left;
}

#wp-calendar thead {
	font-size: 11px;
}

#wp-calendar thead th {
}

#wp-calendar tbody {
}

#wp-calendar tbody td {
	padding: 3px 0 2px;
	border-width: 1px;
	border-style: solid;
	text-align: center;
}

#wp-calendar tbody .pad {
	background: none;
}

#wp-calendar tfoot #next {
	text-align: right;
}

div.title a.rsswidget {
}



/* 画像表示位置対応追加分
--------------------------------------------------------------------------- */

.alignleft,
img.alignleft
{
	display: inline;
	float: left;
	margin-top: 4px;
	margin-right: 24px;
}

.alignright,
img.alignright
{
	display: inline;
	float: right;
	margin-top: 4px;
	margin-left: 24px;
}



/* ブックマークアイコン表示
--------------------------------------------------------------------------- */

div#content ul.sbs {
	_zoom: 1;
	margin: 5px 15px;
	padding: 10px 20px 5px;
}

div#content ul.sbs li {
	float: left;
	height: 20px;
	margin: 0 10px 0 0;
	padding: 0;
	background-image: none !important;
}

div#content ul.sbs li a {

}

div#content ul.sbs img {
	margin: 0;
	_margin-bottom: 0;
	vertical-align: top;
}


/* 追加分
--------------------------------------------------------------------------- */


div#content ul.topic
{
	margin:10px 10px 10px 10px  ;
	padding: 0 0 20px 0;
}




div#content ul.topic li {
	_height: 1%;
	line-height: 170%;
	margin: 0px 5px 5px 5px;
	padding: 0 0 0 18px;
	background-repeat: no-repeat;
	background-position: left center;
	font-size: 10px;
	float: left;
}


div#content p {
	line-height: 170%;
	margin: 15px 15px 0px;
	text-align: left;
}

div#content p.center {
	text-align: center
}

div.summary {
	display: block;
	_zoom: 1;
	clear: both;
	line-height: 170%;
	margin: 25px 15px;
	padding: 10px 25px;
	_padding-top: 10px;
	border-width: 1px;
	border-style: solid;
	font-size: 12px;
}

div.summary p {
	margin: 0 !important;
}


/* アイコン 追加分
--------------------------------------------------------------------------- */

p.pdf,
p.folder,
p.zip,
p.mp3
{
	_zoom: 1;
	background-repeat: no-repeat;
	background-position: left center;
	text-align: left;
}


p.pdf {
	padding: 0px 0 0px 20px;
	background-image: url(images/sample/pdf.png);
	font-weight: bold;
}

p.folder {
	padding: 0px 0 0px 20px;
	background-image: url(images/sample/folder.png);
	font-weight: bold;
}

p.zip {
	padding: 0px 0 0px 20px;
	background-image: url(images/sample/zip.png);
	font-weight: bold;
}

p.mp3 {
	padding: 0px 0 0px 20px;
	background-image: url(images/sample/mp3.png);
	font-weight: bold;
}

.video-container { 
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object, 
.video-container embed { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ranking-img {
	overflow: hidden;
	margin-bottom: .5em;
}

