@charset "utf-8";
/*
Theme Name: ysklogテーマ
Theme URI: http://ysklog.net/
Description: ysklogテーマ
Version: 1.2
Author: ysk
Author URI: http://ysklog.net/
*/

/************* リセットCSS（ここから） *************/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  border:0;
  font-family:inherit;
  font-size:100%;
  font-style:inherit;
  font-weight:inherit;
  margin:0;
  outline:0;
  padding:0;
  vertical-align: baseline;
}

:focus { outline:0; }

ol, ul { list-style:none; }

table {
  border-collapse:separate;
  border-spacing:0;
}

caption, th, td {
  font-weight:normal;
  text-align:left;
}

blockquote:before, blockquote:after,q:before, q:after { content:""; }
blockquote, q { quotes:"" ""; }

strong { font-weight: bold; }

a img { border: 0; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display:block; }

body{
  font: 16px/1.6 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
  color:#333;
  -webkit-text-size-adjust: none;
  word-break:break-all;
}

/************* 全体指定 *************/
/* aタグ全体指定 */
a {
  color: #ff7200;				/* リンクの色を変更する場合はここを変更する */
  text-decoration: none;
}
a:hover{
  text-decoration: underline;			/* マウスオン時 */
}
a:active, a:focus {
}

/* imgタグ全体指定 */
img{
  max-width: 100%;
  height: auto;
  padding: 5px;
  margin:15px 0 15px 0;
  border:1px dashed #CCCCCC;
}
img.aligncenter {
  display: block;
  margin: 0 auto;
}
img.alignright{
  margin: 0 0 2px 7px;
  display: inline;
  float: right;
}
img.alignleft{
  margin: 0 7px 2px 0;
  display: inline;
  float: left;
}

/* pタグ全体指定 */
p{
  font-size: 12px;
}

/* clearfix */
.clearfix:after {
  content: "."; 
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.clearfix {
  min-height: 1px;
}
* html .clearfix {
  height: 1px;
  /*\*//*/
  height: auto;
  overflow: hidden;
  /**/
}

/************* レイアウト *************/
#header{
  clear: both;
  width: 1080px;
  margin: 0 auto 10px auto;
  padding: 10px 0 0 0;
}

#container{
  clear: both;
  width: 1080px;
  margin: 0 auto 20px auto;
  padding: 10px 0;
}

#main {
  float: right;
  width: 730px;
  margin: 0;
  padding: 0;
}

#sidebar {
  float: left;
  width: 340px;
  margin: 0;
  padding: 0;
}

#subfooter {
  clear: both;
  width: 1080px;
  margin: 0 auto 20px auto;
  padding: 10px 0;
  border-top:3px solid #ffa0a0;
}

#footer {
  clear: both;
  width: 1080px;
  margin: 0 auto 20px auto;
  padding: 10px 0;
  background: #ff7200;
  text-align: center;
  color: #ffffff;
}

/* セクションの枠線 */
.border{
  margin: 0 0 20px 0;
  padding: 15px;
  border: 3px solid #e1e1e1;
}

/* サブフッターのボックス */
.box{
  float: left;
  width: 350px;
  margin:0 0 20px 0;
  padding: 5px;
  display: block;
}

.double-box{
  position: relative;
  width: 300px;
  margin: 10px 0 10px 10px;
  padding: 3px;
  float: left;
}

/************* ヘッダー部分 *************/
.headtitle{
  clear: both;
  padding: 10px 0 10px 0;
  font-size: 25px;
}

.description{
  clear: both;
  padding: 10px 0 10px 0;
}

/* トップナビゲーション */
ol#navi{
  clear:both;
  margin: 0 0 20px;
  padding: 20px 10px 20px 20px;
  border: 3px solid #e1e1e1;
  overflow:hidden;
}
ol#navi li{
  float:left;
  padding: 0 10px 0 0;
  list-style:none;
  display: block;
}
ol#navi > li:before{
  padding:0 10px 0 0;
  content: "≫";
}
ol#navi > li:first-child:before {
  content: none;
}

/************* メイン（コンテンツ）部分 *************/
article h1{
  clear: both;
  margin : 15px 0 15px 0;
  padding: 10px 0 10px 0;
  font-size: 22px;
  font-weight:bold;
  color: #666666;
}

article h2{
  clear: both;
  margin : 15px 0 15px 0;
  padding: 20px 0 20px 20px;
  font-size: 22px;
  font-weight:bold;
  color: #000000;
  position: relative;
  background: #e0edff;
}
article h2:after{
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #e0edff;
  width: 0;
  height: 0;
}
article h3 {
  clear: both;
  margin : 15px 0 15px 0;
  padding: 10px 0 10px 15px;
  font-size: 20px;
  font-weight:bold;
  color: #000000;
  background: linear-gradient(transparent 90%, #e0edff 90%);
}
article h4 {
  clear: both;
  margin : 15px 0 15px 0;
  padding: 10px 0 10px 20px;
  font-size: 18px;
  font-weight:bold;
  color: #000000;
  border-bottom: dashed 2px #e0edff;
}

/* 見出し（全体） */
.title{
  clear:both;
  margin:0 0 10px 0;
  padding:10px;
  border:3px solid #e1e1e1;
  font-size: 22px;
  font-weight:bold;
  color:#666666;
  line-height:100%;
}
.subtitle{
  clear: both;
  margin:0 0 10px 0;
  padding:0;
  font-size: 22px;
  font-weight:bold;
  color: #666666;
  line-height:100%;
  border: none;
  background: none;
}
.subtitle:after{
  margin: 50px 0 0 0;
}

article p{
  font-size: 17px;
  font-weight: normal;
  margin: 20px 0 20px 10px;
  line-height: 200%;
  letter-spacing: 1px;
}

/* 記事のカテゴリ＆日付 */
.date {
  text-align: right;
  padding-right: 15px;
  padding-bottom: 10px;
  color:#e1e1e1;
  font-weight:bold;
}
.cate {
  text-align: right;
  padding-right: 15px;
  padding-bottom: 10px;
  color:#e1e1e1;
  font-weight:bold;
}

/************* サイドバー部分 *************/
/* ウィジェットの検索フォーマット */
.searchform label {
  display:none;
}
.searchform #s {
  border: 2px dotted #e1e1e1;
  height: 36px;
  width: 240px;
  color: #999999;
}
.searchform #searchsubmit {
  height: 36px;
  width: 36px;
  border: 0 none;
  background: url(images/btnsea.gif) no-repeat 0 0;
  cursor: pointer;
  text-indent: -9999px;
}

/************* 各種CSS *************/



/* 吹き出し */
.fuki-left, .fuki-right{
	position: relative;
	width: 80%;
	width : -webkit-calc(100% - 120px);
	width :         calc(100% - 120px);
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	padding: 15px;
	border-radius: 6px;
	border: 2px solid #999;
	-webkit-box-shadow: 1px 1px 5px #aaa;
	        box-shadow: 1px 1px 5px #aaa;
	background-color: #ffffff;
	z-index: 1;
}
.fuki-left{
	margin: 50px 20% 50px 0;
	margin-right: -webkit-calc(120px);
	margin-right:         calc(120px);
}
.fuki-right{
	margin: 50px 0 50px 20%;
	margin-left: -webkit-calc(120px);
	margin-left:         calc(120px);
}
.fuki-left::before, .fuki-right::before{
	position: absolute;
	content: "";
	top: 16px;
	width: 10px;
	height: 10px;
	border-right: 2px solid #999;
	border-bottom: 2px solid #999;
	background-color: #fff;
	z-index: 2;
}
.fuki-left::before{
	right: -7px;
	-webkit-transform: rotate(-45deg);
	        transform: rotate(-45deg);
}
.fuki-right::before{
	left: -7px;
	-webkit-transform: rotate(135deg);
	        transform: rotate(135deg);
}
.fuki-left::after, .fuki-right::after{
	position: absolute;
	content: "";
	width: 100px;
	height: 100px;
	top: -20px;
	border-radius: 50px;
	border: 3px solid #fff;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	-webkit-box-shadow: 1px 1px 5px #aaa;
	        box-shadow: 1px 1px 5px #aaa;
}
.fuki-left::after {
	right: -120px;
}
.fuki-right::after {
	left: -120px;
}

.fuki-icon-yaruo::after {
	background-image:url(images/fuki-yaruo-kihon.png);
}
.fuki-icon-yaruo-yubisasi::after {
	background-image:url(images/fuki-yaruo-yubisasi.png);
}
.fuki-icon-yaruo-kangae::after {
	background-image:url(images/fuki-yaruo-kangae.png);
}
.fuki-icon-yaruo-shougeki::after {
	background-image:url(images/fuki-yaruo-shougeki.png);
}
.fuki-icon-yaruo-komakai::after {
	background-image:url(images/fuki-yaruo-komakai.png);
}
.fuki-icon-yaranaio-kangae::after {
	background-image:url(images/fuki-yaranaio-kangae.png);
}
.fuki-icon-jk::after {
	background-image:url(images/fuki-jk.jpg);
}
.fuki-icon-ysk::after {
	background-image:url(images/fuki-ysk.jpg);
}
.fuki-icon-support::after {
	background-image:url(images/fuki-support.png);
}






/* ピックアップ表示 */
.pickup {
  overflow-x: scroll;
  white-space: pre;
  color:#064599;
  border:3px solid #e1e1e1;
  margin:10px;
  padding:5px;
}

/* 引用符 */
blockquote {
  overflow-x: scroll;
  color:#064599;
  border:3px solid #e1e1e1;
  margin:10px;
  padding:5px;
}

/* テーブル */
table{
  border: none;
  border-collapse: collapse;
  margin:10px 0 30px 0;
}
th{
  text-align:center;
  vertical-align: middle;
  border: 1px solid #ffffff;
  padding:10px 5px 10px 5px;
  background-color:#e1e1e1;
}
td{
  border: 1px solid #e1e1e1;
  padding:10px 5px 10px 5px;
}
td.center{
  text-align:center;
}

/* フォーム */
input[type="text"], textarea{
  width:90%;
  line-height:30px;
  height:30px;
  padding:1px 5px;
  border:1px solid #d4d4d7;
  border-radius:3px;
  font-size:100%;
  color:#555;
  background:#fcfcfc;
}
textarea{
  height:auto;
  line-height:1.5;
}
select{
  line-height:30px;
  height:30px;
  padding:1px 5px;
  border:1px solid #d4d4d7;
  border-radius:3px;
  font-size:100%;
  color:#555;
  background:#fcfcfc;
}
input[type="number"]{
  line-height:30px;
  height:30px;
  padding:1px 5px;
  border:1px solid #d4d4d7;
  border-radius:3px;
  font-size:100%;
  color:#555;
  background:#fcfcfc;
}
input[type="submit"],input[type="reset"],input[type="button"]{
  padding:3px 10px;
  background: #878787;
  background: linear-gradient(to bottom, #878787 0%,#6f6f6f 100%);
  border:0;
  border-radius:3px;
  line-height:1.5;
  font-size:120%;
  color:#fff;
}
input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover{
  background: #878787;
  background: linear-gradient(to bottom, #6f6f6f 0%,#878787 100%);
  cursor:pointer;
}

.cmd{
  color:#ffffff;
  background-color:#000000;
  border:3px solid #e1e1e1;
  margin:10px;
  padding:5px;
}
.ssh{
  overflow-x: scroll;
  white-space: nowrap;
  color:#ffffff;
  background-color:#000000;
  border:3px solid #e1e1e1;
  margin:10px;
  padding:5px;
}
.point{
  color:#ff0000;
  border:3px solid #e1e1e1;
  margin:10px;
  padding:5px;
}
.attention{
  color:#ff0000;
  border:3px solid #e1e1e1;
  margin:10px;
  padding:5px;
}

/* リスト（コンテンツ部分） */
#main ul,#main ol {
  border:3px solid #e1e1e1;
  margin:20px;
  padding:10px;
}
#main ul li{
  margin: 0 0 10px 30px;
  padding : 0 0 5px 0px;
  list-style: circle;
  border-bottom: 1px dotted #e1e1e1;
}
#main ol li{
  margin: 0 0 10px 30px;
  padding : 0 0 5px 0px;
  list-style-type: decimal;
  border-bottom: 1px dotted #e1e1e1;
}
/* リスト（リンク） */
#link ul li{
  list-style:none;
  background: url(images/icon03.gif) no-repeat 0 2px;
  padding:0 0 10px 20px;
  margin:10px 0 0 0;
  border-bottom: 1px dotted #e1e1e1;
}
/* リスト（コンテンツ外） */
#sidebar li,#subfooter li{
  background: url(images/icon03.gif) no-repeat 0 2px;
  padding:0 0 10px 20px;
  margin:10px 0 0 0;
  border-bottom: 1px dotted #e1e1e1;
}
#sidebar li.cat-item, #subfooter li.cat-item{
  background: url(images/icon01.gif) no-repeat 0 2px;
  padding:0 0 10px 20px;
  margin:10px 0 0 0;
  border-bottom: 1px dotted #e1e1e1;
}
#sidebar li.site-item, #subfooter li.site-item{
  background: url(images/icon04.gif) no-repeat 0 2px;
  padding:0 0 10px 25px;
  margin:10px 0 0 0;
  border-bottom: 1px dotted #e1e1e1;
}

/* ページャー */
.prev {
float:left;
text-align: left;
padding-top: 10px;
padding-bottom: 40px;
}
.next {
text-align: right;
padding-top: 10px;
padding-bottom: 40px;
}

/* 複数ページのページャー */
div#nextpage {
    font-size: 100%;
    clear:both;
    margin: 0 0 50px 0;
}
div#nextpage span {
    background-color:#e9e8e8;
    padding: 0.5em 1em;
    margin: 0.25em;
    text-decoration: none;
    border: 1px solid #666666;
    color: #333;
}
#nextpage a span, #nextpage a:link span {
    padding: 0.5em 1em;
    margin: 0.25em;
    text-decoration: none;
    background-color:#bbe0e5;
    border: 1px solid #00b8fd;
    color: #999999;
}
#nextpage a:visited span {
    border: 1px solid #8f9da6;
    color: #999999;
}
#nextpage a:hover span {
   background-color:#45bcd2;
    text-decoration: underline;
    border: 1px solid #0198ca;
    color: #ffffff;
}

/* 続きを読む */
.more-link {
  display:block;
  margin: 10px auto 30px auto;
  font-size: 18px;
  font-weight:bold;
/* ここから背景設定 */
  width:200px;
  height:50px;
  color: #000000;
  text-align:center;					/* 文字を行の中心に */
  line-height:50px;					/* 文字を列の中心に */
  border-radius:10px;					/* 角丸設定 */
  box-shadow: 3px 3px 6px rgba(100,100,100,0.8);	/* 影を設定 */
}

/* コメント */
.comment {
  border-bottom: 1px dashed #000000;
}
.comment p {
  font-size: 17px;
  margin: 0 0 15px 20px;
}
.comment p.commentname {
  font-size: 12px;
  margin: 20px 0 10px 0;
}
.commentform {
  font-size: 18px;
  font-weight:bold;
  color: #000000;
  border-left: 10px solid #999999;
  border-bottom: 2px solid #999999;
  margin : 30px 0 15px;
  padding: 0 0 2px 10px;
  line-height:100%;
}
.comment_form_label{
  margin: 0 0 10px;
}
.comment_form_text{
  margin: 0 0 20px;
}

/* 名前欄をグリーンにする */
.green{
color: #008000;
font-weight:bold;
}

/* アイキャッチ画像リンク */
.eyecatch {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 10px 0 10px 10px;
  padding:3px;
  background: url(images/eyecatch_bg.jpg) repeat 0 0;
  float: left;
}
.eyecatch:hover {
  opacity: 0.6;
}
.eyecatch img {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0;
  padding: 0;
}
.eyecatch-title {
  position: absolute;
  bottom: 0px;
  margin: 0 0 0 -3px;
  padding: 3px;
  font-size: 14px;
  color: #ffffff;
  background-color: #808080;
  opacity: 0.9;
}

/* 画像のアップロード */
#file_upload{
  display:inline-block;
  overflow:hidden;
  position:relative;
  line-height:3em;
  border:1px solid #999;
  background-color:#eee;
  width:300px;
  height:300px;
}

#file_upload p{
  position:absolute;
  text-align:center;
  top:50%;
  margin-top:-4.5em;
  width: 300px;
}

#file_upload input[type="file"]{
  opacity:0;
  filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
  position: absolute;
  right: 0;
  top: 0;
  margin: 0;
  font-size: 100px;
  height:300px;
  cursor: pointer;
}

/* 2段組みボックス */
#box{
  width: 300px;
}
#subbox-left{
  width: 100px;
  height: 100px;
  float: left;
  border: 1px solid #ccc;
  border-radius: 3px;
}
#subbox-right{
  width: 190px;
  height: 100px;
  float: right;
}
.clear {
  clear:both;
}

/* 2段組みボックス　その２ */
#box2{
  width: 700px;
  margin: 5px 0px 15px 0px;
  border: 1px solid #ccc;
  border-radius: 3px;
  overflow: auto;
}
#subbox-left2{
  width: 110px;
  float: left;
}
#subbox-right2{
  width: 580px;
  float: right;
}
#subbox-under2{
  width: 690px;
  text-align: center;
  clear:both;
}

.iframe{
  width: 100%;
  height: 600px;
  border: medium double #000000;
}

/************* SNSボタン *************/
.sns-button-title {
   font-weight: 700;
   margin: 0 0 8px;
   text-align: center;
}
.title-fill {
   display: block;
   background-color: #444;
   color: #fff;
   font-size: 14px;
   width: 100%;
   padding: 6px 15px;
   box-sizing: border-box;
}

/* 各SNSボタンの背景 */
.twitter{
   background-color: #00acee;
}
.pocket{
   background-color: #EE4056;
}
.facebook{
   background-color: #3b5998;
}
.googleplus{
   background-color: #dd4b39;
}
.hatena{
   background-color: #3c7dd1;
}
.line{
   background-color: #00c300;
}

ul#sns-button-text, ul#sns-button-image{
  clear:both;
  width: 100%;
  margin: 10px 0 10px 0;
  padding: 0 0 0 0;
  border: none;
  overflow:hidden;
}
ul#sns-button-text li, ul#sns-button-image li{
  float:left;
  width: 31%;
  margin: 0 1% 0 1%;
  padding: 3px 0 3px 0;
  list-style:none;
  display: block;
}
.button-link {
   display: block;
   text-align: center;
   color: #fff !important;
   font-size: 14px !important;
   padding: 5px 0 !important;
   box-sizing: border-box;
   border-radius: 3px;
   text-decoration: none;
}
.button-link:hover {
   text-decoration: none !important;
   filter:alpha(opacity=70);
   -moz-opacity: 0.70;
   opacity: 0.70;
}


/************* はてなスターボタン *************/
.hatena-star-add-button-image {
  background-image: url(https://cdn.blog.st-hatena.com/images/theme/star/hatena-star-add-button.png);
}
img.hatena-star-star {
  margin: 20px 0 0 0 !important;
}


/************* 人気記事 *************/
#popular-post-main, #popular-post-side{
  counter-reset: wpp-ranking;
}
#popular-post-main ul, #popular-post-side ul{
  margin: 0;
  padding: 0;
  border: none;
}
#popular-post-main ul li,#popular-post-side ul li{
  position: relative;
  list-style-type: none;
  margin: 0;
  padding: 5px 0 0 0px;
}
#popular-post-main ul li:before, #popular-post-side ul li:before{
  content: counter(wpp-ranking, decimal);
  counter-increment: wpp-ranking;
  background: rgba(0, 172, 238, 0.6);
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  padding: 4px 8px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}
#popular-post-main .stats, #popular-post-side .stats{
  text-align: right;
  padding-right: 15px;
  padding-bottom: 10px;
  color:#e1e1e1;
  font-weight:bold;
}


/************* 上に戻るボタン *************/
#pageTop{
  position: fixed;
  bottom: 20px;
  right: 20px;
}
#pageTop a{
  display: block;
  z-index: 999;
  margin: 0;
  padding: 8px 0 0 8px;
  border-radius: 30px;
  width: 50px;
  height: 50px;
  background-color: #9FD6D2;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}
#pageTop a:hover{
  text-decoration: none;
  opacity: 0.7;
}
#pageTop i{
  margin: 0 0 0 0;
  padding: 12px 7px 0 0;
}

/************* 広告 *************/
.ad{
  text-align: center;
  padding:15px auto 15px auto;
  padding:15px 0 15px 0;
}
.ad-top{
  display: inline-block;
  width: 720px;
  height: 90px;
}
.ad-post{
  display: inline-block;
  width: 336px;
  height: 280px;
}
.ad-sidebar{
  display: none;
}
.ad-bottom{
  display: inline-block;
  width: 336px;
  height: 280px;
}


@media screen and (max-width: 1079px){
	#header{
	  width: 730px;
	}

	#container{
	  width: 730px;
	}

	#main {
	  float: none;
	  width: 730px;
	}

	#sidebar {
	  float: none;
	  width: 730px;
	}

	#subfooter {
	  width: 730px;
	}

	#footer {
	  width: 730px;
	}

	/* サブフッターのボックス */
	.box {
	  float: none;
	  width: 730px;
	}

	.searchform #s {
	  width: 80%;
	}
	.ad-sidebar{
	  display: inline-block;
	  width: 336px;
	  height: 280px;
	}
}

@media screen and (max-width: 729px){
	#header{
	  width: 100%;
	}

	#container{
	  width: 100%;
	}

	#main {
	  width: 100%;
	}

	#sidebar {
	  width: 100%;
	}

	#subfooter {
	  width: 100%;
	}

	#footer {
	  width: 100%;
	}
	.border{
	  padding: 15px 0 15px 0;
	}
	.box {
	  float: none;
	  width: 100%;
	}
	.ad-top{
	  display: none;
	}
}

@media screen and (max-width: 437px){
	.eyecatch {
	  float: none;
	  margin: 10px auto 10px auto;
	}
}

@media screen and (max-width: 335px){
	.ad-post{
	  display: inline-block;
	  width: 300px;
	  height: 250px;
	}
	.ad-sidebar{
	  display: inline-block;
	  width: 300px;
	  height: 250px;
	}
	.ad-bottom{
	  display: inline-block;
	  width: 300px;
	  height: 250px;
	}
}
@media screen and (max-width: 320px){
	#header{
	  width: 320px;
	}

	#container{
	  width: 320px;
	}

	#main {
	  width: 320px;
	}

	#sidebar {
	  width: 320px;
	}

	#subfooter {
	  width: 320px;
	}

	#footer {
	  width: 320px;
	}

	.box {
	  float: none;
	  width: 320px;
	}
}

.filtering-avoid-iframe{
	width: 100%;
	height: 600px;
	border: medium double #000000;
}