/*
Theme Name: child
Template: twentytwelve
*/
 
@import url('../twentytwelve/style.css');

/* 「コメントをどうぞ」を非表示 */ 
.comments-link {display: none;}

/* フォントと文字の大きさ、色 */
body{
font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
font-size:17px;
font-weight: 500;
color:#0B0B3B;
}

/* 背景色 */  
.site {background: #F2F5A9;}
.widget-area {background: #000;}
.site-content {background: #000;}
.site-header {background: #000;}


/* コンテンツ背景色 */ 
.site-content { background: #F2F5A9;} /* 色を指定 */

/* コンテンツ背景色 */ 
.widget-area { background: #F2F5A9;} /* 色を指定 */

/* コンテンツ背景色 */ 
.site-header { background: #F2F5A9;} /* 色を指定 */

/* コンテンツ背景色 */ 
footer[role="contentinfo"] { background: #F2F5A9;} /* 色を指定 */

.entry-content h2 {
font-size: 1.25em;
  position: relative;
  padding:0.5em 2em;
  background: #0B0B3B;;
  color:#fff;
 margin: 20px 0;
padding-left: 10px; /* ちょっと左に余白 */
padding-right: 10px; /* ちょっと右に余白 */
}
 
.entry-content h2:after {
position: absolute;
content: '';
top: 100%;
left: 30px;
border: 9px solid transparent;
border-top: 15px solid #0B0B3B;
width: 0;
height: 0;
}


.entry-content h3 {
font-size:18px;
  position: relative;
  padding:0.5em 1em;
  background: #F2F5A9;;
  color:#0B0B3B;
 margin: 20px 0;
line-height: 1.4; /* 行間の高さ */
padding-left: 10px; /* ちょっと左に余白 */
border-top: solid 3px #0b0b3b;/*上線*/
border-bottom: solid 3px #0b0b3b;/*下線*/
}
 
.entry-content h3:after {
position: absolute;
top: 100%;
left: 30px;
border: 9px solid transparent;
border-top: 15px solid #0B0B3B;
width: 0;
height: 0;
}





.site-header h1 {
font-size: 30px;
}


/* 記事タイトル */
.entry-header .entry-title {
font-size: 24px; /* 文字の大きさ */
font-weight:bold;
line-height: 2; /* 行間の高さ */
padding-left: 10px; /* ちょっと左に余白 */
border-top: solid 4px #0b0b3b;/*上線*/
border-bottom: solid 4px #0b0b3b;/*下線*/
background-color: #0b0b3b; /* 背景色 */
color: #fff;/* 文字の色 */
}
.entry-header .entry-title a {
color: #fff;/* 文字の色 */
}


.entry-header {
    margin-bottom: 0rem;
}


/* ウィジェットタイトル部分 */
.widget-area .widget h3  {
text-align:center;  /* タイトルの中央寄せ */
line-height: 40px; /* 高さ */
font-size: 18px; /* 文字の大きさ */
color: #fff; /* 文字色 */
background-color: #0b0b3b; /* 背景色 */
padding: 2px 10px; /* 左と上下に余白 */
}

/* Header */
.site-header {
 padding: 0 0 0 0;
}

body .site {
padding: 0 20px;
padding: 0 1.4rem;
margin-top: 0;
margin-top: 0;
margin-bottom: 0;
margin-bottom: 0;
box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
}




/* ナビメニュー */
.main-navigation li a {
color: #fff; /* 文字色（白） */
font-weight:bold; /* 太字にして */
line-height: 40px; /* 高さ */
font-size: 16px;} /* 文字の大きさ */
.main-navigation ul {
margin: 0; /* 余白をなくす */
background: #0B0B3B; /* 背景色 */
box-sizing: border-box;
padding-left:15px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}





/* Navigation Menu */
.main-navigation {
margin-top: 0;
text-align: center;
}
.main-navigation li {
margin-top: 0;
font-size: 12px;
font-size: 0.857142857rem;
line-height: 1.42857143;
}
.main-navigation li a {
color: #fff;
}
.main-navigation li a:visited {
color: #fff;
}
.main-navigation li a:hover{
color: #FFFF00;
}
.main-navigation li a:active{
color: #FFFF00;
}

/*カテゴリー別アーカイブの下の線を無くす*/
.archive-header{ border-bottom: none}


/* Header */
.site-header {
	padding: 0;
}
.site-header h1,
.site-header h2 {
	text-align: center;
}
.site-header h1 a,
.site-header h2 a {
	color: #515151;
	display: inline-block;
	text-decoration: none;
}

@media screen and (min-width: 960px) {
.main-navigation ul.nav-menu {
 display: table !important;
 table-layout: fixed;
 text-align: center;
 width: 100%;}
 
 .main-navigation li {
	 border-right: 1px solid #fff;
 display: table-cell;
 vertical-align: middle;}
}
.main-navigation ul li:last-child {
  border-right: 0;
}

div.entry-post-thumbnail {
float: left;
margin: 0 10px 10px 0;}

.sd-social-icon .sd-content ul li a.share-custom-rss{ background-color: #FF8000 !important; }
.sd-social-icon .sd-content ul li[class*=share-] a.sd-button.share-custom-rss{ top: 2px !important; }

.sd-social-icon .sd-content ul li a.share-custom-feedly{ background-color: #74C65B !important; }
.sd-social-icon .sd-content ul li[class*=share-] a.sd-button.share-custom-feedly{ top: 2px !important; }






/* サイドバー人気記事位置調整 */
.pop {
  margin-left:0px !important;  /* 人気記事左の余白を無くす */
  padding-left:0px !important; /* 人気記事左の余白を無くす */
}

.pop li{
  border-top: 1px dotted #CCC;  /* 各記事の上に点線 */
  list-style-type:none;  /* リストマークを無くす */
  list-style-image:none; /* リストマークを無くす */
  clear: both;  /* 画像の左寄せを解除 */
  margin-left: 0px !important;  /* 左側の余白を無くす */
  padding: 5px 0 5px 0;  /* 改めて余白をちょい足し */
  border-bottom: none !important;  /* 記事下の点線を削除 */
}
 
/* サムネイル */
.pop img{
  width:100px;  /* 画像の横幅 */
  height:100px; /* 画像の高さ */
  margin-right: 10px;  /* 画像とタイトルの隙間 */
  padding:0px;  /* とりあえず余白は無くす */
  float: left;  /* 画像は左寄せ */
}

.pop li a {
	font-size: 14px;
  font-weight: bold !important;  /* タイトル文字を太字に */
}

ul.pop:after {
  content: "";
  display: block;
  clear: both;
}





.widget-area .widget a {
  color: #0B0B3B; /* リンク部分の文字色 */
  text-decoration: underline; /* リンク部分にアンダーライン */
  font-weight: normal; /* 文字の太さはノーマル */
}

.widget-area .widget a:visited {color: #0B0B3B;}
.widget-area .widget a:hover{color: #7a8285;}




/*--------------------------------------
ヨメレバ・カエレバ
--------------------------------------*/

.booklink-box, .kaerebalink-box{
width:85%;
margin: 1em 0 1em;
padding: 5%;
border:double #d2d7e6;
overflow: hidden;
font-size:small;
border-radius:2px;
}
.booklink-image, .kaerebalink-image{
margin:0 0 15px 0;
}
.booklink-image img, .kaerebalink-image img{
display:block;
margin:0 auto;
text-align:center;
}
.booklink-info, .kaerebalink-info{
text-align:center;
line-height:120%;
overflow: hidden;
}
.booklink-name, .kaerebalink-name{
font-size:16px;
margin-bottom:14px;
line-height:1.2em;
}
.booklink-powered-date, .kaerebalink-powered-date{
font-size:8pt;
margin-top:10px;
line-height:120%;
}
.booklink-powered-date, .kaerebalink-detail{
margin-bottom:15px;
}
.booklink-link2, .kaerebalink-link1{
margin-top:20px;
}
.shoplinkamazon, .shoplinkrakuten, .shoplinkkindle, .shoplinkyahoo, .shoplinkkakakucom, .shoplinkrakukobo{
width:90%;
height:15px;
overflow:hidden;
background:linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
background-color:#ffffff;
border-radius:6px;
border:1px solid #dcdcdc;
display:inline-block;
margin:0  auto 5px auto;
padding:10px 0px;
text-align:center;
}
.shoplinkamazon:hover, .shoplinkrakuten:hover, .shoplinkkindle:hover, .shoplinkyahoo:hover, .shoplinkrakukobo:hover{
background:linear-gradient(to bottom, #f6f6f6 5%, #ffffff 100%);
background-color:#f6f6f6;
}
.shoplinkamazon:active, .shoplinkrakuten:active, .shoplinkkindle:active, .shoplinkyahoo:active, .shoplinkrakukobo:active{
position:relative;
top:1px;
}
.shoplinkamazon a, .shoplinkrakuten a, .shoplinkyahoo a, .shoplinkkindle a, .shoplinkkakakucom a, .shoplinkrakukobo a{
display:block;
cursor:pointer;
text-decoration:none;
font-weight:800;
text-shadow:1px 1px 1px #dcdcdc;
font-size:12px;
}
.shoplinkamazon a{
color:#FF9901;
}
.shoplinkrakuten a{
color:#c20004;
}
.shoplinkkindle a{
color:#007dcd;	
}
.shoplinkyahoo a{
color:#7b0099;
} 
.booklink-footer{
clear:left;
}
.shoplinkrakukobo a{
color:#c20004;
}

/*media Queries PCサイズ
----------------------------------------------------*/
@media only screen and (min-width: 600px) {

/*--------------------------------------
600px以上 ヨメレバ・カエレバ
--------------------------------------*/
.booklink-box, .kaerebalink-box{
width: 90%;
margin:20px auto;
padding:20px;
}
.booklink-image, .kaerebalink-image{
margin:0 15px 0 0;
float:left;
}
.booklink-info, .kaerebalink-info{
margin:0;
text-align:left;
}
.booklink-name, .kaerebalink-name{
margin-bottom:24px;
line-height:1.5;
}
.booklink-link2, .kaerebalink-link1{
margin-top:10px;
}
.shoplinkamazon, .shoplinkrakuten, .shoplinkkindle, .shoplinkyahoo, .shoplinkkakakucom, .shoplinkrakukobo {
float:left;
width:45%;
margin:15px 1% 0 auto;
padding:10px 0px;
}
.shoplinkyahoo a{
font-size:10px;
} 
}



/* 人気記事一覧の下の余白 */
.popular-posts ul { margin-bottom: 80px}

/* 個別記事ごとのliタグ */
.popular-posts li{
border-top: 1px dotted #CCC;
list-style-type:none;
list-style-image:none;
clear: both;
margin: 0px;
padding: 5px 0 5px 0;}

.popular-posts li a {
font-size:14px;
font-weight: bold !important;  /* タイトル文字を太字に */
}

/* サムネイル */
.popular-posts img{
padding:0px;
float: left;}





/*記事下の薄い二重線の削除*/
.site-content article {
border: none;
}



/* メタ情報非表示 */
footer.entry-meta {display: none;}



@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?u03zav');
  src:  url('fonts/icomoon.eot?u03zav#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?u03zav') format('truetype'),
    url('fonts/icomoon.woff?u03zav') format('woff'),
    url('fonts/icomoon.svg?u03zav#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-feedly:before {
  content: "\e900";
}
.icon-hatebu:before {
  content: "\e901";
}
.icon-line:before {
  content: "\e902";
}
.icon-pocket:before {
  content: "\e903";
}
.icon-google-plus:before {
  content: "\ea8b";
}
.icon-facebook:before {
  content: "\ea90";
}
.icon-twitter:before {
  content: "\ea96";
}
.icon-rss:before {
  content: "\ea9b";
}





/* SNSボタン */
.share {margin-top : 40px;}
.share ul {margin : 0;
    padding : 0;
    list-style : none;}
.share li a {display : block;
    padding : 10px;
    color : #fff;
    font-size : 14px;
    text-decoration : none;
    text-align : center;}
.share li a:hover {opacity :0.8;
    color : #fff;}
.share li a:visited{ color: #fff;}
.share ul:after {content : "";
    display : block;
    clear : both;}
.twitter a{background-color : #55acee;}
.facebook a{background-color : #315096;}
.googleplus a{background-color : #dd4b39;}
.hatena a{background-color : #008fde;}
.line a{background-color: #00c300;}
.pocket a{background-color :#f03e51;}
.rss a{background-color: #ff8c00;}
.feedly a{background-color: #6cc655;}
 
.share li {float : left;
    width : 25%;
    margin : 0;
margin-top:15px;}

@media screen and (max-width:599px){
	.share ul {
		
	}
.share li {
display: box;
	flex:1;
	width:50%;
height : 2.75em}
.share li a {border-radius:6px;}
}








/* adsenseの背景の黄色を消す */
ins.adsbygoogle { background: transparent !important; }



/* ホーム画面　隙間をなくす */
.site-content article {
    border: none;
    margin-bottom: 3px !important;
}
/* 広告の隙間をいい感じに */
element.style {
	margin: 0 0 1.714285714rem;
}


/* SNSボタンの上　隙間をなくす */
.share {
    margin-top: 0px;
}




/* 投稿埋込embedの余白調整 */
iframe.wp-embedded-content {
	margin-bottom: 0;
}


/* サイドバー 下の余白調整 */
.widget-area .widget {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}





/*引用タグ装飾*/
blockquote{
position: relative;
margin: 0 1em 1.5em;
padding: 1em;
border: 3px solid #d7d7d7;
background-color: #e0e0e0;
z-index: 1;
}
 
blockquote p{
position: relative;
z-index: 3;
}
 
blockquote:before{
content: "“";
font-size: 1000%;
line-height: 0.8em;
font-family: 'Times New Roman' ,"ＭＳ Ｐゴシック" ,sans-serif;
color: #F0F0F0;
position: absolute;
left: 0;
top: 0;
z-index: 2;
}
 
blockquote:after{
content: "”";
font-size: 1000%;
line-height: 0em;
font-family: 'Times New Roman' ,"ＭＳ Ｐゴシック" ,sans-serif;
color: #F0F0F0;
position: absolute;
right: 0;
bottom: 0;
z-index: 2;
}