/* <system section="theme" selected="8599973812270629022"> */
@charset "utf-8";
@import url("//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css");

/* =========================================================
   1. 変数定義（テーマカラー・共通設定）
========================================================= */
:root {
  /* メインカラー */
  --color-cyan: #49beb7;
  --color-pink: #e8317d;

  /* 文字色・背景・ボーダー */
  --text-main: #333333;
  --text-sub: #3f3f3f;
  --bg-gray: #f5f5f5;
  --border-line: #ECEEF1;

  /* 共通のグラデーション（見出しなどで使用） */
  --grad-main: linear-gradient(to right, var(--color-cyan) 30%, var(--color-pink) 100%);
}
/* ========================================================= */



html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

/*   リセットCSS　ここまで   */



※未だにコードを整理していない 2018/09/09 Licensed under the MIT license. */
/*  import normalize */
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
*    user zoom.
*/

/* Responsive:yes */

html {
 /* font-family: sans-serif; */
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/**
* Remove default margin.
*/
body {
  margin: 0;



}



/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */
}

/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/
[hidden],
template {
  display: none;
}

/* Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
  background: transparent;
}

/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
========================================================================== */
/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
  border-bottom: 1px dotted;
}

/**
* Address style set to `600er` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
  font-weight: 600;
}

/**
* Address styling not present in Safari and Chrome.
*/
dfn {
  font-style: italic;
}

/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
* Address styling not present in IE 8/9.
*/
mark {
  background: #ff0;
  color: #000;
}

/**
* Address inconsistent and variable font size in all browsers.
*/
small {
  font-size: 80%;
}

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

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9/10.
*/
img {
  border: 0;
}

/**
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari.
*/
figure {
  margin: 1em 40px;
}

/**
* Address differences between Firefox and other browsers.
*/
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
* Contain overflow in all browsers.
*/
pre {
  overflow: auto;
}

/**
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
========================================================================== */
/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/
/**
* 1. Correct color not being inherited.
*    Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  /* 1 */
  font: inherit;
  /* 2 */
  margin: 0;
  /* 3 */
}

/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/
button {
  overflow: visible;
}

/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/
button,
select {
  text-transform: none;
}

/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
*    and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
*    `input` and others.
*/
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
}

/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
  cursor: default;
}

/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
* Address Firefox 4+ setting `line-height` on `input` using `` in
* the UA stylesheet.
*/
input {
  line-height: normal;
}

/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
*    (include `-moz` to future-proof).
*/
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box;
}

/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
* Define consistent border, margin, and padding.
*/
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/
textarea {
  overflow: auto;
}

/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup {
  font-weight: 600;
}

/* Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*  import mixin */
.clearfix {
  display: block;
  *zoom: 1;
}

.clearfix:after {
  display: block;
  visibility: hidden;
  font-size: 0;
  height: 0;
  clear: both;
  content: ".";
}

.inline-block {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

.ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/*  import variable */



/* Common */
/* =========================================================
   2. ベース設定・共通スタイル
========================================================= */
html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Avenir', 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴシック', 'メイリオ', meiryo, '游ゴシック  Medium', sans-serif;
  color: var(--text-sub);
  background-color: #F0D8E5;
}

a { color: #1487bd; }
a:visited { color: #789dae; }
a:hover { color: #0f5373; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited {
  color: var(--text-main);
  text-decoration: none;
}
h1 a:hover { text-decoration: underline; }
a.keyword {
  text-decoration: none;
  border-bottom: 1px dotted var(--border-line);
  color: var(--text-sub);
}

/* 汎用ボタン */
.btn {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 0;
  line-height: 18px;
  color: var(--text-sub);
  background-color: #ffffff;
  text-align: center;
  vertical-align: middle;
  border-radius: 2px 0 0 0; 
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
.btn:hover {
  background-color: var(--bg-gray);
  text-decoration: none;
}
.btn-small { padding: 2px 10px; font-size: 11px; }
.btn-large { padding: 13px 19px; font-size: 17px; line-height: normal; font-weight: 600; }

/* ページャー */
.pager { margin: 1em 0; display: block; }
.pager:after { display: block; visibility: hidden; font-size: 0; height: 0; clear: both; content: "."; }
.pager .pager-prev { float: left; text-align: left; width: 45%; }
.pager .pager-next { float: right; text-align: right; width: 45%; }


/* =========================================================
   3. 全体レイアウト・ヘッダー・フッター
========================================================= */
#globalheader-container {
  color: var(--text-main);
  position: static;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
}
#container {
  width: 1140px;
  margin: 0 auto;
  padding-top: 37px;
}
#container #content { display: block; }
#container #content:after { display: block; visibility: hidden; font-size: 0; height: 0; clear: both; content: "."; }
.globalheader-off #container { padding-top: 0; }

#main {
  width: 720px;
  float: left;
  background: transparent;
  margin-bottom: 10px;
  padding: 0 10px;
}
#box2 {
  width: 280px;
  float: right;
  background: transparent;
  margin: 0 15px;
}

#title { margin: 0; }
#title a { color: var(--text-sub); }
#blog-description {
  font-weight: normal;
  font-size: 90%;
  margin: 5px 0 0 0;
}
.header-image-only #blog-title #blog-title-inner {
  text-align: center;
  margin: 0 auto;
  background-size: contain;
}
#top-box { margin: 10px auto 20px; font-size: 90%; }
#top-box .breadcrumb {
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  padding: 10px;
}

/* フッター */
#footer {
  padding: 30px 0;
  text-align: center;
  color: #999999;
  line-height: 1.5;
  font-size: 80%;
}
#footer p { margin: 0; }
#footer a { color: #999999; }
.footer {
  background: var(--text-sub);
  color: #fff;
  padding: 30px 0;
}
.footer ul li { text-align: center; display: block; }
.footer .footer-title { margin-bottom: 10px; }
.footer .footer-copyright { font-size: 12px; }
.footer-list { padding: 0; }


/* =========================================================
   4. 記事一覧（アーカイブ・トップページ）
========================================================= */
.archive-header-category { margin-bottom: 25px; }
.archive-heading {
  border-bottom: 1px solid var(--border-line);
  font-weight: 600;
  font-size: 21px;
  line-height: 35px;
  padding-bottom: 5px;
  margin-bottom: 25px;
}
.page-archive .archive-entries .archive-entry {
  margin-bottom: 1em;
  padding: 1em;
  background-color: #FFFFFF;
  border: 0.5px solid #86cecb;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);
}
.page-archive .archive-entries .entry-title { font-size: 130%; margin: 0 0 .5em; }
.page-archive .archive-entries .categories { margin: 0 0 .5em; }
.page-archive .archive-entries .entry-description { margin: 0 0 1em; font-size: 14px; line-height: 1.5em; }
.page-archive .categories a {
  color: var(--text-sub);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 5px;
}

/* =========================================================
   5. 記事本文・装飾
========================================================= */
.entry { position: relative; margin-bottom: 30px; }
.entry-header {
  padding: 5px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-line);
  position: relative;
}
.entry-title {
  font-size: 25px;
  line-height: 1.5em;
  margin: 0;
  font-weight: bold;
  padding: 0;
}
.entry-title:before, .entry-title:after {
  content: "";
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: 3px;
  background-image: var(--grad-main);
}
.entry-title:before { margin-bottom: 1.3em; }
.entry-title:after { margin-top: 1.3em; }

article {
  border-radius: 5px;
  padding: 20px;
  box-sizing: border-box;
  background-color: #FFFFFF;
  color: #666666;
  border: 0.5px solid #86cecb;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);
}

.date {
  position: relative;
  font-weight: 600;
  display: inline-block;
  margin: 0 0 0 -5px;
  padding: 0 0.5rem 0.5rem;
  line-height: 3em;
  text-indent: 3em;
  color: var(--text-sub);
  font-size: 100%;
}
.date:after {
  position: absolute;
  left: 0;
  content: "";
  display: inline-block;
  width: 3em;
  height: 3em;
  background: url(https://cdn-ak.f.st-hatena.com/images/fotolife/y/yamamori3939/20210717/20210717214135.png) no-repeat;
  background-size: contain;
}
.date a { color: var(--text-sub); text-decoration: none; }

.categories { margin-top: 10px; font-size: 80%; }
.categories a {
  text-decoration: none;
  padding: 4px 0;
  font-size: 15px;
  vertical-align: middle;
  margin-right: 10px;
}
.categories a:before {
  font-family: FontAwesome;
  content: "\f02b";
  font-size: 16px;
  vertical-align: middle;
  margin-right: 5px;
  color: #2f2f2f;
}
.categories a:hover { text-decoration: underline; }
.categories.no-categories { margin: 0; }

.entry-content {
  font-size: 18px;
  line-height: 200%;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-line);
}
.entry-content p {
  font-size: 16px;
  margin: 0;
  line-height: 1.8em;
  color: var(--text-main);
  font-weight: 300;
  text-align: justify;
  text-justify: inter-ideograph;
}
.entry-content img { max-width: 100%; } 

/* 以下を追加：画像の高さ制限と中央揃え（PC・共通） */
.entry-content img.hatena-fotolife {
  display: block; /* ブロック要素にする */
  margin: 0.8em auto; /* 上下0.8em、左右自動(auto)で中央揃え */
  max-height: 550px; /* PCでの高さ上限 */
  width: auto; /* 高さが制限された時、横幅も比率を保って縮小させる */
}

.entry-content h1, .entry-content h2, .entry-content h3, 
.entry-content h4, .entry-content h5, .entry-content h6 {
  margin: 1.3em 0 0.8em 0;
  line-height: 1.5em;
}
.entry-content h1 { font-size: 200%; }
.entry-content h2 { font-size: 180%; }
.entry-content h3 { font-size: 145%; }
.entry-content h4 { font-size: 125%; }
.entry-content h5 { font-size: 110%; }
.entry-content h6 { font-size: 100%; }

.entry-content table { border-collapse: collapse; border-spacing: 0; margin-bottom: 1em; }
.entry-content table img { max-width: none; }
.entry-content table th, .entry-content table td { border: 1px solid #ddd; padding: 5px 10px; }
.entry-content table th { background: var(--bg-gray); }

.entry-content pre {
  border: 1px solid var(--border-line);
  margin: 0 0 10px;
  padding: 20px;
  white-space: pre;
}
.entry-content pre>code {
  margin: 0;
  padding: 0;
  white-space: pre;
  border: 0;
  background: transparent;
  font-family: 'Monaco', 'Consolas', 'Courier New', Courier, monospace, sans-serif;
}
.entry-content code {
  font-size: 90%;
  margin: 0 2px;
  padding: 0 5px;
  border: 1px solid #eaeaea;
  background-color: #f8f8f8;
  border-radius: 3px;
  font-family: 'Monaco', 'Consolas', 'Courier New', Courier, monospace, sans-serif;
}

/* 引用 */
.entry-content blockquote {
  position: relative;
  width: 95%;
  margin: 0 auto;
  padding: 45px 15px 15px 15px;
  box-sizing: border-box;
  background: var(--bg-gray);
  color: #777777;
  border-left: 2px solid var(--color-pink);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);
}
.entry-content blockquote:before {
  display: inline-block;
  position: absolute;
  top: 10px;
  left: 10px;
  content: "\f10d";
  font-family: FontAwesome;
  color: var(--color-pink);
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}
.entry-content blockquote p { padding: 0; margin: 10px 0; line-height: 1.7; }
.entry-content blockquote cite { display: block; text-align: right; color: #888888; font-size: 0.9em; }

.entry-content > ul, .entry-content > ol { margin: 0; padding: 1.5em; }
.entry-content .hatena-asin-detail li { line-height: 1.4; }

/* 続きを読むボタン */
.entry-see-more {
  display: block;
  position: relative;
  margin: 10px auto;
  width: 85%;
  padding: 1em;
  font-size: 1em;
  background: linear-gradient(100deg, var(--color-cyan) 20%, var(--color-pink) 80%);
  color: #fff;
  text-align: center;
  font-weight: bold;
  border-radius: 3px;
  transition: .3s ease-out;
}
.entry-see-more:visited { color: #fff; }
.entry-see-more:hover {
  background: transparent;
  border: 1px solid #3B86B8;
  color: #bbb;
}

/* =========================================================
   6. 記事関連・シェアボタン等
========================================================= */
.entry-footer { margin-top: 10px; }
.entry-footer-section { font-size: 80%; color: #999999; }
.entry-footer-section a { color: #999999; }
.social-buttons, .entry-footer-html { margin: 10px 0; }

.share-area { margin: 20px 0; }
.share-button {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.share-button a {
  width: 32%;
  height: 52px;
  padding: 4px 0;
  line-height: 18px;
  border-radius: 3px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  text-decoration: none;
  vertical-align: bottom;
  transition: all 0.4s;
  box-sizing: border-box;
}
.share-button a:hover { opacity: 0.6; transition: all 0.4s; }
.share-area i, .share-area .lg { font-size: 24px; }
.share-button .twitter-button { padding-top: 8px; background: #55ACEE; box-shadow: 0 4px #1280c3; }
.share-button .twitter-button .lg { font-size: 27px; }
.share-button .hatena-bookmark-button { padding-top: 5px; padding-bottom: 6px; background: #00A4DE; box-shadow: 0 4px #038ebf; }
.share-button .hatena-bookmark-button .lg { font-size: 32px; }
.share-button .facebook-button { padding-top: 4px; background: #405BA7; }
.share-button .facebook-button .lg { font-size: 26px; }
.share-button .pocket-button { background: #EE4256; box-shadow: 0 4px #c3293b; }
.share-area .small-text { font-size: 11px; }

/* タイトル下ナビゲーション */
.navigation-menu-area {
  margin: 0 auto;
  width: 100%;
  background: var(--grad-main);
}
.navigation-menu-button { display: flex; justify-content: space-between; flex-wrap: wrap; }
.navigation-menu-button a {
  width: 23%;
  padding: 0.8em 0.4em;
  line-height: 1em;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  color: #fff;
  text-decoration: underline;
  transition: all 0.4s;
  box-sizing: border-box;
}
.navigation-menu-button a:hover { opacity: 0.6; transition: all 0.4s; }
.navigation-menu-button a:visited { color: #fff; }
.navilink-1, .navilink-2, .navilink-3, .navilink-4 { background: transparent; }

/* =========================================================
   7. サイドバー・その他モジュール
========================================================= */
#box2 { font-size: 85%; line-height: 1.5em; }
.hatena-module { margin-bottom: 50px; }
.hatena-module a:hover { text-decoration: underline; }
.hatena-module-title {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 120%;
  padding: 0 0 5px 0;
  border-bottom: 1.7px solid #FFFFFF;
}
.hatena-module-title a { color: var(--text-sub); text-decoration: none; }
.hatena-module-title a:hover { text-decoration: underline; }
.hatena-module-body { margin: 0 5px 0 10px; }

/* プロフィール */
.hatena-module-profile .profile-icon {
  text-align: justify;
  text-justify: inter-ideograph;
  float: left;
  margin: 0 10px 10px 0;
  border-radius: 5px 0 0 0;
}
.hatena-module-profile .id { display: block; font-weight: 600; font-size: 110%; margin-bottom: 5px; }
.hatena-module-profile .profile-description { font-size: 90%; }
.hatena-module-profile .profile-description p { margin-top: 0; }
.id a {
  color: var(--text-sub);
  text-decoration: none;
}

/* URLリスト */
.hatena-urllist { list-style: none; margin: 0; padding: 0; }
.hatena-urllist li { padding: 8px 0; border-bottom: 1px solid var(--border-line); line-height: 1.5; }
.hatena-urllist li a { text-decoration: none; }

/* 検索ボックス */
.hatena-module-search-box .search-form {
  border: 1px solid var(--border-line);
  border-radius: 3px 0 0 0;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  background-color: #ffffff;
}
.hatena-module-search-box .search-module-input {
  padding: 10px;
  color: var(--text-sub);
  background: none;
  border: none;
  outline: none;
  height: 20px;
  width: 90%;
}
.hatena-module-search-box .search-module-button {
  width: 35px;
  height: 35px;
  background: transparent url(https://cdn.blog.st-hatena.com/images/theme/search.png?version=0189fb0e2380fd6c91b5956549d009) no-repeat right center;
  border: none;
  outline: none;
  text-indent: -9999px;
  position: absolute;
  top: 1px;
  right: 10px;
  opacity: 0.5;
}
.hatena-module-search-box .search-module-button:hover { opacity: 0.85; }

/* 編集ボタン等 */
.entry-header-menu { position: absolute; bottom: 0px; left: -60px; }
.entry-header-menu a, .leave-comment-title {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 0;
  line-height: 18px;
  color: var(--text-sub);
  background-color: #ffffff;
  text-align: center;
  vertical-align: middle;
  border-radius: 2px 0 0 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
.entry-header-menu a:hover, .leave-comment-title:hover {
  background-color: var(--bg-gray);
  text-decoration: none;
}

/* コメント */
.comment-box ul { list-style: none; margin: 0 0 15px 0; padding: 0; font-size: 95%; line-height: 1.7; }
.comment-box li { padding: 10px 0 10px 60px; border-bottom: 1px solid #F7F8F9; position: relative; }
.comment-box li:first-child { border-top: 1px solid #F7F8F9; }
.comment-box .read-more-comments { padding-left: 0; }
.comment-box .hatena-id-icon { position: absolute; top: 10px; left: 0; width: 50px; height: 50px; border-radius: 3px 0 0 0; }
.comment-user-name { margin: 0 0 10px 0; font-weight: 600; }
.comment-content { font-size: 90%; margin: 0 0 10px 0; word-wrap: break-word; }
.comment-content p { margin: 0 0 10px 0; }
.comment-metadata { font-size: 80%; color: #999999; margin: 0; }
.comment-metadata a { color: #999999; }

/* スライドメニュー関連 */
#gnav {
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  margin: 0 0 10px;
  background: #ffffff;
  font-size: 0;
  padding: 0;
}
#gnav .menu a {
  display: block;
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}
#gnav .gnav-inner {
  width: 100%;
  padding: 12px 20px;
  overflow-x: auto;
  overflow-y: hidden;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}
#gnav .menu { display: inline-block; }
#top-editarea .section { width: 100%; margin: 0 auto; }
#top-editarea { margin-bottom: 15px; }

/* Aboutページ等 */
.page-about dt { font-size: 16px; font-weight: 600; border-bottom: 1px solid #dfdfdf; margin-bottom: 5px; }
.page-about dd { margin-left: 0; margin-bottom: 30px; }
.shrbtn {
  padding: 0;
  margin: 15px 0;
  width: 100%;
  background: var(--border-line);
  text-align: center;
  display: inline-flex;
}
.share_btn {
  display: inline-block;
  width: calc(100% / 5);
  margin: 4px 6px;
  height: 40px;
  line-height: 40px;
  font-size: 18px;
  color: var(--text-sub);
  border: 1px solid var(--border-line);
  border-radius: 0;
  text-align: center;
  vertical-align: middle;
  overflow: hidden;
  font-weight: 600;
  transition: .3s;
  background: #fafafa;
}
.share_btn:first-of-type { margin-left: 0; }
.share_btn:last-of-type { margin-right: 0; }
.share_btn:hover { color: var(--text-sub); }
.share_btn .fa { line-height: 40px; }


















/*  import media queries */
/* Media Queries - PC ========================================== */
@media screen and (min-width: 1025px) {
  #blog-title #title {
    font-size: 37px;
    line-height: 60px;
    font-weight: 700;
    margin: 0;
  }
  .header-image-only #blog-title #blog-title-inner {
    height: 250px;
  }
  .hatena-module-search-box .search-module-button {
    background: transparent url(https://cdn.blog.st-hatena.com/images/theme/search@2x.png?version=0189fb0e2380fd6c91b5956549d009) no-repeat right center;
    background-size: 20px 20px;
  }
  #container {
    border-right: 1px solid var(--border-line);
    border-left: 1px solid var(--border-line);
  }
  #content {
    margin: 10px 45px;
  }
  .breadcrumb-inner {
    margin: 0 5%;
  }
  .page-archive .entry-thumb,
  #box2 .urllist-image {
    border-radius: 5px;
  }
  .page-archive .entry-thumb {
    margin-right: 20px;
  }
  #box2 .urllist-image {
    margin-right: 15px;
  }
  .urllist-date-link time {
    color: var(--text-sub);
    text-decoration: none;
    font-size: 14px;
    padding: 1px;
  }
  .urllist-date-link time:before {
    font-family: FontAwesome;
    content: "\f272";
    left: 0;
    font-size: 95%;
    top: 0;
    color: var(--text-sub);
  }
  .shrbtn {
    background: none;
  }
  #box2 {
    margin-top: 0px;
  }
  .page-archive .archive-entries .entry-title {
    font-size: 20px;
  }
  .hatena-urllist li a {
    font-size: 13px;
    line-height: 25px;
    color: var(--text-sub);
  }
  #gnav .menu a {
    padding: 0 15px;
  }
}

/* Media Queries - Tablet ========================================== */
@media screen and (max-width: 1024px) {
  #gnav .menu {
    margin-right: 20px;
  }
  #gnav .menu a {
    font-size: 12px;
  }
  #container {
    width: 100%;
    word-wrap: break-word;
    overflow: hidden;
    padding-top: 0;
  }
  #main,
  #box2 {
    width: 93.75%;
    margin: 0 auto;
    float: none;
  }
  #box2-inner,
  .hatena-module {
    width: 100%;
  }
  .hatena-module {
    float: none;
  }
  .page-archive .entry-thumb,
  #box2 .urllist-image {
    border-radius: 5px;
  }
  .urllist-date-link time {
    color: var(--text-sub);
    text-decoration: none;
    font-size: 14px;
    padding: 1px;
  }
  .urllist-date-link time:before {
    font-family: FontAwesome;
    content: "\f272";
    left: 0;
    font-size: 95%;
    top: 0;
    color: var(--text-sub);
  }
  .shrbtn {
    background: none;
  }
  .hatena-urllist li a {
    color: var(--text-sub);
  }
  .entry .entry-title {
    font-size: 22px;
  }
  .categories a {
    color: var(--text-sub);
    text-decoration: none;
    padding: 2px 7px;
    border-radius: 2px;
    margin: 0 2px;
  }
  .page-archive .archive-entries .entry-title {
    font-size: 18px;
  }
}

















/* Media Queries - Smartphone ========================================== */
@media screen and (max-width: 767px) {

  /* --- 1. 全体レイアウト（コンテナ・サイドバー） --- */
  #container {
    width: 100%;
    word-wrap: break-word;
    overflow: hidden;
    padding-top: 0;
  }
  #main {
    max-width: 95%;
    width: 90%;
    height: auto;
    margin: 0 auto;
    float: none;
  }
  #box2 {
    max-width: 100%;
    margin: 0 auto;
    float: none;
  }
  #box2-inner,
  .hatena-module {
    width: 100%;
  }
  .hatena-module {
    float: none;
    margin-bottom: 40px;
  }

  /* --- 2. ヘッダー・タイトル --- */
  #blog-title {
    text-align: center;
    padding: 0;
    margin: 0;
  }
  #blog-title #title {
    font-size: 32px;
    font-weight: 700;
  }
  .header-image-only #blog-title #blog-title-inner {
    height: 150px;
  }
  #blog-description {
    font-size: 12px;
    width: 95%;
    margin: 0 auto;
  }
  #top-box .breadcrumb {
    display: none;
  }

  /* --- 3. ナビゲーションメニュー --- */
  .navilink-1, .navilink-2, .navilink-3, .navilink-4 {
    border: 1px solid #FFF;
  }
  .navigation-menu-button a {
    flex: auto;
    width: 50%;
  }
  .navigation-menu-button:nth-child(3n) a {
    border-right: 1px solid #ccc;
  }
  .navigation-menu-button:nth-child(n + 4) a {
    border-top: none;
  }

  /* --- 4. 記事一覧（アーカイブ） --- */
  .archive-entries {
    margin: 0 0 40px;
  }
  .archive-entry-header {
    width: calc(100% - 90px);
    float: right;
  }
  .page-archive .archive-entries .entry-title {
    font-size: 15px;
    line-height: 1.7em;
    font-weight: 500;
    margin: 0;
  }
  .page-archive .entry-thumb {
    width: 75px;
    height: 75px;
    border: 1px solid var(--border-line);
    background-size: cover;
    float: left;
    border-radius: 5px;
  }
  .archive-entries .entry-description,
  .page-archive .categories,
  .page-archive .social-buttons {
    display: none;
  }

  /* --- 5. 記事本文 --- */
  article {
    padding: 15px;
  }
  .entry .entry-header {
    border: none;
  }
  .entry .entry-title {
    font-size: 22px;
    line-height: 30px;
    margin: 10px 0 15px;
  }
  .entry-content {
    font-size: 14px;
  }
  .entry-content p {
    color: var(--text-main);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6em;
    letter-spacing: -0.04em;
  }
  .entry-content .table-of-contents {
    position: relative;
    box-sizing: border-box; 
    width: 100%; 
    background-color: #fafafa;
    border: 1px solid var(--border-line);
    padding: 65px 15px 20px 35px;
    border-radius: 0;
    font-size: 14px;
    line-height: 28px;
    margin: 2em 0; 
  }
  /* 変更後：名前を強くして、高さだけ上書きする */
  .entry-content img.hatena-fotolife {
    max-height: 360px;
  }
  .figure-image figcaption {
    margin: 0;
    font-size: 15px;
  }
  .entry-header-menu {
    display: none;
  }

  /* --- 6. サイドバー・その他パーツ --- */
  .hatena-urllist li {
    padding: 10px 0 0px;
  }
  .hatena-urllist li a {
    font-size: 13px;
    line-height: 20px;
    font-weight: 500;
    color: var(--text-sub);
    text-decoration: none;
  }
  #box2 .urllist-image {
    max-width: 100%;
    width: 75px;
    height: 75px;
    border-radius: 5px;
    margin-right: 10px;
    border: 1px solid var(--border-line);
  }
  .urllist-image {
    width: 70px;
    border-radius: 5px;
  }
  .archive-module-year {
    border: none;
  }
  .urllist-date-link time {
    color: var(--text-sub);
    text-decoration: none;
    font-size: 12px;
    padding: 1px;
  }
  .urllist-date-link time:before {
    font-family: FontAwesome;
    content: "\f272";
    left: 0;
    font-size: 95%;
    top: 0;
    color: var(--text-sub);
  }
  .id a {
    font-weight: normal;
    text-decoration: none;
    color: var(--text-sub);
  }
  .related-entries .related-entries-entry-body {
    display: none;
  }

  /* --- 7. ページャー（前/次のページ） --- */
  .pager {
    text-align: center;
    margin-bottom: 45px;
  }
  :not(.permalink) > .pager-next {
    float: none;
    text-align: center;
  }
  :not(.permalink) > .pager-next a {
    text-decoration: none;
    padding: 10px 100px;
    border-radius: 4px;
    border: 1px solid var(--border-line);
    background: #fafafa;
    color: var(--text-sub);
  }
  .pager-permalink {
    display: none;
  }
}

/* Media Queries - Smartphone はここまで！！------------------------------------------*/














/*　ここから下がオリジナルのデザインCSS
---------------------------------------------------------------------------------------------------------------*/


/* =========================================================
   5. 記事本文（見出し・目次・装飾）
========================================================= */

/* --- 目次（追加の装飾） --- */
.entry-content .table-of-contents {
  font-size: 16px;
  /* 以下を追加：PC・共通のベースデザイン */
  border: 1px solid var(--border-line); /* 枠線 */
  background-color: var(--bg-gray); /* 背景色 */
  padding: 65px 1.5em 1em 1.5em; /* PC用の余白（上がタイトル用の65px） */
  box-sizing: border-box; /* 余白をはみ出させない魔法 */
  margin: 2em 0; /* 上下の隙間 */
}

.entry-content .table-of-contents:before{
  position: absolute;
  display: inline-block;
  text-align: center;
  top: 15px;
  left: 50%; /* 【変更】ぴったり中央（50%）に */
  transform: translateX(-50%); /* 【追加】完全にど真ん中に揃える処理 */
  line-height: 1em;
  font-size: 20px;
  font-weight: 700;
  content: '目次';
}

.entry-content .table-of-contents li a:hover {
  color: #bbb;
  transition: color 0.3s;
}
.entry-content .table-of-contents ul ul {
  /* H3, H4のみ表示（H5以降を非表示） */
  display: none;
}

/* ▼ 目次のリスト（箇条書き）デザイン変更 ▼ */
/* 目次の大枠と中身のデフォルトマーク（・や○）を一旦すべて消す */
.entry-content .table-of-contents,
.entry-content .table-of-contents ul {
  list-style-type: none; 
}

/* 1）h3（1階層目）の設定：大きな黒丸 */
.entry-content .table-of-contents > li {
  position: relative;
  padding-left: 1.0em; /* 黒丸を置くための余白 */
  margin-bottom: 0.5em; /* 行間を少しあけて読みやすく */
}
.entry-content .table-of-contents > li::before {
  content: "●"; /* 記号を指定 */
  font-size: 0.6em; /* 【理由1】フォントサイズを大きくして「大きな黒丸」に */
  color: var(--text-main); 
  position: absolute;
  left: 0; /* 左端に配置 */
  top: 0em; /* 丸の縦位置を文字の中央に微調整 */
}

/* 2）h4（2階層目）の設定：文字1つ分右へ */
.entry-content .table-of-contents ul {
  margin: 0; 
  padding-left: 0.5em; /* 【理由2】右へズラす */
}
.entry-content .table-of-contents ul > li {
  position: relative;
  padding-left: 0.8em; /* 白丸を置くための余白 */
  margin-bottom: 0.2em;
}
.entry-content .table-of-contents ul > li::before {
  content: "○"; /* 元の白丸を擬似要素で再現 */
  color: var(--text-sub);
  font-size: 0.6em; /* サイズ */
  position: absolute;
  left: 0;
  top: 0;
}

/* --- 見出し (H3, H4, H5) --- */
.entry-content h3 {
  position: relative;
  margin-left: -7px;
  padding: 0.8em 0.6em;
  font-weight: bold;
  color: var(--text-main);
  background-color: var(--bg-gray);
  background: linear-gradient(to right, rgba(73, 190, 183, 0.5) 30%, rgba(232, 49, 125, 0.5) 100%);
}
.entry-content h3::before,
.entry-content h3::after {
  content: "";
  position: absolute;
  display: inline-block;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-main);
}
.entry-content h3::before { top: 0; }
.entry-content h3::after { bottom: 0; }

.entry-content h4 {
  position: relative;
  margin-left: -7px;
  padding: 0.6em 0.3em;
  font-weight: bold;
  color: var(--text-main);
  border-left: 4px solid var(--color-cyan);
}
.entry-content h4::after {
  content: "";
  position: absolute;
  display: inline-block;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-main);
}

.entry-content h5 {
  padding: 0.3em;
  font-weight: bold;
  color: var(--text-main);
  border-left: 2px solid var(--color-cyan);
}

/* --- 文字装飾（過去記事互換用） --- */
span.yellowli { background: linear-gradient(transparent 60%, #facf5a 60%); }
span.bluefo { font-size: 120%; color: #68BBB6; font-weight: normal; }
span.redfo { font-size: 120%; color: var(--color-pink); font-weight: normal; }

/* --- 画像レイアウト調整（過去記事互換用） --- */
.disp-block-2 { display: block; }
img.blockcenter-2 { margin-left: 0; }
img[class="hatena-fotolife disp-block-2 blockcenter-2"] { width: 100%; height: auto; }


/* =========================================================
   6. 特定ページ（トップ・アーカイブ）の表示制御
========================================================= */

/* トップページ：コメント欄を非表示 */
.page-index .comment-box {
  display: none; 
}

/* 記事一覧：タグ（外部用）を非表示 */
.page-archive .archive-entry-tags-wrapper,
.page-archive-category .archive-entry-tags-wrapper {
  display: none;
}