/* <system section="theme" selected="6653812171399949057"> */
@charset "utf-8";
/*
  Theme: boilerplate (customized: 黒背景・白枠 / スマホ対応整理版)
  Original: Hatena Blog Team  Licensed under the MIT license.
  normalize.css v3.0.1 | MIT License | git.io/normalize (必要部分のみ)
*/

/* =========================================================
   0. 変数（色や角丸はここだけ直せば全体に反映されます）
   ========================================================= */
:root {
  --fg: #ffffff;
  --bg: #000000;
  --muted: #999999;
  --link-visited: #789dae;
  --link-hover: #8fd0ee;      /* 元の #0f5373 は黒背景で読めなかったため明るく */
  --border: 4px solid var(--fg);
  --radius-l: 15px;
  --radius-m: 10px;
}

/* =========================================================
   1. normalize（元のまま、古いIE向けの記述のみ整理）
   ========================================================= */
html {
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Kaku Gothic Pro', 'Meiryo', 'MS PGothic', sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body { margin: 0; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }
audio, canvas, progress, video { display: inline-block; vertical-align: baseline; }
audio:not([controls]) { display: none; height: 0; }
[hidden], template { display: none; }
a { background: transparent; }
a:active, a:hover { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
dfn { font-style: italic; }
h1 { font-size: 2em; margin: 0.67em 0; }
mark { background: #ff0; color: #000; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
img { border: 0; }
svg:not(:root) { overflow: hidden; }
figure { margin: 1em 40px; }
hr { box-sizing: content-box; height: 0; }
pre { overflow: auto; }
code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; }
button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; }
button { overflow: visible; }
button, select { text-transform: none; }
button, html input[type="button"], input[type="reset"], input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled], html input[disabled] { cursor: default; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
input { line-height: normal; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { height: auto; }
input[type="search"] { -webkit-appearance: textfield; box-sizing: content-box; }
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }
legend { border: 0; padding: 0; }
textarea { overflow: auto; }
optgroup { font-weight: bold; }
table { border-collapse: collapse; border-spacing: 0; }
td, th { padding: 0; }

/* 互換のため残している補助クラス */
.clearfix::after, #container #content::after, .pager::after {
  display: block; visibility: hidden; font-size: 0; height: 0; clear: both; content: ".";
}
.inline-block { display: inline-block; }
.ellipsis { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }

/* =========================================================
   2. 共通
   ========================================================= */
html, body {
  color: var(--fg);
  background-color: var(--bg);
}
a { color: var(--fg); }
a:hover { color: var(--link-hover); }
a:visited { color: var(--link-visited); }

/* 見出し内リンクは常に白・下線なし */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited {
  color: var(--fg);
  text-decoration: none;
}
a.keyword {
  text-decoration: none;
  border-bottom: 1px dotted var(--fg);
  color: var(--fg);          /* 元は #fffffff（7桁）で無効だった */
}

/* ボタン（.btn と 編集ボタンで共通） */
.btn,
.entry-header-menu a {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 0;
  line-height: 18px;
  color: #454545;
  background-color: #ffffff;
  text-align: center;
  vertical-align: middle;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  background-clip: padding-box;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none !important;
}
.btn:hover,
.entry-header-menu a:hover {
  color: #454545;
  background-color: #f5f5f5;
  text-decoration: none !important;
}
.btn-small { padding: 2px 10px !important; font-size: 11px !important; }
.btn-large { padding: 13px 19px; font-size: 17px; line-height: normal; font-weight: bold; }

/* 枠付きカード（ブログタイトル・記事・サイドバー・アーカイブ項目で共通） */
#blog-title,
.entry,
.hatena-module,
.page-archive .archive-entries .archive-entry {
  display: block;
  background: var(--bg);
  color: var(--fg);
  border: var(--border);
  line-height: 1.8;
  overflow: hidden;
}

/* 小さな枠付きリンク（カテゴリ・コメントする） */
.categories a,
.leave-comment-title {
  display: inline-block;
  margin-left: 5px;
  margin-top: 5px;
  padding: 2px 5px;
  color: var(--fg);
  text-decoration: none;
  border: 1px solid var(--fg);
  border-radius: 2px;
  letter-spacing: 0;
  transition: all .2s;
}
.leave-comment-title:hover { background-color: #f5f5f5; color: #454545; text-decoration: none !important; }

/* =========================================================
   3. レイアウト
   ========================================================= */
/* グローバルヘッダ（中身はiframe。ここで背景色を指定） */
#globalheader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg);
  color: var(--fg);
  border-bottom: 2px solid var(--fg);
}
#container {
  width: 940px;
  margin: 0 auto 30px;
  padding-top: 37px;
}
.globalheader-off #container { padding-top: 0; }

/* 2カラム */
#main { width: 630px; float: left; }
#box2 { width: 300px; float: right; font-size: 85%; }

/* ヘッダ */
#blog-title {
  margin: 30px 0;
  padding: 20px 0;
  text-align: center;
  border-radius: var(--radius-l);
}
#title { margin: 0; color: var(--fg); }
#title a { color: var(--fg); }
#blog-description { font-weight: normal; font-size: 80%; margin: 5px 0 0; }
.header-image-enable #title { padding-top: 70px; }
.header-image-enable #title,
.header-image-enable #blog-description { padding-left: 20px; }

/* パンくず */
#top-box { margin: 10px auto 20px; font-size: 90%; }
#top-box .breadcrumb { border: 1px solid var(--fg); padding: 10px; }

/* =========================================================
   4. 記事
   ========================================================= */
.entry {
  position: relative;
  margin-bottom: 50px;
  padding: 10px;
  border-radius: var(--radius-m);
}
.entry-header {
  position: relative;
  padding: 0 0 6px;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--fg);
}
.entry-title { margin: 0; line-height: 1.3; font-size: 160%; }
.entry-title a { color: var(--fg); }
.date { font-weight: bold; margin-bottom: 10px; }
.date a { color: var(--fg); text-decoration: none; font-size: 90%; }
.categories { margin-top: 5px; font-size: 80%; }
.categories.no-categories { margin: 0; }

/* 編集ボタン（元は left:-60px で .entry の overflow:hidden に隠れていたため記事内に表示） */
.entry-header-menu { margin-top: 8px; text-align: right; }

/* 本文 */
.entry-content {
  font-size: 95%;
  line-height: 1.7;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--fg);
}
.entry-content p { margin: 0 0 1em; }
.entry-content img { max-width: 100%; }
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 { margin: 1.3em 0 0.8em; line-height: 1.5; }
.entry-content h1 { font-size: 160%; }
.entry-content h2 { font-size: 150%; }
.entry-content h3 { font-size: 140%; }
.entry-content h4 { font-size: 130%; }
.entry-content h5 { font-size: 110%; }
.entry-content h6 { font-size: 100%; }
.entry-content table { margin-bottom: 1em; }
.entry-content table img { max-width: none; }
.entry-content table th,
.entry-content table td { border: 1px solid #ddd; padding: 5px 10px; }
.entry-content table th { background: #222; color: var(--fg); }  /* 元: #f5f5f5 に白文字で読めなかった */
.entry-content blockquote { border: 2px solid var(--fg); margin: 0 0 10px; padding: 20px; }
.entry-content blockquote p { margin: 0; }
.entry-content pre { border: 2px solid var(--fg); margin: 0 0 10px; padding: 20px; white-space: pre; }
.entry-content code {
  font-size: 90%;
  margin: 0 2px;
  padding: 0 5px;
  border: 2px solid var(--fg);
  border-radius: 3px;
  background-color: var(--bg);
  font-family: 'Monaco', 'Consolas', 'Courier New', Courier, monospace, sans-serif;
}
.entry-content pre > code { margin: 0; padding: 0; border: 0; background: transparent; white-space: pre; }
.entry-content .hatena-asin-detail li { line-height: 1.4; }

/* フッタ */
.entry-footer { margin-top: 10px; }
.entry-footer-section,
.entry-footer-section a { font-size: 80%; color: var(--fg); }
.entry-footer-section a { font-size: inherit; }
.social-buttons, .entry-footer-html { margin: 10px 0; }

/* =========================================================
   5. コメント
   ========================================================= */
.comment-box ul { list-style: none; margin: 0 0 15px; padding: 0; font-size: 95%; line-height: 1.7; }
.comment-box li { position: relative; padding: 10px 10px 10px 60px; border-bottom: 3px solid var(--fg); }
.comment-box li:first-child { border-top: 3px solid var(--fg); }
.comment-box .read-more-comments { padding-left: 0; }
.comment-box .hatena-id-icon {
  position: absolute;
  top: 10px;
  left: 0;
  width: 50px !important;
  height: 50px !important;
  border-radius: 3px;
  background-clip: padding-box;
}
.comment-user-name { margin: 0 0 10px; font-weight: bold; }
.comment-content { font-size: 90%; margin: 0 0 10px; word-wrap: break-word; }
.comment-content p { margin: 0 0 10px; }
.comment-metadata, .comment-metadata a { font-size: 80%; color: var(--muted); }
.comment-metadata { margin: 0; }
.comment-metadata a { font-size: inherit; }

/* =========================================================
   6. サイドバー
   ========================================================= */
.hatena-module {
  padding: 10px;
  margin-bottom: 20px;
  border-radius: var(--radius-l);
}
.hatena-module-title { font-weight: bold; margin-bottom: 15px; font-size: 120%; text-align: center; }
.hatena-module-title a { color: var(--fg); text-decoration: none; }
.hatena-module-title a:hover { text-decoration: underline; }

.hatena-module-profile .profile-icon { float: left; margin: 0 10px 10px 0; border-radius: 5px; background-clip: padding-box; }
.hatena-module-profile .id { display: block; font-weight: bold; font-size: 110%; margin-bottom: 5px; }
.hatena-module-profile .profile-description { font-size: 90%; }
.hatena-module-profile .profile-description p { margin-top: 0; }

/* リンク・最新記事・コメント・アーカイブ・カテゴリ共通 */
.hatena-urllist { list-style: none; margin: 0; padding: 0; }
.hatena-urllist li { padding: 8px 0; border-bottom: 1px solid var(--fg); line-height: 1.5; }
.hatena-urllist li a { text-decoration: none; }

/* 検索 */
.hatena-module-search-box .search-form {
  position: relative;
  width: 90%;
  box-sizing: border-box;
  border: 3px solid var(--fg);
  border-radius: 3px;
  background-clip: padding-box;
}
.hatena-module-search-box .search-module-input {
  width: 100%;
  height: 20px;
  padding: 5px;
  color: var(--fg);
  background: none;
  border: none;
  outline: none;
}
.hatena-module-search-box .search-module-button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  background: transparent url(https://cdn.blog.st-hatena.com/images/theme/search.png?version=699050be916dc3df2c3f7523fd0bf2) no-repeat right center;
  border: none;
  outline: none;
  text-indent: -9999px;
  opacity: 0.5;
}
.hatena-module-search-box .search-module-button:hover { opacity: 0.85; }

/* =========================================================
   7. ページャ・フッタ・個別ページ
   ========================================================= */
.pager { margin: 1em 0; display: block; }
.pager .pager-prev { float: left; text-align: left; width: 45%; }
.pager .pager-next { float: right; text-align: right; width: 45%; }

#footer { padding: 30px 0; text-align: center; color: var(--muted); line-height: 1.5; font-size: 80%; }
#footer p { margin: 0; }
#footer a { color: var(--muted); }

.page-about dt { font-size: 16px; font-weight: bold; border-bottom: 3px solid var(--fg); margin-bottom: 5px; }
.page-about dd { margin: 0 0 30px; }

/* アーカイブ（元は全角スペース混入の text-align が無効だったため、現状の見た目＝左寄せを維持） */
.page-archive .archive-entries .archive-entry {
  margin-bottom: 20px;
  padding: 10px 0 10px 10px;
  border-radius: var(--radius-l);
}
.page-archive .archive-entries .entry-title { font-size: 130%; margin: 0 0 .5em; }
.page-archive .archive-entries .categories { margin: 0 0 .5em; }
.page-archive .archive-entries .entry-description { margin: 0 0 1em; line-height: 1.7em; font-size: 95%; }
.page-archive .categories a {
  margin: 0 2px 0 0;
  padding: 3px 5px;
  font-size: 70%;
  color: #000;               /* 元: 白文字 on #aaa でコントラスト不足 */
  background: #aaa;
  border: 0;
  border-radius: 3px;
}

/* =========================================================
   8. レスポンシブ
   ========================================================= */
/* Retina */
@media (-webkit-min-device-pixel-ratio: 2) {
  .hatena-module-search-box .search-module-button {
    background-image: url(https://cdn.blog.st-hatena.com/images/theme/search@2x.png?version=699050be916dc3df2c3f7523fd0bf2);
    background-size: 20px 20px;
  }
}

/* タブレット（スマホ横向き含む） */
@media (min-width: 768px) and (max-width: 1024px) {
  #container { width: 724px; }
  #main { width: 460px; }
  #box2 { width: 245px; }
}

/* スマホ・小型タブレット：1カラム */
@media (max-width: 767px) {
  #globalheader-container { position: static; }
  #container {
    width: 93.75%;
    padding-top: 0;               /* ヘッダが static になるので余白不要 */
    word-wrap: break-word;
    overflow-wrap: anywhere;
    overflow: hidden;
  }
  #content { width: 100%; padding-left: 0; }
  #main, #box2 { width: auto; float: none; }
  #box2 { margin-top: 10px; }
  .hatena-module { width: auto; float: none; }   /* width:100% + 枠線で横にはみ出していた */

  figure { margin: 1em 0; }

  /* ヘッダ */
  #blog-title { margin: 15px 0; padding: 14px 8px; }
  #title { font-size: 1.5em; line-height: 1.4; }
  .header-image-enable #title { padding-top: 40px; }

  /* 記事 */
  .entry { margin-bottom: 30px; }
  .entry-title { font-size: 135%; overflow-wrap: anywhere; }
  .entry-content { font-size: 100%; overflow-wrap: anywhere; }
  .entry-content h1 { font-size: 140%; }
  .entry-content h2 { font-size: 130%; }
  .entry-content h3 { font-size: 120%; }
  .entry-content h4 { font-size: 115%; }
  .entry-content h5, .entry-content h6 { font-size: 100%; }
  .entry-content img,
  .entry-content iframe,
  .entry-content video,
  .entry-content embed,
  .entry-content object { max-width: 100%; }
  .entry-content img { height: auto; }
  .entry-content pre,
  .entry-content blockquote { padding: 12px; }
  .entry-content pre { -webkit-overflow-scrolling: touch; }
  .entry-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* タップしやすく（指で押せる大きさ） */
  .categories a, .leave-comment-title { padding: 6px 10px; margin-right: 2px; }
  .page-archive .categories a { padding: 6px 10px; }
  .hatena-urllist li a { display: block; padding: 4px 0; }
  .pager a { display: inline-block; padding: 6px 0; }
  .btn, .entry-header-menu a { padding: 8px 14px; }

  /* 検索：iOSで入力時に勝手に拡大されないよう16px */
  .hatena-module-search-box .search-form { width: 100%; }
  .hatena-module-search-box .search-module-input { height: 28px; font-size: 16px; padding-right: 30px; }
  .hatena-module-search-box .search-module-button { top: 9px; }
  input[type="text"], input[type="email"], input[type="search"], input[type="url"], textarea, select { font-size: 16px; }

  /* コメント */
  .comment-box li { padding-left: 56px; }
}

/* 小さい画面 */
@media (max-width: 480px) {
  #title { font-size: 1.3em; }
  .entry-title { font-size: 125%; }
  .pager .pager-prev, .pager .pager-next { width: 48%; font-size: 90%; }
}

/* </system> */

/* <system section="background" selected="custom"> */
body{ background-image: url('http://cdn-ak.f.st-hatena.com/images/fotolife/m/merasouma/20170101/20170101002326.gif'); background-repeat: repeat; background-color:transparent; background-attachment: fixed; background-position: left top;}
/* </system> */

.date {
display: none;
}

.entry-content {
    font-size:16px;
    line-height:1.7em;
}

.entry-content h3 {
  position: relative;
  color: #fff;
  padding: 8px 12px;
  background-color: #ffa500;
  border-radius: 6px;
}
.entry-content h3::before{
  position: absolute;
  top: 100%;
  left: 32px;
  width: 0;
  height: 0;
  border-width: 10px;
  border-style: solid;
  border-color: transparent;
  border-top-color: #ffa500;
  content: '';
}

h4 {
	padding: .5em .75em;
	border: 1px solid #ccc;
	border-radius: 4px;
}
h5 {
	padding: .25em 0 .25em .75em;
	border-left: 6px solid #ccc;
}
/*続きを読むボタン*/
.entry-see-more {
  display: block;
  width: 200px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  text-decoration: none;
  font-weight:bold;
  position: relative;
  color: #333;
  border: 2px solid #333;
}

.entry-see-more:hover {
  border-style:dashed;
}
#title a{
    font-size: 40px;
}

#blog-description{
    font-size: 20px;
}
#content{
    padding-top: 10px;
}
.table-of-contents{
    padding: 20px 10px 20px 40px;
    border-radius: 2px;
    border: 1px solid #e4e4e4;
}
.table-of-contents:before{
    content: "目次";
    font-size: 130%;
}
#menu {
 position: relative;
 width: 100%;
 padding-left: 0px;
 height: 40px;
 background: #000000;/*グローバルメニュー背景色*/
}
.menu-inner{
 width: 968px;
 margin: 0 auto;
 height: 40px;
}
#menu li {
 list-style-type: none;
 float: left;
 height: 40px;
 text-align: left;
}
#menu li a {
 padding-left: 15px;
 padding-right: 15px;
 display: block;
 color: #ffffff;/*グローバルメニュー文字色*/
 font-size: 80%;
 font-weight: bold;
 line-height: 40px;
}
#menu li:hover a {
 color: #00DFFC;
 background: #ffffff;
 transition: all .5s;
}

.menu-toggle{
 display: none;
} 

/*パソコン１カラム*/
@media screen and (max-width:968px){
    .menu-inner{
        width: 768px;
    }
}

/*タブレット*/
@media screen and (max-width:768px){
 #top-editarea{
  height: initial;
  background: #343838;/*MENU背景色*/
  text-align: right;/*MENUの文字の位置*/
  width: 100%;
 }
 .menu-toggle{
  color: #ffffff;/*MENUの文字色*/
  display: inline-block;
  padding: 5px;
  margin: 3px;
 }
 #menu {
  width: 100%;
  display: none;
  height: initial;
  padding: 0;
  margin: 0;
  
 }
 .menu-inner{
  width: 100%;
  height: initial;
  position: static;
  margin: 0;
 }
 #menu li{
  float: none;
  height: 35px;
  width: 100%;
  list-style-type: none;
  background: #00DFFC;/*リスト文字の背景色*/
  margin: 0 auto;
  text-align: left;/*リストの文字の位置*/
 }
 #menu li a {
  height: initial;
  color: #343838;/*リスト文字色*/
  display: block;
 }
 #menu li:hover a{
  color: initial;
  background: initial;
 }
}
/* 引用のデザイン1 */
.entry-content blockquote {
padding: 20px 55px;
background: rgba(245,245,245,0.8);
color: #222;
position: relative;
border: solid 1px #fff;
margin: 0.8em 0;
}
/* 引用のデザイン3 */
.entry-content blockquote:after {
content: "”";
font-family: suns-serif;
position: absolute;
bottom: 0;
right: 0;
font-size: 600%;
color: rgb(42, 51, 60);
line-height: 0;
}  