@charset "UTF-8";

/* Googleフォントを導入する - added*/
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700|Quicksand:400,300,700|Nothing+You+Could+Do|Noto+Sans+JP:400,700);

/*******目次*************

0. デフォルトのテンプレートの冒頭部分（あまりいじっていない）

1. ヘッダ周りの書式
  1-1. id付きヘッダ要素に関する書式
  1-2. ブログタイトル周りの書式
  1-3. 2カラムレイアウトにおけるカラム幅指定

2. カードレイアウトにするためのCSS
  2-1. カードの調整
  2-2. 記事ページ／記事一覧ページ／カテゴリページ／アーカイブページ共通
  2-3. 記事一覧ページ／カテゴリページ／アーカイブページ固有の設定
  2-4. 記事ページ固有の設定

3. 記事内の書式
  3-1. 記事レイアウトに関する書式
  3-2. 記事タイトル周りの書式
  3-3. 記事内の基本書式
  3-4. h1～h6見出しについての書式
  3-5. 箇条書きに関する書式
  3-6. table（表）に関する書式
  3-7. 引用に関する書式
  3-8. ソースコード表示用pre,codeに関する書式
  3-9. 目次に関する書式

4. 記事下（フッタ・ページャー）に関する記述

5. サイドバー周りの記述

6. レスポンシブデザイン用の基本設定
  6-1. PC表示でウィンドウが大きいとき（1200px以上
  6-2. PCウィンドウ「小」 or タブレット（768～1199pxのとき）
    6-2-1. PCとタブレット共通の設定
    6-2-2. PC限定の設定
    6-2-3. タブレット限定の設定
  6-3. スマホのとき（797px以下）
    6-3-1. スマホ＆タブレット共通の設定
    6-3-2. スマホ限定の設定

7. 後から追加したブログパーツ等に関するCSS
  7-1. トップメニュー（リンクボタン）に関するCSS
    7-1-1. PC／タブレット表示のときのメニュー
    7-1-2. スマホ表示時のハンバーガーメニュー
  7-2. スマホ表示時のヘッダに設置する検索フォーム
  7-3. 記事下シェアボタン
  7-4. Feedly & はてなブログ読者登録ボタン
  7-5. Google Adsense設置に関するCSS

8. 記事中で使うデザインに関するCSS
  8-1 基本的なデザインに関するCSS
  8-2. 記事ごとに個別のデザインを施すためのCSS

9. 広告リンクの装飾に関するCSS
  9-1. 現在使用しているもの
  9-2. 過去の記事で使用していたもの


/*****************************************************

     0. デフォルトのテンプレートの冒頭部分（必要なもの以外削除）

****************************************************/

/*  Responsive: yes */

html {
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

article,aside,footer,header,nav,section {
    display: block;
}

h1 {                    /* edited */
  font-size: 1.8em;
  margin: 0.67em 0;
  line-height: 1.1}
}

hr {
    -webkit-box-sizing: content-box;
            box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

a {
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

img {
    border-style: none;
}

button,input {
    /* 1 */
    overflow: visible;
}

textarea {
    overflow: auto;
}

html,body {
  font-family: 'Helvetica Neue','Helvetica','ヒラギノ角ゴ ProN W3','Hiragino Sans',ヒラギノ角ゴシック,メイリオ, Meiryo,YuGothic,'Yu Gothic',Arial,'MS ゴシック','MS PGothic',sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #454545;
  background-color: #fff;
  line-height: 1.6;
}

a {
  color: #076DB6;
  text-decoration: none;
}

@media screen and (min-width: 768px){
  a:hover {
      color: #076DB6;     
      text-decoration: underline;
  }
}

a:visited {
  color: #59809B;
  text-decoration: none;
}

a.keyword {
  text-decoration: none;
  border-bottom: 1px dotted #ddd;
  color: #454545;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.4; /*edited*/
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    text-decoration: none;  /* added */
}

h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:hovvisiteder, h6 a:visited {;
    text-decoration: none;
}


/***************************

     1. ヘッダ周りの書式

**************************/

/*================================
     1-1. id付きヘッダ要素に関する書式
===============================*/

/* ヘッダ（グローバルヘッダ）
  グローバルヘッダの中はiframeですが、
  #globalheader-container に背景色や文字色を指定することでiframeの中にも色が反映されます。
*/
#globalheader-container {     /*階層レベル：0 */
    background-color: #454545;
    color: #fff;
}

/* container */

#container{     /*階層レベル：0 */
  background: #f3f2f1;  /*背景色*/
}

#container-inner{     /*階層レベル：-1 */
 /* position: relative;  /* #top-editareaのpositon指定のため*/
}

#container #content {     /*階層レベル：-2 */
  background: #f3f2f1;  /*背景色*/
  display: block;
  zoom: 1;
  margin-top: 40px;  /*上部メニュー下の余白、デフォルトは60px 180325*/
  margin-left: auto;
  margin-right: auto;
}

#container #content:after {
  display: block;
  visibility: hidden;
  font-size: 0;
  height: 0;
  clear: both;
  content: ".";
}
.globalheader-off #container {
  padding-top: 0;
}

#content-inner{     /*階層レベル：-3 */
  width:95%;
  margin: 0 auto;
}
@media screen and (max-width: 767px){
  #content-inner{
    width: 100%;
  }
}

/* ブログタイトル下のブログの説明（非表示にする）*/
#blog-description {     
    font-weight: normal;
    font-size: .8rem;
    margin: 1em 0 0;
}

/*================================
     1-2. ブログタイトル周りの書式
===============================*/

#blog-title {     /*階層レベル：-4 */
  margin: 0;
  padding: 0;
  background: #6388c7;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

#blog-title-content{
  position: relative;
}

#title {
  padding: 0.3em 0;
  margin: 0 15px;
  font-size: 1.5rem;
}


#title a {          /* edited ブログのタイトル*/
    color: #fff;
    letter-spacing: 0.1em;
    font-size: 150%;   /* edited */
    font-family: メイリオ, Meiryo, 'Hiragino Sans','ヒラギノ角ゴ ProN W3',ヒラギノ角ゴシック, Arial,sans-serif;
}

/*スマホ～タブレット時の基本のブログタイトル文字サイズ*/
@media screen and (min-width: 421px) and (max-width: 767px){  
  #title{
    width: 75%;
    margin: 0 auto;
    padding: 5px 0 0;
  }
  #title a{
    color: #fff;
    font-size: 120%;
  }
}

/*スマホ時の基本のブログタイトル文字サイズ*/
@media screen and (max-width: 420px){  
  #title{
    width: 75%;
    margin: 0 auto;
  }
  #title a{
    font-size: 7vw;
  }
}



/*====================================
     1-3. 2カラムレイアウトにおけるカラム幅指定
====================================*/

/*左カラム（記事とか）*/
#main {   
  width: 67%;
  margin-left: 15px;
  float: left;
}

/*右カラム（サイドバーとか）*/
#box2 {
  width: calc(33% - 60px);    /* marginの合計を差し引く */
  float: right;
  margin-left: 30px;
  margin-right: 15px;
  box-sizing: border-box;
}


/*****************************************************

     2. カードレイアウトにするためのCSS

****************************************************/

/*================================
     2-1. カードレイアウトの基本設定
===============================*/

/* 各カードの親要素 */
.archive-entries{
  display: flex; /*子要素が自動的に並ぶ*/
  flex-wrap: wrap; /*子要素が折り返すようになる*/
}

/* カードが1列になるポイントは、480px以下のときにする（他とはブレイクポイントが異なる） */
@media screen and (max-width: 480px){   
  .archive-entries{
    display: block; /* スマホ表示時はカードは1列*/
  }
}

/*1枚のカードの中身を表すdiv*/
.archive-entries .archive-entry {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;  /*これが無いとタイトルの高さが中央揃えになってしまう*/
  width: 46%;
  margin: 0 4% 30px 0;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
  transition: 0.2s ease-in-out;   /* 後述のホバー時のアクションをなめらかにする*/
}

/* カードにホバーしたときに浮き上がらせる */
.archive-entries .archive-entry:hover {
    box-shadow:  0 15px 20px -5px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* カード幅のレスポンシブ設定 */
@media screen and (min-width: 481px) and (max-width: 979px){
  .archive-entries .archive-entry {
    margin: 0 2% 30px 2%;   /* サイドバーが下に落ちたら、カードの左寄せは解消 */
  }
}
@media screen and (max-width: 480px){
  .archive-entries .archive-entry {
    width: 95%;       /* カードが1列表示になったので、幅いっぱい使って表示させる */
    margin: 0 auto 20px;
  }
}


/* 記事の投稿日時 */
.archive-entries .date{
  padding: 8px 0 0 15px;
  box-sizing: border-box;
  font-size: 90%;
  order: 1;
  -webkit-box-ordinal-group: 2;
  display: block;
  width: 100%;
}

/*======= アイキャッチ画像のサイズ設定===== */
a.entry-thumb-link{
  width: 100%;
  height: 188px;      /* だいたい16:9になるよう設定*/
  order: 0;
  -webkit-box-ordinal-group: 1;
}
@media screen and (min-width: 980px) and (max-width: 1199px){
  a.entry-thumb-link{
    height: 15.3vw;     /*レスポンシブ表示時は画面幅に合わせて画像の高さを決める*/
  }
}
@media screen and (min-width: 481px) and (max-width: 979px){
  a.entry-thumb-link{
    height: 23.5vw;       /*同上。タブレット or スマホで2列表示のとき*/
  }
}
@media screen and (max-width: 480px){
  a.entry-thumb-link{
    height: 47.5vw;       /*同上。スマホで1列表示のとき*/
  }
}

.page-archive .entry-thumb {  /*上記aタグの中にimgが格納される*/
    width: 100%;    /* 画像サイズは、a.entry-thumb-link のサイズに準じる*/
    height: 100%;
    margin: 0;
    background-position: center;
    background-size: cover;
}


/* パンくずリスト */

#top-box {  /*パンくずリストの親要素*/
  width: 1140px;
  margin: 0 auto;
}

#top-box .breadcrumb {
  width: 95%;               /* 170208 縦のラインを揃える調整。 */
  margin-top: 2em;
  margin-left: auto;          /*同上*/
  margin-right: auto;         /*同上*/
}

#top-box .breadcrumb-inner{
  margin: 0 15px;
  font-weight: bold;
  color: #777;
}
@media screen and (max-width: 767px){
  #top-box .breadcrumb-inner{
    margin: 0;
  }
}


/*================================================================
     2-2. 記事ページ／記事一覧ページ／カテゴリページ／アーカイブページ共通の設定
===============================================================*/

.entry-header {
  display: flex;    /* Flexboxで要素の順序を入れ替える*/
  flex-wrap: wrap;
  padding: 0 0 .5em;
  margin-bottom: 1.5em;
  position: relative;
}

@media screen and (max-width: 767px){
  .entry-header{
    margin-bottom: 1em;
  }
}

.date {
  width: 100%;
  font-weight: bold;
  margin: .2em 0;
  font-size: 110%;
}

@media screen and (max-width: 767px){
  .date {
    font-size: 90%;
  }
}

.date:before {
    font-family: "blogicon";
    content: "\f043";
    font-size: 90%;
    color: #777;
    position: relative;
    top: 0.5px;
    left: 1px;
}

.date a {           /* edited */
    color: #777;
    text-decoration: none;
    font-size: 100%;
    letter-spacing: 0.1em;
    font-family: 'quicksand', sans-serif;
}

.entry-title {    /*edited 記事のタイトル。記事一覧／記事ページ共通 */
    margin: 0.2em 0 0.2em;
    font-size: 1.6em;
    font-family: 'Helvetica Neue','Helvetica','ヒラギノ角ゴ ProN W3','Hiragino Sans',ヒラギノ角ゴシック,YuGothic,'Yu Gothic',メイリオ, Meiryo,Arial,'MS ゴシック','MS PGothic',sans-serif;
}

@media screen and (max-width: 767px){
  .entry-title {
      font-size: 125%;
  }
}

.entry-title .entry-title-link{   /* Added 170208 記事タイトルの色を変更する*/
    color: #333333;
}


/*=================================================================
     2-3. 記事一覧ページ／カテゴリページ／アーカイブページ固有の設定 
================================================================*/

/*=======覚え書き========
・記事一覧ページ、カテゴリページ、アーカイブページは、全て.archive-entriesの配下にある。
・また、記事一覧ページには、page-indexというクラスが付加される  */

/*記事タイトル*/
.archive-entries .entry-title {
  font-size: 120%;    /*カード表示時はタイトル小さめ*/
  margin: 0.3em 0 .5em;
  order: 0;
  -webkit-box-ordinal-group: 1;
}

@media screen and (max-width: 767px) {
  .archive-entries .entry-title {
    font-size: 120%;
    margin: 0 0 .3em;
  }
}

.archive-entries .categories {
  position: absolute;
  top: 8px;
  left: 8px;
  margin: 0 0 .5em;
}
.archive-entries .entry-description {/*表示させない*/
  margin: 0 0 1em;
  line-height: 1.7em;
  font-size: 90%;
  max-height: 90px;   /* 画像より下に文字がはみ出ないようにする */
  overflow: hidden;   /* あふれた分は隠す */
  display: none;
}


.archive-entry-body{  /* entry-descriptionの親要素：表示させない*/
  display: none;
}

.archive-entries .entry-title{
  font-size: 120%;
  margin: 0;
  order: 0;
  -webkit-box-ordinal-group: 1;
}

.archive-entries a.entry-title-link{
  padding: 5px 5px 15px 15px;
  width: 100%;
  box-sizing: border-box;
  display: block;
}

/*=========================================
     2-4. 記事ページ固有の設定
========================================*/

/*=======覚え書き========
：記事ページには.page-entryというクラスが付加される*/

/* 記事ページの日付*/
.page-entry .entry-header{
  margin-bottom: 5px;
}

/* 記事ページの記事タイトル*/
.page-entry h1.entry-title{
  order: 2;
  -webkit-box-ordinal-group: 3;
}

/* 記事ページの日付*/
.page-entry .date{
  text-align: right;
  order: 3;
  -webkit-box-ordinal-group: 4;
}

/* 記事ページのカード上のカテゴリタグ*/
.page-entry .entry-categories.categories{
  width: 100%;
  margin-bottom: 1em;
  order: 1;
  -webkit-box-ordinal-group: 2;
}

.page-entry .categories a {
  font-size: 90%;
}


/*記事上（＝タイトル下）のdiv（Adsenseスペース）*/
.customized-header{ 
  width: 100%;
  order: 0;
  -webkit-box-ordinal-group: 1;
}


/***********************************

         3. 記事内の書式

***********************************/

/*=================================
     3-1. 記事レイアウトに関する書式
=================================*/

/*.entry-innerの親要素*/
.entry {
    position: relative;
    margin-bottom: 2em;   /* edited */
}

/* 記事ページにて記事全体を包み込むdiv*/
.entry-inner{
  padding: 30px 3em 20px;
  margin-right: 10px;
  background: #fff;
}
@media screen and (max-width: 767px){
  .entry-inner{
    margin: 0;
  }
}


/*=================================
     3-2. 記事タイトル周りの書式
=================================*/

/* カテゴリの装飾*/
.categories {
  margin: 12px 0; /*edited*/
  font-size: 80%;
}
.categories a {
  color: #fff;
  font-size: 95%;
  background: #6d9def;
  padding: 0.2em 0.5em;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  margin-right: 4px;
}

@media screen and (min-width: 768px){ /* PC表示時 */
  .categories a:hover {
  /*  background: gray  */
  }
}

@media screen and (max-width: 767px){ /* スマホ表示時 */
  .categories a{
    font-size: 95%;
  }
}


/* 「編集する」ボタン */         /* edited */
.entry-header-menu {
  position: absolute;
  bottom: 0;      /*位置調整*/
  left: 0;     /*位置調整*/
}
.entry-header-menu a {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 4px 10px 4px;
  margin-bottom: 0;
  line-height: 18px;
  color: #454545;
  background-color: #ffffff;
  text-align: center;
  vertical-align: middle;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-radius: 2px;
  background-clip: padding-box;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
}
.entry-header-menu a:hover {
  background-color: #f5f5f5;
  text-decoration: none !important;
}


/*===========================
     3-3. 記事内の基本書式
==========================*/

/* 基本的な文字サイズ*/
.entry-content {
  font-size: 100%;
  line-height: 1.7;
  padding-bottom: 10px;
  border-bottom: 1px solid #dddddd;
}

.entry-content p {          /*記事本文の文字の大きさ等を決める*/
    margin: 0 0 1em 0;
    line-height: 1.9;
}
@media screen and (max-width: 767px){
  .entry-content p{
    line-height: 1.7;
    margin: 0 0 1.0em 0;
  }
}  


/* 画像の表示*/
.entry-content img {        /* edited */
  max-width: 100%;
}

.entry-content video {
    max-width: 100%;
    height: auto;
}


/*===============================
     3-4. h1～h6見出しについての書式
==============================*/

.entry-content h1,.entry-content h2,.entry-content h3,
.entry-content h4,.entry-content h5,.entry-content h6 {
    line-height: 1.5;       /* edited */
}

.entry-content h1 {
    font-size: 150%;
}


.entry-content h2 {   /* edited */
  font-size: 140%;
  padding: 0.5em 0 0.1em 0;
  color: #385D9C;
  margin: 1.5em 0 1em;
  line-height: 1.5;
  border-bottom: #385D9C solid 0.15em;
}

@media screen and (max-width: 767px){
  .entry-content h2 {
      font-size: 125%;
  }
}

.entry-content h3 {
    font-size: 120%;
    color: #385D9C;             /* Added */
    padding: 0.1em 0 0.1em 0.4em;
    margin: 1.3em 0 0.8em;
    border-left: #385D9C solid 0.3em;
}

@media screen and (max-width: 767px){
  .entry-content h3 {
      font-size: 115%;
  }
}

.entry-content h4 {
  font-size: 110%;
  color: #385D9C;             /* Added */
  margin: 1.1em 0 0.4em
}

@media screen and (max-width: 767px){
  .entry-content h4 {
      font-size: 104%;
  }
}

/* Added ↓*/
.entry-content h4:before {
  top: 1.0px;           /* レイアウト調整*/
  content: "\f029";
  font-family: "blogicon";
  position: relative;
  padding-right: 0.4em;
  color: #385D9C;
}
/* Added---*/

.entry-content h5 {
    font-size: .9rem;
}



/*===========================
     3-5. 箇条書きに関する書式
==========================*/

.entry-content ul,.entry-content ol,.entry-content dd {
    border: 2px solid #B9CFE8;
    padding: 0.6em 0.9em 0.5em 1.2em;
    margin: 0.6em 0 1em;
}

.entry-content li p{  /* 箇条書きに勝手に付加されるpタグのマージン除去*/
    margin: 0;
    line-height: 1.7; /* ul liのline-heightと合わせる*/
}

.entry-content li p img{  /* 箇条書きの中の画像にマージン付加*/
    margin: 0.5em 0;
}

.entry-content > blockquote ul,
.entry-content > blockquote ol,
.entry-content > blockquote dd {
    border: none;
    padding: 0;
    margin: 0;
}

.entry-content ul li {
  list-style-type: disc;
  line-height: 1.7;
  padding: 0.1em 0;
  margin: .2em 1em .2em;
}


/*==== 番号付きリストの装飾 191017====*/

.entry-content ol>li {
  list-style-type: none!important; /*数字を一旦消す*/
  position: relative;
  line-height: 1.7;
  padding: 0.2em 0 0.2em 30px;
  margin: .2em 1em .2em .3em;
}
.entry-content ol {
  counter-reset:number; /*数字をリセット*/
  padding:0.5em;
}
.entry-content ol>li:before{
  /* 以下数字をつける */
  position: absolute;
  counter-increment: number;
  content: counter(number);
  /*以下数字のデザイン変える*/
  display:inline-block;
  background: #94a5c1;
  color: white;
  font-weight:bold;
  font-size: 15px;
  border-radius: 50%;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
}

.entry-content ul li ul, .entry-content ul li ol,
.entry-content ol li ul,.entry-content ol li ol,
.entry-content dd li ul,.entry-content dd li ol {
  border: 0px;
  margin: .2em 0;
  padding: 0;
  font-size: 0.95em;
}

.entry-content ul li li,.entry-content ol li li{
  margin: 0.1em 0 0.1em 1em ;
}


/*==============================
     3-6. table（表）に関する書式
=============================*/

.entry-content table {  /*edited */
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 1em;
    font-size: 90%;
}

.entry-content table th,
.entry-content table td {
    border: 1px solid #ddd;
    padding: 5px 10px;
}

.entry-content table th {
    background: #FEF1F1;        /* edited */
}


/*===========================
     3-7. 引用に関する書式
==========================*/

.entry-content blockquote {     /* edited ↓*/
  font-size: 95%;
  background: #F4F4F4;
  margin: 0 0 15px 0;
  padding: 12px 20px 2px 40px;           /* edited---*/
}

.entry-content blockquote p{
  line-height: 1.7;
  margin: 0 0 0.6em;
}

.entry-content blockquote:before {
    color: #C8C8C8;
    content: "“";
    font-family: Arial,'Montserrat',sans-serif;
    font-size: 540%;
    left: 4px;
    line-height: 1em;
    position: absolute;
    top: 0;
}

/*=========================================
     3-8. ソースコード表示用pre,codeに関する書式
========================================*/

.entry-content pre,
.entry-content code {
    font-family: 'Monaco', 'Consolas', 'Courier New', Courier, monospace, sans-serif;
}

.entry-content pre {
    background: #f5f5f5;
    border: none;
    white-space: pre-wrap;
    text-overflow: ellipsis;
    font-size: 100%;
    line-height: 1.3;
    font-size: .8rem;
    padding: 10px;
}

.entry-content pre > code {
    margin: 0;
    padding: 0;
    white-space: pre;
    border: none;
    background-color: transparent;
    font-family: 'Monaco', 'Consolas', 'Courier New', Courier, monospace, sans-serif;
}

.entry-content code {
    font-size: 90%;
    margin: 0 2px;
    padding: 0px 5px;
    background-color: #f5f5f5;
    border-radius: 3px;
}

.entry-content hr {
    width: 50%;
    border: 0;
    border: none;
    border-top: 1px solid #ddd;
    margin: 2em auto;
}


/*====================================
     3-9. 目次に関する書式
===================================*/

/* 目次のカスタマイズ PC用 190618 *** edited*/

.entry-content .table-of-contents{
  padding: 1em 1em 1em 2em;
  margin: 0 0 1em;
  border: 2px solid #ddd; 
  font-size: 98%;
  background: #F4F4F4;
}

.table-of-contents:before{
  display: block;
  text-align: center;
    content: "目次";
    font-size: 110%;
    font-weight: bold; 
}

.entry-content .table-of-contents li{
  margin: 0;
  padding: 0;
  text-indent: -1em;  /*テキスト改行時、マーカーの下に回り込まないようにする*/
  list-style-type: none !important; /*デフォルトのリストマークを消す */
}

.entry-content .table-of-contents li:before{
  content: "・";
  font-weight: bold;
  position: relative;
  left: -4px;
  color: #505050;
}

.entry-content .table-of-contents > li{
  margin: 0.3em 0;    /* h2見出しは上下にmarginを設定 */
}

.entry-content .table-of-contents ul{
  padding: 0;
  margin: 0.2em 0 0.4em;
}

.entry-content .table-of-contents ul li{
  margin: 0 1em 0.2em 1.5em;
}

.entry-content .table-of-contents li a{
    text-decoration: none;
    font-weight: bold;
    color: #385D9C;
}

.entry-content .table-of-contents li li{
    margin: 0 0 0.2em 1em;
}

.entry-content .table-of-contents li li a{
    text-decoration: none;
    font-weight: normal;
    color: #454545;
}

.entry-content .table-of-contents li li:before{
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  position: relative;
  left: -4px;
  color: #c6c6c6;
}

@media screen and (min-width: 768px){
  .entry-content .table-of-contents li a:hover{
      text-decoration: underline;
      color: #454545;
  }
}

/* 目次の表示／非表示を切り替える 190702 */
p.show-area{
    display: inline-block;
    font-size: 90%;
    font-weight: bold;
    padding: 0.2em 0.8em;
    cursor: pointer;
    margin: 0;
    color: #555;
    background: #ddd;
}


/*****************************************

     4. 記事下（フッタ・ページャー）に関する記述

********************************************/

/* 記事下 */
.entry-footer .social-buttons {
    margin-bottom: 1em;
}

.entry-footer-section {
    color: #999;
    font-size: .9rem;
}

.entry-footer-section a {
    color: #999;
}


/* コメント */
.comment-box {
    margin: 1em 0;
}

.comment-box .comment {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.7;
    font-size: .85rem;
}

.comment-box .entry-comment {
    padding: 10px 0 10px 60px;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.comment-box .entry-comment:first-child {
    border-top: 1px solid #ddd;
}

.comment-box .read-more-comments {
    padding: 10px 0;
}

.comment-box .hatena-id-icon {
    position: absolute;
    top: 10px;
    left: 0;
    width: 50px !important;
    height: 50px !important;
    border-radius: 3px;
}

.comment-user-name {
    margin: 0 0 .4em 0;
    font-weight: bold;
}

.comment-content {
    margin: 0 0 .4em 0;
    word-wrap: break-word;
    color: #454545;
    font-size: .85rem;
}

.comment-content p {
    margin: 0 0 .6em 0;
}

.comment-metadata {
    color: #999;
    margin: 0;
    font-size: .8rem;
}

.comment-metadata a {
    color: #999;
}

.leave-comment-title {
    padding: .6em 1em;
    font-size: .85rem;
    border: 1px solid #ddd;
}

/* Pager */

.pager {  /*edited */
  margin: 1em 4% 4em;
  padding: 0 5px;
  display: block;
  zoom: 1;
}
@media screen and (max-width: 767px){
  .pager {  /*edited */
    width: 95%;
    margin: 1em auto 3em;
    padding: 0;
  }  
}

.pager:after {
  display: block;
  visibility: hidden;
  font-size: 0;
  height: 0;
  clear: both;
  content: ".";
}
.pager .pager-prev {
  float: left;
  text-align: left;
  width: 45%;
}
.pager .pager-next {
  float: right;
  text-align: right;
  width: 45%;
}

.pager .pager-next, .pager .pager-prev{    /* スマホ版「次のページ」ボタン */
  width: 40%;
}
.pager .pager-next a, .pager .pager-prev a{   /* 前後の記事へ移動するボタンを作成*/
  box-sizing: border-box;
  display: inline-block;
  width: 100%;
  font-weight: bold;
  text-align: center;
  color: #555;
  background: #d1d1d1;
  padding: 0.5em 0.8em;
  border-radius: 4px;
}


/*********************************************

     5. サイドバー周りの記述

********************************************/

/* サイドバーモジュール */

/*記事一覧モジュールの設定*/
.urllist-item-inner{
  display: inline-block;
}

img.urllist-image{
  width: 80px;  /* 記事一覧モジュールののサムネイルの画像幅*/
  border: solid 2px #f2f2f2;
}

/* 記事一覧モジュールののサムネイル画像の親要素*/
a.urllist-image-link{   
  width: 84px;
  margin-right: 10px;
  float: left;
}

/*サイドバー記事一覧モジュールの右側テキストの方*/
.urllist-title-link{
  display: inline-block;  /*高さをもたせる*/
  width: calc(100% - 80px - 4px - 10px);    /* 全体 - 画像 - 枠線 - 画像右margin */
  font-size:105%;
  font-family: 'Helvetica Neue','Helvetica','ヒラギノ角ゴ ProN W3','Hiragino Sans',ヒラギノ角ゴシック,YuGothic,'Yu Gothic',メイリオ, Meiryo,Arial,'MS ゴシック','MS PGothic',sans-serif;
}

a.urllist-title-link:hover {
    color: #4e67a5;
}

.hatena-module {
    background: #fff;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 3em;
    font-size: 90%;   /* edited */
}

@media screen and (min-width: 980px){
  #box2 .hatena-module:first-child {
      margin-bottom: 0;        /* スマホ用最新記事ボタンのすき間を無くす */
  }
}

.hatena-module-title {  /* edited */
    color: #fff;
    background: #6388c7;
    /* border-left: 0.4em #385D9C solid; */
    /* padding-left: 0.4em; */
    padding: 0.5em 0.5em;
    font-weight: bold;
    /* margin-bottom: 0.6em; */
    font-size: 135%;
    line-height: 1em;
    letter-spacing: 0.1em;
    font-family: 'Montserrat';
}

.hatena-module-title a {
    color: #fff;         /* edited */
    text-decoration: none;
}


/*カテゴリモジュール added*/
.hatena-module.hatena-module-category .hatena-urllist{
  padding: 0.8em 0.8em;
}

.hatena-module.hatena-module-category .hatena-urllist li{
  list-style: none;
  margin: 0.5em 0;
}
.hatena-module.hatena-module-category .hatena-urllist li a:before {
    font-family: "Font Awesome 5 Free";
    content: "\f054";
    margin-right: 2px;
    color: #c6c6c6;
}

/* Profile module */
.hatena-module-profile .profile-icon {
    float: left;
    margin: 0 10px 10px 0;
}

.hatena-module-profile .id {
    display: block;
    font-weight: bold;
    margin-bottom: .5em;
}

.hatena-module-profile .profile-description p {
    margin-top: 0;
}


/* urllist module */
.hatena-urllist {
    list-style: none;
    margin: 0 16px;
    padding: 0.8em 0;
}

.hatena-urllist li {     /* edited */
  padding: 4px 0;
  margin: 6px 0;
  line-height: 1.5;
}

.hatena-urllist li a {
    color: #666;
    font-weight: bold;
    text-decoration: none;
}

.hatena-urllist li a:hover{
  color: #4e67a5;
}


.hatena-urllist .urllist-category-link {
    font-size: .7rem;
    padding: .1em .3em;
}

.hatena-urllist .urllist-date-link a {
    color: #999;
}

.hatena-urllist .urllist-entry-body {
    margin-top: .3em;
}


/* アーカイブのモジュールにかかるCSS （追加）*/
.hatena-urllist .archive-module-year{
  padding: 0.2em 1.6em;
}


/* Search module */ /*edited ↓*/
.hatena-module-search-box .search-form {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  background-clip: padding-box;
  width: 100%;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}

/* 検索結果の上部div */
.search-result {
  margin-bottom: 3em;
}

/* レスポンシブ時は左側marginを空ける　*/

@media screen and (max-width: 979px) {
  .search-result-form {
    margin-left: 2%;    /*a rchive-headingに合わせる */
  }
}

.search-result-form .search-result-input{
    height: 23px!important;
}

.search-module-input {
    border: none!important;
    width: 80%;  /* added */
    padding: 8px 10px 8px 10px; /*edited*/
    line-height: 20px;
    outline: none;  /* テキスト入力中でも枠線が表示されなくなる */
}


input{
  font-size: 16px;     /* added iOSデバイスで検索時にズームが起こるのを防ぐ */
}

.hatena-module-search-box .search-module-button {
  width: 26px;    /*edited*/
  height: 26px;   /*edited*/
  background: transparent url(https://cdn.blog.st-hatena.com/images/theme/search.png?version=eb858d677b6f9ea2eeb6a32d6d15a3) no-repeat right center;
  border: none;
  outline: none;
  text-indent: -9999px;
  position: absolute;
  top: 7px;
  right: 8px;
  opacity: 0.5;
  cursor: pointer;
}

.hatena-module-search-box .search-module-button:hover {
  opacity: 0.85;
}


/* About ページ */
.page-about .entry-content dt {
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    margin-bottom: .5em;
}

.page-about .entry-content dd {
    margin-left: 0;
    margin-bottom: 2em;
}


/* Archive */

/* 記事一覧ページ／月別アーカイブページ／検索結果ページ　での見出しの文字のclass */
.archive-heading{
  padding-bottom: 0.2em;
  border-bottom: 2px solid #454545;
  margin: 0 4% 2em 0;
}

@media screen and (max-width: 979px) {
  .archive-heading{
    margin: 0 2% 1em;
  }
}

/* カテゴリページに限りヘッダに付くクラス */
.archive-header-category {
    text-align: left;     /* edited */
    margin: 1em 0 2em;
}


.page-archive .archive-entry {
    background: #fff;
    line-height: 1.3;
}


.page-archive .entry-title {
    /* margin: .3em auto 0; */
}

/*記事一覧の記事タイトルのclass 191002*/
.archive-entry-header{
  order: 1;
  -webkit-box-ordinal-group: 2;
  padding: 0;
}

.page-archive .entry-description {
    margin: 0;
    font-size: .85rem;
}


.page-archive .social-buttons {
    display: block;
    margin-top: .3em;
}

/* Added パンくずリスト表示時の、カテゴリタグの装飾 */
.page-archive .categories a {
}
@media screen and (max-width: 767px) {
  .page-archive .categories a{
  }
}


/* footer */
#footer {
    margin-top: 2em;
    padding: 0 10 2rem;
    text-align: center;
    font-size: .8rem;
    color: #999;
}

#footer a {
    color: #999;
}

#footer p {
    margin: .5em auto;
}


/***************************************

     6. レスポンシブデザイン用の基本設定

*************************************/

/*===========================================
     6-1. PC表示でウィンドウが大きいとき（1200px以上）
===========================================*/

@media screen and (min-width: 1200px){
  #content{
    width: 1140px;
  }
  #blog-title-inner{
    width: 1140px;
    margin: 0 auto;
  }
  #blog-title-content {
    width: 95%;
    margin: 0 auto;
  }
  .new-entry-mobile{  /* スマホ用最新記事 */
    display: none;
  }
}


/*==================================================
     6-2. PCウィンドウ「小」 or タブレット（768～1199pxのとき）
=================================================*/

/**** 6-2-1. PCとタブレット共通の設定 ****/

@media screen and (min-width: 768px) and (max-width: 1199px) {
  #content {
    width: 98%;
    margin: 0 auto;
  }
  #blog-title-inner{
    width: 98%;
    margin: 0 auto;
  }
  #blog-title-content {
    width: 95%;
    margin: 0 auto;
  }
  #top-box {/*パンくずリストの親要素*/
    width: 98%;
    margin: 0 auto;
  }
}

/**** 6-2-2. PC限定の設定 ****/

@media screen and (min-width: 980px) and (max-width: 1199px) {
  .new-entry-mobile{  /* スマホ用最新記事 */
    display: none;
  }
}

/**** 6-2-3. タブレット限定の設定 ****/

@media screen and (min-width: 768px) and (max-width: 979px) {
  #main {
    width: 100%; 
    float: none;
    margin: 0 auto;
  }
  #box2 {
    margin-top: 3em;
    width: calc(100% - 30px);
    float: none;
    margin: 0 auto;
  }
}


/*===========================================
     6-3. スマホのとき（797px以下）
===========================================*/

/**** 6-3-1. スマホ＆タブレット共通の設定 ****/

@media screen and (max-width: 979px) {
  /* NEW ENTRYを非表示にする */
  .hatena-module.hatena-module-recent-entries { /*空白を開けると動作しない*/
    display: none;
  }
  .new-entry-mobile{
    margin: 3em 0 1em;
    background: #f3f2f1;
  }
  .new-entry-mobile a{  /* スマホ用最新記事ボタン */
    display: inline-block;
    padding: 0.5em 1em;
    background: #58595B;
    font-size: 120%;
    color: #fff;
    border-radius: 3px; 
  }

}

/**** 6-3-2. スマホ限定の設定 ****/

@media screen and (max-width: 767px) {
  #globalheader-container {
    position: static;
  }
  #container #content{
    margin-top: 5px;
  }
  .page-entry #container #content{    /*記事ページの表示中はmarginを0に */
    margin: 0;
  }
  #content {
    margin: 0 auto;
    width: 92%;
    overflow: hidden; /* スマホでピンチアウトできるのを防ぐ */
  }
  .page-entry #content{   /* 記事ページにおいてのみwidthを100% */
    width: 100%;
  }
  #top-box {/*パンくずリストの親要素*/
    width: 92%;
    margin: 0 auto;
  }
  #top-box .breadcrumb{
    padding: 0 2%;
    margin: 0;
  }
  .entry-inner{
    padding: 1em 1em 2em ;
    box-shadow: none;
  }  
  #main {
    width: 100%;    /* スマホは1カラム：こうすると、mainとbox2が上下に並ぶ */
    float: none;
    margin: 0;
  }
  #box2 {
    margin-top: 3em;
    width: 100%;    /* 同上 */
    float: none;
    font-size: 95%;   /* サイドバー項目を小さく */
    margin: 0;
  }
  .page-entry #box2{      /* 記事ページの#contentを100&に広げた代わりに幅を減らす*/
    width: 95%;
    margin: 0 auto;
  }
  #box2-inner {
    width: 100%;
  }
  .hatena-module {
    width: 100%;
    float: none;
  }
  .entry-header-menu {  /* 「編集するボタン */
    position: absolute;
    top: 80px;
    left: 0;
    z-index: 30;
  }
  #blog-title-content{
    background: #6388c7;
    text-align: center;
    box-sizing: border-box;  /* paddingをwidthに含め、スクロール不可能に  */
    width: 100%;
    height: 60px;   /*edited ハンバーガーメニューに合わせて調整*/
    padding: 5px 5px;  /* ハンバーガーメニューの分オフセット */
    margin: 0;
    position: relative;
    z-index: 200;
  }
  .entry-content{
    line-height: 1.7;
  } 
  .page-archive .archive-entries .entry-description{
    font-size: 90%;
    max-height: 90px;   /* 画像の下に文字がはみ出ないようにする */
    overflow: hidden;   /* あふれた分は隠す */
  }
  .archive-heading{   /* 記事一覧ページでの見出しの文字のclass */
    font-size: 125%;    /*元はh2 → 1.5em */
  }

  .archive-entries{
    margin-bottom: 1em;
  }
}

/* ***************************************************************

     7. 後から追加したブログパーツ等に関するCSS

****************************************************************/

/*=========================================
     7-1. トップメニュー（リンクボタン）に関するCSS
=========================================*/

/*  移転のお知らせ _191108 */
#top-editarea {
  position:   relative;
  font-size: 110%;
  z-index:  9999;
  padding: 15px 40px;
  width: 100%;
  height: 180px;
  background: #ddd;
}

.bld{
  font-size:  120%;
  font-weight:  bold;
}

/**** 7-1-1. PC／タブレット表示のときのメニュー****/

#pc-menu{
  text-align: right;
  margin: 0 auto;
}

#pc-menu ul{
  width: 95%;
  display: inline-block;
  padding: 5px 0 5px 0;
  margin: 0 15px;
}

#pc-menu li{
  list-style-type: none;
  display: inline-block;
  text-align: center;
  margin-right: 22px;     /*となりの要素と間隔を開ける*/
  font-size: 100%;
  font-weight: bold;
}
#pc-menu li a{
  padding: 4px;
  color: #fff;
  text-decoration: none;
}
@media screen and (min-width: 768px){
  #pc-menu li a:hover{
    border-bottom: solid 2px #eee;
  }
}


/* トップメニューのレスポンシブ化 */
@media screen and (min-width: 1200px){
  #nav-drawer{  /* スマホ用ハンバーガーメニュー */
    display: none;
  }
  #search-slider{ /*スマホ用検索窓*/
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  #nav-drawer{  /* スマホ用ハンバーガーメニュー */
    display: none;
  }
  #search-slider{ /*スマホ用検索窓*/
    display: none;
  }
}

/*トップメニューだけはブレイクポイントをずらす*/
@media screen and (min-width: 768px) and (max-width: 979px) {
  #top-editarea{
    top: 3px;
  }
  #pc-menu ul {
    width: 80%;
    text-align: left;
  }
}

@media screen and (max-width: 767px) {
  #top-editarea {
    width: 100%;
    position: relative;
    top: 0;
    right: 0;
    margin: 0 0 20px;
  }
  .page-entry #top-editarea{   /*記事ページの表示中はmarginをゼロに */
    margin: 0;
  }
  #pc-menu{
    display: none;
  }
}



/**** 7-1-2. スマホ表示時のハンバーガーメニュー ****/

/*===========ハンバーガーメニューCSS サルワカ紹介コードを応用=====*/
#nav-drawer {
  position: absolute;
  width: 100%;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {       /* 3本線スイッチに対するCSS */
  display: inline-block;
  top: -42px;     /*3本線の位置を上に持っていく*/
  left: 20px;
  width: 30px;
  height: 22px;
  vertical-align: middle;
  position: relative;
  z-index: 300;    /*3本線は最上層に表示させる*/
}

/*ハンバーガーアイコンをCSSだけで表現 */
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 3px;/*線の太さ*/
  width: 25px;/*長さ*/
  border-radius: 3px;
  background: #fff;   /* 本線の色 */
  display: block;
  content: '';
  cursor: pointer;
}
#nav-open span:before {
  bottom: -8px;
}
#nav-open span:after {
  bottom: -16px;
}


/*中身*/
#nav-content {
  overflow: auto;
  position: absolute;
  top: 0;      /*タイトルの下に隠れない程度に引き出すようにする*/
  left: 0;
  z-index: 80;
  width: 100%;
  background: #fff;/*背景色*/
  transition: .3s ease-in-out;/*滑らかに表示*/
  -webkit-transform: translateY(-105%);;   /*上に隠しておく。値が大きいほど奥に隠れる*/
  transform: translateY(-105%);   /*上に隠しておく。値が大きいほど奥に隠れる*/
}

/*チェックが入ったらもろもろ表示*/

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateY(0%);
  transform: translateY(0%);/*中身を表示（下へスライド）*/
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

/*=====nav-contentの中身（PCメニューを流用========*/
#nav-content ul{
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  text-align: center;
}
#nav-content li{
  box-sizing: border-box;
  background: #6388c7;
  padding: 8px 0;
  width: 50%;
  list-style-type: none;
}
#nav-content li:nth-child(odd){
  border-top: 2px solid #ddd;
  border-right: 2px solid #ddd;
}
#nav-content li:nth-child(even){
  border-top: 2px solid #ddd;
}
#nav-content li:nth-last-child(2){
  border-right: 2px solid #ddd;
  border-bottom: none;
}
#nav-content li:nth-last-child(1){
  border-bottom: none;
}
#nav-content li a{
  display: inline-block;
  width: 98%;  /* タップできる範囲を広げる */
  height: 100%;  /* タップできる範囲を広げる */
  color: white;
}


/*===========================================
     7-2. スマホ表示時のヘッダに設置する検索フォーム
=========================================*/

.header-search {
  position: absolute;
  z-index: 300;   /*タイトルよりも上層に位置させる*/
  top: -48px;
  right: 8px;
  height: 44px;
  margin: 0 auto;
  width: 44px;
}

.search-field {
  display: inline-block;
  margin: 0 auto;
  position: absolute;
  top: 8px;
  text-align: center;
  width: 44px;
}

.search-btn i {
  position: absolute;
  top: 6px;
  right: 16px;
  font-size: 24px;
  color: #fff;
  margin: 0;
}

#searchform {
  height: 24px;
  margin: 0 auto;
  position: absolute;
  top: 0;
  width: 44px;
}

.header-search input{
  border-radius: 10px;
  -webkit-appearance: none;  /* iPhoneで閲覧時にで勝手に角が丸くなるのを回避する*/
}

.header-search input[type="search"] {
  background: #fff;
  border: none;
  color: #333;
  cursor: pointer;
  height: 36px;
  opacity: 0;
  outline: none;
  padding: 5px 10px;
  position: absolute;
  top: 0;
  right: 0;
  transition: all 0.1s;
  width: 44px;
  z-index: 5;
}

.header-search input[type="search"]:focus {
  cursor: text;
  opacity: 1;
  width: 160px;
}


/*=========================================
     7-3. 記事下シェアボタン
=========================================*/

/*シェアボタンのカスタマイズ shun氏考案
http://www.ituore.com/entry/sns-share-button */

/*share-botton*/
.share-buttons{
    margin-bottom: 40px;
    text-align: left;   /*オリジナルはcenter*/
    font-size: 0; /* 子要素のinline-blockの隙間をなくす */
}
.share-buttons .inner a {   /* ボタンの基本デザインを決める*/
    vertical-align: top;    /* added → これをやらないと高さが揃わない！*/
    position: relative;
    display: inline-block;
    box-sizing: border-box;   /* 25% x4つでピッタリになるように */
    width: 25%;
    height: 58px;
    line-height: 25px;
    font-size: 16px;   /*オリジナルは16px */
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    padding: 5px;
}

.share-buttons .inner .share-text{
    font-size: 14px;   /*オリジナルは15px */
}
.share-buttons .inner .hatena-bookmark-button{
    background: #51A3D0;
}
.share-buttons .inner .facebook-button{
    background: #3E64B5;
}
.share-buttons .inner .twitter-button{
    background: #51A1DE;
}
.share-buttons .inner .pocket-button{
    background: #C9515F;
}

@media screen and (min-width: 768px){
  .share-buttons .inner .hatena-bookmark-button:hover{
    background: #5F9BBC;
  }
  .share-buttons .inner .facebook-button:hover{
    background: #5670A7;
  }
  .share-buttons .inner .twitter-button:hover{
    background: #699BC2;
  }
  .share-buttons .inner .pocket-button:hover{
    background: #BA616C;
  }
}


/*=========================================
     7-4. Feedly & はてなブログ読者登録ボタン
=========================================*/

/*サイドバー用フォローボタン */
.content-inner-follow-buttons{
    text-align: left;
    width:100%;
}
.content-inner-follow-buttons a {
    display: inline-block;
    width: 50%;
    font-size: 1.1em;
    text-align: center;
    text-decoration: none;
    padding: 0.6em 0;
    margin: 0;
}
.content-inner-follow-buttons .inner-text {
    font-size: 1.1em;
}
.content-inner-follow-buttons .hatena {
    background: #424242;
    color: #ffffff;
}
.content-inner-follow-buttons .feedly {
    background: #67B054;
    color: #ffffff;
}

@media screen and (min-width: 768px){
  .content-inner-follow-buttons .hatena:hover{
    background: #525252;
    color: #ffffff;
  }
  .content-inner-follow-buttons .feedly:hover{
    background: #78A86B;
    color: #ffffff
  }
}

/*=========================================
     7-5. Google Adsense設置に関するCSS
=========================================*/

.ads{
  padding:0;
  margin: 1em 0 0;
  font-size: 75%;
  color: gray;
}

/* サイドバーのadsense */
.side-ads{
  background: #f3f2f1;
}

/***** トップページのインフィード広告に関するcss *****/

.ads-infeed {
  width: 46%;
  margin: 0 4% 30px 0;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
  transition: 0.2s ease-in-out; 
  background: #fff;
}

/* 広告の横幅をレスポンシブ仕様に（widthは「archive-entry」のクラスに合わせればOK） */
@media screen and (min-width: 620px) and (max-width: 979px) {
  .ads-infeed {
    margin: 0 2% 30px 2%;
  }
}

/* 250px未満のインフィード広告はは表示されない。ブレイクポイントを分ける＆広告を横いっぱい広げる */
@media screen and (min-width: 481px) and (max-width: 619px) { 
  .ads-infeed {
    width: 100%;
    margin: 0 2% 30px 2%;
  }
}

@media screen and (max-width: 480px) {
  .ads-infeed {
    width: 95%;
    margin: 0 auto 20px;
  }
}

/* .archive-entry同様、ホバーさせる */
.ads-infeed:hover {
    box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}


/* ***************************************************************

     8. 記事中で使うデザインに関するCSS

****************************************************************/

/*==========================================
     8-1. 基本的なデザインに関するCSS
==========================================*/

/*==== アイキャッチ画像をwidth:100%にする 191010========*/

.eyecatch{
  margin-bottom: 2em;
}
.eyecatch img{
    max-width: 100%;
    width: 100%;
    height: auto;
}

/*======== フォントを80%、90%、95%にするためのclass 190624 ========*/

.entry-content .f80{
  font-size: 80%;
}
.entry-content .f90{
  font-size: 90%;
}
.entry-content .f95{
  font-size: 95%;
}


/*======== 「Check」箇条書きclass 190617 ========*/

.entry-content .check{
  box-sizing: border-box;
  margin-bottom: 1em;
}

.entry-content .check ul {
  font-size: 95%;
  border: solid 2px #7DA1C9;
  padding: 0.5em 1em 0.5em 1.3em; 
  position: relative;
  margin: 3em 0 0;
}

.entry-content .check ul li:after {
  /*タブ*/
  background: #7DA1C9;
  color: #fff;
  font-family: "blogicon";
  position: absolute;
  left: -2px;
  bottom: 100%;
  padding: 1px 7px;
  content: '\f024  Check';/*アイコンコード＋文字*/
  letter-spacing: 0.05em;/*字間*/
}


/*======== 「注意」箇条書きのためのclass 190617 ========*/

.entry-content .caution{
  box-sizing: border-box;
  margin-bottom: 1em;
}

.entry-content .caution ul {
  font-size: 90%;
  border: solid 2px #7DA1C9;
  padding: 0.5em 1em 0.5em 1.3em; 
  position: relative;
  margin: 3em 0 0;
}

.entry-content .caution ul li:after{
  /*タブ*/
  background: #7DA1C9;
  color: #fff;
  font-family: "blogicon";
  position: absolute;
  left: -2px;
  bottom: 100%;
  padding: 1px 7px;
  content: '\f041  注意';/*アイコンコード＋文字*/
  letter-spacing: 0.05em;/*字間*/
}



/*======== 「関連記事」箇条書きのためのclass 190620 ========*/

.entry-content .related{
  box-sizing: border-box;
  margin: 0;
}

.entry-content .related ul {
  font-size: 95%;
  border: solid 2px #7B8DA0;
  padding: 0.5em 1em 0.5em 1.3em; 
  position: relative;
  margin: 4em 0 1em;
}

.entry-content .related ul li:after{
  /*タブ*/
  background: #7B8DA0;
  color: #fff;
  font-family: "blogicon";
  position: absolute;
  left: -2px;
  bottom: 100%;
  padding: 1px 7px 3px;
  content: '\f019  関連記事';
  letter-spacing: 0.1em;
}


/*======== 180422 画像紹介：単にセンタリングさせるためのCSS ========*/
.centering{
  text-align: center;
}

.centering h3{
  font-size: 130%;
  margin-top: 2.4em;
  border: none;
}

.centering h3:before{
  content:none;
}

/*======== 注釈を入れるためのclass 170529 ========*/
.note{
  color: #646464;
  font-size: 90%;
  margin-left: 1em;
  padding-left: 2em;
  text-indent: -1em;
}

li .note{
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}


/*======== 下線を弾くためのclass 170209 ========*/
.under{
  font-weight: bold;
  background: linear-gradient(transparent 70%, #ffe8e6 70%);
}


/*======== 170426 参考URLを貼るためのclass ========*/

.ref{
  color: #4E4E4E;
  font-size: 85%;
  text-align: right;
}


/*======== 180308 グレーでハイライトさせるためのclass ========*/
.pickup{
  background: #F4F4F4; 
  padding: 10px 10px 10px 15px; 
  margin-bottom: 15px;
}

/*======== 190916 焦げ茶色の枠線を付ける ========*/
/* finale記事など*/

.pickup2{
  border:2px solid #C0BAB7;
  padding: 10px 10px 10px 15px; 
  margin-bottom: 15px;
}


/*==== スマホ表示時、横幅の大きなtableをスクロールさせるためのdiv 190625 ====*/
/* STARS記事など*/

@media screen and (max-width: 767px){
  .table_container{
    overflow-x: scroll;
    margin-bottom: 0.8em;
  }
  .table_container table{
    overflow-x: scroll;
    margin-bottom: 0.5em;
  }
  .table_container::-webkit-scrollbar {
    height: 4px;
  }
  .table_container::-webkit-scrollbar-track {
    background: #ddd;
  }
  .table_container::-webkit-scrollbar-thumb {
    background: #bbb;
  }
}


/*==========================================
     8-2. 記事ごとに個別のデザインを施すためのCSS
==========================================*/

/* ======= キーボードショートカット記事用：キートップ風CSS_191018 =======*/
.keytop{
  display: inline-block;  
  line-height: 1.5;
  min-width: 20px;
  padding: 0 0.7em;
  margin:  0 0.2em;
  background: #f2f2f2;
  border-radius: 5px;
  border: 2px #bbb solid;
  font-weight: bold;
  color: #555;
  text-align: center;
}


/*=========== 190616 KH音楽記事 ===============*/

.kh h3{                 /*Disc表示*/
    font-size: 100%;
    text-align: center;
    margin: 0;
    padding: 15px 0 5px;
    font-size: 110%;
    color: #888;
    border: none;
}

.kh .num{
  color: #A3B9DE;
  font-size: 80%;
}

.kh h3:before{
    color: #aaa;
    content: "\f04a";
    font-family: "blogicon";
    position: relative;
    padding-right: 10px;
}
.kh .first{
    margin-top: 10px;       /*レイアウト調整*/
}

.kh h4{                     /* Track表示 */
    font-size: 120%;
    color: #385D9C;
    margin: 1.3em 0 0.8em;
}
.kh h4 a{
    color: #385D9C;   /* リンク時も同じ色で*/
}
@media screen and (min-width: 768px){
  .kh h4 a:hover{     /* マウスオーバーで下線を表示 */
    text-decoration: underline;
  }
}
.kh h4:before{      /* 音符マークをつける */
    top:1px ;
    color: black;
    content: "\f046";
    font-family: "blogicon";
    position: relative;
    padding-right: 14px;
    color: #385D9C;
}


/*=========== 190617 FF曲記事 =================*/

.ff h3{
  border: none;
}

.ff h3 a{
    color: #385D9C;   /* リンク時も同じ色で*/
}
@media screen and (min-width: 768px){
  .ff h3 a:hover{     /* マウスオーバーで下線を表示 */
    text-decoration: underline;
  }
}

.ff h3:before{      /* 音符マークをつける */
  top:1px ;
  color: black;
  content: "\f046";
  font-family: "blogicon";
  position: relative;
  padding-right: 14px;
  color: #385D9C;
}

/*=========== コード進行紹介記事 190625 ===================*/

.chord{
  display: block;
  padding: 0.5em 1em;
  margin-bottom: 1em;
  background: #F4F4F4;
  font-weight: bold;
}

.chord p:last-child{
  margin-bottom: 0;
}

.chord .normal{
  font-weight: normal;
}

.chord .degrees{
  color: #6a6a6a;
}


/* *****************************************

     9. 広告リンクの装飾に関するCSS

*****************************************/

/*==========================================
     9-1. 現在使用しているもの
==========================================*/

/*======== Amazonのリンクテキストを囲う装飾 =============*/

/* Amazonリンク：pタグ内にclassを設定する　190629 */
p.amzn{
    display: inline-block ;
    margin: 1em 2em 1em 0;
}
.amzn a{
  display: inline-block;
  min-width: 5em;
  padding: 0.2em 1em;
  border: 2px solid #7DA1C9;
}
.amzn:before {
  width: 6.2em;
  display: block;
  background: #7DA1C9;
  font-size: 0.8em;
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  color: white;
  margin: 0;
  padding: 0.2em 1em;
  content: 'Amazon \f35d';
  letter-spacing: 0.05em;/*字間*/
}

/*======== 画像つき商品紹介ボックス_190914 ========*/

.item-wrapper2{
  display: flex;
  display: -webkit-flex;
  background: #f5f5f5;
  padding: 0 0.4em;
  margin: 0.5em 0 1.5em;
  box-shadow: 0 2px 4px rgba(90,90,90,0.2);
}
@media screen and (max-width: 767px){
  .item-wrapper2{
    display: block;
  }
}
.item-wrapper2 p{
  font-weight: bold;
  color: #555;
  padding: 0.1em 0;
  margin: 0.5em 0 0.2em 0.6em;
}
.item-image{
  display: flex;      /* 画像の高さを中央にする */
  flex-direction: column;      /* 画像の高さを中央にする */
  justify-content: center;      /* 画像の高さを中央にする */
  margin: 16px 20px 10px 10px;
}
@media screen and (max-width: 767px){
  .item-image{
    width: 100%;
    padding-top: 16px;
    margin: 16px 20px 0 10px;
  }
}
.item-text{
  -webkit-flex: 1;
  flex: 1;
}

.item-wrapper2 .item{
  display: inline-block;
  margin: 0.2em 0.8em 0.7em 0.6em;
  font-weight: bold;
  font-size: 0.9em;
  letter-spacing: 0.05em;/
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(16,16,16,0.3);
}
.item-wrapper2 .item:last-child{
  margin: 0.2em 0.8em 1em 0.6em;
}

@media screen and (max-width: 767px){
  .item-wrapper2 .item{
    margin: 0.2em 0.2em 0.5em 0.6em;
  }
  .item-wrapper2 .item:last-child{
    margin: 0.2em 0.2em 1em 0.6em;
  }
}


/*======== 画像無し商品紹介CSS_190913 ========*/

.item-wrapper{
  display: inline-block;
  background: #f5f5f5;
  padding: 0 0.5em;
  margin: 0.5em 0 1.5em;
  box-shadow: 0 2px 4px rgba(90,90,90,0.2);
}
.item-wrapper>p{
  font-weight: bold;
  color: #555;
  padding: 0.1em 0;
  margin: 0.5em 0 0.2em 0.6em;
}
.item{
  display: inline-block;
  margin: 0.2em 0.8em 1.2em 0.6em;
  font-weight: bold;
  font-size: 0.9em;
  letter-spacing: 0.05em;/*字間*/  
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(16,16,16,0.3);
}
@media screen and (max-width: 767px){
  .item{
    margin: 0.2em 0.2em 0.7em 0.6em;
  }
  .item:last-child{
    margin: 0.2em 0.2em 1.2em 0.6em;
  }
}
.item a{
  display: inline-block;
  padding: 0.5em 1em;
  color: white;
  text-decoration: none;
}
.amz{
  background: #7DA1C9;
}
.rkt{
  background: #D28881;
}
.sdh{
  background: #7D61A5;
}
.yah{
  background: #D2818F;
}

/*======== 単独の商品リンク用CSS_190920 ========*/
.item-wrapper3{
  text-align: center;
  display: block;
  padding: 0.4em;
  margin: 0.5em 0;
}


/*====== サウンドハウス記事_190920 .item-wrapper3と合わせて使う ======*/ 

h4.sh{
  font-size: 130%;
  margin-top: 2.5em;
  text-align: center;
}

h4.sh:before{
  content: none;
}

/*Amazon記事_190926 */
.amz2{
  background: #E19D37;
}


/* ======= 書籍紹介ボックスv2_190918（aタグの外側のdivにclassを適用する。リンクの改変ナシ） ========*/
.bookbox{
  margin: 2em 0;
  text-align: center;
}
.bookbox h3{
  color: black;
  font-size: 120%;
  margin: 2.2em 0 0.6em;
  border: none;
}
p.booktitle{
  font-size: 120%;
  font-weight: bold;
  margin: 1em 0 0.5em;
}
.bookbox .author{
  color: gray;
  font-size: 80%;
}

.bookbox.amzn-btn:visited{
  color: white;
  text-decoration: none;
}
.bookbox.kndl-btn:hover{
  color: white;
  text-decoration: none;
}
.amz-btn{
  display: inline-block;
  background: #E19D37;
  margin: 0.2em 1em 1em;
  font-weight: bold;
  letter-spacing: 0.05em;/*字間*/  
  border-radius: 4px;
  color: white;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.amz-btn:visited{
  color: white;
  text-decoration: none;
}
.amz-btn:hover{
  color: white;
  text-decoration: none;
}
.amz-btn a{
  padding: 0.4em 1em;
  display: inline-block;
  color: white;
  text-decoration: none;
}

.knd-btn{
  display: inline-block;
  background: #7DA1C9;  
  margin: 0.2em 1em 1em;
  color: white;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.05em;/*字間*/  
  border-radius: 4px;
  color: white;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.knd-btn:visited{
  color: white;
  text-decoration: none;
}
.knd-btn:hover{
  color: white;
  text-decoration: none;
}
.knd-btn a{
  padding: 0.4em 1em;
  display: inline-block;
  color: white;
  text-decoration: none;
}


/*==========================================
     9-2. 過去の記事で使用していたもの
==========================================*/

/*======== 楽天のリンクテキストを囲う装飾 =============*/

/* 楽天リンク：pタグ内にclassを設定する　190629 */
p.rktn{
    display: inline-block ;
    margin: 1em 2em 1em 0;
}
.rktn a{
  display: inline-block;
  min-width: 5em;
  padding: 0.2em 1em;
  border: 2px solid #D28881;
}
.rktn:before {
  width: 4em;
  display: block;
  background: #D28881;
  font-size: 0.8em;
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  color: white;
  margin: 0;
  padding: 0.2em 1em;
  content: '楽天 \f35d';
  letter-spacing: 0.05em;/*字間*/
}


/*======== 180422_中央寄せで書籍紹介するためのCSS ========*/

.centerpickup{
  text-align: center;
}

.centerpickup .author{
  color:gray;
  font-size:80%;
}

.centerpickup h3{
  color: black;
  font-size: 140%;
  margin: 2.2em 0 0.6em;
  border: none;
}

@media screen and (max-width: 767px){
  .centerpickup h3{
      font-size: 120%;
  }
}

.centerpickup h3:before{
  content:none;
}


/*======== Amazon & Kindle 書籍向けボタン_190627（aタグに直接classを付加する） ========*/
/* v2を導入したので当CSSは今後使わない*/

.amzn-btn{
  display: inline-block;
  background: #E19D37;
  padding: 0.4em 1em;
  margin: 0.2em 1em 1em;
  font-weight: bold;
  letter-spacing: 0.05em;/*字間*/  
  border-radius: 4px;
  color: white;
  text-decoration: none;
}
.amzn-btn:visited{
  color: white;
  text-decoration: none;
}
.amzn-btn:hover{
  color: white;
  text-decoration: none;
}

.kndl-btn{
  display: inline-block;
  background: #7DA1C9;  
  padding: 0.4em 1em;
  margin: 0.2em 1em 1em;
  color: white;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.05em;/*字間*/  
  border-radius: 4px;
  color: white;
  text-decoration: none;
}
.kndl-btn:visited{
  color: white;
  text-decoration: none;
}
.kndl-btn:hover{
  color: white;
  text-decoration: none;
}

/**************************************

     CSSの記述終わり。2960行以内程度に収めること！

****************************************/