@charset "UTF-8";
/*
Theme: boilerplate
Author: Negishima
Responsive: yes
Released under the MIT License.
*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
line-height: 1.15; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers.
*/
body {
margin: 0;
}
/**
* Render the `main` element consistently in IE.
*/
main {
display: block;
}
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
font-size: 1.5em;
margin: 0.67em 0;
}
/* Grouping content
========================================================================== */
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/* Text-level semantics
========================================================================== */
/**
* Remove the gray background on active links in IE 10.
*/
a {
background-color: transparent;
}
/**
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none; /* 1 */
text-decoration: underline; /* 2 */
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted; /* 2 */
}
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
font-weight: bolder;
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/**
* Add the correct font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
/* Embedded content
========================================================================== */
/**
* Remove the border on images inside links in IE 10.
*/
img {
border-style: none;
}
/* Forms
========================================================================== */
/**
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
font-family: inherit; /* 1 */
font-size: 100%; /* 1 */
line-height: 1.15; /* 1 */
margin: 0; /* 2 */
}
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input { /* 1 */
overflow: visible;
}
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select { /* 1 */
text-transform: none;
}
/**
* Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}
/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText;
}
/**
* Correct the padding in Firefox.
*/
fieldset {
padding: 0.35em 0.75em 0.625em;
}
/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box; /* 1 */
color: inherit; /* 2 */
display: table; /* 1 */
max-width: 100%; /* 1 */
padding: 0; /* 3 */
white-space: normal; /* 1 */
}
/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
vertical-align: baseline;
}
/**
* Remove the default vertical scrollbar in IE 10+.
*/
textarea {
overflow: auto;
}
/**
* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/
[type="checkbox"],
[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] {
-webkit-appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */
}
/**
* Remove the inner padding in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button; /* 1 */
font: inherit; /* 2 */
}
/* Interactive
========================================================================== */
/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/
details {
display: block;
}
/*
* Add the correct display in all browsers.
*/
summary {
display: list-item;
}
/* Misc
========================================================================== */
/**
* Add the correct display in IE 10+.
*/
template {
display: none;
}
/**
* Add the correct display in IE 10.
*/
[hidden] {
display: none;
}
html,
body {
  font-family: "Source Han Sans Japanese", sans-serif;
  color: #36454F;
  background-color: #F8F8F8;
  line-height: 1.7;
  font-size: 0.88rem;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}

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

a {
  color: #2F4F4F;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #66B2B2;
  text-decoration: underline;
}

a.keyword {
  text-decoration: none;
  border-bottom: 1px dotted #BBBBBB;
  color: #36454F;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Source Han Sans Japanese", sans-serif;
  color: #2F4F4F;
  line-height: 1.3;
  margin-top: 1.5em;
  margin-bottom: 0.8em;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: #2F4F4F;
  text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
  color: #66B2B2;
}

#container,
#footer {
  margin: 0 auto;
  width: 98%;
}

@media (max-width: 767px) {
  #container,
  #footer {
    width: 98%;
  }
  #content-inner {
    flex-direction: column;
  }
  #wrapper {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  #box2 {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #container,
  #footer {
    width: 750px;
  }
  #content-inner {
    flex-direction: row;
    gap: 10px;
  }
  #wrapper {
    width: 480px;
    flex-basis: auto;
    margin-right: 0;
  }
  #box2 {
    width: 260px;
    flex-basis: auto;
  }
}

@media (min-width: 992px) {
  #container,
  #footer {
    width: 960px;
  }
  #content-inner {
    flex-direction: row;
    gap: 10px;
  }
  #wrapper {
    width: 672px;
    flex-basis: auto;
    margin-right: 0;
  }
  #box2 {
    width: 278px;
    flex-basis: auto;
  }
}

#content-inner {
  display: flex;
}

.header-image-enable #blog-title {
  margin: 0 auto;
}
.header-image-enable #blog-title-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.header-image-enable #blog-title-content {
  margin-left: 10px;
  margin-right: 10px;
}
.header-image-enable #blog-title #blog-title-inner {
  height: 100px;
}
#gnav {
  background-color: #2F4F4F;
  color: #FFFFFF;
  padding: 5px 0;
  text-align: center;
}

#gnav .gnav-inner {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#gnav .menu {
  margin: 0 8px;
}

#gnav .menu a {
  color: #FFFFFF;
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 3px;
  font-size: 0.85em;
  display: block;
}

#gnav .menu a:hover {
  background-color: #66B2B2;
}

#gnav .fa {
  margin-right: 5px;
}

#top-editarea {
  margin-bottom: 1.5em;
}

.breadcrumb {
  margin: 1em 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
}

.breadcrumb-inner {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb-link,
.breadcrumb-child-link,
.breadcrumb-child span {
  display: inline-block;
  font-weight: bold;
  text-decoration: none;
  color: #555555;
}

.breadcrumb-gt {
  padding: 0 0.3em;
  color: #BBBBBB;
}

.breadcrumb-link:before {
  font-family: FontAwesome;
  content: "\f015";
  font-weight: normal;
  font-size: 1.0em;
  color: #2F4F4F;
  margin-right: 0.2em;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-child:last-child ~ .breadcrumb-gt {
  display: none;
}

.breadcrumb-child:last-child span {
  font-weight: normal;
  color: #36454F;
}

.entry {
  position: relative;
  margin-bottom: 2.5em;
  padding: 1.5em;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.entry-header {
  padding-bottom: 1.2em;
  margin-bottom: 1.5em;
  border-bottom: 1px solid #E0E0E0;
  position: relative;
}

.date {
  margin-bottom: 0.6em;
  font-size: 0.8rem;
  color: #777777;
}

.date:before {
  font-family: FontAwesome;
  content: "\f073";
  margin-right: 0.4em;
  color: #66B2B2;
}

.date a {
  color: #66B2B2;
  text-decoration: none;
}

.date a:hover {
  color: #2F4F4F;
  text-decoration: underline;
}

.entry-title {
  margin: 1em 0 1em;
  font-size: 1.6rem;
  line-height: 1.3;
  color: #2F4F4F;
}

.categories {
  margin: 0.5em 0 1em;
  font-size: 0.8rem;
}

.categories a {
  margin-right: 0.8em;
  position: relative;
  color: #66B2B2;
  text-decoration: none;
  border: 1px solid #66B2B2;
  border-radius: 15px;
  padding: 0.3em 0.8em 0.3em 2.0em;
  display: inline-block;
  transition: all 0.3s ease;
}

.categories a:hover {
  background-color: #66B2B2;
  color: #FFFFFF;
}

.categories a:before {
  font-family: FontAwesome;
  content: "\f02c";
  position: absolute;
  left: 0.6em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  color: #66B2B2;
  transition: color 0.3s ease;
}

.categories a:hover:before {
  color: #FFFFFF;
}

.entry-header-menu {
  position: absolute;
  top: 1.5em;
  right: 1.5em;
}

.entry-content {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #36454F;
}

.entry-content img,
.entry-content video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin: 1.8em 0 1em 0;
  color: #2F4F4F;
}

.entry-content h1 {
  font-size: 1.4rem;
  border-bottom: 2px solid #66B2B2;
  padding-bottom: 0.5em;
}

.entry-content h2 {
  font-size: 1.25rem;
  border-left: 5px solid #66B2B2;
  padding-left: 0.8em;
}

.entry-content h3 {
  color: #FFFFFF;
  font-size: 1.2rem;
  position: relative;
  background: #2F4F4F;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: none;
  padding: 0.6em 1em;
  border-radius: 6px;
  margin: 2.5em 0 1.5em 0;
}

.entry-content h4 {
  font-size: 1.1rem;
  margin: 1.5em 0 0.8em 0;
  padding: 0.5em 0.8em;
  border: 1px solid #D3D3D3;
  border-left: 5px solid #2F4F4F;
  color: #2F4F4F;
}

.entry-content h5 {
  font-size: 1rem;
  border-bottom: 1px dotted #BBBBBB;
  padding-bottom: 0.3em;
}

.entry-content h6 {
  font-size: 0.9rem;
  color: #555555;
}

.entry-content ul:not(.table-of-contents) {
    padding: 0.5em 1em 0.5em 2.3em;
    position: relative;
    margin: 0 0 0.4em 0;
    list-style: disc;
}

.entry-content ul:not(.table-of-contents) li {
    line-height: 1.1;
    padding: 0.2em 0;
    list-style-type: disc;
    position: relative;
}

.entry-content ul:not(.table-of-contents) li Li {
    line-height: 1.1;
    padding: 0.2em 0;
    list-style-type: circle;
    position: relative;
}

.entry-content table {
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 1.5em;
  width: 100%;
  overflow-x: auto;
  display: block;
  font-size: 0.85rem;
  border: 1px solid #D3D3D3;
  border-radius: 5px;
}

.entry-content table th,
.entry-content table td {
  border: 1px solid #E0E0E0;
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}

.entry-content table th {
  background: #F0F0F0;
  font-weight: bold;
  color: #2F4F4F;
}

.entry-content blockquote {
  position: relative;
  padding: 1.5em 1.5em 1.5em 4em;
  box-sizing: border-box;
  font-style: italic;
  background: #F0F0F0;
  border-left: 5px solid #66B2B2;
  margin: 2em 0;
  border-radius: 5px;
}

.entry-content blockquote:before {
  display: inline-block;
  position: absolute;
  top: 1em;
  left: 1.5em;
  content: "\f10d";
  font-family: FontAwesome;
  color: #66B2B2;
  font-size: 28px;
  line-height: 1;
  z-index: 2;
  font-weight: 900;
}

.entry-content blockquote:after {
  content: none;
}

.entry-content blockquote p {
  position: relative;
  margin: 0;
  padding: 0;
  z-index: 3;
  line-height: 1.7;
}

.entry-content blockquote cite {
  display: block;
  text-align: right;
  color: #555555;
  font-size: 0.85em;
  margin-top: 0.8em;
}

.entry-content pre,
.entry-content code {
  font-family: "Monaco", "Consolas", "Courier New", Courier, monospace, sans-serif;
}

.entry-content pre {
  background: #2D2D2D;
  color: #F8F8F8;
  border: none;
  white-space: pre-wrap;
  word-break: break-all;
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
  margin: 2em 0;
}

.entry-content pre > code {
  margin: 0;
  padding: 0;
  white-space: pre;
  border: none;
  background-color: transparent;
  font-family: "Monaco", "Consolas", "Courier New", Courier, monospace, sans-serif;
  display: block;
}

.entry-content code {
  font-size: 0.85em;
  margin: 0 3px;
  padding: 2px 6px;
  background-color: #E0E0E0;
  border-radius: 3px;
  color: #555555;
}

.entry-content hr {
  width: 60%;
  border: 0;
  border-top: 1px solid #BBBBBB;
  margin: 3em auto;
}

.entry-see-more {
  display: block;
  width: fit-content;
  margin: 2em auto 1em;
  color: #FFFFFF !important;
  background-color: #2F4F4F !important;
  padding: 8px 25px;
  font-size: 0.95em;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.entry-see-more:hover {
  background-color: #66B2B2 !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.entry-footer {
  margin-top: 2em;
  padding-top: 1.5em;
  border-top: 1px solid #E0E0E0;
}

.entry-footer .social-buttons {
  margin-bottom: 1.5em;
}

.entry-footer-section {
  color: #2F4F4F;
  font-size: 0.85rem;
}

.entry-footer-section a {
  color: #2F4F4F;
}

.comment-box {
  margin: 2em 0;
  background-color: #FFFFFF;
  padding: 1.5em;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.comment-box .comment {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  font-size: 0.85rem;
}

.comment-box .entry-comment {
  padding: 15px 0 15px 70px;
  border-bottom: 1px solid #EEEEEE;
  position: relative;
}

.comment-box .entry-comment:first-child {
  border-top: 1px solid #EEEEEE;
}

.comment-box .read-more-comments {
  padding: 15px 0;
  text-align: center;
}

.comment-box .hatena-id-icon {
  position: absolute;
  top: 15px;
  left: 0;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  border: 2px solid #D3D3D3;
}

.comment-user-name {
  margin: 0 0 0.5em 0;
  font-weight: bold;
  color: #2F4F4F;
}

.comment-content {
  margin: 0 0 0.5em 0;
  word-wrap: break-word;
  color: #36454F;
  font-size: 0.85rem;
}

.comment-content p {
  margin: 0 0 0.8em 0;
}

.comment-metadata {
  color: #66B2B2;
  margin: 0;
  font-size: 0.75rem;
}

.comment-metadata a {
  color: #66B2B2;
}

.leave-comment-title {
  padding: 0.8em 1.2em;
  font-size: 0.9rem;
  border: 1px solid #D3D3D3;
  border-radius: 5px;
  background-color: #F0F0F0;
  color: #2F4F4F;
}

.pager {
  margin: 3em 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5em;
}

.pager-prev,
.pager-next {
  flex: 1;
  text-align: center;
}

.pager-prev {
  text-align: left;
}

.pager-next {
  text-align: right;
}

.pager-next a {
  padding: 8px 25px;
  font-size: 0.95em;
  color: #FFFFFF !important;
  background-color: #2F4F4F !important;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.pager-next a:hover {
  background-color: #66B2B2 !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.hatena-module {
  box-sizing: border-box;
  margin-bottom: 2.5em;
  padding: 1.2em;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 0.85rem;
}

.hatena-module-title {
  margin-bottom: 0.8em;
  padding-bottom: 0.4em;
  border-bottom: 2px solid #E0E0E0;
  font-size: 1.05rem;
  font-weight: bold;
  color: #2F4F4F;
}

.hatena-module-title a {
  color: #2F4F4F;
  text-decoration: none;
}

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

.hatena-module-profile .profile-icon {
  float: left;
  margin: 0 12px 10px 0;
  border-radius: 50%;
  border: 2px solid #D3D3D3;
}

.hatena-module-profile .id {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5em;
  color: #2F4F4F;
}

.hatena-module-profile .profile-description p {
  margin-top: 0;
  color: #555555;
}

.hatena-urllist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hatena-urllist li {
  padding: 0.6em 0;
  border-bottom: 1px dotted #EEEEEE;
}

.hatena-urllist li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.hatena-urllist li a {
  text-decoration: none;
  color: #36454F;
  transition: color 0.3s ease;
}

.hatena-urllist li a:hover {
  text-decoration: none;
  color: #66B2B2;
}

.hatena-urllist .urllist-category-link {
  font-size: 0.7rem;
  padding: 0.2em 0.5em;
  background-color: #E0E0E0;
  border-radius: 3px;
  color: #555555;
}

.hatena-urllist .urllist-date-link a {
  color: #66B2B2;
}

.hatena-urllist .urllist-entry-body {
  margin-top: 0.5em;
  line-height: 1.5;
}

.hatena-module-search-box .search-form {
  border: 1px solid #D3D3D3;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  background-color: #F8F8F8;
}

.hatena-module-search-box .search-module-input {
  flex: 1 0;
  padding: 8px;
  color: #36454F;
  background: none;
  border: none;
  outline: none;
  height: 30px;
  font-size: 0.9rem;
}

.hatena-module-search-box .search-module-button {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Esearch%3C/title%3E%3Cpath d='M16.7,15l-3.4-3.3h-.1a5.4,5.4,0,0,0,.9-3.1,5.6,5.6,0,1,0-5.6,5.6,5.4,5.4,0,0,0,3.1-.9.1.1,0,0,0,.1.1L15,16.7a1.1,1.1,0,0,0,.8.3,1.6,1.6,0,0,0,.9-.3,1.4,1.4,0,0,0,0-1.7M8.5,12.3A3.8,3.8,0,0,1,4.8,8.5,3.8,3.8,0,0,1,8.5,4.7a3.9,3.9,0,0,1,3.8,3.8,3.8,3.8,0,0,1-3.8,3.8'/%3E%3Crect class='a' width='20' height='20'/%3E%3C/svg%3E");
  background-size: 24px 24px;
  border: none;
  outline: none;
  color: transparent;
  overflow: hidden;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.hatena-module-search-box .search-module-button:hover {
  opacity: 1;
}


.page-about .entry-content dt {
  font-weight: bold;
  border-bottom: 1px solid #D3D3D3;
  margin-bottom: 0.8em;
  padding-bottom: 0.3em;
  font-size: 1.1rem;
}

.page-about .entry-content dd {
  margin-left: 0;
  margin-bottom: 2.5em;
  line-height: 1.7;
}

.archive-header-category {
  text-align: center;
  margin-bottom: 2em;
}

.page-archive .archive-entry {
  margin-bottom: 2.5em;
  padding: 1.5em;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 15px;
  align-items: flex-start;
  line-height: 1.4;
}

.page-archive .entry-title {
  margin: 0;
  font-size: 1.1rem;
}

.page-archive .entry-thumb {
  width: 90px;
  height: 90px;
  background-size: cover;
  flex-shrink: 0;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.page-archive .entry-description {
  margin: 0.5em 0 0;
  font-size: 0.85rem;
  color: #555555;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.page-archive .social-buttons {
  display: flex;
  gap: 8px;
  margin-top: 1em;
}

#latest-posts-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 15px;
  padding-bottom: 15px;
  width: 100%;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

#latest-posts-slider::-webkit-scrollbar {
  height: 8px;
}

#latest-posts-slider::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

#latest-posts-slider::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

#latest-posts-slider::-webkit-scrollbar-thumb:hover {
  background: #555;
}


#latest-posts-slider div {
  width: 120px;
  flex-shrink: 0;
  text-align: center;
  border: 1px solid #D3D3D3;
  padding: 10px;
  border-radius: 8px;
  scroll-snap-align: start;
  background-color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

#latest-posts-slider div a {
  text-decoration: none;
  color: #36454F;
}

#latest-posts-slider div img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 8px;
}

#latest-posts-slider div p {
  font-size: 0.85rem;
  font-weight: bold;
  margin: 0 0 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#latest-posts-slider div p.date {
  font-size: 0.75rem;
  color: #777777;
  margin: 0 0 5px;
}

#latest-posts-slider div p.category {
  font-size: 0.75rem;
  color: #66B2B2;
  margin: 0;
}

#footer {
  margin-top: 3em;
  padding: 2em 0;
  text-align: center;
  font-size: 0.85rem;
  color: #777777;
  border-top: 1px solid #E0E0E0;
}

#footer a {
  color: #66B2B2;
}

#footer p {
  margin: 0.8em auto;
}
.entry-content .table-of-contents {
  position: relative;
  margin: 2.5em 0.5em 4em 0.5em;
  padding: 1.8em 1.5em 1.5em;
  border: solid 2px #66B2B2;
  background: #F8F8F8;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.entry-content .table-of-contents::before {
  position: absolute;
  content: '\f1ea この記事の目次';
  font-family: 'Font Awesome 5 Free', sans-serif;
  font-weight: 900;
  display: inline-block;
  top: -1em;
  left: 1.5em;
  padding: 0.2em 0.8em;
  line-height: 1.1;
  font-size: 1.1rem;
  background: #F8F8F8;
  border-radius: 8px;
  border: solid 2px #66B2B2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  z-index: 1;
}

.entry-content .table-of-contents ul {
  list-style: none;
  line-height: 1.0;
  padding: 0;
  margin: 0;
}

.entry-content .table-of-contents li {
  position: relative;
  list-style-type: none;
  margin-bottom: 0.3em;
  padding-left: 1.0em;
}

.entry-content .table-of-contents > li {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 1em;
}

.entry-content .table-of-contents li li {
  list-style-type: none;
  font-size: 0.9em;
  font-weight: normal;
  padding-left: 1.5em;
  margin-bottom: 0.2em;
}

.entry-content .table-of-contents li li li {
  list-style-type: none;
  font-size: 0.8em;
  padding-left: 2.0em;
  margin-bottom: 0.1em;
}
.entry-content .table-of-contents li a {
  text-decoration: none;
  line-height: 1.2;
  color: #36454F;
  display: block;
  padding: 2px 0;
  transition: color 0.3s ease;
}

.entry-content .table-of-contents li a:hover {
  color: #66B2B2;
  text-decoration: underline;
}

.entry-content .table-of-contents li:last-child {
  margin-bottom: 0;
}

.entry-content .table-of-contents > li:last-child,
.entry-content .table-of-contents ul > li:last-child {
  margin-bottom: 0;
}

.balloon5 {
  width: 100%;
  margin: 2.5em 0;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.balloon5 .faceicon {
  flex-shrink: 0;
  width: 70px;
  margin-right: 15px;
}

.balloon5 .faceicon img {
  width: 100%;
  height: auto;
  border: solid 3px #66B2B2;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.balloon5 .chatting {
  flex-grow: 1;
  min-width: 0;
}

.says {
  display: inline-block;
  position: relative;
  margin: 0;
  padding: 15px 18px;
  border-radius: 12px;
  background: #E6EEF4;
  max-width: 100%;
  word-wrap: break-word;
  line-height: 1.7;
  color: #36454F;
}

.says:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 18px;
  left: -12px;
  border: 8px solid transparent;
  border-right: 8px solid #E6EEF4;
}

.says p {
  margin: 0;
  padding: 0;
}

.btn-horizontal-border {
  position: relative;
  display: inline-block;
  font-weight: bold;
  padding: 12px 0 8px;
  text-decoration: none;
  color: #66B2B2;
  transition: .4s ease;
}

.btn-horizontal-border:before,
.btn-horizontal-border:after {
  position: absolute;
  content: '';
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: #66B2B2;
  transition: .3s ease;
}

.btn-horizontal-border:before {
  top: 100%;
  left: 0;
}

.btn-horizontal-border:after {
  top: 0;
  left: 0;
}

.btn-horizontal-border:hover:before {
  top: calc(100% - 2px);
}

.btn-horizontal-border:hover:after {
  top: 2px;
}

.box {
  margin: 2.5em 0;
  position: relative;
  padding: 1em 2em;
  border-top: solid 2px #66B2B2;
  border-bottom: solid 2px #66B2B2;
  background-color: #E6EEF4;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.box:before, .box:after {
  content: '';
  position: absolute;
  top: -8px;
  width: 2px;
  height: calc(100% + 16px);
  background-color: #66B2B2;
}

.box:before {
  left: 8px;
}

.box:after {
  right: 8px;
}

.box p {
  margin: 0;
  padding: 0;
  color: #36454F;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  border: 1px solid #D3D3D3;
  border-radius: 5px;
  overflow: hidden;
}

table th, table td {
  padding: 10px 15px;
  border: 1px solid #E0E0E0;
  text-align: left;
  vertical-align: top;
  white-space: normal;
  word-break: break-word;
  color: #36454F;
}

table th {
  font-weight: bold;
  background-color: #F0F0F0;
  color: #2F4F4F;
}

.search-tag {
  display: inline-block;
  padding: 2px 8px;
  margin: 4px 4px 4px 0;
  font-size: 0.75rem;
  color: #FFFFFF;
  background-color: #66B2B2;
  border-radius: 3px;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.search-tag a {
  color: #FFFFFF;
  text-decoration: none;
}

.search-tag:hover {
  background-color: #2F4F4F;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
  border-color: #F8F8F8;
}

.search-tag.emphasized {
  border-radius: 0;
  border: 1px solid #2F4F4F;
  background-color: #36454F;
  color: #FFFFFF;
  box-shadow: 1px 1px 0 #2F4F4F;
}

.search-tag.emphasized a {
  color: #FFFFFF;
}

.search-tag.emphasized:hover {
  background-color: #2F4F4F;
  box-shadow: 2px 2px 0 #2F4F4F;
  color: #FFFFFF;
  border-color: #555555;
}

.search-box {
  position: relative;
  margin: 2.5em 0;
  padding: 1em 1.5em;
  border: solid 1px #66B2B2;
  border-radius: 8px;
  background-color: #E6EEF4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-box .box-title {
  position: absolute;
  display: inline-block;
  top: -10px;
  left: 15px;
  padding: 0 10px;
  line-height: 1;
  font-size: 0.9rem;
  background: #F8F8F8;
  color: #66B2B2;
  font-weight: bold;
}

.search-box p {
  margin: 0;
  padding: 0;
  color: #36454F;
}

@keyframes blink {
  0% { opacity: 1; }
  100% { opacity: 0.8; }
}

.shared-buttons {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.shared-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 15px;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 5px;
  font-size: 0.9rem;
  min-width: 20px;
  min-height: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shared-button i {
  font-size: 1.1rem;
}

.shared-button span.text-icon {
  font-size: 0.9rem;
  display: inline-block;
  line-height: 1;
}

.shared-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.twitter-button {
  background-color: #2F4F4F;
}

.hatenabookmark-button {
  background-color: #00A4DE;
}

.facebook-button {
  background-color: #1877F2;
}

.line-button {
  background-color: #00C300;
}

.blogmura-button {
  background-color: #E64A19;
}

#latest-posts-grid {
  display: grid;
  gap: 20px;
  margin-top: 25px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  padding-bottom: 30px;
  border-bottom: 1px solid #BBBBBB;
}

.latest-post-item {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.latest-post-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.latest-post-item a {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #36454F;
}

.latest-post-image {
  width: 100%;
  height: 120px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.latest-post-title {
  font-size: 0.85rem;
}
.latest-post-meta {
  font-size: 0.65rem;
}
.embed-group {
  margin: 0.2em auto;
  max-width: 320px;
  border: solid 1px #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  background-color: #ffffff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.embed-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.embed-group-link {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  text-decoration: none;
  color: #36454F;
}

.embed-group-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  background-color: #e6f7f7;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.embed-group-icon img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
}

.embed-group-content {
  flex-grow: 1;
}

.embed-group-title-label {
  display: block;
  font-size: 0.8em;
  color: #66B2B2;
  margin-bottom: 2px;
  font-weight: 600;
}

.embed-group-title {
  font-size: 0.95em;
  font-weight: bold;
  color: #2F4F4F;
  line-height: 1.3;
}

/* ========================================================= */
/* カテゴリページ（スマホ向けレイアウト調整 - サムネ＆記事本文横並び確定版） */
/* ========================================================= */

@media (max-width: 768px) { /* タブレットとスマホの境界線 */

    /* アーカイブヘッダー（カテゴリ名表示部分） */
    .archive-header-category {
        padding: 15px 10px;
        margin-bottom: 15px;
    }

    .archive-heading {
        font-size: 1.8em;
        padding: 0;
        margin: 0;
        text-align: center;
    }

    /* 記事リスト全体 */
    .archive-entries {
        padding: 0 10px;
        display: block;
    }

    /* 各記事カードの基本設定 */
    .archive-entry {
        display: flex;
        flex-direction: column; /* 要素を上から下に縦積みに並べる */
        margin-bottom: 25px;
        border: 1px solid #eee;
        border-radius: 8px;
        overflow: hidden;
        background-color: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        padding-bottom: 10px; /* カード下部の余白 */
    }

    /* 日付とタイトルを含むヘッダー部分 */
    .archive-entry-header {
        padding: 10px 15px 5px;
        text-align: left;
    }

    .date.archive-date {
        font-size: 0.8em;
        margin-bottom: 3px;
        color: #777;
    }

    .entry-title {
        font-size: 1.1em;
        line-height: 1.3;
        margin-bottom: 5px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2; /* 2行で省略 */
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .entry-title-link {
        display: block;
        color: #333;
        text-decoration: none;
    }

    /* カテゴリリンク */
    .categories {
        display: flex;
        flex-wrap: wrap;
        padding: 0 15px 10px;
        margin-top: 0;
        border-bottom: 1px solid #eee;
        margin-bottom: 10px;
    }

    .archive-category-link {
        font-size: 0.75em;
        padding: 3px 7px;
        margin-right: 5px;
        margin-bottom: 5px;
        border-radius: 3px;
        background-color: #e0f2f7;
        color: #007bff;
        text-decoration: none;
        white-space: nowrap;
    }

    /* === archive-entry-body (サムネイルと本文の親要素を含む) === */
    .archive-entry-body {
        display: flex;
        flex-direction: column; /* 子要素を縦に並べる (サムネ+本文のラッパー、タグ、スター) */
        padding: 0 15px; /* 左右のパディング */
    }

    /* === ★サムネイルと記事冒頭を横並びにするラッパー★ === */
    .thumbnail-and-description-wrapper {
        display: flex; /* このラッパーの子要素（サムネイルと記事本文）を横並びにする */
        align-items: flex-start; /* 上端揃え */
        margin-bottom: 10px; /* 下のタグとの間の余白 */
    }

    /* サムネイルのリンク (サイズ変更なし、flexアイテムとしての調整) */
    .entry-thumb-link {
        flex: 0 0 100px; /* サムネイルの固定幅 (例: 100px) */
        height: 63px; /* 100pxに対して12:6.3の比率 */
        border-radius: 4px; /* 角丸 */
        overflow: hidden;
        margin-right: 10px; /* 本文との間隔 */
        display: block; /* Flexアイテムとしてもblockとして振る舞う */
    }
    
    .entry-thumb {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    /* 記事本文のスタイル (サムネイルの隣) */
    .entry-description {
        flex: 1; /* 残りのスペースを全て占める */
        font-size: 0.9em;
        line-height: 1.5;
        margin-bottom: 0; /* 親要素のmargin-bottomで調整 */
        color: #555;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4; /* 4行で省略（必要に応じて調整） */
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* === タグのスタイル（単独行） === */
    .archive-entry-tags-wrapper {
        display: block; /* 明示的にブロック要素 */
        padding: 0;
        border-top: 1px solid #eee;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .archive-entry-tags {
        display: flex;
        flex-wrap: wrap;
        padding: 5px 0;
        margin-top: 0;
    }

    .archive-entry-tag {
        margin-right: 5px;
        margin-bottom: 5px;
    }

    .archive-entry-tag-link {
        font-size: 0.75em;
        padding: 3px 7px;
        border: 1px solid #ddd;
        border-radius: 3px;
        color: #666;
        text-decoration: none;
        white-space: nowrap;
    }
    
    /* === ソーシャルボタン (はてなスター) のスタイル（単独行） === */
    .social-buttons {
        display: block;
        padding: 10px 0;
        text-align: right;
    }

    .star-container {
        transform: scale(0.9);
        transform-origin: right center;
    }
}

/* さらに小さいスマホ画面向け（追加調整） */
@media (max-width: 480px) {
    .archive-entry {
        margin-bottom: 20px;
    }
    .archive-entry-header {
        padding: 8px 12px 3px;
    }
    .entry-title {
        font-size: 1em;
        -webkit-line-clamp: 2;
    }
    .categories {
        padding: 0 12px 8px;
    }
    .archive-category-link {
        font-size: 0.7em;
        padding: 2px 6px;
    }
    .archive-entry-body {
        padding: 0 12px;
    }
    .thumbnail-and-description-wrapper {
        margin-bottom: 8px;
    }
    .entry-thumb-link {
        flex: 0 0 80px; /* さらに小さい画面ではサムネイルを80pxに */
        height: 42px; /* 80pxに対して6.3/12の比率 (約42px) */
        margin-right: 8px;
    }
    .entry-description {
        font-size: 0.85em;
        -webkit-line-clamp: 3; /* 3行に減らすなど調整 */
    }
    .archive-entry-tags-wrapper {
        padding: 0;
        margin-bottom: 8px;
    }
    .archive-entry-tags {
        padding: 4px 0;
    }
    .archive-entry-tag-link {
        font-size: 0.7em;
        padding: 2px 6px;
    }
    .social-buttons {
        padding: 8px 0 12px;
    }
}
/* バナーを囲むコンテナ */
.header-banners {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px
    padding: 10px 0;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* 統一バナーデザインの基本 */
.banner-item {
    width: 180px;
    height: 120px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.banner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* アイキャッチ画像 */
.banner-item .eyecatch-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
    transition: filter 0.3s ease;
}

.banner-item:hover .eyecatch-img {
    filter: brightness(0.9);
}

.banner-item .banner-message {
    position: relative;
    z-index: 1;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    font-weight: normal;
    text-align: center;
    padding: 5px 8px;
    background-color: rgba(47, 79, 79, 0.5);
    width: 100%;
    box-sizing: border-box;
    line-height: 1.2;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* 記事タイトルのスタイル調整 */
.banner-item .banner-title {
    position: relative;
    z-index: 1;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 8px 8px;
    background-color: rgba(47, 79, 79, 0.6);
    width: 100%;
    box-sizing: border-box;
    line-height: 1.3;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.header-banners {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 0;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}
/* Amazonランキングバナーのコンテナ */
.sidebar-amazon-banners {
    width: 100%;
    max-width: 300px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 各Amazonランキングバナー（共通スタイル） */
.amazon-banner-item {
    display: block;
    width: 100%;
    height: 100px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    color: #ffffff;
    font-family: 'Noto Sans JP', sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amazon-banner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
}

.amazon-banner-item::before {
    content: "PR";
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 2;
}

.amazon-banner-item .banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 10px;
}

.amazon-banner-item .banner-text {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.amazon-banner-item .icon {
    font-size: 40px;
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.9);
}

/* ゲームバナーの色 */
.amazon-banner-game {
    background: linear-gradient(135deg, #FF69B4 0%, #FFD700 100%); /* ピンクからゴールド */
}

/* 家電バナーの色 */
.amazon-banner-electronics {
    background: linear-gradient(135deg, #00BFFF 0%, #7CFC00 100%); /* 青から緑 */
}