/* <system section="theme" selected="smooth"> */
@charset "UTF-8";/*!
Theme: Smooth
Author: Hatena Blog Team
Responsive: yes
*//*!
 * Bootstrap Reboot v4.2.1 (https://getbootstrap.com/)
 * Copyright 2011-2018 The Bootstrap Authors
 * Copyright 2011-2018 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
 */*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[title],abbr[data-original-title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):hover,a:not([href]):not([tabindex]):focus{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}pre,code,kbd,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}html,body{background:#f9fafb;font-family:helvetica,Segoe UI,游ゴシック体,YuGothic,游ゴシック Medium,Yu Gothic Medium,游ゴシック,Yu Gothic,メイリオ,Meiryo,sans-serif;color:#293030}html{line-height:1}body{font-size:17px;line-height:1.6}img{vertical-align:baseline}a{color:#293030}a:hover{color:#586767;transition:all .3s}.date{margin:0 0 .7em;font-size:.9rem}.date a{color:#6f8383}.date a:hover{color:#a5b3b3}.date-last-updated{color:#6f8383;font-size:.9rem}#globalheader-container{position:sticky;top:0;background:#f9fafb}#container{word-wrap:break-word}#blog-title{max-width:1280px;margin:auto;padding:4% 5%;text-align:center}#title{font-size:150%;font-family:Times New Roman,游明朝体,YuMincho,游明朝,Yu Mincho,serif;font-weight:400}@media(min-width:768px){#title{font-size:215%}}#blog-description{font-size:90%;font-weight:400}#content-inner{width:100%;display:flex;flex-direction:column}@media(min-width:768px){#content-inner{flex-direction:row;margin:auto;padding:0 20px}}@media(min-width:1200px){#content-inner{width:1200px}}#wrapper{flex:0 0 100%;max-width:100%}@media(min-width:768px){#wrapper{flex:0 0 75%;max-width:75%}}@media(min-width:1020px){#main{padding:0 3% 0 0}}.header-image-enable #blog-title,.header-image-only #blog-title{padding:0 0 1.5em}@media(min-width:1200px){.header-image-enable #blog-title,.header-image-only #blog-title{width:1160px}}.header-image-enable #blog-title #blog-title-inner,.header-image-only #blog-title #blog-title-inner{display:flex;align-items:center;justify-content:center;height:50vw;max-height:200px}@media(min-width:1200px){.header-image-enable #blog-title #blog-title-inner,.header-image-only #blog-title #blog-title-inner{background-size:100%}}.header-image-enable #blog-title-content,.header-image-only #blog-title-content{margin:0 .5em}.breadcrumb{font-size:.9rem}.categories{margin-bottom:2em}.categories a{display:inline-block;background:#e9f0f2;margin:0 .3em 0 0;padding:0 10px;font-size:12px}.pager{text-align:center;margin:3em .8em}@media(min-width:1020px){.pager{margin:0}}.pager a{display:inline-block;width:100%;background:#eff1f5;padding:.7em 1.2em;border:none;font-weight:400;font-size:.9rem;color:#293030}.pager a:hover{background-color:#e9ecf1;text-decoration:none}.pager .pager-next,.pager .pager-prev{width:100%;padding:.5em 0}.pager .pager-prev+.pager-next{margin-left:1em;padding-left:1em}@media(min-width:768px){.pager .pager-prev+.pager-next{margin-left:1.5em;padding-left:1.5em}}.pager.permalink{display:flex;justify-content:center;align-items:center;text-align:center}.hatena-urllist{padding-left:0;list-style:none}.hatena-urllist li{border-top:1px dotted #cfd8d8;padding-top:10px;padding-bottom:10px}.hatena-urllist .archive-module-year,.hatena-urllist .archive-module-month{line-height:2}.hatena-urllist .urllist-date-link a{color:#6f8383}.hatena-urllist .urllist-category-link{display:inline-block;background:#e9f0f2;margin:.5em .3em 0 0;padding:3px 10px;font-size:12px;line-height:1.3}.hatena-urllist .urllist-category-link:hover{background:#d9e5e9;text-decoration:none;transition:background .3s}.hatena-urllist .urllist-entry-body{margin-top:10px}.hatena-module{margin-bottom:3em;padding-left:20px;padding-right:20px;font-size:.85rem}.hatena-module:last-child{margin-bottom:0}.hatena-module-title{margin-bottom:12px;font-family:Times New Roman,游明朝体,YuMincho,游明朝,Yu Mincho,serif;font-size:20px}.hatena-module-body{font-size:15px}.hatena-module-body .urllist-title-link{font-size:100%}.hatena-module-body .archive-module-button{display:inline-block;width:15px;height:15px}.hatena-module-body .archive-module-hide-button,.hatena-module-body .archive-module-show-button{position:absolute;overflow:hidden;width:15px;height:15px;text-indent:-15px}.hatena-module-body .archive-module-hide-button:after,.hatena-module-body .archive-module-show-button:after{content:"";top:50%;display:inline-block;position:absolute;width:8px;height:8px;margin-top:-.1em;border-top:1px solid #6f8383;border-right:1px solid #6f8383}.hatena-module-body .archive-module-hide-button{transform:rotate(135deg);margin-top:.2em}.hatena-module-body .archive-module-show-button{transform:rotate(45deg);margin-top:.2em}@media(min-width:481px){.search-result-form{margin:0 1em}}.search-result+p{background:#fff;border:1px solid #f0f1f1;margin:0 0 3em;padding:8% 0;font-weight:700;text-align:center}.search-form,.search-result-form{position:relative;width:100%;background:#fff;margin:auto;border:1px solid #eee;box-sizing:border-box}.search-form:hover,.search-result-form:hover{border-color:#ddd}.search-module-input,.search-result-form .search-result-input{width:90%;height:30px;padding:5px;background:#fff;border:none;outline:none}.search-module-input::-webkit-input-placeholder,.search-result-form .search-result-input::-webkit-input-placeholder,.search-module-input::-placeholder,.search-result-form .search-result-input::-placeholder{color:#9faba9}.search-module-button,.search-result-form .search-result-button{width:20px;height:20px;background:transparent url(https://cdn.blog.st-hatena.com/images/theme/search@2x.png?version=2d907d4a028137d9af6752f48b309c) no-repeat right center;background-size:20px 20px;border:none;outline:none;text-indent:-9999px;position:absolute;top:5px;right:5px;opacity:.5;cursor:pointer}.search-module-button:hover,.search-result-form .search-result-button:hover{opacity:.85}#top-box{margin:0 auto;padding:0 10px}@media(min-width:768px){#top-box{padding:0 20px}}@media(min-width:1200px){#top-box{max-width:1200px}}.entry{background:#fff;border:1px solid #f0f1f1;margin-bottom:2em;padding:8% 5%}@media(min-width:768px){.entry{padding:8% 9% 5%}}.entry-header{position:relative;margin-bottom:1.5em}@media(min-width:481px){.entry-header{margin-bottom:3em}}.entry-header-menu{position:absolute;top:0;right:0;margin-bottom:1em}.entry-header-menu a{background:#f9fafb;border:1px solid #cfd8d8;padding:5px 10px;font-size:.9rem}.entry-header-menu a:hover{background:#f3f5f7;text-decoration:none}.entry-title{margin-bottom:.5em;font-family:Times New Roman,游明朝体,YuMincho,游明朝,Yu Mincho,serif;font-size:130%;font-weight:400;line-height:1.5}@media(min-width:768px){.entry-title{font-size:190%}}.entry-content{line-height:1.85}.entry-content a{color:#119e4d}.entry-content a:hover{color:#0c7037}.entry-content a.keyword{-webkit-text-decoration:underline dotted #cfd8d8;text-decoration:underline dotted #cfd8d8}.entry-content a.keyword:hover{color:#586767;-webkit-text-decoration:underline dotted #ffffff;text-decoration:underline dotted #ffffff}.entry-content img,.entry-content video{max-width:100%;height:auto}.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6{margin:1.5em 0 .8em;line-height:1.3}.entry-content h1{padding-bottom:15px;font-size:190%;border-bottom:1px solid #cfd8d8}.entry-content h2{font-size:165%}.entry-content h3{padding-bottom:10px;font-size:140%;border-bottom:1px solid #cfd8d8}.entry-content h4{font-size:130%}.entry-content h5{padding-bottom:10px;font-size:120%;border-bottom:1px solid #cfd8d8}.entry-content h6{font-size:100%}.entry-content ul,.entry-content ol,.entry-content dd{margin:0 0 1em 1.5em;padding:0;line-height:1.7}.entry-content ul li ul,.entry-content ol li ul,.entry-content dd li ul,.entry-content ul li ol,.entry-content ol li ol,.entry-content dd li ol{margin-bottom:0}.entry-content dl{margin-top:2em}.entry-content dl dt{margin-bottom:.8em}.entry-content p{margin:0 0 .7em}.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 blockquote{position:relative;padding:9px 15px 9px 40px;border:1px solid #f0f1f1}@media(min-width:1020px){.entry-content blockquote{padding:20px 20px 20px 60px}}.entry-content blockquote:before{display:inline-block;position:absolute;top:10px;left:10px;vertical-align:middle;content:"“";font-size:40px;font-family:Times New Roman,游明朝体,YuMincho,游明朝,Yu Mincho,serif;color:#6f8383;line-height:1}@media(min-width:1020px){.entry-content blockquote:before{left:15px;font-size:70px}}.entry-content blockquote p{margin-bottom:0}.entry-content blockquote cite{display:block;margin-top:.5rem;text-align:right;font-size:85%;line-height:1.3}.entry-content table{border-collapse:collapse;border-spacing:0;border-bottom:1em;margin-bottom:1em;width:100%;overflow:auto;display:block}.entry-content table th,.entry-content table td{border:1px solid #f0f1f1;padding:5px 10px}.entry-content table th{background:#f9fafb}.entry-content pre,.entry-content code{font-family:Monaco,Consolas,Courier New,Courier,monospace,sans-serif}.entry-content pre{background:#293030;border:none;white-space:pre-wrap;text-overflow:ellipsis ellipsis;font-size:100%;font-size:.9rem;padding:10px;color:#ccc}@media(min-width:768px){.entry-content pre{font-size:.85rem;padding:15px}}.entry-content pre>code{margin:0;padding:0;white-space:pre;border:none;background-color:transparent;font-family:Monaco,Consolas,Courier New,Courier,monospace,sans-serif}.entry-content code{font-size:90%;margin:0 .1em;padding:0 5px;border-radius:3px}.entry-content .table-of-contents{background:#f9fafb;margin-left:0;padding:15px 10px 15px 35px;font-size:16px}@media(min-width:768px){.entry-content .table-of-contents{padding:20px 20px 20px 50px}}.entry-footer{margin-top:1em}.entry-footer-modules .hatena-module{padding:0}.entry-footer-section{margin-bottom:8px;color:#6f8383;font-size:.9rem}.entry-footer-section a{color:#6f8383}.entry-footer-ad{margin-left:-9%;margin-right:-9%}.comment-box{margin:0 -5%;padding:5% 5% 0;border-top:1px solid #f0f1f1}@media(min-width:768px){.comment-box{margin:0 -11%;padding:20px 11% 0}}.comment-box .leave-comment-title{background:#f9fafb;border:1px solid #cfd8d8;padding:.5rem 1rem;font-size:.9rem}.comment-box .leave-comment-title:hover{background:#f3f5f7}.comment-box .comment{list-style:none;padding-left:0}.comment-box .comment a{color:#119e4d}.comment-box .comment a:hover{color:#0c7037}.comment-box .comment .comment-user-id{font-size:14px;font-weight:700}.comment-box .comment .entry-comment{padding:20px 0 0;border-top:1px solid #f0f1ff;color:#6f8383}.comment-box .comment .entry-comment:first-child{padding-top:0;border-top:none}.comment-box .comment .entry-comment .comment-content{word-wrap:break-word}.comment-box .comment .entry-comment .comment-content p{font-size:14px}.comment-box .comment .entry-comment time{font-size:12px}.comment-box .comment .read-more-comments{font-size:14px}@media(min-width:1020px){.comment-box .comment .read-more-comments{margin-right:25px}}.comment-box .comment .read-more-comments a{position:relative;display:inline-block}.comment-box .comment .read-more-comments a:after{content:"";top:20%;left:-20px;display:inline-block;position:absolute;width:8px;height:8px;border-top:1px solid #119e4d;border-right:1px solid #119e4d;transform:rotate(135deg);margin-top:1px}#box2{flex:0 0 100%;max-width:100%;background:#fff3;padding:1em 0}@media(min-width:768px){#box2{flex:0 0 25%;max-width:25%}}#box2 .hatena-urllist>li:last-child{border-bottom:1px dotted #cfd8d8}.hatena-module-profile .profile-icon-link{display:inline;float:left;margin-right:.7em}.hatena-module-profile .profile-icon-link .profile-icon{border-radius:400px}@media(min-width:1020px){.hatena-module-profile .profile-icon-link{display:block;float:none;margin-right:0}}.hatena-module-profile .id{display:block}.hatena-module-profile .id a{color:#119e4d;font-weight:700}.hatena-module-profile .id a:hover{color:#0c7037}.hatena-module-profile .profile-description p{font-size:80%}.archive-module-calendar .calendar-day a{color:#119e4d;font-weight:700}.archive-module-calendar .calendar-day a:hover{color:#0c7037}.hatena-module-recent-comments .user-id span{font-size:12px;opacity:.7}#footer{background:#fff;margin-top:2em;padding-top:2rem;padding-bottom:2rem;text-align:center;font-size:.9rem;color:#6f8383}#footer a{color:#6f8383}#footer p{margin:.5em auto}.archive-header-category{margin-bottom:.3em}.page-archive .archive-heading{margin:.5em .7em 1.3em;line-height:1.5}@media(min-width:1020px){.page-archive .archive-heading{margin:.5em 0 1.3em}}.page-archive .archive-entries-sort{margin-left:1.2em}@media(min-width:768px){.page-archive .archive-entries-sort{margin-left:0}}.page-archive .archive-entry{background:#fff;border:1px solid #f0f1f1;margin-bottom:30px;padding:9% 6% 6%}@media(min-width:768px){.page-archive .archive-entry{padding:6%}}@media(min-width:768px){.page-archive .archive-entry .entry-title{font-size:150%}}

/* </system> */

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

.table-of-contents {
  padding: 15px 10px 15px 35px;
  font-size: 100%;
  border: dotted 1px #777;
  background: #f7f7f7;
}

.table-of-contents:before {
  content: "目次";
  font-size: 110%;
  font-weight: bold;
  color: #000;
}

.entry-title {
  font-size: 0.9em; /* 適宜調整 */
}

/* 人気記事モジュールのグリッド全体 */
.hatena-module-custom-popular-grid ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 各記事の枠 */
.hatena-module-custom-popular-grid li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
}

/* 画像部分（調整用） */
.hatena-module-custom-popular-grid li img {
  width: 64px;
  height: auto;
  flex-shrink: 0;
  object-fit: cover;
}

/* タイトルリンク（4行まで表示） */
.hatena-module-custom-popular-grid li a {
  font-size: 0.85em;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  max-width: 160px;
}

/* ===== Music Synopsis Global Navigation ===== */

.ms-global-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  gap: 0;

  margin: 48px auto 0;
  padding: 18px 24px;

  border-top: 1px solid rgba(30, 35, 35, 0.12);
  border-bottom: 1px solid rgba(30, 35, 35, 0.12);

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    "Noto Sans JP",
    "Yu Gothic",
    sans-serif;

  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.035em;
}

.ms-global-nav a {
  position: relative;
  display: inline-block;

  padding: 0 22px;

  color: #303535;
  text-decoration: none;

  transition:
    opacity 0.2s ease,
    color 0.2s ease;
}

.ms-global-nav a + a::before {
  content: "";
  position: absolute;

  left: 0;
  top: 50%;

  width: 1px;
  height: 12px;

  background: rgba(30, 35, 35, 0.18);

  transform: translateY(-50%);
}

.ms-global-nav a:hover {
  color: #000;
  opacity: 0.58;
}

/* ===== Mobile ===== */

@media screen and (max-width: 700px) {

  .ms-global-nav {
    justify-content: flex-start;

    margin-top: 28px;
    padding: 14px 18px;

    gap: 8px 18px;

    font-size: 14px;

    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    white-space: nowrap;
  }

  .ms-global-nav a {
    padding: 0;
    flex: 0 0 auto;
  }

  .ms-global-nav a + a::before {
    display: none;
  }
}

/* ===== Header Spacing ===== */

#blog-title {
  margin-bottom: 0;
  padding-bottom: 16px;
}

/* ===== Custom Navigation ===== */

.custom-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  gap: 0;

  width: calc(100% - 32px);
  max-width: 760px;

  margin: 12px auto 28px;
  padding: 12px 8px;

  border-top: 1px solid #d5d5d5;
  border-bottom: 1px solid #d5d5d5;

  box-sizing: border-box;
}

.custom-nav a {
  position: relative;
  display: inline-block;

  color: #303636;
  text-decoration: none;

  padding: 6px 16px;
  white-space: nowrap;
}

.custom-nav a + a::before {
  content: "";
  position: absolute;

  left: 0;
  top: 50%;

  width: 1px;
  height: 14px;

  background: #c8c8c8;

  transform: translateY(-50%);
}

.custom-nav a:hover {
  color: #777;
}

.custom-nav a:focus-visible {
  outline: 2px solid #53666b;
  outline-offset: 2px;
}

/* ===== Custom Navigation Mobile ===== */

@media screen and (max-width: 700px) {

  #blog-title {
    padding-bottom: 12px;
  }

  .custom-nav {
    width: calc(100% - 24px);

    justify-content: center;

    margin: 8px auto 20px;
    padding: 10px 6px;

    gap: 4px 8px;
  }

  .custom-nav a {
    padding: 6px 10px;
  }

  .custom-nav a + a::before {
    display: none;
  }
}

/* ===== Scroll Fixed Navigation ===== */

.ms-sticky-clone {
  display: none;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;

  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 16px;

  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;

  box-sizing: border-box;
  background: #f5f5f5;

  border-top: none;
  border-bottom: 1px solid #d5d5d5;

  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

.ms-sticky-clone.is-visible {
  display: flex;
}

/* ===== Mobile ===== */

@media screen and (max-width: 700px) {

  .ms-sticky-clone {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 10px 8px;

    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 8px;

    overflow-x: visible;
    white-space: normal;
  }

  .ms-sticky-clone a {
    padding: 6px 10px;
  }

  .ms-sticky-clone a + a::before {
    display: none;
  }
}

/* 固定ナビを最上部へ */

.ms-sticky-clone.is-visible {
  top: 0 !important;
}

/* 読了率を固定ナビの直下へ */

.ms-reading-under-nav {
  position: fixed !important;
  top: calc(var(--ms-fixed-nav-height, 0px) + 6px) !important;
  right: 12px !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 10001 !important;
}

/* ===== Active Navigation Underline ===== */

.custom-nav a.ms-current,
.ms-global-nav a.ms-current,
.ms-sticky-clone a.ms-current {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  text-decoration-color: #677373;
}

/* ===== Back to Top Button ===== */

.ms-back-to-top {
  position: fixed;

  right: 20px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));

  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;

  border: 1px solid #d5d5d5;
  border-radius: 50%;

  background: #f5f5f5;
  color: #303535;

  font-size: 22px;
  line-height: 1;

  cursor: pointer;

  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(8px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.ms-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.ms-back-to-top:hover {
  background: #eaeaea;
}

.ms-back-to-top:focus-visible {
  outline: 2px solid #53666b;
  outline-offset: 3px;
}

/* ===== Mobile ===== */

@media screen and (max-width: 700px) {
  .ms-back-to-top {
    right: 16px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));

    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ms-back-to-top {
    transition: none;
  }
}

/* 目次リンクから移動した際の見出し位置 */

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  scroll-margin-top: 80px;
}

@media screen and (max-width: 700px) {
  .entry-content h2,
  .entry-content h3,
  .entry-content h4 {
    scroll-margin-top: 110px;
  }
}

/* ===== Table of Contents Link Color ===== */

.table-of-contents a,
.table-of-contents a:link,
.table-of-contents a:visited {
  color: #303535;
  text-decoration: none;
  transition: color 0.2s ease;
}

.table-of-contents a:hover {
  color: #777777;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.table-of-contents a:focus-visible {
  outline: 2px solid #53666b;
  outline-offset: 3px;
}

/* ===== Article Link Color ===== */

/* 記事本文のリンク */
.entry-content a:link,
.entry-content a:visited {
  color: #405E73;
  text-decoration-color: #8CA2B0;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

/* マウスを重ねたとき */
.entry-content a:hover {
  color: #263E50;
  text-decoration-color: currentColor;
}

/* 目次はダークグレーを維持 */
.entry-content .table-of-contents a:link,
.entry-content .table-of-contents a:visited {
  color: #303535;
  text-decoration: none;
}

/* 目次のホバー */
.entry-content .table-of-contents a:hover {
  color: #777777;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ===== 特定記事のみ日付を非表示 ===== */

/* Works */
.entry:has(.entry-title-link[href$="/entry/works"])
:is(.entry-date, .entry-footer-time),

/* Contributions & Translations */
.entry:has(.entry-title-link[href$="/entry/contributions-translations"])
:is(.entry-date, .entry-footer-time) {
  display: none !important;
}

/* ===== Works・寄稿ページの読了率を非表示 ===== */

html.ms-hide-reading .ms-reading-under-nav {
  display: none !important;
}

/* ===== About Links ===== */

.ms-about-links {
  margin: 32px 0;
}

.ms-about-links p {
  padding: 12px 0;
  margin: 0;
  border-bottom: 1px solid #e0e0e0;
}

.ms-about-links a {
  color: #405E73;
  text-decoration: none;
  font-weight: 500;
}

.ms-about-links a:hover {
  text-decoration: underline;
}

.ms-about-links small {
  display: block;
  margin-top: 6px;
  color: #777;
  font-size: 0.85em;
  line-height: 1.6;
}

/* ===== Three-Dot Loading ===== */
/* このCSSは .ms-loader と、その中の3つの span がある場合に適用されます。 */

.ms-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: max-content;
  margin: 0 auto;
}

.ms-loader > span {
  display: block;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: #6e7e8a;
  opacity: 0.25;
  animation: ms-dot-fade 1.2s ease-in-out infinite;
}

.ms-loader > span:nth-child(2) {
  animation-delay: 0.2s;
}

.ms-loader > span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes ms-dot-fade {
  0%, 80%, 100% {
    opacity: 0.25;
    transform: scale(1);
  }
  40% {
    opacity: 0.9;
    transform: scale(1.16);
  }
}

@media screen and (max-width: 700px) {
  .ms-loader {
    gap: 8px;
  }

  .ms-loader > span {
    width: 8px;
    height: 8px;
    flex-basis: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ms-loader > span {
    animation: none;
    opacity: 0.65;
  }
}


/* ===== Article Vertical Spacing ===== */

/* 記事枠上部の余白 */
#main .entry {
  padding-top: 44px;
}

/* 記事タイトルと本文の間隔 */
#main .entry-header {
  margin-bottom: 26px;
}




/* ===== 案内ページを記事一覧から非表示 ===== */

/* Works：トップページ */
.page-index .entry:has(
  .entry-title-link[href$="/entry/works"]
),

/* 寄稿・翻訳実績：トップページ */
.page-index .entry:has(
  .entry-title-link[href$="/entry/contributions-translations"]
),

/* Works：Archive・カテゴリ一覧 */
.page-archive .archive-entry:has(
  .entry-title-link[href$="/entry/works"]
),

/* 寄稿・翻訳実績：Archive・カテゴリ一覧 */
.page-archive .archive-entry:has(
  .entry-title-link[href$="/entry/contributions-translations"]
) {
  display: none !important;
}

/* ==========================================================
   Music Synopsis — Editorial Typography (integrated)
   Noto Sans JP / 720px / headings / quotes / captions
   ========================================================== */

/* 01. 本文：既存の16px指定は維持 */
.entry-content {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;

  font-family:
    "Noto Sans JP",
    "Hiragino Sans",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  font-weight: 400;
  line-height: 1.82;
  letter-spacing: 0.012em;
  font-optical-sizing: auto;
  line-break: strict;
  overflow-wrap: anywhere;
}

/* 02. 見出しの階層 */
.entry-content h3 {
  font-size: 1.35em;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.015em;
  margin-top: 2.8em;
  margin-bottom: 1.1em;
}

.entry-content h4 {
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.01em;
  margin-top: 2.2em;
  margin-bottom: 0.9em;
}

.entry-content h5 {
  font-size: 1.05em;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.01em;
  margin-top: 1.8em;
  margin-bottom: 0.7em;
}

/* 03. 本文直下の段落間隔 */
.entry-content > p {
  margin-top: 0;
  margin-bottom: 1.5em;
}

/* 04. 引用：テーマの四辺枠と大きい引用符を解除 */
.entry-content blockquote {
  position: relative;
  box-sizing: border-box;
  margin: 1.4em 0;
  padding: 0.65em 1.15em !important;

  border: 0 !important;
  border-left: 3px solid #8da1ae !important;
  border-radius: 0 3px 3px 0;
  box-shadow: none !important;
  background: #f8f9fa !important;
  background-image: none !important;

  color: #424b50;
  font-size: 0.97em;
  font-weight: 400;
  font-style: normal;
  line-height: 1.82;
  letter-spacing: 0.01em;
}

.entry-content blockquote::before,
.entry-content blockquote::after {
  content: none !important;
  display: none !important;
}

.entry-content blockquote p {
  margin: 0 0 0.6em;
}

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

.entry-content blockquote strong,
.entry-content blockquote b {
  font-weight: 700;
}

.entry-content blockquote cite,
.entry-content blockquote footer {
  display: block;
  margin-top: 0.9em;
  font-size: 0.85em;
  font-style: normal;
  line-height: 1.6;
  color: #667782;
  text-align: right;
}

/* 05. 図版キャプション：長文でも読みやすい左揃え */
.entry-content figcaption,
.entry-content .image-caption {
  font-family:
    "Noto Sans JP",
    "Hiragino Sans",
    sans-serif;
  font-size: 0.84em;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: #667078;
  text-align: left;
  margin-top: 0.5em;
  margin-bottom: 1.5em;
}

/* 06. スマートフォン */
@media screen and (max-width: 767px) {
  .entry-content {
    max-width: 100%;
  }

  .entry-content h3 {
    margin-top: 2.3em;
    margin-bottom: 1em;
  }

  .entry-content h4 {
    margin-top: 1.9em;
  }

  .entry-content blockquote {
    margin: 1.2em 0;
    padding: 0.6em 0.85em !important;
  }

  .entry-content figcaption,
  .entry-content .image-caption {
    line-height: 1.65;
  }
}

/* 07. ダークモード */
@media (prefers-color-scheme: dark) {
  .entry-content blockquote {
    background: #292f31 !important;
    color: #d7dddf;
    border-left-color: #8da1ae !important;
  }

  .entry-content blockquote cite,
  .entry-content blockquote footer {
    color: #b3c0c7;
  }

  .entry-content figcaption,
  .entry-content .image-caption {
    color: #b0babf;
  }
}



/* ==========================================
   Music Synopsis
   TOC / Footnotes / Sources
   ========================================== */

/* 01. 目次全体 */

.entry-content ul.table-of-contents {
  margin: 1.8em 0 2.2em;
  padding: 20px 24px;

  background: #f7f8f8;
  border: 1px solid #dfe4e6;
  border-radius: 3px;

  font-size: 0.94em;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* 「目次」ラベル */

.entry-content ul.table-of-contents::before {
  content: "目次";
  display: block;

  margin-bottom: 0.9em;
  padding-bottom: 0.65em;

  font-size: 1em;
  font-weight: 700;
  color: #303535;
  border-bottom: 1px solid #d8dfe1;
}

/* 目次のリストマーカーを解除 */

.entry-content ul.table-of-contents,
.entry-content ul.table-of-contents ul {
  list-style: none;
}

.entry-content ul.table-of-contents ul {
  padding-left: 1em;
}

.entry-content ul.table-of-contents li {
  list-style: none;
}

.entry-content ul.table-of-contents li::before {
  content: none !important;
  display: none !important;
}

/* 第1階層：章 */

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

.entry-content ul.table-of-contents > li + li {
  margin-top: 0.95em;
}

.entry-content ul.table-of-contents > li > a {
  font-weight: 700;
  line-height: 1.65;
}

/* 第2階層：節 */

.entry-content ul.table-of-contents > li > ul {
  margin: 0.55em 0 0.7em;
  padding-left: 1em;

  border-left: 2px solid #c5cfd3;
}

.entry-content ul.table-of-contents
  > li > ul > li {
  margin: 0 0 0.48em;
}

.entry-content ul.table-of-contents
  > li > ul > li > a {
  font-weight: 400;
}

/* 第3階層：小節・個別項目 */

.entry-content ul.table-of-contents
  > li > ul > li > ul {
  margin: 0.4em 0 0.6em;
  padding-left: 0.9em;

  border-left: 1px solid #d8dfe1;
}

.entry-content ul.table-of-contents
  > li > ul > li > ul > li {
  margin-bottom: 0.35em;
}

.entry-content ul.table-of-contents
  > li > ul > li > ul > li > a {
  font-size: 0.92em;
  font-weight: 400;
}


/* 02. はてな標準脚注 */

/* 本文中の脚注番号 */

.entry-content a[name^="fn-"] {
  font-size: 0.8em;
  vertical-align: super;
  line-height: 0;
  margin: 0 0.12em;
  text-decoration: none;
}

/* 記事末尾の脚注領域 */

.entry-content div.footnote {
  margin: 3em 0 1.5em;
  padding: 1.2em 0 0;

  border-top: 1px solid #cbd4d8;
  background: transparent;

  font-size: 0.85em;
  line-height: 1.75;
  color: #596268;
}

/* 脚注の見出し */

.entry-content div.footnote::before {
  content: "注記・出典";
  display: block;

  margin-bottom: 1em;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #303535;
}

/* 脚注各項目 */

.entry-content div.footnote p.footnote {
  margin: 0 0 0.8em;
  padding: 0;
  line-height: 1.75;
}

/* 注番号 */

.entry-content div.footnote .footnote-number {
  font-weight: 700;
  color: #405e73;
}

/* 注番号の区切り記号 */

.entry-content div.footnote .footnote-delimiter {
  margin: 0 0.35em 0 0.15em;
  color: #8a969d;
}

/* クリックして戻ったときの位置 */

.entry-content div.footnote p.footnote {
  scroll-margin-top: 90px;
}


/* 03. 記事末尾の参考資料一覧 */

/* 任意の .ms-sources セクション用 */

.entry-content .ms-sources {
  margin: 2.8em 0 1.5em;
  padding-top: 1em;
  border-top: 1px solid #cbd4d8;
}

.entry-content .ms-sources h3 {
  margin: 0 0 1.2em;
  padding: 0;
  font-size: 1.1em;
  line-height: 1.5;
  font-weight: 700;
}

.entry-content .ms-sources ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.entry-content .ms-sources li {
  list-style: none;
  margin: 0;
  padding: 0.55em 0;

  font-size: 0.88em;
  line-height: 1.75;
  color: #596268;

  overflow-wrap: break-word;
}

.entry-content .ms-sources li + li {
  border-top: 1px solid #edf0f1;
}


/* 04. スマートフォン */

@media screen and (max-width: 767px) {
  .entry-content ul.table-of-contents {
    padding: 16px 17px;
  }

  .entry-content ul.table-of-contents ul {
    padding-left: 0.8em;
  }

  .entry-content div.footnote {
    margin-top: 2.5em;
  }
}

/* ==========================================
   Music Synopsis — Archive Picks Typography
   人気記事タイトルの小型化・全文表示
   ========================================== */

/* 画像リンクを除き、文字リンクを調整 */
.hatena-module-custom-popular-grid li a:not(:has(img)) {

  /* タイトルの文字サイズ */
  font-size: 14px !important;

  /* 行間 */
  line-height: 1.45 !important;

  /* タイトルの表示幅 */
  max-width: 100% !important;

  /* 行数制限を解除 */
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;

  /* 末尾の省略を解除 */
  overflow: visible !important;
  text-overflow: clip !important;

  /* 長い英語タイトルにも対応 */
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: normal;
}

/* スマートフォン */
@media screen and (max-width: 700px) {
  .hatena-module-custom-popular-grid li a:not(:has(img)) {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
}

