/* <system section="theme" selected="8599973812270629022"> */
@charset "utf-8";
@import url("//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css");
/*
Theme: Minimalism
Author: Codomisu
Description:
最小限のデザインで最大限の「美」を引き出す


※未だにコードを整理していない　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 */
html,
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック  Medium', meiryo, sans-serif;
  color: #3f3f3f;
  background-color: #ffffff;
}
a {
  color: #1487bd;
}
a:visited {
  color: #789dae;
}
a:hover {
  color: #0f5373;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
h1 a:hover,
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: #333333;
  text-decoration: none;
}
a.keyword {
  text-decoration: none;
  border-bottom: 1px dotted #ECEEF1;
  color: #3f3f3f;
}
/* Buttons */
.btn {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 4px 10px 4px;
  margin-bottom: 0;
  line-height: 18px;
  color: #3f3f3f;
  background-color: #ffffff;
  text-align: center;
  vertical-align: middle;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-radius: 2px;
  background-clip: padding-box;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none ;
}
.btn:hover {
  background-color: #f5f5f5;
  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;
}
/* ヘッダ（グローバルヘッダ）
グローバルヘッダの中はiframeですが、
#globalheader-container に背景色や文字色を指定することでiframeの中にも色が反映されます。
*/
#globalheader-container {
  background-color: #333;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
/* container */
#container {
  width: 1140px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  padding-top: 37px;
}
#container #content {
  display: block;
  *zoom: 1;
}
#container #content:after {
  display: block;
  visibility: hidden;
  font-size: 0;
  height: 0;
  clear: both;
  content: ".";
}
.globalheader-off #container {
  padding-top: 0;
}
/* 2カラムレイアウト */
#main {
  width: 640px;
  float: left;
}
#box2 {
  width: 290px;
  float: right;
}
/* 1カラムにしたい場合は下記のコメントアウトを外してください ----

#main {
width: 100%;
float: none;
}

#box2 {
width: 100%;
float: none;
}

#box2-inner {
width: 960px;
.clearfix;
overflow: hidden;
}

.hatena-module {
text-align: left;
padding-right: 20px;
width: 300px;
float: left;

&:nth-child(3n+1) {
clear: both;
}
}

---- END 1カラム */
/* header */
#blog-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
  text-align: center;
  margin: 0;
  padding: 50px 0;
}
#title {
  margin: 0;
}
#title a {
  color: #3f3f3f;
}
#blog-description {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
  font-weight: normal;
  font-size: 80%;
  margin: 5px 0 0 0;
}
/* ヘッダ画像を設定したとき */
.header-image-enable #title {
  padding-top: 70px;
}
.header-image-enable #title,
.header-image-enable #blog-description {
  padding-left: 20px;
}
/* パンくず（カテゴリーページで表示されます） */
#top-box {
  margin: 10px auto 20px;
  font-size: 90%;
}
#top-box .breadcrumb {
  border-top: 1px solid #ECEEF1;
  border-bottom: 1px solid #ECEEF1;
  padding: 10px;
}
/* entry */
.entry {
  position: relative;
  margin-bottom: 50px;
}
.entry-header {
  padding: 15px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #ECEEF1;
  position: relative;
}
.entry-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 35px;
  margin: 15px 0 20px;
}
/* 日付 */
.date {
  font-weight: 600;
  margin-bottom: 15px;
}
.date a {
  color: #1487bd;
  text-decoration: none;
  font-size: 90%;
}
/* カテゴリ */
.categories {
  margin-top: 10px;
  font-size: 80%;
}
.categories a {
  color: #3f3f3f;
}
.categories.no-categories {
  margin: 0;
}
/* 「編集する」ボタン */
.entry-header-menu {
  position: absolute;
  bottom: 0px;
  left: -60px;
}
.entry-header-menu a {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 4px 10px 4px;
  margin-bottom: 0;
  line-height: 18px;
  color: #3f3f3f;
  background-color: #ffffff;
  text-align: center;
  vertical-align: middle;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-radius: 2px;
  background-clip: padding-box;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none ;
}
.entry-header-menu a:hover {
  background-color: #f5f5f5;
  text-decoration: none ;
}
/* entry-content の中の書式 */
.entry-content {
  font-size: 15px;
  line-height: 34px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ECEEF1;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
}
.entry-content p {
  margin: 0 0 1em 0;
}
.entry-content img {
  max-width: 100%;
}
.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.5;
}
.entry-content h1 {
  font-size: 160%;
}
.entry-content h2 {
  font-size: 150%;
}
.entry-content h3 {
  font-size: 140%;
}
.entry-content h4 {
  font-size: 130%;
}
.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: #f5f5f5;
}
.entry-content blockquote {
  border: 1px solid #ECEEF1;
  margin: 0 0 10px;
  padding: 20px;
}
.entry-content blockquote p {
  margin-top: 0;
  margin-bottom: 0;
}
.entry-content pre {
  border: 1px solid #ECEEF1;
  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 .hatena-asin-detail li {
  line-height: 1.4;
}
/* entry-footer */
.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;
}
/* コメント */
.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 #ECEEF1;
  position: relative;
}
.comment-box li:first-child {
  border-top: 1px solid #ECEEF1;
}
.comment-box .read-more-comments {
  padding-left: 0;
}
.comment-box .hatena-id-icon {
  position: absolute;
  top: 10px;
  left: 0;
  width: 50px ;
  height: 50px ;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-radius: 3px;
  background-clip: padding-box;
}
.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;
}
.leave-comment-title {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 4px 10px 4px;
  margin-bottom: 0;
  line-height: 18px;
  color: #3f3f3f;
  background-color: #ffffff;
  text-align: center;
  vertical-align: middle;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-radius: 2px;
  background-clip: padding-box;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none ;
}
.leave-comment-title:hover {
  background-color: #f5f5f5;
  text-decoration: none ;
}
/* sidebar */
#box2 {
  font-size: 85%;
  line-height: 1.5;
}
.hatena-module {
  margin-bottom: 60px;
}
.hatena-module-title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 120%;
  padding:0 0 5px 5px;
  border-bottom: 1px solid #ECEEF1;
}
.hatena-module-title a {
  color: #3f3f3f;
  text-decoration: none;
}
.hatena-module-title a:hover {
  text-decoration: underline;
}
/* Profile module */
.hatena-module-profile .profile-icon {
  float: left;
  margin: 0 10px 10px 0;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-radius: 5px;
  background-clip: padding-box;
}
.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;
}
/* urllist module
リンク・最新記事・最近のコメント・月別アーカイブ・カテゴリモジュールは .hatena-urllist という共通の class が振られます
*/
.hatena-urllist {
  list-style: none;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}
.hatena-urllist li {
  padding: 8px 0;
  border-bottom: 1px solid #ECEEF1;
  line-height: 1.5;
}
.hatena-urllist li a {
  text-decoration: none;
}
/* Search module */
.hatena-module-search-box .search-form {
  border: 1px solid #ECEEF1;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-radius: 3px;
  background-clip: padding-box;
  width: 100%;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}
.hatena-module-search-box .search-module-input {
  padding: 10px 10px;
  color: #3f3f3f;
  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=4d776f2b7a248fe0227f52f5e9d786) 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;
}
/* Pager */
.pager {
  margin: 1em 0;
  display: block;
  *zoom: 1;
}
.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%;
}
/* Footer */
#footer {
  padding: 30px 0;
  text-align: center;
  color: #999999;
  line-height: 1.5;
  font-size: 80%;
}
#footer p {
  margin: 0;
}
#footer a {
  color: #999999;
}
/* 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;
}
/* archive ページ */
.page-archive .archive-entries .archive-entry {
  margin-bottom: 3em;
}
.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: 13px;
  line-height: 25px;
}
.page-archive .categories a {
  color: #3f3f3f;
  text-decoration: none;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  margin-bottom:5px;
}

.shrbtn{
  padding:0;
  margin:15px 0;
  width: 100%;
  background:#ECEEF1;
  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:#3f3f3f;
  border:1px solid #ECEEF1;
  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:#3f3f3f;
}

.share_btn .fa {line-height:40px}


/* ### スライドメニュー ### */
#gnav {
  border-top: 1px solid #ECEEF1;
  border-bottom: 1px solid #ECEEF1;
  margin: 0 0 10px;
  background: #ffffff;
  font-size: 0;
  padding: 0 0 0;
}

#gnav .menu a {
  display: block;
  color: #3f3f3f;
  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-left: auto;
  margin-right: auto;

}

#top-editarea{
  margin-bottom: 15px;
}

.id a{
  color: #3f3f3f;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
}


.hatena-module-profile .profile-description {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
}

.table-of-contents {
  position: relative;
  background-color: #fafafa;
  border:1px solid #ECEEF1;
  padding: 60px 70px 25px;
  border-radius: 0;
  font-size: 14px;
  line-height: 28px;
}


.table-of-contents::before {
  position: absolute;
  display: block;
  text-align: center;
  top: 15px;
  left: 50%;
  margin-left: -1em;
  font-size: 20px;
  font-weight: 700;
  content: '目次';
  z-index: 2;
}


.table-of-contents li a {
  text-decoration: none;
  line-height: 35px;
  color:#3f3f3f;
}

.archive-header-category{
  margin-bottom:25px;
}

.archive-heading{
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
  border-bottom:1px solid #ECEEF1;
  font-weight: 600;
  font-size: 21px;
  line-height: 35px;
  padding-bottom:5px;
  margin-bottom:25px;
}

.footer{
  background:#3f3f3f;
  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;
}

.categories a{
  color: #3f3f3f;
  text-decoration: none;
  padding: 4px 0;
  border-radius: 0;
  font-size:13px;
  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;
}

/*  import media queries */
/* Media Queries - Retina Display */
@media screen and (min-width: 1139px){

  #blog-title #title{
    font-size: 37px;
    line-height: 60px;
    font-weight:500;
  }

  .hatena-module-search-box .search-module-button {
    background: transparent url(https://cdn.blog.st-hatena.com/images/theme/search@2x.png?version=4d776f2b7a248fe0227f52f5e9d786) no-repeat right center;
    background-size: 20px 20px;
  }
  #container {
    border-right: 1px solid #ECEEF1;
    border-left: 1px solid #ECEEF1;
  }
  #content{
    margin: 35px 55px;
  }
  .breadcrumb-inner{
    margin: 0 5%;
  }
  .date a {
    color: #3f3f3f;
    text-decoration: none;
    font-size: 15px;
    padding: 1px;
  }
  .date {
    font-weight: 500;
    margin-bottom: 5px;
  }

  .date:before {
    font-family: FontAwesome;
    content: "\f272";
    left: 0;
    font-size: 95%;
    top: 0;
    color: #3f3f3f;
  }

  .page-archive .entry-thumb {
    border-radius: 5px;
    margin-right: 20px;
  }

  #box2 .urllist-image {
    border-radius: 5px;
    margin-right: 15px;
  }

  .urllist-date-link time {
    color: #3f3f3f;
    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: #3f3f3f;
  }


  .shrbtn{
    background:none;
  }

  #box2{
    margin-top: 15px;
  }

  .page-archive .archive-entries .entry-title {
    margin-top:10px;
    font-size: 19px;
  }

  .hatena-urllist li a {
    font-size: 13px;
    line-height: 25px;
    color:#3f3f3f;
  }
  #gnav .menu a {
    padding: 0 15px;
  }
}
/* Media Queries - Tablet */
@media screen and (max-width: 1138px){
  #gnav .menu{
    margin-right:20px;
  }
  #gnav .menu a{
    font-size: 12px;
  }
  #container {
    width: 100% ;
    word-wrap: break-word;
    overflow: hidden;
    padding-top: 0;
  }
  #main {
    width: 93.75% ;
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  #box2 {
    width: 93.75% ;
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  #box2-inner {
    width: 100% ;
  }
  .hatena-module {
    width: 100%;
    float: none;
  }
  .date a {
    color: #3f3f3f;
    text-decoration: none;
    font-size: 15px;
    padding: 1px;
  }
  .date {
    font-weight: 500;
    margin-bottom: 5px;
  }

  .date:before {
    font-family: FontAwesome;
    content: "\f272";
    left: 0;
    font-size: 18px;
    top: 0;
    color: #3f3f3f;
  }

  .page-archive .entry-thumb {
    border-radius: 5px;
  }
  #box2 .urllist-image {
    border-radius: 5px;
  }

  .urllist-date-link time {
    color: #3f3f3f;
    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: #3f3f3f;
  }
  .shrbtn{
    background:none ;
  }
.
  .hatena-urllist li a {
    color:#3f3f3f;
  }
  .entry .entry-title{
    font-size: 22px;
  }
  .categories a{
    color: #3f3f3f;
    text-decoration: none;
    padding: 2px 7px;
    border-radius: 2px;
    margin: 0 2px;
  }
  .page-archive .archive-entries .entry-title {
    font-size: 18px;
  }

}
/* Media Queries - Small Tablet & Smartphone */
@media screen and (max-width:640px){
  #globalheader-container {
    position: static;
  }
  #blog-title #title{
    font-size: 30px;
    font-weight:500;
    font-family: 'Nunito', sans-serif;
  }
  #blog-description {
    font-size:11px;
  }
  #container {
    width: 100%;
    word-wrap: break-word;
    overflow: hidden;
    padding-top: 0;
  }
  #main {
    width: 93.75%;
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  #box2 {
    width: 93.75%
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  #box2-inner {
    width: 100%;
  }
  .hatena-module {
    width: 100%;
    float: none;
  }
  .entry-header-menu {
    top: -30px;
    left: 0px;
  }
  .archive-entry-header{
    width : -webkit-calc(100% -90px);
    width: calc(100% - 90px);
    float: right;
  }
  .page-archive .archive-entries .entry-title {
    font-size:14px;
    line-height: 25px;
    font-weight: 400;
    margin:0;
  }
  .archive-entries .entry-description{
    font-size:11px;
    display:none;
  }
  .page-archive .entry-thumb {
    width: 75px;
    height: 75px;
    border: 1px solid #ECEEF1;
    background-size: 100%;
    float:left;
    border-radius: 3px;
  }

  .page-archive .categories{
    display: none;
  }

  .page-archive .archive-entries .archive-entry {
    margin-bottom: 0;
    padding: 17px 0;
    border-bottom: 1px solid #ECEEF1;
}
  .date a {
    color: #3f3f3f;
    text-decoration: none;
    font-size: 12px;
    padding: 1px;
  }
  .date {
    font-weight: 500;
    margin-bottom: 5px;
  }

  .date:before {
    font-family: FontAwesome;
    content: "\f272";
    left: 0;
    font-size: 95%;
    top: 0;
    color: #3f3f3f;
  }

  .page-archive .social-buttons{
    display: none;
  }

  #blog-title {
    text-align: center;
    padding: 35px 0 35px;
    margin:0;
  }

  .entry .entry-title{
    font-size: 18px;
    line-height: 30px;
    margin: 10px 0 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
  }

  .entry .entry-header{
    padding: 10px 0 10px 0;
    border:none;
  }

  .table-of-contents {
    position: relative;
    background-color: #fafafa;
    border:1px solid #ECEEF1;
    padding: 60px 45px 25px;
    border-radius: 0;
    font-size: 14px;
    line-height: 28px;
  }

  #box2 .urllist-image {
    max-width: 100%;
    width: 75px;
    border-radius: 5px;
    margin-right: 10px;
    border: 1px solid #ECEEF1;
    height: 75px;
  }
  .hatena-urllist li{
    padding: 10px 0 0px;
  }

  .hatena-urllist li a {
    font-size: 13px ;
    line-height: 20px;
    font-weight: 500;
    color: #3f3f3f;
    text-decoration: none;
  }

  .archive-module-year{
    border:none ;
  }

  .urllist-date-link time {
    color: #3f3f3f;
    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: #3f3f3f;
  }
  .archive-entries{
    margin:0 0 40px;
  }

  .id a{
    font-weight: normal;
    text-decoration: none;
    color: #3f3f3f;
  }

  .entry-content {
    font-size: 14px;
  }
  .hatena-module {
    margin-bottom: 40px;
  }
  .urllist-image{
    width: 70px;
    border-radius: 5px;
  }
  .related-entries .related-entries-entry-body{
    display: none;
  }
  .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 #ECEEF1;
    background: #fafafa;
    color: #3f3f3f;
  }
  .pager-permalink{
    display:none;
  }
}
/* Media Queries - Smartphone */

/* </system> */

/* フォント（日本語） */
@font-face {
 src: local("Noto Sans CJK JP"), url(https://dl.dropboxusercontent.com/s/wqvw5f1g5q0ba2t/fontR.woff) format("woff"), url(https://dl.dropboxusercontent.com/s/nzi94mmwkv8ha7e/fontR.woff2) format("woff2");
 font-family: "gothicF";
 font-style: normal;
 font-weight: normal;
 font-display: swap;
}

@font-face {
 src: url(https://dl.dropboxusercontent.com/s/a603dn8h52lqvkg/fontB.woff) format("woff"), url(https://dl.dropboxusercontent.com/s/yni8ckiywnwvrih/fontB.woff2) format("woff2");
 font-family: "gothicF";
 font-style: normal;
 font-weight: bold;
 font-display: swap;
}

html, body, .entry-title, .entry-content, .archive-heading {
 font-family: "gothicF", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
}

/* 変数 */
:root {
 --lr_vw: 8vw;
 --g1: #0f996b;
 --g2: #7ee58b;
 --gradation: linear-gradient(to top left,var(--g1), var(--g2));
 --btn_gradation: linear-gradient(to right, var(--g2), var(--g1));
 --b1: #333333;
 --b2: #555555;
 --b3: #888888;
 --wh: #ffffff;
 --gr1: #f2f2f2;
 --gr2: #d8d8d8;
 --gr3: #b8b8b8;
 --maru: 5px;
 --top_h: 60px;
 --anime: 0.4s;
 --cw1: min(100% - var(--lr_vw), 1200px);
 --cw2: min(100% - var(--lr_vw), 600px);
}

/* ページ */
html {
 font-size: 17px;
}

body {
 color: var(--b1);
 line-height: 1.8;
 letter-spacing: 0.05em;
 background-color: var(--wh);
 animation: fade-in 1s ease-out 0s 1 normal;
}

@keyframes fade-in {
 0% {opacity: 0;}
 100% {opacity: 1;}
}

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

a {
 text-decoration: none;
}

a:visited, a:visited::before, a:visited::after {
 color: inherit;
}

img {
 display: block;
 max-width: 100%;
 height: auto;
 margin: 0 auto;
}

/* ページ全体 */
#container {
 width: 100%;
 border: none;
 padding: 0;
}

#content {
 margin: 0;
}

#main {
 float: none;
 position: relative;
 margin-inline: auto;
 z-index: 20;
}

.entry {
 margin-bottom: 60px;
}

/* アイコンフォント */
.social_btn::before, .follow_btn span::before {
 line-height: 1;
 top: calc(50% + 0.1em);
}

/* 読者になる */
.follow_btn {
 position: relative;
 display: flex;
 justify-content: center;
 align-items: center;
 width: 100%;
 height: 60px;
 background: var(--btn_gradation);
 border-radius: 60px;
 padding-inline: calc(0.9rem + 5px);
 overflow: hidden;
}

.follow_btn::before {
 content: "";
 position: absolute;
 width: 100%;
 height: 100%;
 background-color: var(--g2);
 top: 0;
 left: 0;
 opacity: 0;
 transition: opacity var(--anime);
}

.follow_btn span {
 position: relative;
 color: #ffffff;
 font-size: 0.9rem;
 font-weight: bold;
 letter-spacing: 0.1em;
 padding-left: 8px;
 z-index: 30;
}

.follow_btn span::before {
 content: "\f048";
 position: absolute;
 font-size: 1.2em;
 left: -1em;
 translate: 0 -50%;
}

@keyframes heart {
 0% {
  scale: 1;
 }
 15% {
  scale: 1.2;
  rotate: 0deg;
 }
 25% {
  rotate: 0deg;
 }
 40% {
  rotate: -20deg;
 }
 60% {
  rotate: 20deg;
 }
 75% {
  rotate: 0deg;
 }
 85% {
  scale: 1.2;
 }
 100% {
  scale: 1;
 }
}

/* ソーシャルボタン */
.social {
 display: flex;
 gap: 10px;
}

.social_btn {
 position: relative;
 width: 2.5rem;
 aspect-ratio: 1 / 1;
 border: solid 1px var(--gr2);
 border-radius: 50%;
 color: var(--b3);
}

.social_btn::before, .social_btn svg {
 position: absolute;
 left: 50%;
 translate: -50% -50%;
 transition-property: color, fill;
 transition-duration: var(--anime);
}

.social_btn svg {
 fill: var(--b3);
 width: auto;
 height: 1rem;
 top: 50%;
}

.social_btn:hover {
 color: var(--b3);
}

.social_btn::before {
 font-size: 1.2rem;
}

.social_instagram::before {
 content: "\f71b";
}

.social_github::before {
 content: "\f717";
}

.social_pixiv::before {
 content: "\f718";
}

.social_feed::before {
 content: "\f04e";
}

/* プラス */
.plus::before,
.plus::after,
:is(.page-index, .page-archive) .entry-thumb-link::before,
:is(.page-index, .page-archive) .entry-thumb-link::after {
 content: "";
 position: absolute;
 border-radius: 4px;
 top: 50%;
 left: 50%;
 translate: -50% -50%;
 transition: all var(--anime);
}

.plus::before, :is(.page-index, .page-archive) .entry-thumb-link::before {
 width: 20px;
 height: 4px;
}

.plus::after, :is(.page-index, .page-archive) .entry-thumb-link::after {
 width: 4px;
 height: 20px;
}

/* 記事へのリンクボタン */
.link-btn {
 position: relative;
 display: flex;
 justify-content: center;
 align-items: center;
 width: min(100%, 300px);
 height: 60px;
 margin-top: 30px;
 border-radius: 60px;
 box-shadow: 0 0 0 1px var(--gr2) inset;
 overflow: hidden;
 transition: box-shadow var(--anime);
}

.link-btn p {
 color: var(--b2);
 font-size: 1rem;
 margin: 0;
 transition: color var(--anime);
 z-index: 20;
}

.link-btn::before {
 content: "";
 position: absolute;
 width: 100%;
 height: 100%;
 background: var(--btn_gradation);
 top: 0;
 left: 0;
 opacity: 0;
 transition: opacity var(--anime);
 z-index: 10;
}

.link-btn::after {
 content: "";
 position: absolute;
 width: 0.4em;
 aspect-ratio: 1 / 1;
 border: solid 2px var(--b2);
 border-left: none;
 border-bottom: none;
 right: 30px;
 top: 50%;
 translate: 0 -50%;
 rotate: 45deg;
 transition: border-color var(--anime);
 z-index: 20;
}

/* カード */
:is(.page-index, .page-archive) #main {
 width: 100%;
}

:is(.page-index, .page-archive) #main-inner {
 width: var(--cw1);
 margin: 0 auto;
}

.page-index #main-inner {
 padding: 120px 0 0;
}

.archive-entries {
 display: grid;
 gap: 60px;
 grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
 margin-bottom: 120px;
}

:is(.page-index, .page-archive) .archive-entry {
 display: flex;
 flex-direction: column;
 border: none !important;
 margin: 0 !important;
 padding: 0 !important;
}

/* カード（記事タイトル・日付） */
:is(.page-index, .page-archive) .archive-entry-header {
 position: relative;
 width: 100%;
 height: 100%;
 font-size: 1rem;
 float: none;
 order: 2;
 -webkit-box-ordinal-group: 2;
}

:is(.page-index, .page-archive) .date {
 position: absolute;
 line-height: 1;
 margin: 1.4rem 0 0;
}

:is(.page-index, .page-archive) .date a {
 position: relative;
 display: block;
 color: var(--gr3);
 font-size: 0.7rem;
 letter-spacing: 0.15em;
 padding: 0;
 z-index: 10;
}

.date::before {
 content: none;
}

:is(.page-index, .page-archive) .archive-entry-header .entry-title {
 height: 100%;
 margin: 0;
}

:is(.page-index, .page-archive) .entry-title-link {
 display: block;
 height: 100%;
 padding-top: 2.8rem;
 color: var(--b1);
 font-size: 1rem;
 font-weight: bold;
 line-height: 1.6;
 transition: color var(--anime);
}

/* カード（アイキャッチ） */
:is(.page-index, .page-archive) .entry-thumb-link {
 position: relative;
}

:is(.page-index, .page-archive) .entry-thumb-link::before,
:is(.page-index, .page-archive) .entry-thumb-link::after {
 background-color: #fff;
 opacity: 0;
 z-index: 20;
}

:is(.page-index, .page-archive) .entry-thumb {
 position: relative;
 float: none;
 width: 100%;
 height: 100%;
 aspect-ratio: 1 / 1;
 border-radius: var(--maru);
 border: none;
 margin: 0;
 order: 1;
 -webkit-box-ordinal-group: 1;
 z-index: 10;
}

:is(.page-index, .page-archive) .entry-thumb::before {
 content: "";
 position: absolute;
 width: 100%;
 height: 100%;
 background-color: #000;
 border-radius: var(--maru);
 top: 0;
 left: 0;
 opacity: 0;
 transition: opacity var(--anime);
}

/* カード（非表示） */
.archive-entry-body, .page-index .archive-entries .categories, .page-archive .archive-entries .categories, .page-index .entry-description, .page-archive .entry-description, .page-index .star-container, .page-archive .star-container {
 display: none;
}

/* ページャー（トップ） */
.pager::after {
 content: none;
}

:is(.page-index, .page-archive, .page-category) .pager {
 margin: 0 0 -20px;
}

:is(.page-index, .page-archive, .page-category) .pager-next,
:is(.page-index, .page-archive, .page-category) .pager-prev {
 float: none;
 display: block;
 width: min(calc(6em + 40px), 100%);
 margin: 0 auto;
 font-size: 0.9rem;
}

:is(.page-index, .page-archive, .page-category) .pager-next a,
:is(.page-index, .page-archive, .page-category) .pager-prev a {
 position: relative;
 display: flex;
 align-items: center;
 height: 40px;
 color: var(--b2);
 line-height: 1;
 border: none;
 background: none;
 padding: 0;
}

:is(.page-index, .page-archive, .page-category) .pager-prev a {
 justify-content: flex-end;
}

:is(.page-index, .page-archive, .page-category) .pager-next a::before,
:is(.page-index, .page-archive, .page-category) .pager-prev a::before {
 content: "";
 position: absolute;
 height: 100%;
 aspect-ratio: 1 / 1;
 border: solid 1px var(--b2);
 border-radius: 50%;
 top: 50%;
 translate: 0 -50%;
 transition: background-color var(--anime);
}

:is(.page-index, .page-archive, .page-category) .pager-next a::before {
 right: 0;
}

:is(.page-index, .page-archive, .page-category) .pager-prev a::before {
 left: 0;
}

:is(.page-index, .page-archive, .page-category) .pager-next a::after,
:is(.page-index, .page-archive, .page-category) .pager-prev a::after {
 content: "";
 position: absolute;
 width: 8px;
 height: 8px;
 border-top: solid 2px var(--b2);
 border-right: solid 2px var(--b2);
 top: 50%;
 translate: 0 -50%;
 transition: border-color var(--anime);
}

:is(.page-index, .page-archive, .page-category) .pager-next a::after {
 right: 18px;
 rotate: 45deg;
}

:is(.page-index, .page-archive, .page-category) .pager-prev a::after {
 left: 18px;
 rotate: -135deg;
}

/* パンくずリスト */
#top-box {
 position: relative;
 margin: 0;
 padding: calc(var(--top_h) * 2 + 20px) 0 30px;
}

.breadcrumb {
 width: var(--cw2);
 border: 0 !important;
 padding: 0 !important;
 margin: 0 auto !important;
}

.breadcrumb-inner {
 display: flex;
 gap: 10px;
 justify-content: center;
 color: var(--b3);
 font-size: 0.8rem;
 white-space: nowrap;
}

.breadcrumb-inner a {
 transition: color var(--anime);
}

.breadcrumb-link {
 color: var(--b3);
}

.breadcrumb-link, .breadcrumb-child {
 display: block;
}

span.breadcrumb-child > a {
 color: inherit;
}

.breadcrumb-child > a, .breadcrumb-child > span {
 margin-left: 10px;
}

.breadcrumb-child::before {
 content: "";
 display: inline-block;
 width: 0.5em;
 height: 0.5em;
 margin-bottom: 1px;
 border-top: solid 1px var(--gr3);
 border-right: solid 1px var(--gr3);
 rotate: 45deg;
}

.breadcrumb-child:last-child {
 color: var(--gr3);
 text-overflow: ellipsis;
 overflow: hidden;
}

.breadcrumb-gt {
 display: none;
}

/* パンくずリスト（三点） */
#top-box::before, #top-box::after, #top-box .breadcrumb::before {
 content: "";
 position: absolute;
 width: 4px;
 aspect-ratio: 1 / 1;
 background-color: var(--gr2);
 border-radius: 50%;
 bottom: 0;
 translate: -50% 0;
}

#top-box::before {
 left: calc(50% - 8px);
}

#top-box::after {
 left: calc(50% + 8px);
}

#top-box .breadcrumb::before {
 left: 50%;
}

/* 記事ページ */
:is(.page-entry, .static-page-privacypolicy, .page-archive-category-name) #main {
 width: var(--cw2);
}

:is(.page-entry, .page-archive-category-name) #main {
 margin-block: 120px 0;
}

.static-page-privacypolicy #main {
 margin-block: calc(var(--top_h) * 3) 0;
}

.static-page-privacypolicy .entry {
 margin-bottom: 120px;
}

.entry-content {
 padding-bottom: 0;
}

.entry-header, .entry-content {
 border: none;
}

.entry-header {
 padding: 0 !important;
 margin-bottom: 40px;
}

/* 記事ページ（日付） */
.entry-date.first {
 margin: 0;
}

.entry-date.first a {
 color: var(--gr3);
 font-size: 0.8rem;
 letter-spacing: 0.15em;
}

/* 記事ページ（記事タイトル） */
:is(.page-entry, .static-page-oberonia, .static-page-privacypolicy) .entry-title {
 font-size: 2rem;
 line-height: 1.6;
 padding: 0;
}

.page-entry .entry-title {
 margin: 5px 0 20px;
}

.static-page-privacypolicy .entry-title {
 margin: 0 0 40px;
}

.entry-title-link {
 color: var(--b1) !important;
}

/* 記事ページ（カテゴリー） */
.categories {
 display: flex;
 flex-wrap: wrap;
 gap: 5px;
 margin: 0;
}

.categories a {
 margin: 0;
 padding: 0.4em 0.8em;
 border: solid 1px var(--gr2);
 border-radius: var(--maru);
 font-size: 0.8rem;
 color: var(--b3) !important;
 transition: border-color var(--anime);
}

.categories a::before {
 content: none;
}

/* 記事ページ（本文） */
.entry-content p:not(.content-img-grid-t, .kome, .listbox-p, .chara-fuki, .chara-fuki2, .chara-fuki3, .chara-fuki-about, .about_title_area p, .link-btn p, .no-entry p) {
 color: var(--b2);
 font-size: 1.2rem;
 line-height: 2;
}

.entry-content strong {
 font-weight: bold !important;
}

/* 記事ページ（目次） */
.table-of-contents {
 width: 100%;
 margin: 20px 0;
 background-color: var(--gr1);
 border: none;
 border-radius: var(--maru);
 padding: 30px;
}

.table-of-contents::before {
 position: relative;
 content: "CONTENTS";
 margin: 0 0 15px;
 color: var(--gr3);
 font-size: 0.8rem;
 letter-spacing: 0.15em;
 line-height: 1.6;
 top: initial;
 left: initial;
}

.table-of-contents li {
 list-style-type: none !important;
 border-top: solid 1px var(--gr2);
}

.table-of-contents li:last-child {
 border-bottom: solid 1px var(--gr2);
}

.table-of-contents a {
 position: relative;
 display: block;
 color: var(--b3) !important;
 font-size: 0.9rem;
 line-height: 1.6 !important;
 padding: 10px 0 10px 1.2em;
 transition: opacity var(--anime);
}

.table-of-contents a::before {
 content: "";
 position: absolute;
 width: 0.4em;
 aspect-ratio: 1 / 1;
 border-right: solid 2px var(--b3);
 border-bottom: solid 2px var(--b3);
 left: 0;
 top: calc(50% - 0.05em);
 translate: 0 -50%;
 rotate: 45deg;
}

/* 記事ページ（目次 / h2のみ表示） */
.table-of-contents ul li, .table-of-contents li ul {
 display: none !important;
}

/* 記事ページ（※） */
.entry-content .kome {
 color: var(--b3);
 font-size: 0.9rem;
 line-height: 1.6;
 text-indent: -1em;
 padding-left: 1em;
}

/* 記事ページ（記事紹介） */
.entry-content .entry-pickup {
 background-color: var(--gr1);
 padding: 30px;
 margin-bottom: 20px;
}

.entry-content .entry-pickup p:first-child {
 display: flex;
 gap: 5px;
 justify-content: center;
 align-items: center;
 background-color: var(--wh);
 border-radius: var(--maru);
 padding: 10px;
 margin-bottom: 10px;
 font-size: 1rem;
 font-weight: bold;
 line-height: 1.6;
}

.entry-content .entry-pickup p:first-child::before {
 content: "\f029";
 position: relative;
 color: var(--g1);
 line-height: 1;
 top: 0.1em;
}

.embed-blogcard {
 margin: 0 !important;
}

.hatena-citation {
 font-size: 0.8rem;
 opacity: 1;
}

/* 記事ページ（リンク） */
.entry-content p a {
 color: var(--gr3);
 text-decoration: none;
}

/* 記事ページ（画像） */
:is(.entry-content) .content-img-grid1, .content-img-grid2, .content-img-grid3 {
 display: grid;
 gap: 20px;
}

.entry-content .content-img-grid1 {
 grid-template-columns: 1fr;
}

.entry-content .content-img-grid2, .content-img-grid3 {
 grid-template-columns: 1fr 1fr;
}

.entry-content .content-img-grid-t {
 color: var(--b3);
 font-size: 0.9rem;
 line-height: 1.6;
 margin-bottom: 5px;
}

/* 記事（ボックス） */
.listbox-p, .listbox-u, .listbox-o {
 margin: 0 0 1em;
 padding: 30px;
 background-color: var(--gr1);
 border: solid 1px var(--gr2);
}

.listbox-u, .listbox-o {
 list-style: none;
}

.listbox-p, .listbox-u > li, .listbox-o > li {
 color: var(--b2);
 font-size: 1.1rem;
 line-height: 1.6;
}

.listbox-u > li {
 padding: 0 0 15px 1em;
 text-indent: -1em;
}

.listbox-o > li {
 padding: 0 0 30px 1.3em;
 text-indent: -1.3em;
}

.listbox-u > li:last-child, .listbox-o > li:last-child {
 padding-bottom: 0;
}

.listbox-u > li::before {
 content: "・";
}

.listbox-o {
 counter-reset: nb;
}

.listbox-o > li::before {
 counter-increment: nb;
 content: counter(nb)".";
 margin-right: 0.3em;
}

/* 記事ページ（h2） */
:is(.page-entry, .static-page-privacypolicy) .entry-content h2 {
 position: relative;
 font-size: 1.8rem;
 margin: 60px 0 30px;
 padding-left: 1em;
}

:is(.page-entry, .static-page-privacypolicy) .entry-content h2::before,
:is(.page-entry, .static-page-privacypolicy) .entry-content h2::after {
 content: "";
 position: absolute;
 background-color: var(--g1);
 border-radius: 50%;
}

:is(.page-entry, .static-page-privacypolicy) .entry-content h2::before {
 width: 0.5em;
 height: 0.5em;
 top: 0;
 left: 0;
}

:is(.page-entry, .static-page-privacypolicy) .entry-content h2::after {
 width: 0.25em;
 height: 0.25em;
 top: 0.45em;
 left: 0.45em;
}

/* 記事ページ（h3） */
.page-entry .entry-content h3 {
 position: relative;
 font-size: 1.6rem;
 margin: 40px 0 20px;
 padding-bottom: 5px;
 border-bottom: solid 4px var(--gr1);
}

.page-entry .entry-content h3::after {
 content: "";
 position: absolute;
 width: max(15%, 50px);
 height: 4px;
 background-color: var(--g1);
 bottom: -4px;
 left: 0;
}

/* 記事ページ（表） */
.page-entry .contents_table,
.page-entry .contents_table_simple {
 font-size: 1rem;
}

.page-entry .contents_table_sp {
 display: none;
}

.contents_table,
.contents_table_sp,
.contents_table_simple {
 width: 100%;
 color: var(--b2);
 line-height: 1.6;
}

.contents_table tr,
.contents_table_sp tr,
.contents_table_simple tr {
 padding: 0;
}

.contents_table th,
.contents_table_sp th,
.contents_table_simple th {
 font-weight: normal;
 background-color: var(--gr1) !important;
}

.contents_table th,
.contents_table td,
.contents_table_sp th,
.contents_table_sp td,
.contents_table_simple th,
.contents_table_simple td {
 padding: 10px !important;
 border-color: var(--gr2) !important;
}

.contents_table ul,
.contents_table_sp ul,
.contents_table_simple ul {
 list-style: none;
 padding: 0;
 margin: 0;
}

.contents_table li,
.contents_table_sp li,
.contents_table_simple li {
 padding-left: 1em;
 text-indent: -1em;
}

.contents_table li::before,
.contents_table_sp li::before,
.contents_table_simple li::before {
 content: "・";
}

/* 記事ページ（フキダシ） */
:is(.entry-content) .chara-fuki, .chara-fuki2, .chara-fuki3, .chara-fuki-about {
 position: relative;
 width: calc(100% - calc(90px + 0.8em + 5px));
 padding: 1.2em 1.5em;
 margin: 30px 0 60px;
 background-color: var(--gr1);
 border: solid 1px var(--gr2);
 border-radius: var(--maru);
 color: var(--b2);
 font-size: 1.1rem;
 line-height: 1.6;
}

/* 記事ページ（フキダシ / 三角） */
:is(.chara-fuki, .chara-fuki2, .chara-fuki3, .chara-fuki-about)::before {
 content: "";
 position: absolute;
 top: 50%;
 right: -0.4em;
 width: 0.8em;
 aspect-ratio: 1 / 1;
 background-color: var(--gr1);
 border: solid 1px var(--gr2);
 border-left: none;
 border-bottom: none;
 translate: 0 -50%;
 rotate: 45deg;
}

/* 記事ページ（フキダシ / アイコン） */
.chara-fuki::after {
 background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/a/acchinosorara/20240902/20240902140136.jpg);
}

.chara-fuki2::after {
 background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/a/acchinosorara/20220730/20220730201751.jpg);
}

.chara-fuki3::after {
 background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/a/acchinosorara/20220730/20220730201755.jpg);
}

.chara-fuki-about::after {
 background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/a/acchinosorara/20241111/20241111103213.jpg);
}

:is(.chara-fuki, .chara-fuki2, .chara-fuki3, .chara-fuki-about)::after {
 content: "";
 position: absolute;
 width: 90px;
 aspect-ratio: 1 / 1;
 top: 50%;
 right: 0;
 background-repeat: no-repeat;
 background-position: center;
 background-size: cover;
 border-radius: 50%;
 border: solid 1px var(--gr2);
 box-shadow: 0 0 0 3px var(--wh) inset;
 translate: calc(100% + 0.8em + 5px) -50%;
}

/* 記事ページ（はてなスター） */
.social-buttons {
 margin: 0;
}

.entry-footer-section {
 color: var(--gr3);
 font-size: 0.8rem;
 margin: 0 0 10px;
}

.hatena-star-container {
 margin-bottom: 30px;
}

/* タイトルとブログの説明を非表示 */
#title a, #blog-description {
 visibility: hidden;
}

/* キャラクターページ */
.static-page-oberonia #main {
 width: 100%;
}

.character-profile {
 background: var(--gradation);
 padding-block: calc(var(--top_h) + 20px) 60px;
}

.character-profile-inner {
 display: grid;
 gap: 30px 15px;
 grid-template-columns: minmax(360px, 1fr) 1fr;
 align-items: center;
 width: var(--cw1);
 margin: var(--top_h) auto 0;
 background-color: var(--wh);
 border-radius: var(--maru);
 padding: 30px;
}

.character-profile-inner img {
 width: min(100%, 400px);
}

.character-profile-text {
 display: flex;
 flex-direction: column;
 gap: 30px;
 align-items: flex-start;
}

/* キャラクターページ（キャラ名） */
.static-page-oberonia .entry-header,
.static-page-oberonia .entry-title {
 margin: 0;
}

.static-page-oberonia .entry-title-en {
 display: block;
 color: var(--g1);
 font-size: 1rem;
 line-height: 1;
 margin-bottom: 5px;
}

/* キャラクターページ（表） */
.static-page-oberonia .character-profile-table {
 display: block;
 background-color: var(--gr1);
 padding: 30px;
 border-radius: var(--maru);
 color: var(--b2);
 font-size: 1rem;
 line-height: 1.6;
 margin-bottom: 0;
}

.static-page-oberonia .character-profile-table tr {
 display: flex;
 padding-block: 0.5em;
 border-bottom: solid 1px var(--gr2);
}

.static-page-oberonia .character-profile-table tr:first-child {
 border-top: solid 1px var(--gr2);
}

.static-page-oberonia .character-profile-table :is(th, td) {
 border: none;
 padding: 0;
}

.static-page-oberonia .character-profile-table th {
 width: 8.5em;
 background: none;
 text-align: left;
}

.static-page-oberonia .character-profile-table td {
 flex: 1;
}

/* キャラクターページ（説明文） */
.character-description {
 width: var(--cw2);
 margin: 40px auto 0;
}

.static-page-oberonia .link-btn {
 margin-inline: auto;
}

/* 虫食い背景 */
#box2::before,
#bottom-editarea::before,
.boundary::before {
 content: "";
 position: absolute;
 width: 600px;
 aspect-ratio: 1 / 1;
 border-radius: 50%;
 top: -540px;
 left: 50%;
 translate: -50% 0;
}

#box2::before {
 background-color: var(--wh);
}

#bottom-editarea::before {
 background-color: var(--gr1);
}

/* サイドバー */
#box2 {
 float: none;
 position: relative;
 width: 100%;
 margin: 0;
 background-color: var(--gr1);
 overflow: hidden;
 z-index: 10;
}

.page-entry #box2,
.page-about #box2 {
 margin-top: 0;
}

#box2-inner {
 position: relative;
 width: var(--cw1);
 margin: 0 auto;
 padding-top: 120px;
}

/* サイドバー（タイトル） */
.hatena-module {
 position: relative;
 margin-bottom: 80px;
}

.hatena-module:not(.entry-footer .hatena-module-html)::before,
.hatena-module:not(.entry-footer .hatena-module-html)::after {
 content: "";
 position: absolute;
 aspect-ratio: 1 / 1;
 background-color: var(--b1);
 border-radius: 50%;
}

.hatena-module::before {
 width: 8px;
 top: 2.2rem;
 right: 0;
 translate: 0 -100%;
}

.hatena-module::after {
 width: 16px;
 top: calc(2.2rem - 7px);
 right: 7px;
 translate: 0 -100%;
}

.hatena-module-title {
 font-size: 0.8rem;
 font-weight: normal;
 line-height: 1;
 border-bottom: solid 1px var(--b1);
 padding: 0 0 10px;
 margin-bottom: 20px;
}

.hatena-module-title, .hatena-module-title a {
 color: var(--b1);
}

.hatena-module-title a {
 display: inline-block;
}

.hatena-module-title a:hover {
 text-decoration: none;
}

.hatena-module-title a::before, .hatena-module-title::before {
 color: var(--b1);
 font-size: 2.2rem;
 letter-spacing: 0.1em;
 margin-right: 5px;
}

.hatena-module-related-entries .hatena-module-title::before {
 content: "RECOMMEND";
}

.hatena-module-recent-entries .hatena-module-title a::before {
 content: "NEW POST";
}

.hatena-module-custom-profile .hatena-module-title::before {
 content: "PROFILE";
}

.hatena-module-custom-character .hatena-module-title::before {
 content: "CHARACTER";
}

.hatena-module-archive .hatena-module-title a::before {
 content: "ARCHIVE";
}

.hatena-module-category .hatena-module-title::before {
 content: "CATEGORY";
}

:is(.hatena-module-related-entries, .hatena-module-recent-entries) .hatena-module-title {
 margin-bottom: 0;
}

/* サイドバー（関連記事・最新記事） */
.page-index .hatena-module-recent-entries {
 display: none;
}

.urllist-with-thumbnails {
 display: grid;
 gap: 15px;
 grid-template-columns: repeat(auto-fill,minmax(360px, 1fr));
 margin-top: 30px;
}

.urllist-item {
 padding: 0 !important;
 border-bottom: none !important;
}

.urllist-item-inner {
 position: relative;
 display: flex;
 background-color: var(--wh);
 border-radius: var(--maru);
}

/* サイドバー（関連記事・最新記事 / アイコン） */
.urllist-item-inner::before,
.urllist-item-inner::after {
 content: "";
 position: absolute;
 height: 4px;
 background-color: var(--g1);
 z-index: 10;
}

.urllist-item-inner::before {
 width: 1.2rem;
 border-radius: 4px;
 top: -6px;
 right: -5px;
 rotate: -45deg;
 transform-origin: bottom right;
}

.urllist-item-inner::after {
 width: 4px;
 border-radius: 50%;
 top: calc(1.2rem - 8px);
 right: calc(1.2rem - 8px); 
}


/* サイドバー（関連記事・最新記事 / 画像） */
.urllist-image-link {
 position: relative;
 width: 150px;
 padding: 15px;
}

.urllist-image-link::after {
 content: "";
 position: absolute;
 width: calc(100% - 30px);
 aspect-ratio: 1 / 1;
 background-color: #000;
 border-radius: var(--maru);
 top: 50%;
 left: 50%;
 translate: -50% -50%;
 opacity: 0;
 transition: opacity var(--anime);
}

.related-entries-image, .recent-entries-image {
 width: 100% !important;
 height: auto !important;
 margin: 0 !important;
 border: none !important;
 border-radius: var(--maru) !important;
 float: none !important;
}

/* サイドバー（関連記事・最新記事 / 日付） */
.urllist-date-link {
 position: absolute;
 top: 15px;
 left: 155px;
}

.urllist-date-link time {
 color: var(--gr3);
 font-size: 0.8rem;
}

.urllist-date-link time::before {
 content: none;
}

/* サイドバー（関連記事・最新記事 / タイトル） */
.urllist-title-link.urllist-title {
 flex: 1;
 position: relative;
 color: var(--b2);
 font-size: 0.9rem;
 font-weight: bold;
 line-height: 1.6;
 padding: calc(0.8rem + 35px) 15px 0 5px;
 transition: color var(--anime);
 z-index: 20;
}

/* サイドバー（プロフィール） */
.page-entry #box2 .hatena-module-custom-profile {
 display: none;
}

.profile_area {
 display: grid;
 gap: 15px;
 grid-template-columns: 1fr 1fr;
 line-height: 1.8;
}

/* サイドバー（プロフィール） */
.profile {
 background-color: var(--wh);
 border-radius: var(--maru);
 padding: 30px;
}

.page-entry .profile {
 border: solid 1px var(--gr2);
}

.profile_inner {
 display: flex;
 flex-direction: column;
 gap: 20px;
}

.profile_detail {
 display: grid;
 gap: 10px 20px;
 grid-template-columns: 90px 1fr;
 align-items: center;
}

.profile_detail img {
 grid-row: 1 / 3;
 grid-column: 1;
 border: solid 1px var(--gr2);
 border-radius: 50%;
}

.profile_detail h2,
.profile_detail p {
 grid-column: 2;
 margin: 0;
}

.profile_detail h2 {
 grid-row: 1;
 color: var(--b2);
 font-size: 0.9rem;
}

.profile_detail p {
 grid-row: 2;
 color: var(--b3);
 font-size: 0.8rem;
}

.profile_btn {
 display: grid;
 gap: 20px;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 align-items: center;
}

/* サイドバー（ABOUT） */
.profile_about {
 position: relative;
 display: flex;
 justify-content: center;
 align-items: center;
 width: 100%;
 background: linear-gradient(to top right,var(--g1), var(--g2));
 padding: 20px;
 border-radius: var(--maru);
 overflow: hidden;
}

.profile_about::after {
 content: "";
 position: absolute;
 width: 100%;
 height: 100%;
 background-color: var(--g2);
 top: 0;
 left: 0;
 transition: opacity var(--anime);
 opacity: 0;
 z-index: 10;
}

.profile_about_text {
 display: flex;
 flex-direction: column;
 gap: 10px;
 align-items: center;
 color: #ffffff;
 line-height: 1;
 z-index: 30;
}

.profile_about_text p {
 font-size: 2.2rem;
 letter-spacing: 0.1em;
 margin: 20px 0 0;
}

.profile_about_text h2 {
 font-size: 1rem;
 margin: 0;
}

.profile_about_plus {
 position: relative;
 display: block;
 margin-top: 20px;
}

.profile_about_plus::before,
.profile_about_plus::after {
 background-color: #ffffff;
}

.profile_about img {
 position: absolute;
 width: auto;
 height: 100% !important;
 object-fit: cover;
 right: 0;
 top: 0;
 opacity: 0.5;
 z-index: 20;
 mix-blend-mode: screen;
 transform-origin: center right;
 transition: scale var(--anime);
}

/* サイドバー（キャラクター） */
.hatena-module-custom-character .hatena-module-body {
 background-color: var(--wh);
 border-radius: var(--maru);
 padding: 15px;
}

.character_list {
 display: flex;
 justify-content: center;
 list-style: none;
 padding: 0;
 margin: 0;
}

.character_list li {
 width: min(50%, 200px);
 font-size: 1rem;
}

.character_list li > * {
 position: relative;
 display: block;
 padding: 15px;
}

.character_list a::before {
 content: "";
 position: absolute;
 width: 100%;
 height: 100%;
 background: var(--gradation);
 border-radius: var(--maru);
 opacity: 0;
 top: 0;
 left: 0;
 z-index: 10;
 transition: opacity var(--anime);
}

.character_icon {
 position: relative;
 width: 100%;
 border-radius: 0 0 200px 200px;
 overflow: hidden;
 z-index: 20;
}

.character_back, .character_backline {
 position: absolute;
 width: 100%;
 aspect-ratio: 1 / 1;
 border-radius: 50%;
 bottom: 0;
 left: 0;
}

.character_back {
 background-color: #ffffff;
 z-index: 10;
}

.character_back:has( > .character_prepare) {
 background-color: var(--gr2);
}

.character_back::before, .character_backline {
 border: solid 2px var(--gr2);
 transition: border-color var(--anime);
}

.character_back::before {
 content: "";
 position: absolute;
 width: 100%;
 height: 100%;
 clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
 border-radius: 50%;
 top: 0;
 left: 0;
}

.character_backline {
 clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
 z-index: 30;
}

.character_prepare {
 position: absolute;
 color: #ffffff;
 font-size: 0.9em;
 font-weight: bold;
 white-space: nowrap;
 background-color: #333333;
 border-radius: var(--maru);
 margin: 0;
 padding: 10px 15px;
 top: 50%;
 left: 50%;
 translate: -50% -50%;
 rotate: -10deg;
}

.character_icon img {
 position: relative;
 z-index: 20;
}

.character_void {
 aspect-ratio: 3 / 4;
}

/* サイドバー（キャラクター / 名前） */
.character_name {
 position: relative;
 display: flex;
 flex-direction: column;
 gap: 5px;
 align-items: center;
 margin-top: 15px;
 z-index: 20;
}

.character_name > * {
 transition: color var(--anime);
}

.character_name_ja {
 color: var(--b1);
 font-weight: bold;
 margin: 0;
}

.character_name_en {
 color: var(--g1);
 font-size: 0.9em;
}

/* サイドバー（月別アーカイブ） */
.hatena-module-archive .hatena-urllist {
 display: grid;
 gap: 20px;
 grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.hatena-urllist .archive-module-year {
 padding: 0;
 border-bottom: none;
}

/* サイドバー（月間アーカイブ / 三角） */
.archive-module-button {
 display: none !important;
}

/* サイドバー（月間アーカイブ / 年） */
.archive-module-year-title {
 display: block;
 color: var(--b2) !important;
 font-size: 0.9rem !important;
 font-weight: bold !important;
 line-height: 1.5;
 margin-bottom: 10px;
}

/* サイドバー（月間アーカイブ / 月） */
.hatena-module-body .archive-module-year-hidden .archive-module-months {
 display: block;
}

.hatena-urllist .archive-module-year .archive-module-month {
 margin: 0;
}

.archive-module-month-title {
 display: block;
 color: var(--b3) !important;
 font-size: 0.8rem !important;
 line-height: 1.5 !important;
 padding: 10px 0;
 border-bottom: solid 1px var(--gr2);
 transition: color var(--anime);
}

.archive-module-month:first-child .archive-module-month-title {
 border-top: solid 1px var(--gr2);
}

/* サイドバー（カテゴリー） */
.hatena-module-category ul {
 display: flex;
 flex-wrap: wrap;
 gap: 5px;
}

.hatena-module-category li {
 border: 0;
 padding: 0;
}

.hatena-module-category a {
 display: block;
 color: var(--b3) !important;
 font-size: 0.8rem !important;
 line-height: 1.5 !important;
 background-color: var(--wh);
 margin: 0;
 padding: 0.8em 1em;
 transition: box-shadow var(--anime);
}

/* 検索 */
.search-result {
 width: var(--cw2);
 margin: 0 auto 60px;
}

.search-form {
 margin-bottom: 15px;
}

.search-form, .search-result-form {
 display: flex;
 max-width: initial;
 height: 50px;
 background-color: var(--wh);
 padding: 5px;
 border: solid 1px var(--gr2);
 border-radius: 50px;
 font-size: 0.8rem;
 transition: border-color var(--anime);
}

.search-input, .search-result-input {
 flex: 1;
 width: 100% !important;
 height: auto !important;
 background: none;
 border: none;
 border-radius: 50px;
 padding: 0 1.2em !important;
 color: var(--b2) !important;
}

:is(.search-input, .search-result-input):focus {
 outline: none;
}

:is(.search-input, .search-result-input):-webkit-autofill {
 box-shadow: 0 0 0 50px var(--wh) inset;
}

.search-form:has(.search-input:focus),
.search-result-form:has(.search-result-input:focus) {
 border-color: var(--g1);
 box-shadow: 0 0 0 1px var(--g1) inset;
}

.search-button, .search-result-button {
 position: relative !important;
 width: max(25%, 100px) !important;
 height: auto !important;
 background: var(--b1) !important;
 padding: 0;
 border-radius: 60px;
 color: var(--wh);
 text-indent: 0 !important;
 border: none;
 top: initial !important;
 right: initial !important;
 opacity: initial !important;
 cursor: pointer !important;
 transition: background var(--anime);
}

:is(.search-button, .search-result-button):hover {
 opacity: initial;
}

/* アーカイブページ（h2） */
.archive-header-category {
 margin-bottom: 0;
}

.archive-heading {
 position: relative;
 display: flex;
 justify-content: center;
 color: var(--b2);
 font-size: 1.6rem !important;
 line-height: 1.6;
 margin: calc(var(--top_h) * 2 + 20px) 0 60px !important;
 padding: 0 0 55px;
 border: none;
}

:has(.search-result) .archive-heading {
 margin-bottom: 30px !important;
}

.page-archive-category .archive-heading {
 margin-top: 30px !important;
}

.archive-heading::after {
 content: "";
 position: absolute;
 width: 4px;
 height: 40px;
 background-color: var(--gr2);
 border-radius: 4px;
 bottom: 0;
 left: 50%;
 translate: -50% 0;
}

/* アーカイブページ（検索結果） */
.page-archive span.highlight {
 color: #ffffff !important;
 margin: 0 !important;
 padding: 0 !important;
 background-color: var(--g1) !important;
 border: none;
 border-radius: 0 !important;
}

.search-result {
 margin-bottom: 60px;
}

.search-result + p, .archive-heading + p {
 color: var(--b2);
 font-size: 0.9rem;
 text-align: center;
 margin: 0 0 60px;
}

.page-archive-category-name #main {
 margin: calc(calc(var(--top_h) * 1.5) + 120px) auto 0;
}

/* 404 */
#container-inner:has( .no-entry) .top_contents {
 display: none;
}

#main-inner:has( .no-entry) {
 padding-top: calc(var(--top_h) + 20px);
}

.no-entry {
 margin-block: var(--top_h) 60px;
}

.no-entry .entry-content::before {
 content: "?";
 color: #ffffff;
 font-size: 4rem;
 line-height: 1;
}

.no-entry .entry-content {
 margin-inline: auto;
 display: flex;
 flex-direction: column;
 align-items: center;
 background: var(--gradation);
 border-radius: var(--maru);
 padding: 60px 30px;
}

.no-entry :is(h1, p) {
 margin: 0;
 color: #ffffff;
}

.no-entry h1 {
 font-size: 2rem;
 letter-spacing: 0.1em;
 margin-bottom: 10px;
}

.no-entry p {
 font-size: 1.1rem;
 line-height: 1.6;
}

.no-entry .entry-footer {
 margin: 0;
}

/* シンタックスハイライト */
pre.code {
 background-color: #2b2b2b !important;
 margin-bottom: 0 !important;
 border: none !important;
 border-radius: var(--maru);
}

.entry-content p:has( + .code) {
 margin-bottom: 0;
}

/* フッター */
#bottom-editarea {
 position: relative;
 padding-block: 30px 20px;
}

/* フッター（イラスト） */
.footer_illustration {
 position: relative;
 margin-bottom: 30px;
}

.footer_illustration::after {
 content: "";
 position: absolute;
 width: 100%;
 height: calc(100% + 30px);
 bottom: 0;
 left: 0;
 z-index: 40;
}

.footer_hair {
 position: absolute;
 width: 180px;
 top: 0;
 left: 50%;
 translate: -50% 0;
 scale: 1;
 animation: hair 2.5s ease 0s infinite normal none;
}

@keyframes hair {

 35% {
  translate: -50% 0;
  scale: 1;
 }
 50% {
  translate: -50% -30px;
  scale: -1 1;
 }
 65% {
  translate: -50% 0;
  scale: 1;
 }
}

.footer_character {
 position: relative;
 padding-top: 172px;
}

.footer_character img {
 display: block;
 width: 150px;
 margin: 0 auto;
}

.footer_character1 {
 position: relative;
 z-index: 20;
}

.footer_character2 {
 position: absolute;
 bottom: 0;
 left: 50%;
 z-index: 10;
 translate: -50% 0;
 animation: blink 5s linear 0s infinite normal none;
}

@keyframes blink {

 /* 2回（1回目） */
 2% {
  z-index: 10;
 }
 6% {
  z-index: 30;
 }
 8% {
  z-index: 10;
 }
 44% {
  z-index: 10;
 }
 48% {
  z-index: 30;
 }
 50% {
  z-index: 10;
 }

 /* 2回（1回目） */
 94% {
  z-index: 10;
 }
 98% {
  z-index: 30;
 }
 100% {
  z-index: 10;
 }
}

/* コピーライト */
.copyright {
 display: block;
 color: var(--b2);
 font-size: 0.8rem;
 letter-spacing: 0.1em;
 text-align: center;
}

/* フォント */
::before, ::after {
 font-family: "blogicon";
 font-weight: normal;
}

.t_ss, .menu_list p::before, .entry-date.first time, .hatena-module-title a::before, .hatena-module-title::before, .urllist-date-link time, .entry_sharebtn_htb::before, .archive-date time, .no-entry h1, .no-entry .entry-content::before {
 font-family: 'Montserrat', sans-serif;
}

/* 1024以下 */
@media screen and (max-width: 1024px) {

 /* サイドバー（プロフィール） */
 .profile_detail img {
  grid-row: 1;
 }

 .profile_detail p {
  grid-column: 1 / 3;
 }
}

/* 920以下 */
@media screen and (max-width: 920px) {

 /* キャラクターページ */
 .character-profile-inner {
  grid-template-columns: 1fr;
 }
 
 .character-profile-text {
  align-items: center;
 }

 .entry-title-en {
  text-align: center;
 }

 /* キャラクターページ（表） */
 .character-profile-table {
  width: 100%;
 }

 .character-profile-table > tbody {
  display: grid;
  column-gap: 30px;
  grid-template-columns: 1fr 1fr;
 }

 .character-profile-table tr:nth-child(2) {
  border-top: solid 1px var(--gr2);
 }
}

/* 768以下 */
@media screen and (max-width: 768px) {

 /* カード */
 .archive-entries {
  gap: 60px;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
 }

 /* カード（記事タイトル・日付） */
 :is(.page-index, .page-archive) .date {
  margin: 1.05rem 0 0;
 }

 :is(.page-index, .page-archive) .entry-title-link {
  padding-top: 2.35rem;
 }

 /* キャラクターページ（表） */
 .character-profile-table tr {
  column-gap: 15px;
 }

 .static-page-oberonia .character-profile-table th {
  width: 4em;
 }

 /* サイドバー（タイトル） */
 .hatena-module-title {
  padding-bottom: 15px;
 }

 .hatena-module-title, .hatena-module-title a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
 }

 .hatena-module-title a::before, .hatena-module-title::before {
  margin-right: 0;
 }

 .hatena-module::before {
  top: calc(2.2rem + 10px + 0.8rem);
 }

 .hatena-module::after {
  top: calc(2.2rem + 10px + 0.8rem - 7px);
 }

 /* サイドバー（プロフィール） */
 .profile_area {
  grid-template-columns: 1fr;
 }

 /* サイドバー（ABOUT） */
 .profile_about {
  aspect-ratio: 2 / 1;
 }
}

/* 640以下 */
@media screen and (max-width: 640px) {

 /* キャラクターページ（表） */
 .character-profile-table > tbody {
  grid-template-columns: 1fr;
 }

 .character-profile-table tr {
  column-gap: 0;
 }

 .character-profile-table tr:nth-child(2) {
  border-top: none;
 }

 .static-page-oberonia .character-profile-table th {
  width: 8.5em;
 }
}

/* 480以下 */
@media screen and (max-width: 480px) {

 html {
  font-size: 14px;
 }

 /* 変数 */
 :root {
  --lr_vw: 10vw;
  --top_h: 45px;
 }

 /* ページ全体 */
 .entry {
  margin-bottom: 30px;
 }

 /* 読者になる */
 .follow_btn {
  height: 50px;
 }

 /* ソーシャルボタン */
 .social {
  gap: 5px;
 }

 .social_btn {
  width: 3rem;
 }

 /* 記事のリンクボタン */
 .link-btn {
  width: 100%;
  height: 50px;
  margin-top: 20px;
 }

 /* カード */
 .page-index #main-inner {
  padding-top: 60px;
 }

 .archive-entries {
  gap: 30px;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto 60px;
 }

 /* カード（記事タイトル・日付） */
 :is(.page-index, .page-archive) .entry-title-link {
  font-size: 0.9rem;
  line-height: 1.4;
 }

 /* ページャー（トップ） */
 :is(.page-index, .page-archive, .page-category) .pager {
  margin-bottom: -15px;
 }

 :is(.page-index, .page-archive, .page-category) .pager-next,
 :is(.page-index, .page-archive, .page-category) .pager-prev {
  width: min(calc(6em + 30px), 100%);
  font-size: 0.8rem;
}

 :is(.page-index, .page-archive, .page-category) .pager-next a,
 :is(.page-index, .page-archive, .page-category) .pager-prev a {
  height: 30px;
 }

 :is(.page-index, .page-archive, .page-category) .pager-next a::after,
 :is(.page-index, .page-archive, .page-category) .pager-prev a::after {
  width: 6px;
  height: 6px;
 }

 :is(.page-index, .page-archive, .page-category) .pager-next a::after {
  right: 13px;
 }

 :is(.page-index, .page-archive, .page-category) .pager-prev a::after {
  left: 13px;
 }

 /* パンくずリスト */
 .breadcrumb-inner {
  gap: 5px;
 }

 .breadcrumb-child > a, .breadcrumb-child > span {
  margin-left: 5px;
 }

 /* 記事ページ */
 .static-page-privacypolicy .entry {
  margin-bottom: 80px;
 }

 /* 記事ページ（タイトル） */
 .page-entry #main {
  margin: 60px auto 0;
 }

 /* 記事ページ（記事タイトル） */
 :is(.page-entry, .static-page-oberonia, .static-page-privacypolicy) .entry-title {
  font-size: 1.7rem;
 }

 /* 記事ページ（本文） */
 .entry-content p:not(.content-img-grid-t, .kome, .listbox-p, .chara-fuki, .chara-fuki2, .chara-fuki3, .chara-fuki-about, .about_title_area p, .link-btn p, .about_afterword_inner p, .no-entry p) {
  font-size: 1.1rem !important;
 }

 /* 記事ページ（目次） */
 .table-of-contents {
  padding: 20px;
 }

 /* 記事ページ（※） */
 .entry-content .kome {
  font-size: 0.8rem;
 }

 /* 記事ページ（記事紹介） */
 .entry-content .entry-pickup {
  padding: 15px;
 }

 .entry-content .entry-pickup p:first-child {
  font-size: 0.9rem;
 }

 /* 記事ページ（画像） */
 .content-img-grid3 {
  grid-template-columns: 1fr;
 }

 .entry-content .content-img-grid-t {
  font-size: 0.8rem;
 }
 
 /* 記事ページ（ボックス） */
 .listbox-p, .listbox-u, .listbox-o {
  padding: 20px;
 }

 .listbox-p, .listbox-u > li, .listbox-o > li {
  font-size: 1rem;
 }

 .listbox-u > li {
  padding-bottom: 10px;
 }

 .listbox-o > li {
  padding-bottom: 20px;
 }

 /* 記事ページ（h2） */
 :is(.page-entry, .static-page-privacypolicy) .entry-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 20px;
 }

 /* 記事ページ（h3） */
 .page-entry .entry-content h3 {
  font-size: 1.3rem;
 }

 /* 記事（表） */
 .page-entry .contents_table {
  display: none;
 }

 .contents_table_sp,
 .contents_table_simple {
  display: table;
  font-size: 0.9rem;
 }

 .contents_table_simple th,
 .contents_table_simple td {
  display: block;
  width: 100%;
 }

 /* 記事ページ（フキダシ） */
 :is(.entry-content) .chara-fuki, .chara-fuki2, .chara-fuki3, .chara-fuki-about {
  width: calc(100% - calc(70px + 0.8em + 5px));
  font-size: 1rem;
 }

 /* 記事ページ（フキダシ / アイコン） */
 :is(.chara-fuki, .chara-fuki2, .chara-fuki3, .chara-fuki-about)::after {
  width: 70px;
 }

 /* 記事ページ（はてなスター） */
 .entry-footer-section {
  margin-bottom: 5px;
 }

 .hatena-star-container {
  margin-bottom: 15px;
 }

 /* キャラクターページ */
 .character-profile {
  padding-bottom: 30px;
 }

 .character-profile-name {
  font-size: 1.7rem;
 }

 .character-profile-inner {
  padding: 30px 0 0 0;
 }

 .character-profile-text {
  gap: 15px;
 }

 /* キャラクターページ（表） */
 .static-page-oberonia .character-profile-table {
  padding: 30px;
  border-radius: 0 0 var(--maru) var(--maru);
 }

 /* キャラクターページ（説明文） */
 .character-description {
  margin-top: 30px;
 }

 /* 虫食い背景 */
 #box2::before,
 #bottom-editarea::before,
 .boundary::before {
  width: 400px;
  top: -360px;
 }

 /* サイドバー */
 #box2-inner {
  padding-top: 80px;
 }

 .hatena-module {
  margin-bottom: 60px;
 }

 /* サイドバー（タイトル） */
 .hatena-module::before {
  width: 6px;
  top: calc(1.8rem + 8px + 0.8rem);
  translate: 0 -6px;
 }

 .hatena-module::after {
  width: 14px;
  top: calc(1.8rem + 8px + 0.8rem - 5px);
  right: 5px;
  translate: 0 -14px;
 }

 .hatena-module-title {
  padding-bottom: 12px;
 }

 .hatena-module-title, .hatena-module-title a {
  gap: 8px;
 } 

 .hatena-module-title a::before, .hatena-module-title::before {
  font-size: 1.8rem;
 }

 /* サイドバー（関連記事・最新記事） */
 .urllist-with-thumbnails {
  gap: 10px;
  grid-template-columns: 1fr;
 }

 /* サイドバー（関連記事・最新記事 / 画像） */
 .urllist-image-link {
  width: 120px;
  padding: 10px;
 }

 /* サイドバー（関連記事・最新記事 / 日付） */
 .urllist-date-link {
  top: 10px;
  left: 125px;
 }

 /* サイドバー（関連記事・最新記事 / タイトル） */
 .urllist-title-link.urllist-title {
  padding: calc(0.8rem + 25px) 10px 0 5px;
 }

 /* サイドバー・記事ページ（プロフィール） */
 .profile {
  padding: 15px;
 }

 .profile_inner {
  gap: 15px;
 }

 .profile_detail {
  gap: 15px;
  grid-template-columns: 70px 1fr;
 }

 .profile_btn {
  gap: 15px;
  grid-template-columns: 1fr;
 }

 /* サイドバー（ABOUT） */
 .profile_about {
  padding: 15px;
 }

 .profile_about_text {
  gap: 5px;
 }

 .profile_about_text p {
  font-size: 1.8rem;
 }

 .profile_about_text h2 {
  font-size: 0.8rem;
 }

 /* サイドバー（キャラクター） */
 .hatena-module-custom-character .hatena-module-body {
  padding: 0;
  overflow: hidden;
 }

 .character_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
 }

 .character_list li {
  width: 100%;
  font-size: 0.8rem;
 }

 .character_prepare {
  padding: 5px 10px;
 }

 /* サイドバー（月別アーカイブ） */
 .hatena-module-archive .hatena-urllist {
   gap: 15px;
   grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
 }
 
 /* サイドバー（月別アーカイブ / 月） */
 .archive-module-month-title {
  padding: 7px 0;
 }

 /* 検索 */
 .search-result {
  width: 100%;
  margin-bottom: 30px;
 }

 .search-form, .search-result-form {
  height: 40px;
  padding: 2px;
 }

 /* アーカイブページ */
 :has(.search-result) .archive-heading {
  margin-bottom: 15px !important;
 }

 .page-archive-category .archive-heading {
  margin-top: 30px !important;
 }

 /* アーカイブページ（h2） */
 .archive-heading {
  padding-bottom: 40px;
  margin-bottom: 15px !important;
  font-size: 1.3rem !important;
 }

 .archive-heading::after {
  height: 30px;
 }

 /* 404 */
 .no-entry {
  margin-bottom: 15px;
 }

 .no-entry .entry-content {
  padding: 30px;
 }

 .no-entry h1 {
  font-size: 1.7rem;
 }

 .no-entry p {
  font-size: 1rem;
 }

 /* フッター（イラスト） */
 .footer_hair {
  width: 120px;
 }

 .footer_character {
  padding-top: 115px;
 }

 .footer_character img {
  width: 100px;
 }

 /* コピーライト */
 .copyright {
  font-size: 0.7rem;
 }
}

/* ホバー */
@media (hover: hover) and (pointer: fine) {

 /* 読者になる */
 .follow_btn:hover::before {
  opacity: 1;
 }
 
 .follow_btn:hover span::before {
  animation: heart 1s linear;
 }

 /* ソーシャルボタン */
 .social_btn:hover {
  color: var(--gr2);
 }

 .social_btn:hover svg {
  fill: var(--gr2);
 }

 /* 記事のリンクボタン */
 .link-btn:hover {
  box-shadow: none;
 }

 .link-btn:hover p {
  color: #fff;
 }

 .link-btn:hover::before {
  opacity: 1;
 }

 .link-btn:hover::after {
  border-color: #fff;
 }

 /* カード */
 :is(.page-index, .page-archive) .archive-entry:hover .entry-thumb-link::before,
 :is(.page-index, .page-archive) .archive-entry:hover .entry-thumb-link::after {
  opacity: 1;
  rotate: 90deg;
 }

 :is(.page-index, .page-archive) .archive-entry:hover .entry-thumb::before {
  opacity: 0.5;
 }
 
 :is(.page-index, .page-archive) .archive-entry:hover .entry-title-link {
  color: var(--gr3) !important;
 }

 /* ページャー（トップ） */
 :is(.page-index, .page-archive, .page-category) .pager-next a:hover::before,
 :is(.page-index, .page-archive, .page-category) .pager-prev a:hover::before {
  background-color: var(--b2);
 }

 :is(.page-index, .page-archive, .page-category) .pager-next a:hover::after,
 :is(.page-index, .page-archive, .page-category) .pager-prev a:hover::after {
  border-color: var(--wh);
 }

 /* パンくずリスト */
 .breadcrumb a:hover {
  color: var(--gr2);
 }

 /* 記事ページ（カテゴリー） */
 .categories a:hover {
  border-color: var(--b3);
 }

 /* 記事ページ（目次） */
 .table-of-contents a:hover {
  opacity: 0.5;
 }

 /* 記事本文リンクテキスト */
 .entry-content p a:hover {
  opacity: 0.5;
 }

 /* サイドバー（関連記事・最新記事） */
 .urllist-image-link:hover::after,
 .urllist-image-link:has( ~ .urllist-title-link.urllist-title:hover)::after {
  opacity: 0.5;
 }

 .urllist-image-link:hover ~ .urllist-title-link.urllist-title,
 .urllist-title-link.urllist-title:hover {
  color: var(--gr3);
 }

 /* サイドバー（ABOUT） */
 .profile_about:hover::after {
  opacity: 1;
 }

 .profile_about:hover .plus::before,
 .profile_about:hover .plus::after {
  rotate: 90deg;
 }

 .profile_about:hover img {
  scale: 1.05;
 }

 /* サイドバー（キャラクター） */
 .character_list a:any-link:hover::before {
  opacity: 1;
 }

 .character_list a:any-link:hover .character_back::before,
 .character_list a:any-link:hover .character_backline {
  border-color: #ffffff;
 }

 .character_list a:any-link:hover .character_name > * {
  color: #ffffff;
 }

 /* サイドバー（月間アーカイブ / 月） */
 .archive-module-month-title:hover {
  color: var(--gr2) !important;
 }

 /* サイドバー（カテゴリー） */
 .hatena-module-category a:hover {
  box-shadow: 0 0 0 1px var(--b3) inset;
 }
 
 /* 検索 */
 .search-form:has(.search-input:hover), .search-result-form:has(.search-result-input:hover) {
  border-color: var(--b3);
 }

 :is(.search-button, .search-result-button):hover {
  background: var(--g1) !important;
 }
}

/* ダークモード */
@media (prefers-color-scheme: dark) {

 /* 変数 */
 :root {
  --b1: #dddddd;
  --b2: #bbbbbb;
  --wh: #222222;
  --gr1: #2b2b2b;
  --gr2: #474747;
  --gr3: #676767;
 }
}