/* <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=17d66ae0e3fc0e087ead6e3d21294b") 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="f5f5f5"> */
body{background:#f5f5f5;}
/* </system> */


/* 行間設定 */
.entry-content {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Yu Gothic", "Noto Sans JP", sans-serif;
font-size:17px;
line-height:1.7;
}
.page-entry .entry-content p{
margin-bottom: 1em;
}

@media screen and (max-width: 768px) {
  .entry-content {
    font-size: 17px; /* スマホ用に少し大きく */
    letter-spacing: .4px;
  }
}

/*写真を中央に表示*/
.hatena-fotolife, .http-image {
display: block;
margin: 0px auto;
}

/*写真を中央に表示　終わり*/

/*グロナビ */
#global-nav {
    margin: 0 auto 1px;
    padding: 0;
    width: 100%;
    display: block;
    overflow-x: auto;
    font-weight: bold;
    background-color: black ;/* 背景色を指定 */
}
.global-nav-text {
    display: table-cell;
    list-style-type: none;
    text-align: center;
}
.global-nav-text a {
    display: inline-block;
    white-space: nowrap;
    padding: 8px 15px;
    color: white ;/* 文字色 */
    text-decoration: none;
    font-size: 17px;
}
.global-nav-text a:hover {
    background-color: dimgray ;/* マウスがホバーした時の背景色 */
    color: white ;/* マウスがホバーした時の文字色 */
}

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

/* スマホ版だけグロナビ文字サイズ調整 */
@media screen and (max-width: 768px) {
  #global-nav li a {
    font-size: 12px;
  }
}

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

@keyframes fade-in {
0%{margin-top:-64px;}
100%{margin-top:0;}
}


/*pro削除 */
.badge-type-pro {display: none;}


/*蛍光マーカー */
article u {
text-decoration: none;
background: linear-gradient(transparent 50%,yellow 80%);
}



/*フォントの太さ */
/*default 250 (100~800)*/
.entry-content
{font-weight:400;} 


/*記事の表示範囲を広くする */
@media screen and (min-width:1400px) {

#container {
  width: 1550px;
  margin: 0 auto;
}

#wrapper {
  width: 1100px;
  float: left;
}

#main {
width: 1020px;
}

}


/* TOP画面にはてなスター等を表示しない*/
.archive-entry-body .social-buttons {
    display: none;
}



/* ホップアップ画像*/
#sample figure{
  margin: 0;     /* マージンの初期化 */
  display: none; /* 最初に画像を隠しておく */
}
#sample figure:target{
  display: block;  /* 画像を表示する */
  position: fixed; /* スクロールしても画像を動かさない */
  top: 0;          /* 画面全体に対して画像を中央に設置する */
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;    /* 画像を一番前に表示する */
}
#sample figure:target #overlay{
  position: absolute;        /* 画像が重なるように */
  top: 0;                    /* 4つを0にして画面全体に広げる */
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;     /* フレックスアイテムの並びを縦にする */
  justify-content: center;    /* 左右中央に設置 */
  align-items: center;        /* 上下中央に設置 */
  background: rgba(255, 255, 255, 0.7); /* 画像を見やすくするため透過の黒背景 */
  text-decoration: none;      /* リンクなので文字に下線など装飾が付かないようにする */
  color: #fff;
}
#sample figure:target img{
  animation: fadein .3s;   /* 0.3秒かけたフェードイン効果 */
}
@keyframes fadein{         /* フェードイン効果の中身 */
  0%{
    transform: scale(0.2);
    opacity: 0.2;
  }
  100%{
    transform: scale(1);
    opacity: 1;
  }
}



/*=== article window ===*/
.article-container{
    width: 100%;/*画像表示の幅*/
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    box-sizing: border-box;
    margin: 0px auto;
    padding:0px;
    text-align:center;}
.article-box{
    box-sizing:border-box;
    border:5px solid white;/*画像の枠色*/
    width:25%;
    padding:0px;
    margin:20px 10px;/*画像周りの空白*/
    overflow:hidden;}
.article-img img{
    width:100%;
    display:block;
    object-fit:cover; 
    transition-duration: 0.5s;/*ゆっくり戻る*/}
.article-img:hover img{/*マウスオーバーで拡大表示*/
    transform: scale(1.1);/*1.1倍に表示*/
    transition-duration: 0.5s;/*ゆっくり拡大*/}

/*=== article window ===*/

.article-container{
    width: 100%;/*画像表示の幅*/
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    box-sizing: border-box;
    margin: 0px auto;
    padding:0px;
    text-align:center;}
.article-box{
    box-sizing:border-box;
    border:5px solid white;/*画像の枠色*/
    width:25%;
    padding:0px;
    margin:20px 10px;/*画像周りの空白*/
    overflow:hidden;}
.article-img img{
    width:100%;
    display:block;
    object-fit:cover; 
    transition-duration: 0.5s;/*ゆっくり戻る*/}
.article-img:hover img{/*マウスオーバーで拡大表示*/
    transform: scale(1.1);/*1.1倍に表示*/
    transition-duration: 0.5s;/*ゆっくり拡大*/}

/*=== smartphone ２列表示 ===*/
@media(max-width: 767px){
.article-container {
    width:100%;
    flex-wrap: wrap;/*折り返し表示（２列）*/
    justify-content:space-between;
    padding:8px;}
.article-box {
    width:45%;
    padding:0px;
    margin:8px;}
.article-img img{
    width:100%;
    padding:0;
    object-fit:cover;}}
.page-entry .article-area{display:none;}
/*=== end of article window ===*/



/*スマホで表示した時だけ，タイトル＆タイトル画像の領域（上下方向）を狭くする*/
@media (max-width: 768px){#blog-title-inner {
margin: 0 !important;
background: none !important;
}
#blog-title {
background-size: cover !important;
background-image: none !important;
max-width: 100%;
height: 108px;
}
}



/* To Top */
.toTop-nav {
  position: fixed;
  bottom: 10px;
  right: 10px;
  display: -webkit-flex;
  display: flex;
  padding: 0;
  margin: 0;
  z-index: 999;
  }
.toTop-nav li {
  list-style-type: none;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50px;
  text-align: center; 
  }
.toTop-nav li:first-child {
  margin-right: 10px; 
  }
.toTop-nav li a {
  display: block;
  width: 50px;
  height: 50px;
  font-size: 30px;
  line-height: 50px; 
  }
.toTop-nav li a {
  color: #fff;
  text-decoration: none; 
  }
.toTop-nav li a:visited {
  color: #fff; 
  }
.toTop-nav li a:hover {
  color: #fff;
  text-decoration: underline; 
  }
.toTop-nav li a:active, .toTop-nav li a:focus {
  color: #fff; 
  }
.toTop-nav li a:hover {
  text-decoration: none;
  }

/* 見出しの変更 */
.entry-content h3 {
padding: 4px 10px;
color: #3D3F44;
background: #f3f3f3;
border-left: 8px solid #3f3f3f;
margin:60px 0 15px 0;
}

.entry-content h4 {
  padding: 6px 0;
  border-bottom: 4px solid #ccc;
  color: #333;
  line-height: 1.5;
  position: relative;
}
.entry-content h4:before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100px;
  height: 4px;
  background-color: #3D3F44;;
  z-index: 2;
}

.entry {
  position: relative;
  z-index: 1;
}
.entry-content h5 {
  position: relative;
  padding: 1em;
  border: 2px solid #333;
  border-radius: 30px;
}
.entry-content h5::before {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 20%;
  transform: translateX(-50%) rotate(-45deg);
  width: 10px;
  height: 10px;
  border: 2px solid #333;
  border-top: none;
  border-right: none;
  background-color: #e6e6fa;
}
.entry-content h5::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background-color: #e6e6fa;
  z-index: -1;
}

/*----更新日表示----*/
.lastmod {
    background-color: transparent;
    padding: 5px 0px;
    font-size: 15px;/*更新日の大きさ*/
    display: inline;
    margin-left: 1em;
    color: #333;/*更新日の色*/
}
.lastmod::before {
    margin-right: 5px;
    font-family: "Font Awesome 5 Free";
    content: '\f01e';/*更新日付のアイコンの種類*/
    color: orange;/*同アイコンの色*/
    font-weight: bold;
}
.date {
    background-color: transparent;
    padding: 5px 0px;
    font-size: 15px;/*作成日の大きさ。色は指定していない*/
    display: inline;
}
.date::before {
    font-family: "Font Awesome 5 Free";
    content: '\f073';/*作成日のアイコンの種類*/
    font-weight: bold;
}
/*----更新日表示----*/

/* アイコンフォント使用目次（小さめ＆読みやすさ重視） */
.entry-content .table-of-contents {
    position: relative;
    margin: 0;
    padding: 3.5em 1em 1em;
    background: #fff;
    font-size: 90%;
    border-top: solid 4px #2E5283;
    color: #2E5283;
    box-shadow: 0 1px 4px 1px #e9e9e9;
    line-height: 1.6; /* 全体の行間確保 */
}

.entry-content .table-of-contents::before {
    content: "目次";
    display: block;
    position: absolute;
    top: 12px;
    left: 48px;
    color: #2E5283;
    font-size: 110%;
    font-weight: bold;
}

.entry-content .table-of-contents::after {
    content: "\f039";
    font-family: blogicon;
    display: block;
    font-size: 100%;
    position: absolute;
    line-height: 34px;
    top: 8px;
    left: 10px;
    width: 34px;
    height: 34px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    background: #2E5283;
}

.entry-content .table-of-contents li {
    margin: 0.3em 0 0.8em 1.5em;
    list-style-type: decimal;
    line-height: 1.6em;
    font-weight: bold;
}

.entry-content .table-of-contents li ul {
    margin: 0 0 0.8em 0.5em;
    padding: 0;
}

.entry-content .table-of-contents li ul li {
    margin: 0.3em 0 0 1.2em;
    list-style-type: none;
    font-weight: normal;
    font-size: 90%;
    line-height: 1.5em;
}

.entry-content .table-of-contents li ul li::before {
    content: "\f006";
    font-family: blogicon;
    margin-right: .5em;
    color: #2E5283;
}

.entry-content .table-of-contents li ul li ul li {
    font-size: 85%;
}

.entry-content .table-of-contents a {
    color: #2E5283;
    text-decoration: underline;
}

/* ===== Hero Carousel（縦横比そのまま版） ===== */

.hn-hero-carousel{
  max-width: 1100px;          /* 今の #wrapper(1100px) に合わせる */
  margin: 20px auto 24px;
}

.hn-hero-carousel__viewport{
  position: relative;
  overflow: hidden;
  border-radius: 2px;        /* 枠線は作らず、角丸だけ */
}

/* 横並びだけ制御。高さには一切触れない */
.hn-hero-carousel__track{
  display: flex;
  transform: translateX(0%);
  transition: transform 650ms ease;
  will-change: transform;
}

/* 画像は「幅100%、高さは自然」 */
.hn-hero-carousel__slide{
  flex: 0 0 100%;
  width: 100%;
  height: auto;               /* ← 重要 */
  display: block;

  /* 保存・選択しにくくする */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* 透明シールド（長押し保存を抑止） */
.hn-hero-carousel__shield{
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 5;

  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* ドット */
.hn-hero-carousel__dots{
  display:flex;
  justify-content:center;
  gap:8px;
  padding:10px 0 0;
}

.hn-hero-carousel__dot{
  width:6px;height:6px;
  border-radius:999px;
  background:#cfcfcf;
  opacity:.9;
}

.hn-hero-carousel__dot.is-active{
  background:#111;
}

/* 記事一覧の本文抜粋を非表示 */
.archive-entry-body {
  display: none;
}

/* 一覧（トップ/アーカイブ）のカテゴリを非表示 */
.archive-entry-categories,
.archive-entry-category,
.archive-entry-header .categories,
.archive-entry-header .category {
  display: none !important;
}

/* 一覧（トップ/アーカイブ）で「雑記」などが出るエリアをまるごと消す保険 */
.archive-entry .entry-categories,
.archive-entry .categories {
  display: none !important;
}

/* ===================================================
   記事一覧：3列レイアウト + サムネ見切れ防止（最終版）
   =================================================== */

/* === 記事一覧 全体をグリッド化（PC：3列） === */
.archive-entries {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* === 各記事カード === */
.archive-entry {
  background: #fff;
  box-shadow: none;
  border: none;
}

/* === サムネ周り：高さ固定・切り抜きの無効化 === */
.archive-entry img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block !important;
}

/* === テーマ側で高さを殺しに来る要素を解除 === */
.archive-entry .entry-thumb,
.archive-entry .archive-entry-thumbnail,
.archive-entry .archive-entry-eyecatch,
.archive-entry figure,
.archive-entry a {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* === 背景画像サムネ（background-image）の保険 === */
.archive-entry [style*="background-image"] {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* === タイトル・日付だけ残してスッキリ === */
.archive-entry-body {
  display: none;
}
.archive-entry-tags-wrapper {
  display: none;
}

/* === スマホ：2列 === */
@media (max-width: 768px) {
  .archive-entries {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* === スマホ極小：1列 === */
@media (max-width: 480px) {
  .archive-entries {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   記事一覧：安定3列（テーマ干渉しにくいカラム方式）
   ※ いまの「gridで3列」より優先して上書き
   =================================================== */

/* まず grid 指定を殺して通常に戻す */
.archive-entries{
  display: block !important;
}

/* カラムで3段 */
.archive-entries{
  column-count: 3;
  column-gap: 28px;
}

/* 各記事をカラム内で崩れないように */
.archive-entry{
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 28px;
}

/* スマホは2段→1段 */
@media (max-width: 768px){
  .archive-entries{ column-count: 2; column-gap: 16px; }
  .archive-entry{ margin: 0 0 16px; }
}
@media (max-width: 480px){
  .archive-entries{ column-count: 1; }
}

/* ===================================================
   サムネが消える/潰れるのを防ぐ保険
   （高さautoの強制が残ってても、ここで最低限見えるように）
   =================================================== */

/* サムネが背景画像で出るタイプ用 */
.archive-entry-thumbnail,
.archive-entry-thumb,
.entry-thumb{
  display: block !important;
  overflow: hidden !important;
  min-height: 120px; /* 高さ0対策 */
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important; /* まずは“出る”優先 */
}

/* imgタグで出るタイプ用 */
.archive-entry img{
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

/* ===================================================
   記事一覧：順番を守る3列（grid版）
   ※ カラム方式を無効化して上書き
   =================================================== */

.archive-entries{
  column-count: initial !important;
  column-gap: initial !important;

  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
}

@media (max-width: 1024px){
  .archive-entries{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}
@media (max-width: 520px){
  .archive-entries{
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* 記事カードの幅崩れ対策 */
.archive-entry{
  width: auto !important;
  margin: 0 !important;
}

/* サムネが潰れないように：imgがある場合は自然に、背景の場合はcoverで */
.archive-entry img{
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* 背景サムネ型の保険 */
.archive-entry-thumbnail,
.archive-entry-thumb,
.entry-thumb{
  min-height: 160px !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  overflow: hidden !important;
}

/* ===== 記事一覧：隙間を少し詰める ===== */

/* カード同士の間隔 */
.archive-entries{
  gap: 20px !important;   /* ← 5px → 5px */
}

/* タブレット */
@media (max-width: 1024px){
  .archive-entries{
    gap: 16px !important; /* ← 5px → 5px */
  }
}

/* スマホ */
@media (max-width: 520px){
  .archive-entries{
    gap: 14px !important;
  }
}

/* 各カード内の上下余白も少し詰める */
.archive-entry{
  padding-bottom: 4px !important;
}

/* タイトル下の余白を詰める（効くテーマ多い） */
.archive-entry-title{
  margin-bottom: 4px !important;
}

/* 日付の余白を詰める */
.archive-entry-date{
  margin-top: 2px !important;
}

/* ===================================================
   写真サムネ hover：拡大が“確実に見える”版
   （img型 / 背景型 両対応）
   =================================================== */

/* --- A) まず「サムネ枠」を特定しに行く（よくあるクラスを全部抱き込む） --- */
.archive-entry .archive-entry-thumbnail,
.archive-entry .entry-thumb,
.archive-entry .archive-entry-eyecatch,
.archive-entry .archive-entry-image,
.archive-entry .archive-entry-header {
  overflow: hidden;              /* 拡大を“枠内で見せる” */
}

/* --- B) img型：imgそのものを拡大（display:blockが効く） --- */
.archive-entry .archive-entry-thumbnail img,
.archive-entry .entry-thumb img,
.archive-entry .archive-entry-eyecatch img,
.archive-entry a img {
  display: block;                 /* ← inlineだと体感変化が出にくい時がある */
  width: 100%;
  height: auto;
  transition: transform .28s ease, filter .28s ease;
  transform: scale(1);
  will-change: transform;
}

@media (hover:hover) {
  .archive-entry a:hover .archive-entry-thumbnail img,
  .archive-entry a:hover .entry-thumb img,
  .archive-entry a:hover .archive-entry-eyecatch img,
  .archive-entry a:hover img {
    transform: scale(1.06);       /* ← 1.02だと“気付かない”こと多い */
    filter: brightness(.96);
  }
}

/* --- C) 背景型：background-sizeを上げる（これが最強に確実） --- */
.archive-entry .archive-entry-thumbnail,
.archive-entry .entry-thumb,
.archive-entry .archive-entry-eyecatch {
  background-size: 100% auto;     /* cover でもOKだけど、拡大を感じやすくする */
  background-position: center;
  background-repeat: no-repeat;
  transition: background-size .28s ease, filter .28s ease;
}

@media (hover:hover) {
  .archive-entry a:hover .archive-entry-thumbnail,
  .archive-entry a:hover .entry-thumb,
  .archive-entry a:hover .archive-entry-eyecatch {
    background-size: 106% auto;   /* ← 背景型はこれで“拡大した感”が必ず出る */
    filter: brightness(.96);
  }
}

/* === 記事一覧タイトル：細字 + 字間詰め（強制） === */
.archive-entry-title,
.archive-entry-title a,
.archive-entry-header h1,
.archive-entry-header h2,
.archive-entry h1,
.archive-entry h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-weight: 300 !important;
  letter-spacing: 0 !important;
  line-height: 1.35 !important;
}

/* 念のため：b/strongで太らされてても潰す */
.archive-entry-title b,
.archive-entry-title strong,
.archive-entry-header b,
.archive-entry-header strong {
  font-weight: 300 !important;
}

/* =========================================
   本文：自動キーワードリンクを完全無効化（強制）
   ========================================= */

/* はてなキーワードの典型（複数パターンを全部潰す） */
.entry-content a.keyword,
.entry-content a.hatena-keyword,
.entry-content a[href*="keyword"],
.entry-content a[href*="d.hatena.ne.jp/keyword"],
.entry-content a[href*="hatena.ne.jp/keyword"],
.entry-content a[href*="hatena.ne.jp/keyword/"],
.entry-content a[href*="keyword/"] {
  color: inherit !important;
  text-decoration: none !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* “リンクとしての挙動” も殺す（誤タップ防止） */
.entry-content a.keyword,
.entry-content a.hatena-keyword {
  pointer-events: none !important;
  cursor: text !important;
}

/* まれに span で色が付くケースもあるので保険 */
.entry-content span.keyword,
.entry-content span.hatena-keyword {
  color: inherit !important;
  text-decoration: none !important;
}

/* ==== 幅テスト（まず効かせる用） ==== */
#container { max-width: none !important; }

@media screen and (min-width: 1100px){
  #wrapper { width: 1240px !important; }
  #main { width: 1160px !important; }
}

/* ベストギャラリー全体 */
.best-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin: 60px 0;
}

/* 画像ラッパー */
.best-gallery figure {
  margin: 0;
  overflow: hidden;
  background: #000;
}

/* 画像本体 */
.best-gallery img {
  width: 100%;
  height: auto;
  display: block;
  transition: 
    transform 0.4s ease,
    filter 0.4s ease;
}

/* hover効果 */
.best-gallery figure:hover img {
  transform: scale(1.03);
  filter: brightness(0.9);
}

/* ================================
   ベストギャラリー：強制1列（最終）
   ================================ */

/* grid / flex を完全に殺す */
.best-gallery {
  display: block !important;
  max-width: 1000px;
  margin: 0 auto;
}

/* figure を縦積みに固定 */
.best-gallery figure {
  display: block !important;
  width: 100% !important;
  margin: 0 0 80px 0 !important;
}

/* img を自然サイズで */
.best-gallery img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}


/* 記事一覧 見出し：HOME限定表示 */
.home-article-heading {
  display: none;
}

.page-index .home-article-heading {
  display: block;
  margin: 56px 0 32px;
  text-align: center;
  font-size: 22px;
  color: #000;
  letter-spacing: 0.08em;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.page-index .home-article-heading {
  font-weight: 500;
}

/* 4枠エリアの直下に余白が欲しい時 */
.home-section-title{
  margin-top: 40px;
}

.home-section-title {
  text-align: center;
  font-size: 22px;
  font-weight: normal;
  color: #000;
  margin: 60px 0 5px;
}

/* まず全部消す */
.home-section-title { display: none; }

/* HOMEのときだけ表示（候補1） */
body.page-index .home-section-title { display: block; }


/* ロゴ画像（透過PNG）のURLをここに貼る */
:root{
  --site-logo: url("https://cdn-ak.f.st-hatena.com/images/fotolife/m/mucca01/20260211/20260211210241.png");
}


/* タイトル＋説明を縦にそろえる箱（ロゴの右側） */
#blog-title a, .blog-title a, #title a, .site-title a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;   /* ←ここが「左揃え」 */
  line-height: 1.1;
}

/* 説明文（キャッチ）も左揃えで寄せる（テーマによってクラスが違うので複数指定） */
#blog-description, .blog-description, #description, .site-description {
  text-align: left !important;
  margin-left: 0 !important;
}

/* タイトルの前にロゴを表示 */
#blog-title a::before,
.blog-title a::before,
#title a::before,
.site-title a::before{
  content: "";
  display: inline-block;
  width: 80px;     /* 大きさはここで調整 */
  height: 80px;
  background-image: var(--site-logo);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex: 0 0 auto;
}

/* ===== スマホだけヘッダーを崩れない形にする ===== */
@media (max-width: 600px){

  /* タイトル＋説明のブロックを中央寄せ＆余白調整 */
  #blog-title, #title, .site-title, .blog-title{
    text-align: center !important;
    margin: 12px auto 8px !important;
  }

  /* タイトルリンク周り（縦積み・中央） */
  #blog-title a, #title a, .site-title a, .blog-title a{
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
  }

  /* 「タイトル前にロゴを表示」している ::before をスマホでは上に置く＆小さく */
  #blog-title a::before,
  .blog-title a::before,
  #title a::before,
  .site-title a::before{
    width: 56px !important;
    height: 56px !important;
    margin: 0 auto 4px !important;
    display: block !important;
  }

  /* ブログ説明文（キャッチコピー）を詰める */
  #blog-description, #description, .site-description, .blog-description{
    font-size: 12px !important;
    line-height: 1.3 !important;
    margin: 6px auto 0 !important;
  }

  /* ナビの文字が折れてキツい場合（必要なら） */
  .header-menu, .header-nav, #top-editarea .menu{
    font-size: 14px !important;
  }
}

@media (max-width: 600px){

  /* 説明文を強制的に中央へ */
  #blog-description, #description, .site-description, .blog-description,
  #blog-description p, #description p, .site-description p, .blog-description p{
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin: 6px auto 0 !important;
    padding: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }
}

/* --- からなしOS：チャット吹き出しUI（アイコン拡大版） --- */
.chat-box {
    width: 100%;
    margin: 2em 0;
    font-size: 15px;
    box-sizing: border-box;
}

/* 共通レイアウト */
.chat-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    width: 100%;
}

/* アイコン画像（気持ち大きめに変更: 50px -> 60px） */
.chat-row .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #ddd;
}

/* 吹き出し本体（アイコンが大きくなった分、はみ出し防止の数値を調整） */
.chat-row .balloon {
    max-width: calc(100% - 90px); 
    padding: 12px 16px;
    border-radius: 15px;
    line-height: 1.6;
    word-wrap: break-word;
}

/* --- からなし（右側） --- */
.chat-karanashi {
    flex-direction: row-reverse;
}
.chat-karanashi .icon {
    margin-left: 15px;
}
.chat-karanashi .balloon {
    background-color: #d4d7f8; /* テーマカラー */
    color: #333;
    border-bottom-right-radius: 2px;
}

/* --- OS（左側） --- */
.chat-os {
    flex-direction: row;
}
.chat-os .icon {
    margin-right: 15px;
    border: 1px solid #ccc;
}
.chat-os .balloon {
    background-color: #f1f3f5;
    color: #333;
    border-bottom-left-radius: 2px;
}

.chat-row .icon {
    width: 60px;   /* 幅を強制的に60pxにする */
    height: 60px;  /* 高さを強制的に60pxにする */
    object-fit: cover; /* はみ出た部分はいい感じにトリミングする */
    /* ... */
}

/* --- ここから追加 --- */
.chat-row .balloon {
    font-size: 1rem !important; /* 文字サイズをブログ本文と同じに強制固定 */
    line-height: 1.8; /* 行間も少し広げて読みやすく調整 */
}
/* --- ここまで追加 --- */
