/* <system section="theme" selected="6801883189096343876"> */
@charset "UTF-8";
/*!
  Theme: Schick
  Author: Askthewind's diary
  Responsive: yes
  Description: モバイルファースト最適化済みのはてなブログ用デザインテーマです。
  Breakpoint: Bootstrap compliant.
  License: Released under the CCL.
*/

/* ==========================================================================
/* ! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css
/* Vendor Prefix and IE other than text-size-adjust CSS that removed
/* 備考: IE向け記述と不要なベンダープレフィックスを削除
/* Document ページ全体の基本的な設定
   ========================================================================== */
/**
 * 1. 全ブラウザで行の高さを統一。
 * 2. iOSで画面を回転させた際に、文字サイズが勝手に調整されるのを防ぐ。
 */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections 主要なセクション要素の設定
   ========================================================================== */
/**
 * body要素にデフォルトで設定されている余白（margin）を削除。
 */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
/* h1要素のフォントサイズと余白を、ブラウザ間で差異が出ないように調整。
/* 
 */
/**
 * 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 グループ化される要素の設定
   ========================================================================== */
/**
 * 1. preタグ（整形済みテキスト）のフォントを等幅フォントに統一し、
 * 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 テキスト関連の要素の設定
   ========================================================================== */
/**
 * title属性を持つabbrタグ（略語など）の下線を点線で表示するように統一。
 */
/**
 * Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */
abbr[title] {
  text-decoration: underline; 
  text-decoration: underline dotted; 
}

/**
 * bタグとstrongタグ（太字）のフォントの太さを、より太く表示するように統一。
 */
/**
 * Add the correct font weight in Chrome, Edge,and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. code, kbd, sampタグ（コードなど）のフォントを等幅フォントに統一し、
 * 2. フォントサイズが正しく継承されるように修正。
 */
/**
 * 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 */
}

/**
 * smallタグ（小さい文字）のフォントサイズを親要素の80%に設定。
 */
/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * subタグ（下付き文字）とsupタグ（上付き文字）が、
 * 行の高さ（line-height）に影響を与えないように設定。
 */
/**
 * 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;
}

/* Forms フォーム関連の要素の設定
   ========================================================================== */
/**
 * ボタンや入力フォームなどのフォント関連のスタイルを、
 * 親要素から継承するように設定し、表示を統一
 */
/**
 * Change the font styles in all browsers.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; 
  font-size: 100%; 
  line-height: 1.15;
}

/**
 * fieldsetを囲むlegend要素の余白（padding）を削除。
 */
/**
 * Remove the padding so developers are not caught out when they zero out
 * `fieldset` elements in all browsers.
 */
legend {
  padding: 0;
}

/**
 * progress要素（プログレスバー）の縦方向の表示位置を揃える。
 */
/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/* Interactive 操作可能な要素の設定
   ========================================================================== */
/**
 * details要素内で使用されるsummary要素を、
 * リストアイテムとして表示するように統一。
 */
/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* End normalize.css v8.0.1
   ========================================================================== */
/* HTML Structure 外枠行順 */
/* @container > container-inner >
====================================== */

/* blog-title */
/* top-editarea */
/* top-box */
/* content > content-inner( 2カラム wrapper - box2 ) */
/* bottom-editarea */

/* containerと同じ外枠 */
/* footer > footer-inner( address - p ) */

/* CSS Document */
/* @root
====================================== */

:root {
    --clamp-12px-14px: clamp(.75rem, .682rem + .34vw, .938rem);
}

/* @*,html,body
====================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: hsl(0 0% 94%);
    color: hsl(0 0% 31%);
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
                 Helvetica, "Inter", Roboto, Arial, "Noto Sans JP", 
                 "Hiragino Sans", Meiryo, "Nimbus Sans L", 
                 "Liberation Sans", "DejaVu Sans", ui-sans-serif, 
                 sans-serif, "Apple Color Emoji", "Segoe UI Variable", 
                 "Segoe UI Emoji", "Noto Color Emoji";
    font-feature-settings: "palt";
    font-size: 1rem;
    line-height: 1.6;
}

/* @img a keyword h*
====================================== */

img {
    vertical-align: top;
}

a {
    color: hsl(0 0% 31%);
    text-decoration: none;
}

a:hover {
    color: hsl(188 93% 43%);
    transition: all .3s;
}

h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: hsl(0 0% 31%);
    line-height: 1.3;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    color: hsl(188 93% 43%);
    transition: all .6s;
}

/* @strong em
====================================== */

/* ツールバー 太字 */

strong {
    background: linear-gradient(transparent 70%, hsl(25 100% 50% / .5) 70%);
}

/* ツールバー 斜体 */

em {
    background: linear-gradient(transparent 60%, hsl(0 100% 50% / .5) 60%);
}

/* @canvas,svg,select,textarea
====================================== */

canvas,picture,svg,select,textarea {
    max-width: 100%;
}

:where(svg:not([fill])) {
    fill: currentColor;
}

/* フッター以外の全体外枠 */
/* @container
====================================== */

#container {
    background-color: hsl(0 0% 100%);
    overflow-wrap: break-word;
}

@media (min-width: 992px) {
    #container {
        background-color: transparent;
    }
}

/* ヘッダー */
/* ブログタイトル ブログ説明文 */
/* @blog-title title blog-description
====================================== */

#blog-title {
    background-color: hsl(0 0% 100%);
    border-bottom: 1px solid hsl(0 0% 84%);
    padding: 1em 0;
    text-align: center;
}

@media (min-width: 768px) {
    #blog-title {
        padding: 3em;
    }
    .page-entry #blog-title {
        border-bottom-color: hsl(0 0% 90%);
    }
}

.page-entry #blog-title {
    padding-bottom: 2em;
}

/* @blog-title-inner
====================================== */

#blog-title-inner {
    margin: 0 auto;
    width: 90vw;
}

@media (min-width: 992px) {
    #blog-title-inner {
        max-width: 1200px;
    }
}

/* @title blog-description
====================================== */

#title {
    font-size: 1.7rem;
    padding: 0 20px;
}

#title a {
    color: hsl(0, 0%, 40%);
    display: block;
}

#title a:first-letter {
    color: hsl(0 100% 80%);
}

#title a:hover {
    color: hsl(341 81% 49%);
}

#title a:hover:first-letter {
    color: hsl(0 100% 70%);
}

#blog-description {
    color: hsl(0 0% 37%);
    font-size: .8rem;
    padding: 0 20px;
}

@media (min-width: 768px) {
    #title,#blog-description {
        padding: 0 24px;
    }
}

@media (min-width: 992px) {
    #title,#blog-description {
        padding: 0;
    }
    #title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    #blog-description {
        display: none;
    }
}

/* @header-image-enable
====================================== */

/* ヘッダ画像を設定したとき */
/* 画像とテキストを表示 */
/* 画像だけ表示  */

.header-image-enable #blog-title,
.header-image-only #blog-title {
    border-bottom: none;
    margin: 0 auto 2em;
    padding: 0;
}

.header-image-enable #blog-title #blog-title-inner, 
.header-image-only #blog-title #blog-title-inner {
    background-size: cover;
    height: 20vw!important;
    max-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-image-enable #blog-title-content,
.header-image-only #blog-title-content {
    margin: 0 .625em;
}

/* レイアウト 2カラム */
/* @content
====================================== */

#content {
    margin: 1.5em auto;
    width: 90vw;
}

@media (min-width: 992px) {
    #content {
        padding: 0;
        max-width: 1200px;
    }
}

/* @content-inner
====================================== */

#content-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 992px) {
    #content-inner {
        grid-template-columns: minmax(0, 1fr) 402px;
        gap: 24px;
    }
}

/* @wrapper,box2,#box1
====================================== */

#wrapper {
    margin-bottom: 40px;
}

#box2 {
    overflow-wrap: anywhere;
}

#box1 {
    display: none;
}

/* @box2-inner
====================================== */

#box2-inner {
    background-color: hsl(0 0% 100%);
}

@media (min-width: 992px) {
    #box2-inner {
        border-radius: 2px;
        box-shadow: 0 0 2px hsl(0 0% 0% / .18);
        padding: 32px;
    }
}

/* ブログタイトル ブログ説明文下 */
/* content枠最下部 */
/* @top-editarea,bottom-editarea
====================================== */

#top-editarea,#bottom-editarea {
    font-size: .9rem;
    width: 90vw;
}

@media (min-width: 992px) {
    #top-editarea,#bottom-editarea {
        max-width: 1200px;
    }
}

#top-editarea {
    margin: 0 auto 1em;
}

#bottom-editarea {
    margin: 0 auto;
}

#top-editarea ul,#bottom-editarea ul {
    list-style: none;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
}

/* ブログタイトル ブログ説明文下 */
/* @top-box
====================================== */

#top-box {
    width: 90vw;
}

@media(max-width: 767px) {
    #top-box {
        display: none;
    }
}

@media (min-width: 992px) {
    #top-box {
        max-width: 1200px;
    }
}

.page-entry #top-box {
    border-bottom: 1px solid hsl(0 0% 84%);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .page-entry #top-box {
        border-bottom: none;
    }
}

/* @breadcrumb
====================================== */

.breadcrumb {
    background-color: hsl(0 0% 100%);
    border: 1px solid hsl(0 0% 87%);
    font-size: .9rem;
    margin: 0 auto;
    padding: 1.5em 3.5em;
}

.breadcrumb-gt:nth-last-of-type(2),
.breadcrumb-child:last-of-type {
    display: none;
}

.breadcrumb-link span::before,
.breadcrumb-child span::before {
    font-family: "blogicon";
    vertical-align: 0;
}

.breadcrumb-link span::before {
    content: "\f017";  
}

.breadcrumb-child span::before {
    content: "\f04a";
    letter-spacing: .25em;
}

/* ポスト メインカラム */
/* @entry
====================================== */

.entry {
    background-color: hsl(0 0% 100%);
    margin-bottom: 2em;
    position: relative;
}

@media (min-width: 992px) {
    .entry {
        border-radius: 2px;
        box-shadow: 0 0 2px hsl(0 0% 0% / .18);
        padding: 32px 56px;
    }
}

/* @entry-header
====================================== */

.entry-header {
    border-bottom: 1px dotted hsl(0 0% 84%);
    margin-bottom: 2em;
    padding-bottom: .5em;
}

/* @date entry-date
====================================== */

.date {
    display: inline-block;
    font-size: .9rem;
    line-height: .9rem;
    margin-bottom: .9375rem;
}

.date a,.date a:hover {
    color: hsl(0 0% 60%);
}

.date-last-updated .blogicon {
    color: hsl(0 100% 80%);
    vertical-align: -10%;
}

/* @entry-title
====================================== */

.entry-title {
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 0 0 1em;
    word-break: break-all;
}

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

/* @categories 
====================================== */

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

.categories a {
    display: inline-block;
    margin-right: .5em;
}

.categories a::before {
    content: "\f04a";
    font-family: "blogicon";
    letter-spacing: .3em;
}

/* @entry-header-menu 
====================================== */

/* 編集ボタン */

.entry-header-menu {
    position: absolute;
    top: 0;
    right: 0;
}

.entry-header-menu a {
    background-color: hsl(0 0% 0% / .8);
    border-radius: 4px;
    color: hsl(0 0% 100%);
    cursor: pointer;
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .025em;
    line-height: 1.4;
    padding: .125em .5em;
    text-align: center;
    transition: all .2s;
}

.entry-header-menu a::before {
    content: "\f010";
    font-family: "blogicon";
    font-size: .875rem;
    letter-spacing: .3em;
}

.entry-header-menu a:hover {
    background-color: hsl(0 0% 0% / .9);
}

/* @entry-header social-buttons
====================================== */

.entry-header .social-buttons {
    margin-top: 1.25em;
}

/* @entry-content a
====================================== */

.entry-content {
    line-height: 1.8;
}

@media (min-width: 768px) {
    .entry-content {
        line-height: 1.9;
    }
}

.entry-content a {
    overflow-wrap: anywhere;
}

/* @entry-content img,video
====================================== */

.entry-content img {
    border: 1px solid hsl(0 0% 82%);
    box-shadow: 0 6px 6px -6px hsl(0 0% 80%);
}

.entry-content video {
    height: auto;
    max-width: 100%;
}

/* @entry-content h*
====================================== */

.entry-content h1 {
    border-bottom: 5px solid hsl(170 100% 32% / .95);
    display: inline-block;
    font-size: 1.7rem;
    margin: 1em 0 .8em;
    padding: .1em 0 .2em 1.8em;
    position: relative;
}

.entry-content h1::before,
.entry-content h1::after {
    background-color: hsl(170 100% 32% / .95);
    border-radius: 100%;
    content: "";
    position: absolute;
}

.entry-content h1::before {
    height: 18px;
    top: .2em;
    left: .2em;
    width: 18px;
}

.entry-content h1::after {
    height: 13px;
    top: .7em;
    left: .9em;
    width: 13px;
}

.entry-content h2 {
    border-bottom: 3px solid hsl(0 0% 0%);
    font-size: 1.5rem;
    margin: 4.0625em 0 1.875em;
    padding: 0 0 .9em;
}

/* ツールバー 大見出し */

.entry-content h3 {    
    border-top: 1px solid hsl(0 0% 13%);
    border-bottom: 1px solid hsl(0 0% 13%);
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 3em 0 1.5em;
    padding: 1.1em .2em 1em;
}

/* ツールバー 中見出し */

.entry-content h4 {
    border-left: 2px solid hsl(0 0% 13%);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 2.5em .125em 1.2em;
    padding: .3em 0 .3em .8em;
}

/* ツールバー 小見出し */

.entry-content h5 {
    background-color: hsl(0 0% 96%);
    box-shadow: 0 2px 0 0 hsl(0 0% 95%);
    font-size: 1.5rem;
    margin: 2em 0 1em;
    padding: .5em .8em .3em 1em;
}

.entry-content h6 { 
    color: hsl(0 0% 13%);
    font-size: 1.5rem; 
    font-weight: 700; 
    margin: 2em 0 1em; 
    padding: .5em .8em .8em 1.3em; 
    position: relative; 
}

.entry-content h6::before {
    background-color: hsl(0 0% 13%); 
    content: "";
    height: 12px; 
    position: absolute; 
    top: .5em; 
    left: .2em; 
    width: 12px;
}

/* @entry-see-more::after
====================================== */

/* ツールバー 続きを読む */

a.entry-see-more::after {   
    content: "\2192";
    font-weight: 900;
    margin-left: .2em;
}

@media (min-width: 768px) {
    a.entry-see-more::after {   
        vertical-align: 5%;
    }
}

/* @entry-content table-of-contents
====================================== */

/* ツールバー 目次 */

.entry-content ul.table-of-contents {
    background-color: hsl(38 100% 98%);
    border: solid 3px hsl(13 90% 71%);
    border-radius: 10px;
    color: hsl(0 0% 60%);
    font-size: var(--clamp-12px-14px);
    margin: 2.25em 0;
    padding: 1em 2.25em;
    position: relative;
}

.entry-content ul.table-of-contents::before {
    color: hsl(35 100% 74%);
    content: "Contents";
    font-size: 1rem;
    font-weight: 700;
    padding: .625em 0;
}

.entry-content ul.table-of-contents::after {
    color: hsl(0 100% 80%);
    content: "目次";
    font-size: 1rem;
    font-weight: 700;
    opacity: .75;
    position: absolute;
    top: 8px;
    right: 24px;
}

.entry-content .table-of-contents a::after {
    display: none;
}

.entry-content ul.table-of-contents li a,
.entry-content ul.table-of-contents li a:visited {
    color: hsl(0 0% 60%);
}

.entry-content ul.table-of-contents li a:hover {
    color: hsl(0 0% 53%);
}

.entry-content ul.table-of-contents li {
    line-height: 1.5;
    list-style-type: none;
    margin: .3125em 0 .625em .375em;
    padding: 0;
    position: relative;
}

.entry-content ul.table-of-contents li::before {
    color: hsl(197 59% 56%);
    content: "\f727";
    font-family: blogicon;
    position: absolute;
    left: -1.2em;
}

.entry-content ul.table-of-contents li ul li::before {
    color: hsl(0 100% 80%);
}

.entry-content ul.table-of-contents li ul li ul li::before {
    color: hsl(170 100% 32% / .95);
}

.entry-content ul.table-of-contents li ul li ul li ul li::before {
    color: hsl(35 100% 74%);
}

/* @entry-content blockquote
====================================== */

/* ツールバー 引用 */

.entry-content blockquote {
    margin: 1.5em 0;
    padding-inline: 1em;
    position: relative;
}

.entry-content blockquote::before {
    background-color: hsl(180 2% 88%);
    border-radius: 4px;
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
}

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

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

/* @entry-content ul,ol,dd
====================================== */

/* ツールバー 箇条書き 番号付きリスト */

.entry-content ul,
.entry-content ol,
.entry-content dd {
    margin-bottom: 1em;
    padding: 0;
}

@media (min-width: 992px) {
    .entry-content ul,
    .entry-content ol,
    .entry-content dd {
        margin-left: .5em;
    }
}

.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 pre code
====================================== */

/* コードブロック */

.entry-content pre, 
.entry-content code,
.entry-content pre > code,
.entry-content pre[class*=lang] {
    font-family: "Fira Code", ui-monospace, Consolas,
                 SFMono-Regular, "SF Mono", Menlo, 
                 "Ubuntu Mono", "Liberation Mono", monospace;
}

.entry-content pre, 
.entry-content code {
    background-color: hsl(0 0% 100% / .9);
    border: 1px solid hsl(0 0% 87%);
    border-radius: .375em;
    font-size: 1em;
    line-height: 1.5;
}

.entry-content pre {
    margin: .5em 0;
    padding: 1em;
    position: relative;
}

.entry-content :not(pre) > code {
    padding: .0625em .25em;
}

.entry-content pre.code {
    padding-top: 2em;
    white-space: pre;
}

.entry-content pre.code::before {
    background-color: hsl(180 8% 17%);
    color: hsl(0 0% 100%);
    content: "Plain text";
    font-size: .875rem;
    font-weight: 500;
    line-height: 1;
    padding: .25rem .5rem;
    position: absolute;
    top: 0;
    left: 0;
}

.entry-content pre.code[class*=lang]::before {
    content: attr(data-lang);
}

/* @entry-content table
====================================== */

.entry-content table {
    border-bottom: 1em;
    border-collapse: collapse;
    border-spacing: 0;
    display: block;
    font-size: .8rem;
    margin-bottom: 1em;
    overflow: auto;
}

@media (min-width: 992px) {
    .entry-content table {
        font-size: .9rem;
    }
}

.entry-content table th,
.entry-content table td {
    border: 1px solid hsl(0 0% 87%);
    padding: .3125em .625em;
}

.entry-content table th {
    background: hsl(213 71% 92% / .95) 
        linear-gradient(hsl(212 74% 95% / .95),hsl(213 71% 92% / .95));
    box-shadow: 0 1px 0 hsl(0 0% 100% / .8) inset;
}

.entry-content table th:first-child {
    border-radius: 6px 0 0 0;
}

.entry-content table th:last-child {
    border-radius: 0 6px 0 0;
}

.entry-content table th:only-child {
    border-radius: 6px 6px 0 0;
}

.entry-content table tr:last-child td:first-child {
    border-radius: 0 0 0 6px;
}

.entry-content table tr:last-child td:last-child {
    border-radius: 0 0 6px 0;
}

.entry-content table tr:last-child td:only-child {
    border-radius: 0 0 6px 6px;
}

/* @footnote footnote-number
====================================== */

/* ツールバー 脚注 */

.page-index .footnote { 
    display: none;
}

.footnote-number {
    scroll-margin-top: 3.5em;
}

/* @entry-content hr
====================================== */

.entry-content hr {
    border: 0;
    border-top: 8px dotted hsl(0 0% 0% / .1);
    margin: 4.375em auto;
    width: 50%;
}

/* @entry-content hatena-asin-detail
====================================== */

.hatena-asin-detail {
    background-color: hsl(213 28% 19% / .1);
    border: 3px solid hsl(213 28% 19%);
    border-radius: 4px;
    padding: .8em .6em;
    position: relative;
}

@media (min-width: 768px) {
    .hatena-asin-detail {
        padding: .8em 1.5em .8em .6em;
    }
}

.hatena-asin-detail a {
    color: hsl(36 100% 50%);
}

@media (min-width: 992px) {
    .hatena-asin-detail::before {
        background-color: hsl(213 28% 19%);
        color: hsl(36 100% 50%);
        content: "\293b";
        font-size: 1.8rem;
        font-weight: 900;
        height: 1.5rem;
        line-height: 2rem;
        position: absolute;
        top: -2px;
        right: -2px;
        text-align: center;
        width: 1.5rem;
        z-index: 1;
    }
    .hatena-asin-detail::after {
        color: hsl(0 0% 100%);
        content: "a";
        font-family: Arial, "Liberation Sans", sans-serif;
        font-size: 1.2rem;
        font-weight: 900;
        height: 1.5rem;
        line-height: 1rem;
        position: absolute;
        top: -2px;
        right: -2px;
        text-align:center;
        width: 1.5rem;
        z-index: 2;
    }
}

.hatena-asin-detail.hatena-rakuten-detail {
    background-color: hsl(0 100% 37% / .1);
    border: 3px solid hsl(0 100% 37%);
}

.hatena-asin-detail.hatena-rakuten-detail a {
    color: hsl(0 100% 37%);
}

@media (min-width: 992px) {
    .hatena-asin-detail.hatena-rakuten-detail::before {
        background-color: hsl(0 100% 37%);
        border-radius: 50%;
        color: hsl(0 0% 100%);
        content: "R";
        font-family: Arial, "Liberation Sans", sans-serif;
        font-size: .875rem;
        font-weight: 600;
        line-height: 1.5rem;
        position: absolute;
        top: 3px;
        right: 4px;
        text-align: center;
    }
    .hatena-asin-detail.hatena-rakuten-detail::after {
        content: none;
    }
}

/* @entry-content cite hatena-citation 
====================================== */

.entry-content cite.hatena-citation a::before {
    content: "\f009";
    font-family: "blogicon";
    letter-spacing: .3em;
    line-height: 1;
    vertical-align: middle;
}

/* ポスト下 */
/* @entry-footer social-buttons
====================================== */

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

.page-index .social-buttons { 
    display: none;
}

/* @entry-footer-section
====================================== */

.entry-footer-section,
.entry-footer-section a {
    color: hsl(0 0% 60%);
    font-size: .9rem;
}

.page-index .entry-footer-section {
    display: none;
}

/*@entry-footer entry-footer-time
====================================== */

.entry-footer .entry-footer-time .updated  {
    display: none;
}

/*@entry-footer vcard
====================================== */

.entry-footer .author.vcard::before {
    content: "Author:\00a0";
}

/*@entry-tags-wrapper
====================================== */

.page-index .entry-tags-wrapper {
    display: none;
}

/* @hatena-star-container
====================================== */

.entry-footer .hatena-star-container {
    background-color: hsl(0 0% 99%);
    border-radius: 8px;
    margin: 1.5em 0;
    padding: 1em;
}

.entry-footer .hatena-star-container::before {
    content: "記事が面白かったら★をクリック！（連打できます）";
    display: block;
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .5em;
}

.page-index .entry-footer .hatena-star-container {
    display: none;
}

/* @ad-online-afc
====================================== */

.ad-online-afc .yads_ad .yads_ad_title,
.touch-afc-block .google_afc_blocklink .visible_url a {
    overflow-wrap: anywhere;
}

/* ポスト下 関連記事 */
/* @main entry-footer-modules
====================================== */

@media (min-width: 576px) {
    #main .entry-footer-modules .hatena-module {
        padding-top: 1em;
    }
    #main .entry-footer-modules .hatena-urllist {
        display: flex;
        flex-wrap: wrap;
        gap: .5em;
    }
    #main .entry-footer-modules .hatena-urllist li {
        border: 1px solid hsl(0 0% 95%);
        border-radius: 2px;
        margin: 0;
        padding: 1em;
        width: 100%;
    }
    #main .entry-footer-modules .hatena-urllist li:nth-of-type(n+2) {
        width: calc( 50% - ( .25em + 1px ) );
    }
    #main .entry-footer-modules .urllist-title-link {
        font-size: .875rem;
        padding-bottom: .5em;
    }
    #main .entry-footer-modules .urllist-entry-body {
        overflow: hidden;
    }
}

/* コメント欄 */
/* @comment-box
====================================== */

.comment-box {
    margin: 1em 0;
}

.page-index .comment-box {
    display: none;
}

/* @comment-box comment
====================================== */

.comment-box .comment {
    font-size: .875rem;
    line-height: 1.7;
    list-style: none;
    margin-block: 1.875rem;
    padding: 0;
}

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

/* @comment-box entry-comment
====================================== */

.comment-box .entry-comment {
    background: linear-gradient(-155deg,
        hsl(0 0% 0% / 0) 1.5em, hsl(0 0% 99%) 0%);
    border-radius: 6px;
    box-shadow: 10px 10px 32px -15px hsl(0 0% 0% / .25);
    margin-bottom: .75em;
    padding: .625em 1.25em .625em 3.75em;
    position: relative;
}

.comment-box .entry-comment::after {
    background: linear-gradient(to left bottom,
        hsl(0 0% 0% / 0) 50%,hsl(0 0% 0% / .1) 0%,hsl(0 0% 0% / .2));
    border-bottom-left-radius: 6px;
    box-shadow: -.2em .2em .3em -.1em hsl(0 0% 0% / .15);
    content: "";
    height: 3.5493em;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-1.89424em) rotate(-40deg);
    transform-origin: bottom right;
    width: 1.65507em;
}

/* @comment-box read-more-comments
====================================== */

.comment-box .read-more-comments {
    padding: .625em 0;
}

/* @comment-box hatena-id-icon
====================================== */

.comment-box .hatena-id-icon {
    border-radius: 3px;
    height: 50px !important;
    position: absolute;
    top: 10px;
    left: 0;
    width: 50px !important;
}

/* @comment-user-name
====================================== */

.comment-user-name {
    font-weight: 700;
    margin: 0 0 .4em 0;
}

/* @comment-content p img
====================================== */

.comment-content {
    color: hsl(0 0% 25%);
    font-size: .85rem;
    margin: 0 0 .4em 0;
}

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

.comment-content img {
    height: auto;
}

/* @comment-metadata a
====================================== */

.comment-metadata {
    color: hsl(0 0% 53%);
    font-size: .8rem;
    margin: 0;
}

.comment-metadata a {
    color: hsl(0 0% 53%);
}

/* @leave-comment-title
====================================== */

.leave-comment-title {
    border: 1px solid hsl(0 0% 78%);
    border-radius: .5em;
    color: hsl(0 0% 46%);
    font-size: .85rem;
    font-weight: 700;
    margin-top: 1em;
    padding: .6em 1em;
}

.leave-comment-title::before { 
    content: "\f024";
    font-family: "blogicon";
    letter-spacing: .3em;
}

.leave-comment-title:hover {
    color: hsl(225 6% 13%); 
}

/* ページ送りナビ */
/* @pager 
====================================== */

.pager {
    margin: 2em 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 768px) {
    .pager {
        flex-direction: row;
    }
}

.pager>* {
    flex: 1;
}

.pager .pager-next a,.pager .pager-prev a {
    background-color: hsl(0 0% 99%);
    border: 1px solid hsl(0 0% 80%);
    border-radius: 4px;
    color: hsl(0 0% 50%);
    cursor: pointer;
    display: block;
    font-size: .975rem;
    font-weight: 500;
    line-height: 1.4;
    padding: .75em 1.25em;
    text-align: center;
    text-overflow: ellipsis;
    transition: all .25s;
    overflow: hidden;
    white-space: nowrap;
}

@media(min-width: 768px) {
    .pager .pager-next a,.pager .pager-prev a {
        font-size: .975rem;
        padding: 1em 1.25em;
    }
}

.pager .pager-next a:hover,.pager .pager-prev a:hover {
    background-color: hsl(0 0% 96%);
    border: 1px solid hsl(0 0% 89%);
    color: hsl(0 0% 48%);
}

/* サイドカラム */
/* @hatena-module
====================================== */

.hatena-module {
    background-color: hsl(0 0% 100%);
    font-size: .85rem;
    margin-bottom: 3em;
}

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

/* @hatena-module-title
====================================== */

.hatena-module-title {
    color: hsl(0 0% 37%);
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: .6em;
    padding-bottom: .2em;
}

.hatena-module-title a,
.hatena-module-title a:hover {
    color: hsl(0 0% 37%);
}

/* @hatena-module-title archive category
====================================== */

.hatena-module-archive .hatena-module-title,
.hatena-module-category .hatena-module-title {
    border-bottom: 3px solid hsl(341 81% 49%);
    display: inline-block;
    position: relative;
}

.hatena-module-archive .hatena-module-title::after,
.hatena-module-category .hatena-module-title::after {
    border-color: hsl(341 81% 49%) transparent transparent transparent;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

/* @hatena-module-profile hatena-module-body
====================================== */

.hatena-module-profile .hatena-module-body {
    border: 1px solid hsl(0 0% 87%);
    padding: .9375em;
}

/* @hatena-module-profile profile-icon
====================================== */

.hatena-module-profile .profile-icon {
    margin: 0 .625em .625em 0;
}

@media (min-width: 768px) and (max-width: 991px){
    .hatena-module-profile .profile-icon {
        border-radius: 50%;
    }
}

/* @hatena-module-profile id
====================================== */

.hatena-module-profile .id {
    display: block;
    font-weight: 700;
    margin-bottom: 1em;
}

/* @profile-description p
====================================== */

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

/* @hatena-urllist
====================================== */

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

.hatena-urllist li {
    font-size: .8rem;
    font-weight: 700;
    padding: .5em 0;
}

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

/* @hatena-urllist urllist-title-link
====================================== */

.hatena-urllist li .urllist-title-link {
    font-size: 1rem; /* .875rem; */
}

@media (min-width: 768px) and (max-width: 991px) {
    .hatena-urllist li .urllist-title-link {
        font-size: .75rem;
    }
}

/* @hatena-urllist urllist-category-link
====================================== */

.hatena-urllist .urllist-category-link {
    display: inline-block;
    font-size: .7rem;
    padding: .1em .3em;
}

.hatena-urllist .urllist-category-link:first-of-type,
.hatena-urllist .urllist-category-link:nth-of-type(5n+1) {
    color: hsl(185 99% 27%); 
}

.hatena-urllist .urllist-category-link:nth-of-type(2),
.hatena-urllist .urllist-category-link:nth-of-type(5n+2) {
    color: hsl(326 37% 44%); 
}

.hatena-urllist .urllist-category-link:nth-of-type(3),
.hatena-urllist .urllist-category-link:nth-of-type(5n+3) {
    color: hsl(49 89% 33%); 
}

.hatena-urllist .urllist-category-link:nth-of-type(4),
.hatena-urllist .urllist-category-link:nth-of-type(5n+4) {
    color: hsl(28 53% 39%);
}

.hatena-urllist .urllist-category-link:nth-of-type(5),
.hatena-urllist .urllist-category-link:nth-of-type(5n) {
    color: hsl(355 52% 60%);
}

.hatena-urllist .urllist-category-link::before {
    content: "\f04a";
    font-family: "blogicon";
    font-size: .85em;
    letter-spacing: .2em;
}

.hatena-urllist .urllist-category-link:hover {
    opacity: .7;
}

/* @hatena-urllist urllist-date-link
====================================== */

.hatena-urllist .urllist-date-link a {
    color: hsl(0 0% 60%);
    font-size: .75rem;
}

.hatena-urllist .urllist-date-link a::before {
    content: "\f043";
    font-family: "blogicon";
    font-size: .95em;
    letter-spacing: .1em;
}

/* @hatena-urllist urllist-entry-body
====================================== */

.hatena-urllist .urllist-entry-body {
    margin-top: .3em;
}

.hatena-module .hatena-urllist li:nth-of-type(n+2) .urllist-entry-body {
    display: none;
}

/* @hatena-module-search-box
====================================== */

.search-form {
    background-color: hsl(0 0% 95%);
    border-radius: 4px; 
    height: 40px;
    position: relative;
    width: 100%;   
}

.search-form .search-module-input {
    background: none;
    border: none;
    font-size: 1em;
    height: 20px;
    margin: auto 0;
    opacity: .87;
    outline: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-indent: .5em;
    width: calc(100% - (.5em + 50px));
}

.search-form .search-module-button {
    background-color: hsl(0 0% 13%);
    border: none;
    border-radius: 0 4px 4px 0;
    color: hsl(0 0% 100%);
    cursor: pointer;
    font-size: 1em;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
}

.search-form .search-module-button:hover {
    background-color: hsl(188 93% 43%);
}

/* @entries-access-ranking
====================================== */

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

.entries-access-ranking li {
    margin-bottom: 1em;
    padding: 0;
    position: relative;
}

.entries-access-ranking li::before {
    color: hsl(0 0% 100%);
    content: counter(rank);
    counter-increment: rank;
    display: block;
    font-size: .875rem;
    font-weight: 700;
    height: 30px;
    line-height: 17.5px;
    position: absolute;
    top: 0;
    left: 0;
    text-indent: 5px;
    width: 30px;
}

.entries-access-ranking li:nth-of-type(1)::before {
    background: linear-gradient(315deg,
        transparent 50%,hsl(51 100% 50% / .95) 50%);
}

.entries-access-ranking li:nth-of-type(2)::before {
    background: linear-gradient(315deg,
        transparent 50%,hsl(0 0% 75% / .95) 50%);
}

.entries-access-ranking li:nth-of-type(3)::before {
    background: linear-gradient(315deg,
        transparent 50%,hsl(30 61% 50% / .95) 50%);
}

.entries-access-ranking li:nth-of-type(n+4)::before {
    background: linear-gradient(315deg,
       transparent 50%,hsl(120 100% 50% / .95) 50%);
}

.entries-access-ranking li:nth-of-type(n+9)::before {
    background: linear-gradient(315deg,
        transparent 50%,hsl(0 0% 25% / .95) 50%);
}

.entries-access-ranking li:nth-of-type(10)::before {
    text-indent: 1px;
}

.entries-access-ranking .urllist-date-link {
    margin-left: 2.75em;
}

.entries-access-ranking .urllist-title-link {
    display: inline-block;
    margin-left: 2.5em;
}

.entries-access-ranking .urllist-image-link+.urllist-date-link,
.entries-access-ranking .urllist-image-link+.urllist-title-link,
.entries-access-ranking .urllist-image-link+.urllist-date-link+.urllist-title-link {
    margin-left: 0;
}

.entries-access-ranking .urllist-image-link+.urllist-title-link,
.entries-access-ranking .urllist-image-link+.urllist-date-link+.urllist-title-link {
    display: inline;
}

@media (min-width: 768px) and (max-width: 991px){
    .entries-access-ranking li::before {
        font-size: .625rem;
        height: 20px;
        line-height: 12.5px;
        text-indent: 3px;
        width: 20px;
    }
    .entries-access-ranking li:nth-of-type(10)::before {
        text-indent: 0;
    }
    .entries-access-ranking .urllist-date-link,
    .entries-access-ranking .urllist-title-link {
        margin-left: 1.5625em;
    }
}

/* @hatena-module-category
====================================== */

.hatena-module-category .hatena-urllist li a,
ul.archive-module-months li a {
    display: block;
    overflow: hidden;
    padding-left: 1.25em;
    position: relative;
}

.hatena-module-category .hatena-urllist li a::before,
ul.archive-module-months li a::before {
    border-color: transparent transparent transparent hsl(188,93%,43%);
    border-style: solid;
    border-width: 4.5px 0 4.5px 6px;
    content: "";
    display: block;
    height: 0;
    position: absolute;
    top: calc(-5px + 50%);
    left: -7px;
    transition: left .35s;
    width: 0;
}

.hatena-module-category .hatena-urllist li a:hover::before,
ul.archive-module-months li a:hover::before  {
    left: 8px;
}

/* @hatena-module-html hatena-module-body
====================================== */

.hatena-module-html .hatena-module-body {
    border: 1px solid hsl(0 0% 87%);
    padding: .9375em;
}

/* @hatena-module-html
====================================== */

.hatena-module-html p {
    margin: 0;
}

.hatena-module-html ul {
    list-style: none;
    margin-block: 0;
    padding-inline-start: 0;
}

.hatena-module-html video,
.hatena-module-html iframe {
    max-width: 100%;
}

.hatena-module-html video {
    height: auto;
}

/* @hatena-module-circles
====================================== */

.hatena-module-circles .hatena-urllist li {
    border: 1px solid hsl(0 0% 87%);
    padding: 1em;
}

.hatena-module-circles .hatena-urllist li:nth-of-type(n+2) {
    border-top: none;
}

.hatena-module-circles .hatena-urllist li:hover {
    background-color: hsl(0 0% 97%);
}

.hatena-module-circles .hatena-urllist li:first-of-type a {
    color: hsl(349 53% 54%);
}

.hatena-module-circles .hatena-urllist li:nth-of-type(2) a {
    color: hsl(105 100% 20%);
}

.hatena-module-circles .hatena-urllist li:nth-of-type(3) a {
    color: hsl(195 100% 27%);
}

.hatena-module-circles .hatena-urllist li:nth-of-type(4) a {
    color: hsl(30 100% 22%); 
}

.hatena-module-circles .hatena-urllist li:nth-of-type(n+5) a {
    color: hsl(0 22% 58%); 
}

/* @circle-urllist circle-image
====================================== */

.hatena-module-body .circle-urllist .circle-image { 
    margin-left: .3125em;
}

.hatena-module-body .circle-urllist li .circle-image {
    outline: 2px solid transparent;
}

.hatena-module-body .circle-urllist li:hover .circle-image {
    outline: 2px solid hsl(0 0% 87%);
}  

/* @archive-module-button
====================================== */

.archive-module-button {
    color: hsl(35 84% 62%);
}

/* @archive-module-calendar
====================================== */

.hatena-module .archive-module-calendar,
.hatena-module .archive-module-calendar a {
    color: hsl(0 0% 46%);
}

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

.hatena-module .calendar-sunday,
.hatena-module .archive-module-calendar-week td:first-of-type,
.hatena-module .archive-module-calendar-week td:first-of-type a {
    color: hsl(16 100% 50%);
}

.hatena-module .calendar-saturday,
.hatena-module .archive-module-calendar-week td:nth-of-type(7),
.hatena-module .archive-module-calendar-week td:nth-of-type(7) a {
    color: hsl(188 100% 50%);
}

.hatena-module .archive-module-calendar a:hover,
.hatena-module .archive-module-calendar-week td:first-of-type a:hover,
.hatena-module .archive-module-calendar-week td:nth-of-type(7) a:hover {
    opacity: .7;
}

/* @recent-comments
====================================== */

.recent-comments,
.recent-comments .user-id img {
    overflow-wrap: anywhere;
}

/* aboutページ編集 */
/* @page-about entry-content dt dd
====================================== */

.page-about .entry-content dt {
    border-bottom: 1px solid hsl(0 0% 87%);
    font-weight: 700;
    margin-bottom: .5em;
}

.page-about .entry-content dd {
    margin-bottom: 2em;
    margin-left: 0;
}

/* アーカイブページ */
/* @page-archive breadcrumb
====================================== */

.page-archive .breadcrumb {
    display: none;
}

/* @archive-header-category
====================================== */

.archive-header-category {
    margin-bottom: 1.5rem;
}

/* @archive-heading
====================================== */

.archive-header-category .archive-heading {
    margin-bottom: 0;
}

.archive-header-category .archive-heading::before {
    content: "Category:";
    margin-right: .2em;
}

/* @archive-entries
====================================== */

.page-archive .archive-entries {
    display: flex;
    flex-direction: column;
    gap: 1em 0;
}

@media (min-width: 576px) {
    .page-archive .archive-entries {
        flex-flow: row wrap;
        justify-content: space-between;
    }
}

/* @page-archive archive-entry
====================================== */

.page-archive .archive-entry {
    background-color: hsl(0 0% 100%);
    border: 1px solid hsl(0 0% 84%);
    box-shadow: 0 5px 3px -5px hsl(0 0% 75% / .3);
    padding: .625em;
    position: relative;
    word-break: break-all;
    display: flex;
    flex-direction: column;
}

@media (min-width: 576px) {
    .page-archive .archive-entry {
        width: calc(50% - .5em);
    }
}

/* @page-archive entry-thumb-link
====================================== */

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

/* @page-archive entry-thumb
====================================== */

.page-archive .archive-entry .entry-thumb {
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    float: none;
    height: auto;
    margin-right: 0;
    object-fit: cover;
    transition: .4s ease-in-out;
    width: 100%;
}

.page-archive .archive-entry .entry-thumb:hover {
    background-color: hsl(0 0% 0% / .08);
    opacity: .55;
    transform: scale(1.3);
}

/* @archive-entry-header
====================================== */

.archive-entry .archive-entry-header {
    margin-top: .5em;
    order: 1;
    display: flex;
    flex-direction: column-reverse;
}

/* @archive-entry-header entry-title
====================================== */

.archive-entry .archive-entry-header .entry-title {
    font-size: 1rem;
    margin-bottom: .5em;
}

/* @archive-entry-header date
====================================== */

.archive-entry .archive-entry-header .date {
    font-size: .8rem;
    font-weight: 700;
    margin-bottom: .5em;
}

.archive-entry .archive-entry-header .date a,
.archive-entry .archive-entry-header .date a:hover {
    color: hsl(0 0% 60%);
}

/* @page-archive archive-entry-body
====================================== */

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

/* @page-archive date after
====================================== */

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

.page-archive .date .date-year::after,
.page-archive .date .date-month::after { 
    content: ".";
}

/* @page-archive categories
====================================== */

.page-archive .archive-entry .categories {
    display: none;
    /* margin: 0 0 .5em; */
    /* order: 3; */
}

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

/* @page-archive entry-description
====================================== */

.archive-entry .archive-entry-body .entry-description {
    /* color: hsl(213 5% 39%); */
    display: none; /* display: block; */
    /* font-weight: 600; */
    /* font-size: .8rem; */
    /* margin: 0; */
}

/* @page-archive social-buttons
====================================== */

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

/* @page-archive span highlight 
====================================== */

.page-archive span.highlight {
    background-color: hsl(41 100% 48% / .15);
    border: 1px solid hsl(41 100% 48% / .16);
    color: hsl(41 100% 48%);
    line-height: 1;
    padding: 0;   
}

/* @archive-entry-tags-wrapper
====================================== */

.page-archive .archive-entry-tags-wrapper {
    display: none;
}

/* @page-archive search-result-button
====================================== */

.search-result-form .search-result-button {
    top: 50%;
    transform: translateY(-50%);
}

/* フッター */
/* @footer
====================================== */

#footer {
    background-color: hsl(0 0% 100%);
    border-top: 1px solid hsl(0 0% 84%);
    color: hsl(0 0% 60%);
    font-size: .8rem;
    padding: 1.75em 1.25em .5em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#footer-inner {
    margin: 0 auto;
    width: 90vw;
}

@media (min-width: 992px) {
    #footer-inner {
        max-width: 1200px;
    }
}

#footer-inner a {
    color: hsl(0 0% 60%);
}

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

#footer address img {
    display: inline-block;
}

/* @footer End
====================================== */

/* End system
========================================================================== */
/* </system> */

/* --------------------------------------------------
   #アコーディオン
-------------------------------------------------- */
.accordion {
  max-width: 700px;
  margin: 20px auto;
  font-family: sans-serif;
}

.acc-item {
  border: 1px solid #ddd;
  margin-bottom: 10px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.acc-item summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: bold;
  list-style: none;
  position: relative;
}

.acc-item summary::-webkit-details-marker {
  display: none;
}

/* 開閉マーク */
.acc-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  transition: 0.2s;
}

.acc-item[open] summary::after {
  content: "−";
}

.acc-content {
    padding: 12px 16px;
    border-top: 1px solid #d9d9d9;
    line-height: 1.6;
    background: #ffffff;
}



/* --------------------------------------------------
   #画像圧縮ツール用
-------------------------------------------------- */

/* 画像圧縮ツール専用スタイル */
.img-compressor-container {
  --ic-primary: #0071e3;
  --ic-border: #d2d2d7;
  --ic-text-main: #1d1d1f;
  --ic-text-sub: #86868b;
  --ic-accent-green: #7dc58f;
  --ic-accent-blue: #76a8db;
  --ic-light-gray: #e5e5e7;
  
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.img-compressor-card {
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--ic-border);
  box-sizing: border-box;
}




.img-compressor-header { text-align: center; margin-bottom: 24px; }
.img-compressor-title { margin: 0; font-size: 22px; font-weight: 600; color: var(--ic-text-main); border: none !important; }
.img-compressor-subtitle { margin: 8px 0 0; color: var(--ic-text-sub); font-size: 14px; }

.img-compressor-dropzone {
  border: 2px dashed var(--ic-border);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--ic-text-sub);
}
.img-compressor-dropzone:hover { border-color: var(--ic-primary); background: #fff; color: var(--ic-primary); }
.img-compressor-icon { width: 32px; height: 32px; }

.img-compressor-settings { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.img-compressor-field { display: flex; flex-direction: column; gap: 6px; }
.img-compressor-label { font-size: 11px; font-weight: 700; color: var(--ic-text-sub); text-transform: uppercase; }
.img-compressor-input, .img-compressor-select {
  padding: 10px; border: 1px solid var(--ic-border); border-radius: 8px; font-size: 14px; background: #fff; width: 100%; box-sizing: border-box;
}

.img-compressor-preview-area { margin-top: 24px; padding-top: 20px; border-top: 1px solid #eee; display: none; }


/* 1. 親要素で垂直中央を強制する */
.img-compressor-stats {
  display: flex;
  align-items: center; /* これで中の要素をすべて垂直中央に揃える */
  justify-content: center;
  gap: 12px; /* 要素間のスキマ */
}


.img-compressor-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    background-color: #f8f8fa;
    border-radius: 10px;
    padding: 12px;
}

/* 2. 矢印アイコン自体の調整 */
.img-compressor-arrow-icon {
  width: 24px;
  height: 24px;
  color: #a2d5ae;
  
  /* インライン要素特有の「下の隙間」を消し、垂直中央へ */
  display: inline-block; 
  vertical-align: middle; 
  
  /* もしこれでもまだ少し上に感じる場合は、微調整用 */
  position: relative;
  top: 0px; 
}

/* 3. バッジ側の調整（念のため） */
.img-compressor-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: fit-content;
  line-height: 1; /* 行間で高さがズレるのを防ぐ */
}

.img-compressor-badge {
    background: #a2d5ae;
    color: #fff;
    font-size: 11px;
    padding: 7px 8px;
    border-radius: 4px;
    font-weight: bold;
}


.img-compressor-stat-box { flex: 1; text-align: center; }
.img-compressor-stat-label { font-size: 11px; color: var(--ic-text-sub); display: block; }
.img-compressor-stat-value { font-size: 15px; font-weight: 700; color: var(--ic-text-main); }

.img-compressor-arrow-icon { width: 24px; height: 24px; color: #a2d5ae; }

.img-compressor-img { width: 100%; border-radius: 8px; margin-bottom: 15px; display: block; }

.img-compressor-actions { display: flex; flex-direction: column; gap: 10px; }
.img-compressor-btn-primary { background: var(--ic-accent-blue); color: #fff; padding: 12px; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; }



.img-compressor-btn-secondary {
    background: var(--ic-light-gray);
    color: #8d8d8d;
    padding: 13px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}


.img-compressor-btn-primary:hover, .img-compressor-btn-secondary:hover { opacity: 0.8; }

.img-compressor-loading { opacity: 0.5; pointer-events: none; }

@media (max-width: 400px) {
  .img-compressor-settings { grid-template-columns: 1fr; }
}






/* 「別の画像を選ぶ」ボタンの色を少し目立たせる場合 */
.img-compressor-btn-secondary {
    background: #f0f0f2; /* 薄いグレー */
    color: #1d1d1f;      /* 文字を濃く */
    padding: 13px;
    border: 1px solid #d2d2d7; /* 枠線をつける */
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}


/* --------------------------------------------------
   #パーセント計算機用
-------------------------------------------------- */

.p-calc-container {
    background: #fff;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    max-width: 65%;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .p-calc-container {
        max-width: 100%;
        border-radius: 0;
    }
}

.p-calc-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 14px;
}

.p-calc-tab-percent {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 2px solid #111827;
    color: #111827;
}

.p-calc-tab-wari {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-size: 13px;
    color: #9ca3af;
    cursor: pointer;
}

.p-calc-field {
    margin-bottom: 12px;
}

.p-calc-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.p-calc-input-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.p-calc-input {
    width: 90%;
    padding: 9px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-sizing: border-box;
}

.p-calc-input::placeholder {
    color: #d1d5db;
}

.p-calc-unit-text {
    font-size: 13px;
    color: #374151;
}

.p-calc-result-wrapper {
    overflow-x: auto;
}

.p-calc-result-table-box {
    margin-top: 14px;
}

.p-calc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.p-calc-thead-row {
    background: #f9fafb;
}

.p-calc-th {
    padding: 6px;
    border: 1px solid #e5e7eb;
}

.p-calc-td {
    padding: 8px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.p-calc-text-red {
    color: #ef4444;
}

.p-calc-btn-container {
    text-align: center;
    margin-top: 14px;
}

.p-calc-reset-button {
    padding: 10px 18px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.p-calc-reset-button:hover {
    background: #f3f4f6;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.p-calc-reset-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}











/* --------------------------------------------------
   #参照リンク
-------------------------------------------------- */

/* 参照元リンク用：右寄せ＋余白調整＋文字サイズ小さめ */
.ref-right {
  margin: 0;          /* 上下の余白をリセット（空白対策） */
  text-align: right;  /* 右寄せ */
  font-size: 80%;     /* 少し小さく表示 */
}

/* --------------------------------------------------
   #box2 
-------------------------------------------------- */
/* 左右の余白が広かったため、横幅を82%に縮小 */

#box2 {
    width: 82%;
}

/* --------------------------------------------------
   商品リンクボックス（hatena-asin）の背景と枠線を削除
-------------------------------------------------- */
.hatena-asin-detail {
    background-color: transparent !important;
    border: none !important;
}


/* --------------------------------------------------
   左列固定スライドテーブル（枠なし）
-------------------------------------------------- */

/* 横スクロール */
.scroll-table {
  overflow-x: auto;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

/* テーブル */
.scroll-table table {
  min-width: 600px;
  border-collapse: collapse;
}

/* ヒント矢印（上に表示） */
.scroll-table.hint::after {
  content: "⇆ スライドできます";
  position: absolute;
  right: 10px;
  top: 216px;
  font-size: 12px;
  color: #666;
  background: rgba(255,255,255,0.9);
  padding: 4px 8px;
  border-radius: 12px;
  animation: slideHint 1.5s infinite;
  display: none; /* ←追加 */
}

@media screen and (max-width: 768px) {
  .scroll-table.hint::after {
    display: block;
  }
}

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

/* アニメーション */
@keyframes slideHint {
  0% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(-6px); opacity: 1; }
  100% { transform: translateX(0); opacity: 0.6; }
}




/* --------------------------------------------------
   コマンドプロンプト風ボックス（クラス名: code-terminal）
-------------------------------------------------- */
.code-terminal {
    background: #1e1e1e;       /* ダーク背景（VSCodeやターミナル風） */
    color: #d4d4d4;           /* 少し落ち着いた白文字 */
    padding: 20px 20px 20px;   /* 上部にボタン用の余白を確保 */
    border-radius: 8px;
    margin: 1.38em 0;
    position: relative;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace; /* 等幅フォント */
    font-size: 0.9em;
    line-height: 1.6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ユーザー名のプロンプト（C:\> や $ など）を強調したい場合用 */
.code-terminal .prompt {
    color: #4ade80;           /* 鮮やかな緑（実行待ち状態風） */
    margin-right: 8px;
    user-select: none;        /* コピペ時に邪魔にならないよう選択不可に */
}

/* 選択時の色（ターミナルらしく） */
.code-terminal::selection {
    background: #264f78;
}



/* --------------------------------------------------
   リンクホバーの色
-------------------------------------------------- */
a:hover {
    color: rgb(110, 150, 255) !important;
    transition: all .3s;
}

/* --------------------------------------------------
   テーブル全体の幅を100%にしつつ、列幅を文字に合わせる
-------------------------------------------------- */
.entry-content table {
    display: table;     /* ブロック化を解除してテーブル本来の挙動に */
    width: 100%;        /* テーブル全体の幅は親要素（記事幅）いっぱいに */
    table-layout: auto; /* 列の幅を文字数・コンテンツに合わせて自動調整 */
    
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 14px;
    font-size: .8rem;
    word-break: normal; /* 単語の途中で変に切れないようにする */
    overflow-wrap: break-word; /* 長いURLなどがある場合だけ折り返す */
}

@media (min-width: 992px) {
    .entry-content table {
        font-size: .9rem;
    }
}

/* ヘッダー(th)の背景を変更 */
.entry-content table th {
    background: #f0f0f0; 
    color: #767676;
    font-weight: bold;
    border: 1px solid #e1ecf4;
    padding: 10px 10px; 
    text-align: center; 
    white-space: nowrap; 
}

/* データセル(td) */
.entry-content table td {
    border: 1px solid #e1e8f1;
    padding: 12px 15px;
    background: #fff;
    line-height: 1.6;
    white-space: nowrap;
}

/* テーブル全体 */
.entry-content table {
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
}

/* 1列目（果物名）→最小限 */
.entry-content table td:first-child,
.entry-content table th:first-child {
    white-space: nowrap;
    width: 1%; /* ←これがミソ（最小幅にする） */
}

/* 2列目（国・地域）→可変で広がる */
.entry-content table td:nth-child(2),
.entry-content table th:nth-child(2) {
    width: auto; /* 自動で広がる */
}

/* 共通 */
.entry-content table th,
.entry-content table td {
    padding: 10px 10px;
    border: 1px solid #e1e8f1;
}



/* --- スライドテーブルを「横スクロール」に固定する設定 --- */

.scroll-table {
    display: block;
    width: 100%;
    overflow-x: auto;       /* 横スクロールを強制 */
    white-space: nowrap;    /* ★重要：親要素で改行を禁止 */
    -webkit-overflow-scrolling: touch; /* スマホでの操作を滑らかに */
}

.scroll-table table {
    width: auto !important;     /* 100%固定を解除し、中身の幅に合わせる */
    min-width: 600px !important; /* ★重要：スマホでも600pxを維持して「はみ出させる」 */
    table-layout: auto !important;
    border-collapse: collapse;
}

/* テーブル内のセル設定 */
.entry-content .scroll-table th,
.entry-content .scroll-table td {
    white-space: nowrap !important; /* ★重要：セル内での改行を一切禁止 */
    word-break: normal !important;
    padding: 10px 10px;
}

/* スマホ表示時の挙動を上書き */
@media screen and (max-width: 768px) {
    .entry-content .scroll-table table {
        display: table !important; /* ブロック化を解除 */
    }
}


/* 本文の文字色を設定（やや落ち着いたグレー） */
body {
    color: hsl(0deg 0% 38.58%);
}



/* ==================================================
   カスタム囲み枠 シリーズ
================================================= */

/* --- 1. 基本・補足（薄い青：作成済み） --- */
.custom-box {
    background: #ffffff;
    padding: 18px 1px 8px 29px;
    border-radius: 8px;
    margin: 1.5em 0;
    line-height: 1.7;
    border: 1px solid #e1dcdc;
}


.custom-box strong {
    color: #838383;
}


/* --- 2. ビフォー・注意（薄い赤） --- */
.custom-box-before {
    background: #fff5f5;      /* 薄い赤（ピンク系） */
    padding: 26px;
    border-radius: 8px;
    margin: 1.5em 0;
    line-height: 1.7;
    position: relative;
}

.custom-box-before strong {
    color: #ab8686;
}

/* --- 3. アフター・成果（薄い緑） --- */
.custom-box-after {
    background: #f0fff4;      /* 薄い緑（ミント系） */
    padding: 26px;
    border-radius: 8px;
    margin: 1.5em 0;
    line-height: 1.7;
    position: relative;
}

.custom-box-after strong {
    color: #629570;
}

/* --- 4. 注意・警告（薄い黄色） --- */
.custom-box-warning {
    background: #fff7de;      /* 薄い黄色（クリーム系） */
    padding: 26px;
    border-radius: 8px;
    margin: 1.5em 0;
    line-height: 1.7;
    position: relative;
}

/* --- 注意のマーク（ビックリマーク：\f02a）に変更 --- */
.custom-box-warning::before {
    content: "\f05e"; /* これがビックリマークのアイコンコードです */
    font-family: "blogicon";
    position: absolute;
    top: 12px;     /* 位置を微調整 */
    right: 18px;    /* 位置を微調整 */
    color: #f39c12; /* 少し濃いオレンジ色に */
    font-size: 1.8em;
    opacity: 0.4;
}

/* 枠内の強調文字をさらに注意らしく */
.custom-box-warning strong {
    color: #b19a54;
}


/* --- 5. 例文・サンプル（薄いパープル） --- */
.custom-box-example {
    background: #f8f9ff;      /* 非常に薄いラベンダーブルー */
    padding: 18px 1px 8px 29px;
    border-radius: 8px;
    margin: 1.5em 0;
    line-height: 1.7;
    position: relative;
}


/* 枠内の強調文字の色を調整 */
.custom-box-example strong {
    color: #a3aef3;           /* 例文に合う落ち着いた紫 */
}

/* --------------------------------------------------
   カスタム囲み枠（背景 #f1f7ff / 余白 26px）
-------------------------------------------------- */
.custom-box {
    padding: 18px 1px 8px 29px;
    border-radius: 8px;
    margin: 1.5em 0;
    line-height: 1.7;
}

/* --------------------------------------------------
   引用枠（blockquote）：シンプル＆モダン
-------------------------------------------------- */
.entry-content blockquote {
    background: #f9f9f9;      /* 非常に薄いグレー */
    padding: 26px;            /* ボックスと余白を統一 */
    border-left: 5px solid #bdc3c7; /* 左側に落ち着いたグレーの太線 */
    border-top: none;
    border-right: none;
    border-bottom: none;
    margin: 1.3em 0;
    color: #555;              /* 引用文なので少し色を落とす */
    font-size: 0.95em;        /* 本文よりわずかに小さく */
    line-height: 1.7;
    position: relative;
    border-radius: 0 8px 8px 0; /* 右側だけ角を丸く */
}



/* 引用内のテキストがアイコンに被らないように調整 */
.entry-content blockquote p {
    position: relative;
    z-index: 1;
    margin: 0;
}

/* 引用元（cite）のスタイル */
.entry-content blockquote cite {
    display: block;
    margin-top: 10px;
    font-size: 0.85em;
    color: #888;
    text-align: right;        /* 引用元を右寄せに */
}


/* --------------------------------------------------
   記事内の箇条書き（li）の上下余白を広げる
-------------------------------------------------- */
.entry-content li {
    letter-spacing: 0.49px; /* 文字間隔（維持） */
    font-size: 15px;       /* 文字サイズ（維持） */
    margin: 0.3em 0;     /* 上下に 0.8文字分 の余白を追加 */
    line-height: 1.7;      /* 行間も少し広げる */
}

/* リスト内のリスト（入れ子）がある場合の調整 */
.entry-content li li {
    margin: 0.4em 0;      /* 入れ子の中は少し余白を抑える */
}


/* --------------------------------------------------
   サイドバー等の記事リスト（最新記事・注目記事）
-------------------------------------------------- */
.hatena-urllist li a {
    font-weight: normal !important;
}

.hatena-urllist .urllist-title {
    font-weight: normal !important;
}

/* サイドバー等の記事リスト（サイズ0.8rem・太字解除）*/
.hatena-urllist li {
    font-size: .8rem;    /* 文字サイズを0.8remに統一 */
    font-weight: normal; /* 太字を解除 */
    padding: .5em 0;     /* 上下の余白 */
    list-style: none;
}

/* リンク部分も親のサイズと標準の太さを継承 */
.hatena-urllist li a,
.hatena-urllist li .urllist-title-link {
    font-size: inherit !important;
    font-weight: normal !important; /* ここでも確実に太字をカット */
    text-decoration: none;
    color: #4a5568;
}

/* ホバー時の挙動（任意） */
.hatena-urllist li a:hover {
    text-decoration: underline;
    color: #2c3e50;
}

/* --- アーカイブ・カテゴリーの見出し装飾を削除 --- */

.hatena-module-archive .hatena-module-title, 
.hatena-module-category .hatena-module-title {
    border-bottom: none !important; /* 下線を削除 */
    display: inline-block;
    position: relative;
}

/* 下の三角形（吹き出し風の装飾）を非表示 */
.hatena-module-archive .hatena-module-title::after, 
.hatena-module-category .hatena-module-title::after {
    display: none !important;
}


/* --------------------------------------------------
   サイドバー等の記事リスト：ホバー時に色を明るくし、下線を表示
-------------------------------------------------- */
.hatena-urllist li a:hover,
.hatena-urllist li .urllist-title-link:hover {
    color: rgb(110, 150, 255) !important; /* 本文と同じ明るい青 */
    text-decoration: underline !important; /* 下線を表示 */
    transition: 0.2s;                      /* 滑らかに変化 */
    opacity: 0.9;                          /* わずかな透明感 */
}


/* --------------------------------------------------
   目次デザイン：共通スタイル
-------------------------------------------------- */
/* 目次内リンクの余白と高さ調整 */
.entry-content .table-of-contents a {
    padding-top: 0px;
    padding-bottom: 0px;
    display: block;
    line-height: 1.3; 
}

/* 目次本体の枠・背景デザイン */
.entry-content ul.table-of-contents {
    background: #f7f7f7;
    border: 1px solid #ebeef5;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(149, 157, 165, 0.08);
    padding: 55px 24px 30px 35px !important;
    margin: 2em 0;
    position: relative;
    max-height: 220px;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 目次展開時（JS連携用） */
.entry-content ul.table-of-contents.is-opened {
    max-height: 4000px;
    padding-bottom: 60px !important;
}

/* 目次タイトル（::beforeで表示） */
.entry-content ul.table-of-contents::before {
    content: "目次";
    position: absolute;
    top: 0.8em;
    left: 24px;
    font-size: 16px;
    font-weight: 700;
    color: #979797;
    line-height: 1.2;
}

/* 不要なAfter要素は非表示 */
.entry-content ul.table-of-contents::after {
    display: none;
}



/* --------------------------------------------------
   目次リストの項目（ドット・非表示設定）
-------------------------------------------------- */
.entry-content ul.table-of-contents li {
    list-style-type: none !important;
    margin: 12px 0;
    line-height: 1.6;
    position: relative;
}

/* リスト先頭の「・」デザイン */
.entry-content ul.table-of-contents li::before {
    content: "・"; 
    position: absolute;
    left: -1.3em;
    color: #323232;
    font-weight: 100;
    top: -0.23em;
}

.entry-content ul.table-of-contents li ul li::before {
    color: #323232;
}

/* h4（第3階層）を非表示にする設定 */
.entry-content ul.table-of-contents li ul li ul {
    display: none !important;
}

/* 目次内のリンクテキスト */
.entry-content ul.table-of-contents li a {
    color: #4a5568 !important;
    text-decoration: none;
    font-size: 13.4px;
    transition: 0.2s;
    margin-left: -9px;
}

/* --- 目次内のリンクテキスト（ホバー時の挙動を統一） --- */
.entry-content ul.table-of-contents li a:hover {
    color: rgb(110, 150, 255) !important; /* ダークグレーから明るい青へ変更 */
    text-decoration: underline !important; /* 下線を確実に表示 */
    opacity: 0.9;                          /* わずかな透明感で変化を強調 */
}

/* 第2階層以降（h3）のインデント */
.entry-content ul.table-of-contents li ul {
    margin-top: 8px;
    padding-left: 15px;
}

/* --------------------------------------------------
   目次の開閉ボタンとグラデーション
-------------------------------------------------- */
.toc-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(transparent, #ffffff 90%);
    pointer-events: none;
    z-index: 1;
}

.toc-toggle-btn {
    display: block;
    width: 220px;
    margin: -25px auto 20px;
    padding: 10px;
    background: #546e7a;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(84, 110, 122, 0.2);
    position: relative;
    z-index: 2;
    transition: 0.3s;
    text-align: center;
}

.toc-toggle-btn:hover {
    background: #455a64;
    transform: translateY(-1px);
}

/* --------------------------------------------------
   目次の枠・開閉状態（サブクラス設定）
-------------------------------------------------- */
.table-of-contents {
    max-height: 120px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
    padding-bottom: 20px;
}

.toc-closed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

.toc-opened {
    max-height: 2000px !important;
}

.toc-toggle-button {
    display: block;
    margin: 10px auto;
    padding: 8px 25px;
    background: #555;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}


/* --------------------------------------------------
   見出し
-------------------------------------------------- */
/* h2の上の幅狭く */
.entry-content h2 {
    margin: 2.6em 0 1.875em;
}

/* h3のフォントサイズ */


.entry-content h3 {
    border-top: none !important;
    border-bottom: none !important;
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 55px 0 20px 0;
    padding: 3px 0px 3px 9px;
    border-left: 4px solid hsl(0deg 1.34% 56.1%);
}
.entry-content h3 {
    font-size: 1.33rem;

}

/* h4の色・フォントサイズ */
.entry-content h4 {
    border-left: none !important;
    font-size: 1.09em;
    font-weight: 500;
    line-height: 1.5;
    margin: 38px 0px 22px 0px;
    padding: 12px 7px 12px 8px;
    border-bottom: 1px solid #606060;
    border-top: 1px solid #606060;
}


/* --------------------------------------------------
   記事本文内の共通スタイル（リンク・フォント）
-------------------------------------------------- */
.entry-content a {
    color: rgb(62, 116, 254);
    text-decoration: underline;
}

.entry-content {
    font-size: 16.6px;
}

.entry-content p {
    margin-bottom: 28px !important;
}

/* スマホのみ本文を小さく */
@media screen and (max-width: 768px) {
    .entry-content {
        font-size: 15.4px;
    }
}

/* --------------------------------------------------
   記事本文のみ：文字の間隔を0.49pxに設定
-------------------------------------------------- */
.entry-content {
    letter-spacing: 1.0px; /* 精密な文字間隔の調整 */
}

/* 記事内の箇条書きリストにも同じ間隔を適用 */
.entry-content li {
    letter-spacing: 0.49px;
}


/* --------------------------------------------------
   強調（strong）の背景マーカーを削除
-------------------------------------------------- */
strong {
    background: transparent !important; /* 背景色・グラデーションを消去 */
}


/* --------------------------------------------------
   記事本文内のリンク：ホバー時に色を明るくする
-------------------------------------------------- */
.entry-content a {
    color: rgb(62, 116, 254); /* 通常時の青 */
    text-decoration: underline;
    transition: 0.2s; /* 色の変化を滑らかにする */
}

/* マウスを置いたときの設定 */
.entry-content a:hover {
    color: rgb(110, 150, 255) !important; /* 通常より明るい青に変化 */
    text-decoration: none;               /* 下線を消してスッキリさせる */
    opacity: 0.9;                        /* わずかに透明感を出して「変化」を強調 */
}

/* --------------------------------------------------
   ヘッダー・タイトルエリアの余白調整
-------------------------------------------------- */
#header {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin-bottom: 0 !important;
}

#title {
    margin: 0 !important;
    padding: 10px 0 !important;
}

#blog-description {
    margin: 0 !important;
    padding-bottom: 10px !important;
}

@media (min-width: 768px) {
#content {
    margin-top: 20px !important;
    margin-left: 391px;
}
}

/* ブログタイトルの上下余白を縮める */
#blog-title {
    padding-top: 10px !important;    /* 上の余白を短縮 */
    padding-bottom: 10px !important; /* 下の余白を短縮（元は2em） */
}


/* ブログの説明文（キャプション）の調整：太字を解除 */
#blog-description {
    margin: 0 !important;
    padding-bottom: 10px !important;
    font-weight: normal !important; /* 太字をやめる */
}

/* PC表示時にコンテンツを少し上にずらす */
@media (min-width: 992px) {
  .page-entry #content-inner {
    margin-top: -19px;
  }
}

#content-inner {
    margin-top: 40px;
}


/* --------------------------------------------------
   パンくずリストのデザイン
-------------------------------------------------- */
.breadcrumb {
    background-color: hsl(0deg 0% 94.12%);
    border: none;

    margin: 0 auto;
    padding: 0.5em 2.5em;
}

.page-entry .breadcrumb {
    margin-bottom: 0em;
    font-size: 14px;
    margin-left: -27px;
}

.breadcrumb-link span::before {
    content: "\f017"; /* ホームアイコン */
    color: #9999a6 !important;;
}


.breadcrumb-child span::before {
    color: #9999a6;
}

/* パンくずリストの下余白をなくす */
.page-entry .breadcrumb {
    margin-bottom: 0em;
}

@media (min-width: 768px) {
    .page-entry #top-box {
        border-bottom: none;
        margin-left: 393px;
    }
}

/* ==================================================
   スマホ最適化（全体バランス調整）
================================================= */
@media screen and (max-width: 768px) {

    /* ---------- 本文 ---------- */
    .entry-content {
        font-size: 17px;
        line-height: 1.75;
    }

    /* ---------- リスト ---------- */
    .entry-content li {
        font-size: 14.7px;
        line-height: 1.7;
        margin: 0.25em 0; /* 少し詰める */
    }
    .entry-content ul, .entry-content ol, .entry-content dd {
    margin-bottom: 1em;
    padding: 0px 1px 1px 15px;
    }

    /* ---------- 見出し ---------- */
    .entry-content h2 {
        margin: 2em 0 1.2em;
    }

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

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

    /* ---------- 囲み枠 ---------- */
    .custom-box,
    .custom-box-before,
    .custom-box-after,
    .custom-box-warning,
    .custom-box-example {
        padding: 16px 16px;
        font-size: 0.90rem;
    }

    /* ---------- 引用 ---------- */
    .entry-content blockquote {
        padding: 18px;
        font-size: 0.90rem;
    }

    /* ---------- テーブル ---------- */
    .entry-content table {
        font-size: 0.75rem;
    }
    /* スマホはテーブル幅をコンテンツ基準に */
    .entry-content table {
        width: auto !important;   /* ←100%解除 */
        max-width: 100%;          /* ←はみ出し防止 */
        margin-left: auto;
        margin-right: auto;       /* ←中央寄せ */
    }

    .entry-content table th,
    .entry-content table td {
        padding: 8px 10px;
    }

    /* ---------- スクロールテーブル ---------- */
    .scroll-table table {
        min-width: 520px !important; /* 少しだけ縮める */
    }
