/* <system section="theme" selected="26006613652605202"> */
@charset "UTF-8";
/*
  Theme: neumorphism
  Author: fujiguchi
  Responsive: yes
  Description: ニューモーフィズムデザインのはてなブログテーマです。
*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
:root {
  --theme-color: #e9edf0;
  --shadow-darkcolor: #c6c9cc;
  --shadow-brightcolor: #fff;
}
/*! 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 */
    scroll-behavior: smooth;
}

/* 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: 0;
}

/**
 * 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: flex;
    flex-flow: column;
    justify-content: space-between;
}

@media (min-width: 992px) {
    #content-inner {
        flex-direction: row;
    }
}

.entry-header {
    display: flex;
    flex-flow: column;
}

.entry-header .entry-title {
    order: 0;
}

.entry-header .date {
    order: 1;
}

.entry-header .categories {
    order: 2;
}

.entry-header .customized-header {
    order: 3;
}

.entry-header .social-buttons {
    order: 4;
}

.archive-entries {
    display: flex;
    flex-wrap: wrap;
}

.page-archive .archive-entry {
    display: flex;
    flex-flow: column;
}

.page-archive .archive-entry .entry-thumb-link {
    order: 0;
}

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

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

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

.archive-entry-header {
    display: flex;
    flex-flow: column;
}

.archive-entry-header .entry-title {
    order: 0;
}

.archive-entry-header .date {
    order: 1;
}

.pager {
    display: flex;
    justify-content: space-between;
}

html,
body {
    font-family: 'Roboto', sans-serif, -apple-system, BlinkMacSystemFont, Segoe UI, 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
    color: #333;
    background: var(--theme-color);
    line-height: 1.7;
    letter-spacing: 0.05em;
}

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

a:hover {
    color: #4ab7ea;
    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;
        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: #555;
}

#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: flex;
    flex-direction: row;
    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;
    box-sizing: border-box;
}

@media (min-width:768px) {
#top-editarea {
    margin-bottom: 2.5em;
}
}

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

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

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

#main {
    width: 100%;
}

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

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

.entry {
    position: relative;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 20px;
    box-shadow: inset 1px 1px 3px #e0e0e0, inset -1px -1px 3px var(--shadow-brightcolor), 5px 5px 10px var(--shadow-darkcolor), -5px -5px 10px var(--shadow-brightcolor);
}

@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: #555;
    text-decoration: none;
}

.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: .2em 1em;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 0 0 1px var(--shadow-darkcolor), 3px 3px 6px var(--shadow-darkcolor), -3px -3px 6px var(--shadow-brightcolor);
}

.categories a:hover {
    box-shadow: inset 0 0 0 1px var(--shadow-darkcolor), inset 2px 2px 4px var(--shadow-darkcolor), inset -2px -2px 4px var(--shadow-brightcolor);
}


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

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

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

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

.comment {
    list-style: none;
    margin: 2em 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 1.2em 0;
    padding: 1.2em;
    border-radius: 10px;
    position: relative;
    box-shadow: inset 3px 3px 6px var(--shadow-darkcolor), inset -3px -3px 6px var(--shadow-brightcolor);
}

.read-more-comments a {
    margin: 1em 0;
    padding: .5em 1em;
    border-radius: 20px;
    box-shadow: 0 0 0 1px var(--shadow-darkcolor), 3px 3px 6px var(--shadow-darkcolor), -3px -3px 6px var(--shadow-brightcolor);
    display: inline-block;
}

.read-more-comments a:hover {
    box-shadow: inset 0 0 0 1px var(--shadow-darkcolor), inset 2px 2px 4px var(--shadow-darkcolor), inset -2px -2px 4px var(--shadow-brightcolor);
}

.entry-comment .hatena-id-icon {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 50px !important;
    height: 50px !important;
    padding: 7px;
    background: var(--theme-color);
    border-radius: 50%;
    box-shadow: 3px 3px 6px 0 var(--shadow-darkcolor), -3px -3px 6px var(--shadow-brightcolor);
}

.entry-tag .entry-tag-link {
    background: none;
    border: none;
    border-radius: 20px;
    box-shadow: 3px 3px 6px var(--shadow-darkcolor), -3px -3px 6px var(--shadow-brightcolor);
}

.entry-tag .entry-tag-link:hover {
    background: var(--theme-color);
    box-shadow: inset 2px 2px 4px var(--shadow-darkcolor), inset -2px -2px 4px var(--shadow-brightcolor);
}

.comment-user-name {
    margin: 0 0 .4em 0;
    padding: 5px 0 0 55px;
    font-weight: bold;
}

.comment-content {
    margin: 2em 0 1em;
    word-wrap: break-word;
    color: #555;
    font-size: .85rem;
}

.comment-content p {
    margin: 0 0 .6em 0;
}

.comment-metadata {
    color: #999;
    margin: 0;
    font-size: .8rem;
}

.comment-metadata a {
    color: #999;
}

.leave-comment-title {
    padding: .6em 1em;
    font-size: .85rem;
    border-radius: 20px;
    box-shadow: 0 0 0 1px var(--shadow-darkcolor), 7px 7px 14px var(--shadow-darkcolor), -7px -7px 14px var(--shadow-brightcolor);
}

.leave-comment-title:hover {
    box-shadow: inset 0 0 0 1px var(--shadow-darkcolor), inset 2px 2px 4px var(--shadow-darkcolor), inset -2px -2px 4px var(--shadow-brightcolor);
}

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

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

.hatena-module {
    box-sizing: border-box;
    margin-bottom: 2em;
    font-size: .85rem;
}

.entry .hatena-module {
    padding: 0;
}

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

.hatena-module-title {
    margin: 0 0 1em;
    padding: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.hatena-module-title a {
    color: #555;
    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;
}

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

.urllist-category-link {
    display: inline-block;
    margin: .2em .2em .2em 0;
    padding: .2em 1em;
    color: #555;
    font-size: .7em;
    font-weight: bold;
    letter-spacing: 0;
    border-radius: 20px;
    box-shadow: 0 0 0 1px var(--shadow-darkcolor);
}

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

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

.urllist-with-thumbnails li .urllist-image {
    margin: 0 1em 0 0;
    border-radius: 6px;
    box-shadow: 0 0 0 1px var(--shadow-darkcolor);
}

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

.hatena-module-profile .profile-icon {
    display: block;
    margin: 0 auto 1em;
    padding: .5em;
    border-radius: 50%;
    box-shadow: 4px 4px 8px var(--shadow-darkcolor), -4px -4px 8px var(--shadow-brightcolor), inset 3px 3px 6px var(--shadow-darkcolor), inset -3px -3px 6px var(--shadow-brightcolor), 4px 4px 8px var(--shadow-darkcolor), -4px -4px 8px var(--shadow-brightcolor);
    transition: .15s;
}

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

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

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

.search-module-input, .search-result-input {
    flex: 1 0;
    padding: 5px;
    color: #333;
    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=dc9c1689f29371ecdd4d8f010904c1") 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-month {
    transition: .2s;
}
.archive-module-month:hover {
    transform: translateX(4px);
    text-decoration: none;
}

.archive-module-month-title::before {
    content: "\f006";
    font-family: blogicon;
    font-size: .8em;
    color: #555;
    margin-right: .2em;
    vertical-align: middle;
}

.archive-module-month-title:hover::before {
    color: #4ab7ea;
}

.archive-module-calendar .archive-module-calendar-selector {
    border: none;
    border-radius: 15px;
    background: var(--theme-color);
    box-shadow: 1px 1px 2px var(--shadow-darkcolor), -1px -1px 2px var(--shadow-brightcolor);
    padding: 0 1em;
    cursor: pointer;
}

.archive-module-calendar .archive-module-calendar-selector:hover {
    box-shadow: inset 1px 1px 2px var(--shadow-darkcolor), inset -1px -1px 2px var(--shadow-brightcolor);
}

.archive-module-calendar a {
    display: block;
    margin: .2em;
    padding: .2em 0 0;
    color: #79b4c5;
    font-weight: bold;
    border-radius: 1em;
    box-shadow: 1px 1px 2px var(--shadow-darkcolor), -1px -1px 2px var(--shadow-brightcolor);
}

.archive-module-calendar a:hover {
    box-shadow: inset 1px 1px 2px var(--shadow-darkcolor), inset -1px -1px 2px var(--shadow-brightcolor);
}

.hatena-module-category li {
    padding: 0!important;/***階層化対策***/
    display: inline-block;
}

.hatena-module-category a {
    display: inline-block;
    margin: .4em;
    padding: .3em .8em!important;/***階層化対策***/
    font-size: .8rem;
    border-radius: 20px;
    box-shadow: 0 0 0 1px var(--shadow-darkcolor), 3px 3px 5px var(--shadow-darkcolor), -3px -3px 5px var(--shadow-brightcolor);
}

.hatena-module-category a:hover {
    box-shadow: inset 0 0 0 1px var(--shadow-darkcolor), inset 2px 2px 4px var(--shadow-darkcolor), inset -2px -2px 4px var(--shadow-brightcolor);
}

/* 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;
    box-sizing: border-box;
}

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


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

.page-archive .entry-thumb {
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    background-position: center;
    transition: .4s;
}

.page-archive .archive-entry .categories {
    position: absolute;
    top: 8px;
    left: 25px;
}

.page-archive .categories a {
    margin: 0 5px 0.3em 0;
    display: inline-block;
    padding: .2em 1em;
    background: var(--theme-color);
    color: #555;
    font-size: .7em;
    font-weight: bold;
    letter-spacing: 0;
    border-radius: 20px;
    box-shadow: 0 0 0 1px var(--shadow-darkcolor), 3px 3px 5px var(--shadow-darkcolor), -3px -3px 5px var(--shadow-brightcolor);
}

.page-archive .categories a:hover {
    color: #4ab7ea;
    box-shadow: inset 0 0 0 1px var(--shadow-darkcolor), inset 2px 2px 4px var(--shadow-darkcolor), inset -2px -2px 4px var(--shadow-brightcolor);
}


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

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

.archive-entry-body .entry-description {
    font-size: .7em;
    display: none;
}

.archive-entry-body .social-buttons {
    display: block;
    margin: .5em 0;
}

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

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

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

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

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

#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 h2 {
    padding-left: .5em;
    border-left: solid 5px;
}

.entry-content h3 {
    font-size: 1.5rem;
    border-bottom: solid 2px;
}

.entry-content h4 {
    margin: 2em 0 1em 0;
    font-size: 1.4rem;
    padding: .2em .5em;
    border-radius: 4px;
    box-shadow: inset 3px 3px 6px var(--shadow-darkcolor), inset -3px -3px 6px var(--shadow-brightcolor);
}

.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: #4ab7ea;
    text-decoration: none;
}

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

.entry-content .entry-see-more {
    display: inline-block;
    padding: .5em 1em;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 0 0 1px var(--shadow-darkcolor), 7px 7px 14px var(--shadow-darkcolor), -7px -7px 14px var(--shadow-brightcolor);
    transition: .1s ease-out;
}

.entry-content .entry-see-more:hover {
    box-shadow: inset 0 0 0 1px var(--shadow-darkcolor), inset 2px 2px 4px var(--shadow-darkcolor), inset -2px -2px 4px var(--shadow-brightcolor);
}

.entry-content ul:not(.table-of-contents),
.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;
    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: 1.5em;
    border-radius: 15px;
    box-shadow: inset 3px 3px 6px var(--shadow-darkcolor), inset -3px -3px 6px var(--shadow-brightcolor);
}

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

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

.entry-content blockquote::before {
    content: "\f704";
    font-family: 'blogicon';
    position: absolute;
    top: -44px;
    left: -12px;
    font-size: 4em;
    color: var(--theme-color);
    text-shadow: 2px 2px 4px #a8a8a8, -2px -2px 4px var(--shadow-brightcolor);
}

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

.entry-content pre {
    background: #000;
    white-space: pre;
    text-overflow: ellipsis;
    line-height: 1.3;
    font-size: .8rem;
    position: relative;
    padding: 1.5em 1em .5em;
    font-size: 1em;
    text-overflow: unset;
    border-radius: 4px;
    background: #e9edf0;
    box-shadow: inset 3px 3px 6px var(--shadow-darkcolor), inset -3px -3px 6px var(--shadow-brightcolor);
}

.entry-content pre.lang-html::before {
    content: " html ";
    position: absolute;
    top: 0;
    left: 0;
    background: #5e6bff;
    color: #fff;
}

.entry-content pre.lang-css::before {
    content: " CSS ";
    position: absolute;
    top: 0;
    left: 0;
    background: #fff75e;
    border-radius: 4px 0 0 0;
    box-shadow: inset 3px 3px 6px var(--shadow-darkcolor);
}

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

.table-of-contents {
    margin: 0;
    padding: 1.2em;
    font-size: .9em;
    border-radius: 6px;
    box-shadow: inset 4px 4px 8px var(--shadow-darkcolor), inset -4px -4px 8px var(--shadow-brightcolor);
}

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

.table-of-contents a {
    color: #333;
}

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

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

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

.pager {
    margin: 2em 0;
}

.pager-arrow {
    display: none;
}

.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;
    box-sizing: border-box;
    border-radius: 10px;
}

.pager .pager-prev a::before, .pager .pager-next a::after {
    display: inline-block;
    font-family: 'blogicon';
    color: #555;
}

.pager .pager-prev a::before {
    content: "\f005";
    left: -10px;
}

.pager .pager-next a::after {
    content: "\f006";
    margin-left: .5em;
    vertical-align: middle;
}

.pager .pager-prev a:hover::before, .pager .pager-next a:hover::after {
    color: #4ab7ea;
}

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;
    border-radius: 6px;
    transition: .1s ease-out;
    box-shadow: 0 0 0 1px var(--shadow-darkcolor), 3px 3px 6px var(--shadow-darkcolor), -3px -3px 6px var(--shadow-brightcolor);
}

.entry-header-menu a:hover {
    box-shadow: inset 0 0 0 1px var(--shadow-darkcolor),inset 3px 3px 6px var(--shadow-darkcolor),inset -3px -3px 6px var(--shadow-brightcolor);
}

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

.page-index .archive-date, .page-archive .archive-date {
    position: absolute;
    display: inline-block;
}

.page-archive a .hyphen {
    display: none;
}

.page-archive .date-day {
    order: 1;
}

.page-archive .date-year {
    display: none;
}

.page-archive .date-month {
    order: 2;
    font-size: 0;
}

.entry-date .date-month::before {
    font-size: 3vw;
    display: inline-block;
    margin: .8em .5em .5em;
    letter-spacing: .1em;
}

.page-archive .date-month::before {
    font-size: 14px;
}

.page-archive .archive-entry .archive-date {
    top: 15px;
    right: 25px;
}

.archive-date time[title*="-01-"] .date-month::before {
    content: 'JAN';
}

.archive-date time[title*="-02-"] .date-month::before {
    content: 'FEB';
}

.archive-date time[title*="-03-"] .date-month::before {
    content: 'MAR';
}

.archive-date time[title*="-04-"] .date-month::before {
    content: 'APR';
}

.archive-date time[title*="-05-"] .date-month::before {
    content: 'MAY';
}

.archive-date time[title*="-06-"] .date-month::before {
    content: 'JUNE';
}

.archive-date time[title*="-07-"] .date-month::before {
    content: 'JUL';
}

.archive-date time[title*="-08-"] .date-month::before {
    content: 'AUG';
}

.archive-date time[title*="-09-"] .date-month::before {
    content: 'SEP';
}

.archive-date time[title*="-10-"] .date-month::before {
    content: 'OCT';
}

.archive-date time[title*="-11-"] .date-month::before {
    content: 'NOV';
}

.archive-date time[title*="-12-"] .date-month::before {
    content: 'DEC';
}

@media (min-width: 768px) {
.archive-entry {
    width: 48%;
}
.archive-entry:nth-child(even) {
    margin-left: 4%;
}
}

.archive-entry-tag .archive-entry-tag-link {
    background: none;
    margin: 0;
}

.archive-entry-tag .archive-entry-tag-link:hover {
    background: none;
    box-shadow: inset 2px 2px 4px var(--shadow-darkcolor), inset -2px -2px 4px var(--shadow-brightcolor);
}

.page-archive .entry-thumb-link {
    margin: 0 0 20px;
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 3px 3px 5px var(--shadow-darkcolor), -3px -3px 5px var(--shadow-brightcolor);
}

.page-archive .entry-thumb:hover {
    transform: scale(1.05);
}

.archive-entry {
    padding: 45px 25px 0;
    margin-bottom: 25px;
    border-radius: 25px;
    box-shadow: 0 0 2px 2px var(--shadow-brightcolor), inset 2px 2px 4px var(--shadow-darkcolor), 0 0 9px var(--shadow-darkcolor), 4px 4px 6px var(--shadow-darkcolor), -4px -4px 6px var(--shadow-brightcolor), 5px 16px 14px var(--shadow-darkcolor), -8px -11px 13px var(--shadow-brightcolor);
}

.entry-title {
    padding: 0 0 1em;
    margin: 0;
}

span.social-buttons {
    margin-top: .8em;
}

archive-category-link {
    background: #f7f8f8;
    border-radius: 10px;
    box-shadow: 5px 7px 5px #e0e0e0, -7px -5px 7px var(--shadow-brightcolor);
    display: block;
}

@media (min-width: 768px) {
#box2-inner {
    display: flex;
    flex-wrap: wrap;
    margin: 0 40px;
    border-radius: 20px;
    box-shadow: inset 1px 1px 3px var(--shadow-darkcolor), inset -1px -1px 3px var(--shadow-brightcolor), 5px 5px 10px var(--shadow-darkcolor), -5px -5px 10px var(--shadow-brightcolor);
}
}

@media (min-width: 992px) {
    #box2-inner {
        margin: 0 0 40px;
        padding: 20px;
    }
    .hatena-module {
        width: 100%;
        padding: 0;
    }

}

.hatena-module-title {
    color: #555;
    border-bottom: solid 2px;
}

.star-container {
    padding-right: .5em;
}

.page-archive .archive-entry .archive-date a:hover {
    text-decoration: underline;
    color: #555;
}

.entry-title-link {
    color: #555;
    display: block;
}

.entry-title-link:hover {
    text-decoration: underline;
    color: #555;
}
.archive-entry-tag .archive-entry-tag-link {
    margin-bottom: .5em;
    padding: .2em 1em;
    color: #555;
    font-size: .75em;
    border-radius: 20px;
    box-shadow: 3px 3px 5px var(--shadow-darkcolor), -3px -3px 5px var(--shadow-brightcolor);
}

.page-archive .categories a:nth-child(n+2) {
    display: none;
}

/***グローバルナビゲーション***/
.g-nav {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.g-nav li a {
    display: block;
    padding: .8em 0;
    color: #333;
    font-weight: bold;
}

.g-nav li {
    width: 100%;
}

.g-nav li a:hover {
  color: #4ab7ea;
  box-shadow: inset  5px 5px 10px var(--shadow-darkcolor),inset  -5px -5px 10px var(--shadow-brightcolor);
}

@media (max-width: 767px) {
  #nav-drawer {
      position: fixed;
      top: 10px;
      right: 10px;
      z-index: 9999;
  }

.nav-unshown {
  display:none;
}

#nav-open {
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: 1;
    background: var(--theme-color);
    padding: .5em;
    border-radius: 6px;
    color: #2a2922;
    font-weight: bold;
    box-shadow: 0 0 2px 2px var(--shadow-brightcolor), inset 2px 2px 4px var(--shadow-darkcolor), 0 0 9px var(--shadow-darkcolor), 4px 4px 6px var(--shadow-darkcolor), -4px -4px 6px var(--shadow-brightcolor), 3px 3px 6px var(--shadow-darkcolor), -3px -3px 6px var(--shadow-brightcolor);
}

.g-nav-icon {
    font-size: 25px;
}

.mini-text {
    font-size: 10px;
}

#nav-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}

#nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 85%;
    max-width: 500px;
    height: 100%;
    background: #fff;
    transition: .3s ease-in-out;
    -webkit-transform: translateX(-130%);
    transform: translateX(-130%);
}

#nav-input:checked ~ #nav-close {
  display: block;
  opacity: .5;
}

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

.nav-close {
    text-align: center;
    display: flex;
    flex-direction: column;
    padding: 1em;
    font-size: .85rem;
    font-weight: bold;
    letter-spacing: .05em;
    line-height: 1;
}

.nav-close i {
    font-size: 2rem;
}
}

@media (min-width: 768px) {
  #nav-input, .nav-close {
      display: none;
  }
  #nav-content {
      position: relative;
      box-shadow: 0 0 2px 2px var(--shadow-brightcolor), inset 0 2px 4px var(--shadow-darkcolor), 0 0 9px var(--shadow-darkcolor), 0 4px 6px var(--shadow-darkcolor), 0 -4px 6px var(--shadow-brightcolor), 0 10px 12px var(--shadow-darkcolor), 0 -8px 11px var(--shadow-brightcolor);
  }
  #nav-open {
    display: none;
  }
  .g-nav {
      display: flex;
      justify-content: space-around;
      margin: 0 auto;
      padding: 0;
      max-width: 1200px;
  }
  .g-nav li a {
      color: #555;
      font-size: .85rem;
      box-shadow: inset 0 0 0 1px var(--shadow-darkcolor);
  }
}
/***シェアボタン***/

.sharebtn {
    margin: 0 0 1em 0;
}

.sharebtn a {
    display: block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    box-sizing: border-box;
}

.sharebtn a i {
    margin: 0;
    font-size: 25px;
    line-height: 48px;
}

.sharebtn .btn_fb {
    background: #1877f2;
}

.sharebtn .btn_tw {
    background: #1da1f2;
}

.sharebtn .btn_po {
    background: #ee4056;
}

.sharebtn .btn_hb {
    background: #00a4de;
}

.sharebtn .btn_li {
    background: #06c755;
}

.sharebtn_item a:not(:hover) {
    box-shadow: 4px 4px 8px var(--shadow-darkcolor), -4px -4px 8px var(--shadow-brightcolor);
}

.sharebtn a:hover {
    color: #fff;
}

.sharebtn .blogicon-bookmark {
    font-size: 33px;
    line-height: 1.3em;
    vertical-align: -11%;
}

.sharebtn_list {
    padding: 0;
    list-style: none;
    display: flex;
    margin: 1em 0 2em;
}

.sharebtn_item:not(:last-child) {
    margin-right: 8px;
}


/***ボーダーボタン***/

.sharebtn .bd:not(:hover) {
    background: none;
    border: solid 1px;
    box-shadow: 3px 3px 6px var(--shadow-darkcolor), -3px -3px 6px var(--shadow-brightcolor);
}

.sharebtn a.bd:hover {
    color: #fff;
    opacity: 1;
}

.sharebtn .btn_fb.bd {
    color: #1877f2;
}

.sharebtn .btn_tw.bd {
    color: #1da1f2;
}

.sharebtn .btn_po.bd {
    color: #ee4056;
}

.sharebtn .btn_hb.bd {
    color: #00a4de;
}

.sharebtn .btn_li.bd {
    color: #06c755;
}

.sharebtn .btn_li:hover {
    box-shadow: inset 5px 5px 9px #05a948, inset -5px -5px 9px #07e562;
}

.sharebtn .btn_po:hover {
    box-shadow: inset 5px 5px 9px #ca3649, inset -5px -5px 9px #ff4a63;
}

.sharebtn .btn_tw:hover {
    box-shadow: inset 5px 5px 9px #1989ce, inset -5px -5px 9px #21b9ff;
}

.sharebtn .btn_fb:hover {
    box-shadow: inset 5px 5px 9px #1465ce, inset -5px -5px 9px #1c89ff;
}

.sharebtn .btn_hb:hover {
    box-shadow: inset 5px 5px 9px #008bbd, inset -5px -5px 9px #00bdff;
}

/***おすすめ記事***/
.c_recommend-container {
    margin: 0;
    padding: 0 2.5vw 1em;
}
#top-editarea .c_recommend-container {
    box-shadow: rgba(0,0,0,.1) 0px 4px 6px -1px, rgba(0,0,0,.06) 0px 2px 4px -1px;
    box-shadow: var(--shadow1-color) 0px 4px 6px -1px, var(--shadow2-color) 0px 2px 4px -1px;
}
.c_recommend {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0!important;
    list-style: none;
}
.c_recommend-item {
    width: 50%;
    padding: .7em;
    border-radius: 10px;
    box-sizing: border-box;
}
.c_recommend-thumb {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 10px;
    box-shadow: 5px 5px 10px var(--shadow-darkcolor), -5px -5px 10px var(--shadow-brightcolor);
}
.c_recommend-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
    transition: .5s;
    -webkit-transform: scale(1.01);
    transform: scale(1.01);
}
.c_recommend-item:hover .c_recommend-img {
    transform: scale(1.06);
    opacity: .8;
}
.entry .c_recommend-link {
    text-decoration: none;
}

.c_recommend-item-title {
    display: block;
    color: #555;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
    padding: .5em 0 0;
}
@media (min-width: 600px) {
  .c_recommend-item-title {
    font-size: 1rem;
}
}
@media (min-width: 768px) {
  .g-nav {
    margin: 0 auto;
}
.c_recommend-container {
    padding-top: 2em;
}
  .c_recommend-item {
    width: 25%;
    padding-bottom: 0;
}
  .entry .c_recommend-item {
    width: 33.3%;
    padding: .7em;
}
}
.entry .c_recommend-container {
    padding: 0;
    margin: 1em -.5em 0;
}

.hatena-module-html .c_recommend-container {
    padding: 0;
}

.hatena-module-html .c_recommend-item {
    width: 50%;
    padding-bottom: 1em;
}

.hatena-module-html .c_recommend-item-title {
    font-size: 14px;
}

.hatena-module-html .c_recommend-item:nth-child(odd) {
    padding-left: 0;
}

.hatena-module-html .c_recommend-item:nth-child(even) {
    padding-right: 0;
}

/***おすすめ記事カード型***/
.c_recommend-thumb.card, .c_recommend-thumb .c_recommend-img {
    border-radius: 10px 10px 0 0;
    box-shadow: none;
}
.c_recommend-item-body.card {
    padding: 0 .5em .5em;
}
.c_recommend-item.card, .entry .c_recommend-item.card {
    padding: 0;
    width: 47%;
    margin: 0 1.5% 1.5em;
    box-shadow: 5px 5px 10px var(--shadow-darkcolor), -5px -5px 10px var(--shadow-brightcolor);
}
@media (min-width:768px) {
.c_recommend-item.card {
    margin: 0 1% 2em;
    width: 23%;
}
.entry .c_recommend-item.card {
    width: 30%;
    margin: 0 1.66% 2em;
}
#top-editarea .c_recommend-item {
    margin-bottom: 0;
}
}
.hatena-module-html .c_recommend {
    justify-content: space-between;
}
.hatena-module-html .c_recommend-item.card {
    width: 46%;
    margin-bottom: 1.5em;
}

.urllist-item.recent-entries-item, .urllist-item.entries-access-ranking-item, .urllist-item.related-entries-item {
    position: relative;
    margin-bottom: 1em;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 3px 3px 6px var(--shadow-darkcolor), -3px -3px 6px var(--shadow-brightcolor);
    transition: .15s;
}

.urllist-see-more-link {
    display: inline-block;
    margin: .5em 0;
    padding: .3em 1em;
    border-radius: 20px;
    box-shadow: 0 0 0 1px var(--shadow-darkcolor), 4px 4px 8px var(--shadow-darkcolor), -4px -4px 8px var(--shadow-brightcolor);
}

.search-form {
    padding: 0 1em;
    border: none;
    border-radius: 20px;
    box-shadow: inset 3px 3px 6px var(--shadow-darkcolor), inset -3px -3px 6px var(--shadow-brightcolor);
}

.search-module-input {
    padding: .5em;
}

.hatena-module-profile .hatena-module-body {
    padding: 2em;
    border-radius: 6px;
    box-shadow: inset 4px 4px 8px var(--shadow-darkcolor), inset -4px -4px 8px var(--shadow-brightcolor);
}

.urllist-item.recent-entries-item:hover, .urllist-item.entries-access-ranking-item:hover, .urllist-item.related-entries-item:hover {
    box-shadow: inset -3px -3px 6px var(--shadow-brightcolor), inset 3px 3px 6px var(--shadow-darkcolor);
}

.urllist-item.recent-entries-item:hover .urllist-image, .urllist-item.entries-access-ranking-item:hover .urllist-image, .urllist-item.related-entries-item:hover .urllist-image {
    box-shadow: 0 0 0 1px var(--shadow-darkcolor), 3px 3px 6px var(--shadow-darkcolor), -3px -3px 6px var(--shadow-brightcolor);
}

.urllist-item.recent-entries-item .urllist-image:hover, .urllist-item.entries-access-ranking-item .urllist-image:hover, .urllist-item.related-entries-item .urllist-image:hover {
    box-shadow: none;
}

.urllist-item.recent-entries-item:hover .urllist-category-link, .urllist-item.entries-access-ranking-item:hover .urllist-category-link, .urllist-item.related-entries-item:hover .urllist-category-link {
    box-shadow: 0 0 0 1px var(--shadow-darkcolor), 3px 3px 6px var(--shadow-darkcolor), -3px -3px 6px var(--shadow-brightcolor);
}

.urllist-see-more-link:hover {
    box-shadow: inset 0 0 0 1px var(--shadow-darkcolor), inset 2px 2px 4px var(--shadow-darkcolor), inset -2px -2px 4px var(--shadow-brightcolor);
}

.hatena-module-profile .profile-icon:hover {
    box-shadow: 2px 2px 4px var(--shadow-darkcolor), -2px -2px 4px var(--shadow-brightcolor), inset 3px 3px 6px var(--shadow-darkcolor), inset -3px -3px 6px var(--shadow-brightcolor), 2px 2px 4px var(--shadow-darkcolor), -2px -2px 4px var(--shadow-brightcolor);
}

.hatena-urllist .urllist-item .urllist-category-link:hover {
    box-shadow: none;
}

/***階層化デザイン修正コード***/
.hatena-module-category ul li.on-border {
    border: none!important;
}

body {
    background: #f5f5f5;
}

/* 共通の非表示設定 */
.hatena-module-related-entries,
.archive-entry-tags,
.page-archive .archive-entry .archive-entry-body {
    display: none;
}

/* 目次モジュール: #stoc-module の整理 */
#stoc-module {
    backface-visibility: hidden;
}
#stoc-module.tracking {
    margin-bottom: 0;
}
#stoc-module.fixed {
    position: fixed;
}
#stoc-module.absolute {
    position: absolute;
}
#stoc-module.sticky {
    position: sticky;
    position: -webkit-sticky;
}
#stoc-module.fade-in {
    animation: a .3s;
}
@keyframes a {
    0% { opacity: 0; }
    to { opacity: 1; }
}

/* 目次本体: #stoc の整理 */
#stoc {
    overflow-y: auto;
}
#stoc.shadow {
    /* グラデーションプロパティの短縮化は難しいため、そのまま維持 */
    background: radial-gradient(farthest-side at top, rgba(0,0,0,.17), transparent) top / 100% 11px, 
                radial-gradient(farthest-side at bottom, rgba(0,0,0,.17), transparent) bottom / 100% 11px;
    background-repeat: no-repeat;
    background-attachment: scroll;
}
#stoc ol {
    margin: 0;
    padding: 0 0 0 1em;
    list-style-type: none;
}
#stoc > ol {
    padding-left: 0;
}
#stoc.shadow > ol {
    background: linear-gradient(#fff 30%, transparent) top / 100% 40px, 
                linear-gradient(transparent, #fff 70%) bottom / 100% 40px;
    background-repeat: no-repeat;
    background-attachment: local;
    overflow-y: hidden;
}
#stoc a {
    padding: 2px 2px 2px 6px;
    display: block;
    text-decoration: none;
}
#stoc .active,
#stoc:not(.touch) a:hover {
    background-color: rgba(0,0,0,.05);
}

/* スクロールバーの整理 (ベンダープレフィックスは必須) */
#stoc::-webkit-scrollbar {
    width: 8px;
    background: #ececec;
}
#stoc::-webkit-scrollbar-button {
    display: none;
}
#stoc::-webkit-scrollbar-thumb {
    background: #b1b1b1;
}

/* その他 */
[tabindex="-1"]:focus {
    outline: 0;
}
html {
    scroll-behavior: smooth;
}
img.hatena-fotolife {
    pointer-events: none;
}
.entry-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 1.8em;
    letter-spacing: 0;
}

/* ブログタイトルの整理 */
#blog-title {
    margin: 10px auto 5px;
    padding: 0;
}

---

### 📱 メディアクエリの統合と整理

複数のメディアクエリを一つに統合し、対象要素をまとめて記述します。

```css
@media (max-width: 768px) {
    /* 以前の @media screen and (max-width: 768px) の内容 */
    .fixed-button {
        display: none;
    }
}

@media (max-width: 480px) {
    /* 以前の @media(max-width:480px) の内容を整理 */
    #blog-title-inner,
    #title a {
        height: 5pc !important;
        width: auto;
    }
    #blog-title-inner {
        background-size: contain !important;
    }
}

/*==============================================
　global navigation bar (top)
================================================*/
ul.navi-top, ul.navi-top a {
        color:white;/*文字の色*/
        background-color:silver;/*メニューバーの背景色*/}

ul.navi-top a:hover {
        color:white;/*マウスオーバーの時の文字の色*/
        background-color:grey;/*マウスオーバーの時の背景色*/}

ul.navi-top {
	position:fixed;
	left:0;
	top:0;
   	margin: 0;
   	padding:0;
	font-size:14px;
	width:100%;
	text-align:center;
	z-index:50;}/*重なり順*/

/*1階層目*/
ul.navi-top li {
	width: 125px;/*１階層目の幅*/
   	display: inline-block;
   	list-style-type: none;
   	position: relative;}

ul.navi-top a {
   	line-height: 36px;/*メニューバーの高さ*/
   	text-align: center;/*文字位置中央寄せ*/
	padding-left:10px;
   	text-decoration: none;
   	font-weight: nomarl;
   	display: block;}

/*２階層目*/
ul.navi-top ul {
       display: none;
       margin:0px;
       padding:0px; 
       position: absolute;}

ul.navi-top ul a{
       width:125px;/*２階層目の幅*/}
ul.navi-top li:hover ul {
       display: block;}
       
       /*スマホの時は上部グローバルメニューは表示しない*/
@media(max-width: 767px){
    .navi-top{display:none; }
}

/*スマホ以外*/
@media(min-width: 768px){

/*上部メニュー固定の時の内部リンクのズレ解消*/
@-webkit-keyframes modify{
      0% { padding-top: 50px; margin-top: -50px; }
    100% { padding-top: 0; margin-top: 0; }
}
@keyframes  modify{
      0% { padding-top: 50px; margin-top: -50px; }
    100% { padding-top: 0; margin-top: 0; }
}
:target {
    -webkit-animation: modify 0.1s;
    animation: modify 0.1s;}
/*スマホ以外→終わり*/ }

/* 検索窓（ボタン/インプット）のコンテナ要素に対する調整 */
.navi-top .search-area {
    /* 必要に応じて、liと同じように inline-block で配置を調整 */
    display: inline-block;
    /* 他の li 要素と視覚的に同じマージンを適用 */
    margin: 0 5px; 
}

/* 検索窓（ボタン部分）に対する調整 */
/* 検索ボタンまたは検索窓の入力フィールドとボタン全体を指すクラス名に置き換えてください */
.navi-top .search-input,
.navi-top .search-button {
    /* 1. 背景色と文字色を他のナビゲーションに統一 */
    background-color: silver !important;
    color: white !important;
    
    /* 2. 高さの統一 */
    line-height: 36px !important; /* 他のリンクの高さに合わせる */
    height: 36px !important;
    
    /* 3. 形状を統一（丸みや影を削除） */
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    
    /* 4. パディングを他のリンク a と合わせる */
    padding: 0 15px !important;
    
    /* その他の強制調整 */
    float: none !important; /* フロート指定を解除 */
    display: inline-block !important; /* 横並びを確保 */
}

/* === 展開メニュー === */

ul.menu-second-level {
    visibility: hidden;
    opacity: 0;
    z-index:1;}

ul.menu-second-level li a{
    border-top:1px dashed #a9a9a9;/*展開の枠点線*/
        font-size:15px;/*展開メニューの文字サイズ*/
        line-height:30px;/*文字の縦幅*/}

.menu-second-level li a:hover {
    height:100%;
    background: lightgrey;/*マウスオーバーの色*/}

li.menu-width-max ul.menu-second-level {
    position: absolute;
    bottom: 47px;/*高さ*/
    left: 0;
    box-sizing: border-box;
    width: 100%;
    padding:0;}

li.menu-width-max:hover ul.menu-second-level {
    bottom: 47px;/*高さ*/
    visibility: visible;
    opacity: 1;}

li.menu-width-max ul.menu-second-level li {
    float: left;
    width: 100%;
    border: none;}

/*PC表示の際はボトムメニューは表示しない*/
@media(min-width: 768px){
    .bottom-menu{display:none; }
}

/*スマホの時だけ*/
@media(max-width: 767px){ 

/*ボトムメニュー付けたのでフッタを底上げする*/
#footer{margin-bottom:48px;}
}

<style>
/*隠すボタン*/
.show-button-block{
    text-align:center;          /*ボタンを中央揃えに*/
}
.show-button{
    display: inline-block;
    border: 2px solid black;    /*ボタンの枠の太さ・色*/
    border-radius: 5px;         /*ボタンに丸み*/
    padding: 10px 15px;         /*サイズ*/
    background: black;          /*背景色*/
    color: white;               /*文字色*/
    cursor: pointer;            /*カーソルポインターに*/
}
.show-button:hover{
    background: white;          /*背景色*/
    color: black;               /*文字色*/
    transition: .3s;            /*ぼんやりと変化*/
}
.hide-area{
    display: none;              /*隠しエリアの表示*/
}
</style>

/* 記事上ソーシャルボタン 上部の余白 */
.sns-tag-cloud {
   margin: 30px 0 10px 0;
}

/* 記事下ソーシャルボタン 下部の余白 */
.sns-tag-cloud-under {
   margin: 0px 0 30px 0;
}

/* SNSシェアボタン */
.sns-tag-cloud {
   padding-inline-start: 0px;
font-size: 12px;
font-weight: bold;
}

.sns-tag-cloud-under {
   padding-inline-start: 0px;
font-size: 12px;
font-weight: bold;
text-align:center;
}

a.sns-tag-cloud-hatenab {
	display: inline-block;
padding: 10px;
margin:3px;
	line-height: 1;
	text-decoration: none;
color: #00A4DE;
border: 1.5px solid;
border-color: #00A4DE;
border-radius: 3px;
}
a.sns-tag-cloud-hatenab:hover {
background: #00A4DE; 
color: #fff; 
}

a.sns-tag-cloud-facebook {
	display: inline-block;
padding: 10px;
margin:3px;
	line-height: 1;
	text-decoration: none;
	color: #4064AC;
border: 1.5px solid;
border-color: #4064AC;
border-radius: 3px;
}
a.sns-tag-cloud-facebook:hover {
background: #4064AC; 
color: #fff; 
}

a.sns-tag-cloud-twitter {
	display: inline-block;
padding: 10px;
margin:3px;
	line-height: 1;
	text-decoration: none;
	color: #1DA1F2;
border: 1.5px solid;
border-color: #1DA1F2;
border-radius: 3px;
}
a.sns-tag-cloud-twitter:hover {
background: #1DA1F2; 
color: #fff; 
}

a.sns-tag-cloud-pocket {
	display: inline-block;
padding: 10px;
margin:3px;
	line-height: 1;
	text-decoration: none;
	color: #EF4056;
border: 1.5px solid;
border-color: #EF4056;
border-radius: 3px;
}
a.sns-tag-cloud-pocket:hover {
background: #EF4056; 
color: #fff; 
}

a.sns-tag-cloud-line {
	display: inline-block;
padding: 10px;
margin:3px;
	line-height: 1;
	text-decoration: none;
	color: #21BA4E;
border: 1.5px solid;
border-color: #21BA4E;
border-radius: 3px;
}
a.sns-tag-cloud-line:hover {
background: #21BA4E; 
color: #fff; 
}

/***おすすめ記事デザインシンプル***/
[class^="recommend"] {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.recommend-container {
    padding: 20px 1vw 0;
    background: transparent;
}
.recommend-wrap {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
}
.recommend-item {
    width: 50%;
}
.recommend-figure {
    margin-bottom: 10px;
    padding-top: 52.5%;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
.recommend-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    transition: .3s ease-in-out;
}
.recommend-title {
    display: block;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    line-height: 1.4;
    margin: 10px 0 20px;
}
.recommend-link {
    text-decoration: none;
    color: #454545!important;
    display: block;
    padding: 0 1.2vw 1vw;
}
@media (min-width: 992px) {
    .recommend-container {
        padding: 20px 20px 0;
    }
    .recommend-item {
        width: 25%;
    }
    .recommend-link {
        padding: 0 8px 8px;
    }
}
.recommend-link:hover .recommend-figure img {
    transform: scale(1.05);
}
.recommend-figure::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.2);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
    transition: .2s ease-in-out;
}
.recommend-link:hover .recommend-figure::before {
    opacity: 1;
}
/***ここまでおすすめ記事デザインシンプル***/

.urllist-with-thumbnails li {
    transition: .3s; /*変化するまでの時間*/
}
.urllist-with-thumbnails:hover{	
    transform: translateY(-4px); /*上に4px移動*/
    box-shadow: 0 4px 4px rgba(0,0,0,.2); /*影の距離　ぼかし幅　色*/
}

article u{

    text-decoration: none;

    background: linear-gradient(transparent 50%, #ffff00 50%);

}

/*-------------*/
/*  追尾する目次  */
/*-------------*/
#stoc-module {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
#stoc-module.tracking {
  margin-bottom: 0;
}
#stoc-module.fixed {
  position: fixed;
}
#stoc-module.absolute {
  position: absolute;
}
#stoc-module.sticky {
  position: -webkit-sticky;
  position: sticky;
}
#stoc-module.fade-in {
  animation: fadeIn 300ms;
}
@keyframes fadeIn {
  0% {opacity: 0}
  100% {opacity: 1}
}

#stoc {
  overflow-y: auto;
}
#stoc.shadow {
  /* Shadows */
  background:
    radial-gradient(farthest-side at top, rgba(0,0,0,.17), transparent) top / 100% 11px,
    radial-gradient(farthest-side at bottom, rgba(0,0,0,.17), transparent) bottom / 100% 11px;
  background-repeat: no-repeat;
  background-attachment: scroll;
}
#stoc ol {
  margin: 0;
  padding: 0 0 0 1em;
  list-style-type: none;
}
#stoc > ol {
  padding-left: 0;
}
#stoc.shadow > ol {
  /* Shadow covers */
  background:
    linear-gradient(#fff 30%, transparent) top / 100% 40px,
    linear-gradient(transparent, #fff 70%) bottom / 100% 40px;
  background-repeat: no-repeat;
  background-attachment: local;
  overflow-y: hidden;
}
#stoc li {
  /* margin: 3px 0; */
}
#stoc a {
  padding: 2px 2px 2px 6px;
  display: block;
  text-decoration: none;
  /* color: #777; */
}
#stoc:not(.touch) a:hover {
  background-color: rgba(0,0,0,.05);
  /* text-decoration: underline; */
  /* color: #222; */
}
#stoc .active {
  background-color: rgba(0,0,0,.05);
  /* color: #222; */
}

#stoc::-webkit-scrollbar {
  width: 8px;
  background: #ececec;
}
#stoc::-webkit-scrollbar-button {
  display: none;
}
#stoc::-webkit-scrollbar-thumb {
  background: #b1b1b1;
}

[tabindex="-1"]:focus {
  outline: 0;
}

#stoc a {
  color: #カラーコード;
}
/* マウスカーソルをあわせた時 */
#stoc:not(.touch) a:hover {
  color: #カラーコード;
}
/* 現在位置 */
#stoc .active {
  color: #カラーコード;
}

/* 訪問済みのリンクの色（一色だけにしたい場合は指定しない　※テーマによる） */
#stoc a:visited {
  color: #カラーコード;
}

/* 目次の表示非表示　*/
.show-area{
display: inline-block;
padding: 10px;
border-radius: 5px;
cursor: pointer;
margin-bottom: 0;
}


.entry-content h5 {
color:#3D3F44;
position: relative;
padding-left: 1.2em;
line-height: 1.4;
margin:20px 0 8px 0;
}
.entry-content h5:before{
font-family: “Font Awesome 5 Free”;
content: ‘\f35a\00a0’;
color: #3f3f3f;
position: absolute;
font-size: 1em;
left: 0;
top: 0;
}

/* 検索窓（スマホ設定） */
/* デフォルトでは非表示 */
.top_hatena-module {
  display: none;
}

/* スマホ（幅768px以下）でのみ表示 */
@media screen and (max-width: 768px) {
  .top_hatena-module {
    display: block;
  }
}

@media (max-width:767px){ /*スマホのみに反映させる*/
.hatena-module-search-box  .search-form {
  width: 55%; /*横幅*/
  margin: 0 auto; /*上下左右の位置調整*/
  margin-bottom: -10px; /*下の余白*/
  border: 2px solid #000000; /*囲い枠*/
  border-radius: 30px; /*囲い枠の丸み*/
  background: #FFFFFF; /*検索窓内の背景色*/
   }
}
/* 検索フォームを中央寄せ */
.top_hatena-module-body {
  display: flex;
  justify-content: center;
}

/* ======================================== 
   1. 固定ボタンコンテナのスタイル
   ======================================== */
.fixed-button {
    /* 固定位置の定義 */
    position: fixed;
    right: 20px;
    bottom: 78px;
    z-index: 9999;
    
    /* 初期状態 */
    width: 48px;
    height: 48px;
    background-color: #f5f5f5;
    color: #333;
    /* --- 修正: 正方形の丸角に変更 --- */
    border-radius: 12px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    overflow: hidden; /* テキストが外に出ないように隠す */
    
    /* 下線の削除を強制 */
    text-decoration: none !important;
    
    /* アニメーション設定 */
    transition-property: width, min-width, background-color, box-shadow, transform, border-radius, padding;
    transition-duration: 0.3s;
    transition-timing-function: ease-out; 
    transition-delay: 0.2s; /* 縮小時（ホバー解除時）の遅延 */
    
    /* Flexboxで配置 */
    display: flex; 
    align-items: center;
    justify-content: center; /* アイコンのみが可視なので中央に配置される */
    
    /* テキストスタイル（初期は非表示にするため文字サイズをゼロに） */
    font-size: 0; 
    font-weight: bold;
    white-space: nowrap;
    
    outline: none; 
    
    /* 脈動アニメーション */
    animation: breathe 2.5s ease-in-out infinite;
}

/* ホバー/フォーカス時（展開時）のスタイル */
.fixed-button:hover,
.fixed-button:focus-visible {
    width: auto;
    min-width: 160px;
    padding: 0 12px; /* 展開時のパディング */
    border-radius: 12px; 
    background-color: #e0e0e0;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
    animation: none;
    justify-content: start; /* 展開後はテキストを表示するため左寄せに */
    transition-delay: 0s; 
    outline: 2px solid #3b82f6; 
    outline-offset: 2px;
    
    /* --- 修正: ホバー時にテキストサイズを元に戻す --- */
    font-size: 16px; 
}

/* ======================================== 
   2. アイコン（疑似要素::before）のスタイル
   ======================================== */
.fixed-button::before {
    /* --- 修正: カラーを元に戻すため、color/filterの設定を削除 --- */
    content: "🌐"; /* オリジナルの地球絵文字 */
    /* color: inherit; <- 削除 */
    /* filter: grayscale(100%) contrast(1000%); <- 削除 */
    
    /* 絵文字のサイズ制御 */
    font-size: 24px;
    width: 24px; 
    height: 24px;
    display: flex; 
    align-items: center;
    justify-content: center;
    
    /* アイコンの幅を固定し、テキストに押し出されないようにする */
    flex-shrink: 0;
    flex-grow: 0;
    
    /* アイコンの移動トランジション */
    transition: transform 0.2s ease-out, margin-right 0.3s ease-out; /* filterのトランジションも削除 */
    
    /* --- 絵文字の視認性向上（text-shadowは維持）--- */
    /* text-shadowは前回の修正で削除済み */
}

/* 展開時のアイコンとテキストのスペース確保 */
.fixed-button:hover::before,
.fixed-button:focus-visible::before {
    margin-right: 8px; /* アイコンの右側にスペースを確保 */
}

/* ======================================== 
   3. テキストのスタイル (fixed-button直下のテキストノード)
   ======================================== */
/* HTMLタグがないため、親要素の fixed-button のスタイルを継承して制御します */

/* ホバー時のテキストのアニメーションを有効にするため、フォントサイズのトランジションを追加 */
.fixed-button {
    transition: all 0.3s ease-out; /* 他のトランジションをまとめる */
}

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 📱 スマートフォン非表示設定 (768px以下) */
@media screen and (max-width: 768px) {
    .fixed-button {
        display: none !important; 
    }
}

/*前後ボタン*/
.pager-prev{
  margin: auto 0 0 0;
}
.pager-next{
  margin: 0 0 0 auto;
}
.test-pager-prev{
  display: none;
}

/* ヘッダー全体のコンテナ */
#blog-header {
  border-bottom: double 5px black; /* 元の #blog-title の下線を移植 */
  position: relative; /* 疑似要素の基準点として */
}

/* トップページへのリンク付きタイトル */
#blog-header a {
  text-decoration: none; /* リンクの下線を削除 */
  color: inherit; /* 親要素の文字色を継承 */
}

/* タイトル部分 */
#blog-header h1 {
  position: relative;
  padding: 0.25em 1em;
  border-top: solid 2px black;
  border-bottom: solid 2px black;
  max-width: 50%;
  margin: auto;
  display: inline-block; /* リンクの幅をタイトルに合わせる */
}

/* 疑似要素による左右の装飾線 */
#blog-header h1:before,
#blog-header h1:after {
  content: '';
  position: absolute;
  top: -7px;
  width: 2px;
  height: calc(100% + 14px);
  background-color: black;
}
#blog-header h1:before { left: 7px; }
#blog-header h1:after { right: 7px; }

/* 説明部分を非表示 */
#blog-description { display: none; }

/*記事カテゴリ非表示*/
.entry-categories{display:none;} 

p.double-bottom {
  border-bottom: double;
  }

p.double-top {
  border-top: double;
  }
  /* 003 */
.button003 a {
    background: #eee;
    border-radius: 50px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 260px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
.button003 a:hover {
    background: #313131;
    color: #FFF;
}
.button003 a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #313131;
    border-right: 3px solid #313131;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.button003 a:hover:after {
    border-color: #FFF;
}

/*かんたんリンク*/
.easyLink-box {
    border: 2px solid #eaeaea !important;
    min-height: 200px;
}
@media screen and (max-width: 480px) {
.easyLink-box {
    margin: 20px auto 0 !important;
    max-width: 280px;
}
}
/*かんたんリンク画像*/
@media screen and (min-width: 481px) {
.easyLink-img {
    width: 180px !important;
    height: auto !important;
    min-height: 160px !important;
    margin: 0 !important;
}
}
@media screen and (max-width: 480px) {
.easyLink-img {
    overflow: hidden !important;
    height: 180px !important;
}
}
.easyLink-img-box {
    position: absolute !important;
    width: 160px !important;
    height: 160px !important;
    top: 50% !important;
    transform: translateY(-50%);
    margin: 0 auto !important;
}
.easyLink-img-box span > img {
    max-width: 160px !important;
    max-height: 160px !important;
    width: auto !important;
}
.easyLink-img-box > a > img {
    width: 30px !important;
    height: 30px !important;
}
@media screen and (max-width: 480px) {
.easyLink-img-box {
    width: 226px !important;
}
}
/*かんたんリンク右側*/
@media screen and (min-width: 481px) {
.easyLink-info {
    width: calc(100% - 180px) !important;
}
}
.easyLink-info-name {
    font-size: 15px !important;
    font-weight: bold !important;
    line-height: 1.5 !important;
}
.easyLink-info-name a {
    color: #197dd2 !important;
}
.easyLink-info-maker, .easyLink-info-model {
    font-size: 13px !important;
    color: #999;
}
.easyLink-info-btn a {
    font-size: 13px !important;
    line-height: 1.5 !important;
    width: auto !important;
    margin: 5px !important;
    padding: .5em 1em !important;
}
.easyLink-info-btn-amazon {
    background: #ffa724 !important;
}
.easyLink-info-btn-rakuten {
    background: #ff5f5f !important;
}
.easyLink-info-btn-yahoo {
    background: #39c0e0 !important;
}
@media screen and (min-width: 704px) {
.easyLink-info-name {
    font-size: 16px !important;
}
.easyLink-info-btn {
    margin: 20px -5px 0 !important;
}
.easyLink-info-btn a {
    font-size: 13.5px !important;
}
}
/*かんたんリンク大型*/
@media screen and (min-width: 704px) {
.easyLink-box:not(.easyLink-size-s) .easyLink-img {
    width: 260px !important;
    min-height: 240px !important;
}
.easyLink-box:not(.easyLink-size-s) .easyLink-img-box {
    width: 240px !important;
    height: 240px !important;
}
.easyLink-box:not(.easyLink-size-s) .easyLink-img-box span > img {
    max-width: 240px !important;
    max-height: 240px !important;
}
.easyLink-box:not(.easyLink-size-s) .easyLink-info {
    width: calc(100% - 280px) !important;
}
.easyLink-box:not(.easyLink-size-s) .easyLink-info-name {
    font-size: 18px !important;
}
.easyLink-box:not(.easyLink-size-s) .easyLink-info-btn a {
    width: calc(50% - 10px) !important;
    padding: 10px !important;
}
}

.entry-content h5 {
  border-left: 4px solid #333;
  padding-left: 0.5em;
}

/* 関連記事を可変型のカード風デザインにする */

*,*:before,*:after {
    box-sizing: border-box;
}

#main .hatena-urllist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5em;
}

#main .hatena-urllist li {
    padding: .5em 0;
    flex: 1 1 112px;
    display: flex;
    flex-direction: column;
    gap: .5em;
} 

#main .hatena-urllist li .urllist-image {
    aspect-ratio: 1.618 / 1;
    border-radius: 4px;
    float: none; /* テーマによってはタイトルリンクが潰れるため */
    margin: 0 0 .7em;
    object-fit: cover;
    transition: .2s ease-in-out;
    width: 100%;
}

#main .hatena-urllist li .urllist-title-link {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;  /* タイトルリンクの最大行数2 */
}

#main .hatena-urllist .urllist-entry-body {
    margin-top: .3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1; /* 記事本文の行数1 */ 
}
/* 節分・恵方ウィジェット用CSS */
iframe[src*="setsubun-eho"] {
    width: 100% !important;
    height: 240px !important;
    border: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* iframe内のスタイル（念のため） */
.setsubun-container * {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.setsubun-container html,
.setsubun-container body {
    width: 100% !important;
    min-width: 100% !important;
    height: 240px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

<!-- 
  ========================================
  CSSコード
  (管理画面の「デザインCSS」に貼り付け)
  ========================================
-->
<style>
/* --- 基本変数 --- */
:root {
  --bg-color: #ffffff;
  --text-color: #111111;
  --muted-color: #4b4b4b;
  --link-color: #1a56d6;
  --heading-color: #0b0b0b;
  --button-bg: rgba(255,255,255,0.95);
  --button-color: #111111;
  /* プロフィールカード用変数 */
  --card-bg: #ffffff;
  --card-border: #a0a0a0;
  --card-text: #555555;
  --profile-btn-bg: #282625;
  --profile-btn-text: #ffffff;
}

/* --- ダークモード時の変数上書き --- */
body.dark-mode {
  /* 背景を真っ黒(#000)から目に優しいダークグレー(#121212)に変更 */
  --bg-color: #121212;
  /* 文字色を真っ白から少し抑えてハレーション（まぶしさ）を防止 */
  --text-color: #e4e6eb;
  /* 補足テキストを見やすく調整 */
  --muted-color: #b0b3b8;
  /* リンク色を視認性の高いパステルブルーに変更 */
  --link-color: #8ab4f8;
  --heading-color: #ffffff;
  /* ボタン背景を半透明にして背景色と馴染ませる */
  --button-bg: #242526;
  --button-color: #e4e6eb;
  /* プロフィールカード用（ダーク） */
  /* カード背景をページ背景より少し明るくして階層感を出す */
  --card-bg: #242526;
  /* 境界線を色指定から半透明の白に変更し、自然な区切りに */
  --card-border: rgba(255, 255, 255, 0.1);
  --card-text: #e4e6eb;
  --profile-btn-bg: #8ab4f8; /* ボタンを明るい青にして視認性アップ */
  --profile-btn-text: #121212; /* ボタン内テキストは黒で見やすく */
}

/* --- 全体適用 --- */
body {
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
  transition: background-color 0.3s, color 0.3s; /* 切り替えをスムーズに */
  line-height: 1.6; /* 読みやすさのために行間を少し確保 */
}

a, a:visited {
  color: var(--link-color);
}

/* --- ダークモード切替ボタン --- */
#dark-toggle {
  position: fixed;
  left: 10px;
  top: 10px;
  z-index: 9999;
  width: 40px;
  height: 40px;
  border-radius: 50%; /* 完全な丸に変更してモダンに */
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--button-bg);
  color: var(--button-color);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

body.dark-mode #dark-toggle {
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

#dark-toggle:hover {
  transform: scale(1.1);
}

/* ========================================
  プロフィールカードのCSS修正版
  ========================================
*/
.design1-profile-wrap {
  margin: 50px auto; /* 表示確認用にマージン調整 */
  padding: 0;
  border-radius: 12px; /* 角丸を少し強めて柔らかく */
  border: solid 1px var(--card-border); /* 変数化 */
  max-width: 350px;
  background: var(--card-bg); /* 変数化 */
  transition: background-color 0.3s, border-color 0.3s;
  overflow: hidden; /* 角丸からはみ出ないように */
}

.design1-icon-link {
  color: var(--card-text) !important; /* 変数化 */
  text-decoration: none;
  display: block;
}

.design1-profile-wrap img {
  max-width: 100%;
  height: auto;
}

.design1-text-center {
  text-align: center;
  margin-bottom: 1.5em;
}

.design1-profile-body {
  padding: 0 1em;
}

.design1-profile-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--card-text); /* 変数化 */
}

.design1-profile_icon {
  margin: 1.5em 0 0.5em; /* マージン調整 */
  padding: 0;
  text-align: center;
}

.design1-profile_icon img {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border-radius: 50%;
  border: solid 4px var(--bg-color); /* 背景色と同じにしてなじませる */
  box-sizing: border-box;
  object-fit: cover;
  transition: border-color 0.3s;
}

.design1-name {
  font-weight: bold;
  font-size: 18px;
  color: var(--card-text); /* 変数化 */
  text-align: center;
  margin-top: 10px;
}

/* 詳しいプロフィールボタンの修正 */
.design1-about-link {
  display: inline-block;
  color: var(--profile-btn-text) !important;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  padding: .8em 2.5em; /* 押しやすく調整 */
  background: var(--profile-btn-bg); /* 変数で制御 */
  border-radius: 50px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  letter-spacing: 0.05em;
}

.design1-about-link:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none !important;
}

/* フォローボタン周り */
.follow-btn-container {
  padding-bottom: 24px;
}

.follow-label {
  font-weight: bold;
  font-size: 0.9em;
  text-align: center;
  line-height: 1.5;
  color: var(--muted-color); /* 少し色を落として落ち着かせる */
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.follow-btn-list {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 0;
}

.follow-btn-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 6px;
  color: #fff;
  font-size: 20px;
  border-radius: 50%;
  background: #a3a6a8; /* デフォルトの色 */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* フラット+影に統一 */
  text-decoration: none;
  transition: all 0.3s ease;
}

.follow-btn-item a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* ダークモード時のフォローボタン調整 */
body.dark-mode .follow-btn-item a {
  background: #3a3b3c; /* ダークモードでのデフォルト背景 */
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  color: #e4e6eb !important;
}
body.dark-mode .follow-btn-item a:hover {
  /* ホバー時は各ブランド色が出るようにJS等の個別クラス指定に委ねるか、ここで指定 */
  color: #fff !important;
}

/* アイコンの色指定（ホバー時に色が出るように変更して洗練させる） */
.follow-btn-item a.hatena:hover { background: #555; }
.follow-btn-item a.twitter:hover { background: #1da1f2; }
.follow-btn-item a.feedly:hover { background: #2bb24c; }

/* ダークモード時のホバー色 */
body.dark-mode .follow-btn-item a.hatena:hover { background: #666; }
body.dark-mode .follow-btn-item a.twitter:hover { background: #1da1f2; }
body.dark-mode .follow-btn-item a.feedly:hover { background: #2bb24c; }

</style>
<!-- FontAwesomeの読み込み（アイコン表示用） -->
<link href="https://use.fontawesome.com/releases/v5.15.4/css/all.css" rel="stylesheet">
</head>
<body>

<!-- ダークモード切替ボタン -->
<button id="dark-toggle" aria-label="ダークモード切替">☾</button>

<!-- ========================================
     STEP 1: CSS部分
     「デザイン」→「カスタマイズ」→「デザインCSS」に貼り付け
     ======================================== -->
<style>
.ai-summary-wrapper {
    margin: 0 0 40px 0;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.ai-summary-wrapper:hover {
    border-color: #4a90e2;
}

.ai-summary-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: background 0.3s ease;
}

.ai-summary-header:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8a 100%);
}

.ai-summary-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.ai-icon {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.toggle-icon {
    color: white;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.ai-summary-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f8f9fa;
}

.ai-summary-inner {
    padding: 0 20px;
}

.ai-summary-text {
    color: #2c3e50;
    font-size: 15px;
    line-height: 1.8;
    padding: 20px 0;
}

.ai-disclaimer {
    font-size: 13px;
    color: #6c757d;
    padding: 12px 20px;
    background: #fff;
    border-top: 1px solid #e1e8ed;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-disclaimer::before {
    content: "ℹ️";
    font-size: 14px;
}

.summary-toggle {
    display: none;
}

.summary-toggle:checked ~ .ai-summary-content {
    max-height: 1000px;
}

.summary-toggle:checked + .ai-summary-header .toggle-icon {
    transform: rotate(180deg);
}

/* 要約がない記事では非表示 */
.ai-summary-wrapper:not(:has(.ai-summary-text *)) {
    display: none;
}
</style>

/* --- ここから貼り付け（基本設定） --- */
:root {
  --bg-color: #ffffff;
  --text-color: #111111;
  --muted-color: #4b4b4b;
  --link-color: #1a56d6;
  --heading-color: #0b0b0b;
  --button-bg: rgba(255,255,255,0.95);
  --button-color: #111111;
  --card-bg: #ffffff;
  --card-border: #a0a0a0;
  --card-text: #555555;
  --profile-btn-bg: #282625;
  --profile-btn-text: #ffffff;
}

body.dark-mode {
  --bg-color: #121212;
  --text-color: #e4e6eb;
  --muted-color: #b0b3b8;
  --link-color: #8ab4f8;
  --heading-color: #ffffff;
  --button-bg: #242526;
  --button-color: #e4e6eb;
  --card-bg: #242526;
  --card-border: rgba(255, 255, 255, 0.1);
  --card-text: #e4e6eb;
  --profile-btn-bg: #8ab4f8;
  --profile-btn-text: #121212;
}

body {
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
  transition: background-color 0.3s, color 0.3s;
  line-height: 1.6;
}

a, a:visited { color: var(--link-color); }

/* ダークモード切替ボタンのデザイン */
/* --- ダークモード切替ボタン --- */
/* --- ダークモード切替ボタン --- */
#dark-toggle {
  /* スクロールしても追従する固定配置を維持 */
  position: fixed; 
  right: 15px; /* 右端からの距離 */
  
  /* トップの位置を微調整します（ヘッダーの中央に来るように調整） */
  /* サイトのヘッダーの高さを考慮し、ここでは top: 10px; に変更 */
  top: 2.5px; 
  
  z-index: 9999;
  width: 32px; /* サイズは維持 */
  height: 32px;
  border-radius: 50%; /* 円形を維持 */
  
  /* 円形のデザインをヘッダーに溶け込ませる形で復活させます */
  border: 1px solid rgba(0,0,0,0.1); /* 薄い枠線 */
  background: rgba(255, 255, 255, 0.7); /* 半透明の白い背景 */
  color: #555555; /* ライトモード時のアイコン色 */
  
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1); /* 小さな影 */
  transition: all 0.3s ease;
}

body.dark-mode #dark-toggle {
  /* ダークモード時も円形デザインを調整 */
  border: 1px solid rgba(255, 255, 255, 0.1); /* 薄い白い枠線 */
  background: rgba(36, 37, 38, 0.7); /* 半透明の暗い背景 */
  color: #ffffff; /* 白いアイコン色 */
  box-shadow: 0 1px 4px rgba(0,0,0,0.4); 
}

#dark-toggle:hover {
  /* ホバー時の装飾 (背景の透明度を少し上げる) */
  background: rgba(255, 255, 255, 0.9); 
  transform: scale(1.1); /* 拡大 */
}

body.dark-mode #dark-toggle:hover {
  /* ダークモード時のホバー装飾 */
  background: rgba(36, 37, 38, 0.9); 
}

/* プロフィールカードのデザイン */
.design1-profile-wrap {
  margin: 0 auto;
  padding: 0;
  border-radius: 12px;
  border: solid 1px var(--card-border);
  max-width: 350px;
  background: var(--card-bg);
  transition: background-color 0.3s, border-color 0.3s;
  overflow: hidden;
}
.design1-icon-link {
  color: var(--card-text) !important;
  text-decoration: none;
  display: block;
}
.design1-profile-wrap img { max-width: 100%; height: auto; }
.design1-text-center { text-align: center; margin-bottom: 1.5em; }
.design1-profile-body { padding: 0 1em; }
.design1-profile-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--card-text);
}
.design1-profile_icon { margin: 1.5em 0 0.5em; padding: 0; text-align: center; }
.design1-profile_icon img {
  width: 100px; height: 100px; margin: 0 auto;
  border-radius: 50%;
  border: solid 4px var(--bg-color);
  box-sizing: border-box;
  object-fit: cover;
  transition: border-color 0.3s;
}
.design1-name {
  font-weight: bold; font-size: 18px; color: var(--card-text);
  text-align: center; margin-top: 10px;
}
.design1-about-link {
  display: inline-block;
  color: var(--profile-btn-text) !important;
  text-align: center;
  text-decoration: none;
  font-weight: bold; font-size: 14px;
  padding: .8em 2.5em;
  background: var(--profile-btn-bg);
  border-radius: 50px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  letter-spacing: 0.05em;
}
.design1-about-link:hover {
  opacity: 0.9; transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* フォローボタン */
.follow-btn-container { padding-bottom: 24px; }
.follow-label {
  font-weight: bold; font-size: 0.9em; text-align: center;
  line-height: 1.5; color: var(--muted-color);
  margin-bottom: 12px; letter-spacing: 0.1em;
}
.follow-btn-list {
  list-style: none; display: flex; justify-content: center;
  flex-wrap: wrap; margin: 0 auto; padding: 0;
}
.follow-btn-item a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin: 0 6px;
  color: #fff; font-size: 20px;
  border-radius: 50%;
  background: #a3a6a8;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-decoration: none; transition: all 0.3s ease;
}
.follow-btn-item a:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.15); }
body.dark-mode .follow-btn-item a {
  background: #3a3b3c; box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  color: #e4e6eb !important;
}
.follow-btn-item a.hatena:hover { background: #555; }
.follow-btn-item a.twitter:hover { background: #1da1f2; }
.follow-btn-item a.feedly:hover { background: #2bb24c; }
body.dark-mode .follow-btn-item a.hatena:hover { background: #666; }
body.dark-mode .follow-btn-item a.twitter:hover { background: #1da1f2; }
body.dark-mode .follow-btn-item a.feedly:hover { background: #2bb24c; }

/* --- 視認性向上の追加修正 --- */
body.dark-mode img { filter: brightness(0.85); transition: filter 0.3s; }
body.dark-mode img:hover { filter: brightness(1); }
body.dark-mode table, body.dark-mode th, body.dark-mode td {
  border-color: rgba(255, 255, 255, 0.2) !important; color: var(--text-color);
}
body.dark-mode th { background-color: rgba(255, 255, 255, 0.1) !important; }
body.dark-mode tr:nth-child(even) { background-color: rgba(255, 255, 255, 0.03); }
body.dark-mode blockquote, body.dark-mode pre, body.dark-mode code {
  background-color: #1e1e1e !important; color: #e4e6eb !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
body.dark-mode .breadcrumb, body.dark-mode .pager a, body.dark-mode .date,
body.dark-mode .page-archive .archive-entry-title { color: var(--text-color) !important; }
body.dark-mode .hatena-module { color: var(--text-color); }
body.dark-mode input[type="text"], body.dark-mode textarea {
  background-color: #333 !important; color: #fff !important; border: 1px solid #555 !important;
}

/* 記事本文中のリンクの色設定 */

/* 未訪問/通常時: 黒 */
.entry-content a:link {
  color: #000000 !important; 
}

/* 訪問済み: 灰色 */
.entry-content a:visited {
  color: #808080 !important; 
}

/* マウスオーバー時: 灰色 */
.entry-content a:hover {
  color: #808080 !important; 
}

/* リンク */
.social-share-buttons {
  position: fixed;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 0;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  color: white !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  transition: transform 0.2s, opacity 0.2s, background-color 0.3s;
  cursor: pointer;
}

.share-btn:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.share-btn.facebook {
  background-color: #3b5998 !important;
}

.share-btn.twitter {
  background-color: #1da1f2 !important;
}

.share-btn.hatena {
  background-color: #00a4de !important;
  font-size: 13px;
}

.share-btn.pocket {
  background-color: #ef3f56 !important;
}

.share-btn.line {
  background-color: #00b900 !important;
}

.share-btn.copy {
  background-color: #666 !important;
}

.share-btn svg {
  width: 14px;
  height: 14px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .social-share-buttons {
    display: none;
  }
}


/* 新しいトップへ戻るボタン (はてなブログ向け) */
#custom-page-top {
  position: fixed;
  right: 20px;
  bottom: 15px;
  width: 48px;
  height: 48px;
  background: rgba(100, 100, 100, 0.7);
  color: white;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 999999;
  display: flex; /* 初期値としてflexを設定 */
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  border: none;
}

#custom-page-top.show {
  opacity: 1;
  visibility: visible;
}

#custom-page-top:hover {
  background: rgba(80, 80, 80, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#custom-page-top:active {
  transform: translateY(0);
}

/* 📱 スマートフォン非表示設定 (768px以下) */
/* はてなブログでは !important を多用せず、メディアクエリで display: none を設定するのが一般的です。 */
/* スムーズスクロールを有効にする */
html {
  scroll-behavior: smooth;
}

<style>
/* サイトカラーの定義を濃く修正 */
:root {
    --main-accent-color: #2a8a7c; /* 濃い青緑色 (前回より深く) */
    --light-border-color: #cccccc; /* 枠線を少し濃いグレーに */
    --active-text-color: #ffffff;
    --default-text-color: #444444; /* 文字色を濃いグレーに */
    --tab-background-default: #e9e9e9; /* 非アクティブなタブの背景を濃いグレーに */
    --container-background: #ffffff;
    --container-border: #bbbbbb; /* 枠線をさらに濃く */
}

/* ランキング全体を囲むコンテナ */
.ranking-tabs {
    border: 1px solid var(--container-border);
    border-radius: 6px;
    padding-bottom: 10px;
    background-color: var(--container-background);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 影を少し強調 */
}

/* タブのヘッダー */
.ranking-tab-header {
    display: flex;
    border-bottom: 1px solid var(--container-border);
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}

/* 個々のタブボタン */
.tab-button {
    background-color: var(--tab-background-default);
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 0;
    transition: all 0.3s ease;
    font-size: 1.05em;
    flex-grow: 1;
    text-align: center;
    color: var(--default-text-color);
    font-weight: 500;
    border-right: 1px solid #d0d0d0; /* ボタン間の仕切りを濃く */
}
.tab-button:last-child {
    border-right: none;
}
.tab-button:hover:not(.active) {
    background-color: #dcdcdc; /* ホバーでさらに濃く */
}

/* アクティブなタブボタン */
.tab-button.active {
    color: var(--active-text-color);
    background-color: var(--main-accent-color); /* 濃い青緑色 */
    border-right-color: var(--main-accent-color);
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

/* タブコンテンツ */
.tab-content {
    display: none;
    padding: 15px 10px;
    color: #333333;
}

.tab-content.active {
    display: block;
}
</style>

/*
  @mediaクエリ: 画面幅が767px以下の場合に適用
  一般的なモバイル/タブレットの境界線を使用
*/
@media screen and (max-width: 767px) {

  /* A. フォントサイズの調整 */
  body {
    /* ベースとなる文字サイズを読みやすい16pxに設定 */
    font-size: 16px;
    /* 行の高さを確保し、可読性を向上 */
    line-height: 1.6;
  }

  /* B. 画像の最適化 */
  /* 画像が画面からはみ出さないように最大幅を100%に設定 */
  img, video {
    max-width: 100%;
    height: auto; /* 縦横比を維持 */
  }

  /* C. レイアウトの変更（例: PCで横並びだった要素を縦に積み重ねる） */
  .header-menu,
  .footer-links,
  .three-column-layout {
    /* 横並びのレイアウトを解除し、要素を縦に並べる */
    display: block;
    /* 左右のパディングを調整し、端に文字がつきすぎないようにする */
    padding: 0 16px;
  }

  /* D. 特定のPC向け要素を非表示にする（任意） */
  .desktop-sidebar,
  .large-banner {
    display: none;
  }
}