@charset "UTF-8";
/*
  Theme: boilerplate
  Author: Hatena Blog Team
  Responsive: yes
  Description:
    はてなブログのデザインCSSカスタマイズの土台に適したデザインテーマです。
    このテーマをもとにしてCSSを書くと比較的楽にカスタマイズできます。
    特定の部分（例えば記事本文の書式やコメント欄のスタイルなど）だけをコピーして使ってもかまいません。
    もちろんそのままの状態でも、シンプルなテーマとして使うことができます。
    このCSSおよびSCSSファイルは自由に複製・再配布できます。
    このテーマをもとにしたデザインテーマの配布も自由です。
  Released under the MIT License.
*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

html,
body {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  color: #373C38;
  background-color: #FCFAF2;
  line-height: 1.6;
}

a {
  color: #1487bd;
}
a:hover {
  color: #0f668f;
}
a.keyword {
  text-decoration: none;
  border-bottom: 1px dotted #ddd;
  color: #373C38;
}

h1, h2, h3, h4, h5, h6 {
  color: #333;
  line-height: 1.3;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: #333;
  text-decoration: none;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
  color: #0f668f;
}

/* ヘッダ（グローバルヘッダ）
  グローバルヘッダの中はiframeですが、
  #globalheader-container に背景色や文字色を指定することでiframeの中にも色が反映されます。
*/
#globalheader-container {
  background-color: #FCFAF2;
  color: #373C38;
}

/* container */
#container,
#footer {
  padding-left: 10px;
  padding-right: 10px;
}
@media (min-width: 768px) {
  #container,
#footer {
    width: 720px;
    margin: auto;
    padding-left: 0;
    padding-right: 0;
  }
}
@media (min-width: 992px) {
  #container,
#footer {
    width: 1300px;
  }
}

/* 2カラムレイアウト */
#content-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 768px) {
  #content-inner {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  #wrapper {
    width: 480px;
  }
}
@media (min-width: 992px) {
  #wrapper {
    width: 850px;
  }
}

@media (min-width: 768px) {
  #box2 {
    width: 200px;
  }
}
@media (min-width: 992px) {
  #box2 {
    width: 300px;
  }
}

/* 下記のスタイルを適用するとテーマを1カラムレイアウトにできます。
利用するにはコメントアウトを解除してください。
（2カラムレイアウトの場合はコメントアウト全体が不要です）

#content-inner {
    flex-direction: column;
    align-items: center;
}
#wrapper {
    @media (min-width: 768px) {
        width: 100%;
    }
    @media (min-width: 992px) {
        max-width: 720px;
    }
}
#box2 {
    width: 100%;
    @media (min-width: 768px) {
        width: 100%;
    }
    @media (min-width: 992px) {
        width: 100%;
    }
}

#box2-inner {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-start;
    @media (min-width: 768px) {
        margin-left: -20px;
        flex-direction: row;
    }
    @media (min-width: 992px) {
        margin-left: -30px;
    }
}
.hatena-module {
    width: 100%;
    @media (min-width: 768px) {
        width: 33.3333%;
    }
    @media (min-width: 992px) {
        padding-left: 30px;
    }
}

---- END 1カラム */
/* ヘッダ */
#blog-title {
  margin: 2em 0;
  text-align: center;
}
@media (min-width: 768px) {
  #blog-title {
    margin: 1em 0;
    text-align: left;
  }
}

#title {
  margin: 0;
  font-size: 1.5rem;
}
@media (min-width: 992px) {
  #title {
    font-size: 1.7rem;
  }
}
#title a {
  color: #373C38;
}

#blog-description {
  font-weight: normal;
  font-size: 0.8rem;
  margin: 1em 0 0;
}

/* ヘッダ画像を設定したとき */
.header-image-enable #blog-title {
  margin: 0 0 2em;
}
.header-image-enable #blog-title-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.header-image-enable #blog-title-content {
  margin-left: 10px;
  margin-right: 10px;
}

/* タイトル下HTML */
#top-editarea {
  margin-bottom: 1em;
}

/* パンくず（カテゴリー、記事ページで表示されます） */
.breadcrumb {
  font-size: 0.9rem;
}

/* entry */
.entry {
  position: relative;
  margin-bottom: 4em;
}

.entry-header {
  margin-bottom: 2em;
  border-left: 5px solid #58B2DC;
  padding-left: 0.5em;
  position: relative;
}

.date {
  margin-bottom: 0.5em;
}
.date a {
  color: #999;
  text-decoration: none;
}
.date a:hover {
  text-decoration: underline;
}

.entry-title {
  margin: 0;
  font-size: 1.5rem;
}
@media (min-width: 992px) {
  .entry-title {
    font-size: 1.6rem;
  }
}

.categories {
  margin: 0.5em 0;
  font-size: 0.9rem;
}
.categories a {
  margin-right: 0.5em;
}

/* 「編集する」ボタン */
.entry-header-menu {
  position: absolute;
  top: 0;
  right: 0;
}

/* 記事内の書式 */
.entry-content img,
.entry-content video {
  max-width: 100%;
  height: auto;
  border-radius: 3px;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin: 1em 0 0.8em 0;
}
.entry-content h1 {
  font-size: 1.5rem;
}
@media (min-width: 992px) {
  .entry-content h1 {
    font-size: 1.7rem;
  }
}
.entry-content h2 {
  font-size: 1.4rem;
}
@media (min-width: 992px) {
  .entry-content h2 {
    font-size: 1.5rem;
  }
}
.entry-content h3 {
  font-size: 1.2rem;
}
@media (min-width: 992px) {
  .entry-content h3 {
    font-size: 1.3rem;
  }
}
.entry-content h4 {
  font-size: 1.1rem;
}
.entry-content h5 {
  font-size: 1rem;
}
.entry-content h6 {
  font-size: 0.9rem;
}
.entry-content ul,
.entry-content ol,
.entry-content dd {
  margin: 0 0 1em 1.5em;
  padding: 0;
}
.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 {
  margin-bottom: 0;
}
.entry-content table {
  border-collapse: collapse;
  border-spacing: 0;
  border-bottom: 1em;
  margin-bottom: 1em;
  width: 100%;
  overflow: auto;
  display: block;
  font-size: 0.8rem;
}
@media (min-width: 992px) {
  .entry-content table {
    font-size: 0.9rem;
  }
}
.entry-content table th,
.entry-content table td {
  border: 1px solid #ddd;
  padding: 5px 10px;
}
.entry-content table th {
  background: white;
}
.entry-content blockquote {
  border: 1px solid #ddd;
  margin: 0 0 10px;
  padding: 20px;
  border-radius: 6px;
  background: white;
}
.entry-content blockquote p:first-of-type {
  margin-top: 0;
}
.entry-content blockquote p:last-of-type {
  margin-bottom: 0;
}
.entry-content pre,
.entry-content code {
  font-family: "Monaco", "Consolas", "Courier New", Courier, monospace, sans-serif;
}
.entry-content pre {
  background: white;
  border: none;
  white-space: pre-wrap;
  text-overflow: ellipsis;
  line-height: 1.3;
  font-size: 0.8rem;
  padding: 10px;
}
.entry-content pre > code {
  margin: 0;
  padding: 0;
  white-space: pre;
  border: none;
  background-color: #1A1B26;
  font-family: "Monaco", "Consolas", "Courier New", Courier, monospace, sans-serif;
}
.entry-content code, .entry-content .code {
  font-size: 90%;
  margin: 0 2px;
  padding: 3px;
  background-color: #1A1B26;
  color: #A9B1D6;
  border-radius: 8px;
}
.entry-content .code {
  padding: 10px;
  filter: drop-shadow(3px 3px 0px rgba(0, 0, 0, 0.4));
}
.entry-content hr {
  width: 50%;
  border: 0;
  border: none;
  border-top: 1px solid #ddd;
  margin: 2em auto;
}
.entry-content .table-of-contents {
  padding: 1em 1em 1em 2em;
  margin: 1em 0;
  border: 1px solid #ddd;
  background: white;
  border-radius: 6px;
}
.entry-content .hatena-asin-detail {
  background: white;
}

.synSpecial {
  color: #AD8EE6;
}

.synType {
  color: #7AA2F7;
}

.synComment {
  color: #B9F27C;
}

.synPreProc {
  color: #F7768E;
}

.synIdentifier {
  color: #FF9E64;
}

.synConstant {
  color: #FF9E64;
}

.synStatement {
  color: #F7768E;
}

/* 記事下 */
.entry-footer .social-buttons {
  margin-bottom: 1em;
}

.entry-footer-section {
  color: #999;
  font-size: 0.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: 0.85rem;
}
@media (min-width: 768px) {
  .comment-box .comment {
    font-size: 0.9rem;
  }
}
.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 0.4em 0;
  font-weight: bold;
}

.comment-content {
  margin: 0 0 0.4em 0;
  word-wrap: break-word;
  color: #373C38;
  font-size: 0.85rem;
}
.comment-content p {
  margin: 0 0 0.6em 0;
}

.comment-metadata {
  color: #999;
  margin: 0;
  font-size: 0.8rem;
}
.comment-metadata a {
  color: #999;
}

.leave-comment-title {
  padding: 0.6em 1em;
  font-size: 0.85rem;
  border: 1px solid #ddd;
}

/* Pager */
.pager {
  margin: 2em 0;
  display: flex;
  justify-content: space-between;
}

/* サイドバーモジュール */
.hatena-module {
  box-sizing: border-box;
  margin-bottom: 3em;
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .hatena-module {
    font-size: 0.9rem;
  }
}

.hatena-module-title {
  margin-bottom: 0.6em;
  border-left: 3px solid #F7D94C;
  padding-left: 0.3em;
  font-size: 1rem;
  font-weight: bold;
}
.hatena-module-title a {
  color: #373C38;
  text-decoration: none;
}
.hatena-module-title a:hover {
  text-decoration: underline;
}

/* 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: 0.5em;
}
.hatena-module-profile .profile-description p {
  margin-top: 0;
}

/* urllist module */
.hatena-urllist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hatena-urllist li {
  padding: 0.5em 0;
}
.hatena-urllist li:last-child {
  padding-bottom: 0;
}
.hatena-urllist li a {
  text-decoration: none;
}
.hatena-urllist li a:hover {
  text-decoration: underline;
}
.hatena-urllist .urllist-category-link {
  font-size: 0.7rem;
  padding: 0.1em 0.3em;
}
.hatena-urllist .urllist-date-link a {
  color: #999;
}
.hatena-urllist .urllist-entry-body {
  margin-top: 0.3em;
}

/* Search module */
.hatena-module-search-box .search-form {
  border: 1px solid #ddd;
  border-radius: 3px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
.hatena-module-search-box .search-module-input {
  flex: 1 0;
  padding: 5px;
  color: #373C38;
  background: none;
  border: none;
  outline: none;
  height: 20px;
}
.hatena-module-search-box .search-module-button {
  width: 24px;
  height: 24px;
  margin-right: 5px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Esearch%3C/title%3E%3Cpath d='M16.7,15l-3.4-3.3h-.1a5.4,5.4,0,0,0,.9-3.1,5.6,5.6,0,1,0-5.6,5.6,5.4,5.4,0,0,0,3.1-.9.1.1,0,0,0,.1.1L15,16.7a1.1,1.1,0,0,0,.8.3,1.6,1.6,0,0,0,.9-.3,1.4,1.4,0,0,0,0-1.7M8.5,12.3A3.8,3.8,0,0,1,4.8,8.5,3.8,3.8,0,0,1,8.5,4.7a3.9,3.9,0,0,1,3.8,3.8,3.8,3.8,0,0,1-3.8,3.8'/%3E%3Crect class='a' width='20' height='20'/%3E%3C/svg%3E") no-repeat center;
  background-size: 20px 20px;
  border: none;
  outline: none;
  color: transparent;
  overflow: hidden;
  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: 0.5em;
}
.page-about .entry-content dd {
  margin-left: 0;
  margin-bottom: 2em;
}

/* Archive */
.archive-header-category {
  text-align: center;
}

.page-archive .archive-entry {
  margin-bottom: 3em;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}
.page-archive .entry-title {
  margin: 0.3em auto;
}
.page-archive .entry-thumb {
  width: 80px;
  height: 80px;
  background-size: cover;
}
@media (min-width: 768px) {
  .page-archive .entry-thumb {
    width: 120px;
    height: 120px;
  }
}
.page-archive .entry-description {
  margin: 0;
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .page-archive .entry-description {
    font-size: 0.9rem;
  }
}
.page-archive .social-buttons {
  display: block;
  margin-top: 0.3em;
}

/* footer */
#footer {
  margin-top: 2em;
  padding-bottom: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #999;
}
#footer a {
  color: #999;
}
#footer p {
  margin: 0.5em auto;
}