@charset "UTF-8";

/*
  Theme Name: Simplicity2 child
  Template: simplicity2
*/

/* Simplicity子テーマ用のスタイルを書く */

@import url(http://fonts.googleapis.com/earlyaccess/notosansjapanese.css);
@import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono);

body {
  font-family:
      'Noto Sans Japanese',
      'Hiragino Kaku Gothic ProN',
      Meiryo, sans-serif;
  font-size:1em;
}

code {
  font-family: 'Ubuntu Mono', monospace;
}

input, textarea{
  font-family:
      'Noto Sans Japanese',
      'Hiragino Kaku Gothic ProN',
      Meiryo, sans-serif;
}

.article p.wp-caption-text{
  margin: 4px 0 8px;
  font-weight: bold;
}

  /* タイトルにリンクを貼る
.article h1 a{
  color: #333;
  text-decoration: none;
}

#breadcrumb a:hover,
.entry-title a:hover {
  color:#c03;
}*/

.entry-content .post-meta{
  font-size: 15px !important;
  padding: 3px 8px;
  border-bottom: 1px solid #eee;
}

.entry-content .post-meta .post_date{
}

  /*  タイトル表示  */
/*.article h2{
  border-bottom: 1px solid #aaa;
  background-color: #F7F7F7;
}*/

.article h3,
.article h4,
.article h5,
.article h6 {
  border: 1px solid #eee;
}

.article h4 {
  padding:0 0 2px 20px; /* 上右下左 */
  margin-left: -10px;
  /*border-bottom:2px solid #eee;*/
  border-left:8px solid #eee;
}

.article h3 {
  padding: 10px 0 8px 20px;
  margin-left: -20px;
  border-left:14px solid #eee;
}

i.fa{
  margin-right: 2px;
}

#navi i.fa{
  font-size: 17px;
  margin-right: 4px;
}

.article .after-my-image+h2{
  margin-top: 0;
}

  /* サンプルコード */
.article .sample-code {
  float: left;
  padding: 14px 22px;
  font-size: 18px;
  font-weight: bold;
  background-color: #87CEFA;
  border: 1px solid;
}

  /* メモ、付箋みたいに */
.article .sample-memo-block {
  float: left;
  font-size: 17px;
  font-weight: bold;
  padding: 14px 22px;
  background-color: #FFCCFF;
  border: 1px solid;
}

.article .sample-memo-block ul {
  margin-left: -1em;
}

.article code.strong-code,
.article .strong-codes code{
  font-size: 110%;
  font-weight: bold;
  border-bottom: 1px solid #A8A8A8;
  padding: 0 6px;
}

.article .like-buttons code,
.article .like-button {
  border-radius: 5px;
  border: 1px solid;
  padding: 3px 6px;
  margin: 0 4px;
  background-color: #D3D3D3;
}

  /* 投稿情報 */
.post-footer{
  margin-top: 64px;
}

.under-page-title{
  margin-bottom: 48px;
  border-top: 2px solid #A8A8A8;
}

  /* ブログカード（外部サイト）*/
.blog-card.external-blog-card {
  margin:0;
}

  /* */
li.new-entry,
.wpp-list li {
  position: relative;
  border-bottom: 1px solid #A8A8A8;
}

li.new-entry img,
.wpp-list li img {
  /*clear: left;*/
  margin: 3px 8px 10px 0 !important;
}

li.new-entry,
.wpp-list li{
  line-height: 1.2;
}

li.new-entry .new-entry-date,
.wpp-list li .wpp-date{
  position: absolute;
  right: 10px;
  bottom : 2px;
  font-size:14px;
}

.new-entry-content a,
.wpp-list a{
  font-size: 15px;
  font-weight: bold;
}

.related-entry-snippet {
  font-size: 15px;
}

.related-entry-date {
  font-size: 14px;
  position: absolute;
  right: 1.5em;
  bottom : 5px;
}

.related-entry{
  border-bottom: 1px solid #A8A8A8;
}

.related-entry-clear{
  clear: left;
}


  /* short code */
.by_reference{
  float: left;
  position: relative;
}

.amazon-detail,
.by_image_border,
.by_image{
  float: left;
  position: relative;
}

.amazon-detail{
  margin-top:1em;
  margin-bottom: 1.5em;

}

.by_image_border,
.by_image{
  margin-bottom: 1em;
}

.after-my-image+.by_image,
.after-my-image+.by_image_border{
  margin-top: 1em;
}


img.my-border-image,
.by_image_border img,
.amazon-detail a img:first-child{
  border: 1px solid #E8E8E8;
}

.amazon-detail a img+img{
  display: block;
  position: absolute;
  right: 0;
  bottom: -18px;
}

.by_reference a{
  display: block;
  position: absolute;
  right: 1em;
  bottom: -4px;
  font-size: 12px;
}

.by_image_border a.by_image_ref,
.by_image a.by_image_ref{
  display: block;
  position: absolute;
  right: 1em;
  bottom: -13px;
  font-size: 12px;
}

  /*--*/
h3.comment-reply-title,
#sidebar-widget h4{
  padding: 4px 10px;
  background-color: #F7F7F7;
}

.footer-post-meta{
  padding: 4px 10px 2px;
  background-color: #F7F7F7;
  border-bottom: 1px solid #888888;
}

.navigation{
  margin: 0;
}

.navigation p{
  font-weight: bold;
}

#prev-next{
  margin: 24px 0 0;
}

.post{
  margin-bottom: 20px;
}

.ad-space{
  margin: 20px 0;
}

  /* 404 */
.not-found-msg{
  text-align: center;
  padding-right: 150px;
}

#page-404-footer{
  padding-top: 1em;
  padding-right: 100px;
}

#page-404-footer img{
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.ad-label{
  font-size: 14px;
  margin-bottom: 2px;
}

.footer-post-meta + section .navigation{
  margin-top: 20px;
}

.pager{
  margin-top: 5em;
}

a.page-numbers{
  font-size: 110%;
  padding: 6px 10px;
}

/*******************************
  分割ページのタイトル表示
*/
.article #title-page-number{
  font-size: 18px;
  line-height: 80%;
  padding: 8px 8px 0 0;
}

.article #title-page-number i.fa{
  height: 1.2em;
  width: 1.2em;
}

.article #title-page-number #title-page-pre{
  float: left;
}

.article #title-page-number #title-page-next{
  float: right;
}

.article #numpage-title{
  font-size: 90%;
}

/************************************
** 記事分割時のページナビゲーション
************************************/
#wp_page_numbers a {
  margin: 0 0 5px 4px;
  display:inline;
  text-decoration: none;
  text-align:center;
}

#wp_page_numbers li:not(.paginate ):not(.active_page) a {
  font-size: 19px;
  padding: 3px 10px;
}

#wp_page_numbers li:not(.active_page) a {
  color: #eee;
  background-color: #222;
  border: 1px solid #111;
  border-radius:5px;
}

#wp_page_numbers li.active_page a {
  font-size: 16px;
  padding: 4px 6px 3px;
  color: #222;
  background-color:#eee;
  border: 1px solid #222;
  border-radius:3px;
}

#wp_page_numbers li.paginate a {
  font-size: 16px;
  padding: 4px 10px 3px;
}

  /*  外のdiv  */
#wp_page_numbers {
  clear:both;
  margin:0;
  padding:0;
  background:#FFF;
  display:inline;
  text-align:center;
  background: transparent;
}
#wp_page_numbers ul {
  margin:0 80px 10px 0;
  padding: 0;
}
#wp_page_numbers li {
  display:inline;
  margin: 0px;
  padding:0px;
}
#wp_page_numbers li a:hover {
  color: #45bbe6;
  border-color: #234;
  background: #777;
}
#wp_page_numbers li.page_info {
  display:none;
}

  /* コンタクトフォーム */
#contact_form dd{
  margin-top: 10px;
  margin-bottom: 20px;
}
#contact_form dl{
  margin-bottom: 20px;
  border-bottom: 2px solid #A8A8A8;
}
#contact_form dl+p{
  padding-right: 80px;
}
#contact_form dl+p input{
  font-size: 20px;
  display: block;
  margin-right: auto;
  margin-left: auto;
}

#contact-pen-jr{
  text-align: center;
  padding: 4px 30px 8px 0;
}
#contact-pen-jr i{
  margin-right: 4px;
}
#contact-pen-jr a{
  font-size:20px;
  color: #eee;
  display: inline;
  padding: 8px 15px;
  background-color: #08a8c5;
  border-radius: 8px;
  border: 1px solid #ccc;
  text-decoration: none;
}
#contact-pen-jr a:hover{
  color: #c03;
}
