/* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 *   ▼▼▼ LEGACY STYLES (旧スタイル) -【背景問題・完全修正版】▼▼▼
 * =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */



body { 
    background-image: url('https://cdn-ak.f.st-hatena.com/images/fotolife/n/nanana_777_ganbaru/20250414/20250414182145.png'); 
    background-repeat: repeat; 
    background-color:#FFD8D8; 
    background-attachment: fixed; 
    background-position: left top;
    font-family: system-ui, sans-serif;
}

/*
 *   【重要】この2個目の@importも元の構造通り復元します
 */
*@charset "UTF-8";
/*
Theme Name: 510.0
Theme URI: http://blog.hatena.ne.jp/-/store/theme/6653586347149180725
Description: Innocentをベースにモバイルユーザビリティの向上を目的に改良した、レスポンシブデザイン対応のブログテーマです。<br><br>改変元のテーマの作者 (半月)<br>改変元のテーマ名(Innocent)<br>改変元のテーマのストアURL(http://blog.hatena.ne.jp/-/store/theme/6653586347149180725)
Author: hogehoge223
Author http://www.gamehuntblog.com/
*/
/* Responsive: yes */
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css");
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

a {
  background-color: transparent; }

a:hover {
  cursor: pointer; }

a:active, a:hover {
  outline: 0; }

b, strong {
  font-weight: bold; }

mark {
  background: #ff0;
  color: #000; }

small {
  font-size: 80%; }

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sup {
  top: -0.5em; }

sub {
  bottom: -0.25em; }

img {
  border: 0; }

svg:not(:root) {
  overflow: hidden; }

figure {
  margin: 1em 40px; }

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0; }

pre {
  overflow: auto; }

code, kbd, pre, samp {
  font-family: monospace, monospace;
  font-size: 1em; }

button, input, optgroup, select, textarea {
  color: inherit;
  font: inherit;
  margin: 0; }

button {
  overflow: visible; }

button, select {
  text-transform: none; }

button, html input[type="button"],
input[type="reset"], input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer; }

button[disabled], html input[disabled] {
  cursor: default; }

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0; }

input {
  line-height: normal; }

input[type="checkbox"], input[type="radio"] {
  box-sizing: border-box;
  padding: 0; }

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
  height: auto; }

input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box; }

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

textarea, input[type="text"], input[type="number"] {
  -webkit-appearance: none;
  border-radius: 0; }

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }

legend {
  border: 0;
  padding: 0; }

textarea {
  overflow: auto; }

optgroup {
  font-weight: bold; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

td, th {
  padding: 0; }

::-moz-selection {
  background-color: #ccc;
  color: #fff; }

::selection {
  background-color: #ccc;
  color: #fff; }

html {
  -webkit-text-size-adjust: none; }

body {
  color: #333;
  font-size: 15px;
  font-family: "ヒラギノ角ゴシック", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meryo, "メイリオ", Osaka, "ＭＳ Ｐゴシック", "MS P Gothic", sans-serif;
  line-height: 1.5;
  word-wrap: break-word;
  background: #fff; }

a {
  color: inherit;
  text-decoration: none; }
  @media screen and (min-width: 1024px) {
    a:hover {
      color: #41769f; } }

h1 {
  font-size: 1.625rem;
  margin-top: 2em;
  margin-bottom: 1em; }

h2 {
  font-size: 1.5rem;
  margin-top: 2em;
  margin-bottom: 1em; }

h5 {
  font-size: 1.125rem;
  margin-top: 1em;
  margin-bottom: 0.5em; }

h6 {
  font-size: 1rem;
  margin-top: 1em;
  margin-bottom: 0.5em; }

p {
  margin: 0 0 1.5em; }

ul, ol {
  margin: 0 0 1.5em 0;
  padding: 0; }

ul {
  list-style: circle; }

ol {
  list-style: decimal; }

ul li, ol li {
  margin-bottom: .35em; }
  ul li:last-child, ol li:last-child {
    margin-bottom: 0; }

li > ul, li > ol {
  margin-bottom: 0;
  margin-left: 1.5em; }

dl {
  margin: 0; }

dt {
  font-weight: 700;
  margin-bottom: 0.75em; }

dd {
  margin: 0 0 1.5em 1.5em; }

/**
  ヘッダー
*/
#globalheader-container {
  color: #eee;
  background: #376b89; }

#blog-title {
  color: #fff;
  font-size: 24px;
  text-align: center;
  padding: 5px 0 16px;
  background: #376b89 !important;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.13); }
  @media screen and (min-width: 1024px) {
    #blog-title {
      text-align: left; } }
  @media screen and (max-width: 1023px) {
    #blog-title {
      padding-top: 6px; } }

.globalheader-off #blog-title {
  padding-top: 14px; }

.header-image-only #title {
  width: 210px;
  height: 26px; }

#title {
  display: inline-block;
  font-size: 25px;
  font-weight: bold;
  line-height: 1.2;
  margin: 0; }
  @media screen and (max-width: 1023px) {
    #title {
      font-size: 22px; } }

#title a {
  color: #fff; }
  @media screen and (max-width: 1023px) {
    #title a a:hover {
      opacity: 0.7; } }

#blog-description {
  color: #e7f1fd;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: normal;
  margin: 8px 0 0; }

@media screen and (max-width: 1023px) {
  #blog-description {
    font-size: 11px;
    margin-top: 6px; } }

/**
  ナビゲーション
*/
#global-navigation {
  background: #376b89;
  font-size: 0;
  margin-top: -18px;
  padding: 5px 0 4px;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.13); }
  #global-navigation .global-navigation-inner {
    -webkit-font-smoothing: antialiased;
    margin: 0 auto;
    height: 40px;
    white-space: nowrap; }
    @media screen and (max-width: 1023px) {
      #global-navigation .global-navigation-inner {
        width: 100%;
        height: 38px;
        padding: 0 16px;
        overflow-x: auto;
        overflow-y: hidden;
        box-sizing: border-box;
        text-align: center;
        -webkit-overflow-scrolling: touch; } }
  #global-navigation .menu {
    display: inline-block; }
    #global-navigation .menu:first-child a {
      padding-left: 0; }
    #global-navigation .menu a {
      display: block;
      color: #d2e2f7;
      font-size: 14px;
      font-weight: bold;
      padding: 10px 10px 0;
      height: 40px;
      text-align: center;
      overflow: hidden;
      box-sizing: border-box; }
      @media screen and (min-width: 1024px) {
        #global-navigation .menu a:hover {
          color: #fff; } }
      @media screen and (max-width: 539px) {
        #global-navigation .menu a {
          padding: 9px 10px 0;
          height: 38px; } }

#content-inner {
  max-width: 656px;
  margin: 0 auto; }

@media screen and (max-width: 767px) {
  #content-inner {
    padding: 0 16px; } }

@media screen and (max-width: 539px) {
  #content-inner {
    padding: 0 12px; } }

#top-box {
  padding-top: 24px; }

@media screen and (max-width: 539px) {
  #top-box {
    padding-top: 20px; } }

#content {
  padding-top: 24px; }

@media screen and (max-width: 539px) {
  #content {
    padding-top: 20px; } }

#top-box + #content {
  border-top: 0; }

.entry, .page-archive .archive-entry {
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 26px;
  padding-bottom: 26px; }

.entry-footer {
  margin-top: 20px; }

.pager {
  margin-bottom: 36px; }

#wrapper {
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 36px; }

.hatena-module {
  margin-bottom: 48px; }

#footer {
  padding-bottom: 28px;
  padding-top: 28px; }

@media screen and (max-width: 1023px) {
  #footer-inner, .breadcrumb-inner {
    padding-left: 36px;
    padding-right: 36px; } }

@media screen and (min-width: 1024px) {
  #footer-inner, .breadcrumb-inner {
    padding-left: 54px;
    padding-right: 54px; }
  .pager {
    margin-bottom: 48px; }
  #wrapper {
    margin-bottom: 48px; } }

#blog-title-inner, #footer-inner, .breadcrumb-inner {
  margin: 0 auto;
  max-width: 656px;
  padding: 0 12px; }

.entry-content {
  font-size: 16px;
  margin-top: 28px; }
  @media screen and (max-width: 539px) {
    .entry-content {
      margin-top: 18px; } }
  .entry-content ul, .entry-content ol {
    margin-left: 22px; }
    .entry-content ul > li > ul, .entry-content ul > li ol, .entry-content ol > li > ul, .entry-content ol > li ol {
      margin-top: .3em; }
  .entry-content ul > li > ul {
    list-style: disc; }
  .entry-content .check {
    border: 1px solid #9ecfc1;
    background: #ecf6f3;
    border-radius: 4px;
    padding: 12px 14px;
    margin-bottom: 1.5em; }
    .entry-content .check ul, .entry-content .check ol {
      margin-left: 20px; }
      .entry-content .check ul:last-child, .entry-content .check ol:last-child {
        margin-bottom: 0; }
    .entry-content .check br {
      display: none; }

.breadcrumb {
  font-size: 0.9375em; }

.breadcrumb-gt {
  margin: 0 4px; }

.breadcrumb-inner {
  font-size: 11px;
  color: #777;
  line-height: 1.5; }

.page-entry .breadcrumb {
  margin-bottom: 0; }

.entry-header {
  position: relative; }

.entry-title {
  color: #444;
  font-size: 26px;
  font-weight: bold;
  line-height: 1.3;
  margin: 0; }
  @media screen and (max-width: 539px) {
    .entry-title {
      font-size: 22px; } }

.date {
  color: #999;
  font-size: 0.875em;
  margin-bottom: 7px; }

.categories {
  font-size: 0.875em;
  margin-top: 12px; }

.categories a {
  border: 1px solid #e6e6e6;
  border-radius: 2px;
  float: left;
  display: block;
  line-height: 32px;
  margin: 0 6px 6px 0;
  padding: 0 12px; }
  @media screen and (min-width: 1024px) {
    .categories a:hover {
      background-color: #f6f6f6;
      color: #333; } }

.entry-header-menu {
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  height: 48px;
  line-height: 1;
  text-align: center;
  width: 48px;
  position: absolute;
  top: 0;
  right: -55px; }

.entry-header-menu a::before {
  content: "\f044";
  display: block;
  font: normal 16px/48px FontAwesome;
  margin-left: 4px;
  margin-top: 2px;
  vertical-align: middle; }

.entry-header-menu a {
  font-size: 0;
  display: block;
  height: 100%;
  width: 100%; }

@media screen and (max-width: 1023px) {
  .entry-header-menu {
    display: none !important; } }

.entry-header .social-buttons {
  font-size: 0;
  line-height: 1;
  margin: 12px 0 -8px; }

.entry-header .social-button-item {
  display: inline-block;
  margin: 0 8px 8px 0; }

.customized-header {
  margin-top: 18px; }

.entry-content > *:first-child {
  margin-top: 0; }

.entry-content > *:last-child {
  margin-bottom: 0; }

.entry-content .entry-see-more {
  display: inline-block;
  color: #f8f8f8;
  font-size: 14px;
  line-height: 44px;
  min-width: 176px;
  text-align: center;
  text-decoration: none;
  background: #333;
  border-radius: 2px;
  box-sizing: border-box;
  transition: all linear .2s; }
  @media screen and (min-width: 1024px) {
    .entry-content .entry-see-more:hover {
      background-color: #555; } }

.entry-content .footnote {
  font-size: 0.875em;
  line-height: 1.5; }

.entry-content .footnote p.footnote {
  font-size: 1em;
  margin: 0 0 0.5em; }

.entry-content .footnote p.footnote:last-child {
  margin-bottom: 0; }

.entry-footer-section {
  color: #999;
  display: block;
  font-size: 0.875em;
  margin-bottom: 24px; }

.entry-footer .social-buttons {
  font-size: 0;
  line-height: 1;
  margin-bottom: 24px; }

.entry-footer .social-button-item {
  display: inline-block;
  margin: 0 8px 8px 0; }

.page-index .customized-footer, .page-category-category_name .customized-footer {
  display: none; }

.customized-footer {
  margin-bottom: 28px; }

.entry-content a, .comment-content a {
  color: #3872b8;
  text-decoration: underline; }

.entry-content a.keyword, .comment-content a.keyword {
  border-bottom: 1px dotted;
  text-decoration: none; }

.table-of-contents, .entry-content ul.table-of-contents {
  border: 1px solid #e6e6e6;
  padding: 14px 18px;
  margin: 0 0 25px 0;
  list-style: circle; }
  .table-of-contents li, .entry-content ul.table-of-contents li {
    margin-left: 20px;
    margin-bottom: 0; }
    .table-of-contents li:not(:last-child), .entry-content ul.table-of-contents li:not(:last-child) {
      padding-bottom: 4px; }
  .table-of-contents ul, .entry-content ul.table-of-contents ul {
    margin-top: 4px;
    list-style: disc; }

h3 {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background-color: #43759d;
  border-left: 5px solid #629fcc;
  padding: 12px 14px 12px 14px;
  border-radius: 4px;
  line-height: 1.3;
  letter-spacing: normal;
  margin: 1.5em 0 1.3em; }
  @media screen and (max-width: 539px) {
    h3 {
      padding: 10px 12px; } }

h4 {
  color: #444;
  font-size: 19px;
  font-weight: bold;
  padding: 0 0 6px 0;
  border-bottom: 2px solid #5095c5;
  letter-spacing: normal;
  margin: 1.5em 0 1.2em; }
  @media screen and (max-width: 1023px) {
    h4 {
      margin-bottom: 1em; } }

h5 {
  color: #444;
  font-size: 20px;
  font-weight: bold;
  border-left: 4px solid #477ea8;
  padding-left: 12px;
  margin: 1.5em 0 1.2em; }
  @media screen and (max-width: 1023px) {
    h5 {
      margin-bottom: 1em; } }

.entry-content table {
  width: 100%;
  font-size: 14px;
  margin-bottom: 25px; }
  @media screen and (min-width: 1024px) {
    .entry-content table {
      border: 1px solid #dadada; } }
  @media screen and (max-width: 1023px) {
    .entry-content table {
      display: block;
      overflow-x: auto;
      word-wrap: break-word;
      word-break: keep-all; } }
  @media screen and (max-width: 539px) {
    .entry-content table {
      font-size: 13px; } }
  .entry-content table tr:nth-child(odd) td {
    background: #f8f8f8; }
  .entry-content table th, .entry-content table td {
    padding: 8px 9px;
    border: 1px solid #d8d8d8; }
    @media screen and (max-width: 1023px) {
      .entry-content table th, .entry-content table td {
        padding: 7px 9px;
        border: 1px solid #ddd; } }
  .entry-content table th {
    font-weight: bold;
    text-align: left;
    background: #f8f8f8; }

pre, .entry-content pre {
  border: 1px solid #e6e6e6;
  font-family: Consolas, "Courier New", Courier, Monaco, monospace;
  font-size: 0.9375em;
  line-height: 1.4;
  margin: 0 0 1.7em;
  padding: 1.6em;
  word-wrap: normal; }

code, .entry-content code {
  background-color: #fee5ee;
  border: 0;
  border-radius: 0;
  color: #f92672;
  font-family: Consolas, "Courier New", Courier, Monaco, monospace;
  font-size: 0.9375em;
  margin: 0;
  padding: 0; }

pre > code, .entry-content pre > code {
  color: inherit;
  font-family: inherit;
  font-size: 1em;
  margin: 0;
  padding: 0; }

blockquote, .entry-content blockquote {
  border: 1px solid #e6e6e6;
  color: #4a4a4a;
  margin: 1.85em 0 1.7em;
  padding: 32px 24px 0.1em;
  position: relative; }

@media screen and (max-width: 767px) {
  blockquote, .entry-content blockquote {
    padding: 28px 18px 0.1em; } }

blockquote::before, .entry-content blockquote::before {
  background-color: #fff;
  content: "\f10d";
  display: inline-block;
  font: normal 28px/1 FontAwesome;
  vertical-align: middle;
  position: absolute;
  top: -10px;
  left: 24px; }

blockquote cite, .entry-content blockquote cite {
  display: block;
  margin-bottom: 1.5em;
  text-align: right; }

blockquote > *:first-child, .entry-content blockquote > *:first-child {
  margin-top: 0; }

hr {
  background-color: #e6e6e6;
  border: 0;
  height: 1px;
  margin: 0 0 28px; }

img {
  height: auto;
  max-width: 100%;
  vertical-align: middle; }

embed, iframe, object {
  max-width: 100%; }

.hatena-asin-detail ul {
  margin: 0; }
  .hatena-asin-detail ul li {
    font-size: 14px; }
    @media screen and (max-width: 539px) {
      .hatena-asin-detail ul li {
        font-size: 13px; } }
    .hatena-asin-detail ul li:not(:last-child) {
      margin-bottom: 3px; }

h2.archive-heading {
  color: #444;
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 13px; }

.archive-entry-body p.entry-description {
  margin: 0 0 14px; }

/* ASIN, iTunes */
.hatena-asin-detail, .itunes-embed {
  border: 1px solid #e6e6e6;
  font-size: 0.9375em;
  line-height: 1.5;
  margin: 0 0 1.7em;
  padding: 12px 17px;
  position: relative; }
  .hatena-asin-detail:before, .itunes-embed:before {
    color: #e6e6e6;
    display: inline-block;
    font: normal normal normal 32px/1 FontAwesome;
    vertical-align: middle;
    position: absolute;
    bottom: 0;
    right: 0; }
  @media screen and (max-width: 539px) {
    .hatena-asin-detail, .itunes-embed {
      padding: 12px 14px 10px; } }

.itunes-embed::before {
  content: "\f179"; }

.hatena-asin-detail:before {
  content: "\f270"; }

.hatena-asin-detail .hatena-asin-detail-image, .hatena-asin-detail .itunes-embed .itunes-embed-image {
  float: left;
  margin-right: 1.6em;
  max-width: 60px; }
  @media screen and (max-width: 539px) {
    .hatena-asin-detail .hatena-asin-detail-image, .hatena-asin-detail .itunes-embed .itunes-embed-image {
      margin-right: 1.2em; } }

@media screen and (min-width: 768px) {
  .hatena-asin-detail .hatena-asin-detail-image, .itunes-embed .itunes-embed-image {
    max-width: 100px; } }

.hatena-asin-detail .hatena-asin-detail-info, .itunes-embed .itunes-embed-info {
  overflow: hidden; }

.hatena-asin-detail .hatena-asin-detail-title, .itunes-embed .itunes-embed-title {
  margin-bottom: 0.5em; }
  @media screen and (min-width: 1024px) {
    .hatena-asin-detail .hatena-asin-detail-title, .itunes-embed .itunes-embed-title {
      font-size: 1.1em; } }

.hatena-asin-detail .hatena-asin-detail-info ul li:last-child, .itunes-embed .itunes-embed-info ul li:last-child {
  margin-top: 0.4em; }

/* Repeatable Patterns
   ========================================================================== */
.hatena-image-right {
  margin: 0 0 1.5em 1.5em; }

.hatena-image-left {
  margin: 0 1.5em 1.5em 0; }

#content-inner::before, #content-inner::after, #main-inner::before, #main-inner::after, .categories::before, .categories::after, .entry-content::before, .entry-content::after, .comment-box::before, .comment-box::after, .pager::before, .pager::after, #box2-inner::before, #box2-inner::after, .hatena-urllist::before, .hatena-urllist::after {
  content: "";
  display: table; }

#content-inner::after, #main-inner::after, .categories::after, .entry-content::after, .comment-box::after, .pager::after, #box2-inner::after, .hatena-urllist::after {
  clear: both; }

@media screen and (min-width: 1024px) {
  #blog-title-inner, #content-inner, #footer-inner, .global-navigation-inner, .breadcrumb-inner, .main-navigation-inner {
    max-width: 1065px; }
  .main-navigation-inner {
    padding-left: 54px;
    padding-right: 54px; }
  #content {
    padding-bottom: 48px; }
  #wrapper {
    border-bottom: 0;
    box-sizing: border-box;
    float: left;
    margin-right: -330px;
    margin-bottom: 0;
    padding-right: 330px;
    width: 100%; }
  #main-inner {
    border-right: 1px solid #e6e6e6;
    padding-right: 30px; }
  #box2 {
    float: right;
    width: 330px; }
  #box2-inner {
    border-left: 1px solid #e6e6e6;
    margin-left: -1px;
    padding-left: 30px; } }

@media screen and (min-width: 1280px) {
  #blog-title-inner, #content-inner, #footer-inner, .breadcrumb-inner, .global-navigation-inner, .main-navigation-inner {
    max-width: 1101px; } }

#recommend-entries {
  background-color: #fff;
  padding: 48px 0; }

#recommend-entries-inner {
  margin: 0 auto;
  max-width: 1101px;
  padding: 0 54px; }

#recommend-entries .hatena-module-entries-access-ranking {
  margin-bottom: 0; }

#recommend-entries .urllist-with-thumbnails {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin: 0; }

#recommend-entries .urllist-item {
  border-top: 0;
  padding: 0;
  width: 20%;
  position: relative; }

@media screen and (max-width: 1279px) {
  #recommend-entries-inner {
    max-width: 1065px; }
  #recommend-entries .urllist-item {
    width: 25%; }
  #recommend-entries .urllist-item:nth-child(5) {
    display: none; } }

@media screen and (max-width: 1023px) {
  #recommend-entries-inner {
    max-width: 656px; }
  #recommend-entries .urllist-item {
    width: 33.3333%; }
  #recommend-entries .urllist-item:nth-child(4) {
    display: none; } }

@media screen and (max-width: 767px) {
  #recommend-entries-inner {
    padding: 0 36px; } }

@media screen and (max-width: 599px) {
  #recommend-entries .urllist-item {
    width: 50%; }
  #recommend-entries .urllist-item:nth-child(3) {
    display: none; } }

@media screen and (max-width: 539px) {
  #recommend-entries {
    display: none; } }

#recommend-entries .urllist-image-link {
  display: block;
  margin: 0;
  overflow: hidden; }

#recommend-entries .urllist-image {
  box-sizing: border-box;
  float: none;
  margin: 0;
  opacity: 0.8;
  width: 100%;
  -webkit-transition: all .3s ease;
  transition: all .3s ease; }

#recommend-entries .urllist-item:hover .urllist-image {
  opacity: 1;
  -webkit-transform: scale(1.2);
  transform: scale(1.2); }

#recommend-entries .urllist-title-link {
  background-color: rgba(0, 0, 0, 0.5);
  background: transparent -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  background: transparent linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  box-sizing: border-box;
  color: #fff;
  font-size: 0.8667em;
  font-weight: 700;
  line-height: 1.2;
  padding: 16px 12px 11px;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0; }

#recommend-entries .bookmark-widget-counter {
  display: inline-block;
  line-height: 1;
  position: absolute;
  top: 10px;
  right: 12px; }

.page-archive .archive-entry-body {
  margin-top: 28px; }

.page-archive .entry-thumb {
  margin: 28px 26px 26px 0; }

@media screen and (min-width: 768px) {
  .page-archive .entry-thumb {
    margin-right: 32px;
    margin-bottom: 32px; } }

.page-archive .social-buttons {
  clear: both;
  display: block; }

.comment-box {
  text-align: right; }

.comment-box .comment {
  list-style: none;
  margin: 0;
  padding: 0; }

.entry-comment {
  border-top: 1px solid #ddd;
  padding: 20px 0 20px 60px;
  position: relative;
  text-align: left; }

.entry-comment:first-child {
  border-top: 0;
  margin-top: 16px;
  padding-top: 0; }

.entry-comment .comment-user-name {
  color: #222;
  display: block;
  font-weight: 700;
  margin-bottom: 6px; }

.entry-comment .comment-user-name img {
  border-radius: 2px;
  height: 40px !important;
  width: 40px !important;
  position: absolute;
  top: 28px;
  left: 0; }

.entry-comment:first-child .comment-user-name img {
  top: 0; }

@media screen and (min-width: 768px) {
  .entry-comment {
    padding-left: 72px; }
  .entry-comment .comment-user-name img {
    height: 48px !important;
    width: 48px !important; } }

.comment-content {
  margin-bottom: 12px; }

.comment-content > p:last-child {
  margin-bottom: 0; }

.comment-metadata {
  color: #999;
  font-size: 0.9333em;
  margin-bottom: 0; }

.leave-comment-title {
  color: #333;
  border: 1px solid #ddd;
  box-sizing: border-box;
  display: inline-block;
  font-size: 14px;
  line-height: 40px;
  min-width: 170px;
  text-align: center;
  border-radius: 2px; }

@media screen and (min-width: 768px) {
  .leave-comment-title:hover {
    background-color: #f6f6f6;
    color: #333; } }

/**
  ページャー
*/
.pager {
  font-size: 0.9375em; }
  .pager.autopagerize_insert_before {
    margin-right: 20px; }
  .pager a {
    text-decoration: underline; }

.pager-prev::before, .pager-next::before {
  color: #999;
  display: block;
  font-size: 0.875em;
  margin-bottom: 3px;
  text-transform: uppercase; }

.pager-prev {
  float: left;
  text-align: left;
  width: 48%; }
  .pager-prev::before {
    content: "前の記事"; }

.pager-next {
  float: right;
  text-align: right;
  width: 48%; }
  .pager-next::before {
    content: "次の記事"; }

.pager-arrow {
  display: none; }

.hatena-module {
  font-size: 0.9375em;
  line-height: 1.5; }

.hatena-module-title {
  color: #222;
  font-weight: 700;
  margin-bottom: 18px; }

.hatena-urllist {
  list-style: none;
  margin: -12px 0;
  padding: 0; }

.hatena-urllist li {
  border-top: 1px solid #e6e6e6;
  padding: 12px 0;
  position: relative; }

.hatena-urllist li:first-child {
  border-top: 0; }

.id {
  display: block;
  font-weight: 700;
  margin-bottom: 8px; }

.profile-icon {
  border-radius: 2px;
  float: left;
  height: 48px;
  margin: 0 20px 20px 0;
  width: 48px; }

.page-about .entry-content img.profile-icon {
  margin: 0 8px 8px 0; }

.profile-description > p:last-child {
  margin-bottom: 0; }

.hatena-follow-button-box {
  margin-top: 24px; }

.hatena-follow-button-box + .hatena-follow-button-box {
  margin-top: 8px; }

/**
  最新記事・注目記事
*/
.urllist-date-link {
  color: #999;
  font-size: 13px;
  overflow: hidden;
  padding-bottom: 3px; }

.urllist-title-link {
  font-size: 1em; }

.urllist-categories {
  font-size: 0.8667em;
  overflow: hidden;
  padding-top: 3px; }

.urllist-category-link {
  font-size: 1em;
  margin-right: 6px; }

.urllist-entry-body {
  color: #999;
  font-size: 0.8667em;
  line-height: inherit;
  overflow: hidden;
  padding-top: 3px; }

.urllist-with-thumbnails {
  margin: -20px 0; }
  .urllist-with-thumbnails li::before {
    content: none; }
  .urllist-with-thumbnails li {
    border-top: 1px solid #e6e6e6;
    padding: 14px 0; }
    .urllist-with-thumbnails li:first-child {
      border-top: 0; }
    .urllist-with-thumbnails li .urllist-image {
      float: left;
      margin: 0 13px 0 0;
      border-radius: 3px;
      width: 70px;
      height: 70px; }
      @media screen and (min-width: 1024px) {
        .urllist-with-thumbnails li .urllist-image:hover {
          opacity: .8; } }

/* Recent Comment */
.recent-comments .user-id img {
  border-radius: 2px;
  margin-right: 5px;
  vertical-align: middle;
  position: relative;
  top: -2px; }

.recent-comments .recent-comment-time {
  color: #999;
  font-size: 0.8667em;
  font-style: normal;
  opacity: 1; }

/* Archive - List Style */
.hatena-urllist .archive-module-year {
  padding-left: 24px; }

.hatena-urllist .archive-module-year .archive-module-months {
  margin-bottom: -2px;
  margin-top: 2px; }

.hatena-urllist .archive-module-year .archive-module-month {
  margin-left: 0;
  padding: 2px 0 2px 24px; }

.hatena-urllist .archive-module-year .archive-module-button {
  display: inline-block;
  font-size: 0;
  opacity: 1;
  position: absolute;
  top: 14px;
  left: 7px; }

.hatena-urllist .archive-module-year .archive-module-show-button, .hatena-urllist .archive-module-year .archive-module-hide-button {
  opacity: 1; }

.hatena-urllist .archive-module-year .archive-module-show-button::before, .hatena-urllist .archive-module-year .archive-module-hide-button::before {
  color: #999;
  font: normal 16px/1 FontAwesome;
  display: inline-block;
  -webkit-transition: .3s all ease;
  transition: all .3s ease;
  vertical-align: middle;
  position: relative; }

.hatena-urllist .archive-module-year .archive-module-show-button:hover::before, .hatena-urllist .archive-module-year .archive-module-hide-button:hover::before {
  color: #111; }

.hatena-urllist .archive-module-year .archive-module-show-button::before {
  content: "\f105"; }

.hatena-urllist .archive-module-year .archive-module-hide-button::before {
  content: "\f107";
  left: -3px; }

/* Archive - Calendar Style */
.archive-module-calendar .archive-module-calendar-selector {
  margin-bottom: 24px; }

.archive-module-calendar table {
  font-size: 1em;
  margin-bottom: 0; }

.archive-module-calendar th, .archive-module-calendar td {
  font-size: 0.9333em;
  line-height: 40px;
  padding: 0; }

.archive-module-calendar th a, .archive-module-calendar td a {
  text-decoration: underline; }

/**
  カテゴリ
*/
.hatena-module-category .hatena-urllist {
  margin: 0 0 -6px;
  padding: 0; }

.hatena-module-category .hatena-urllist li::before {
  content: none; }

.hatena-module-category .hatena-urllist li {
  border-top: 0;
  display: block;
  float: left;
  margin: 0 6px 6px 0;
  padding: 0; }

.hatena-module-category .hatena-urllist li a {
  border: 1px solid #e6e6e6;
  border-radius: 2px;
  display: block;
  font-size: 0.8667em;
  line-height: 32px;
  padding: 0 12px; }

@media screen and (min-width: 768px) {
  .hatena-module-category .hatena-urllist li a:hover {
    background-color: #f6f6f6;
    color: #333; } }

/**
  検索
*/
.search-form, .search-result-form {
  background-color: transparent;
  border-radius: 0;
  border: 0;
  box-sizing: border-box;
  max-width: 336px;
  position: relative; }

.search-form .search-module-input, .search-result .search-result-input {
  width: 100%;
  border: 1px solid #ddd;
  box-shadow: none;
  height: 44px;
  line-height: 44px;
  outline: 0;
  padding: 8px 52px 8px 12px;
  box-sizing: border-box; }

.search-result-form .search-result-input {
  font-size: 0.9375em; }

@media screen and (min-width: 1024px) {
  .search-result-input:hover {
    border-color: #bbb; } }

.search-form .search-module-button, .search-result-form .search-result-button {
  background: transparent url("https://cdn.blog.st-hatena.com/images/theme/search.png?version=134fd33f04042077bce9d62c4d3598") no-repeat center center;
  border: 0;
  height: 44px;
  line-height: 44px;
  opacity: 0.6;
  overflow: hidden;
  padding: 0;
  text-indent: 100%;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  width: 44px;
  white-space: nowrap;
  position: absolute;
  top: 1px;
  right: 1px; }

.search-form .search-module-button:hover, .search-result-form .search-result-button:hover {
  opacity: 1; }

.search-result {
  margin-bottom: 40px; }

.search-result + p {
  margin-bottom: 36px; }

.page-archive span.highlight {
  background-color: #fee5ee;
  border: 0;
  border-radius: 0;
  color: #f92672;
  font-weight: 700;
  margin: 0;
  padding: 0; }

/* Group */
.hatena-module-circles .circle-urllist {
  margin: -20px 0; }

.hatena-module-circles .circle-urllist li {
  padding: 20px 0; }

.hatena-module-circles .circle-urllist li a .circle-image {
  border: 1px solid #e6e6e6;
  border-radius: 2px;
  box-sizing: border-box;
  height: 44px;
  margin-right: 20px;
  padding: 8px;
  width: 44px; }

/**
  フッター
*/
#footer {
  background-color: #3a3a3a;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875em;
  text-align: center; }

@media screen and (min-width: 1024px) {
  #footer {
    text-align: left; }
  #footer a:hover {
    color: #fff; } }

#footer address, #footer p {
  margin: 0; }

#footer address img {
  display: none; }

#footer p {
  color: rgba(255, 255, 255, 0.5); }

/**
  カラーボックス
*/
#colorbox, #cboxOverlay, #cboxWrapper {
  overflow: visible; }

#cboxOverlay {
  background-color: #000;
  opacity: 0.85 !important; }

#colorbox #cboxContent, #colorbox #cboxContent #cboxLoadedContent {
  background-color: transparent;
  overflow: visible !important; }

.cboxPhoto {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7); }

/*
  広告
*/
.google-afc-image, .google-afc-text {
  font-family: inherit;
  font-size: inherit;
  margin: 0 0 32px; }

.page-archive .google-afc-image, .page-archive .google-afc-text {
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 36px;
  padding-bottom: 36px; }

@media screen and (min-width: 768px) {
  .page-archive .google-afc-image, .page-archive .google-afc-text {
    margin-bottom: 48px;
    padding-bottom: 48px; } }

.google-afc-image div.google_ads_by, .google-afc-text div.google_ads_by {
  font-size: 13px;
  margin-bottom: 8px; }

.google-afc-image ul, .google-afc-text ul {
  margin: 0; }

.google-afc-image li, .google-afc-text li {
  margin: 0 !important; }

.google-afc-image ul .title, .google-afc-text ul .title {
  font-size: 17px;
  margin-bottom: 8px; }

.google-afc-image ul .title a, .google-afc-text ul .title a {
  font-size: 17px !important;
  letter-spacing: normal;
  padding: 0; }

.google-afc-image ul .summary, .google-afc-text ul .summary {
  font-size: 13px !important;
  margin: 0 8px 0 0; }

.google-afc-image ul .visible_url, .google-afc-text ul .visible_url {
  font-size: 13px; }

.google-afc-image ul .visible_url a, .google-afc-text ul .visible_url a {
  font-size: 13px !important;
  letter-spacing: normal;
  padding: 0; }

.google-afc-image .open-pro-modal, .google-afc-text .open-pro-modal {
  font-size: 13px;
  padding-top: 16px; }

.custom-adsense-label {
  color: #888;
  font-size: 12px;
  margin-bottom: 8px; }

.custom-adsense-style {
  text-align: center;
  margin: 0 auto; }

@media screen and (max-width: 479px) and (min-width: 336px) {
  .custom-adsense-style {
    width: 336px;
    height: 280px; } }

@media screen and (max-width: 335px) {
  .custom-adsense-style {
    width: 300px;
    height: 250px; } }

.profile-icon {
  border-radius: 4px;
  margin: 0 14px 20px 0; }

.hatena-module-title {
  font-size: 14px;
  font-weight: bold;
  color: #464646;
  border-bottom: 1px solid #bbb;
  padding-bottom: 4px; }

.sidebar-adsense {
  text-align: center; }

.ssPanel {
  padding: 12px 0 !important; }

.ssPanel div.ssTitle {
  padding-left: 13px !important; }

.ssPanel > div.ssOriginalTemplateImgContainer {
  padding-left: 0 !important; }

/**
  アプリーチ
*/
#appreach-box {
  max-width: 500px;
  border: 1px solid #ddd;
  background: #fff;
  padding: 4px 6px;
  border-radius: 4px;
  line-height: 1.4;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.06); }

#appreach-box br {
  display: none; }

#appreach-image {
  margin-right: 15px !important;
  margin-bottom: 0 !important; }

#appreach-appname {
  color: #3a3a3a;
  font-size: 18px;
  font-weight: bold; }

#appreach-developer, #appreach-price, .appreach-powered {
  color: #888;
  font-size: 11px !important; }

#appreach-box .appreach-links {
  margin-top: 10px; }

#appreach-itunes-link {
  margin-right: 10px; }

@media screen and (min-width: 768px) {
  #appreach-box .appreach-links img:hover {
    opacity: 0.8; } }

/**
  フォローボタン
**/
.custom-sns-follow-button {
  text-align: center;
  font-size: 0;
  margin-left: -8px;
  margin-right: -8px; }
  .custom-sns-follow-button.article-bottom {
    margin-top: 28px; }
  .custom-sns-follow-button.narrow {
    margin-left: -5px;
    margin-right: -5px; }
  .custom-sns-follow-button .title {
    color: #555;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 12px; }
  .custom-sns-follow-button ul {
    margin: 0; }
  .custom-sns-follow-button.narrow li {
    padding: 0 5px; }
    .custom-sns-follow-button.narrow li a {
      padding: 9px 0; }
  .custom-sns-follow-button li {
    display: inline-block;
    width: 33.3%;
    font-size: 14px;
    box-sizing: border-box;
    padding: 0 8px; }
    @media screen and (max-width: 539px) {
      .custom-sns-follow-button li {
        padding: 0 5px; } }
    .custom-sns-follow-button li a {
      display: block;
      color: #fff;
      padding: 13px 0;
      text-align: center;
      text-decoration: none;
      border-radius: 3px;
      background: #fff; }
      @media screen and (min-width: 1024px) {
        .custom-sns-follow-button li a {
          transition: linear all .3s; } }
      @media screen and (max-width: 539px) {
        .custom-sns-follow-button li a {
          padding: 9px 0; } }
    .custom-sns-follow-button li .hatena {
      background: #777;
      border: 1px solid #777; }
    .custom-sns-follow-button li .twitter {
      background: #559fee;
      border: 1px solid #559fee; }
    .custom-sns-follow-button li .feedly {
      background: #60c667;
      border: 1px solid #60c667; }
    @media screen and (min-width: 768px) {
      .custom-sns-follow-button li a:hover {
        color: #fff; }
      .custom-sns-follow-button li .hatena:hover {
        color: #777;
        background: #fff; }
      .custom-sns-follow-button li .twitter:hover {
        color: #559fee;
        background: #fff; }
      .custom-sns-follow-button li .feedly:hover {
        color: #60c667;
        background: #fff; } }

/**
  Millard
*/
.ssLimitedContainerHeader {
  margin-top: 20px; }

.ssArticlesContainer .ssImg {
  border-radius: 2px; }




/*
 *   【2. サイト共通：記事一覧・関連記事エリア】
 */
 [class^="recommend"] {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
 

[class^="recommend"] {
    box-sizing: border-box;
}

.recommend-container {
    padding: 20px 1vw 0;
    background: transparent;
}
.recommend-wrap {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
}
.recommend-item {
    width: 50%;
}
.recommend-figure {
    margin-bottom: 10px;
    padding-top: 52.5%;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
.recommend-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    transition: .3s ease-in-out;
}
.recommend-title {
    display: block;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    line-height: 1.4;
    margin: 10px 0 20px;
}
.recommend-link {
    text-decoration: none;
    color: #454545!important;
    display: block;
    padding: 0 1.2vw 1vw;
}
@media (min-width: 992px) {
    .recommend-container {
        padding: 20px 20px 0;
    }
    .recommend-item {
        width: 25%;
    }
    .recommend-link {
        padding: 0 8px 8px;
    }
}
.recommend-link:hover .recommend-figure img {
    transform: scale(1.05);
}
.recommend-figure::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.2);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
    transition: .2s ease-in-out;
}
.recommend-link:hover .recommend-figure::before {
    opacity: 1;
}


/*
 *   【3. サイト共通：サイドバー】
 */
span.author.vcard {
    display:none;
}
.follow-label {
    font-weight: bold;
    font-size: 1em;
    text-align: center;
    line-height: 1.5;
}
.follow-btn-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 0 0 1em;
}
.sidebar {
    font-family: Arial, sans-serif;
    max-width: 300px;
    margin: 0 auto;
}
.sidebar-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e3e7f0 100%);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.my-profile-area {
    text-align: center;
    font-size: 14px;
    word-break: break-all;
}
.my-profile-avator {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}
.my-profile-avator img {
    border-radius: 50%;
    border: 3px solid transparent;
    background: linear-gradient(45deg, #ff9800, #ffb300);
    padding: 3px;
    width: 128px;
    height: 128px;
    transition: transform 0.3s;
}
.my-profile-avator img:hover {
    transform: scale(1.05);
}
.my-profile-name {
    font-weight: bold;
    font-size: 24px;
    margin: 20px 0 40px 0;
    position: relative;
    box-sizing: border-box;
    color: #222;
}
.my-profile-name::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -50px;
    bottom: -20px;
    width: 100px;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, #ff9800, #ffb300);
}
.my-profile-text {
    width: 100%;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}
.search-section input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}
.search-section input[type="text"]:focus {
    border-color: #449DE5;
    outline: none;
}
.recent-posts-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e3e7f0 100%);
    border-radius: 12px;
    padding: 15px;
}
.recent-post {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.recent-post:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.recent-post img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}
.recent-post a {
    font-size: 14px;
    font-weight: bold;
    color: #222;
    text-decoration: none;
}
.archive-section details {
    margin-bottom: 0;
}
.archive-section summary {
    cursor: pointer;
}
.archive-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}
.archive-list li {
    margin-bottom: 8px;
}
.archive-list li a {
    color: #222;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s, background 0.3s;
}
.archive-list li a:hover {
    color: #449DE5;
    background: #f0f0f0;
    border-radius: 4px;
    padding: 2px 4px;
}
.sponsor-section {
    overflow: hidden;
    width: 100%;
    background: transparent;
    box-shadow: none;
}
.sponsor-fade-container {
    position: relative;
    width: 250px;
    height: 200px;
    margin: 0 auto;
}
.sponsor-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    height: 200px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.sponsor-slide img {
    width: 250px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}
.sponsor-slide:nth-child(1) {
    opacity: 1;
    animation: fadeSlide 9s infinite;
}
.sponsor-slide:nth-child(2) {
    animation: fadeSlide 9s infinite 3s;
}
.sponsor-slide:nth-child(3) {
    animation: fadeSlide 9s infinite 6s;
}
@keyframes fadeSlide {
    0% { opacity: 0; }
    3.33% { opacity: 1; }
    30% { opacity: 1; }
    33.33% { opacity: 0; }
    100% { opacity: 0; }
}
.sponsor-section:hover .sponsor-slide {
    animation-play-state: paused;
}


/* =====================================================================
 *   ▲▲▲ LEGACY STYLES (旧スタイル) ここまで ▲▲▲
 * ===================================================================== */

/* =====================================================================
 *   ▼▼▼ NEW COMPONENT STYLES (Ver.3.0) -【整理・統合済み】▼▼▼
 * ===================================================================== */

/* =====================================================================
   00. Base & System (基本スタイルとシステム対応)
====================================================================== */
/* --- 記事本文エリアの基本スタイル --- */
.entry-content p {
    margin-bottom: 1.5em; 
}
.entry-content ul {
    list-style: none; 
}
.entry-content ul li {
    word-break: keep-all; 
    white-space: normal; 
    overflow-wrap: anywhere; 
    hyphens: none; 
    text-rendering: optimizeSpeed;
    min-height: 1.8em; 
    box-sizing: border-box;
    overflow-x: auto; 
    will-change: transform;
}
.entry-content ul li:has(span:first-child:where(:contains("✔"))) {
    display: flex;
    flex-wrap: nowrap; 
}

@media (max-width: 600px) {
    .entry-content ul li:has(span:first-child:where(:contains("✔"))) {
        min-width: 120px; 
    }
}
.entry-content img {
    max-width: 100%;
    height: auto;
    aspect-ratio: attr(width) / attr(height);
    object-fit: contain;
    will-change: transform;
    loading: lazy;
}
.entry-content img.hatena-fotolife:first-of-type {
    loading: eager;
}
.entry-content p:has(img), .entry-content div:has(img) {
    min-height: 100px;
    display: block;
}
@media (max-width: 600px) {
    .entry-content p:has(img), .entry-content div:has(img) {
        min-height: 80px;
    }
}

/* --- 広告タグのスタイルリセット --- */
.ad-wrapper, p:has(> .ad-wrapper), div:has(> .ad-wrapper), ins.adsbygoogle {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}


/* =====================================================================
   01. Component: Heading (見出し)【最終確定版】
====================================================================== */
/* ▼▼▼ 左側の余白（padding-left）を調整し、不要な.iconルールを削除 ▼▼▼ */
.karage-heading {
  position: relative;
  font-size: clamp(1.2em, 4vw, 1.6em);
  font-weight: bold;
  color: #fff !important;
  padding: 12px 20px 12px 25px; /* 左の余白を55pxから25pxに変更 */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin: 40px 0 20px;
  list-style: none;
  line-height: 1.5;
}

/* 不要になったため、このルールは削除します → .karage-heading > .icon { ... } */

.karage-heading::-webkit-details-marker { display: none; }

/* --- h3 見出しバリエーション --- */
.karage-heading--green { background: linear-gradient(135deg, #2e7d32, #66bb6a); }
.karage-heading--blue { background: linear-gradient(135deg, #0277bd, #4FC3F7); }
.karage-heading--orange { background: linear-gradient(135deg, #ef6c00, #ff9800); }
.karage-heading--red { background: linear-gradient(135deg, #c62828, #f44336); }
.karage-heading--purple { background: linear-gradient(135deg, #4a148c, #9c27b0); }
.karage-heading--yellow { background: linear-gradient(135deg, #fbc02d, #fff176); }
.karage-heading--gray { background: linear-gradient(135deg, #424242, #757575); }

/* --- h4 サブ見出しバリエーション --- */
.karage-heading[class*="--sub-"] {
  font-size: clamp(1.1em, 2.5vw, 1.4em);
  padding: 10px 18px 10px 22px; /* 左の余白を45pxから22pxに変更 */
}

/* 不要になったため、このルールは削除します → .karage-heading[class*="--sub-"] > .icon { ... } */

.karage-heading--sub-red {
  background: linear-gradient(135deg, #ff6347, #ff8787);
  box-shadow: 0 3px 10px rgba(255, 99, 71, 0.3);
}
.karage-heading--sub-blue {
  background: linear-gradient(135deg, #809fff, #a3bffa);
  box-shadow: 0 3px 10px rgba(88, 101, 242, 0.2);
}
.karage-heading--sub-green {
  background: linear-gradient(135deg, #66bb6a, #98ee99);
  box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}
.karage-heading--sub-orange {
  background: linear-gradient(135deg, #ffb74d, #ffd180);
  box-shadow: 0 3px 10px rgba(255, 183, 77, 0.3);
}
.karage-heading--sub-purple {
  background: linear-gradient(135deg, #ba68c8, #e1bee7);
  box-shadow: 0 3px 10px rgba(186, 104, 200, 0.3);
}
.karage-heading--sub-yellow {
  background: linear-gradient(135deg, #ffee58, #fff9c4);
  box-shadow: 0 3px 10px rgba(255, 238, 88, 0.3);
}
.karage-heading--sub-gray {
  background: linear-gradient(135deg, #9e9e9e, #e0e0e0);
  box-shadow: 0 3px 10px rgba(158, 158, 158, 0.3);
}
/* =====================================================================
   02. Component: Box (囲み枠)
====================================================================== */
.karage-box {
  border-radius: 8px;
  padding: 1.5em;
  margin: 2em 0;
}
.karage-box__title {
  font-size: 1.1em;
  font-weight: bold;
  color: #222;
  margin-bottom: 0.8em;
  display: flex;
  align-items: center;
}
.karage-box__title .icon { margin-right: 0.5em; }
.karage-box__content > *:last-child { margin-bottom: 0; }

/* --- 囲み枠バリエーション --- */
.karage-box--light-blue { background: #e6f3ff; border-left: 4px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }
.karage-box--light-green { background: #e6ffed; border-radius: 12px; }
.karage-box--light-gray { background: #f9f9f9; border-radius: 12px; }
.karage-box--light-orange { background: #fff5e6; border-radius: 12px; }
.karage-box--dashed { border: 2px dashed #4682b4; padding: 15px; text-align: center; background: transparent; }
.entry-content .karage-box.karage-box--light-red {
  background: #ffebee !important;
  border-left: 4px solid #f44336 !important;
  padding: 1.5em !important;
}

/* --- タイトル色バリエーション --- */
.karage-box__title--red,
.entry-content .karage-box.karage-box--light-red .karage-box__title {
  color: #d32f2f !important;
}
.karage-box__title--purple { color: #6a1b9a !important; }

/* =====================================================================
   03. Component: Dark-Alert-Box (黒い警告ボックス)
====================================================================== */
.karage-box--dark-alert {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.karage-box--dark-alert p {
  color: #ff4500;
  font-size: 1.3em;
  font-weight: bold;
  margin: 0 0 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}
.karage-box--dark-alert svg {
  margin: 0 auto;
  display: block;
}

/* =====================================================================
   04. Component: List (箇条書き)
====================================================================== */
.karage-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 1em 0 !important;
}
.karage-list__item {
  margin-bottom: 1em;
  padding-left: 30px;
  position: relative;
  line-height: 1.6;
}
.karage-list__icon {
  position: absolute;
  left: 0;
}
.karage-list__icon--blue {
  color: #4682b4;
}

/* --- 番号付きリスト --- */
.karage-list--ordered {
  counter-reset: karage-list-counter;
}
.karage-list--ordered .karage-list__item {
  padding-left: 35px;
}
.karage-list--ordered .karage-list__item::before {
  content: counter(karage-list-counter);
  counter-increment: karage-list-counter;
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #4682b4;
  color: #fff;
  font-size: 0.8em;
  font-weight: bold;
  line-height: 1;
}

/* =====================================================================
   05. Component: Fukidashi (吹き出し)
====================================================================== */
.karage-fukidashi {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin: 2em 0;
  max-width: 90%;
}
.karage-fukidashi__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  border: 3px solid #fff;
  flex-shrink: 0;
}
.karage-fukidashi__body {
  position: relative;
  flex-grow: 1;
  padding: 1.2em;
  border-radius: 12px;
  border: 1px solid #ddd;
  background-color: #fff;
  box-shadow: 0 3px 8px -2px rgba(0,0,0,0.1);
}
.karage-fukidashi__body::before {
  content: "";
  position: absolute;
  top: 30px;
  width: 14px;
  height: 14px;
  border: 1px solid #ddd;
  background-color: #fff;
  border-top: none;
  border-right: none;
  transform-origin: center;
}

/* --- アイコン画像 --- */
.karage-fukidashi__icon--karage1 { background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/n/nanana_777_ganbaru/20250706/20250706024752.jpg); }
.karage-fukidashi__icon--makuri { background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/n/nanana_777_ganbaru/20241010/20241010171511.jpg); }
.karage-fukidashi__icon--karage { background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/n/nanana_777_ganbaru/20230407/20230407172308.png); }

/* --- 左右配置 --- */
.karage-fukidashi {
  margin-right: auto; /* 左寄せ */
}
.karage-fukidashi .karage-fukidashi__body::before {
  left: -8px;
  transform: rotate(45deg);
}
.karage-fukidashi--right {
  flex-direction: row-reverse;
  margin-left: auto;   /* 右寄せ */
  margin-right: 0;
}
.karage-fukidashi--right .karage-fukidashi__body::before {
  left: auto;
  right: -8px;
  transform: rotate(225deg);
}
@media screen and (max-width: 480px) {
  .karage-fukidashi__icon { width: 60px; height: 60px; }
}

/* =====================================================================
   06. Component: Accordion (アコーディオン)
====================================================================== */
.karage-accordion { margin: 20px 0; }
.karage-accordion > summary {
  cursor: pointer;
  position: relative;
  overflow: visible;
}
.karage-accordion[open] > summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.karage-accordion__content {
  padding: 20px;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: #fff;
}
.karage-accordion__finger {
  position: absolute;
  right: 30px;
  bottom: 5px;
  font-size: 40px;
  transform-origin: bottom center;
  animation: karage-finger-move 1.5s infinite ease-in-out;
  z-index: 10;
}
@keyframes karage-finger-move {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}
@media (max-width: 600px) {
  .karage-accordion__finger { right: 10px; bottom: 2px; font-size: 35px; }
}

/* =====================================================================
   07. Component: Step-Card (手順解説：横型)
====================================================================== */
.karage-step-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.karage-step-card__title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 15px;
}
.karage-step-card__title--blue { color: #4682b4; }
.karage-step-card__title--green { color: #28a745; }
.karage-step-card__title--orange { color: #ff851b; }
.karage-step-card__title--purple { color: #6f42c1; }
.karage-step-card__content {
  border-left: 3px solid #ddd;
  padding-left: 15px;
}
.karage-step-card__content > *:last-child { margin-bottom: 0; }

/* =====================================================================
   08. Component: Vertical-Step (手順解説：縦型)
====================================================================== */
.karage-vertical-step-wrapper {
  position: relative;
  padding-left: 35px;
  margin: 2em 0;
}
.karage-vertical-step-wrapper::before {
  content: "";
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 21px;
  border-left: 3px dashed #ddd;
}
.karage-vertical-step-card {
  position: relative;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 2.5em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.karage-vertical-step-card:last-child { margin-bottom: 0; }
.karage-vertical-step-card__icon {
  position: absolute;
  left: -58px;
  top: 15px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  color: #fff;
  background: #28a745; /* デフォルト */
  z-index: 1;
}
.karage-vertical-step-card__title {
  font-size: 1.3em;
  font-weight: bold;
  color: #28a745; /* デフォルト */
  margin-bottom: 0.8em;
  border-bottom: 2px solid #eaf6ec;
  padding-bottom: 0.5em;
}
.karage-vertical-step-card__content > *:last-child { margin-bottom: 0; }

/* --- 色バリエーション --- */
.karage-vertical-step-card--blue { border-left: 4px solid #4682b4; }
.karage-vertical-step-card--blue .karage-vertical-step-card__icon { background: #4682b4; }
.karage-vertical-step-card--blue .karage-vertical-step-card__title { color: #4682b4; }
.karage-vertical-step-card--green { border-left: 4px solid #28a745; }
.karage-vertical-step-card--green .karage-vertical-step-card__icon { background: #28a745; }
.karage-vertical-step-card--green .karage-vertical-step-card__title { color: #28a745; }
.karage-vertical-step-card--orange { border-left: 4px solid #ff851b; }
.karage-vertical-step-card--orange .karage-vertical-step-card__icon { background: #ff851b; }
.karage-vertical-step-card--orange .karage-vertical-step-card__title { color: #ff851b; }
.karage-vertical-step-card--purple { border-left: 4px solid #6f42c1; }
.karage-vertical-step-card--purple .karage-vertical-step-card__icon { background: #6f42c1; }
.karage-vertical-step-card--purple .karage-vertical-step-card__title { color: #6f42c1; }

@media (max-width: 600px) {
  .karage-vertical-step-wrapper { padding-left: 25px; }
  .karage-vertical-step-card__icon { width: 40px; height: 40px; font-size: 1.5em; left: -48px; top: 10px; }
}

/* =====================================================================
   09. Component: Step-List & Card-List (番号付きリスト)
====================================================================== */
/* --- 囲みリスト --- */
.karage-step-list {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  list-style: none;
  counter-reset: karage-step-counter;
  margin: 2em 0;
}
.karage-step-list__item {
  position: relative;
  padding-left: 50px;
  padding-bottom: 2em;
  margin-bottom: 2em;
  border-bottom: 1px dashed #e0e0e0;
}
.karage-step-list__item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.karage-step-list__item::before {
  content: counter(karage-step-counter);
  counter-increment: karage-step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #5865f2;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  box-shadow: 0 2px 4px rgba(88,101,242,0.3);
}
.karage-step-list__item-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #5865f2;
  margin-bottom: 1em;
}
.karage-step-list__item-content > *:last-child { margin-bottom: 0; }
.karage-step-list__item .karage-box--light-blue { margin-top: 1.5em; }

/* --- カードリスト --- */
.karage-card-list {
  list-style: none;
  padding: 0;
  margin: 2em 0;
  counter-reset: card-list-counter;
}
.karage-card-list__item {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  padding-top: 35px;
  margin-bottom: 2.5em;
  box-shadow: 0 4px 15px rgba(0,0,0,0.07);
  position: relative;
}
.karage-card-list__item::before {
  content: counter(card-list-counter);
  counter-increment: card-list-counter;
  position: absolute;
  top: -16px;
  left: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #5865f2;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  box-shadow: 0 2px 5px rgba(88,101,242,0.3);
}
.karage-card-list__title {
  font-size: 1.25em;
  font-weight: bold;
  color: #5865f2;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #f0f0f0;
}
.karage-card-list__content > *:last-child { margin-bottom: 0; }
.karage-card-list__item .karage-box--light-blue { margin-top: 1.5em; }

/* =====================================================================
   10. Component: Product-Box (商品紹介)
====================================================================== */
.karage-product-box {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 20px 0;
}
.karage-product-box__image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background-color: #f5f5f5;
  border-radius: 8px;
  flex-shrink: 0;
}
.karage-product-box__info { flex: 1; }
.karage-product-box__name {
  font-size: 1.15em;
  font-weight: bold;
  margin: 0 0 10px;
  color: #333;
}
.karage-product-box__description {
  color: #555;
  margin: 0 0 15px;
  line-height: 1.6;
  font-size: 0.95em;
}
.karage-product-box__links {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
}
.karage-product-box__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none !important;
  color: white !important;
  font-size: 1em;
  font-weight: bold;
  border: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 120px;
}
.karage-product-box__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.karage-product-box__button--amazon { background: #ff9900; }
.karage-product-box__button--amazon:hover { background: #ffac33; }
.karage-product-box__button--rakuten { background: #bf0000; }
.karage-product-box__button--rakuten:hover { background: #d90000; }
.karage-product-box__button--blue { background: #1e88e5; }
.karage-product-box__button--blue:hover { background: #42a5f5; }
.karage-product-box__button--black { background: #333333; }
.karage-product-box__button--black:hover { background: #555555; }
.karage-product-box__button--red { background: #e53935; }
.karage-product-box__button--red:hover { background: #ef5350; }

@media (max-width: 600px) {
  .karage-product-box {
    flex-direction: column !important;
    text-align: center !important;
  }
  .karage-product-box__links {
    justify-content: center !important;
  }
}

/* =====================================================================
   11. Component: Author-Box (執筆者情報)
====================================================================== */
.karage-author-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  margin: 2em 0;
  border-left: 6px solid #ff6347;
}
.karage-author-box__title {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 15px;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: linear-gradient(45deg, #ff6347, #ff8787);
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(255, 99, 71, 0.3);
}
.karage-author-box__body {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
}
.karage-author-box__avatar {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 3px solid #ff6347;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}
.karage-author-box__info { flex: 1; }
.karage-author-box__name {
  font-size: 1.2em;
  font-weight: bold;
  color: #ff6347;
  margin: 0 0 10px;
}
.karage-author-box__list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.karage-author-box__list-item {
  display: flex !important;
  align-items: flex-start !important;
  margin-bottom: 0.5em;
  line-height: 1.6;
  color: #444;
}
.karage-author-box__list-item:last-child { margin-bottom: 0; }
.karage-author-box__list-icon {
  margin-right: 0.8em;
  color: #6f42c1;
}
@media (max-width: 480px) {
  .karage-author-box__body {
    flex-direction: column !important;
    text-align: center !important;
  }
}

/* =====================================================================
   12. Component: Promo-Box (コミュニティ・チャンネル紹介)
====================================================================== */
.karage-promo-box {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1.5em;
  margin: 2em 0;
}
.karage-promo-box__title {
  font-size: 1.1em;
  font-weight: bold;
  color: #222;
  margin-bottom: 1em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.karage-promo-box__body {
  display: flex !important;
  align-items: center !important;
  gap: 1.5em !important;
}
.karage-promo-box__media {
  width: 40%;
  max-width: 300px;
  flex-shrink: 0;
}
.karage-promo-box__media img,
.karage-promo-box__media iframe {
  width: 100%;
  height: auto;
  border-radius: 8px;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.karage-promo-box__text {
  flex: 1;
  color: #444;
  font-size: 0.95em;
}
.karage-promo-box__text p:first-of-type {
  font-size: 1em;
  font-weight: bold;
  margin: 0 0 10px;
}
.karage-promo-box__text ul { font-size: 0.95em; }
.karage-promo-box__text > *:last-child { margin-bottom: 0; }
@media (max-width: 480px) {
  .karage-promo-box__body {
    flex-direction: column !important;
    text-align: center !important;
  }
  .karage-promo-box__body--reverse {
    flex-direction: column-reverse !important;
  }
  .karage-promo-box__media {
    width: 100%;
    max-width: 100%;
    margin-top: 1em;
  }
}

/* =====================================================================
   13. Component: Table (テーブル代替)
====================================================================== */
.karage-table-wrapper {
  overflow-x: auto;
  margin: 2em 0;
}
.karage-table-wrapper table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  border: 1px solid #ddd;
}
.karage-table-wrapper th,
.karage-table-wrapper td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
  vertical-align: middle;
}
.karage-table-wrapper th { background-color: #f2f2f2; font-weight: bold; }

/* =====================================================================
   14. Component: Topic-Box (トピック解説)
====================================================================== */
.karage-topic-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 20px 20px 35px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  margin: 2em 0;
}
.karage-topic-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
}
.karage-topic-box__title {
  font-size: 1.2em;
  font-weight: bold;
  color: #222;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}
.karage-topic-box__title-badge {
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85em;
  margin-right: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.karage-topic-box__content > *:last-child { margin-bottom: 0; }

/* --- 色バリエーション --- */
.karage-topic-box--youtube::before { background: linear-gradient(180deg, #ff4444 0%, #ff7777 100%); }
.karage-topic-box--youtube .karage-topic-box__title-badge { background: linear-gradient(45deg, #ff4444, #ff7777); }
.karage-topic-box--twitch::before { background: linear-gradient(180deg, #6441a5 0%, #9575cd 100%); }
.karage-topic-box--twitch .karage-topic-box__title-badge { background: linear-gradient(45deg, #6441a5, #9575cd); }
.karage-topic-box--info::before { background: linear-gradient(180deg, #00bcd4 0%, #4dd0e1 100%); }
.karage-topic-box--info .karage-topic-box__title-badge { background: linear-gradient(45deg, #00bcd4, #4dd0e1); }
.karage-topic-box--alert::before { background: linear-gradient(180deg, #ff6347 0%, #ff8787 100%); }
.karage-topic-box--alert .karage-topic-box__title-badge { background: linear-gradient(45deg, #ff6347, #ff8787); }

/* =====================================================================
   15. Utility: 汎用ヘルパークラス
====================================================================== */
/* --- テキスト装飾 --- */
.karage-highlight-red { color: #ff5252; font-weight: bold; }
.karage-highlight-yellow { color: #f5c518; font-weight: bold; }
.karage-text-linkblue { color: #4682b4; font-weight: bold; }
.karage-highlight-purple { color: #673ab7; font-weight: bold; }
.karage-text-large { font-size: 1.5em; font-weight: bold; }

/* --- レイアウト --- */
.karage-text-center { text-align: center; }
.karage-image-caption { font-size: 0.9em; color: #555; text-align: center; margin-top: -0.5em; }
.karage-ad-container { margin: 2em 0; text-align: center; min-height: 90px; display: flex; justify-content: center; align-items: center; }
.karage-flex-container {
  display: flex;
  gap: 20px;
  margin-bottom: 2em;
}
.karage-flex-container > * { flex: 1; }
.karage-flex-container .karage-product-box { height: 100%; }
@media (max-width: 768px) {
  .karage-flex-container { flex-direction: column; }
}

/* --- シェアボックス --- */
.karage-share-box { background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); border-radius: 12px; padding: 15px; text-align: center; margin: 40px 0; }
.karage-share-box p { color: #555; margin: 0; line-height: 1.6; }
.karage-share-box a { text-decoration: none; }
.karage-share-box .follow-text { color: #dd830c; font-weight: bold; }

/* =====================================================================
   【追記】不足していたテキスト装飾クラス
====================================================================== */
.karage-highlight-orange, .karage-highlight-yellow {
  color: #ff851b; /* オレンジ色 */
  font-weight: bold;
}

.karage-highlight-blue, .karage-text-linkblue {
  color: #4682b4; /* 青色 */
  font-weight: bold;
}

.karage-highlight-green {
  color: #28a745; /* 緑色 */
  font-weight: bold;
}

.karage-highlight-purple {
  color: #6f42c1; /* 紫色 */
  font-weight: bold;
}

.karage-highlight-gray {
  color: #888888; /* グレー */
  font-weight: bold;
}

.karage-text-twitter-blue {
  color: #1d9bf0; /* Twitterの青色 */
  font-weight: bold;
}

/* =====================================================================
   16. Utility: Lazy-Youtube (クリック遅延読み込み)
====================================================================== */
.karage-lazy-youtube {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  background-color: #000;
}
.karage-lazy-youtube img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.karage-lazy-youtube:hover img {
  transform: scale(1.05);
}
.karage-lazy-youtube::before,
.karage-lazy-youtube::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.2s ease;
}
.karage-lazy-youtube::before {
  background: rgba(0, 0, 0, 0.4);
}
.karage-lazy-youtube:hover::before {
  background: rgba(0, 0, 0, 0.2);
}
.karage-lazy-youtube::after {
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 48"%3E%3Cpath d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55C3.97,2.33,2.27,4.81,1.48,7.74,0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z" fill="%23212121" fill-opacity="0.8"%3E%3C/path%3E%3Cpath d="M 45,24 27,14 27,34" fill="%23fff"%3E%3C/path%3E%3C/svg%3E');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 68px 48px;
  transform: scale(1);
}
.karage-lazy-youtube:hover::after {
  transform: scale(1.1);
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 48"%3E%3Cpath d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55C3.97,2.33,2.27,4.81,1.48,7.74,0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z" fill="%23ff0000"%3E%3C/path%3E%3Cpath d="M 45,24 27,14 27,34" fill="%23fff"%3E%3C/path%3E%3C/svg%3E');
}
.karage-lazy-youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

/* =====================================================================
   17. System: はてなブログ強制上書き & 修正パッチ
====================================================================== */
/* --- 見出し内リンクの無効化 --- */
.entry-content .karage-heading a,
.entry-content .karage-heading a * {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  color: inherit !important;
  pointer-events: none !important;
  cursor: default !important;
}

/* --- サイドバー関連のパッチ --- */
.karage-sidebar-ad {
  margin: 20px auto;
  text-align: center;
}
.karage-sidebar-ad img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
.karage-promo-area .karage-lazy-youtube {
  margin-bottom: 15px;
}
.karage-promo-area .karage-lazy-youtube img {
  height: 100% !important;
  object-fit: cover; 
}
.karage-sidebar-sponsor {
  width: 100%;
  min-height: 250px;
  position: relative;
}
.karage-sidebar-sponsor__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}
.karage-sidebar-sponsor__item.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.karage-sidebar-sponsor__item img {
  max-width: 100%;
  height: auto;
  border: none;
}
.karage-twitch-status-link {
  display: block;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background-color: #f0f0f0;
  color: #888;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
}
.karage-twitch-status-link.is-live {
  padding: 0;
  background-color: #000;
  box-shadow: 0 0 15px rgba(145, 70, 255, 0.6);
}
.karage-twitch-status-link img {
  width: 100%;
  height: auto;
  display: block;
}
.karage-twitch-status-link .live-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  box-sizing: border-box;
}
.karage-twitch-status-link .live-indicator {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #eb0400;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: bold;
}
.karage-twitch-status-link .live-title {
  color: #fff;
  font-size: 1.1em;
  text-shadow: 1px 1px 3px #000;
  margin: 0;
  line-height: 1.3;
}
#twitch-player-hidden-container,
.row.twitch-hidden {
    display: none;
    visibility: hidden;
    position: absolute;
    height: 0;
    overflow: hidden;
}
/* =====================================================================
 *   ▼▼▼【サイドバー修正用・追記CSS】▼▼▼
 * ===================================================================== */

/* =====================================================================
   17. System: サイドバーウィジェット (新規追加)
====================================================================== */
.karage-sidebar-widget {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 20px 0;
}
.karage-profile-area {
  text-align: center;
}
.karage-profile-avatar img {
  border-radius: 50%;
  width: 128px;
  height: 128px;
  object-fit: cover;
  border: 3px solid #ff9800;
}
.karage-profile-name {
  font-size: 1.5em;
  font-weight: bold;
  color: #222;
  margin: 10px 0;
}
.karage-profile-description {
  font-size: 0.9em;
  color: #444;
  line-height: 1.6;
}
.karage-profile-follow-label {
  margin: 15px 0 10px;
  font-weight: bold;
}
.karage-profile-sns-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
}
.karage-profile-sns-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.2s, filter 0.2s;
}
.karage-profile-sns-item a:hover {
  transform: scale(1.1);
  filter: brightness(1.1);
}
.karage-profile-sns-item svg {
  height: 20px;
  fill: white;
}
.sns-icon--twitter { background: #1d9bf0; }
.sns-icon--youtube { background: #ff0000; }
.sns-icon--twitch { background: #9146ff; }

/* 「からあげ太郎を知る」エリア */
.karage-promo-area {
  margin-top: 25px;
  text-align: center;
  border-top: 1px solid #eee;
  padding-top: 25px;
}
.karage-promo-title {
  font-size: 1.2em;
  font-weight: bold;
  margin: 0 auto 20px;
  padding: 8px 25px;
  display: inline-block;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #ffc107, #ff9800);
  border-radius: 50px;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.4);
}
.karage-promo-area .karage-lazy-youtube {
  margin-bottom: 15px;
}
.karage-promo-text {
  font-size: 0.9em;
  color: #444;
  margin: 15px 0;
}
.karage-promo-button {
  display: block;
  background: linear-gradient(45deg, #1d9bf0, #4dabf7);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(29, 155, 240, 0.3);
  transition: transform 0.2s;
}
.karage-promo-button:hover {
  transform: translateY(-2px);
}
/* =====================================================================
 *   ▲▲▲【サイドバー修正用・追記CSS】ここまで ▲▲▲
 * ===================================================================== */
 /* =====================================================================
   18. System: レイアウト用ヘルパー (不足分)
====================================================================== */
.karage-flex-container { 
  display: flex; 
  gap: 20px; 
  margin-bottom: 2em; 
}
.karage-flex-container > * { 
  flex: 1; 
}
.karage-flex-container .karage-product-box { 
  height: 100%; 
}
@media (max-width: 768px) { 
  .karage-flex-container { 
    flex-direction: column; 
  } 
}

/* =====================================================================
   【テスト用】01. Component: Heading (v2 - シンプル構造 / 中央揃え対応)
====================================================================== */
/* =====================================================================
   【テスト用】01. Component: Heading (v2 - 最終確定版)
====================================================================== */
.karage-heading-v2 {
  position: relative;
  font-size: clamp(1.2em, 4vw, 1.6em);
  font-weight: bold;
  color: #fff !important;
  padding: 12px 20px 12px 55px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin: 40px 0 20px;
  list-style: none;
  line-height: 1.5;
}
.karage-heading-v2 > .icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.karage-heading-v2::-webkit-details-marker { display: none; }

/* --- h3 見出しバリエーション --- */
.karage-heading-v2--green { background: linear-gradient(135deg, #2e7d32, #66bb6a); }
.karage-heading-v2--blue { background: linear-gradient(135deg, #0277bd, #4FC3F7); }
/* ...（以下、他の色バリエーションも同様に-v2を付与）... */

/* --- h4 サブ見出しバリエーション --- */
.karage-heading-v2[class*="--sub-"] {
  font-size: clamp(1.1em, 2.5vw, 1.4em);
  padding: 10px 18px 10px 45px;
}
.karage-heading-v2[class*="--sub-"] > .icon {
  left: 12px;
}
.karage-heading-v2--sub-red {
  background: linear-gradient(135deg, #ff6347, #ff8787);
  box-shadow: 0 3px 10px rgba(255, 99, 71, 0.3);
}
.karage-heading-v2--sub-blue {
  background: linear-gradient(135deg, #809fff, #a3bffa);
  box-shadow: 0 3px 10px rgba(88, 101, 242, 0.2);
}
/* ...（以下、他のサブ見出し色バリエーションも同様に-v2を付与）... */