@charset "UTF-8";
/*
  Theme: nujust's theme
  Author: nujust
  Responsive: yes
*/

/* Document
   ========================================================================== */
html {
    line-height: 1.15;
    /* 1 */
    -ms-text-size-adjust: 100%;
    /* 2 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}

/* Sections
   ========================================================================== */
body {
    margin: 0;
}

article,
aside,
footer,
header,
nav,
section {
    display: block;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
figcaption,
figure,
main {
    /* 1 */
    display: block;
}

figure {
    margin: 1em 40px;
}

hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/* Text-level semantics
   ========================================================================== */
a {
    background-color: transparent;
    /* 1 */
    -webkit-text-decoration-skip: objects;
    /* 2 */
}

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
    /* 2 */
}

b,
strong {
    font-weight: inherit;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

dfn {
    font-style: italic;
}

mark {
    background-color: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
   ========================================================================== */
audio,
video {
    display: inline-block;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

img {
    border-style: none;
}

.itunes-embed {
    max-width: 600px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

.itunes-embed>a {
    flex: 0.7;
    margin: auto;
}

.itunes-embed .itunes-embed-image {
    float: none;
    margin: auto;
    border: 1px solid #ddd;
}

.itunes-embed.itunes-kind-software .itunes-embed-image {
    border-radius: 22.5%;
}

.itunes-embed .itunes-embed-info {
    flex: 1;
    margin: auto 1em;
}

.itunes-embed .itunes-embed-info .itunes-embed-badge img {
    width: 100px;
}

.hatena-asin-detail {
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .hatena-asin-detail {
        max-width: 600px;
    }
}

.hatena-asin-detail .hatena-asin-detail-info {
    margin: auto 1em;
}

.hatena-asin-detail .hatena-asin-detail-info .hatena-asin-detail-title {
    font-size: 0.9em;
}

.hatena-asin-detail .hatena-asin-detail-info .hatena-asin-detail-title>a {
    font-weight: initial;
}

.hatena-asin-detail .hatena-asin-detail-image-link,
.hatena-rakuten-detail>a {
    height: 120px;
    margin: auto;
}

.hatena-asin-detail .hatena-asin-detail-info .hatena-asin-detail-meta,
.hatena-rakuten-detail .hatena-asin-detail-info>ul {
    opacity: 1.0;
}

.hatena-asin-detail .hatena-asin-detail-info .asin-detail-buy,
.hatena-rakuten-detail .hatena-asin-detail-info>ul>li:last-of-type>a {
    background-color: #DDD;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .025em;
    line-height: 1.25;
    margin-top: 8px;
    overflow: hidden;
    padding: 8px;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

svg:not(:root) {
    overflow: hidden;
}

/* Forms
   ========================================================================== */
button,
input,
optgroup,
select,
textarea {
    font-family: sans-serif;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

button,
input {
    /* 1 */
    overflow: visible;
}

button,
select {
    /* 1 */
    text-transform: none;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
    /* 2 */
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

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 */
}

progress {
    display: inline-block;
    /* 1 */
    vertical-align: baseline;
    /* 2 */
}

textarea {
    overflow: auto;
}

[type="checkbox"],
[type="radio"] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/* Interactive
   ========================================================================== */
details,
menu {
    display: block;
}

summary {
    display: list-item;
}

/* Scripting
   ========================================================================== */
canvas {
    display: inline-block;
}

template {
    display: none;
}

/* Hidden
   ========================================================================== */
[hidden] {
    display: none;
}

html,
body {
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Kaku Gothic Pro', 'BIZ UDPGothic', 'Meiryo', sans-serif;
    color: #454545;
    background-color: #f4efe3;
    line-height: 1.6;
}

a {
    color: #a8593c;
}

a:hover {
    color: #754c38;
}

a:has(>code) {
    text-decoration: none;
}

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

::selection {
    background: #a8593c;
    color: #fff;
}

::-moz-selection {
    background: #a8593c;
    color: #fff;
}

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: #754c38;
}

#globalheader-container {
    background-color: #454545;
    color: #fff;
}

#container,
#footer {
    padding: 0px;
}

#content-inner {
    padding: 10px;
    background-color: #fff;
    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) {

    #container,
    #footer {
        width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    #content-inner {
        padding: 30px 10px;
        border-radius: 10px;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }

    #wrapper {
        width: 540px;
        padding: 0px 10px;
    }

    #box2 {
        width: 200px;
        padding: 0px 10px;
    }
}

@media (min-width: 992px) {

    #container,
    #footer {
        width: 1050px;
    }

    #content-inner {
        padding: 30px 20px;
    }

    #wrapper {
        width: 750px;
    }

    #box2 {
        width: 220px;
    }
}

/* ヘッダ */
#blog-title {
    margin: 2em 0;
    text-align: left;
    padding: 0px 10px;
}

#title {
    margin: 0;
    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 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-left: 10px;
    margin-right: 10px;
}

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

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

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

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

.date {
    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-top: 1.0em;
    margin-bottom: 1.0em;
    font-size: .8rem;
}

.categories a {
    margin-right: .2em;
    padding: 0.3em;
    color: #999;
    border: 1px solid #999;
    text-decoration: none;
}

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

/* 記事内の書式 */
.entry-content {
    overflow-wrap: break-word;
}

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

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin: 1.5em 0 0.5em 0;
}

.entry-content h1 {
    font-size: 1.4rem;
}

.entry-content h2 {
    font-size: 1.4rem;
}

.entry-content h3 {
    position: relative;
    font-size: 1.4rem;
    padding: 0.3em 1.0em;
}

.entry-content h3::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 6px;
    height: 100%;
    background-color: #a8593c;
    border-radius: 3px;
}

.entry-content h4 {
    font-size: 1.2rem;
    border-bottom: 1px solid #ddd
}

.entry-content h5 {
    font-size: 1.1rem;
}

.entry-content h6 {
    font-size: 1.0rem;
}

.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 dl dt {
    font-weight: bold;
}

.entry-content table {
    border-collapse: collapse;
    border-spacing: 0;
    border-bottom: 1em;
    margin-bottom: 1em;
    width: 100%;
    overflow: auto;
    display: block;
    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 table tbody th,
.entry-content table tfoot th {
    text-align: left;
}

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

.entry-content blockquote .requote-button {
    display: none;
}

.entry-content mjx-container {
    overflow-x: auto;
    overflow-y: hidden;
    min-width: 0 !important;
    font-size: 100% !important;
}

.entry-content mjx-container[jax="CHTML"][display="true"] {
    font-size: 120% !important;
}

.entry-content pre,
.entry-content code {
    font-family: 'Monaco', 'Consolas', monospace;
}

.entry-content pre {
    color: #f8f8f2;
    background: #23241f;
    border-radius: 1.0em;
    white-space: pre;
    text-overflow: clip;
    overflow-x: auto;
    font-size: 100%;
    line-height: 1.5em;
    font-size: .9rem;
    padding: 1.5em;
}

.entry-content pre>code {
    margin: 0;
    padding: 0;
    white-space: pre;
    border: none;
    background-color: transparent;
}

.entry-content code {
    font-size: 85%;
    margin: 0;
    padding: 1px 5px;
    color: #e74c3c;
    border-radius: 3px;
}

.entry-content a>code {
    text-decoration: underline;
}

.entry-content pre.code .synSpecial {
    color: #c000c0
}

.entry-content pre.code .synType {
    color: #66d9ef;
}

.entry-content pre.code .synComment {
    color: #75715e;
}

.entry-content pre.code .synPreProc {
    color: #f92672;
}

.entry-content pre.code .synIdentifier {
    color: #a6e22e;
}

.entry-content pre.code .synConstant {
    color: #ae81ff;
}

.entry-content pre.code .synStatement {
    color: #f92672;
}

.entry-content hr {
    width: 95%;
    border: none;
    border-top: 1px solid #ddd;
    margin: 2em auto;
}

.entry-content .table-of-contents {
    padding: 1em 3em;
    margin: 0em;
    border: 1px dashed #ddd;
    background: #00000008;
}

/* 記事下 */
.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: .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: 2em;
    font-size: .9rem;
}

.hatena-module-title {
    background-color: #f4efe3;
    margin-bottom: .6em;
    padding: 0.5em;
    border: 1px dashed #ddd;
    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: .3em 0;
    border-bottom: 1px solid #ddd;
}

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

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

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

.hatena-urllist .urllist-title-link {
    font-size: 0.9rem;
}

/* 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 img.profile-icon {
    display: inline;
}

/* Archive */
.archive-header-category {
    margin: 0;
}

.archive-heading {
    font-size: 1.3rem !important;
    background-color: #f4efe3;
    margin: 1.0em 0 !important;
    padding: 0.5em;
    border: 1px dashed #ddd;
}

.page-archive .archive-entry {
    margin-bottom: 1em;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
    border: 1px solid #ddd;
    padding: 1.0em;
}

.page-archive .entry-title {
    margin: .3em auto;
    font-size: 1.2rem;
}

.page-archive .entry-thumb {
    width: 120px;
    height: 90px;
    background-size: cover;
}

@media (min-width: 768px) {
    .page-archive .entry-thumb {
        width: 160px;
        height: 120px;
    }
}

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

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

/* footer */
#footer {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    text-align: center;
    font-size: .8rem;
    color: #999;
}

#footer a {
    color: #999;
}

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