/*
Theme Name: stingerplus child
Template: stingerplus
Version: 20160525
*/

/*media Queries タブレットサイズ（960px以下）
----------------------------------------------------*/
@media only screen and (max-width: 960x) {


/*-- ここまで --*/
}

/*media Queries タブレットサイズ（600px以上）
----------------------------------------------------*/
@media only screen and (min-width: 600px) {


/*-- ここまで --*/
}

/*media Queries PCサイズ（960px以上）
----------------------------------------------------*/
@media print, screen and (min-width: 960px) {


/*-- ここまで --*/

}

/* サイドバーを左側に設置---------------------*/
/*media Queries PCサイズ（960px以上）
----------------------------------------------------*/
@media print, screen and (min-width: 960px) {

	#contentInner {
		float: right;
		margin-right: 0px;
		margin-left: -300px;
	}
	main {
		margin-right: 0px;
		margin-left: 310px;
	}
	#side aside {
		float: left;
                margin-left: 0px;
	}

}

/* 背景のみ端まで広がれば良い。コンテンツは元に戻す----- */
.inner {
        max-width: 1060px;
        padding: 0 10px;
        margin: 0 auto;
}

/* スマホ・タブレット用。右に少しスクロールできガタついた感じになってしまうのでそれを修正----- */
#headbox {
          padding: 0;
          margin: 0;
}

/* ヘッダーの背景の色を変え、上下にラインを追加する----- */
#headbox {
        background-color: #fff;
        border-top: 5px solid #e52625;
        border-bottom: 2px solid #e52625;
}

/* プロフィール用CSS----- */
.profile-left img {
    width: 80px;
    height: auto;
    border-radius: 15px;
}
.profile-left {
    float: left;
    margin-right: 12px;
}
.profile-right {
    overflow: hidden;
    font-size: 15px;
    padding-top: 1px;
}
.profile-btn {
    padding-top: 4px;
    text-align: left;
}
.profile-btn a {
    padding: 4px 10px;
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 5px;
}
.profile-btn a:hover {
    background: #00ff00;
    color: #fff;
}

/* サイドバーの見出しデザイン----- */
#side aside h4.menu_underh2 { /* paddingはこのクラスで指定 */
	padding: 0 0 0 23px;
}
#side aside h4 {
	font-size: 16px;
	line-height: 1.6em;
	font-weight: normal;
	color: #ffffff;
	border-bottom: 8px dotted #ffffff; /* 下にドットのボーダーライン */
	margin: 15px 0 5px 0;
	position: relative;
}
#side aside h4:before { /* 緑の丸いやつ */
	content: " ";
	width: 15px;
	height: 15px;
	background: #adff2f;
	border-radius: 50%;
	position: absolute;
	bottom: 7px;
	left: 5px;
}
#side aside h4:after { /* 黄色の丸いやつ */
	content: " ";
	width: 7px;
	height: 7px;
	background: #ffbd3a;
	border: 1px solid #ffbd3a;
	border-radius: 50%;
	position: absolute;
	bottom: 10px;
	left: 8px;
}

/* カード型デザインへ変更。カードに影をつける。----- */
.itiran-custom dl {
	border: none; /* 下にあるボーダーを消す */
	background: #fff; /* カードの背景色 */
	padding: 0px; /* カード内側の余白 */
	margin-bottom: 20px; /* カード下に余白を追加 */
	box-shadow: 5px 5px 5px #999999;
        -moz-box-shadow: 5px 5px 5px #999999;
	-webkit-box-shadow: 5px 5px 5px #999999;
}
.itiran-custom dl:last-child {
	padding-bottom: 10px; /* 最後のカードに設定されている余白を修正 */
}
.itiran-custom dd {
        background: #ffffef;
}
@media only screen and (min-width: 414px) { /* スマホは除外 */
.itiran-custom dl h3 a {
	font-size: 23px; /* 記事タイトルの文字サイズ */
	line-height: 1.2em; /* 記事タイトルの行の高さ */
}
}

/* １行に２つの記事を並べる。----- */
.itiran-custom dl {
	width: 48%;
	float: left;
	margin-right: 4%;
	margin-bottom: 25px;
}
.itiran-custom dl:nth-child(2n) {
	margin-right: 0;
}
.itiran-custom dl:last-child {
	padding: 0px;
	margin-bottom: 25px;
}
.itiran-custom dt {
	float: none;
	width: 100%;
}
.itiran-custom dt img {
	width: 100%;
	height: auto;
}
.itiran-custom dd {
	height: auto; /* タイトル・日付・カテゴリ部分のボックスの高さ */
	padding: 10px;
}
@media only screen and (max-width: 721px) {
.itiran-custom dl {
	width: 100%;
	float: none;
	margin-right: 0;
	margin-bottom: 20px;
}
.itiran-custom dd {
	height: auto;
	padding: 10px;
}
}

/* 一覧のタイトル部分の調整----- */
.itiran-custom dl h3 a { /* スマホサイズでの指定 */
	font-size: 20px; /* 文字サイズ */
	line-height: 1.2em; /* 行の高さ */
	color: #3d0000; /* 文字の色 */
}
@media only screen and (min-width: 414px) {
.itiran-custom dl h3 a { /* タブレット・PCサイズでの指定 */
	font-size: 23px;
	line-height: 1.2em;
	color: #3d0000;
}
}


/* 一覧タイトル1文字目を大きくする。----- */
.itiran-custom dl h3 a {
         display: inline-block;
}
.itiran-custom dl h3 a:first-letter {
         font-size: 1.6em;
         color: #ff0000;
}
.itiran-custom dl h3 a:hover{
         color: #ffbd3a;
}


/* 投稿時間、カテゴリーのカスタマイズ。----- */
.itiran-time { /* 投稿日の装飾 */
        font-size: 12px;
	color: #333 !important;
	margin-bottom: 6px !important;;
}
.itiran-cat a { /* カテゴリー・タグの装飾 */
        color: #0000ff !important;
	padding: 3px 3px;
	font-size: 12px;
	display: inline-block;
}
@media only screen and (max-width: 413px) {
.itiran-cat a {　/* カテゴリー・タグの装飾（スマホ） */
	font-size: 10px;
}
}


/* ページ送りのデザインカスタマイズ。----- */
.pagination {
	clear: both;
	padding: 20px 0;
	position: relative;
	font-size: 14px;
	line-height: 14px;
        text-align: center;
}
.pagination-box {
	display: inline-block;
}
.pagination span, .pagination a {
	display: block;
	float: left;
	margin: 2px 2px 2px 0;
	padding: 10px 15px 10px 15px;
	text-decoration: none;
	width: auto;
	color: #fff; /* 文字色 */
	background: #ffbd3a; /* 背景色 */
}
.pagination a:hover{
	color: #fff; /* マウスホバー時の文字色 */
	background: #fae050; /* マウスホバー時の背景色 */
}
.pagination .current{
	padding: 10px 15px 10px 15px;
	background: #0000cd; /* 現在のページの背景色 */
	color: #00ff00; /* 現在のページの文字色 */
}
@media only screen and (max-width: 413px) {
.pagination {
	font-size: 12px;
	line-height: 12px;
}
.pagination span, .pagination a {
	padding: 8px 10px 8px 10px;
}
.pagination .current{
	padding: 8px 10px 8px 10px;
}
}


/* 記事の文字サイズ、色、行の高さ、段落の余白の設定----- */
@media only screen and (max-width: 959x) {
p {
	font-size: 16px;
	line-height: 30px;
	margin-bottom: 30px;
        color: #5e0000;
	}
}

@media only screen and (min-width: 960px) {
p {
	font-size: 16px;
	line-height: 30px;
	margin-bottom: 30px;
        color: #5e0000;
	}
}

/* 画像リンクのマウスオーバーに透かし----- */
a:hover img {
	-moz-opacity: 0.8;
	opacity: 0.8;
}


/* 背景、メインの色やデザイン----- */
#wrapper {
    background: #ffbd3a;
    border-top: 5px solid #ffbd3a;
}

body.custom-background {
    background-color: #ffffff;
}

main {
       border: 1px solid #a8a8a8;
}

@media print, screen and (min-width: 960px) {
main {
      float: left;
      box-sizing: border-box;
      width: 750px;
      padding: 40px 15px;
      border-radius: 15px;
      margin-bottom: 20px;
}
}



/* 記事タイトルの文字サイズ、色----- */
.entry-title {
    font-size: 30px;
    line-height: 40px;
    color: #3d0000;
    margin-bottom: 20px;
}


/* 見出しデザインのためのリセット----- */
h2 {
        font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", Hiragino Kaku Gothic Pro, "ＭＳ Ｐゴシック", sans-serif;
	position: static;
	background: none;
	padding :0;
}
h2:after {
	position: static;
	content: none;
	border: none;
}
h2:before {
	position: static;
	content: none;
	border: none;
}
.post h3 {
        font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", Hiragino Kaku Gothic Pro, "ＭＳ Ｐゴシック", sans-serif;
	padding: 0;
	border: none;
        line-height: 1.0em;
}
.post h4 {
        font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", Hiragino Kaku Gothic Pro, "ＭＳ Ｐゴシック", sans-serif;
	padding: 0;
	background: none;
        line-height: 1.0em;
}


/* 見出しデザインのカスタマイズ----- */
h2 {
        padding: .5em 0 .5em .75em;
	border-left: 6px solid #ffbd3a;
	color: #3d0000;
        font-size: 26px;
        border-top: none;
        border-bottom: none;
}
.post h3 {
	position: relative;
	padding-bottom: .5em;
	color: #3d0000;
        font-size: 20px;
	border-bottom: 4px dotted #ffbd3a; /* ドットのライン */
}
.post h3:after {
	position: absolute;
	bottom: -4px;
	left: 0;
	content: '';
	z-index: 2;
	height: 4px;
	width: 15%;
	background: #ffbd3a;
}
.post h3.point {
	position: relative;
	padding: 0 0 .5em 10px;
	color: #3d0000;
	border-bottom: 4px dotted #ffbd3a;
}
.post h4 {
	position: relative;
	padding-bottom: .5em;
	color: #3d0000;
        font-size: 20px;
	border-bottom: 4px dotted #ff0000; /* ドットのライン */
}
.post h4:after {
	position: absolute;
	bottom: -4px;
	left: 0;
	content: '';
	z-index: 2;
	height: 4px;
	width: 15%;
	background: #ff0000;
}
.post h4.point {
	position: relative;
	padding: 0 0 .5em 10px;
	color: #3d0000;
	border-bottom: 4px dotted #ff0000;
}



/* 画像に文字をキレイに回り込ませる----- */
img.centered {
        display: block;
        margin-left: auto;
        margin-right: auto;
}

img.alignright {
        padding: 4px;
        margin: 0 0 2px 10px;
        display: inline;
}

img.alignleft {
        padding: 4px;
        margin: 0 10px 2px 0;
        display: inline;
}

.alignright {
        float: right;
}

.alignleft {
        float: left;
}


/* 画像に文字をスマホでは回り込ませない設定----- */
@media only screen and (max-width: 413px) {
img.alignright {
	padding: 0 0 10px 0;
	margin: 0 auto;
	display: block;
	}

img.alignleft {
	padding: 0 0 10px 0;
	margin: 0 auto;
	display: block;
	}
.alignright {
	float: none;
	}

.alignleft {
	float: none;
	}
}


/* 画像キャプションの文字設定----- */
wp-caption-text a, .wp-caption-text {
font-size: 12px;
color: #3d0000;
}


/*　投稿用ボタン----- */
.post-btn1 {
    padding-top: 40px;
    text-align: center;
}
.post-btn1 a {
    padding: 4px 10px;
    font-size: 20px;
    font-weight: bold;
    color: #e4007f;
    text-decoration: none;
    border: 5px solid #eb6ea0;
    border-radius: 5px;
    background: #fff;
}
.post-btn1 a:hover {
    background: #ff7fff;
    color: #fff;
}

.post-btn2 {
    padding-top: 40px;
    text-align: center;
}
.post-btn2 a {
    padding: 4px 10px;
    font-size: 20px;
    font-weight: bold;
    color: green;
    text-decoration: none;
    border: 5px solid #32cd32;
    border-radius: 5px;
    background: #fff;
}
.post-btn2 a:hover {
    background: #00ff00;
    color: #fff;
}

.post-btn3 {
    padding-top: 40px;
    text-align: center;
}
.post-btn3 a {
    padding: 4px 10px;
    font-size: 20px;
    font-weight: bold;
    color: #6a5acd;
    text-decoration: none;
    border: 5px solid #6a5acd;
    border-radius: 5px;
    background: #fff;
}
.post-btn3 a:hover {
    background: #8a2be2;
    color: #fff;
}

.post-btn4 {
    padding-top: 40px;
    text-align: center;
}
.post-btn4 a {
    padding: 4px 10px;
    font-size: 20px;
    font-weight: bold;
    color: #1e90ff;
    text-decoration: none;
    border: 5px solid #00bfff;
    border-radius: 5px;
    background: #fff;
}
.post-btn4 a:hover {
    background: #7fffff;
    color: #fff;
}

.post-btn5 {
    padding-top: 40px;
    text-align: center;
}
.post-btn5 a {
    padding: 4px 10px;
    font-size: 20px;
    font-weight: bold;
    color: #ff6347;
    text-decoration: none;
    border: 5px solid #ff4500;
    border-radius: 5px;
    background: #fff;
}
.post-btn5 a:hover {
    background: #ff7f50;
    color: #fff;
}

.post-btn6 {
    padding-top: 40px;
    text-align: center;
}
.post-btn6 a {
    padding: 4px 10px;
    font-size: 20px;
    font-weight: bold;
    color: #0000ff;
    text-decoration: none;
    border: 5px solid #ffff00;
    border-radius: 5px;
    background: #fff;
}
.post-btn6 a:hover {
    background: #00bfff;
    color: #fff;
}

.post-btn7 {
    padding-top: 40px;
    text-align: center;
}
.post-btn7 a {
    padding: 4px 10px;
    font-size: 20px;
    font-weight: bold;
    color: #ff0000;
    text-decoration: none;
    border: 5px solid #ff4500;
    border-radius: 5px;
    background: #fff;
}
.post-btn7 a:hover {
    background: #ff7f50;
    color: #fff;
}

.post-btn8 {
    padding-top: 40px;
    text-align: center;
}
.post-btn8 a {
    padding: 4px 10px;
    font-size: 20px;
    font-weight: bold;
    color: #ff8000;
    text-decoration: none;
    border: 5px solid #ffff00;
    border-radius: 5px;
    background: #fff;
}
.post-btn8 a:hover {
    background: #00bfff;
    color: #fff;
}

.post-btn10 {
    padding-top: 25px;
    text-align: center;
}
.post-btn10 a {
    padding: 4px 20px;
    font-size: 20px;
    font-weight: bold;
    color: #1e90ff;
    text-decoration: none;
    border: 5px solid #ffff00;
    border-radius: 5px;
    background: #fff;
}
.post-btn10 a:hover {
    background: #00bfff;
    color: #fff;
}

/*　プライバシーポリシー　問い合わせボタン----- */
.privacypolicy-btn {
    padding-top: 10px;
    text-align: center;
}
.privacypolicy-btn a {
    padding: 4px 20px;
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 5px;
}
.privacypolicy-btn a:hover {
    background: #00ff00;
    color: #fff;
}

.contact-btn {
    padding-top: 15px;
    text-align: center;
}
.contact-btn a {
    padding: 4px 44px;
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 5px;
}
.contact-btn a:hover {
    background: #00ff00;
    color: #fff;
}


/*　レスポンシブads用幅指定----- */
.responsive-unit{
  max-width: 336px;
  margin-left: auto;
  margin-right: auto;
}

/* スポンサーリンク文字を中央に配置----- */
.center-ads-text {
   text-align: center;
}

/* 引用のデザイン----- */
.post blockquote {
	background-color: #fffff9;
        padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 10px;
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
        border-width: 1px;
	border-style: solid;
	border-color: #CCC;
}


/* 目次のデザイン----- */
#toc_container{
	margin-top:30px;
	border: 1px dotted #DCD7B1;
	font-size: 0.9em;
	padding-right: 16px;
	padding-left: 16px;
	background-color: #FEFDED;
}
#toc_container .toc_title{
	color: #3A3A3A;
}
#toc_container .toc_title:before{
	content: "\f0f6";
	font-family: FontAwesome;
	padding-right: 6px;
	font-weight: normal;
	color: #999;
}
#toc_container .toc_toggle a{
	color: #069;
}
#toc_container ul{
	counter-reset:number;
  list-style:none;
}
#toc_container ul li{
	line-height: 1.25em;
	margin-bottom: 0.5em;
	margin-left:16px;
}
#toc_container ul li:before{
  counter-increment: number;
  content: counter(number);
	font-weight: bold;
	color: #069;
	padding-right:10px;
	margin-left:-20px;
}
#toc_container ul li a{
	font-weight: bold;
	color: #069;
}
#toc_container ul ul{
	margin-top: 0.5em;
}
#toc_container ul ul li{
	line-height: 1.25em;
	margin-bottom: 0.5em;
	margin-left:-2px;
}
#toc_container ul ul li:before{
	content: "\f0da";
	font-family: FontAwesome;
	padding-right: 6px;
	margin-left:0px;
	color: #CCC;
	font-weight: normal;
	margin-left:-11px;
}
#toc_container ul ul li a{
	color: #3D3D3D;
	font-weight: normal;
	padding-right:6px;
}


/* イエローボックスのデザイン----- */
.yellowbox {
	background-color: #ffffef;
        padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
        border-width: 1px;
	border-style: solid;
	border-color: #CCC;
}

/* グレーボックスのデザイン----- */
.graybox {
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
        border-width: 1px;
	border-style: solid;
	border-color: #CCC;
}


/* センター位置自動調整----- */
.center {
  margin-right: auto;
  margin-left: auto;
  width: 100px;
}

/* 楽天アフィリエイトの枠消し----- */
.rakuten_aff table, .rakuten_aff th, .rakuten_aff td {
    border: none !important ;/*優先順位高*/
}

/* 楽天アフィリエイトの枠消し～その2～----- */
.rakuten table, .rakuten th, .rakuten td {border: none ;}

/* 楽天アフィリエイトの枠消し～その3～----- */
.post table {border: none;}
table tbody tr td{border: none; padding:0;}

/* メールアドレスを非表示 */
fieldset.bbp-form fieldset.bbp-form p:nth-child(3) {
display: none;
}