/* <system section="theme" selected="13574176438102045327"> */
@charset "UTF-8";
/*
  Theme: Color Book
  Author: haruto
  Responsive: yes
 */
html {
    line-height: 1.15;
    /* 1 */
    -ms-text-size-adjust: 100%;
    /* 2 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}

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

/**
 * Add the correct display in IE 9-.
 */
article,
aside,
footer,
header,
nav,
section {
    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
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */
figcaption,
figure,
main {
    /* 1 */
    display: block;
}

/**
 * Add the correct margin in IE 8.
 */
figure {
    margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    -webkit-box-sizing: content-box;
            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
   ========================================================================== */
/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */
a {
    background-color: transparent;
    /* 1 */
    -webkit-text-decoration-skip: objects;
    /* 2 */
}

/**
 * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
 * 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 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */
b,
strong {
    font-weight: inherit;
}

/**
 * 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 style in Android 4.3-.
 */
dfn {
    font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */
mark {
    background-color: #ff0;
    color: #000;
}

/**
 * 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
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
audio,
video {
    display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
    display: none;
    height: 0;
}

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

/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
    overflow: hidden;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: sans-serif;
    /* 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;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */
button,
html [type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
    /* 2 */
}

/**
 * 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 {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    display: inline-block;
    /* 1 */
    vertical-align: baseline;
    /* 2 */
}

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

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */
[type="checkbox"],
[type="radio"] {
    -webkit-box-sizing: border-box;
            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 and cancel buttons in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-cancel-button,
[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 IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */
details,
menu {
    display: block;
}

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

/* Scripting
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
canvas {
    display: inline-block;
}

/**
 * Add the correct display in IE.
 */
template {
    display: none;
}

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

html,
body {
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Kaku Gothic Pro', 'Meiryo', 'MS PGothic';
    color: #454545;
    line-height: 1.6;
}

a {
    color: #1487bd;
}

a:hover {
    color: #0f668f;
}

a.keyword {
    text-decoration: none;
    border-bottom: 1px dotted #ddd;
    color: #454545;
}

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: #454545;
    color: #fff;
}

/* container */
#container {
    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: 992px;
    }
}

/* 2カラムレイアウト */
#content-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

@media (min-width: 768px) {
    #content-inner {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
    }
}

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

@media (min-width: 992px) {
    #wrapper {
        width: 640px;
    }
}

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

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


/* ヘッダ */
#blog-title {
    text-align: center;
}

#title {
    margin: 0;
    font-size: 1.5rem;
}

@media (min-width: 992px) {
    #title {
        font-size: 1.7rem;
    }
}

#title a {
    color: #454545;
}

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

/* ヘッダ画像を設定したとき */
.header-image-enable #blog-title {
    margin: 0;
}



.header-image-enable #blog-title-content {
    padding-top:60px;
}

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

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

/* entry */
.entry {
    position: relative;
    margin-bottom: 40px;
}

.entry-header {
    padding-bottom: 40px;
    margin-bottom: 2em;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.date {
    margin-bottom: .5em;
    font-size: .9rem;
}

.date a {
    color: #999;
    text-decoration: none;
}

.date a:hover {
    text-decoration: underline;
}

.entry-title {
    margin: 0 0 .3em;
    font-size: 21px;
}


.categories {
    margin: 3px 0;
    font-size: 13px;
}

.categories a {
    margin-right: .5em;
    color:#fff;
    font-weight:bold;
    text-decoration:none;
    display:inline-block;
    background:#ccc;
    padding:5px;
    border-radius:6px;
}

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

/* 記事内の書式 */
.entry-inner{
    background:#fff;
    padding:25px;
    border-radius:5px;
}

.entry-content{
  background:#fff;
}

.entry-content img,
.entry-content video {
    max-width: 100%;
    height: auto;
}

.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: .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: .8rem;
}

@media (min-width: 992px) {
    .entry-content table {
        font-size: .9rem;
    }
}

.entry-content table th,
.entry-content table td {
    border: 1px solid #ddd;
    padding: 5px 10px;
}

.entry-content table th {
    background: #f5f5f5;
}

.entry-content blockquote {
    border: 1px solid #ddd;
    margin: 0 0 10px;
    padding: 20px;
}

.entry-content blockquote p:first-child {
    margin-top: 0;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.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;
}

.entry-content .table-of-contents {
    padding: 1em 1em 1em 2em;
    margin: 1em 0;
    border: 1px solid #ddd;
}

/* 記事下 */
.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;
}

@media (min-width: 768px) {
    .comment-box .comment {
        font-size: .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 .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 {
    margin: 2em 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

/* サイドバーモジュール */
.hatena-module {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin-bottom: 3em;
    font-size: .85rem;
}

@media (min-width: 768px) {
    .hatena-module {
        font-size: .9rem;
    }
}

.hatena-module-title {
    margin-bottom: .6em;
    padding-bottom: .2em;
    font-size: 1rem;
    font-weight: bold;
}

.hatena-module-title a {
    color: #454545;
    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: .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: .5em 0;
}

.hatena-urllist li:last-child {
    padding-bottom: 0;
}

.hatena-urllist li a {
    text-decoration: none;
    color:#333;
}

.hatena-urllist li a:hover {
    text-decoration: underline;
}

.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;
}

/* Search module */
.hatena-module-search-box .search-form {
    border: 1px solid #ddd;
    border-radius: 3px;
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.hatena-module-search-box .search-module-input {
    -webkit-box-flex: 1;
        -ms-flex: 1 0;
            flex: 1 0;
    padding: 5px;
    color: #454545;
    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: .5;
    cursor: pointer;
}

.hatena-module-search-box .search-module-button:hover {
    opacity: .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 */
.archive-header-category {
    text-align: center;
}

.page-archive .archive-entry {
    margin-left: auto;
    margin-right: auto;
    margin-bottom:15px;
    line-height: 1.3;
    background:#fff;
    display:flex;
    position:relative;
    height:120px;
    border-radius:5px;
    border:1px solid #ddd;
}

.page-archive .entry-title {
    margin: .3em auto;
}

.page-archive .entry-thumb {
    width: 130px;
    height: 120px;
    background-size: cover;
    border-radius:5px 0 0 5px;
}

.page-archive .entry-description {
    margin: 0;
    font-size: .85rem;
}


.page-archive .social-buttons {
    display: block;
    margin-top: .3em;
}

@media (min-width: 768px) {
    .page-archive .archive-entry{
        height:150px;
        margin-bottom:30px;
    }
    
    .page-archive .entry-thumb {
        width: 225px;
        height: 150px;
    }
    
    .page-archive .entry-description {
        font-size: .9rem;
    }
}


/* footer */
#footer {
    margin-top: 2em;
    padding-bottom: 2rem;
    text-align: center;
    font-size: .8rem;
    color: #999;
    background:#fff;
    width:100%;
    padding-top:15px;
}

#footer a {
    color: #999;
}

#footer p {
    margin: .5em auto;
}


/*----------------------ここから追記---------------------------------*/

/*ヘッダー画像がない時は上下に余白*/
#blog-title-inner{
  padding:30px 0;
}
/*ヘッダー画像がある時は上下に余白なし*/
.header-image-only #blog-title #blog-title-inner{
    padding:0;
  }
.header-image-enable #blog-title #blog-title-inner{
    padding:0;
}

/*ヘッダーとコンテンツの間に余白*/
#content{
  margin-top:30px;
}


/*日付とタイトルを画像の右側へ*/
.archive-entry-header{
    order:1;
    padding:10px;
}


/*サイドバーの背景を白く*/
.hatena-module{
    background:#fff;
    padding:25px;
    border-radius: 5px;
    border:1px solid #ddd;
}

/*トップページの記事本文非表示*/
.archive-entry-body{
    display:none;
}

.categories{
    position:absolute;
    bottom:5px;
    right:10px;
}


/*--------タブレット画面-----------*/
@media(max-width:991px){
  .header-image-only #blog-title #blog-title-inner{
    height:144px;
    background-size:cover;
  }
  
  .header-image-enable #blog-title #blog-title-inner{
    height:144px;
    background-size:cover;
  }
  
  .header-image-enable #blog-title-content{
    padding-top:50px;
  }
  
  #container{
    padding-right:0;
    padding-left:0;
  }
  
  #content{
    padding-right:10px;
    padding-left:10px;
  }
  
  .page-archive .entry-title{
    font-size: 17px;
  }
    
  .categories a:not(:first-child){
    display:none;
  }
  
  .breadcrumb{
    padding:0 10px;
  }

}


@media (max-width:767px) {
  #blog-description{
    margin-top:0;
  }
  
}

@media (max-width:640px) {
  .header-image-only #blog-title #blog-title-inner{
    height:120px;
  }
}

@media (max-width:500px) {
  .header-image-only #blog-title #blog-title-inner{
    height:100px;
  }
}


/*----------スマホ画面-------------*/
@media (max-width:479px) {
  
  .header-image-enable #blog-title #blog-title-inner{
    height:100px;
  }
  
  .header-image-enable #blog-title-content{
    padding-top:25px;
  }
  
  #title{
    font-size:18px;
  }
  
  #blog-description{
    font-size:12px;
  }
  
  #content{
    margin-top:25px;
  }
  
  .archive-entry-header{
    padding:8px 5px 8px 0;
  }
  
  .entry-inner{
    padding:10px;
  }
  
  .page-archive .entry-title{
    font-size: 15px;
  }
  
  .categories{
    bottom:0px;
    right:5px;
  }
  .categories a{
    font-size:12px;
    padding:4px;
  }
}

@media (max-width:450px) {
  .header-image-only #blog-title #blog-title-inner{
    height:90px;
  }
}

@media (max-width:400px) {
  .header-image-only #blog-title #blog-title-inner{
    height:80px;
  }
}

@media(max-width:359px){
  .header-image-only #blog-title #blog-title-inner{
    height:70px;
  }
  .page-archive .entry-title{
    font-size:13px;
  }
  .categories a{
    font-size:11px;
  }
  .date{
    font-size:12px;
  }
  
}



/*----------------------グローバルナビ------------------------------*/
/* はてなブログにデフォルトで付いてる余白消す */
#colorbook-gnav ul{
   padding-left:0;
}

#colorbook-gnav{
  background:#fff;/*グローバルナビの背景色*/
  border-top:1px solid #eee;
  border-bottom:1px solid #eee;
}

#menu-btn{
  color:#454545;/*スマホ画面の、「メニュー」ボタンの文字色*/
  display:none;
}

#colorbook-gnav-list{
  display:flex;
  flex-wrap: wrap;/*文字を改行してナビを1行にするにはこれ消す*/
  margin:0 auto;
  max-width:1200px;
  justify-content: center; /*ナビ中央寄せ*/
}

#colorbook-gnav-list li{
  list-style: none;
}

#colorbook-gnav a{
  color:#454545;/*グローバルナビの文字色*/
  text-decoration: none;
  display:block;
  padding:15px 18px;
  font-size:14px;/*文字の大きさ*/
  font-weight:bold;
}

#colorbook-gnav a:hover{
  background:#eee;/*マウスを乗せた時の色*/
}


/* --------グローバルナビ　タブレット・スマホ画面--------- */
@media(max-width:960px){
  
  #menu-btn{
    display:block;
    padding-left:10%;
    padding-top:10px;
    padding-bottom:10px;
    text-align:left;
  }

  #colorbook-gnav-list{
    display:none;
  }

  #colorbook-gnav a{
    text-align:left;
  }

}


/*----------目次----------*/
.entry-content .table-of-contents{
  padding:30px;
}

.entry-content .table-of-contents::before{
  content:"目次";
  display:block;
  text-align:center;
  margin-bottom:15px;
}

/* </system> */

/* <system section="background" selected="undefined"> */

/* </system> */


/* ### ヘッダーの背景色 ### */
#blog-title{
  background: #e3f1f8 !important;
}
body{
  background:#e3f1f8;
}


/*========================
　smartphone　bottom menu
　========================*/


.mini-text{font-size:10px;}/*文字大きさ*/

ul.bottom-menu {
    position: fixed;
    left:0;
    bottom:0;
    width: 100%;
    height:45px;/*高さ*/
    margin:0;
    padding:0;
    background-color:#343838;/*背景色*/
    z-index:30;}

ul.bottom-menu li {
    float:left;
    width:25%;
    background-color:#343838;/*背景色*/
    list-style-type:none;
    text-align:center;
    font-size:25px;/*アイコンのサイズ*/}

.bottom-menu li a {
    display: block;
    color:#a9a9a9;/*アイコン＆文字の色*/
    padding-top:15px;
    padding-bottom:5px;
    line-height:10px;
    text-decoration:none;}

.bottom-menu li a:hover {
    color:#fff;/*マウスオーバー時の色*/}

/* === 展開メニュー === */

ul.menu-second-level {
    visibility: hidden;
    opacity: 0;
    z-index:1;}

ul.menu-second-level li a{
    border-top:1px dashed #a9a9a9;/*展開の枠点線*/
    border-right:1px dashed #a9a9a9;/*展開の枠点線*/
        font-size:15px;/*展開メニューの文字サイズ*/
        line-height:30px;/*文字の縦幅*/}

.menu-second-level li a:hover {
    height:100%;
    background: lightgrey;/*マウスオーバーの色*/}

li.menu-width-max ul.menu-second-level {
    position: absolute;
    bottom: 47px;/*高さ*/
    left: 0;
    box-sizing: border-box;
    width: 100%;
    padding:0;}

li.menu-width-max:hover ul.menu-second-level {
    bottom: 47px;/*高さ*/
    visibility: visible;
    opacity: 1;}

li.menu-width-max ul.menu-second-level li {
    float: left;
    width: 50%;
    border: none;}

/*PC表示の際はボトムメニューは表示しない*/
@media(min-width: 768px){
    .bottom-menu{display:none; }
}

/***ヘッダー画像周りの余白を消す***/
.header-image-only #blog-title, .header-image-only #blog-title #blog-description, .header-image-enable #blog-title {
margin: 0 auto;
padding: 0;
background: #FCE9F2;/*背景色サイトに合わせて変更する*/
}

/*パンくずリストのテキスト変更*/
.breadcrumb-link span{
font-size:0;
}
.breadcrumb-link:before{
font-family:'blogicon';
content:'ホーム';
}

/*見出し*/
h3 {
  border-left: 6px solid #696969;
  background-color: #dcdcdc;
  padding: 0.5em;
}
h4 {
  position: relative;
  padding: 8px 12px;
  color: #ffffff;
  line-height: 1.5;
  background-color: #343838;
  border-radius: 10px;
  border: 10px double;
  border-color: #ffffff;
}
.hatena-module-title,h5 {
  padding: .25em 0 .25em .75em;
  border-left: 6px solid #696969;
}
/*見出し*/

.categories a{
  background: #dcdcdc;/*カテゴリーの背景色*/
  color: #343838;/*カテゴリーの文字色*/
}

/*引用デザイン--ここから↓↓--*/
.entry-content blockquote {
    position: relative;
    padding: 25px 55px;
    color: #ffffff;
    border-radius: 10px;
    border: 10px double;
    border-color: #ffffff;
    font-style: oblique;
    color: #ffffff;
    background-color: #343838;
}
.entry-content blockquote:before{
    display: inline-block;
    position: absolute;
    top: 0;
    left: -10px;
    content: "“";
    font-family: serif;
    color: #dcdcdc;
    font-size: 100px;
    line-height: 1;
}

.entry-content blockquote:after{
    display: inline-block;
    position: absolute;
    bottom: -50px;
    right: 20px;
    content: "”";
    font-family: serif;
    color: #dcdcdc;
    font-size: 100px;
    line-height: 1;
}

.entry-content blockquote cite {
    position: relative;
    padding: 10px;
    z-index: 3;
    display: block;
    text-align: right;
    color: #888888;
    font-size: 0.9em;
}
/*引用デザイン--ここまで↑↑--*/


/*------------------------2列カード型に---------------------------*/
.page-archive .archive-entry{
  flex-direction:column;
  height:auto;
  width:48%;
  margin-left:0;
  margin-right:0;
}
.archive-entries{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
}


.archive-entry-header{
  padding:8px;
}

/*サムネイル*/
.page-archive .entry-thumb {
  width:100%;
  height:115px;
  border-radius:5px;
}

/*カテゴリー*/
.archive-entry .categories{
  margin:0;
  position:absolute;
  bottom:auto;
  right:auto;
  top:5px;
  left:5px;
}

.categories a{
  padding:5px 5px 3px;
  font-size:9px;
}

/*記事タイトル*/
.page-archive .entry-title{
  margin-bottom:25px;
}


/*日付*/
.archive-entry .date{
  position:absolute;
  bottom:-3px;
  right:10px;
}

.date a{
  font-size:11px;
}




/*------------タブレット画面-------------*/
@media(min-width: 480px){

/*サムネイル*/
.page-archive .entry-thumb {
  height:155px;
}

/*記事タイトル*/
.page-archive .entry-title{
  margin-bottom:50px;
  margin-top:15px;
}

/*日付*/
.date{
  bottom:0px;
}

.date a{
  font-size:13px;
}


}



/*------------パソコン画面-------------*/
@media(min-width: 991px){

/*サムネイル*/
.page-archive .entry-thumb {
  height:185px;
}

/*記事タイトル*/
.entry-title{
  font-size:18px;
}

/*カテゴリー複数表示になるので上下くっつかないように*/
.categories a{
  margin-bottom:5px;
  font-size:10px;
}


}
/*------------------------カード型ここまで---------------------------*/


/***グローバルメニュー***/
/*固定グローバルナビ　メニュー*/
#global-nav {
    line-height: 32px;/*メニューバーの高さ*/
    margin: 0 auto;
    padding: 0;
    width: 100%;
    display: block;
    background-color: #343838 ;/* 背景色を指定 */
}
.global-nav-text {
    display: table-cell;
    list-style-type: none;
    text-align: center;
    width: 10%
}
.global-nav-text a {
    display: inline-block;
    white-space: nowrap;
    padding: 8px 15px;
    color: #fff ;/* 文字色 */
    text-decoration: none;
    font-size: 13px;
}
.global-nav-text a:hover {
    background-color: #fff ;/* マウスがホバーした時の背景色 */
    color: #ff1493 ;/* マウスがホバーした時の文字色 */
    font-weight: bold;
    transition: all .2s;
}

/*スマホの時は上部グローバルメニューは表示しない*/
@media(max-width: 767px){
#global-nav {
    display:none; }
}

@media(min-width: 768px) {
#global-nav {
    display: table; /*PC表示時均等配置*/
}
.global-nav-text a {
    display: block;
    padding: 5px 0;
}
}

/*グローバルナビ　上に固定*/
.global-nav-fixed {
    position:fixed;
    top:0;
    left:0;
    width: 100%;
    z-index: 20;
    animation:fade-in 0.5s;
}

@keyframes fade-in {
0%{margin-top:-64px;}
100%{margin-top:0;}
}
/***グローバルメニュー***/


/***おすすめ記事デザインカード型***/
[class^="recommend"] {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.recommend-container {
    padding: 20px 2vw;
    background: transparent;/* 背景色透過 */
}

.recommend-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
}

.recommend-item {
    width: calc(50% - 1vw);
    border: solid 1px #ddd;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

@media (min-width: 992px) {
    .recommend-container {
        padding: 28px 28px 0;
    }
    .recommend-item {
        width: calc(25% - 10px);
    }
}

.recommend-figure {
    padding-top: 50%;
    position: relative;
    overflow: hidden;
}

.recommend-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    transition: .3s ease-in-out;
}

.recommend-title {
    display: block;
    padding: 8px;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    line-height: 1.4;
}

.recommend-link {
    text-decoration: none;
    color: #454545!important;
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
}

.recommend-link:hover .recommend-figure img {
    transform: scale(1.05);
}

.recommend-figure::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.2);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
    transition: .2s ease-in-out;
}

.recommend-link:hover .recommend-figure::before {
    opacity: 1;
}

/* タブレット・スマートフォン向け */
@media screen and (max-width: 768px) {
    .recommend-container {
     overflow-x: auto;
     overflow-y: hidden;
     -webkit-overflow-scrolling: touch;
}
    .recommend-wrap {
     margin: 20px auto;
     width: 660px;
}
    .recommend-item {
    width: 150px;
    height: 190px;
}
}
/* iPhone5s以下向け対策 */
@media screen and (max-width: 320px) {
     .recommend-wrap {
     width: 550px;
}
   .recommend-item {
    margin-right:10px;
    width: 130px;
    height:180px;
}
}
/* ヘッダー下おすすめ記事横スクロールここまで */