/* <system section="theme" selected="10257846132597512123"> */
@charset "UTF-8";
/*
  Theme: James
  Author: shimehitsu14
  Responsive: yes
  Description:
    simple and responsive web design
  Released under the MIT License.
*/
/*! normalize.css v7.0.0 | 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
 *    IE on Windows Phone and in iOS.
 */
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 {
    background-color: #fff;
    font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
    color: #222;
    line-height: 1.6;
}

a {
    color: #1973cd;
}

a:hover {
    color: #14529f;
}

a:visited {
    color: #7d89be;
}

a.keyword {
    color: #222;
    border-bottom: 1px dotted #ddd;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    color: #222;
    line-height: 1.3;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: #222;
    text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    color: #222;
}

h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited {
    color: #222;
}

/* Globalheader */
#globalheader-container {
    background-color: #222;
    color: #fff;
}

/* Container */
#container {
    -webkit-box-shadow: 0 1px 5px #aaa;
            box-shadow: 0 1px 5px #aaa;
    padding: 10px;
    background-color: #fff;
}

#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;
}

/* Header */
#blog-title {
    padding-bottom: 1rem;
    text-align: center;
}

#title {
    margin: 0;
    font-size: 1.5rem;
}

#title a {
    color: #222;
}

#blog-description {
    margin: 1em 0 0;
    font-size: .8rem;
    font-weight: normal;
}

/* Header image */
.header-image-enable #blog-title {
    margin: 0 0 2em;
}

.header-image-enable #blog-title-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.header-image-enable #blog-title-content {
    margin-right: 10px;
    margin-left: 10px;
}

/* Under title */
#top-editarea {
    margin-bottom: 1em;
}

/* Navigation menu */
#menu-content {
    display: none;
    width: 100%;
    padding: 0;
}

#btn-content {
    font-size: 1.5rem;
    text-align: right;
}

#nav-menu ul {
    margin-top: 0;
    list-style-type: none;
}

#menu-content li {
    display: block;
    font-size: .9rem;
    text-align: center;
}

#menu-content li a {
    display: block;
    padding: .5rem 0;
    color: #222;
    text-decoration: none;
}

#menu-content li a:hover {
    background: #222;
    color: #fff;
}

/* Breadcrumb */
.breadcrumb {
    font-size: .9rem;
}

/* Entry */
.entry {
    position: relative;
    margin-bottom: 4em;
}

.entry-header {
    position: relative;
    margin-bottom: .5em;
    padding-bottom: .5em;
    border-bottom: 1px solid #ddd;
}

.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: 1.5rem;
}

.categories {
    margin: .5em 0;
    font-size: .9rem;
}

.categories a {
    margin-right: .5em;
}

/* Edit button */
.entry-header-menu {
    position: absolute;
    top: 0;
    right: 0;
}

/* Entry Content */
.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;
}

.entry-content h2 {
    font-size: 1.4rem;
}

.entry-content h3 {
    padding: 1rem 0 1rem 1rem;
    border-left: 2px solid #2f7d32;
    font-size: 1.2rem;
}

.entry-content h4 {
    padding: .5rem 0;
    border-bottom: 2px solid #2f7d32;
    font-size: 1.1rem;
}

.entry-content h5::before {
    margin-right: .7rem;
    color: #2f7d32;
    font-family: blogicon;
    content: "\f029";
}

.entry-content h5 {
    padding: .5rem 0;
    font-size: 1.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 {
    display: block;
    width: 100%;
    margin-bottom: 1em;
    overflow: auto;
    border-collapse: collapse;
    border-spacing: 0;
    border-bottom: 1em;
    font-size: .8rem;
}

.entry-content table th,
.entry-content table td {
    border: 1px solid #ddd;
    padding: 5px 10px;
}

.entry-content table th {
    background: #f5f5f5;
}

.entry-content blockquote {
    margin: 0 0 10px;
    padding: 20px;
    border: 1px solid #ddd;
}

.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 {
    padding: 10px;
    border: none;
    background: #f5f5f5;
    text-overflow: ellipsis;
    line-height: 1.3;
    font-size: 100%;
    font-size: .8rem;
    white-space: pre-wrap;
}

.entry-content pre > code {
    margin: 0;
    padding: 0;
    border: none;
    background-color: transparent;
    font-family: 'Monaco', 'Consolas', 'Courier New', Courier, monospace, sans-serif;
    white-space: pre;
}

.entry-content code {
    margin: 0 2px;
    padding: 0px 5px;
    border-radius: 3px;
    background-color: #f5f5f5;
    font-size: 90%;
}

.entry-content hr {
    width: 50%;
    margin: 2em auto;
    border: 0;
    border: none;
    border-top: 1px solid #ddd;
}

.entry-content .table-of-contents:before {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    content: "Contents";
}

.entry-content .table-of-contents {
    margin: 1em 0;
    padding: 1em 1em 1em 2em;
    background: #f5f5f5;
    border: 1px solid #2f7d32;
}

/* 記事下 */
.entry-footer .social-buttons {
    margin-bottom: 1em;
}

.entry-footer-section {
    color: #999;
    font-size: .9rem;
}

.entry-footer-section a {
    color: #999;
}

/* Comment */
.comment-box {
    margin: 1em 0;
}

.comment-box .comment {
    margin: 0 0 15px 0;
    padding: 0;
    font-size: .85rem;
    list-style: none;
    line-height: 1.7;
}

.comment-box .entry-comment {
    position: relative;
    padding: 10px 0 10px 60px;
    border-bottom: 1px solid #ddd;
}

.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;
    color: #222;
    font-size: .85rem;
    word-wrap: break-word;
}

.comment-content p {
    margin: 0 0 .6em 0;
}

.comment-metadata {
    margin: 0;
    color: #999;
    font-size: .8rem;
}

.comment-metadata a {
    color: #999;
}

.leave-comment-title {
    padding: .6em 1em;
    border: 1px solid #ddd;
    font-size: .85rem;
}

/* Pager */
.pager {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin: 2em 0;
}

/* Side bar */
.hatena-module {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin-bottom: 3em;
    font-size: .85rem;
}

.hatena-module-title {
    margin-bottom: .6em;
    padding-left: .8em;
    border-left: 2px solid #2f7d32;
    font-size: 1rem;
    font-weight: bold;
    line-height: 2em;
}

.hatena-module-title a {
    color: #222;
    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;
    margin-bottom: .5em;
    font-weight: bold;
}

.hatena-module-profile .profile-description p {
    margin-top: 0;
    clear: both; 
}

/* Urllist module */
.hatena-urllist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hatena-urllist li {
    padding: .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 {
    padding: .1em .3em;
    font-size: .7rem;
}

.hatena-urllist .urllist-date-link a {
    color: #999;
}

.hatena-urllist .urllist-entry-body {
    margin-top: .3em;
}

/* Search module */
.hatena-module-search-box .search-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.hatena-module-search-box .search-module-input {
    -webkit-box-flex: 1;
        -ms-flex: 1 0;
            flex: 1 0;
    height: 20px;
    padding: 5px;
    background: none;
    color: #222;
    border: none;
    outline: none;
}

.hatena-module-search-box .search-module-button {
    width: 24px;
    height: 24px;
    margin-right: 5px;
    background: transparent url("https://cdn.blog.st-hatena.com/images/theme/search@2x.png?version=e0e0a3993d8aff6a6344f19dd784d5") no-repeat center;
    background-size: 20px 20px;
    border: none;
    color: transparent;
    outline: none;
    overflow: hidden;
    opacity: .5;
    cursor: pointer;
}

.hatena-module-search-box .search-module-button:hover {
    opacity: .85;
}

/* About page */
.page-about .entry-content dt {
    margin-bottom: .5em;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}

.page-about .entry-content dd {
    margin-bottom: 2em;
    margin-left: 0;
}

/* Archive */
.archive-header-category {
    text-align: center;
}

.page-archive .archive-entry {
    margin-right: auto;
    margin-bottom: 3em;
    margin-left: auto;
    line-height: 1.3;
}

.page-archive .entry-title {
    margin: .3em auto;
}

.page-archive .entry-thumb {
    background-size: cover;
}

.page-archive .entry-description {
    margin: 0;
    font-size: .95rem;
}

.page-archive .social-buttons {
    display: block;
    clear: both;
    padding-top: .5em;
}

/* Footer */
#footer {
    padding: 2em 10px;
    color: #999;
    font-size: .8rem;
    text-align: center;
}

#footer a {
    color: #999;
}

#footer p {
    margin: .5em auto;
}

/* Character decoration */
.b {
    font-weight: bold;
}

.r {
    color: #c62927;
    font-weight: bold;
}

.y {
    background: linear-gradient(transparent 90%, #ffeb3b 0);
    font-weight: bold;
}

.o {
    background: linear-gradient(transparent 90%, #ffa726 0);
    font-weight: bold;
}

.p {
    background: #f8bbd0;
    font-weight: bold;
}

.l {
    font-size: 1.5em;
}

.s {
    font-size: .75em;
}

/* Responsive PC */
@media (min-width: 768px) {
    #container, #nav-menu, #wrapper, #box2 {
        width: 720px;
    }
    
    #container {
        margin: auto;
        padding: 50px;
    }
    
    #box2-inner .hatena-module:nth-child(2n+1) {
        clear: both;
    }
    
    .hatena-module {
        float: left;
        width: 340px;
        margin-right: 20px}
    
    .comment-box .comment {
        font-size: .9rem;
    }
    
    .page-archive .entry-thumb {
        width: 80px;
        height: 80px;
    }
    
    .hatena-module {
        font-size: .9rem;
    }
    
    #title {
        font-size: 1.6rem;
    }
    
    .entry-content h1 {
        font-size: 1.6rem;
    }
    .entry-content h2 {
        font-size: 1.5rem;
    }
    
    .entry-content h3 {
        font-size: 1.4rem;
    }
    
    .entry-content h4 {
        font-size: 1.3rem;
    }
    
    .entry-content h5 {
        font-size: 1.2rem;
    }
    
    .entry-content table {
        font-size: .9rem;
    }
}

@media (min-width: 992px) {
    #container, #nav-menu {
        width: 950px;
    }
    
    #content-inner {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
    }
    
    #btn-content {
        display: none;
    }
    
    #menu-content {
        display: block;
    }
    
    #menu-content li {
        float: left;
        width: 190px;
        margin-bottom: 1rem;
    }
    
    #wrapper {
        width: 600px;
    }
    
    #box2 {
        width: 300px;
    }
    
    .hatena-module {
        float: none;
        width: 300px;
        margin-right: 0;
    }
}
/* </system> */
#g-nav {
    display: block;
    width: 100%;
    font-weight: bold;
}
.nav-item {
    display: inline-block;
    padding: 10px 0;
    list-style-type: none;
    text-align: center;
}
.nav-item a {
    display: block;
    position: relative;
    color: #009;/* 文字色 */
    border-left: 3px solid #ddd; /* 縦線の太さ */
    text-decoration: none;
}
.nav-item a::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    display: block;
    width: 0px;
    height: 2px;
    background-color: #333;
    margin: 0 auto;
    transition: 0.3s;
    transform: translateX(-50%);
}
.nav-item a:hover::after {
    width: 100%;/* 下線の長さ */
}

/*↓----更新日時表示----↓*/
.lastmod {
background-color: transparent;
padding: 5px 0px;
text-decoration: none;
font-size: 15px;
display: inline;
margin-left: 0px;
color: #888888;
}
.lastmod::before {
margin-right: 5px;
margin-left: 10px;
padding-left: 3px;
font-family: "Font Awesome 5 Free";
font-weight: bold;
content: '\f01e';
}
.entry-date a {
background-color: transparent;
padding: 5px 0px 5px 6px;
text-decoration: none;
font-size: 15px;
display: inline;
}
.entry-date a::before {
margin-right: 5px;
padding-left: 3px;
}
/*↑----更新日時表示----↑*/