/* <system section="theme" selected="26006613673444106"> */
/* <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=bed13cad2686a38a877be53eb2ba37") 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;
}
/* </system> */

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



/******************* 共通の部品(色・枠・角の丸み・速さ)ここから *******************/
/* トップページとフッタの色や効果は、ここの値を使う。変えるときはここだけ直す */
:root {
  --c-dark: #343838;      /* 濃い色：メニュー・ボタン */
  --c-text: #333;         /* 本文の文字 */
  --c-text-sub: #666;     /* 補足の文字 */
  --c-border: #ddd;       /* 外枠 */
  --c-line: #e5e5e5;      /* 内側の区切り線 */
  --c-hover: #f2f2f2;     /* 一覧・タブにカーソルを合わせた／押したときの背景 */
  --c-accent: #00DFFC;    /* アクセント(シアン)。白地では文字に使わず、線・面に使う */
  --c-link: #00798C;      /* 文字リンク(シアンを暗くした色。白地で5.1:1) */
  --c-accent-dark: #00B8D1; /* シアンのボタンにカーソルを合わせたとき(少し濃く) */
  --radius-box: 8px;      /* 枠で囲んだ箱 */
  --radius-small: 4px;    /* 画像・小さいボタン */
  --speed: .2s;           /* 効果が変わる速さ */
}
/* 効果の決まり(部品の種類ごとに1つ)
   カード・一覧・タブ：背景が --c-hover／ボタン：濃い地に白文字へ反転／文字リンク：下線
   カーソルを合わせたとき(:hover)と押した瞬間(:active)に、同じ効果を出す。
   「マウスの端末だけ」の条件(@media (hover: hover) や (any-hover: hover))は付けない。
   タッチ画面のパソコンでは、マウスがあっても両方 false になり、効果が出なくなるため(2026-11-16 確認) */
/******************* 共通の部品ここまで *******************/

/******************* ブログ全体設定ここから *******************/
#top-editarea * {
  pointer-events: auto !important;
}

/*** ページ最下の余白を消す：トップ ***/
.page-index .pager, .page-archive .pager {
    margin: 0em 0;
}
/*** ページ最下の余白を消す：記事 ***/
.pager {
    margin: 0em 0;
}

/*** サイドバーを消す ***/
#box2 {display: none !important; }

/*** 2カラムレイアウトを解除する（最重要） ***/
#content-inner {
  display: block !important;
}

/*** 新着記事一覧をPC表示で全幅にする ***/
@media screen and (min-width: 992px) {
#wrapper {
  width: 100% !important;
}
}
/*** 記事タイトル上下のマージン調整 ***/
.entry-header {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

/*** PC表示のトップページ最下の不自然なマージン除去 ***/
@media screen and (min-width: 768px) {
    #top-editarea {
        margin-bottom: 0em;
    }
}

/*** 右上の読者になるを非表示 ***/
.blog-controlls {
  display: none;
}

/*** 画像スライダーCSSここから ***/
/* 画像の右ずれ対策 */
ul.bxslider
{
margin: 0px !important;
padding: 0px !important;
}
/* ### 各種調整 ### */
.bx-wrapper {
  max-width: 1000px !important;
  margin: 0 auto !important;
}
.bxslider img{
  width: 100% !important;
  height: auto !important;
}
/*** 記事内スライダーの最大サイズ：元画像(800px)を超えて拡大せず、画面の高さの80%に収める ***/
.entry-content .bx-wrapper {
  max-width: min(800px, 80vh) !important;
}
/*** 記事内の単独画像：画面の高さの80%に収め、中央に置く ***/
/* 帯画像(高さ49〜60px)は対象外。新しい高さの帯画像を作ったら、:not() に足す */
.entry-content p > img.hatena-fotolife:not([height="49"]):not([height="50"]):not([height="51"]):not([height="60"]),
.entry-content figure img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-height: 80vh;
  object-fit: contain;
}
/*** 画像スライダーCSSここまで ***/
/******************* ブログ全体設定ここまで *******************/


/******************* ブログトップの設定ここから *******************/
/*** グローバルメニューここから ***/
/* 構成：PCはメニュー項目を左、検索窓を右に並べる。
   スマホはMENUボタン(≡/✕)と検索窓のバーを出し、MENUで項目を開閉する。
   ※スマホ/PCの切り替え(768px)は、ブログタイトル下のスクリプトと同じ条件 */

/* ===== 共通 ===== */
#menu {
position: relative;
width: 100%;
padding-left: 0px;
height: 40px;
background: var(--c-dark);/*グローバルメニュー背景色*/
}
#menu li {
list-style-type: none;
}
#menu li a {
display: block;
color: #ffffff;/*グローバルメニュー文字色*/
font-size: 80%;
font-weight: bold;
}
/* 検索窓(PCはメニューの右端、スマホはバーの右側) */
#menu li.menu-search form,
.menu-search-sp {
  display: flex;
  align-items: center;
}
#menu li.menu-search input[type="search"],
.menu-search-sp input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 0 8px;
  border: none;
  border-radius: var(--radius-small) 0 0 var(--radius-small);
}
#menu li.menu-search button,
.menu-search-sp button {
  padding: 0 10px;
  border: none;
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  background: var(--c-accent);
  color: var(--c-dark);
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color var(--speed);
}
/* 検索ボタン：白い検索欄と同化しないよう、反転ではなくシアンを少し濃くする */
#menu li.menu-search button:active,
.menu-search-sp button:active {
  background: var(--c-accent-dark);
}
#menu li.menu-search button:hover,
.menu-search-sp button:hover {
  background: var(--c-accent-dark);
}

/* スクロールに追従：画面の上端を過ぎたら、中身(.gnav-inner)を上に固定する。
   外枠(.gnav)は元の高さを保ち、本文が動かないようにする(ブログタイトル下のスクリプトで切り替え) */
.gnav {
display: flow-root; /* 中のメニューの余白も、外枠の高さに含める */
overflow-anchor: none; /* ブラウザのスクロール位置の自動補正の基準にしない */
}
.gnav.is-fixed .gnav-inner {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
background: var(--c-dark);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
transition: transform .25s ease;
}
.gnav.is-fixed #menu {
margin: 0; /* 固定したときに、メニューの上下に余白が出ないようにする */
}
.gnav.is-hidden .gnav-inner {
transform: translateY(-100%); /* スマホで下へスクロール中は隠す */
box-shadow: none;
}

/* ===== PC(769px以上) ===== */
/* 項目は文字の幅を最小に、残りの幅を均等に使う(折り返さない)。
   左右の端は、トップページのカテゴリのカードの端(最大1200px)にそろえる */
@media screen and (min-width:769px){
#menu {
display: block !important; /* スマホで閉じた状態が残っても、PCでは常に表示 */
}
.menu-bar-sp,
.menu-toggle {
display: none;
}
#menu .menu-inner {
display: flex;
align-items: center;
width: 100%;
max-width: 1256px;
height: 40px;
margin: 0 auto;
padding: 0 28px;
box-sizing: border-box;
}
#menu li {
flex: 1 1 auto;
height: 40px;
text-align: center;
white-space: nowrap;
}
#menu li a {
padding: 0 18px;
line-height: 40px;
transition: color var(--speed), box-shadow var(--speed);
}
/* カーソルを合わせると、文字がシアンになり下にシアンの線(濃い地の上のシアンは7.3:1で読みやすい) */
#menu li:not(.menu-search) a:hover,
#menu li:not(.menu-search) a:active {
color: var(--c-accent);
box-shadow: inset 0 -3px 0 var(--c-accent);
}
#menu li.menu-search {
flex: 0 1 320px;
min-width: 200px;
margin-left: 12px;
}
#menu li.menu-search:hover {
background: none;
}
#menu li.menu-search form {
height: 40px;
padding: 0 6px;
box-sizing: border-box;
}
#menu li.menu-search input[type="search"] {
height: 28px;
font-size: 13px;
}
#menu li.menu-search button {
height: 28px;
}
}

/* ===== スマホ(768px以下) ===== */
@media screen and (max-width:768px){
#top-editarea{
height: initial;
background: var(--c-dark);/*MENU背景色*/
text-align: right;
width: 100%;
}
/* バー：MENUボタンを左、検索窓を右(最大でバーの半分の幅) */
.menu-bar-sp {
display: flex;
align-items: center;
gap: 10px;
padding: 6px 10px;
text-align: left;
}
.menu-toggle {
display: inline-flex;
align-items: center;
flex: none;
margin: 0;
padding: 4px 10px;
border: 1px solid #fff;
border-radius: var(--radius-small);
color: #ffffff;/*MENUの文字色*/
font-size: 14px;
line-height: 20px;
cursor: pointer;
}
.menu-toggle i {
display: none; /* はてなのアイコンの代わりに、下の≡/✕を出す */
}
.menu-toggle::before {
content: "";
display: inline-block;
width: 14px;
height: 2px;
margin-right: 8px;
background: #fff;
box-shadow: 0 -5px 0 #fff, 0 5px 0 #fff;
}
.menu-toggle.is-open::before {
content: "✕";
height: auto;
background: none;
box-shadow: none;
font-size: 14px;
line-height: 20px;
text-align: center;
}
.menu-search-sp {
flex: 0 1 50%;
min-width: 0;
margin: 0 0 0 auto;
}
.menu-search-sp input[type="search"] {
height: 30px;
font-size: 14px;
}
.menu-search-sp button {
height: 30px;
}
/* 開いたメニュー：左寄せ、境目に白い線、タップしやすい高さ(44px) */
#menu {
width: 100%;
display: none;
height: initial;
padding: 0;
margin: 0;
}
.menu-inner{
width: 100%;
height: initial;
position: static;
margin: 0;
}
#menu li{
float: none;
height: 44px;
width: 100%;
background: var(--c-dark);/*リスト文字の背景色*/
margin: 0 auto;
text-align: left;
border-top: 1px solid rgba(255, 255, 255, 0.6);
box-sizing: border-box;
}
#menu li a {
height: initial;
padding: 0 21px; /* 文字の書き出しを、MENUボタンの≡の左端にそろえる */
line-height: 43px;
}
#menu li a:active {
color: var(--c-accent);
background: rgba(255, 255, 255, 0.1);
}
#menu li a:hover {
  color: var(--c-accent);
  background: rgba(255, 255, 255, 0.1);
}
#menu li.menu-search {
display: none; /* スマホではバーの検索窓を使う */
}
}
/*** グローバルメニューここまで ***/


/*** カテゴリの入口ここから ***/
.cat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto 24px;
}
/* カード：左上にアイコン(正方形・背景透明のPNG)、その右にカテゴリ名、下に説明(全幅)。
   カード全体がグレーになるので、選んだことが分かりやすい */
.cat-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-areas: "img name" "desc desc";
  align-items: center;
  gap: 10px 12px;
  padding: 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-box);
  overflow: hidden;
  background: #fff;
  color: var(--c-text) !important;
  text-decoration: none;
  transition: background-color var(--speed);
  -webkit-tap-highlight-color: transparent;
}
/* カードの効果：人気記事と同じく、背景が薄いグレー */
.cat-card:active {
  background: var(--c-hover);
}
.cat-card:hover {
  background: var(--c-hover);
}
.cat-card img {
  grid-area: img;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.cat-card-name {
  grid-area: name;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
  word-break: keep-all; /* 狭いときは、HTMLの<wbr>の位置(言葉の切れ目)で折り返す */
  overflow-wrap: anywhere; /* それでも入らないとき(幅320px程度)だけ、途中で折り返す */
}
.cat-card-desc {
  grid-area: desc;
  align-self: start;
  font-size: 12px;
  line-height: 1.5;
  color: var(--c-text-sub);
  text-align: left;
}
/* スマホでは2列。アイコンを小さくして、カテゴリ名が入る幅を残す */
@media screen and (max-width: 768px) {
  .cat-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .cat-card {
    grid-template-columns: 36px 1fr;
    gap: 8px;
    padding: 10px;
  }
  .cat-card-name { font-size: 14px; }
}
/*** カテゴリの入口ここまで ***/


/*** トップページ用の固定欄(トップページ以外では非表示) ***/
/* 上下の余白は0。メニューと最初の見出し、最後の見出し「新着記事」と記事一覧の間を詰める */
.recommend-container {
    display: flow-root; /* 中の見出しの余白が外にはみ出さないようにする(はみ出すと、スマホで後ろの黒い背景が見える) */
    margin: 0;
    padding: 0 2vw;
    box-sizing: border-box;
    background: #fff;
}
@media (min-width: 769px) {
    .recommend-container {
        padding: 0 28px;
    }
}
/* メニューと最初の見出し「カテゴリから探す」の間は24px(ほかの部品と見出しの間と同じ) */
.page-index .gnav #menu {
    margin-bottom: 0;
}
.recommend-container > div:first-child h2 {
    margin-top: 24px;
}
body:not(.page-index) #top-editarea .recommend-container {
display: none;
}
/*** トップページ用の固定欄ここまで ***/


/*** フッタここから ***/
/*** フッタ：カテゴリから探す ***/
.footer-cats ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin: 0 auto;
  padding: 0;
  max-width: 800px;
  list-style: none;
}
.footer-cats li a {
  padding: 6px 14px;
  font-size: 14px;
}

/*** フッタ：管理人について(カード。1行目に丸いアイコン・名前・縦に並べたボタン、その下に紹介文) ***/
.footer-profile-box {
  display: block;
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 24px;
  box-sizing: border-box;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-box);
  background: #fff;
  text-align: left;
}
.footer-profile-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
/* アイコン：丸く切り抜き、黒い枠線(1px)で目立たせる。
   画像を拡大して、上半身が見えるように切り抜く(拡大率と位置は下の2つの値で調整) */
.footer-profile-icon {
  flex: none;
  display: block;
  width: 56px;
  height: 56px;
  border: 1px solid var(--c-dark);
  border-radius: 50%;
  box-sizing: border-box;
  overflow: hidden;
}
.footer-profile-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.6); /* 拡大率：大きくするほどアップになる */
  transform-origin: 50% 20%; /* 拡大の中心：2つ目の値を小さくするほど上(顔の側)に寄る */
}
.footer-profile-name {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
}
.footer-profile-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}
/* 紹介文の中のリンク(お問い合わせ)：文中のリンクは、リンク色に下線 */
.footer-profile-text a {
  color: var(--c-link) !important;
  text-decoration: underline;
}
/* ボタン：名前の右に縦に2つ。メニューボタンと同じ、角の丸い長方形 */
.footer-profile-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: none;
}
/* ボタンの共通仕様(プロフィールのボタン・フッタのカテゴリ)：
   普段は白地に濃い文字とグレーの枠線。カーソルを合わせる／押すと、濃い地に白文字へ反転 */
.footer-btn,
.footer-cats li a {
  display: inline-block;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-small);
  background: #fff;
  color: var(--c-text) !important;
  font-weight: bold;
  text-decoration: none;
  transition: background-color var(--speed), border-color var(--speed), color var(--speed);
  -webkit-tap-highlight-color: transparent;
}
.footer-btn:active,
.footer-cats li a:active {
  border-color: var(--c-dark);
  background: var(--c-dark);
  color: #fff !important;
}
.footer-btn:hover,
.footer-cats li a:hover {
  border-color: var(--c-dark);
  background: var(--c-dark);
  color: #fff !important;
}
.footer-btn {
  display: block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
/* PC：ボタンは横に並べる */
@media screen and (min-width: 769px) {
  .footer-profile-buttons {
    flex-direction: row;
    gap: 8px;
  }
}
@media screen and (max-width: 768px) {
  .footer-profile-box {
    margin: 0 16px; /* カードの外側の余白 */
    padding: 20px; /* カードの内側の余白 */
  }
}
/* 幅のとても狭いスマホ(359px以下)：ボタンを名前の右に収められないので、1行目の下に全幅で並べる */
@media screen and (max-width: 359px) {
  .footer-profile-head {
    flex-wrap: wrap;
  }
  .footer-profile-buttons {
    flex: 0 0 100%;
  }
}

/*** フッタ：サイト情報(一番下に、区切り線・Amazonアソシエイトの表記・小さな文字のリンク) ***/
.footer-bottom {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 16px 16px 0;
  border-top: 1px solid var(--c-line);
  text-align: center;
}
/* Amazonアソシエイト・プログラムの規約で定められた表記(全ページに出す) */
.footer-disclosure {
  margin: 0 0 10px;
  color: var(--c-text-sub);
  font-size: 12px;
  line-height: 1.6;
}
.footer-disclosure .nowrap {
  white-space: nowrap; /* ブログ名の途中で改行しない */
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  font-size: 13px;
}
.footer-links a {
  padding: 0 12px;
  color: var(--c-text-sub) !important;
  text-decoration: none;
}
.footer-links a + a {
  border-left: 1px solid var(--c-border);
}
/* 文字リンクの効果：下線 */
.footer-links a:active {
  text-decoration: underline;
}
.footer-links a:hover {
  text-decoration: underline;
}
/* スマホ：リンクは1行に収まらないので、縦に並べる(区切り線なし) */
@media screen and (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .footer-links a + a {
    border-left: none;
  }
}
/*** フッタここまで ***/
/******************* ブログトップの設定ここまで *******************/



/******************* ピックアップの設定ここから *******************/
/* カテゴリ別の人気記事(トップページ)。タブ4つ×各4記事
   PC：4列。1件はサムネイル→タイトルの縦並び
   スマホ：縦並び。1件は左にタイトル、右にサムネイル。記事の間に薄い線
   タイトルはどちらも4行まで(超えたら「…」) */

/* 全体コンテナ：最大幅1200pxで中央寄せ */
.news-tabs {
  max-width: 1200px;
  margin: 0 auto 24px; /* 下の余白は「カテゴリから探す」のカードと同じ */
  border: 1px solid var(--c-border);
  border-radius: var(--radius-box);
  overflow: hidden; /* 角の丸みからタブの背景がはみ出さないように */
  background: #fff;
  font-size: 14px;
}

/* ラジオボタン非表示 */
.news-tabs input[type="radio"] {
  display: none;
}

/* ===== タブ =====
   左寄せ。タブの列はグレー背景。選択中は白背景にシアン(検索ボタンと同じ #00DFFC)の下線 */
.news-tabs__nav {
  display: flex;
  justify-content: flex-start;
  background: #f7f7f7;
  border-bottom: 1px solid var(--c-border);
}
.news-tabs__nav label {
  flex: none;
  margin-bottom: -1px;
  padding: 10px 20px;
  border-right: 1px solid var(--c-line);
  border-bottom: 2px solid transparent;
  color: var(--c-text-sub);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--speed);
  -webkit-tap-highlight-color: transparent;
}
.news-tabs__nav label:active {
  background: var(--c-hover);
}
.news-tabs__nav label:hover {
  background: var(--c-hover);
}
#tab-clothing:checked ~ .news-tabs__nav label[for="tab-clothing"],
#tab-qol:checked ~ .news-tabs__nav label[for="tab-qol"],
#tab-money:checked ~ .news-tabs__nav label[for="tab-money"],
#tab-semiretire:checked ~ .news-tabs__nav label[for="tab-semiretire"] {
  background: #fff;
  color: var(--c-text);
  border-bottom-color: var(--c-accent);
}

/* ===== パネル(選択中のタブのものだけ表示) ===== */
.news-tabs__panels {
  padding: 0;
}
.news-tabs__panel {
  display: none;
}
#tab-clothing:checked ~ .news-tabs__panels .panel-clothing,
#tab-qol:checked ~ .news-tabs__panels .panel-qol,
#tab-money:checked ~ .news-tabs__panels .panel-money,
#tab-semiretire:checked ~ .news-tabs__panels .panel-semiretire {
  display: block;
}

/* ===== 記事カード(カーソルを合わせる・タップすると背景が薄いグレー) ===== */
.news-tabs__panel .news-card {
  margin: 0;
}
.news-card a {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "img" "title";
  align-content: start;
  gap: 8px;
  height: 100%;
  box-sizing: border-box;
  padding: 12px;
  color: var(--c-text);
  text-decoration: none;
  transition: background-color var(--speed);
  -webkit-tap-highlight-color: transparent;
}
.news-card a:active {
  background: var(--c-hover);
}
.news-card a:hover {
  background: var(--c-hover);
}
.news-card img {
  grid-area: img;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-small);
}
.news-card .news-title {
  grid-area: title;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

/* 「もっと見る」のリンク */
.news-tabs .news-more {
  grid-column: 1 / -1;
  margin: 0;
  padding: 8px 12px;
  border-top: 1px solid var(--c-line);
  text-align: right;
  font-size: 13px;
}
/* 「もっと見る」：単独の文字リンク。リンク色で、カーソルを合わせると下線 */
.news-tabs .news-more a {
  color: var(--c-link) !important;
  text-decoration: none;
}
.news-tabs .news-more a:active {
  text-decoration: underline;
}
.news-tabs .news-more a:hover {
  text-decoration: underline;
}

/* ===== PC：4列(列の間のすき間は0。余白は記事の内側の12px) ===== */
@media screen and (min-width: 769px) {
  #tab-clothing:checked ~ .news-tabs__panels .panel-clothing,
  #tab-qol:checked ~ .news-tabs__panels .panel-qol,
  #tab-money:checked ~ .news-tabs__panels .panel-money,
  #tab-semiretire:checked ~ .news-tabs__panels .panel-semiretire {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* 中身の長さに関係なく同じ幅 */
  }
}

/* ===== スマホ：縦並び、サムネイルは右 =====
   サムネイル幅120px(高さ約68px)。タイトルが4行のときは、サムネイルを上下の中央に置く */
@media screen and (max-width: 768px) {
  .news-tabs__nav label {
    padding: 10px 14px;
  }
  .news-card a {
    grid-template-columns: 1fr 120px;
    grid-template-areas: "title img";
    align-items: center;
    gap: 12px;
  }
  .news-card + .news-card {
    border-top: 1px solid var(--c-line);
  }
}

/******************* ピックアップの設定ここまで *******************/

/******************* 新着記事(記事一覧)の設定ここから *******************/
/* はてなのテーマが出す記事一覧(トップページとカテゴリのページ)を、人気記事と同じ形にそろえる。
   1記事ずつ角の丸い枠で囲むカード形式(カテゴリから探すのカードと同じ枠・すき間)
   PC：4列。1件はサムネイル→「カテゴリ・日付」→タイトル(4行まで)→はてなスター
   スマホ：縦並び。左に「カテゴリ・日付」・タイトル(4行まで)・はてなスター、右にサムネイル
   HTMLの部品(はてなが出すもの。変えられない)：
     section.archive-entry の中に
       .archive-entry-header(.date と h1.entry-title)／.categories／a.entry-thumb-link > .entry-thumb(背景画像)／
       .archive-entry-body(.entry-description・タグ・.social-buttons の中にはてなスター)
   header と body を display: contents にして、中の部品を直接グリッドに並べる。
   テーマの指定(影・枠・余白・列ごとの余白など)に勝つため、強めのセレクタと !important を使う */
/* トップページでは、見出し「新着記事」のすぐ下に記事一覧を置く(テーマが入れる上の余白を消す) */
.page-index #content,
.page-index #content-inner,
.page-index #main,
.page-index #main-inner {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
:is(.page-index, .page-archive) .archive-entries {
  display: grid !important;
  /* minmax(0, 1fr)：中身の長さに関係なく4列を同じ幅にする(1fr だけだと、長い中身の列が広がってはみ出す) */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 0 !important;
}
:is(.page-index, .page-archive) .archive-entries .archive-entry {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, auto) 1fr;
  grid-template-areas: "thumb thumb" "cat date" "title title" "star star";
  align-content: start;
  align-items: center;
  gap: 6px 8px;
  float: none !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 12px !important;
  border: 1px solid var(--c-border) !important;
  border-radius: var(--radius-box) !important;
  box-shadow: none !important;
  background: #fff !important;
  transition: background-color var(--speed);
  -webkit-tap-highlight-color: transparent;
}
/* 一覧の効果：背景が薄いグレー(記事のどこを押しても記事が開く) */
:is(.page-index, .page-archive) .archive-entries .archive-entry:active {
  background: var(--c-hover) !important;
}
:is(.page-index, .page-archive) .archive-entries .archive-entry:hover {
  background: var(--c-hover) !important;
}
.archive-entries .archive-entry .archive-entry-header,
.archive-entries .archive-entry .archive-entry-body {
  display: contents !important;
}
/* サムネイル(はてなが背景画像として出す)：16:9に切り抜く。
   テーマの指定(高さ・余白・影など)を all: unset でいったん全部消してから指定し直す。
   .entry-thumb の all: unset には !important を付けない(付けると、HTMLの style 属性にある画像のURLまで消える)。
   そのかわり、テーマが付けそうな高さ・余白・影は、下で !important を付けて0にする */
.archive-entries .archive-entry .entry-thumb-link {
  all: unset !important;
}
.archive-entries .archive-entry .entry-thumb {
  all: unset;
}
.archive-entries .archive-entry :is(.entry-thumb-link, .entry-thumb)::before,
.archive-entries .archive-entry :is(.entry-thumb-link, .entry-thumb)::after {
  content: none !important;
  display: none !important;
}
.archive-entries .archive-entry .entry-thumb-link {
  grid-area: thumb !important;
  display: block !important;
  cursor: pointer !important;
}
.archive-entries .archive-entry .entry-thumb {
  display: block !important;
  position: static !important;
  float: none !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: var(--radius-small) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
/* カテゴリ：ラベルの飾りを外し、小さな灰色の文字にする(押すとカテゴリのページへ) */
.archive-entries .archive-entry .categories {
  all: unset !important;
  grid-area: cat !important;
  display: block !important;
  position: relative !important;
  z-index: 1 !important; /* 記事全体のリンクより上にして、押せるようにする */
  font-size: 12px !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important; /* 幅が足りないときは、カテゴリ名の最後を「…」にする(日付は残す) */
  min-width: 0 !important;
}
/* カテゴリが複数あるときは、最初の1つだけ出す */
.archive-entries .archive-entry .categories a ~ a {
  display: none !important;
}
.archive-entries .archive-entry .categories a {
  display: inline !important;
  line-height: inherit !important;
  vertical-align: baseline !important;
  margin: 0 8px 0 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: none !important;
  color: var(--c-text-sub) !important;
  font-size: 12px !important;
  font-weight: normal !important;
  text-decoration: none !important;
}
.archive-entries .archive-entry .categories a:hover {
  text-decoration: underline !important;
}
/* 日付：小さな灰色の文字で、カテゴリの右に同じ行で並べる。押しても日付のページには飛ばず、記事が開く。
   テーマの指定(位置・余白・月の英語表記など)を all: unset でいったん全部消してから指定し直す */
.archive-entries .archive-entry .date,
.archive-entries .archive-entry .date :is(a, time, span) {
  all: unset !important;
}
.archive-entries .archive-entry .date :is(a, time, span)::before,
.archive-entries .archive-entry .date :is(a, time, span)::after {
  content: none !important;
  display: none !important;
}
.archive-entries .archive-entry .date {
  grid-area: date !important;
  display: block !important;
  color: var(--c-text-sub) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  text-align: left !important;
  white-space: nowrap !important;
}
.archive-entries .archive-entry .date a {
  pointer-events: none !important;
}
/* タイトル：4行まで(超えたら「…」)。リンクを記事全体に広げる */
.archive-entries .archive-entry .entry-title {
  grid-area: title;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  text-align: left !important;
}
.archive-entries .archive-entry .entry-title-link {
  color: var(--c-text) !important;
  text-decoration: none !important;
}
.archive-entries .archive-entry .entry-title-link::after {
  content: "";
  position: absolute;
  inset: 0; /* 記事全体を覆う透明なリンク */
}
/* 抜粋とタグは出さない */
.archive-entries .archive-entry .entry-description,
.archive-entries .archive-entry .archive-entry-tags-wrapper {
  display: none !important;
}
/* はてなスター：押せるように、記事全体のリンクより上にする。
   スターを付けた人のアイコンが多いときも1行(高さ24px)に収め、はみ出た分は隠す */
.archive-entries .archive-entry .social-buttons {
  grid-area: star;
  display: block !important;
  position: relative;
  z-index: 1;
  max-height: 24px;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1;
}

/* スマホ：縦並び。サムネイル(幅120px)は右 */
@media screen and (max-width: 768px) {
  :is(.page-index, .page-archive) .archive-entries {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 2vw !important; /* 左右の端を、人気記事の枠にそろえる */
  }
  :is(.page-index, .page-archive) .archive-entries .archive-entry {
    grid-template-columns: minmax(0, auto) 1fr 120px;
    grid-template-areas: "cat date thumb" "title title thumb" "star star thumb";
    gap: 4px 8px;
  }
  .archive-entries .archive-entry .entry-thumb-link {
    align-self: center;
    margin-left: 4px !important;
  }

}
/******************* 新着記事(記事一覧)の設定ここまで *******************/



/******************* 記事一覧の設定ここから *******************/
/* 記事一覧のカスタマイズ */
.page-archive .entry-description { display: none; }
.page-archive .entry-title {text-align: center; font-size: 16px; }

/*記事が書かれてからの日付を消す*/
.entry-footer-time {display: none;}

/*記事一覧やカテゴリ一覧の日付を消す*/
.archive-entries .date {display: none;}

/*記事下のID表示を消す*/
span.author.vcard {display: none;}

/*タグ非表示*/
.archive-entry-tags-wrapper {display:none;}

/*はてなスター非表示*/
/* .star-container {display : none;} */
/******************* 記事一覧の設定ここまで *******************/


/******************* 記事内の設定ここから *******************/
/*** PR表示と更新日付 ***/
.entry-date::before {
white-space: pre-wrap ;
content: "【広告・PR】" "\A" "\f043" ;
font-family: blogicon;
font-style: normal;
font-weight: normal;
font-size: 110%;
}

/*** アンダーラインを黄色に ***/
.entry-content span[style*="text-decoration: underline"] {
  text-decoration: none !important;
  border-bottom: none;
  background: linear-gradient(transparent 40%, #FFFF01 40%);
}

/*** 目次から見出しへ飛んだとき、上に固定したメニューに隠れないよう余白を取る ***/
.entry-content h3,
.entry-content h4 {
scroll-margin-top: 56px;
}

/*** 目次関連 ***/
/*目次のタイトル*/      
.table-of-contents:before {
    content: none;
/*    font-size: 120%;   /* 文字のサイズ */ 
/*    font-weight:bold;   /* 文字の太さ */    
/*    color:#000000;  /* 文字の色 */
}
ul.table-of-contents li{
  list-style-type: none!important;
  padding-top: 10px;
  padding-bottom: 0px;
}
.entry-content .table-of-contents a {
    text-decoration: none;
}
.table-of-contents li ul{
  border: none;
}
.table-of-contents ul li{
  border: none;
  padding-top: 0px;
  padding-bottom: 0px;
}
.table-of-contents ul ul{
  display: none;
}
/*目次の開閉*/
.show-area{
display: inline-block;
padding: 10px;
border-radius: 5px;
cursor: pointer;
margin-bottom: 0;
color: blue;
}
/******************* 記事内の設定ここまで *******************/