/* <system section="theme" selected="block-memo"> */
/*!
  Theme: Block Memo
  Author: Hatena Blog Team
  Description:
  日常のちょっとした出来事を未来の自分のために残しておくためのテーマです
  Responsive: yes
 *//*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.clearfix{zoom:1}.clearfix:before,.clearfix:after{content:"";display:table}.clearfix:after{clear:both}body{font-size:87.5%;font-family:YuGothic,游ゴシック,Meiryo,メイリオ,Hiragino Kaku Gothic Pro,ヒラギノ角ゴシック,sans-serif;color:#646464;background:#f5f5f5;margin:0}h1,h2,h3,h4,h5,h6{font-weight:700;line-height:1.2;color:#3c3c3c}h1 .keyword,h2 .keyword,h3 .keyword,h4 .keyword,h5 .keyword,h6 .keyword{color:#3c3c3c}h1,h2,h3{margin:24px auto 14px}h4,h5,h6{margin:24px auto 10px}h1{font-size:1.875em}h2{font-size:1.5em}h3{font-size:1.286em}h4{font-size:1.143em}h5{font-size:1.071em}h6{font-size:1em}h2{border-bottom:1px solid #dcdcdc;padding:0 0 5px}p{font-size:1em;line-height:1.7;margin:0 auto 14px}a{color:#00aa8c;text-decoration:none}a:hover{color:#00aa8c;text-decoration:underline}a:visited{color:#51838a}a:focus{color:#51838a}a:active{color:#51838a}hr{margin:24px auto;border-width:0;border-top:1px solid #dcdcdc}iframe{margin:0 auto 14px}#globalheader-container{color:#646464;background:#f5f5f5;position:sticky;top:0}#container{width:100%;max-width:700px;margin:0 auto;padding:0 10px;box-sizing:border-box}#main{margin:0 auto 48px}#blog-title{margin:20px auto 48px}#blog-title-inner{text-align:center;border-radius:4px}@media screen and (max-width:580px){#blog-title-inner{height:100%}}.header-image-enable #blog-title-content{position:relative;top:50%;-wibkit-transform:translateY(-50%);transform:translateY(-50%)}#title{font-size:1.5em;padding:30px 20px 0;margin:0 auto 10px}#title a{text-decoration:none;color:#3c3c3c}#blog-description{font-size:.93em;font-weight:400;border-bottom:none;margin:0 auto;padding:0 20px 30px}#footer-inner{text-align:center;font-size:.93em}.services{line-height:1}.entry,.archive-entry{background:#fff;margin:0 auto 48px;padding:0 80px 80px;border-radius:4px;box-shadow:0 0 1px #d9d9d9}@media screen and (max-width:580px){.entry,.archive-entry{padding:0 20px 20px}}.entry-header{margin:0 auto 38px;position:relative}.date{border-left:3px solid #00aa8c;margin:0 auto 10px;padding:80px 0 0 4px;line-height:.7}@media screen and (max-width:580px){.date{padding-top:40px}}.date a:hover{text-decoration:none}.date a:visited,.date-last-updated{color:#00aa8c}time{font-family:Avenir,Helvetica,sans-serif;font-size:.93em}.entry-title{font-size:1.857em;margin:0 auto 10px}.entry-title a:hover{text-decoration:none}.entry-title a:visited{color:#00aa8c}.categories{line-height:1;margin:0 auto 10px}.categories a{color:#8c8c8c;font-size:.93em;margin-right:6px}.categories a:hover{color:#00aa8c;text-decoration:underline}.entry-header-menu{position:absolute;top:10px;right:-60px}.entry-content{margin:0 auto 38px}.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6,.entry-content .footnote-number{scroll-margin-top:56px}.entry-content .hatena-fotolife{border-radius:2px}.entry-content .hatena-image-left{margin-right:14px}.entry-content .hatena-image-right{margin-left:14px}.entry-content ul,.entry-content ol{font-size:1em;line-height:1.7;padding-left:16px;margin:0 auto 14px}.entry-content ul p,.entry-content ol p{margin:0 auto}.entry-content table{font-size:1em;border-collapse:collapse;border-spacing:0;margin:24px auto;width:100%}.entry-content tr{background-color:#fff;margin:0;padding:0}.entry-content tr:hover{background:#f5f5f5}.entry-content th{background:#f5f5f5;font-weight:700;border:1px solid #dcdcdc;padding:5px 10px}.entry-content td{border:1px solid #dcdcdc;padding:5px 10px}.entry-content blockquote{border-left:6px solid #dcdcdc;padding-left:12px;margin:24px 0}.entry-content .code{font-size:.93em;line-height:1.7;background:#f5f5f5;margin:24px auto;padding:10px;border-radius:2px;overflow:auto;white-space:pre-wrap;word-wrap:break-word}.entry-content code{font-size:.93em;background:#f5f5f5;border:1px solid #dcdcdc}.entry-content .hatena-asin-detail,.entry-content .itunes-embed,.entry-content .embed-wrapper{border-radius:2px;margin:14px auto;padding:14px}.entry-content .hatena-asin-detail ul,.entry-content .itunes-embed ul,.entry-content .embed-wrapper ul{margin:0;padding:0}.entry.no-entry{padding:80px}.keyword{color:#646464;border-bottom:1px dotted #646464;padding-bottom:0}.keyword:hover{color:#00aa8c;border-bottom:none}.author,.comment-metadata time{color:#8c8c8c}.hatena-star-container{margin:0 auto 14px}.social-buttons{margin:0 auto 24px}.comment-box{position:relative;margin:38px auto}.comment-box ul{padding:0;list-style:none}.comment-box li{padding:24px 0 24px 50px;position:relative;border-bottom:1px solid #dcdcdc}.comment-box li:first-child{border-top:1px solid #dcdcdc}.comment-box .hatena-id-icon{position:absolute;left:0;width:40px;height:40px;border-radius:2px}.comment-box .comment-user-name{line-height:1;margin:0 auto 10px}.comment-box .comment-content p{font-size:.93em;line-height:1.5;margin:10px auto}.comment-box .comment-content p a{word-wrap:break-word}.comment-box .comment-metadata{margin:0 auto}.comment-box .read-more-comments{padding-left:0}.leave-comment-title{display:inline-block;width:auto;font-size:1em;text-align:center;line-height:1;cursor:pointer;background:#f5f5f5;margin:24px 0;padding:10px;border-radius:2px}.leave-comment-title:hover{background:#00aa8c;color:#fff;text-decoration:none}.pager{display:table;table-layout:fixed;width:100%;padding:0 0 48px;border-bottom:1px solid #dcdcdc}.pager-next,.pager-prev{display:table-cell}.pager-next{padding-left:15px;text-align:right}.pager-prev{padding-right:15px}#box2-inner{zoom:1;margin:auto -30px}#box2-inner:before,#box2-inner:after{content:"";display:table}#box2-inner:after{clear:both}@media screen and (max-width:580px){#box2-inner{margin:auto}}#box2-inner .hatena-module{float:left;padding:0 30px;width:50%}.hatena-module{vertical-align:top;margin:0 auto 38px;box-sizing:border-box}@media screen and (max-width:580px){.hatena-module{float:none;width:100%;padding:0 20px}}.hatena-module:nth-child(odd){clear:both}.hatena-module .hatena-module-title{font-size:1.071em;font-weight:700;line-height:1.2;color:#3c3c3c;margin-bottom:10px}.hatena-module .hatena-module-title a{color:#3c3c3c}.hatena-module .hatena-module-title a:hover{color:#3c3c3c;text-decoration:underline}.hatena-module .hatena-module-body p{line-height:1.5}.hatena-module ul{padding-left:0;margin:0 auto 14px}.hatena-module li{border-bottom:1px solid #dcdcdc;padding:10px 0;list-style:none;line-height:1.5}.hatena-module li .urllist-title-link{font-size:100%}.hatena-module .profile-icon{display:inline-block;border-radius:64px}.hatena-module .search-form{width:100%;background:#fff;position:relative}.hatena-module .search-module-input{border-radius:2px;border:1px solid #dcdcdc;width:100%;padding:2px 0 2px 4px;box-sizing:border-box}.hatena-module .search-module-input:hover{border:1px solid #00aa8c}.hatena-module .search-module-input:focus{outline:none;border:1px solid #3c3c3c}.hatena-module .search-module-button{width:20px;height:20px;position:absolute;top:0;bottom:0;margin:auto;right:14px;border:none;background:url(https://cdn.blog.st-hatena.com/css/theme/block-memo/images/saerch.png?version=8a777213b61817427dfc333edc4793) 50% 50% no-repeat;text-indent:-999px;cursor:pointer;opacity:.4}.hatena-module .search-module-button:hover{opacity:.8}.page-about .entry{padding-top:24px}.page-about .entry-content,.page-about .entry-content dl{margin:0 auto}.page-about .entry-content dt{font-size:1.071em;font-weight:700;line-height:1.2;margin:24px auto 10px;color:#00aa8c}.page-about .entry-content dd{margin:0;line-height:1.7}.page-archive h2,.archive-entries{margin:48px auto}.breadcrumb{border-bottom:1px solid #dcdcdc;margin:48px auto}.breadcrumb a:visited{text-decoration:none;color:#00aa8c}

/* </system> */

/* <system section="background" selected="bg20"> */
body{ background-color:#fff; background-image:url(https://cdn.blog.st-hatena.com/images/theme/backgrounds/theme20.png?version=4f540e7927c5e267354ac95320d617); background-repeat:repeat; background-attachment:scroll; }
/* </system> */


/* ==================================================
   ① 基本設定・既存パーツ（トップへ戻る・吹き出し等）
   ================================================== */

/***トップへ戻るボタン***/
#page-top {
  display: block;
  font-weight: bold;
  padding: .7em;
  text-align: center;
  background: #3f98ef; /*背景色*/
  color: #000; /*文字色*/
  transition: .3s;
}
#page-top:hover {
  background: #666; /*背景色*/
  color: #fff; /*文字色*/
}

/*** 吹き出し設定 ***/
.fuki { margin: 20px 0 ; }
.fuki:after,.fuki:before { clear: both; content: ""; display: block; }
.fuki figure { margin: 0; display: block; }
.fuki figure img { width: 100%; height: 100%; border-radius: 50%; margin: 0; vertical-align: middle; border: 1px solid #ccc; }
.fuki-img-left { margin-left: 10px; margin-top: 1px; float: left; }
.fuki-img-right { margin-right: 10px; margin-top: 1px; float: right; }
.fuki-img-left, .fuki-img-right { width: 90px; height: 90px; }
.fuki-img-name { padding: 0; margin-top: 3px; font-size: 10px; line-height: 1.2em; font-weight: 400; text-align: center; display: block; }

/* 会話風ふきだし */
.chat-text-left, .chat-text-right { position: relative; margin: 0 100px 16px; padding: 16px; box-shadow: 1px 1px 5px #aaaaaa90; border-radius: 10px; }
.chat-text-left p,.chat-text-right p { margin:0 !important; font-size: 16px; color: #555; }
.chat-text-left { background-color: #f0f0f0; border: 1px solid #aaa; }
.chat-text-left:after { position: absolute; top: 16px; left: -22px; content: ''; border: 12px solid transparent; border-right: 12px solid #f0f0f0; }
.chat-text-left:before { position: absolute; top: 16px; left: -24px; content: ''; border: 12px solid transparent ; border-right: 12px solid #aaa; }
.chat-text-right { background-color: transparent; border: 2px solid #99ff99; }
.chat-text-right:after { position: absolute; top: 16px; right: -22px; content: ''; border: 12px solid transparent; border-left: 12px solid transparent; }
.chat-text-right:before { position: absolute; top: 16px; right: -24px; content: ''; border: 12px solid transparent; border-left: 12px solid #99ff99; }

/* もくもくふきだし */
.mkmk-text-left, .mkmk-text-right { position: relative; margin: 0 100px 16px; padding: 16px; box-shadow: 1px 1px 5px #aaaaaa90; border-radius: 30px; }
.mkmk-text-left p,.mkmk-text-right p { margin:0 !important; font-size: 16px; color: #555; }
.mkmk-text-left { background-color: transparent; border: 1px solid #ff6699; }
.mkmk-text-left:before { position: absolute; content: ''; top: 16px; left: -16px; border-radius: 50%; width: 12px; height: 12px; background-color: transparent; border: 1px solid #ff6699; }
.mkmk-text-left:after { position: absolute; content: ''; top: 26px; left: -26px; border-radius: 50%; width: 8px; height: 8px; background-color: transparent; border: 1px solid #ff6699; }

/* レスポンシブ設定 */
@media (max-width: 767px) {
 .mkmk-text-left, .chat-text-left, .chat-text-left-blue { margin-left: 90px; margin-right: 0; }
 .fuki-img-left, .fuki-img-right { width: 80px; height: 80px; }
 .chat-text-right, .chat-text-right-red { margin-right: 90px; margin-left: 0; }
}

#blog-title{ height: auto; padding: 20px 0 50px 0; }
#blog-title a { color: #dea08c; }
h1#title { border-bottom: none; padding-bottom: 0; margin-bottom: 0; font-weight: normal; letter-spacing: 0.15em; }
#blog-title-inner { width: 100%; background: none; }


/* ==================================================
   ② ヘッダーメニュー（グラスモーフィズム）
   ================================================== */
:root {
    --menu-bg-color: rgba(255, 255, 255, 0.85);
    --menu-blur: 20px;
    --primary-gradient: linear-gradient(135deg, #0061ff 0%, #60efff 100%);
    --btn-size: 50px;
}

.modern-header-container { position: absolute; top: 0; right: 0; z-index: 9999; }
#menu-btn-check { display: none; }

.menu-btn {
    position: fixed; top: 20px; right: 20px;
    width: var(--btn-size); height: var(--btn-size);
    background: #fff; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; flex-direction: column;
    cursor: pointer; z-index: 10000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
.menu-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.menu-btn span {
    content: ''; display: block; height: 3px; width: 24px;
    border-radius: 3px; background: #333; position: absolute;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.menu-btn span:nth-of-type(1) { top: 16px; }
.menu-btn span:nth-of-type(2) { top: 24px; }
.menu-btn span:nth-of-type(3) { top: 32px; }

#menu-btn-check:checked ~ .menu-btn { background: #f0f0f0; }
#menu-btn-check:checked ~ .menu-btn span:nth-of-type(1) { top: 24px; transform: rotate(45deg); }
#menu-btn-check:checked ~ .menu-btn span:nth-of-type(2) { opacity: 0; }
#menu-btn-check:checked ~ .menu-btn span:nth-of-type(3) { top: 24px; transform: rotate(-45deg); }

.menu-content {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--menu-bg-color);
    backdrop-filter: blur(var(--menu-blur)); -webkit-backdrop-filter: blur(var(--menu-blur));
    z-index: 9998; opacity: 0; visibility: hidden;
    transition: all 0.4s ease;
    display: flex; justify-content: center; align-items: center; overflow-y: auto;
}
#menu-btn-check:checked ~ .menu-content { opacity: 1; visibility: visible; }

.menu-inner { width: 90%; max-width: 800px; padding: 60px 20px; text-align: center; transform: translateY(20px); transition: transform 0.4s ease 0.1s; }
#menu-btn-check:checked ~ .menu-content .menu-inner { transform: translateY(0); }

.menu-logo { font-size: 1.5rem; font-weight: 900; letter-spacing: 4px; color: #ccc; margin-bottom: 40px; position: relative; display: inline-block; }
.menu-logo::after { content: ''; display: block; width: 40px; height: 2px; background: var(--primary-gradient); margin: 10px auto 0; }
.menu-content ul { list-style: none; padding: 0; margin: 0; }
.category-title { display: block; font-size: 1.2rem; font-weight: bold; color: #333; margin-bottom: 20px; }

.category-child.grid-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 12px; margin-bottom: 50px; }
.category-child.grid-layout li a {
    display: block; padding: 12px 5px; background: #fff; border-radius: 12px;
    text-decoration: none; color: #333; font-weight: bold; font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}
.category-child.grid-layout li a:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0,97,255,0.2); background: var(--primary-gradient); color: #fff; }

.single-link a {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 15px 40px; background: #333; color: #fff;
    text-decoration: none; border-radius: 50px; font-weight: bold; font-size: 1rem;
    transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.single-link a svg { margin-left: 10px; transition: transform 0.3s ease; }
.single-link a:hover { background: var(--primary-gradient); transform: scale(1.05); }
.single-link a:hover svg { transform: translateX(5px); }

@media (max-width: 600px) {
    .category-child.grid-layout { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .category-child.grid-layout li a { font-size: 0.85rem; padding: 10px 0; }
}


/* ==================================================
   ③ アーカイブページ・モダン化（カード型グリッド）
   ================================================== */
.page-archive .archive-entries { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 30px; }
.page-archive .archive-entry {
    background: #ffffff; border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden; display: flex; flex-direction: column;
    border: none !important; padding: 0 !important; position: relative; top: 0;
}
.page-archive .archive-entry:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,77,153,0.15); }
.page-archive .entry-thumb-link { display: block; width: 100%; height: 200px; overflow: hidden; position: relative; }
.page-archive .entry-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.page-archive .archive-entry:hover .entry-thumb { transform: scale(1.08); }
.page-archive .archive-entry-header { padding: 20px 20px 10px; background: #fff; order: 2; }
.page-archive .entry-title { font-size: 18px; font-weight: bold; line-height: 1.4; margin-bottom: 10px; }
.page-archive .entry-title a { color: #333; text-decoration: none; transition: color 0.2s; }
.page-archive .archive-entry:hover .entry-title a { color: #004d99; }
.page-archive .entry-description {
    padding: 0 20px; font-size: 14px; color: #777; line-height: 1.6; margin-bottom: 15px; order: 3;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.page-archive .archive-entry-footer { padding: 10px 20px 20px; margin-top: auto; order: 4; font-size: 12px; color: #aaa; display: flex; justify-content: space-between; }
.page-archive .categories a { background: #eaf4fc; color: #004d99; padding: 3px 8px; border-radius: 4px; text-decoration: none; font-weight: bold; font-size: 11px; }
.page-archive .archive-header {
    background: linear-gradient(135deg, #004d99, #0073e6); color: white; padding: 20px;
    border-radius: 8px; margin-bottom: 20px; text-align: center; font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.page-archive .archive-header-category { font-weight: bold; }
@media (max-width: 600px) { .page-archive .archive-entries { gap: 20px; } }


/* ==================================================
   ④ 玄人向けカスタマイズ（選択色・スクロールバー・目次）
   ================================================== */

/* 文字選択色 */
::selection { background: #004d99; color: #ffffff; }
::-moz-selection { background: #004d99; color: #ffffff; }

/* スクロールバー */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #004d99; }

/* モダンな目次 */
.table-of-contents {
    background: #fff; border: 1px solid #eee; padding: 20px 25px;
    border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin: 30px 0; position: relative;
}
.table-of-contents::before {
    content: "CONTENTS"; display: block; font-size: 14px; font-weight: 900;
    color: #ccc; letter-spacing: 2px; margin-bottom: 10px;
    border-bottom: 2px solid #004d99; width: 60px;
}
.table-of-contents li { list-style-type: none !important; margin-bottom: 8px; }
.table-of-contents li a { text-decoration: none; color: #444; font-weight: bold; transition: all 0.2s; display: block; }
.table-of-contents li a:hover { color: #004d99; transform: translateX(5px); }
.table-of-contents ul ul { margin-top: 5px; padding-left: 1.5em; }
.table-of-contents ul ul li a { font-weight: normal; font-size: 90%; color: #666; }


/* その他・非表示設定 */
.pager { display: none; }
.custom-no-related-posts .related-entries { display: none; }
.article-related-entries a[href*="https://aitouron.hatenablog.com/entry/2024/05/17/150920"] { display: none !important; }

