/* <system section="background" selected="default"> */
/* default */
/* </system> */
@charset "UTF-8";
/*
  Theme: boilerplate
  Author: Hatena Blog Team
  Responsive: yes
  Description:
    はてなブログのデザインCSSカスタマイズの土台に適したデザインテーマです。
    このテーマをもとにしてCSSを書くと比較的楽にカスタマイズできます。
    特定の部分（例えば記事本文の書式やコメント欄のスタイルなど）だけをコピーして使ってもかまいません。
    もちろんそのままの状態でも、シンプルなテーマとして使うことができます。
    このCSSおよびSCSSファイルは自由に複製・再配布できます。
    このテーマをもとにしたデザインテーマの配布も自由です。
  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;
    background-color: red;
}

:root {
    --color-bg-body: #efefef;
    --color-bg-header: #333;
    --color-bg-primary: #fff;
    --color-bg-secondary: #efefef;
    --color-bg-tertiary: #fff;
    --color-bg-fouth: #000;
    --color-font-color: #423f3e;
    --color-font-invert: #fff;
    --color-font-glay: #999;
    --color-primary: #4b93d6;
    --color-secondary: #154691;
    --color-border: #8e8886;
    --color-ui: #fff;
    --color-bg-ui: #FDAB9F;
}

/*
var(--color-bg-body);
var(--color--bg-entry);
var(--color-bg-header);
var(--color-bg-primary);
var(--color-bg-secondary);
var(--color-bg-tertiary);
var(--color-bg-fouth);
var(--color-font-color);
var(--color-font-invert);
var(--color-primary);
var(--color-secondary);
var(--color-border);
var(--color-ui);
var(--color-bg-ui);
 */


/**
 * 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 */
}
button {
  font-family: "Helvetica Neue", "Helvetica", "游ゴシック体", "YuGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Meiryo", sans-serif;
}

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


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


/**
 * 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", "游ゴシック体", "YuGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Meiryo", sans-serif;
    color: #454545;
    background-color: var(--color-bg-body);
    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 */
#main-inner {
    padding: 0 15px;
}



@media (min-width: 768px) {
    #container {
        width: 100%;
        margin: auto;
        padding-left: 0;
        padding-right: 0;
    }
    #footer {
        width: 100%;
        margin: auto;
        padding-left: 0;
        padding-right: 0;
    }
}


#box2-inner {
    width: 100%;
    padding: 40px 15px;
    box-sizing: border-box;
}

/* gridレイアウト */
.archive-entries {
    display: grid;
    gap: 5px;
    grid-template-columns: calc(50% - 5px) calc(50% - 5px);
    margin: 0 auto 20px;
}
@media (min-width: 768px) {
    .archive-entries {
        max-width: 760px;
        gap: 10px;
        margin: 0 auto 20px;
    }
}
@media (min-width: 1080px) {
    .archive-entries {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1024px;
    }
}

#box2 {
    background-color: #999;
    width: 100%;
}

/* gridレイアウト サイドバー */
#box2-inner {
    display: grid;
    gap: 50px 10px;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    #box2-inner {
        gap: 60px 20px;
        grid-template-columns: repeat(2, 1fr);
        max-width: 760px;
        margin: auto;
    }
}
@media (min-width: 1080px) {
    #box2-inner {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1024px;
    }
}

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

@media (min-width: 768px) {
    #blog-title {
        margin: 3em 0;
        text-align: left;
    }
}
div#blog-title-content {
    text-align: center;
}

#title {
    margin: 0;
    font-size: 2rem;
		font-family: "Optime","Helvetica Neue", "Helvetica","Arial", "Meiryo", sans-serif;
		font-weight: 300;
}

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

#title a {
    color: #454545;
}

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

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

.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;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 200px;
}

.header-image-enable #blog-title-content {
    margin-left: 10px;
    margin-right: 10px;
    background-color: rgba(255,255,255,.7);
    padding: 5px;
}



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

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

.entry-inner {
    max-width: 670px;
    margin: auto;
    background-color: var(--color-bg-primary);
    padding: 1em;
}
@media (min-width: 768px) {
    .entry-inner {
        padding: 3em;
    }
}
@media (min-width: 1080px) {
    .entry-inner {
        padding: 6em;
    }
}

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

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

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

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

span.hyphen {
    display: none;
}
span.date-year:after {
    content: ".";
}
span.date-month:after {
    content: ".";
}
.entry-title {
    margin: 0 0 .3em;
    font-size: 1.5rem;
}




@media (min-width: 1080px) {
    .entry-title {
        font-size: 1.6rem;
    }
}

.categories {
    margin: .5em 0;
    font-size: .9rem;
}

.categories a {
    margin-right: .5em;
    background-color: var(--color-bg-secondary);
    text-decoration: none;
    color: var(--color-font-glay);
    padding: 3px 5px;
}
@media (min-width: 768px) {
  .categories a:hover {
      opacity: .7;
  }
}
/* 「編集する」ボタン */
.entry-header-menu {
    position: absolute;
    top: 0;
    right: 0;
}

/* 記事内の書式 */
.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: 1080px) {
    .entry-content h1 {
        font-size: 1.7rem;
    }
}

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

@media (min-width: 1080px) {
    .entry-content h2 {
        font-size: 1.5rem;
    }
}

.entry-content h3 {
    font-size: 1.2rem;
}

@media (min-width: 1080px) {
    .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: 1080px) {
    .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: 2em 0;
    border-bottom: 2px solid #999;
    border-top: 2px solid #999;
    background-color: #fff;
    font-size: 90%;
    list-style-position:inside;
    position: relative;
}
ul.table-of-contents ul {
    background-color: #fff;
    padding-left: 15px;
}
ul.table-of-contents li {
    padding-left: 10px;
}
ul.table-of-contents li:not(:last-of-type) {
    border-bottom: 1px solid #efefef;
}
.entry-content .table-of-contents a {
    color: var(--color-font-color);
    text-decoration: none;
}
.entry-content .table-of-contents:before {
    content: "もくじ";
    background-color: #999;
    color: #fff;
    padding: 3px;
    display: inline-block;
    position: absolute;
    top: -1em;
    left: 0;
}
ul.table-of-contents li ul li {
    border-bottom: none;
}

/* 記事下 */
.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;
    background-color: var(--color-bg-secondary);
}
a.leave-comment-title {
    color: var(--color-font-color);
}
@media (min-width: 768px) {
  a.leave-comment-title:hover {
      opacity: .7;
  }
}
/* Pager */
.pager {
    position: relative;
    margin: 2em 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

span.pager-prev {
  margin-right: 1em;
}
span.pager-prev,
span.pager-next {
	background-color: #fff;
}

span.pager-prev a,
span.pager-next a {
    padding: .5em;
    display: inline-block;
}
@media (min-width: 768px) {
	span.pager-prev a,
	span.pager-next a {
  padding: .5em 2em;
	}
}

.pager a {
    color: var(--color-font-color);
    text-decoration: none;
}

span.pager-prev a:hover,
span.pager-next a:hover {
    background-color: var(--color-bg-ui);
}

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

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

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

.hatena-module a {
    color: var(--color-font-invert);
    text-decoration: none;
}

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

.hatena-module-title a {
    color: var(--color-font-invert);
    text-decoration: none;
}

.hatena-module-title a:hover {
    text-decoration: underline;
}

/* サイドバータイトルに横線 */
#box2-inner {
    color: var(--color-font-invert);
}
.hatena-module-title {
    display: flex;
    align-items: center;
    color: var(--color-font-invert);
}
.hatena-module-title:before,
.hatena-module-title:after {
border-top: 1px solid var(--color-bg-secondary);
content: "";
flex-grow: 1;
}
.hatena-module-title:before {
margin-right: 1rem;
}
.hatena-module-title:after {
margin-left: 1rem;
}




/* Profile module */

.hatena-module-profile .profile-icon {
    float: left;
    margin: 0 10px 10px 0;
    border-radius: 50%;
}

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

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

/* Category module */
.hatena-module-category ul {
    display: flex;
    flex-wrap: wrap;
}

.hatena-module-category li a {
    padding: .4em .8em;
    background-color: var(--color-bg-secondary);
    color: var(--color-font-glay);
}

.hatena-module-category li a:hover {
    text-decoration: none;
    color: #999;
}
@media (min-width: 768px) {
  .hatena-module-category li a:hover {
    opacity: .7;
}
}
/* 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;
    cursor: pointer;
}
@media (min-width: 768px) {
  .hatena-module-search-box .search-module-button {
    opacity: .5;
  }
}  
@media (min-width: 768px) {
  .hatena-module-search-box .search-module-button:hover {
      opacity: .85;
  }
} 
/* links module */
.hatena-module.hatena-module-links ul li a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    margin: 0;
    border-style: solid;
    border-color: transparent transparent transparent #999;
    border-width: 5px 5px 5px 5px;
    top: .2em;
    left: 0 ;
}

.hatena-module.hatena-module-links ul li a {
    position: relative;
    padding-left: 15px;
}

/* 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;
    line-height: 1.3;
    flex-direction: column;
    background-color: var(--color-bg-primary);
    padding: 5px;
    width: calc(100% - 10px);
}

.page-archive .archive-entry {
    display: flex;
    gap: 5px;
}

.page-archivea .entry-thumb-link {
    order: 1;
}

.page-archive .archive-entry-header {
    order: 2;
}

.page-archive .archive-entry-body {
    order: 3;
}

.page-archive .categories {
    order: 4;
}

.page-archive .archive-entry-header {
    text-align: center;
}
.page-archive .entry-title {
    margin: .3em auto;
    font-size: 1rem;
}
@media (min-width: 768px) {
.page-archive .entry-title {
    margin: .3em auto;
    font-size: 1.2rem;
}
}
.page-archive .entry-thumb {
    float: none;
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center center;
}
@media (min-width: 768px) {
  a.entry-thumb-link:hover {
      opacity: .7;
  }
}
.archive-entry-tags-wrapper,
.social-buttons {
    display: none;
}
@media (min-width: 768px) {
    .archive-entry-tags-wrapper,
    .social-buttons {
        display: block;
    }
}

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

.page-archive .entry-description {
    display: none;
}

@media (min-width: 768px) {
    .page-archive .entry-description {
        display: block;
        font-size: .9rem;
        margin: 0;
        color: #999;
    }
}

.social-buttons {
    margin-top: .3em;
}

/* footer */
#footer {
    padding: 2rem 0;
    text-align: center;
    font-size: .8rem;
    color: #999;
    background-color: var(--color-bg-fouth);
}

#footer a {
    color: var(--color-font-invert);
    text-decoration: none;
}

#footer p {
    margin: .5em auto;
    color: var(--color-font-invert);
}

/* タイトルタグ */
.entry-content * + h2 {
    margin-top: 80px;
    font-size: 1.4em;
    border-bottom: 1px solid #454545;
    border-top: 1px solid #454545;
    padding: 15px;
}
.entry-content * + h3 {
    margin-top: 80px;
    border-bottom: 1px solid var(--color-bg-secondary);
    background-color: var(--color-bg-secondary);
    padding: 15px;
}
.entry-content * + h4 {
    margin-top: 80px;
    border-bottom: 1px solid #dfdfdf;
    padding: 15px 0;
}

/* コードブロック */
.entry .entry-inner pre {
    margin: 0 0 24px;
    padding: 16px 24px;
    background: #272822;
    color: #f8f8f2;
}

.entry-content ul, .entry-content ol {
    margin: 0;
    padding: 1em 0 1em 3em;
    width: 100%;
    background-color: var(--color-bg-secondary);
    display: block;
    box-sizing: border-box;
}

.entry-content ul li ul,
.entry-content ol li ol {
    padding: 0;
    box-sizing: border-box;
    padding-left: 1.5em;
}

/* タイトル下HTML */
#top-editarea,
#top-box,
#main-inner {
    padding: 15px 0;
    margin: 2em 1%;
}

@media (min-width: 768px) {
    #top-editarea,
    #top-box,
	#main-inner {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (min-width: 1080px) {
    #top-editarea,
    #top-box,
	#main-inner {
        padding: 15px 30px;
        max-width: 1024px;
    }
}


/* ハンバーガーメニュー */
@media (max-width: 768px) {
input#hamburger {
    display: none;
}
label.hamburger_span {
    position: relative;
    z-index: 1000;
    width: 35px;
    height: 25px;
    display: inline-block;
    margin-left: 1em;
}
label.hamburger_span span {
    display: inline-block;
    width: 35px;
    height: 25px;
}
label.hamburger_span span i {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #000;
    display: block;
    transition: all .3s ease-in-out;
}
label.hamburger_span span i:nth-child(1) {
    top: 0;
}
label.hamburger_span span i:nth-child(2) {
    margin: auto;
    top: 0;
    bottom: 0;
}
label.hamburger_span span i:nth-child(3) {
    bottom: 0;
}
input:checked + label span i:nth-child(1) {
    margin: auto;
    transform: rotate(45deg);
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
}
input:checked + label span i:nth-child(2) {
    transform: rotateX(90deg);
    top: 0;
    bottom: 0;
}
input:checked + label span i:nth-child(3) {
    margin: auto;
    transform: rotate(-45deg);
    top: 0;
    right: 0;
    bottom: 0;
}
input:checked + label + .hamburger-list {
    position: fixed;
    z-index: 99;
    opacity: 1;
	margin-top: 25px;
}
.hamburger-list {
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.7);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    transition: opacity .3s ease-in-out,z-index .3s ease-in-out;
}
.hamburger-list__wrap {
    width: 70%;
    background-color: rgb(163, 163, 163);
    position: absolute;
    right: 0;
    top: 0;
    bottom:0;
    transition: top .3s ease-in-out;
    visibility: hidden;
}
input:checked + label + .hamburger-list > .hamburger-list__wrap {
    right: 0;
    top: 50px;
    visibility: visible;
}

.hamburger-list__wrap a {
    padding: 0 20px;
    color: #fff;
    font-size: 24px;
    height: 80px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-decoration: none;
}
.hamburger-list__wrap a:hover{
  color:red;
  transition: .5s;
}
.hamburger-list__wrap ul {
    margin: 20px 0 0 0;
    font-size: 14px;
}
.hamburger-list__wrap ul li {
    display: block;
}
.hamburger-list__wrap ul li {
    border-bottom: 1px solid #FFF;

}
.hamburger-list__wrap ul li a {
    font-size: 1em;
    height: 2em;
}
.hamburger-list__wrap ul li ul {
    padding: 0 0 0 20px;
    margin: 0;
}
.hamburger-list__wrap ul li ul li {
    border: none;
}
}

/* グローバルナビここから */
@media (min-width: 768px) {
    input#hamburger {
        display: none;
    }
    .global-nav {
        overflow: visible;
        display: flex;
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
    }
    ul.global-nav {
        margin: 0;
        background-color: #efefef;
    }
    .global-nav-content ul {
        font-size: .9em;
        line-height: 1.3;
        list-style-type: none;
        padding: 0;
    }
    .global-nav li {
        position: relative;
        min-width: 115px;
    }
    .global-nav > li + li {
      margin-left: 5px;
    }
    .global-nav li ul li {
        display: block;
    }
    .global-nav a {
        display: block;
        text-decoration: none;
        background-color: #fff;
        color: #454545;
        padding: 10px;
    }
    .global-nav li ul li {
        display: block;
    }
    .global-nav li ul li a:hover {
        opacity: 1;
        background-color: var(--color-bg-ui);
    }
    .global-nav li ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }
    .global-nav li ul li {
        visibility: hidden;
        overflow: hidden;
        height: 0;
        transition-duration: 0.2s;
        z-index: 1;
    }
    .global-nav li:hover > ul > li {
        visibility: visible;
        overflow: visible;
        height: 40px;
    }
    .global-nav a:hover {
        background-color: var(--color-bg-ui);
    }
}
@media (min-width: 1080px) {
    .global-nav li {
        position: relative;
        min-width: 125px;
    }
}
/* グローバルナビここまで */
/* 記事下SNSボタン */
.mono-sns-btns ul {
    padding-left: 0;
    display: flex;
    justify-content:center;
    list-style: none;
    flex-wrap: wrap;
}
.mono-sns-btns ul li + li {
  margin-left: 0.5em;
}
.mono-sns-btns {
    margin-bottom: 1em;
}
.mono-sns-btns a {
    padding: 5px 30px;
    font-size: 20px;
    color:#fff;
}
@media (min-width: 768px) {
  .mono-sns-btns a:hover {
      opacity: .7;
  }
}
a.hatena-bookmark-button.sns-btn.btn-hatena {
    background-color: #00A4DE;
}
a.sns-btn.btn-facebook {
    background-color: #1877f2;
}
a.sns-btn.btn-twitter {
    background-color: #1DA1F2;
}

p.copyright {
    text-align: center;
    color: #efefef;
}

div#bottom-editarea {
    background-color: var(--color-bg-tertiary);
    padding: 10px;
}

#blog-title {
    margin-bottom: 10px;
}

.hatena-module-category .hatena-urllist {
    display: flex;
    flex-wrap: wrap;
}
.hatena-module-category .hatena-urllist li {
    margin: 0 15px 5px 0;
}

/* トップへ戻るボタン */
.moveToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: rgba(0,0,0,.7);/* ボタンの色 */
    border: solid 1px #333;/* ボタンの外周の色 */
    border-radius: 50%;
    color: #fff;/* 矢印の色*/
    line-height: 42px;
    width: 42px;
    height: 42px;
    text-align: center;
}
a.moveToTop:hover {
    color: #fff;
    opacity: .7; 
}

html {
    scroll-behavior: smooth;
}

/* プロフィールここから */
@media (min-width: 768px) {
  .mo-author a:hover {
      opacity: .5;
  }
}
a.mo-author-img {
    text-align: center;
    display: block;
}
.mo-author img {
    border-radius: 50%;
    box-shadow: 1px 2px 2px 2px rgb(0 0 0 / 20%);
}
a.mo-author-name {
    text-align: center;
    display: block;
    font-size: 1.2rem;
    color: #333;
    font-weight: bold;
    text-decoration: none;
}
.mo-author p {
    margin: 0.3em 0;
}
ul.mo-sns-btn {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}
ul.mo-sns-btn li {
    margin: 2px;
    line-height: 40px;
    border-radius: 50%;
    height: 40px;
    width: 40px;
}
ul.mo-sns-btn a {
    color: #fff;
    background-color: #999;
    display: block;
    padding: 0 10px;
    text-align: center;
}
li.mo-snsbtn-hatena a:hover {
    background-color: #000;
}
li.mo-snsbtn-twitter a:hover {
    background-color: #1DA1F2;
}
li.mo-snsbtn-facebook a:hover {
    background-color: #1877f2;
}
li.mo-snsbtn-insta a:hover {
    background-color: #f13f79;
}
li.mo-snsbtn-rss a:hover {
    background-color: #ee802f;
}
li.mo-snsbtn-mail a:hover {
    background-color: red;
}
@media (max-width: 767px) {
    .mo-author {
        display: flex;
        gap: 10px;
    }
    .mo-author-left {
    padding: 10px;
    }
    .mo-author img {
        border-radius: 50%;
        box-shadow: 1px 2px 2px 2px rgb(0 0 0 / 20%);
        height: 70px !important;
        width: 70px !important;
        max-width: none !important;
        min-width: auto !important;
        max-height: none !important;
        min-height: auto !important;
    }
}
/* プロフィールここまで */

/* Amazon楽天リンク */
.hatena-asin-detail .hatena-asin-detail-info .hatena-asin-detail-title a {
    color: #333;
}

.hatena-asin-detail .hatena-asin-detail-info li::before {
    content: none;
}

.hatena-asin-detail .hatena-asin-detail-info .asin-detail-buy {
    background-color: #84b1c9;
    color: #fff;
    border-radius: 3px;
}

.hatena-asin-detail>a .hatena-asin-detail-image {
    box-shadow: none;
}

/* 関連記事を記事下よりも下に */
.customized-footer {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
}
.entry-footer-modules {
  -webkit-order:2;
  order:2;
  width: 100%;
}
.entry-footer-html {
  -webkit-order:1;
  order:1;
  width: 100%;
}

/* SNSアイコンここまで */
/* shareアイコンここから */
.share-btn {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.share-btn a{
    line-height: 38px;
    color: #fff;
}
ul.share-btn {
    padding: 0;
}
.share-btn > li {
    padding-left: 0;
    height: 38px;
    width: 60px;
    margin: 2px;
    text-align: center;
    color: #fff;
}
.bg-hatena {
    background-color: #00A4DE
}
.bg-twitter {
    background-color: #1DA1F2
}
.bg-facebook {
    background-color: #1877f2
}
.bg-pocket {
    background-color: #ef4154
}
.bg-line {
    background-color: #07B53B
}
@media (min-width: 768px) {
  .share-btn li:hover {
      opacity: 0.7;
  }
}
/* shareアイコンここまで */
/* SNSアイコンここから */
.sns-btn-type6 {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content:center;
  list-style: none;
}
.sns-btn-type6 li {
  margin: 2px;
  line-height: 40px;
  border: none;
  background-color: #666;
}
.sns-btn-type6 li:hover {
  background-color: #333;
}
.white a {
  color: #fff;
  display: block;
  padding: 0 10px;
  line-height: 40px;
}

/*ソースを隠す時全体*/
.hidden_box {
    margin: 2em 0;/*前後の余白*/
    padding: 0;
}
.hidden_box label {/*ボタン装飾*/
    padding: 15px;
    font-weight: bold;
    border: solid 2px black;
    cursor :pointer;
}
.hidden_box label:hover {/*ボタンホバー時*/
    background: #efefef;
}
.hidden_box input {/*チェックは見えなくする*/
    display: none;
}
.hidden_box .hidden_show {/*中身を非表示にしておく*/
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}
.hidden_box input:checked ~ .hidden_show {/*クリックで中身表示*/
    padding: 10px 0;
    height: auto;
    opacity: 1;
}

/* 吹き出しのCSS　*/
.entry-content .l-fuki,
.entry-content .r-fuki {
  position: relative;
  width: calc(100% - 82px);
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  padding: 20px;
  border-radius: 6px;
  border: 2px solid #ddd;
  box-shadow: 0 3px 8px -2px rgba(0,0,0,.16);
  background-color: #fff;
  z-index: 1;
  box-sizing: border-box;
}
.entry-content .l-fuki {
  margin: 20px auto 36px 0;
}
.entry-content .r-fuki {
  margin: 20px 0 36px auto;
}
.entry-content .l-fuki::before,
.entry-content .r-fuki::before {
  position: absolute;
  content: "";
  top: 16px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #ddd;
  border-bottom: 2px solid #ddd;
  background-color: #fff;
  z-index: 2;
}
.entry-content .l-fuki::before {
  right: -7px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
.entry-content .r-fuki::before {
  left: -7px;
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}
.entry-content .l-fuki::after,
.entry-content .r-fuki::after {
  position: absolute;
  content: "";
  width: 60px;
  height: 60px;
  top: -6px;
  border-radius: 50%;
  border: 3px solid #fff;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: 1px 1px 5px #aaa;
  box-sizing: border-box;
}
.entry-content .l-fuki::after {
  right: -82px;
}
.entry-content .r-fuki::after {
  left: -82px;
}
@media screen and (min-width: 478px) {
  .entry-content .l-fuki::after,
  .entry-content .r-fuki::after {
    width: 80px;
    height: 80px;
  }
  .entry-content .l-fuki,
  .entry-content .r-fuki {
    width: calc(100% - 106px);
  }
  .entry-content .l-fuki::after {
    right: -106px;
  }
  .entry-content .r-fuki::after {
    left: -106px;
  }
}
.mono::after {background-image:url(https://cdn-ak.f.st-hatena.com/images/fotolife/l/lifelogtan/20220923/20220923233759.jpg);}
.danna::after {background-image:url(https://cdn-ak.f.st-hatena.com/images/fotolife/l/lifelogtan/20220820/20220820154308.jpg);}

/* ranking */
.entries-access-ranking{
  counter-reset: rank 0;
}

.urllist-with-thumbnails li {
    position: relative;
}

.entries-access-ranking-item:before{
  counter-increment: rank 1;
  content: counter(rank) " ";
  background-color: var(--color-bg-ui);
  padding: 1px 10px;
  color: #fff;
  position: absolute;
  top: 7px;
}
div#bottom-editarea {
    background-color: #000;
}
.entry-footer-modules .hatena-module-related-entries {
	color: #333;
}
.entry-footer-modules .hatena-module-related-entries a {
	color: #333;
}
.entry-footer-modules .hatena-module-title {
	color: #333;
}
#blog-title {
    background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/l/lifelogtan/20221004/20221004220637.jpg);
    background-size: cover;
    height: 300px;
    background-position: center center;
    position: relative;
}
@media (min-width: 768px) {
    #blog-title {
        background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/l/lifelogtan/20221004/20221004220632.jpg);
        text-align: center;
    }    
}
div#blog-title-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
    background-color: rgba(255,255,255,.7);
    padding: 20px;
}
@media (min-width: 768px) {
  div#blog-title-content {
    width: 50%;
  }
}

a.mo-author-name {
    color: var(--color-bg-ui);
}

.page-index .pager::before {
    content: "";
    display: block;
    width: 50%;
}
.entry-inner .hatena-module-title,
.entry-inner .hatena-module.hatena-module-entries-access-ranking a {
    color: #333;
}

.archive_copy_btn {
  text-align: center;
  margin-bottom: 4em;
  margin-top: 0.5em;
}
@media (min-width: 553px) {
  .archive_copy_btn {
    margin-top: 0;
  }
}
.copy_btn {
  background-color: #efefef;
  cursor: pointer;
  border: none;
  padding: 8px 15px;
  font-size: 14px;
  color: #333;
}

@media (min-width: 768px) {
  .copy_btn:hover {
    opacity: .7;
  }
  .copy_btn:active {
    background-color: #999;
    color: #fff;
  }
}

.entry-content p {
    line-height: 2.2;
    margin: 30px 0;
}

.hatena-module.hatena-module-entries-access-ranking {
    margin-top: 5em;
}

/* google_ads_articles */
.google_ads_links {
  text-align: center;
}
.google_ads_articles {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (min-width: 768px) {
  .google_ads_articles {
    justify-content: space-between;
  }
}

.individual_articles_left {
    width: 300px; height: 250px;
}

.individual_articles_right {
    display: none;
}
@media(min-width: 768px) {
    .individual_articles_right {
        width: 300px; height: 250px;
    }
}
