/* ==========================================================================
   1. システム・テーマ基本設定
   ========================================================================== */
/* <system section="theme" selected="8599973812333959601"> */
/* @charset "UTF-8";
/*
  Theme: UnderShirt
  Author: rokuzeudon
  Responsive: yes
  Description:
    記事一覧ページでサムネイル画像を大きく表示するはてなブログテーマです。
*/
@import url("https://fonts.googleapis.com/css?family=Poppins:400,600");
/*! 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;
}

#content-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

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

.entry-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
}

.entry-header .entry-title {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
}

.entry-header .date {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
}

.entry-header .categories {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
}

.entry-header .customized-header {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
}

.entry-header .social-buttons {
    -webkit-box-ordinal-group: 5;
        -ms-flex-order: 4;
            order: 4;
}

.archive-entries {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.page-archive .archive-entry {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
}

.page-archive .archive-entry .entry-thumb-link {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
}

.page-archive .archive-entry .archive-entry-header {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
}

.page-archive .archive-entry .archive-entry-body {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
}

.page-archive .archive-entry .categories {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
}

.archive-entry-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
}

.archive-entry-header .entry-title {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
}

.archive-entry-header .date {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
}

.pager {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

html,
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, Segoe UI, 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
    color: #454545;
    background-color: #f5f5f5;
    line-height: 1.6;
    letter-spacing: .08em;
}

a {
    color: #454545;
    text-decoration: none;
    -webkit-transition: .1s ease-out;
    transition: .1s ease-out;
}

a:hover {
    color: #1487bd;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    color: #333;
    line-height: 1.4;
}

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 に背景色や文字色を指定することで中にも色が反映されます
*/
#globalheader-container {
    background-color: #454545;
    color: #f5f5f5;
}

#content-inner {
    max-width: 1200px;
    margin: auto;
}

#blog-title {
    margin: auto;
    max-width: 1200px;
    padding: 3em 20px 2em;
    text-align: center;
}

@media (min-width: 992px) {
    #blog-title {
        margin: 0 auto;
        padding: 3em 40px;
        -webkit-box-sizing: border-box;
                box-sizing: border-box;
        text-align: left;
    }
}

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

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

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

@media (min-width: 768px) {
    .header-image-enable #blog-title {
        padding: 0 40px;
    }
}

.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;
    margin: 30px 0 0;
}

@media (min-width: 992px) {
    .header-image-enable #blog-title-inner {
        background-size: cover;
    }
}

.header-image-enable #blog-title-content {
    margin: auto;
    text-align: center;
}

#top-box {
    max-width: 1200px;
    margin: 0 auto 1em;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

#top-editarea {
    margin-bottom: 1em;
}

.breadcrumb {
    padding: 0 20px;
    font-size: .78rem;
}

@media (min-width: 768px) {
    .breadcrumb {
        padding: 0 40px;
    }
}

@media (min-width: 992px) {
    #wrapper {
        width: calc( 100% - 337px);
    }
}

#main {
    width: 100%;
}

#main-inner {
    max-width: 1140px;
    margin: auto;
    padding: 0 20px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

@media (min-width: 992px) {
    #main-inner {
        padding: 0 40px;
    }
}

.entry {
    position: relative;
    margin-bottom: 20px;
    padding: 20px;
    background: #fff;
}

@media (min-width: 768px) {
    .entry {
        padding: 30px 40px;
    }
}

.entry-header {
    position: relative;
    margin: 10px 0 30px;
}

.entry-header .social-buttons {
    margin: 1em 0 0;
    padding: 1em 0;
    border-top: 1px solid #ddd;
}

.date {
    font-size: .9rem;
}

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

.date a:hover {
    color: #454545;
}

.entry-title {
    margin: 0 0 .3em;
    font-size: 1.5rem;
}

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

.categories a {
    font-size: .86rem;
    display: inline-block;
    margin: 8px 4px 0 0;
    padding: 4px 8px 2px;
    background: #f5f5f5;
    text-decoration: none;
}

.categories a:hover {
    color: #1487bd;
}

.entry-footer .social-buttons {
    margin-bottom: 1em;
}

.entry-footer-section {
    color: #999;
    font-size: .9rem;
}

.entry-footer-section a {
    color: #999;
}

.comment-box {
    margin: 2em 0 1em;
    padding: 2em 0 1em;
    border-top: 4px solid #ddd;
}

.comment {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.7;
    font-size: .85rem;
}

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

.entry-comment {
    margin: 0 0 1em;
    padding: 10px 10px 10px 70px;
    background: #f5f5f5;
    border-radius: 6px;
    position: relative;
}

.read-more-comments {
    padding: 10px 0;
    text-decoration: underline;
}

.hatena-id-icon {
    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;
    background: #f5f5f5;
    top: 0;
    -webkit-box-shadow: 1px 3px 10px #ddd;
            box-shadow: 1px 3px 10px #ddd;
}

.leave-comment-title:hover {
    top: 3px;
    -webkit-box-shadow: 0 1px 3px #ddd;
            box-shadow: 0 1px 3px #ddd;
}

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

#box2-inner {
    padding: 0 20px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

@media (min-width: 768px) {
    #box2-inner {
        padding: 0 40px;
    }
}

@media (min-width: 992px) {
    #box2-inner {
        padding-left: 0;
    }
}

.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: 0;
    padding: 2em 0 1em;
    border-top: 4px solid #ddd;
    font-size: 1.2rem;
    font-weight: bold;
}

.hatena-module-title a {
    color: #454545;
    text-decoration: none;
}

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

.hatena-urllist {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

.hatena-urllist li {
    padding: 0 0 1em;
}

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

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

.urllist-category-link {
    color: #999;
    font-size: .8rem;
    padding: .1em .3em .1em 0;
}

.urllist-date-link a {
    display: block;
    margin: 0 0 .4em;
    color: #999;
}

.urllist-entry-body {
    margin-top: .3em;
    color: #999;
}

.urllist-with-thumbnails li .urllist-image {
    position: relative;
    margin: 0 1em 1em 0;
    -webkit-transition: .1s ease-out;
    transition: .1s ease-out;
    top: 0;
    -webkit-box-shadow: 1px 3px 10px #ddd;
            box-shadow: 1px 3px 10px #ddd;
}

.urllist-with-thumbnails li .urllist-image:hover {
    top: 3px;
    -webkit-box-shadow: 0 1px 3px #ddd;
            box-shadow: 0 1px 3px #ddd;
}

.urllist-categories {
    margin: .4em 0 0;
}

.profile-icon {
    float: left;
    margin: 0 10px 10px 0;
}

.id {
    display: block;
    font-weight: bold;
    margin-bottom: .5em;
}

.profile-description p {
    margin-top: 0;
}

.search-form, .search-result-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    border: 2px solid #ddd;
    border-radius: 3px;
    width: 100%;
    padding: 4px 0 2px 6px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

.search-module-input, .search-result-input {
    -webkit-box-flex: 1;
        -ms-flex: 1 0;
            flex: 1 0;
    padding: 5px;
    color: #454545;
    background: none;
    border: none;
    outline: none;
    height: 20px;
}

.search-module-button, .search-result-button {
    width: 24px;
    height: 24px;
    margin-right: 5px;
    background: transparent url("https://cdn.blog.st-hatena.com/images/theme/search@2x.png?version=f5154c74e6e38109ce2f0c7b9afd51") no-repeat center;
    background-size: 20px 20px;
    border: none;
    outline: none;
    color: transparent;
    overflow: hidden;
    opacity: .5;
    cursor: pointer;
}

.search-module-button:hover, .search-result-button:hover {
    opacity: .85;
}

.archive-module-calendar a {
    display: block;
    margin: 0 .2em;
    padding: .2em 0 0;
    color: #1487bd;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 1em;
}

.archive-module-calendar a:hover {
    color: #0f668f;
    background: white;
}

.hatena-module-category a {
    position: relative;
    padding: 0 0 0 20px;
}

.hatena-module-category a::before {
    content: ">";
    display: inline;
    position: absolute;
    top: 0;
    left: 2px;
    color: #999;
    -webkit-transition: .1s ease-out;
    transition: .1s ease-out;
}

.hatena-module-category a:hover::before {
    color: #1487bd;
    left: 6px;
}

/* 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-header-category {
    margin: 30px;
    text-align: center;
}

.archive-entry {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    padding: 20px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    background: #fff;
}

@media (min-width: 768px) {
    .archive-entry {
        width: calc(50% - 10px);
        padding: 20px;
    }
    .archive-entry:nth-child(odd) {
        margin-right: 19.5px;
    }
}

.page-archive #main-inner {
    padding: 20px;
}

@media (min-width: 768px) {
    .page-archive #main-inner {
        padding: 0 40px;
    }
}

.page-archive .entry-thumb-link {
    width: calc( 100% + 40px);
    margin: -20px 0 20px -20px;
}

@media (min-width: 768px) {
    .page-archive .entry-thumb-link {
        width: calc( 100% + 40px);
        margin: -20px 0 20px -20px;
    }
}

.page-archive .entry-thumb {
    width: 100%;
    height: 48vw;
    background-position: center;
}

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

@media (min-width: 992px) {
    .page-archive .entry-thumb {
        height: 17vw;
        max-height: 202px;
    }
}

.page-archive .categories a {
    font-size: .7em;
}

.archive-date {
    margin-bottom: .2em;
}

.archive-entry-header .entry-title {
    font-size: 1rem;
}

.archive-entry-header .date {
    font-size: .8rem;
}

.archive-entry-body .entry-description {
    margin: 0;
    font-size: .8rem;
}

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

.page-entry #main-inner {
    padding: 0;
}

@media (min-width: 768px) {
    .page-entry #main-inner {
        padding: 0 40px;
    }
}

.page-entry .breadcrumb {
    margin-bottom: 1em;
}

#footer {
    background: #eee;
}

#footer-inner {
    margin-top: 2em;
    padding: 10px 0;
    text-align: center;
    font-size: .8rem;
    color: #999;
}

#footer-inner a {
    color: #999;
}

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

@media (min-width: 768px) {
    #footer-inner {
        max-width: 1200px;
        margin: auto;
        padding: 20px 40px;
    }
}

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

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

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

.entry-content h4 {
    margin: 2em 0 1em 0;
    font-size: 1.4rem;
}

.entry-content h5 {
    margin: 1.6em 0 1em 0;
    font-size: 1.2rem;
}

.entry-content h6 {
    margin: 1em 0 1em 0;
    font-size: .9rem;
}

.entry-content a {
    color: #1487bd;
    text-decoration: underline;
}

.entry-content a:hover {
    color: #0f668f;
    text-decoration: none;
}

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

.entry-content .entry-see-more {
    display: inline-block;
    padding: 10px 16px;
    color: #454545;
    text-decoration: none;
    background: #f5f5f5;
    top: 0;
    -webkit-box-shadow: 1px 3px 10px #ddd;
            box-shadow: 1px 3px 10px #ddd;
    -webkit-transition: .1s ease-out;
    transition: .1s ease-out;
}

.entry-content .entry-see-more:hover {
    top: 3px;
    -webkit-box-shadow: 0 1px 3px #ddd;
            box-shadow: 0 1px 3px #ddd;
}

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

.entry-content blockquote {
    margin: 2em 0 1.6em;
    padding: 20px;
    background: #f5f5f5;
}

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

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

.entry-content blockquote::before {
    content: "“";
    display: block;
    position: absolute;
    top: -52px;
    left: -12px;
    font-size: 8em;
    opacity: .1;
}

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

.entry-content pre {
    background: #fff;
    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: #fff;
    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 {
    margin: 0;
    padding: 1.2em;
    border: 1px solid #ddd;
    font-size: .9em;
}

.entry-content .table-of-contents::before {
    content: "目次";
    display: block;
    margin: 0 0 .8rem;
    padding: 0 0 .4rem;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
}

.entry-content .table-of-contents a {
    color: #454545;
}

.entry-content .table-of-contents li {
    margin: 0 0 0 1.4em;
    list-style-type: decimal;
}

.entry-content .table-of-contents li ul {
    margin: 0 0 1em .5em;
}

.entry-content .table-of-contents li ul li {
    margin: 4px;
}

.pager {
    margin: 2em 0;
}

.pager .pager-prev, .pager .pager-next {
    display: block;
    width: 50%;
}

.pager .pager-next {
    text-align: right;
}

.pager .pager-prev a, .pager .pager-next a {
    display: inline-block;
    width: 96%;
    padding: 20px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

div.footnote {
    padding: 1em 0;
    border-top: #ddd 1px solid;
}

#footer .guest-footer {
    margin: 20px;
    padding: 25px 30px 10px;
    max-width: 700px;
    background: #fff;
    border-radius: 6px;
}

@media (min-width: 768px) {
    #footer .guest-footer {
        margin: 30px auto;
    }
}

.page-index .pager, .page-archive .pager {
    margin: 2em 0;
}

.entry-header-menu a {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 10px;
    background: #f5f5f5;
    top: 0;
    -webkit-box-shadow: 1px 3px 10px #ddd;
            box-shadow: 1px 3px 10px #ddd;
    -webkit-transition: .1s ease-out;
    transition: .1s ease-out;
}

.entry-header-menu a:hover {
    top: 3px;
    -webkit-box-shadow: 0 1px 3px #ddd;
            box-shadow: 0 1px 3px #ddd;
}

.entry-header-html a, .entry-footer-html a {
    color: #1487bd;
    text-decoration: underline;
}

.entry-header-html a:hover, .entry-footer-html a:hover {
    text-decoration: none;
    color: #0f668f;
}

/*# sourceMappingURL=boilerplate.css.map */
@charset "UTF-8";
/*
  Theme: UnderShirt
  Author: rokuzeudon
  Responsive: yes
  Description:
    記事一覧ページでサムネイル画像を大きく表示するはてなブログテーマです。
*/
/*@import url("https://fonts.googleapis.com/css?family=Poppins:400,600");*/
/*! 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;
}

#content-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

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

.entry-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
}

.entry-header .entry-title {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
}

.entry-header .date {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
}

.entry-header .categories {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
}

.entry-header .customized-header {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
}

.entry-header .social-buttons {
    -webkit-box-ordinal-group: 5;
        -ms-flex-order: 4;
            order: 4;
}

.archive-entries {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.page-archive .archive-entry {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
}

.page-archive .archive-entry .entry-thumb-link {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
}

.page-archive .archive-entry .archive-entry-header {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
}

.page-archive .archive-entry .archive-entry-body {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
}

.page-archive .archive-entry .categories {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
}

.archive-entry-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
}

.archive-entry-header .entry-title {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
}

.archive-entry-header .date {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
}

.pager {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

html,
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, Segoe UI, 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
    color: #454545;
    background-color: #f5f5f5;
    line-height: 1.6;
    letter-spacing: .08em;
}

a {
    color: #454545;
    text-decoration: none;
    -webkit-transition: .1s ease-out;
    transition: .1s ease-out;
}

a:hover {
    color: #1487bd;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    color: #333;
    line-height: 1.4;
}

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 に背景色や文字色を指定することで中にも色が反映されます
*/
#globalheader-container {
    background-color: #454545;
    color: #f5f5f5;
}

#content-inner {
    max-width: 1200px;
    margin: auto;
}

#blog-title {
    margin: auto;
    max-width: 1200px;
    padding: 3em 20px 2em;
    text-align: center;
}

@media (min-width: 992px) {
    #blog-title {
        margin: 0 auto;
        padding: 3em 40px;
        -webkit-box-sizing: border-box;
                box-sizing: border-box;
        text-align: left;
    }
}

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

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

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

@media (min-width: 768px) {
    .header-image-enable #blog-title {
        padding: 0 40px;
    }
}

.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;
    margin: 30px 0 0;
}

@media (min-width: 992px) {
    .header-image-enable #blog-title-inner {
        background-size: cover;
    }
}

.header-image-enable #blog-title-content {
    margin: auto;
    text-align: center;
}

#top-box {
    max-width: 1200px;
    margin: 0 auto 1em;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

#top-editarea {
    margin-bottom: 1em;
}

.breadcrumb {
    padding: 0 20px;
    font-size: .78rem;
}

@media (min-width: 768px) {
    .breadcrumb {
        padding: 0 40px;
    }
}

@media (min-width: 992px) {
    #wrapper {
        width: calc( 100% - 337px);
    }
}

#main {
    width: 100%;
}

#main-inner {
    max-width: 1140px;
    margin: auto;
    padding: 0 20px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

@media (min-width: 992px) {
    #main-inner {
        padding: 0 40px;
    }
}

.entry {
    position: relative;
    margin-bottom: 20px;
    padding: 20px;
    background: #fff;
}

@media (min-width: 768px) {
    .entry {
        padding: 30px 40px;
    }
}

.entry-header {
    position: relative;
    margin: 10px 0 30px;
}

.entry-header .social-buttons {
    margin: 1em 0 0;
    padding: 1em 0;
    border-top: 1px solid #ddd;
}

.date {
    font-size: .9rem;
}

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

.date a:hover {
    color: #454545;
}

.entry-title {
    margin: 0 0 .3em;
    font-size: 1.5rem;
}

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

.categories a {
    font-size: .86rem;
    display: inline-block;
    margin: 8px 4px 0 0;
    padding: 4px 8px 2px;
    background: #f5f5f5;
    text-decoration: none;
}

.categories a:hover {
    color: #1487bd;
}

.entry-footer .social-buttons {
    margin-bottom: 1em;
}

.entry-footer-section {
    color: #999;
    font-size: .9rem;
}

.entry-footer-section a {
    color: #999;
}

.comment-box {
    margin: 2em 0 1em;
    padding: 2em 0 1em;
    border-top: 4px solid #ddd;
}

.comment {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.7;
    font-size: .85rem;
}

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

.entry-comment {
    margin: 0 0 1em;
    padding: 10px 10px 10px 70px;
    background: #f5f5f5;
    border-radius: 6px;
    position: relative;
}

.read-more-comments {
    padding: 10px 0;
    text-decoration: underline;
}

.hatena-id-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    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;
    background: #f5f5f5;
    top: 0;
    -webkit-box-shadow: 1px 3px 10px #ddd;
            box-shadow: 1px 3px 10px #ddd;
}

.leave-comment-title:hover {
    top: 3px;
    -webkit-box-shadow: 0 1px 3px #ddd;
            box-shadow: 0 1px 3px #ddd;
}

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

#box2-inner {
    padding: 0 20px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

@media (min-width: 768px) {
    #box2-inner {
        padding: 0 40px;
    }
}

@media (min-width: 992px) {
    #box2-inner {
        padding-left: 0;
    }
}

.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: 0;
    padding: 2em 0 1em;
    border-top: 4px solid #ddd;
    font-size: 1.2rem;
    font-weight: bold;
}

.hatena-module-title a {
    color: #454545;
    text-decoration: none;
}

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

.hatena-urllist {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

.hatena-urllist li {
    padding: 0 0 1em;
}

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

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

.urllist-category-link {
    color: #999;
    font-size: .8rem;
    padding: .1em .3em .1em 0;
}

.urllist-date-link a {
    display: block;
    margin: 0 0 .4em;
    color: #999;
}

.urllist-entry-body {
    margin-top: .3em;
    color: #999;
}

.urllist-with-thumbnails li .urllist-image {
    position: relative;
    margin: 0 1em 1em 0;
    -webkit-transition: .1s ease-out;
    transition: .1s ease-out;
    top: 0;
    -webkit-box-shadow: 1px 3px 10px #ddd;
            box-shadow: 1px 3px 10px #ddd;
}

.urllist-with-thumbnails li .urllist-image:hover {
    top: 3px;
    -webkit-box-shadow: 0 1px 3px #ddd;
            box-shadow: 0 1px 3px #ddd;
}

.urllist-categories {
    margin: .4em 0 0;
}

.profile-icon {
    float: left;
    margin: 0 10px 10px 0;
}

.id {
    display: block;
    font-weight: bold;
    margin-bottom: .5em;
}

.profile-description p {
    margin-top: 0;
}

.search-form, .search-result-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    border: 2px solid #ddd;
    border-radius: 3px;
    width: 100%;
    padding: 4px 0 2px 6px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

.search-module-input, .search-result-input {
    -webkit-box-flex: 1;
        -ms-flex: 1 0;
            flex: 1 0;
    padding: 5px;
    color: #454545;
    background: none;
    border: none;
    outline: none;
    height: 20px;
}

.search-module-button, .search-result-button {
    width: 24px;
    height: 24px;
    margin-right: 5px;
    background: transparent url("https://cdn.blog.st-hatena.com/images/theme/search@2x.png?version=f5154c74e6e38109ce2f0c7b9afd51") no-repeat center;
    background-size: 20px 20px;
    border: none;
    outline: none;
    color: transparent;
    overflow: hidden;
    opacity: .5;
    cursor: pointer;
}

.search-module-button:hover, .search-result-button:hover {
    opacity: .85;
}

.archive-module-calendar a {
    display: block;
    margin: 0 .2em;
    padding: .2em 0 0;
    color: #1487bd;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 1em;
}

.archive-module-calendar a:hover {
    color: #0f668f;
    background: white;
}

.hatena-module-category a {
    position: relative;
    padding: 0 0 0 20px;
}

.hatena-module-category a::before {
    content: ">";
    display: inline;
    position: absolute;
    top: 0;
    left: 2px;
    color: #999;
    -webkit-transition: .1s ease-out;
    transition: .1s ease-out;
}

.hatena-module-category a:hover::before {
    color: #1487bd;
    left: 6px;
}

/* 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-header-category {
    margin: 30px;
    text-align: center;
}

.archive-entry {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    padding: 20px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    background: #fff;
}

@media (min-width: 768px) {
    .archive-entry {
        width: calc(50% - 10px);
        padding: 20px;
    }
    .archive-entry:nth-child(odd) {
        margin-right: 19.5px;
    }
}

.page-archive #main-inner {
    padding: 20px;
}

@media (min-width: 768px) {
    .page-archive #main-inner {
        padding: 0 40px;
    }
}

.page-archive .entry-thumb-link {
    width: calc( 100% + 40px);
    margin: -20px 0 20px -20px;
}

@media (min-width: 768px) {
    .page-archive .entry-thumb-link {
        width: calc( 100% + 40px);
        margin: -20px 0 20px -20px;
    }
}

.page-archive .entry-thumb {
    width: 100%;
    height: 48vw;
    background-position: center;
}

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

@media (min-width: 992px) {
    .page-archive .entry-thumb {
        height: 17vw;
        max-height: 202px;
    }
}

.page-archive .categories a {
    font-size: .7em;
}

.archive-date {
    margin-bottom: .2em;
}

.archive-entry-header .entry-title {
    font-size: 1rem;
}

.archive-entry-header .date {
    font-size: .8rem;
}

.archive-entry-body .entry-description {
    margin: 0;
    font-size: .8rem;
}

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

.page-entry #main-inner {
    padding: 0;
}

@media (min-width: 768px) {
    .page-entry #main-inner {
        padding: 0 40px;
    }
}

.page-entry .breadcrumb {
    margin-bottom: 1em;
}

#footer {
    background: #eee;
}

#footer-inner {
    margin-top: 2em;
    padding: 10px 0;
    text-align: center;
    font-size: .8rem;
    color: #999;
}

#footer-inner a {
    color: #999;
}

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

@media (min-width: 768px) {
    #footer-inner {
        max-width: 1200px;
        margin: auto;
        padding: 20px 40px;
    }
}

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

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

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

.entry-content h4 {
    margin: 2em 0 1em 0;
    font-size: 1.4rem;
}

.entry-content h5 {
    margin: 1.6em 0 1em 0;
    font-size: 1.2rem;
}

.entry-content h6 {
    margin: 1em 0 1em 0;
    font-size: .9rem;
}

.entry-content a {
    color: #1487bd;
    text-decoration: underline;
}

.entry-content a:hover {
    color: #0f668f;
    text-decoration: none;
}

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

.entry-content .entry-see-more {
    display: inline-block;
    padding: 10px 16px;
    color: #454545;
    text-decoration: none;
    background: #f5f5f5;
    top: 0;
    -webkit-box-shadow: 1px 3px 10px #ddd;
            box-shadow: 1px 3px 10px #ddd;
    -webkit-transition: .1s ease-out;
    transition: .1s ease-out;
}

.entry-content .entry-see-more:hover {
    top: 3px;
    -webkit-box-shadow: 0 1px 3px #ddd;
            box-shadow: 0 1px 3px #ddd;
}

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

.entry-content blockquote {
    margin: 2em 0 1.6em;
    padding: 20px;
    background: #f5f5f5;
}

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

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

.entry-content blockquote::before {
    content: "“";
    display: block;
    position: absolute;
    top: -52px;
    left: -12px;
    font-size: 8em;
    opacity: .1;
}

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

.entry-content pre {
    background: #fff;
    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: #fff;
    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 {
    margin: 0;
    padding: 1.2em;
    border: 1px solid #ddd;
    font-size: .9em;
}

.entry-content .table-of-contents::before {
    content: "目次";
    display: block;
    margin: 0 0 .8rem;
    padding: 0 0 .4rem;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
}

.entry-content .table-of-contents a {
    color: #454545;
}

.entry-content .table-of-contents li {
    margin: 0 0 0 1.4em;
    list-style-type: decimal;
}

.entry-content .table-of-contents li ul {
    margin: 0 0 1em .5em;
}

.entry-content .table-of-contents li ul li {
    margin: 4px;
}

.pager {
    margin: 2em 0;
}

.pager .pager-prev, .pager .pager-next {
    display: block;
    width: 50%;
}

.pager .pager-next {
    text-align: right;
}

.pager .pager-prev a, .pager .pager-next a {
    display: inline-block;
    width: 96%;
    padding: 20px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

div.footnote {
    padding: 1em 0;
    border-top: #ddd 1px solid;
}

#footer .guest-footer {
    margin: 20px;
    padding: 25px 30px 10px;
    max-width: 700px;
    background: #fff;
    border-radius: 6px;
}

@media (min-width: 768px) {
    #footer .guest-footer {
        margin: 30px auto;
    }
}

.page-index .pager, .page-archive .pager {
    margin: 2em 0;
}

.entry-header-menu a {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 10px;
    background: #f5f5f5;
    top: 0;
    -webkit-box-shadow: 1px 3px 10px #ddd;
            box-shadow: 1px 3px 10px #ddd;
    -webkit-transition: .1s ease-out;
    transition: .1s ease-out;
}

.entry-header-menu a:hover {
    top: 3px;
    -webkit-box-shadow: 0 1px 3px #ddd;
            box-shadow: 0 1px 3px #ddd;
}

.entry-header-html a, .entry-footer-html a {
    color: #1487bd;
    text-decoration: underline;
}

.entry-header-html a:hover, .entry-footer-html a:hover {
    text-decoration: none;
    color: #0f668f;
}

/*# sourceMappingURL=boilerplate.css.map */
/* </system> */

/* <system section="background" selected="ebe9e3"> */
body{background:#ebe9e3;}
/* </system> */


html {
    scroll-behavior: smooth;
}
body {
    padding: 0 !important;
}

/* ==========================================================================
   2. ヘッダー・ブログタイトル
   ========================================================================== */
/* ヘッダー画像エリア */
.header-image-enable #blog-title-inner {
    /* margin: 0 0 0 → margin: 0 に短縮 */
    margin: 0;
    background-repeat: no-repeat;
    position: relative;
    height: 240px;
}
/* padding: 0 0px → padding: 0 に短縮 */
.header-image-enable #blog-title {
    padding: 0;
}

/* ブログタイトル・説明文 */
#title {
    font-size: 2.8rem;
}
#blog-description {
    font-size: 1rem;
}

/* ヘッダーとメニューの隙間を強制削除 */
/* 注: #blog-title { height: 200px } は直後の height: auto !important に上書きされるためデッドコード → 削除済み */
#blog-title,
.header-image-enable #blog-title,
.header-image-enable #blog-title-inner {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 固定高さを解除してはみ出し防止 */
#blog-title {
    height: auto !important;
    overflow: hidden;
}

#menu,
.menu-inner {
    margin-top: 0 !important;
}

/* ==========================================================================
   3. グローバルナビゲーション（メニュー）
   ========================================================================== */
#menu {
    margin: 0 auto;
    max-width: 1200px;
    padding-left: 0;
    height: 42px;
}
.menu-inner {
    position: relative;
    max-width: 1200px;
    height: 40px;
    padding-left: 0;
    background: #191970;
}
#menu li {
    list-style-type: none;
    float: left;
    height: 40px;
    text-align: left;
}
#menu li a {
    /* padding-left: 12px; padding-right: 12px; → shorthand に統合 */
    padding: 0 12px;
    display: block;
    color: #ffffff;
    font-size: 82%;
    font-weight: bold;
    line-height: 40px;
}
#menu li:hover a {
    color: #c71585;
    background: #ffffff;
    transition: all .5s;
}
.menu-toggle {
    display: none;
}

/* ==========================================================================
   4. 基本タイポグラフィ・リンク
   ========================================================================== */
.entry-content {
    font-family: 'ヒラギノ角ゴ ProN W3', '游ゴシック', 'MS Pゴシック', Arial, sans-serif !important;
}
a {
    color: #0066cc;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: #aaa;
}
a:hover {
    color: #004999;
    text-decoration-thickness: 1.5px;
}
a.footer-link {
    color: #FFF;
}

/* ==========================================================================
   5. 記事本文・見出し装飾
   ========================================================================== */
.entry-title {
    border-top: 2px solid #808000;
    border-bottom: 2px solid #808000;
    padding: 0.5em 0;
}
.entry-title::first-letter {
    color: #008080;
    font-size: 1.4em;
    margin-right: 0.1em;
}

/* H2 見出し */
.entry-content h2 {
    position: relative;
    padding-left: 25px;
}
.entry-content h2::before {
    position: absolute;
    content: '';
    bottom: -3px;
    left: 0;
    width: 0;
    height: 0;
    border: none;
    border-left: solid 15px transparent;
    border-bottom: solid 15px rgb(123, 104, 238);
}
.entry-content h2::after {
    position: absolute;
    content: '';
    bottom: -3px;
    left: 10px;
    width: 100%;
    border-bottom: solid 3px rgb(123, 104, 238);
}

/* H3 見出し */
h3 {
    position: relative;
    padding-left: 1.2em;
    line-height: 1.4;
}
h3::before {
    font-family: "Font Awesome 5 Free";
    content: "\f00c";
    /* font-weight: 900 が重複していたため1つに統合 */
    font-weight: 900;
    position: absolute;
    font-size: 1em;
    left: 0;
    top: 0;
    color: #5ab9ff;
}

/* H4 見出し */
.entry-content h4 {
    border-left: 4px solid #2f4f4f;
    padding-left: 0.5em;
}

/* 強調マーカー */
.entry-content strong {
    background: linear-gradient(transparent 60%, #eeff00 50%);
}
.entry-content em {
    background: linear-gradient(transparent 60%, #11ff00 50%);
}

/* モバイル（〜767px）見出しサイズ調整 */
@media screen and (max-width: 767px) {
    .entry-content h2 {
        font-size: 1.25rem;
        line-height: 1.4;
        overflow-wrap: break-word;
        word-break: keep-all;
        display: block;
    }
    .entry-content h3 {
        font-size: 1.15rem;
        line-height: 1.4;
    }
    .entry-content h4 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    .entry-content {
        font-size: 0.98rem;
        line-height: 1.75;
        letter-spacing: 0.03em;
    }
    .entry-content ul,
    .entry-content ol {
        font-size: 0.98rem;
    }
}

/* figcaption：カメラアイコン付き（中央寄せ対応版） */
.entry-content figcaption {
    font-size: 0.82em !important;
    color: #888 !important;
    margin-top: 4px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    padding-left: 0 !important;
    position: static !important;
}
.entry-content figcaption::before {
    font-family: "Font Awesome 5 Free" !important;
    content: "\f030" !important;
    font-weight: 900 !important;
    display: inline !important;
    position: static !important;
    margin-right: 0.3em !important;
    color: #333 !important;
    font-size: 0.95em !important;
}



/* ==========================================================================
   6. 記事内コンポーネント（目次・テーブル・あわせて読みたい）
   ========================================================================== */

/* --- 目次 --- */
.entry-content .table-of-contents {
    position: relative;
    margin: 0;
    padding: 4.5em 1.2em 1em;
    background: #fff;
    font-size: 100%;
    border-top: solid 5px #4900f0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    color: #4900f0;
    box-shadow: 0 1px 5px 2px #e9e9e9;
}
.entry-content .table-of-contents::before {
    content: "目次";
    display: block;
    position: absolute;
    top: 18px;
    left: 60px;
    margin: 0;
    text-align: start;
    color: #4900f0;
    border: none;
    font-size: 120%;
    font-weight: bold;
}
.entry-content .table-of-contents::after {
    content: "\f039";
    font-family: blogicon;
    display: block;
    font-size: 120%;
    position: absolute;
    line-height: 40px;
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    text-align: center;
    vertical-align: bottom;
    border-radius: 50%;
    color: #fff;
    background: #4900f0;
}
.entry-content .table-of-contents li {
    /* margin: .2em 0 1em 1.5em + 直後の margin-left: 0 が矛盾 → margin: .2em 0 1em 0 に統合 */
    margin: .2em 0 1em 0;
    list-style-type: decimal;
    line-height: 1.8em;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    list-style-position: inside;
}
.entry-content .table-of-contents li ul {
    margin: 0 0 1em .5em;
    padding: 0;
}
.entry-content .table-of-contents li ul li {
    margin: .2em 0 0 1em;
    list-style-type: none;
    font-weight: normal;
    font-size: 100%;
}
.entry-content .table-of-contents li ul li::before {
    content: "\f006";
    font-family: blogicon;
    margin-right: .5em;
    color: #4900f0;
}
.entry-content .table-of-contents li ul li ul li {
    font-size: 90%;
}
.entry-content .table-of-contents a {
    color: #4900f0;
    line-height: 1.6em;
    text-decoration: underline;
}
.entry-header-html a {
    color: #4900f0;
}

/* 目次折りたたみ制御 */
.toc-list-wrapper {
    /* padding: 5px 5px → shorthand */
    padding: 5px;
    margin-left: 0.5em;
    transition: max-height 0.3s ease-out;
}
.toc-list-wrapper:not(.is-open)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.95));
    pointer-events: none;
}
.toc-toggle-button {
    display: block;
    width: 100%;
    margin: 15px 0;
    padding: 12px;
    background: #fff;
    color: #4900f0;
    border: 2px solid #4900f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: bold;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.toc-toggle-button:hover {
    background: #4900f0;
    color: #fff;
}

/* --- テーブル（PC・スマホ共通ベース） --- */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 15px;
    background: #f6f0fa;
    border: 1px solid #d5c4e5;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.entry-content thead {
    background-color: #e5d6f0;
}
.entry-content thead th {
    padding: 10px;
    text-align: left;
    font-weight: bold;
    color: #3e2c4d;
    border-bottom: 1px solid #d5c4e5;
}
.entry-content tbody td {
    padding: 10px;
    border-bottom: 1px solid #ebdef7;
    color: #333;
    line-height: 1.6;
}
.entry-content tbody tr:nth-child(odd) {
    background-color: #faf7fc;
}
.entry-content tbody td strong {
    color: #4b2e61;
    font-weight: bold;
}

/* テーブル：PC（768px以上）スクロールヒント非表示 */
@media (min-width: 768px) {
    .table-scroll-hint {
        display: none !important;
    }
}

/* テーブル：スマホ（〜767px）横スクロール＆ヒント表示 */
@media (max-width: 767px) {
    .entry-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .table-scroll-hint {
        display: table;
        /* margin-top: 0 !important; margin-bottom: 2px !important → 以下に統合 */
        margin: 0 0 2px auto;
        line-height: 1.2 !important;
        font-size: 12px;
        font-weight: bold;
        color: #555;
        background: #f0f2f5;
        padding: 4px 12px;
        border-radius: 20px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }
    .table-scroll-hint::before {
        content: "↔";
        display: inline-block;
        margin-right: 6px;
        font-weight: bold;
        color: #0056b3;
        animation: scroll-anim 1.5s infinite ease-in-out;
    }
}

/* スクロールアニメーション定義（共通） */
@keyframes scroll-anim {
    0%, 100% { transform: translateX(0); }
    50%       { transform: translateX(-4px); }
}

/* --- あわせて読みたい（強調リンク） --- */
.entry-content .emphasize-link {
    position: relative;
    margin: 36px 0 16px;
    padding: 24px 10px 16px;
    border: 2px solid #D78FA3;
    background-color: #FBEFF1;
    border-radius: 12px;
}
.entry-content .emphasize-link p {
    margin: 0 0 12px;
}
.entry-content .emphasize-link p:last-child {
    margin-bottom: 0;
}
.entry-content .emphasize-label {
    position: absolute;
    top: -16px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    background-color: #D78FA3;
    color: #fff;
    padding: 4px 10px 4px 8px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.entry-content .emphasize-label i {
    font-size: 16px;
    margin-right: 6px;
}

/* --- パンくずリスト --- */
.breadcrumb {
    font-size: 16px;
}
.breadcrumb-gt {
    display: none;
}
.breadcrumb-inner {
    display: flex;
    flex-direction: row;
}
.breadcrumb-link,
.breadcrumb-child-link {
    display: block;
    height: 24px;
    background-color: #4851D9;
    color: #fff;
    /* padding-right: 10px; padding-left: 15px; → shorthand（値が異なるため順番に注意） */
    padding: 0 10px 0 15px;
    position: relative;
    margin-right: 2px;
}
.breadcrumb-link::after,
.breadcrumb-child-link::after {
    content: "";
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 12px solid #4851D9;
    position: absolute;
    right: -12px;
    top: 0;
    z-index: 1;
}
.breadcrumb-link:hover,
.breadcrumb-child-link:hover {
    background-color: #a1b6cf;
    color: #ffffff;
}
.breadcrumb-link:hover::after,
.breadcrumb-child-link:hover::after {
    /* バグ修正: ##a1b6cf（二重#）→ #a1b6cf */
    border-left: 10px solid #a1b6cf;
}
.breadcrumb-child-link::before {
    content: "";
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 12px solid #fff;
    position: absolute;
    left: 0;
    top: 0;
}
.breadcrumb-child:last-child {
    height: 24px;
    /* padding-right: 5px; padding-left: 15px; → shorthand */
    padding: 0 5px 0 15px;
    display: none;
}
.breadcrumb-child:last-child span {
    display: none;
}

/* --- ページャー --- */
.pager {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px auto;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f8f9fa;
    max-width: 787px;
    width: 90%;
}
.pager-prev a,
.pager-next a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    background: #eef5ff;
    border: 1px solid #b0c4de;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.2s ease;
    flex: 1;
    text-align: center;
    min-width: 120px;
}
.pager-prev a::before {
    content: "←";
    font-size: 14px;
    color: #666;
}
.pager-next a::after {
    content: "→";
    font-size: 14px;
    color: #666;
}
.pager-prev a:hover,
.pager-next a:hover {
    background: #dae8ff;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   7. サイドバー・モジュール装飾
   ========================================================================== */

/* モジュールタイトルのリセット（テーマのborder/backgroundを上書き） */
.hatena-module-title,
.hatena-module-title::before,
.hatena-module-title::after {
    background: none;
    border: none;
}
.hatena-module-title {
    position: relative;
    color: white;
    background: #191970;
    line-height: 1.4;
    padding: 0.5em 0.5em 0.5em 1.8em;
    /* margin: 0px 0px 20px 0px → shorthand */
    margin: 0 0 20px;
}
.hatena-module-title a {
    color: white !important;
}

/* モジュールアイコン: font-family と position は共通なのでグループ化 */
.hatena-module-profile .hatena-module-title::before,
.hatena-module-recent-entries .hatena-module-title::before,
.hatena-module-entries-access-ranking .hatena-module-title::before,
.hatena-module-category .hatena-module-title::before,
.hatena-module-html .hatena-module-title::before {
    font-family: "Font Awesome 5 Free";
    position: absolute;
    left: 0.5em;
}
.hatena-module-profile .hatena-module-title::before {
    content: "\f2bb";
}
.hatena-module-recent-entries .hatena-module-title::before,
.hatena-module-entries-access-ranking .hatena-module-title::before {
    content: "\f303";
    color: white;
    font-weight: 900;
}
.hatena-module-category .hatena-module-title::before {
    content: "\f022";
}
.hatena-module-html .hatena-module-title::before {
    content: "\f005";
}

/* モジュール背景色 */
.hatena-module-profile,
.hatena-module-recent-entries,
.hatena-module-category,
.hatena-module-links,
.hatena-module-related-entries,
.hatena-module-entries-access-ranking {
    background-color: #dcebf2;
}

/* プロフィール詳細 */
.profile-description {
    /* padding: 5px 5px → shorthand */
    padding: 5px;
}
.profile-about {
    font-family: lato, sans-serif;
    font-weight: bold;
    font-size: 1em;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: #4A4A7D;
    background-color: #E6E6FA;
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border: 3px solid #B5A4E6;
    border-radius: 25px;
    transition: all 0.3s ease-in-out;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.15);
}
.profile-about:hover {
    background-color: #D8BFD8;
    color: #3A3A6D;
    transform: translateY(-2px);
    box-shadow: 2px 6px 10px rgba(0, 0, 0, 0.2);
}
.profile-about::before {
    content: "ℹ️";
    font-size: 1.1em;
    margin-right: 8px;
    display: flex;
    align-items: center;
}
.profile-about a {
    text-decoration: none;
}

/* カテゴリータイル表示 */
.hatena-module-category .hatena-urllist {
    margin: 0 0 -8px; /* 下側の余白を調整 */
    padding: 0;
    overflow: hidden; /* float解除用 */
}

.hatena-module-category .hatena-urllist li::before {
    content: none;
}

.hatena-module-category .hatena-urllist li {
    border-top: 0;
    display: block;
    float: left;
    margin: 0 8px 8px 0; 
    padding: 0;
}

.hatena-module-category .hatena-urllist li a {
    background-color: #ffffff;
    border: 1px solid #a1b6cf;
    border-radius: 4px;
    
    display: block;
    font-size: 0.85em;
    line-height: 2.6;
    padding: 0 16px;
    color: #1e50a2; 
    font-weight: bold;
    text-decoration: none;
    
    box-shadow: none; 
    transition: all 0.3s ease; 
}

.hatena-module-category .hatena-urllist li a:hover {
    background-color: #1e50a2;
    border-color: #1e50a2;
    color: #ffffff; 
    
    box-shadow: 0 4px 12px rgba(30, 80, 162, 0.2);
    transform: translateY(-2px);
}

/* ==========================================================================
   8. カスタムウィジェット（ハブタイル、ボタン、広告、アップデートBOX）
   ========================================================================== */

/* ハブタイルコンテナ */
.hub-tile-container {
    /* margin: 20px 0 20px 0 → shorthand */
    margin: 20px 0;
    padding: 22px 5px 5px;
    background: #ffffff;
    border-radius: 8px;
    border: 2px solid #2980b9;
    position: relative;
}
.hub-tile-title {
    position: absolute;
    top: -15px;
    left: 15px;
    background: #2980b9;
    color: #fff !important;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    margin: 0 !important;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.hub-tile-title::before {
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
}
.hub-tile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.hub-tile-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f7ff;
    border: 1px solid #2980b9;
    border-radius: 6px;
    padding: 8px 3px;
    font-size: 0.8em;
    color: #2980b9 !important;
    text-decoration: none !important;
    font-weight: bold;
    transition: all 0.2s ease;
}
.hub-tile-item:hover {
    background: #2980b9;
    color: #fff !important;
}

/* 読者登録ボタン */
.fbk-follow-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 48px;
    font-size: 14px;
    color: #38393C;
    border: 1px solid #38393C;
    background: #fff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 2;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.fbk-follow-link i {
    margin-right: 6px;
}
.fbk-follow-text {
    font-size: 14px;
}
.fbk-follow-link::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #38393C;
    transition: top 0.3s ease;
}
.fbk-follow-link:hover {
    color: #fff;
}
.fbk-follow-link:hover::after {
    top: 0;
}

/* アップデートボックス */
.fubuki-update-box {
    margin: 2em 0;
    padding: 1.2em;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.fubuki-update-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.8em;
}
.fubuki-dot {
    width: 8px;
    height: 8px;
    background-color: #ff9900;
    border-radius: 50%;
    margin-right: 10px;
}
.fubuki-update-title {
    font-weight: bold;
    color: #333;
    font-size: 1em;
}
.fubuki-update-body p {
    font-size: 0.9em;
    color: #666;
    margin: 0 0 1em !important;
}
.fubuki-x-btn a {
    display: inline-block;
    background-color: #f8f8f8;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 0.85em;
    font-weight: bold;
    padding: 6px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: 0.3s;
}
.fubuki-x-btn a:hover {
    background-color: #eee;
}

/* 特殊ボタン（千日前スタイル） */
.btn-shiny-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}
.btn-sennichimae {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 95%;
    background: #ff6f00;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}
.btn-sennichimae a {
    display: block;
    padding: 18px 20px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}
/* キラッと光るアニメーション */
.btn-sennichimae::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: none;
    animation: shiny-loop 3s infinite;
}
.btn-sennichimae:hover {
    transform: translateY(-2px);
    background: #d65f00;
}
@keyframes shiny-loop {
    0%   { left: -60%; }
    20%  { left: 120%; }
    100% { left: 120%; }
}

/* 特殊ボタン（東西スタイル） */
.btn-tozai-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 20px 0;
}
.btn-tozai {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: bold;
    background: #007bff;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    white-space: normal;
    min-width: 150px;
    max-width: 95%;
}
.btn-tozai a {
    color: #ffffff;
    text-decoration: none;
    padding: 5px 10px;
}
.btn-tozai .pr-text {
    color: #ffdd57;
    font-weight: bold;
    margin-right: 8px;
}
.btn-tozai:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.3);
}

/* 広告・バナーコンテナ */
.gad-container {
    margin: 0 auto;
    text-align: center;
    padding: 5px;
}

.gad-mobile { display: none; }
.gad-pc { display: block; }

@media (max-width: 768px) {
  .gad-pc { display: none; }
  .gad-mobile { display: block; }
}

.banner-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.banner-container iframe {
    width: 300px;
    height: 250px;
    border: none;
}

/* WOWPASSクーポンボックス */
.wowpass-copy-box {
    margin: 25px auto;
    padding: 20px;
    background-color: #fff9f5;
    border: 2px dashed #ffb380;
    border-radius: 15px;
    max-width: 450px;
    box-shadow: 0 4px 10px rgba(255, 179, 128, 0.15);
    text-align: center;
}
.wowpass-label {
    font-size: 14px;
    color: #ff8c40;
    font-weight: bold;
    margin-bottom: 10px;
}
.wowpass-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid #ffe0cc;
}
.wowpass-code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    font-weight: 800;
    color: #333;
    letter-spacing: 1.5px;
}
.wowpass-copy-button {
    background: linear-gradient(135deg, #ff9d5c 0%, #ff7a29 100%);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(255, 122, 41, 0.3);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}
.wowpass-copy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(255, 122, 41, 0.4);
    filter: brightness(1.05);
}
.wowpass-copy-button.success {
    background: linear-gradient(135deg, #66d9a1 0%, #37b24d 100%);
    box-shadow: 0 3px 6px rgba(55, 178, 77, 0.3);
}
@media (max-width: 400px) {
    .wowpass-content {
        flex-direction: column;
        gap: 12px;
    }
    .wowpass-code {
        font-size: 22px;
    }
    .wowpass-copy-button {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   9. SNSシェア・アフィリエイトボタン
   ========================================================================== */

/* SNSシェアボタン Type1 */
.share-btn-type1 {
    margin: 1.2em 0;
    display: flex;
}
.share-btn-type1 .share-btn__item {
    width: 25%;
    height: 40px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    line-height: 40px;
    transition: all .3s;
}
/* 各SNS背景色をコンパクトに並べる */
.share-btn-type1 .share-btn__item--hatebu    { background-color: #00A4DE; }
.share-btn-type1 .share-btn__item--facebook  { background-color: #1778F2; }
.share-btn-type1 .share-btn__item--twitter   { background-color: #000000; }
.share-btn-type1 .share-btn__item--pocket    { background-color: #EF4155; }
.share-btn-type1 .share-btn__item--bluesky   { background-color: #0a7aff; }
.share-btn-type1 .share-btn__item--threads   { background-color: #000000; }
.share-btn-type1 .share-btn__item--pinterest { background-color: #BD081C; }
.share-btn-type1 .share-btn__item:hover {
    opacity: .8;
}

/* 楽天ボタン */
.hatena-rakuten-detail .hatena-asin-detail-info ul li a[href*="rakuten.co.jp"] {
    display: block;
    width: 100%;
    margin: 12px 0;
    background-color: #bf0000;
    color: #fff;
    font-weight: bold;
    padding: 14px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    text-align: center;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}
.hatena-rakuten-detail .hatena-asin-detail-info ul li a[href*="rakuten.co.jp"]:hover {
    background-color: #a30000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Amazon */
.hatena-asin-detail .hatena-asin-detail-info .asin-detail-buy {
    background-color: #FF9900;
    color: #fff;
    border-radius: 5px;
}
.hatena-asin-detail .hatena-asin-detail-info .asin-detail-buy:hover {
    background-color: rgba(255, 153, 0, 0.7);
}
ul.amazon-sub {
    border: solid 2px #ffb03f;
    padding: 0.5em 1em 0.5em 2.3em;
    position: relative;
    margin-top: 2em;
}
ul.amazon-sub li.amazon-sub {
    line-height: 1.5;
    padding: 0.5em 0;
    list-style-type: none !important;
}
ul.amazon-sub li.amazon-sub::before {
    font-family: "Font Awesome 5 Free";
    content: "\f00c";
    position: absolute;
    left: 1em;
    color: #ffb03f;
}
ul.amazon-sub li.amazon-sub::after {
    background: #ffb03f;
    color: #fff;
    font-family: "Font Awesome 5 Free", 'Avenir', 'Arial', sans-serif;
    position: absolute;
    left: -2px;
    bottom: 100%;
    padding: 1px 7px;
    content: '\f0a7 Check';
    letter-spacing: 0.05em;
}
/* :link と :visited は同じスタイルのためグループ化 */
a.amazon-sub:link,
a.amazon-sub:visited {
    color: #000080;
    text-decoration: underline;
}
a.amazon-sub:active {
    color: #FF0000;
    text-decoration: underline;
}

/* ==========================================================================
   10. レイアウト調整・アーカイブページ
   ========================================================================== */

/* アーカイブ・記事詳細ページの #main-inner パディング（テーマ値を上書き） */
.page-archive #main-inner,
.page-entry #main-inner {
    padding: 0 10px;
}
#box2-inner {
    padding: 0 10px;
}
.page-archive .archive-entry .archive-entry-body {
    display: none;
}
.page-archive .archive-entry {
    margin-bottom: 10px;
}
.page-archive .archive-entry .categories {
    position: absolute;
    top: -3px;
    left: 8px;
}
.page-archive .archive-entry .categories a {
    background: #1659DE;
    color: #FFF;
    font-weight: bold;
    border-radius: 12px;
}
.date a {
    color: #193046;
}
.archive-header-category {
    background: #f8f9fc;
    border: 2px solid #3f51b5;
    border-radius: 8px;
    padding: 1.5em;
    margin-bottom: 2em;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.archive-description {
    font-size: 1em;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}
.archive-description img.cover-image {
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin: 1em auto;
}
h2.archive-heading {
    font-size: 1.5em;
    margin-bottom: 0.5em;
    color: #333;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.05em;
    border-top: 2px dashed #808000;
    border-bottom: 2px dashed #808000;
    padding: 0.5em 0;
}
.archive-entry-header .date {
    position: absolute;
    bottom: 0;
    right: 5px;
    margin-bottom: 0;
}
a.entry-category-link {
    background-color: #2041E6;
    color: #fff;
    font-weight: bold;
}
.copyright {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: #191970;
    font-size: 14px;
    color: #ffffff;
}

/* ==========================================================================
   11. モバイルアクションバー & トースト
   ========================================================================== */
@media screen and (max-width: 767px) {
    .mobile-action-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: #ffffff;
        border-top: 1px solid #eeeeee;
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 9999;
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    }
    .action-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none !important;
    }
    .action-icon {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 2px;
    }
    .action-label {
        font-size: 10px;
        font-weight: bold;
        color: #888;
    }
    .home-c { color: #ffb7c5; }
    .b-c    { color: #72d0eb; }
    .line-c { color: #85da5e; }
    .copy-c { color: #f7d358; }
    .top-c  { color: #bbbbbb; }
    .x-c    { color: #333333; }

    /* トースト通知 */
    .toast {
        visibility: hidden;
        min-width: 200px;
        background-color: rgba(51, 51, 51, 0.9);
        color: #fff;
        text-align: center;
        border-radius: 25px;
        padding: 12px;
        position: fixed;
        z-index: 10000;
        left: 50%;
        bottom: 80px;
        transform: translateX(-50%);
        font-size: 13px;
        font-weight: bold;
        opacity: 0;
        transition: opacity 0.3s, bottom 0.3s;
    }
    .toast.show {
        visibility: visible;
        opacity: 1;
        bottom: 90px;
    }
}

/* PC ではトーストとモバイルバーを隠す */
@media screen and (min-width: 768px) {
    .toast,
    .mobile-action-bar {
        display: none !important;
    }
}

/* ==========================================================================
   12. メディアクエリ・レスポンシブ設定
   ========================================================================== */

/* --- iPad・タブレット（701px〜1377px） --- */
@media screen and (min-width: 701px) and (max-width: 1377px) {
    #blog-title-inner {
        background-image: url('https://cdn-ak.f.st-hatena.com/images/fotolife/f/fubukiefsf/20250428/20250428175239.jpg') !important;
        background-size: cover !important;
        background-position: center center !important;
        height: 25vw !important;
        max-height: 220px !important;
        width: 100% !important;
    }
    #blog-title {
        height: 25vw !important;
        max-height: 220px !important;
    }
    .archive-entries {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
    }
    .archive-entry {
        width: 48.5% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box;
    }
    .archive-entry:nth-child(2n) {
        margin-right: 0 !important;
    }
    .entry-thumb {
        display: block !important;
        width: 100% !important;
        height: 200px !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
}

/* --- タブレット・PC以下（〜1370px）: 元ファイルの3ブロックを1つに統合 --- */
@media screen and (max-width: 1370px) {
    /* ヘッダー画像 */
    #blog-title-inner {
        background-image: url('https://cdn-ak.f.st-hatena.com/images/fotolife/f/fubukiefsf/20250506/20250506023516.jpg') !important;
        background-position: center 0 !important;
    }

    /* 上部エリア */
    #top-editarea {
        margin-top: -1px !important;
        height: initial;
        background: #191970;
        text-align: right;
        width: 100%;
    }

    /* ハンバーガーメニュー */
    .menu-toggle {
        color: #ffffff;
        display: inline-block;
        padding: 5px;
        margin: 3px;
    }
    #menu {
        width: 100%;
        display: none;
        height: initial;
        padding: 0;
        margin: 0;
    }
    .menu-inner {
        width: 100%;
        height: initial;
        position: static;
        margin: 0;
    }
    #menu li {
        float: none;
        height: 35px;
        width: 100%;
        list-style-type: none;
        background: #4169e1;
        margin: 0 auto;
        text-align: left;
    }
    #menu li a {
        height: initial;
        color: #FFFFFF;
        display: block;
    }
    #menu li:hover a {
        color: initial;
        background: initial;
    }

    /* 広告 */
    .ad-mobile-display {
        display: none;
    }

    /* ページャー */
    .pager {
        width: 95%;
        padding: 4px 8px;
    }
    .pager-prev a,
    .pager-next a {
        font-size: 14px;
        padding: 6px 10px;
        min-width: 100px;
    }
}

/* --- スマホ小（〜640px） --- */
@media (max-width: 640px) {
    .banner-container {
        flex-direction: column;
        align-items: center;
    }
}

/* --- スマホ最小（〜480px） --- */
@media (max-width: 480px) {
    #title {
        font-size: 2.0rem;
    }
    /* #blog-title { height: 48px } は height: auto !important に負けるためデッドコード → 削除 */
    #blog-title-inner,
    #title a {
        height: 80px !important;
        margin: 0 auto;
        padding: 0;
    }
    #blog-title-inner {
        background-size: cover;
    }
    #blog-description {
        display: none;
    }
    .entry-title {
        font-size: 1.3em;
    }
    .btn-tozai {
        font-size: 16px;
        padding: 10px 16px;
        min-width: 120px;
    }
}
