/*
Theme Name: BMW CarLife

*/

/* 基本 */
body	{
	background-color: #ffffff; 
	color:#555;

	font-family:  "Lucida Grande", "segoe UI", "ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN", Meiryo, Arial, sans-serif;

	-webkit-text-size-adjust: 100%; /* 横にしたときに文字を拡大させない */
}

a	{
	text-decoration: underline;
        color: #0099ff;
}

a:hover	{
	text-decoration: underline;
        color: #ff2e99;
}

a img	{
	border: none;
}

a:hover img {
	opacity: 0.6;
	filter: alpha(opacity=60);
	-ms-filter: "alpha(opacity=60)";
}


/* コンテナ */
div#container	{
	width: auto;
	background-color: #ffffff; 
	float: none; 
	font-size: 14px; 
	line-height: 1.6;
	padding: 0 0;
	margin: 0;

}

/* ヘッダー */
div#header {
	margin-bottom: 5px;
}

div#header img	{
	max-width: 100%;
	height: auto;
}


div#header h1 {
	font-size: 2.5em;
	margin: 0;
}

div#header h1 a	{
	color: #000000;
}

div#header p#desc {
	font-size: 1em;
	font-weight: bold;
	color: #999999;
	margin: 0 0 5px;
}

div#subinfo {
	text-align: right;
	margin: -32px 0 5px;
}


/* ナビゲーションバー */
div#nav	{
	font-size: 13pt;
	height: 30px;
	background-color: #ffffff;
/*	border: solid 1px #aaaaaa; */
	padding-top: 0px;
	padding-bottom: 0px;
	margin-top: 30px;
	margin-bottom: 40px;
}

div#nav ul {
	margin: 0;
	padding: 0px;
}

div#nav li {
	list-style-type: none;
	float: left;
}

div#nav li a {
	display: block;
	text-decoration: none;
	width: 175px;
	line-height: 30px;
	border-top: solid 1px #aaaaaa;
	border-bottom: solid 1px #aaaaaa;
/*	border-right: solid 1px #aaaaaa; */
/*	border-left: solid 1px #aaaaaa; */
	color:#555;
	text-align: center;
	padding-top: 15px;
	padding-bottom: 15px;
}

div#nav li a:hover {
	background-color: #4169E1;
	color:#FFFAFA;
}


/* パンくずリスト */
div#pan	{
	font-size: 10pt;
}



/* コンテンツ */
div#content {
	width: auto;
	float: none; 
	margin: 0;
	font-size: 12pt; 
	line-height: 1.6;
	padding: 0 0;
}



/* 個別記事タイトル */
div#content h1	{
	border-left:1px solid #0099ff;
	border-bottom: solid 1px #FF0000; 

	color:#555;
	font-size: 12pt;

	padding: 5px 10px 5px 15px;

	margin-bottom: 10px;

}

/* 個別記事見出し */
div#content h2	{
	border-left:1px solid #000080;
	font-size: 12pt;
	color:#555;

	padding: 5px 10px 5px 15px;
	margin:20px 10px 20px 0px;

	line-height:30px;
}


div#content h3	{
	border-left:1px solid #0099ff;
	font-size: 12pt;
	color:#555;

	padding: 5px 0px 5px 15px;
	margin:10px 10px 10px 0px;

/* 	padding:0 0 0 10px; */

	line-height:30px;
}



div#content img	{
	max-width: 100%;
	height: auto;
}


div#content ul	{
	margin: 5px 0 0 0;
	padding: 0 0 0 0;
}

div#content li	{
/*	padding: 5px 0 5px -20px; */
        list-style-type: none;
	font-size: 12pt;
/*	border-bottom: dotted 1px #aaaaaa; */
	margin: 0;
}

div#content li a	{
	text-decoration: underline;
/*	color: #000000; */
	color: #0099ff; 
	display: block;
	padding: 5px 0 5px 0;
	margin: 0 0 0 0 ;
}

div#content li a:hover	{
	text-decoration: underline;
/*	color: #ff00ff; */
        color: #ff2e99;


/*	background-color: #f7e29e */
}


p.title	{

	border-left:1px solid #0099ff;
 	border-bottom: solid 1px #FF0000; 

	color:#555;
	font-size: 12pt;

	padding: 10px 20px;
	margin-bottom: 20px;

	line-height:30px;

}


/* サムネイル画像 */
div.post p.thumb336 {
	float: left;
	margin: 0 10px 10px 0;
}

p.thumb336 {
	float: left;
	margin: 0 10px 0px 0;
}





p.pagenation	{
	font-size: 0.938em;
	margin: 0px;
	overflow: hidden;
}

span.oldpage	{float: left}

span.newpage	{float: right}



/* 個別記事中の文字 */
div.post	{
/*	border: solid 1px #aaaaaa; */
	font-size: 12pt;
	line-height: 1.6;

	margin-bottom: 30px;
/*	margin-left: 10px; */
	overflow: hidden}





div.post h1 a	{
	color: #0099ff;
/*	color: #000000; */
}

div.post h1 a:hover{
        color: #ff2e99;
}






div.post p	{
/*	font-size: 0.875em; */
/*	line-height: 1.6; */
	font-size: 12pt;
	line-height: 1.5;
}

div.post p.postcat	{text-align: right;
	margin: -10px 10px 10px 0}

div.post p.postcat a	{
/*	font-size: smaller; */
	font-size: 0.938em; /* 11pt */
/*	font-size: 0.875em; */
	background-color: #a7d043;
	border-radius: 2px;
	color: #ffffff;
	padding: 1px 5px}

div.post p.postinfo	{
	color: #0099ff;
/*	color: #0c8bcd; */
	text-align: right;
	margin: 0}

/* 引用 blockquote
----------------------------------------------------------- */
.b1 blockquote	{
	background: url(blockquote1.gif) no-repeat 95% 68%;
	padding: 15px;
	color: #064599;
}
.b1 p	{
	margin-bottom: 12px;
}
.b1 .origin	{
	text-align: left;
	padding-top: 8px;
	margin-bottom:0;
}
.sample1 .origin a	{
	background: url(origin1.gif) no-repeat 0 7px;
	padding-left: 15px;
	color: #999;
}


/* インスタグラム画像 */
.instapress-shortcode-image{
	padding:0 0 0 0;

}


/* 記事内の画像 */
.aligncenter	{display: block;
	margin-left: auto;
	margin-right: auto}

.alignleft	{float: left;
	margin-right: 10px;
	margin-bottom: 10px}

.alignright	{float: right;
	margin-left: 10px;
	margin-bottom: 10px}

.wp-caption	{border: solid 1px #aaaaaa;
	text-align: center;
	padding-top: 5px}



/* アドセンス */

.ads {
  text-align: center;
  margin:5px auto;
  width :700px;　/* バナーサイズとmarginを計算して調整 */
}
.ads #adright {
  float: right;
  margin: 0px;
}
.ads #adleft {
  float: left;
  margin: 0px;
}
/* Opera用の指定 */
.ad p,.ads p {
  text-align: center;
  margin:5px auto;
}

.clear{ clear: both; visibility: hidden; height: 0;} 



/*5カラム写真表示（車種別アフィリ）*/

.contents_5photo_mobile {
  margin: 0;
  padding-bottom:0px;
  overflow: hidden;

/*  width: 300px; */
}

.contents_5photo_mobile .section{
  float:left;
/*  width: 248px; */
  margin: 0 2px -4px 0;
}

.contents_5photo_mobile h3{
  font-weight: bold;
  margin-bottom: 5px;
}



/*5カラム　中古車一覧*/
.contents_5clum {
	margin: 0;
/*	margin: auto0; */
	padding-bottom:10px;
	overflow: hidden;
	width: 360px;
}
.contents_5clum .section{
	float:left;
	width: 118px;
	margin: 0 1px 10px 0;
}
.contents_5clum h3{
	font-weight: bold;
	margin-bottom: 5px;
}





/* サイドバー */
div#sidebar {
	width: auto;
	float: none; 
}

div#sidebar ul	{margin: 0;
	padding: 0;
	list-style-type: none}

div#sidebar .widget	{margin-bottom: 20px}

/* サイドバー見出し */
div#sidebar h2	{
	border-left:1px solid #0099ff;
	font-size: 12pt;
	color:#555;

	margin:20px 10px 5px 0px;
	padding: 5px 15px;

}

div#sidebar li li {
	font-size: 11pt;
	padding: 5px 5px 5px 10px;

/*	margin: 0; */
	border-bottom: dotted 1px #aaaaaa; 

}


div#sidebar li li a {
	color: #0099ff; 
	display: block;
/*	padding: 5px 10px; */
}

div#sidebar li li a:hover	{
	text-decoration: underline;
        color: #ff2e99;
/*	background-color: #f7e29e */
}

/* フッター */
div#footer	{
	border-top: solid 1px #aaaaaa;
	padding: 6px 0;
	clear: both}

div#footer a	{
	text-decoration: none;
	}


div#footer p	{font-size: 0.75em;
	font-style: normal;
	font-family: Verdana, sans-serif;
	margin: 0}





/* ギャラリー */
.gallery-item {width: 33%;
	float: left;
	margin-top: 0;
	text-align: center}

.gallery img {border: solid 1px #aaaaaa;
	padding: 5px}

.gallery a:hover img	{background-color: #c4f254}

.gallery dd	{margin: 0;
	font-size: 0.75em}

.gallery br+br	{display: none}




/* 関連記事 */
div.related	{border: solid 1px #aaaaaa;
	margin-top: 20px}

div.related p	{color: #ffffff;
	background-color: #a7d043;
	margin: 0;
	padding-left: 10px}

div.related ol	{font-size: 0.75em}


/* 記事の個別ページ */
.single div.post h2	{
/*	background-color:#333333; */
/*	color: white; */
	background-color:#ffffff;
	color: black;
}

.single div.post h2 a	{
/*	color: white; */
	color: #333333;
}


/* 分割した記事へのリンク */
#postpage	{text-align: center;
	padding-top: 20px;
	clear: both}

#postpage a	{border: solid 1px #aaaaaa;
	padding: 5px 10px;
	margin: 0 10px}

#postpage a:hover	{background: #f7e29e}

#postpage span	{padding: 5px 10px;
	color: #888888;
	background: #dddddd}

#postpage a span	{padding: 0;
	color: black;
	background: none}


/* 画像の個別ページ */
.attachment div#content	{width: 100%;
	float: none}

.attachment p.photo	{text-align: center}


/* タイトルの一覧 */
ul.post	{list-style-type: none;
	margin: 0;
	padding: 0;
	border-top: dotted 1px #aaaaaa}

ul.post li	{border-bottom: dotted 1px #aaaaaa;
	background-image: url(chip.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding: 15px 0 15px 20px}

ul.post li a	{color: #000000}

ul.post li span	{font-size: smaller;
	color: #888888}


/* 続きを読む */
div.post p.more	{margin: 0;
	font-size: 0.750em; /* 9pt */
}

div.post p.more a	{border: solid 1px #aaaaaa;
	color: #333333;
	padding: 3px}

div.post p.more a:hover	{
	background: #f7e29e;
	text-decoration: none;
}




/* トップページのタイトルの一覧 */
ul.toplist	{list-style-type: none;
	margin: 0 0 30px;
	padding: 0;
	border-top: solid 1px #aaaaaa}

ul.toplist li	{font-size: 0.875em;
	font-weight: bold;
	border-bottom: solid 1px #aaaaaa;
	background-image: url(chip.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding: 5px 0 5px 20px}

ul.toplist li a	{
	color: #0099ff;
/*	color: #000000; */
}

ul.toplist li span	{font-size: smaller;
	color: #888888}


/* おすすめ記事 */
div#pickup div.post	{border: dotted 2px #f3b62f;
	background-color: #ffeedd;
	padding: 15px}


/* ステータス */
div#sidebar li#execphp-3 h2	{background-color: #333333;
	border-radius: 0}

div#sidebar li#execphp-3 ul	{border: solid 1px #aaaaaa}

div#sidebar li#execphp-3 li	{padding: 5px 10px}

div#sidebar li#execphp-3 span	{color: #888888}


/* 人気記事ランキング */
div#sidebar ol	{margin: 0;
	padding: 0;
	list-style-type: none}

div#sidebar ol li a:before	{content: counter(mycount);
	font-family: 'Trebuchet MS', sans-serif;
	font-weight: bold;
	font-size: larger;
	color: #ffffff;
	background-color: #f3b62f;
	padding: 2px 7px;
	margin-right: 7px;
	vertical-align: -2px}

div#sidebar ol li	{counter-increment: mycount}



/* パンくずリスト */
.single div#header, .archive div#header
	{margin-bottom: 5px}

div#breadcrumb	{margin-bottom: 5px}

div#breadcrumb div	{display: inline;
	font-size: 0.75em}


/* ページ番号リンク */
p.pagenum	{text-align: center}

p.pagenum a, p.pagenum span
	{padding: 3px 6px;
	color: #ffffff}

p.pagenum a	{background-color: #78982b}

p.pagenum span	{background-color: #a7d043}


/* お問い合わせ */
.wpcf7-form	{background-color: #c4f254;
	padding: 20px;
	border-radius: 20px}

.wpcf7-form span.req	{color: #aa0000;
	font-size: smaller}

.wpcf7-form input	{width: 80%}

.wpcf7-form textarea	{width: 100%}

.wpcf7-form p.submit	{text-align: center}

.wpcf7-form .wpcf7-submit	{width: 200px}




/* 検索フォーム */
#searchform, #searchform div	{display: inline}

#searchform label	{display: none}

#s	{border: solid 1px #aaaaaa;
	border-radius: 5px;
	padding: 3px 8px}

#s:hover, #s:focus	{background-color: #eeeeee}

#searchsubmit	{background-color: #666666;
	border-radius: 5px;
	color: #ffffff;
	border: solid 1px #aaaaaa;
	padding: 2px 8px;
	margin-right: 10px}

#searchsubmit:hover	{background-color: #aaaaaa}

div#subinfo img	{vertical-align: bottom}


/* 検索結果 */
.search p.title	{width: auto;
	background: #333333;
	color: #ffffff;
	padding: 10px;
	font-size: 1.25em}

.search-no-results p.title	{text-align: left;
	margin-bottom: 50px}

.search-no-results #content	{text-align: center;
	line-height: 2;
	border: solid 1px #333333;
	padding-bottom: 40px}


/* スライドショー */
#slideshow	{width: 900px;
	height: 228px}




/* コメント */
#disqus_thread	{border-top: solid 1px #aaaaaa;
	margin-top: 30px;
	padding-top: 10px;
	font-size: smaller}


/* Google+ */
span#plus_card_add {filter: none}

div#sidebar li.widget_rss h2 a	{color: #ffffff}



/* フッターメニュー */
div#footer	{background-color: #333333;
	padding: 20px 0px 20px 30px}

div#footermenu ul	{
	width: 230px;
	float: left;
	margin: 0 30px 0 0;
	padding: 0;
	list-style-type: none}

div#footermenu ul ul	{width: auto;
	float: none;
	margin: 0}

div#footermenu .widget	{margin-bottom: 20px}

div#footermenu h2	{font-size: 0.75em;
	color: #ffffff;
	background-color: #aaaaaa;
/*	border-radius: 3px; */
	padding: 2px 10px;
	margin: 0}

div#footermenu li li	{font-size: 0.75em;
	border-bottom: dotted 1px #aaaaaa;
	margin: 0}

div#footermenu li li a	{color: #ffffff;
	display: block;
	padding: 5px 10px}

div#footermenu li li a:hover	{background-color: #f7e29e;
	color: #000000}

div#footer p	{clear: both;
	color: #ffffff;
	border-top: solid 1px #ffffff;
	padding-top: 8px;
	margin-right: 30px}




/***********************
	関連記事YARPP
************************/

.related-post{
     height:100%;
}
.related-post{
     width:500px;
     overflow:hidden;
     margin-top:5px;
}
.related-entry {
    vertical-align: top;
    float: left;
    width:104px;
    font-size: 13px;
    min-height: 215px;
    margin: 0;
    padding-right: 20px;
    line-height:1.5em;
    }
 
 .related-entry img{
      padding:2px;
      border: #ccc 1px solid;
      width:100px;
      height:100px;
}

.related{
      margin-top:20px;
}


.relatedposts {width: 500px; margin: 0 0 20px 0; float: left; font-size: 12px;} 
.relatedposts h3 {font-size: 16px; margin: 0 0 5px 0; } 
.relatedthumb {margin: 0 1px 0 1px; float: left; } 
.relatedthumb img {margin: 0 0 3px 0; padding: 0;} 
.relatedthumb a {color :#333; text-decoration: none; display:block; padding: 4px; width: 110px;} 
.relatedthumb a:hover {background-color: #ddd; color: #000;}


/******************************
	関連記事　130521
******************************/

ul.relatedorg {
    margin: -30px 0 10px 0;
    padding: 0;
}

ul.relatedorg li {
    float: left;
}

ul.relatedorg li h4 {
    width: 120px;
    font-size: 0.9em;
    margin-right: 5px;
}

ul.relatedorg li h4 img {
    border: solid 1px #dddddd;
}



/******************************
	関連記事
******************************/
#related {
	margin-top: 30px;
	margin-bottom: 30px;
}
#related h3 {
	font-weight: bold;
	border-bottom: 3px solid #09f;
}
#related ul {
	padding: 15px;
	padding-top: 10px;
}
#related ul li {
	padding-top: 0.5em;
}
#related ul li a {
	color: #09f;
	background: url(images/navi_icon.png) no-repeat left center;
	padding-left: 14px;
}


/******************************
	SNSボタン
******************************/

.social_btn { 

/* margin: 15px 0px 0px 160px;  */

margin: 15px 0px 0px 0px; 
padding: 0px; 
width:700px; 
}

.social_btn .facebook { 
float: left; 
margin: 0px 10px 0px 0px; 
padding: 0px; 
display: inline; 
width: 90px; 
}

/* facebookボタンずれ修正 */
.fb_iframe_widget > span {
  vertical-align: baseline !important;
}


.social_btn .twitter { 
float: left; 
margin: 0px 10px 0px 0px; 
padding: 0px; 
display: inline; 
width: 80px; 
}

.social_btn .hatena { 
float: left; 
margin: 0px 10px 0px 0px; 
padding: 0px; 
display: inline; 
width: 50px; 
}

.social_btn .google { 
float: left; 
margin: 0px 10px 0px 0px; 
padding: 0px; 
display: inline; 
width: 100px; 
}

/* 購読者数つきFeedlyボタン */
#feedly-followers {
    display: block;
}

#feedly-followers img{
    width:72px;
    height:30px;
    border:none;
}
/* 購読者数の表示部分 */
#feedly-count {
    margin:0 auto 6px auto;
    width: 62px;  /* カウンタの幅 */
    height: 31px;  /* カウンタの高さ */
    background-color: #FFF;
    position: relative;
    border: 1px solid #669966;
    border-radius: 4px;
    padding: 0 4px;
    font-family: Arial;
    font-size: 16px;
    line-height: 31px;
    text-align: center;
    display: block;
    background: white;
}
/* 購読者数吹き出し部分 */
.fdly-count:after,
.fdly-count:before {
    border: solid transparent;
    content: ' ';
    right: 43%;
    position: absolute;
}
.fdly-count:before {
    border-width: 5px;
    border-top-color: #B0C1D8;
    top: 32px;
}
.fdly-count:after {
    border-width: 5px;
    border-top-color: #FFF;
    top: 30px;
}


/* test */


div.entry {
	width: 700px;
}
div.entry div {
	width: 336px;
/*	background: #EFEFEF; */
	float: left;
	margin-right: 28px;
}
div.entry div.right0 {
	margin-right: 0;
}




/* ページナビゲーション */

.pagination {
	clear: both;
	padding: 20px 0;
	position: relative;
	font-size: 14px;
	line-height: 14px;
}
.pagination span, .pagination a {
	display: block;
	float: left;
	width: auto;
	margin: 2px 2px 2px 0;
	padding: 6px 9px 5px 9px;
	background: #555;
	color:#fff;
	text-decoration: none;
}
.pagination a:hover{
	background: #3279bb;
	color: #fff;
}
.pagination .current{
	padding: 6px 9px 5px 9px;
	background: #3279bb;
	color: #fff;
}


/* 写真重ねタイトル */

.item{
	position: relative;
	float: left;
/*	width: 336px; */
/*	height: 252px;  */
}

.item a {
	text-decoration: none;
        color: #ffffff;
}

.item a:hover {
	text-decoration: none;
        color: #ff2e99;
}

.photo img{
	width: 100%;
	height: auto;
	margin: 0;
}

.comment{
	position: absolute;
	left: 0;
	font-size: 11pt;
	line-height: 1.4;
	bottom: 8px;
	width: 100%;
	height: 35%;
	padding: 5px 10px 5px 10px;
	background: #FFF;

	color: #ffffff;

	background-color: rgba(0, 0, 0, 0.6);

	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}


/* タブ切り替え（メインカラム） */

.tab {
	list-style-type: none;
	text-decoration: none;
}

.tab li { /*タブ部分*/
	float: left;
	list-style-type: none;
	text-decoration: none;
	margin: 0 2px;
	padding: 3px 7px;
	background: #ffffff;
	}

.tab li a { /*タブ部分*/
	display: block;
	text-decoration: none;
	width: 90px;
	line-height: 20px;
/*	border-top: solid 1px #aaaaaa; */
/*	border-bottom: solid 1px #aaaaaa; */
	color:#ffffff;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
	}



.tab li.active { /*選択中のタブ*/
	background: #FFFFCC;

/*	background: #FFFF99; */

    }

.tab li.active a { /*選択中のタブ*/
	color: #ffffff;
	text-decoration: none;

    }


.tab_area { /*切り替え部分非表示*/
	display: none;
    }
.tab_content { /*内容*/
    clear: both;
    width: 336px;
/*    height: 250px; */
/*  border: 1px solid #999; */
/*    padding: 10px; */
    }

/* 新着記事　Newpost Catch */

#npcatch li{
    overflow:hidden;
    clear:both;
    margin:0px;
}
#npcatch img{
    float:left;
    padding:0px 5px 0px 0px;
}
#npcatch .title{
    width:210px;
    float:left;
    padding:5px 0px;
    line-height:140%;
    font-size:11pt;
/*    text-decoration:none; */
}
#npcatch li a{
/*    text-decoration:none; */
}
#npcatch li:hover{}
#npcatch li:hover .title{}
#npcatch li:hover .title a{}
#npcatch li:hover .date{}

/******************************
	Youtubeスマホ最適化
******************************/

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
 
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

