/* <system section="theme" selected="17391345971653699552"> */
@charset "UTF-8";
@import url(https://kazesawa.github.io/css/webfont.css);

/*
  Theme: マテリアルぽっぷ
  Author: mamegoro
  Author URI: https://www.mamegoro.com/
  Version: 1.0.0
  Responsive: yes
  License: GNU General Public License //自由ソフトウェアファウンデーションライセンスhttps://www.gnu.org/philosophy/free-sw.ja.html
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
  Description:
    カード型デザインのブログテンプレートです。
*/

/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */
html {
    line-height: 1.15;
    /* 1 */
    -ms-text-size-adjust: 100%;
    /* 2 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers (opinionated).
 */
body {
    margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */
article,
aside,
footer,
header,
nav,
section {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */
figcaption,
figure,
main {
    /* 1 */
    display: block;
}

/**
 * Add the correct margin in IE 8.
 */
figure {
    margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    -webkit-box-sizing: content-box;
            box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */
a {
    background-color: transparent;
    /* 1 */
    -webkit-text-decoration-skip: objects;
    /* 2 */
}

/**
 * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    -webkit-text-decoration: underline dotted;
            text-decoration: underline dotted;
    /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */
b,
strong {
    font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */
dfn {
    font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */
mark {
    background-color: #ff0;
    color: #000;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
audio,
video {
    display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */
img {
    border-style: none;
}

/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
    overflow: hidden;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: sans-serif;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    /* 1 */
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    /* 1 */
    text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */
button,
html [type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
    /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    display: inline-block;
    /* 1 */
    vertical-align: baseline;
    /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */
[type="checkbox"],
[type="radio"] {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */
details,
menu {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Scripting
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
canvas {
    display: inline-block;
}

/**
 * Add the correct display in IE.
 */
template {
    display: none;
}

/* Hidden
   ========================================================================== */
/**
 * Add the correct display in IE 10-.
 */
[hidden] {
    display: none;
}



/* ===============
  全体設定
=============== */
*,:after,:before {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  font-family: 'Kazesawa-Semibold';
  line-height: 1.9;
  font-weight: normal;
  margin: 0;
  padding: 0;
  word-break:break-all; 
  word-wrap:break-word; 
  color: #33403d;
  background: #f5f5f5;
}
a {
  outline:none;
  text-decoration: none;
  color: #33403d;
}
img,a img {
  border: 0;
  border-radius: 8px;
}
h1, h2, h3, h4, h5, h6 {
  line-height: 1;
  margin: 0;
  padding: 0;
}
h1.entry-title {
  font-size: 150%;
  font-family: 'Kazesawa-Extrabold';
  transform: skewX(-10deg);
}
b, strong {
  font-family: 'Kazesawa-Extrabold';
}

/* ===============
  グローバルヘッダー(proで非表示にしている場合は削除してOK)
=============== */
#globalheader-container {
  background: #fff;
  border-bottom: none;
  -moz-box-shadow: 0 1px 5px rgba(190, 190, 190, 0.16);
  -webkit-box-shadow: 0 1px 5px rgba(190, 190, 190, 0.16);
  -o-box-shadow: 0 1px 5px rgba(190, 190, 190, 0.16);
  box-shadow: 0 1px 5px rgba(190, 190, 190, 0.16);
  overflow: hidden;
  color: #777;
}
#globalheader-container a {
  color: #777;
}


/* ===============
  ブログタイトルエリア
=============== */
#blog-title {
  padding: 25px 0 15px;
  background: #fff;
  box-shadow: 0 3px 3px 0 rgba(0,0,0,0.16);
  position: relative;
}
.header-image-only #blog-title {
  background: #fff !important;
}
#blog-title-inner {
  width: 1170px;
  margin: 0 auto;
  overflow: hidden;
}
@media screen and (max-width: 1200px) {
  #blog-title-inner {
    text-align: center;
    width: 100%;
  }
}
#blog-title #title a {
  font-family: "Kazesawa-Extrabold";
  font-size: 90%;
  color: #4f8299;
  /*  text-shadow:0px 2px 3px rgba(0,0,0,.22); */
}
#blog-description {
  font-size: 70%;
  padding: 10px 0 0 0;
  color: #4f8299;
}
@media screen and (max-width:480px) {
  #blog-description {
    padding: 10px 10px 0;
  }
}
h1#title {
  font-size: 2.5em;
}
#top-editarea {
  width: 100%;
  text-align: center;
  background: #fff;
}
#top-box {
  margin-top: 15px;
}
#top-editarea a:hover {
  text-decoration: underline;
}
.top-menu-bar {
  background: #4f8299;
  color: #fff;
  padding: 5px 0;
  box-shadow: 0 3px 3px 0 rgba(0,0,0,0.16);
}
.top-menu-bar ul li {
  display: inline-block;
}
.top-menu-bar ul li a {
  color: #fff;
  font-size: 11px;
  text-decoration: none;
  padding: 10px 10px;
  overflow: hidden;
  box-sizing: border-box;
}
.header-image-enable #blog-title #title a,
.header-image-enable #blog-title #blog-description {
  text-shadow: none;
  color: #4f8299;
  text-shadow:3px 3px 0 #FFF, -3px -3px 0 #FFF,
              -3px 3px 0 #FFF, 3px -3px 0 #FFF,
              0px 3px 0 #FFF,  0-3px 0 #FFF,
              -3px 0 0 #FFF, 3px 0 0 #FFF;
}


/* ===============
  レイアウト
=============== */
#container {
  width: 100%;
}
#content {
  padding: 20px 0px;
  margin: 0 auto;
  width:1170px;
  overflow:hidden;
}
.page-entry #content {
  padding: 0;
  margin-top: 15px;
}
@media screen and (max-width:1200px) {
  #content {
    max-width:805px;
  }
}
@media screen and (max-width:768px) {
  #content {
    max-width:100%;
  }
}
.page-index .enable-top-editarea .page-archive #content {
  padding: 30px 0 !important;
}
.page-archive #content {
  padding: 20px 10px 30px;
}
#content-inner {
  display:-webkit-flex;
  display:flex;
  -webkit-flex-wrap:wrap;
  flex-wrap:wrap;
  -webkit-justify-content:space-between;
  justify-content:space-between;
}
#wrapper {
  width: 70%;
}
.page-index .enable-top-editarea .page-archive #wrapper,.page-archive #wrapper {
  width: 100%;
}
#main-inner {
  margin-bottom: 45px;
}
.entry-inner {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 0 4px 0 rgba(0,0,0,.15), 0 3px 4px 0 rgba(0,0,0,.25);
}
.page-index .entry-inner,.page-archive .entry-inner {
  margin-bottom: 30px;
}
.page-index .enable-top-editarea .page-archive #box2,.page-archive #box2 {
  width: 100%;
  margin: 0;
}
#box2 {
  width: 30%;
}

#box2-inner {
  margin-left: 25px;
  margin-bottom: 25px;
}
.page-index .enable-top-editarea .page-archive #box2-inner,.page-archive #box2-inner {
  margin-left: 0px;
}
.archive-entries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 25px;
  margin-bottom: 30px;
}

@media screen and (max-width:1200px) {
  #wrapper {
    width: 100%;
  }
  #content-inner {
    margin: 0 15px;
  }
  .archive-entries {
    grid-template-columns: repeat(2, 1fr);
  }
  #box2 {
    width: 100%;
  }
  #box2-inner {
    margin-left: 0px;
  }
}
@media screen and (max-width:768px) {
  .archive-entries {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width:480px) {
  #content-inner {
    margin: 0;
  }
}

/* ===============
  TOPページ・Archivesページ
=============== */
.page-archive .archive-entry {
  position: relative;
  box-shadow: 0 0 4px 0 rgba(0,0,0,.15), 0 3px 4px 0 rgba(0,0,0,.25);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.page-index .enable-top-editarea .page-archive .archive-entry:hover,.page-archive .archive-entry:hover  {
  transform: translateY(-5px);
  box-shadow: 0 0 3px 0 rgba(0,0,0,.15), 0 2px 3px 0 rgba(0,0,0,.25);
  transition: .3s ease-in-out;
}
.page-archive .entry-thumb {
  position: relative;
  top: 0;
  width: 100%;
  height: 15vw;
}
.page-archive .entry-thumb {
  background: no-repeat center center;
  background-size: cover;
  border-radius: 8px 8px 0 0;
}
@media screen and (max-width:1200px) {
  .page-archive .entry-thumb {
    height: 20vw;
  }
}
@media screen and (max-width:768px) {
  .page-archive .entry-thumb {
    height: 40vw;
  }
}
@media screen and (max-width:480px) {
  .page-archive .entry-thumb {
    height: 50vw;
  }
}
.entry-thumb-link {
  order: 0;
}
.archive-entry-header {
  order: 1;
  padding: 15px 10px 40px;
}
.archive-entry-body {
  order: 2;
}
.page-index .archive-entry-body {
  display: none;
}
.page-index .enable-top-editarea .page-archive .categories,.page-archive .categories {
  position: absolute;
  bottom: 5px;
  left: 10px;
  z-index: 100;
  background: #4f8299;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 70%;
  font-weight: bold;
}
.page-index .enable-top-editarea .page-archive .categories a,.page-archive .categories a {
  color: #fff;
}
.page-index .enable-top-editarea .page-archive .categories a:nth-child(n+2),.page-archive .categories a:nth-child(n+2) {
  display: none;
}
.page-index .enable-top-editarea .page-archive .entry-description,.page-archive .entry-description {
  line-height: 1.1;
  font-size: 80%;
  padding: 0 15px 10px;
  position: relative;
  color: #999;
  display: none;
}
.page-index .enable-top-editarea .page-archive .entry-description:after,.page-archive .entry-description:after {
  content: "";
  bottom: 0;
  left: 0;
  position: absolute;
  width:100%;
  height: 50%;
  background: -webkit-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,0.6) 15%, rgba(255,255,255,1) 70%, rgba(255,255,255,1));
}
.page-index .enable-top-editarea .page-archive h1.entry-title,.page-archive h1.entry-title {
  font-size: 120%;
  line-height: 1.2;
  overflow: hidden;
  transform: skewX(-10deg);
  padding: 0 5px;
}
.page-index .enable-top-editarea .page-archive .archive-date,.page-archive .archive-date {
  position: absolute;
  bottom: 3px;
  right: 15px;
  z-index: 100;
  font-size: 80%;
}
.page-index .enable-top-editarea .page-archive .social-buttons,.page-archive .social-buttons {
  display: none;
}
.page-index .enable-top-editarea .page-archive .pager,.page-archive .pager {
  margin: 0 auto;
  text-align: center;
}
.page-index .pager a,.page-archive .pager a {
  display: block;
  padding: 10px 45px;
  background: #4f8299;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 4px 0 rgba(0,0,0,.15), 0 3px 4px 0 rgba(0,0,0,.25);
}
.page-index .pager a:hover ,.page-archive .pager a:hover  {
  transform: translateY(-5px);
  box-shadow: 0 0 3px 0 rgba(0,0,0,.15), 0 2px 3px 0 rgba(0,0,0,.25);
  transition: .3s ease-in-out;
}
.archive-header-category {
  margin: 0;
}
.archive-heading {
  margin-bottom: 20px !important;
  padding: 10px 0 10px 10px;
  font-size: 20px !important;
  background: #4f8299;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 4px 0 rgba(0,0,0,.15), 0 3px 4px 0 rgba(0,0,0,.25);
  text-align: center;
}
.archive-entry-tags {
  display: none;
}

/* ===============
  サイドメニュー
=============== */
.page-index .enable-top-editarea .page-archive #box2-inner,.page-archive #box2-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 25px;
}
#box2-inner {
  grid-template-columns: 1fr;
}
@media screen and (max-width:1200px) {
  #box2 {
    margin:0 15px;
  }
  #box2-inner,.page-index .enable-top-editarea .page-archive #box2-inner,.page-archive #box2-inner {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    grid-gap: 25px;
  }
}
@media screen and (max-width:768px) {
  #box2-inner,.page-index .enable-top-editarea .page-archive #box2-inner,.page-archive #box2-inner {
    grid-template-columns: 1fr;
  }
}
.hatena-module-title {
  background: #ef7b75;
  color: #fff;
  padding: 10px;
  line-height: 1;
  border-radius: 8px;
  font-family: 'Kazesawa-Extrabold';
  box-shadow: 0 0 4px 0 rgba(0,0,0,.15), 0 3px 4px 0 rgba(0,0,0,.25);
  text-align: center;
}
.hatena-module-title a {
  color: #fff;
}
.hatena-module-body {
  padding: 10px 10px 20px;
}
.hatena-module-profile {
  text-align: center;
  margin-bottom: 25px;
  z-index: 0;
  position: relative;
}
.profile-icon-link {
  display: block;
}
.profile-icon {
  border-radius: 50%;
  box-shadow: 0 0 4px 0 rgba(0,0,0,.15), 0 3px 4px 0 rgba(0,0,0,.25);
}
.hatena-module-profile .hatena-module-body {
  background: url(//cdn-ak.f.st-hatena.com/images/fotolife/m/mamegoro/20190612/20190612114443.jpg) no-repeat center;
  position: relative;
  overflow: hidden;
  color: #666;
  padding: 50px 0;
  margin: -5px 5px 0;
  z-index: -99;
  box-shadow: 0 0 4px 0 rgba(0,0,0,.15), 0 3px 4px 0 rgba(0,0,0,.25);
  background-size:cover;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}
.hatena-module-profile .hatena-module-body a {
  color: #666;
  order: 1;
}
.hatena-module-profile .hatena-module-body:before {
  content: '';
  background: inherit;
  -webkit-filter: blur(7px);
  -moz-filter: blur(7px);
  -o-filter: blur(7px);
  -ms-filter: blur(7px);
  filter: blur(7px);
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  z-index: -1;
}
.hatena-module-profile .hatena-module-body span {
  order: 2;
  line-height: 1.2;
}
.hatena-module-body .hatena-follow-button-box {
  position: relative;
  width: 200px;
  height: 45px;
  margin: 10px auto 5px;
  order: 3;
  z-index: 1;
}
.hatena-module-body .hatena-follow-button {
  border-radius: 20px;
  background: #2884c7 !important;
  color: #fff !important;
  padding: 10px 0;
  float: none;
  font-size: 16px;
  margin: 0 auto;
  display: block;
  width: 200px;
  text-align: center;
  height: auto !important;
  box-shadow: 0 0 4px 0 rgba(0,0,0,.15), 0 3px 4px 0 rgba(0,0,0,.25);
  border: 0 !important;
}
.hatena-module-body .hatena-follow-button.unsubscribing.hover {
  color: #fff !important;
}
.hatena-module-body .hatena-follow-button-box .subscription-count {
  border-radius: 20px;
  display: block;
  float: none;
  white-space: nowrap;
}
.hatena-module-body .hatena-follow-button.subscribing {
  color: #fff !important;
  width: 200px;
}
.hatena-module-body .hatena-follow-button.subscribing.hover {
  width: 200px;
}
.hatena-module-body .hatena-follow-button-box:hover {
  color: #fff !important;
  transform: translateY(-5px);
  transition: .3s ease-in-out;
}
.hatena-module-body .hatena-follow-button-box .subscription-count-box {
  display: block;
  position: absolute;
  top: 11px;
  left: 200px;
}
.profile-activities {
  order: 5;
  margin-top: 10px;
  font-size: 12px;
}
.hatena-module-body .id .hatena-id-link .user-name-nickname {
  display: block;
  font-size: 130%;
  font-family: 'Kazesawa-Extrabold';
}
.user-name-paren,.user-name-hatena-id {
  font-size: 12px;
}
.hatena-module-body .id {
  margin-bottom: 10px;
}
.profile-description {
  order: 4;
  padding: 0 15px;
}
.hatena-module-body .hatena-urllist {
  margin: 0;
  padding: 0;
}
.hatena-module-body .urllist-with-thumbnails .urllist-item {
  max-height: 135px;
  overflow: hidden;
  font-size: 80%;
  border-bottom: 1px dotted #aaa;
  padding-top: 7px;
}
.hatena-module-body .urllist-with-thumbnails .urllist-item:last-child {
  border-bottom: none;
}
.hatena-module-links .hatena-module-body ul {
  margin-left: 25px;
}
.hatena-urllist img {
  border-radius: 8px;
  box-shadow: 0 0 4px 0 rgba(0,0,0,.15), 0 3px 4px 0 rgba(0,0,0,.25);
}
a.bookmark-widget-counter img {
  box-shadow: none;
}
.recent-entries-categories {
  display: none;
}
.search-form {
  text-align: center;
}
.search-module-input {
  border-radius: 8px;
  padding: 0 10px;
  border: 1px solid #4f8299;
  margin: 0 5px 0 0;
  color: #4f8299;
  width: 75%;
  height: 45px;
}
.search-module-input::placeholder {
  color: #4f8299;
}
.search-module-button {
  padding: 0 10px;
  margin: 0 0 0 -5px;
  border-radius: 8px;
  border: 1px solid #4f8299;
  background: #4f8299;
  color: #fff;
  width: 20%;
  height: 45px;
}
.related-entries-entry-body {
  display: none;
}
.hatena-module-category .hatena-module-body ul li {
  list-style: none;
  padding: 5px;
  border-bottom: 1px dotted #aaa;
}
.hatena-module-body .hatena-urllist {
  margin: 0 10px 0 25px;
}
.hatena-module-body .urllist-with-thumbnails {
  margin: 0 !important;
}
.archive-date:before,.entry-date:before {
  font-family: blogicon;
  content: "\f043";
}
.authors-urllist li {
  margin: 10px 0;
}


/* ===============
  記事ページ・静的ページ
=============== */
.entry-content a {
  color: #4294FF;
}
.entry-content a:hover {
  text-decoration: underline;
}
.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6 {
  color: #4f8299;
  line-height: 1.5;
  margin: 50px 0 10px;
  font-family: Segoe UI,Roboto,Kazesawa-Extrabold;
  display: block;
  padding: 5px 10px;
}
.entry-content h2 {
  font-size: 23px;
  background: #4f8299;
  color: #fff;
  border-radius: 8px;
}
.entry-content h3 {
  font-size: 22px;
  border-top: double 5px #4f8299;
  border-bottom: double 5px #4f8299;
}
.entry-content h4 {
  font-size: 20px;
  border-bottom: solid 3px #4f8299;
}
.entry-content h5,.entry-content h6 {
  font-size: 20px;
}
.breadcrumb {
  padding: 0 10px;
  margin: 0 auto;
  width:1170px;
  overflow:hidden;
  line-height: 1.2;
  font-size: 80%;
}
@media screen and (max-width:1200px) {
  .breadcrumb {
    max-width:805px;
  }
}
@media screen and (max-width:768px) {
  .breadcrumb {
    max-width:100%;
  }
}
.page-entry .breadcrumb {
  margin-bottom: 0px;
}
.comment-box{
  position:relative;
  margin:20px 0;
}
.comment-box:before{
  position:relative;
  margin:0 0 45px 0;
  padding: 0 0 10px;
  content:"";
  display:-webkit-flex;
  display:block;
  white-space:nowrap;
}
.comment-box:after{
  width:100%;
  display:block;
  position:absolute;
  top:0;
  left:0;
  color: #fff;
  background: #ef7b75;
  padding: 10px;
  line-height: 1;
  border-radius: 8px;
  font-family: 'Kazesawa-Extrabold';
  content:"コメント";
  box-shadow: 0 0 4px 0 rgba(0,0,0,.15), 0 3px 4px 0 rgba(0,0,0,.25);
  text-align: center;
}
.leave-comment-title {
  color: #fff;
  background: #4f8299;
  text-align: center;
  display: block !important;
  padding: 5px 25px;
  font-family: 'Kazesawa-Semibold';
  border-radius: 8px;
  border: 1px solid #4f8299;
  margin: 15px auto 0;
  width: 300px;
  box-shadow: 0 0 4px 0 rgba(0,0,0,.15), 0 3px 4px 0 rgba(0,0,0,.25);
}
.leave-comment-title:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 3px 0 rgba(0,0,0,.15), 0 2px 3px 0 rgba(0,0,0,.25);
  transition: .3s ease-in-out;
  background: #fff;
  color: #4f8299;
}
.comment li {
  list-style-type: none;
  border-bottom: 1px solid #ccc;
  padding: 10px;
}
.comment li .hatena-id-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid #ccc;
  box-shadow: 0 0 4px 0 rgba(0,0,0,.15), 0 3px 4px 0 rgba(0,0,0,.25);
  margin: 0 15px 15px 0;
  float: left;
}
.comment li .comment-content p {
  font-size: 80%;
  line-height: 1.1;
}
.comment-metadata {
  text-align: right;
  font-size: 80%;
}
.page-entry .entry-content {
  font-size: 115%;
}
.page-entry .entry-content p {
  margin: 5px;
}
.page-entry .entry-content p img {
  margin: 5px 0px;
}
.entry-footer-section {
  display: none;
}
.page-entry .pager {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
  margin-top: 15px;
}
.page-entry .pager-next {
  text-align: right;
}
.page-entry .pager-prev a,.page-entry .pager-next a {
  color: #33403d;
  padding: 5px 15px;
  display: block;
  border: 1px solid #4f8299;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 4px 0 rgba(0,0,0,.15), 0 3px 4px 0 rgba(0,0,0,.25);
  display: block;
  width: 100%;
}
.page-entry .pager-prev a:hover,.page-entry .pager-next a:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 4px 0 rgba(0,0,0,.15), 0 3px 4px 0 rgba(0,0,0,.25);
  transition: .3s ease-in-out;
  background: #4f8299;
  color: #fff;
  display: block;
}
@media screen and (max-width:768px) {
  .page-entry .pager {
    grid-template-columns: 1fr;
    margin: 15px 10px;
  }
}
.entry-header {
  margin: 0 10px 15px;
}
.entry-header .categories a {
  display: inline-block;
  margin: 10px 0 0;
  padding: 0px 10px;
  font-size: 70%;
  text-decoration: none;
  color: #fff;
  background: #ef7b75;
  border-radius: 8px;
  font-weight: bold;
}
.table-of-contents{
  border:1px solid  #ef7b7590;
  border-bottom: 10px solid  #ef7b75;
  position:relative;
  background: #f5f5f5;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, .15);
  border-radius: 8px;
  margin: 10px 0px !important;
}
.table-of-contents ul {
  margin: 0 !important;
}
.table-of-contents li {
  margin: 15px 15px 15px 45px;;
  font-size: 92%;
  line-height: 1.2;
}
.table-of-contents li a{
  text-decoration:none;
  color: #333;
  font-family: Kazesawa-bold;
}
.table-of-contents li a:hover{
  text-decoration:underline;
}
.table-of-contents li ul li{
  margin: 15px 25px;
}
@media screen and (max-width:768px) {
  .table-of-contents li ul li{
    margin: 15px;
  }
}
.table-of-contents:before {
  display: block;
  padding: 5px 15px;
  content: "\f039"" Contents";
  font-family: blogicon;
  color: #fff;
  background:  #ef7b7590;
  border-bottom: 10px solid  #ef7b75;
  font-weight: 600;
  border-radius: 8px 8px 0 0;
}
.entry-content ul,.entry-content ol {
  margin: 0 15px 0 35px;
}
blockquote {
  background-color: #f5f5f5;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, .15);
  padding: 10px 15px;
  margin: 25px 10px 10px;
  position: relative;
  border-radius: 8px;
  border: 1px solid #b7b7b7;
}
blockquote:before {
  content: '“';
  position: absolute;
  font-size: 30px;
  top: -10px;
  left: -10px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  background-color: #b7b7b7;
  color: #fff;
  font-family: 'Kazesawa-Extrabold';
  text-align: center;
  line-height: 1.3;
}
.comment-user-name .comment-user-id .user-name-nickname {
  font-size: 110%;
  display: inline-block;
}
pre {
  color: #000;
  font-size: 12px;
  background-color: #fafafa;
  border: solid 1px #bbbbbb;
  line-height: 120%;
  margin: 10px;
  padding: 10px;
  overflow-x: auto;
  overflow-y: auto;
  border-radius: 8px;
}
pre a {
  color: #000 !important;
}


/* ===============
  フッター
=============== */
.customized-footer {
  margin-top: 15px;
}
#footer,.customize-footer {
  background: #bfbfbf;
  padding: 25px 0;
  text-align: center;
  color: #fff;
  font-size:70%;
}
#footer a {
  color: #fff;
}
.services {
  margin: 0 auto;
}



/* ===============
  SNSリンクやボタンの設定など
=============== */
.head-sub-area {
  width: 1172px;
  margin: 0 auto;
  position: relative;
}
.top-sns-button {
  right: 0px;
  bottom: 0px;
  position: absolute;
}
.top-sns-button a,.side-sns-button a {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  color: transparent !important;
}
@media screen and (max-width: 1200px){
  .top-sns-button {
    display: none;
  }
}
.button{
  background-image: -webkit-linear-gradient(top, #f4f1ee, #fff);
  background-image: linear-gradient(top, #f4f1ee, #fff);
  border-radius: 50%;
  height: 60px;
  margin: 0 5px 0 0;
  position: relative;
  width: 60px;  
  -webkit-transition: all .1s linear;
  transition: all .1s linear;
  border: 4px solid #e1e2e3;
  box-shadow: 0px -1px 3px 0px #a3a3a3 inset;
  display: inline-block;
}
.button:after{
  color:#BEBEBE;
  content: "";
  display: block;
  font-size: 30px;
  height: 30px;
  text-decoration: none;
  text-shadow: 0px -1px 1px #bdb5b4, 1px 1px 1px white;
  position: absolute;
  width: 30px;
}
.side-sns-button .button {
  margin: 10px 0 0 0 !important;
}
.sns-bukuma:after{
  content: "B!";
  left:12px;
  top:15px;
  font-family: Verdan;
  font-weight: bold;
  font-size: 23px;
  line-height: 1;
  text-shadow: -0.5px -0.5px 1px #a3a3a3, 1px 1px 1px #a3a3a3;
}
.sns-twitter:after{
  font-family: blogicon;
  content: "\f035";
  left: 11px;
  top: 13px;
  font-size: 25px;
  line-height: 1;
  text-shadow: -0.5px -0.5px 1px #a3a3a3, 1px 1px 1px #a3a3a3;
}
.sns-feed img {
  opacity: .25;
  width: 70%;
  position: absolute;
  top: 7px;
  left: 8px;
}
.sns-rss:after{
  font-family: blogicon;
  content: "\f04e";
  left: 12px;
  top: 11px;
  font-size: 25px;
  line-height: 1;
  text-shadow: -0.5px -0.5px 1px #a3a3a3, 1px 1px 1px #a3a3a3;
}
.button:hover{
  background-image: linear-gradient(top, #fff, #f4f1ee);
}
.sns-bukuma:hover {
  border:4px solid #afd6ff;
}
.sns-twitter:hover {
  border:4px solid #b0f2ee;
}
.sns-feed:hover {
  border:4px solid #b9edb1;
}
.sns-rss:hover {
  border:4px solid #ffeeaa;
}
.google-auto-placed {
  margin-right: -10px;
}
/* </system> */

/* <system section="background" selected="fff"> */
/* ============================================================
   Binary Diary - Custom Design CSS
   Theme: "Lv12" (blackry-hub infinitas-lv12 の可視化ページ意匠を移植)
   Base: Hatena Blog standard (Minimalism系) markup
   ============================================================ */

:root{
  --bg:#14060f;
  --surface:#1f0b1c;
  --surface-2:#2b1226;
  --border:#4d1a42;
  --text:#f3e9f0;
  --text-muted:#9c86a0;
  --accent:#ff2ec4;
  --accent-dim:#7a1155;
  --accent-glow:rgba(255,46,196,.35);
  --accent-2:#ffcf4d;
  --radius:0;
  --radius-pill:0;
  --page-max:1440px;
  --read-max:760px;
}

/* ============================================================
   LAYOUT: full-width, card grid, sidebar -> footer
   ============================================================ */

/* outer width cap (full-bleed background, capped content) */
#container-inner{
  max-width:var(--page-max) !important;
  margin:0 auto !important;
  padding:0 24px !important;
}
#blog-title-inner{
  max-width:calc(var(--page-max) - 48px) !important;
  margin:0 auto !important;
}

/* stack main content above sidebar-turned-footer */
#content-inner{
  display:flex !important;
  flex-direction:column !important;
}
#wrapper{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  float:none !important;
}
#main, #main-inner{
  width:100% !important;
  max-width:none !important;
  float:none !important;
}
/* box1 ships empty on this template; drop it so it doesn't eat space */
#box1{ display:none !important; }

/* box2 = sidebar modules, rendered as a footer menu grid below main */
#box2{
  width:100% !important;
  max-width:none !important;
  float:none !important;
  margin-top:48px !important;
  padding-top:28px !important;
  border-top:1px solid var(--border) !important;
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap:16px !important;
  align-items:start;
}
#box2-inner{ display:contents !important; }

/* ---------- archive card grid (top page) ---------- */
.archive-entries{
  display:grid !important;
  grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap:20px !important;
}
.archive-entry{
  display:flex !important;
  flex-direction:column !important;
  padding:0 !important;
  overflow:hidden;
}
.archive-entry > .entry-thumb-link{ order:1; display:block; position:static !important; }
.archive-entry > .archive-entry-header{ order:2; padding:14px 14px 0 !important; position:static !important; }
.archive-entry > .categories{
  order:3; padding:8px 14px 6px !important;
  position:static !important; top:auto !important; left:auto !important;
  bottom:auto !important; right:auto !important;
  width:auto !important; height:auto !important; z-index:auto !important;
}
.archive-entry > .archive-entry-body{ order:4; padding:0 14px 14px !important; position:static !important; min-height:14px; }

.entry-thumb{
  width:100%;
  aspect-ratio:16/9;
  background-size:cover !important;
  background-position:center !important;
  border-radius:0 !important;
}
/* card body excerpt not needed in card mode, keep tags */
.entry-description{ display:none !important; }

/* ---------- responsive ---------- */
@media (max-width: 900px){
  .archive-entries{ grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)) !important; }
  #box2{ grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)) !important; }
}
@media (max-width: 640px){
  #container-inner{ padding:0 14px !important; }
  .archive-entries{ grid-template-columns:1fr !important; }
  #box2{ grid-template-columns:1fr !important; }
  #blog-title-content #title{ font-size:22px !important; }

  /* smaller type scale on mobile */
  body{ font-size:14px !important; }
  .entry-header .entry-title{ font-size:23px !important; line-height:1.3 !important; }
  .archive-entry-header .entry-title, .archive-entry-header .entry-title-link{ font-size:15px !important; }
  .entry-content{ font-size:14px !important; }
  .entry-content h2{ font-size:18px !important; }
  .entry-content h3{ font-size:17px !important; }
  .entry-content h4{ font-size:15px !important; }
  .entry-description{ font-size:13px !important; }
}

/* ---------- article page: comfortable reading width ---------- */
.page-entry .entry-header,
.page-entry .entry-content,
.page-entry .entry-footer,
.page-entry .comment-box{
  max-width:var(--read-max) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* ============================================================
   SKIN: colors / surfaces
   ============================================================ */

html, body{
  background:
    radial-gradient(ellipse 900px 420px at 50% 0%, rgba(255,46,196,.12), transparent 70%),
    var(--bg) !important;
  color:var(--text) !important;
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,sans-serif !important;
}
/* neutralize italic/serif/script fonts baked into whichever preset theme is selected */
#blog-title-content #title, #blog-description,
.archive-entry-header .entry-title, .archive-entry-header .entry-title-link,
.entry-header .entry-title, .entry-header .entry-title-link, .entry-title-link,
.entry-content, .entry-content *,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4{
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,sans-serif !important;
  font-style:normal !important;
}
/* the "italic" look is actually transform:skewX(-10deg) baked into the selected preset's h1.entry-title rule, not font-style */
.entry-title, h1.entry-title,
.archive-entry-header .entry-title, .archive-entry-header h1.entry-title,
.entry-header .entry-title, .entry-header h1.entry-title{
  transform:none !important;
}

/* stronger (ID-anchored) override in case the preset's italic rule out-specifies the class-only rule above */
#main-inner .archive-entry-header .entry-title,
#main-inner .archive-entry-header .entry-title-link,
#main-inner .entry-title-link,
#content-inner .entry-header .entry-title,
#content-inner .entry-header .entry-title-link,
#content-inner .entry-content,
#content-inner .entry-content *{
  font-style:normal !important;
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,sans-serif !important;
}
#wrapper, #container, #main, #content, #box1, #box2{
  background:transparent !important;
}
a{ color:var(--accent); }
a:hover{ color:#ff7fdf; }
::selection{ background:var(--accent); color:#2b0322; }

::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-track{ background:var(--bg); }
::-webkit-scrollbar-thumb{ background:var(--accent-dim); border-radius:var(--radius-pill); }
::-webkit-scrollbar-thumb:hover{ background:var(--accent); }

/* ---------- global header ---------- */
#globalheader{
  background:var(--surface) !important;
  border-bottom:1px solid var(--border) !important;
}
#globalheader-container, #globalheader nav, .blog-controlls{
  background:transparent !important;
}
.blog-controlls-title, .blog-controlls-title a{
  color:var(--text) !important;
}
#globalheader a{ color:var(--text-muted) !important; }
#globalheader a:hover{ color:var(--accent) !important; }

/* ---------- blog title block ---------- */
#blog-title{
  background:
    radial-gradient(ellipse 700px 260px at 50% 0%, rgba(255,46,196,.16), transparent 75%),
    var(--bg) !important;
  border-bottom:1px solid var(--border) !important;
}
#blog-title-content #title,
#blog-title-content .blog-controlls-title,
#blog-title a{
  color:var(--text) !important;
  text-shadow:0 0 18px var(--accent-glow);
}
#blog-title #title a, #blog-title-content #title a{
  color:var(--accent) !important;
}
#blog-description{
  color:var(--text-muted) !important;
}
.btn-subscribe, .btn-primary{
  background:var(--accent) !important;
  border-color:var(--accent) !important;
  color:#2b0322 !important;
  border-radius:var(--radius-pill) !important;
  box-shadow:0 0 14px -2px var(--accent-glow);
}
.btn-subscribe:hover{ filter:brightness(1.1); }

/* ---------- date / numbers -> monospace, tabular ---------- */
.date, .date-day, .date-month, .date-year, .hyphen,
.entry-footer-time, .archive-date, .archive-date a, .date a{
  font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace !important;
  font-variant-numeric:tabular-nums;
  color:var(--text-muted) !important;
}
/* preset floats the date over the thumbnail via position:absolute - bring it back into flow */
.archive-date{
  position:static !important;
  bottom:auto !important; right:auto !important; z-index:auto !important;
}
/* preset's frosted-blur pseudo element behind the profile card looks broken on a dark bg */
.hatena-module-profile .hatena-module-body:before{
  display:none !important;
}
/* preset hardcodes this badge's position (left:200px) which breaks under our layout */
.subscription-count-box{
  position:static !important;
  top:auto !important; left:auto !important;
  display:inline-block !important;
}

/* ---------- archive card skin ---------- */
.archive-entry{
  background:var(--surface) !important;
  border:1px solid var(--border) !important;
  border-radius:var(--radius) !important;
  transition:border-color .15s, box-shadow .15s, transform .15s;
}
.archive-entry:hover{
  border-color:var(--accent) !important;
  box-shadow:0 0 0 1px var(--accent), 0 0 20px -4px var(--accent-glow);
  transform:translateY(-2px);
}
.archive-entry-header .entry-title,
.archive-entry-header .entry-title-link,
.entry-title-link{
  color:var(--text) !important;
  text-decoration:none !important;
}
.archive-entry-header .entry-title-link:hover{ color:var(--accent) !important; }

/* ---------- category / tag pills ---------- */
.categories, .archive-entry-tags, .entry-tags, .entry-categories,
.archive-entry-tags-wrapper{
  display:flex; flex-wrap:wrap; gap:6px;
  background:transparent !important;
}
.category-link, .archive-category-link, .entry-category-link, a[class^="category-"]{
  display:inline-block !important;
  background:var(--surface-2) !important;
  border:1px solid var(--border) !important;
  color:var(--text-muted) !important;
  border-radius:var(--radius-pill) !important;
  padding:2px 10px !important;
  font-size:11px !important;
  text-decoration:none !important;
  transition:border-color .12s, color .12s, box-shadow .12s;
}
.category-link:hover, .archive-category-link:hover, .entry-category-link:hover{
  border-color:var(--accent) !important;
  color:var(--accent) !important;
  box-shadow:0 0 10px -2px var(--accent-glow);
}

/* footer "カテゴリー" module: flat flowing text list, no pill boxes */
.hatena-module-category .hatena-urllist{
  display:flex !important;
  flex-wrap:wrap;
  gap:2px 8px;
  list-style:none;
  padding:0;
  margin:0;
}
.hatena-module-category .hatena-urllist li{
  display:inline;
}
.hatena-module-category a[class^="category-"]{
  display:inline !important;
  background:transparent !important;
  border:none !important;
  padding:0 !important;
  border-radius:0 !important;
  color:var(--text-muted) !important;
  font-size:13px !important;
  line-height:1.4 !important;
  box-shadow:none !important;
}
.hatena-module-category a[class^="category-"]:hover{
  color:var(--accent) !important;
  box-shadow:none !important;
  text-decoration:underline;
}

/* ---------- pager ---------- */
.pager{ border-top:none !important; justify-content:center; display:flex; gap:10px; margin-top:24px; }
.pager a, .pager-prev a, .pager-next a{
  background:var(--surface) !important;
  border:1px solid var(--border) !important;
  color:var(--text) !important;
  border-radius:var(--radius-pill) !important;
  padding:6px 16px !important;
}
.pager a:hover{ border-color:var(--accent) !important; color:var(--accent) !important; }

/* ---------- sidebar modules (footer grid cards) ---------- */
.hatena-module{
  background:var(--surface) !important;
  border:1px solid var(--border) !important;
  border-radius:var(--radius) !important;
  padding:14px !important;
  margin-bottom:0 !important;
}
.hatena-module-title{
  background:transparent !important;
  border-radius:0 !important;
  color:var(--accent) !important;
  font-size:12px !important;
  letter-spacing:.04em;
  text-transform:uppercase;
  border-bottom:1px solid var(--border) !important;
  padding:0 0 8px !important;
  margin-bottom:10px !important;
  text-shadow:0 0 8px var(--accent-glow);
}
.hatena-module-body{ color:var(--text-muted) !important; }
.hatena-module-body a{ color:var(--text) !important; }
.hatena-module-body a:hover{ color:var(--accent) !important; }

.profile-icon img{
  border-radius:50% !important;
  border:2px solid var(--accent) !important;
  box-shadow:0 0 14px -2px var(--accent-glow);
}

.recent-entries-item, .related-entries-item, .urllist-item{
  border-bottom:1px solid var(--border) !important;
  padding:8px 0 !important;
}
.recent-entries-item:last-child, .related-entries-item:last-child, .urllist-item:last-child{
  border-bottom:none !important;
}
.recent-entries-title-link, .related-entries-title-link, .urllist-title-link{
  color:var(--text) !important;
}
.recent-entries-title-link:hover, .related-entries-title-link:hover, .urllist-title-link:hover{
  color:var(--accent) !important;
}
.recent-entries-image img, .related-entries-image img, .urllist-image img{
  border-radius:0 !important;
  border:1px solid var(--border) !important;
}

.archive-module-year-title, .archive-module-month{
  border-radius:var(--radius-pill) !important;
}
.archive-module-year-title a, .archive-module-month a{
  color:var(--text-muted) !important;
}
.archive-module-year-title a:hover, .archive-module-month a:hover{
  color:var(--accent) !important;
}
.archive-module-button, .archive-module-show-button, .archive-module-hide-button{
  background:var(--surface-2) !important;
  border:1px solid var(--border) !important;
  color:var(--text-muted) !important;
  border-radius:var(--radius-pill) !important;
}

.search-module-input{
  background:var(--surface) !important;
  border:1px solid var(--border) !important;
  color:var(--text) !important;
  border-radius:0 !important;
}
.search-module-input:focus{
  border-color:var(--accent) !important;
  box-shadow:0 0 0 3px var(--accent-glow);
  outline:none;
}
.search-module-button{
  background:var(--accent) !important;
  border-color:var(--accent) !important;
  border-radius:0 !important;
}

/* ---------- article page ---------- */
.entry, .entry-inner, .hentry{
  background:transparent !important;
}
.entry-header{
  border-bottom:1px solid var(--border) !important;
  margin-bottom:16px !important;
  padding-bottom:12px !important;
}
.entry-header .entry-title{
  color:var(--text) !important;
  font-size:32px !important;
  line-height:1.35 !important;
  font-weight:800 !important;
  text-shadow:0 0 20px var(--accent-glow);
}
.entry-content{
  color:var(--text) !important;
  font-size:15px !important;
  line-height:1.9 !important;
}
.entry-content a{ color:var(--accent) !important; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4{
  color:var(--text) !important;
  background:transparent !important;
  border-radius:0 !important;
  border:none !important;
}
/* H2: section title - most weight (thick underline + glow) */
.entry-content h2{
  border-bottom:3px solid var(--accent) !important;
  padding:0 0 8px !important;
  text-shadow:0 0 12px var(--accent-glow);
}
/* H3: sub-section - medium weight (left accent bar + faint panel) */
.entry-content h3{
  border-left:4px solid var(--accent) !important;
  background:var(--surface) !important;
  padding:6px 12px !important;
}
/* H4: minor heading - least weight (thin underline, text-width only) */
.entry-content h4{
  display:inline-block;
  border-bottom:1px solid var(--border) !important;
  color:var(--text) !important;
  padding:0 0 4px !important;
}
.entry-content h1 *, .entry-content h2 *, .entry-content h3 *, .entry-content h4 *{
  color:inherit !important;
}
.entry-content strong, .entry-content b{ color:var(--accent-2); font-weight:700; }
.entry-content hr{ border-color:var(--border) !important; }
.entry-content blockquote{
  border-left:3px solid var(--accent) !important;
  background:var(--surface) !important;
  color:var(--text-muted) !important;
  padding:8px 14px !important;
  border-radius:0 !important;
}
.entry-content pre, .entry-content code{
  background:var(--surface-2) !important;
  border:1px solid var(--border) !important;
  color:var(--text) !important;
  border-radius:0 !important;
}
.entry-content img{ border-radius:0 !important; max-width:100%; height:auto; }
.entry-content table{ border-color:var(--border) !important; }
.entry-content table th, .entry-content table td{
  border:1px solid var(--border) !important;
  background:var(--surface) !important;
  color:var(--text) !important;
}
.entry-footer{
  border-top:1px solid var(--border) !important;
  margin-top:20px !important;
  padding-top:14px !important;
}

.comment-box, #comment-box-fixed{
  background:var(--surface) !important;
  border:1px solid var(--border) !important;
  border-radius:var(--radius) !important;
  padding:14px !important;
}
/* comment count / section title bar (best-effort: exact markup is injected by hatena's JS widget) */
.comment-box-title, .comment-box > .title, .comment-box-header,
#comment-box-fixed .title, #comment-box-fixed > h3{
  background:transparent !important;
  color:var(--accent) !important;
  border-radius:0 !important;
  border-bottom:1px solid var(--border) !important;
}
.leave-comment-title{
  display:inline-block;
  background:var(--accent) !important;
  color:#2b0322 !important;
  border-radius:var(--radius-pill) !important;
  padding:8px 20px !important;
  font-weight:700;
  text-decoration:none !important;
  box-shadow:0 0 14px -2px var(--accent-glow);
}
.leave-comment-title:hover{ filter:brightness(1.1); }
/* in case the "コメント" label is CSS-generated content (::before), not real markup */
.comment-box::before, .comment-box::after,
.js-comment-box::before, .js-comment-box::after,
ul.comment::before, ul.comment::after{
  background:transparent !important;
  color:var(--accent) !important;
}
.comment{
  border-top:1px solid var(--border) !important;
  color:var(--text-muted) !important;
}
.comment .fn, .comment .author{ color:var(--text) !important; }

/* ---------- footer ---------- */
.customized-footer, #footer{
  background:var(--surface) !important;
  border-top:1px solid var(--border) !important;
  color:var(--text-muted) !important;
}
.customized-footer a, #footer a{ color:var(--text-muted) !important; }
.customized-footer a:hover, #footer a:hover{ color:var(--accent) !important; }