@charset "UTF-8";

/* ================================================================
   bundle.css - Consolidated CSS for 栖王ヴァルハラ３丁目
   Auto-generated: 2026-03-28
   Source files (in load order):
     1. colors.css
     2. fuwaimg.css
     3. style.css
     4. article.css
     5. navigation.css
     6. ui-overrides.css
     7. geometric-loading.css
     8. index.css
   NOTE: crt-modal.css is NOT included (loaded separately)
   ================================================================ */


/* ================================================================
   SOURCE: colors.css
   ================================================================ */

/* ================================================
   栖王ヴァルハラ３丁目 統一カラーパレット
   Created: 2025
   ================================================ */

:root {
  /* メインカラーパレット */
  --primary-color: #fd7e14;           /* メインオレンジ */
  --primary-hover: #e67e22;           /* オレンジホバー */
  --primary-gradient-start: #fd7e14;  /* グラデーション開始 */
  --primary-gradient-end: #ff922b;    /* グラデーション終了 */

  /* アクセントカラー */
  --link-color: #ba4165;              /* リンクカラー（ローズ） */
  --link-hover: #a03857;              /* リンクホバー */

  /* ニュートラルカラー */
  --dark-text: #212529;               /* ダークテキスト */
  --medium-text: #495057;             /* ミディアムテキスト */
  --light-text: #6c757d;              /* ライトテキスト */
  --muted-text: #999999;              /* ミュートテキスト */

  /* 背景カラー */
  --bg-primary: #ffffff;              /* メイン背景 */
  --bg-secondary: #f8f9fa;            /* セカンダリ背景 */
  --bg-tertiary: #ebe3de;             /* サイト背景（ベージュ） */
  --bg-accent: #f2eee6;               /* アクセント背景 */

  /* ボーダー・区切り線 */
  --border-light: #e9ecef;            /* ライトボーダー */
  --border-medium: #dee2e6;           /* ミディアムボーダー */
  --border-dark: #cccccc;             /* ダークボーダー */

  /* 状態カラー */
  --success-color: #28a745;           /* 成功 */
  --warning-color: #ffc107;           /* 警告 */
  --danger-color: #dc3545;            /* エラー */
  --info-color: #007bff;              /* 情報 */

  /* シャドウ */
  --shadow-light: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-medium: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-heavy: 0 8px 24px rgba(0,0,0,0.2);
  --shadow-primary: 0 2px 8px rgba(253, 126, 20, 0.25);

  /* グラデーション */
  --gradient-primary: linear-gradient(135deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
  --gradient-background: linear-gradient(to right, var(--bg-secondary), var(--bg-primary));

  /* トランジション */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ダークモード対応（将来的な拡張用） */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #0d1117;
    --dark-text: #f0f6fc;
    --medium-text: #c9d1d9;
    --light-text: #8b949e;
    --border-light: #30363d;
    --border-medium: #21262d;
  }
}

/* カラーユーティリティクラス */
.text-primary { color: var(--primary-color) !important; }
.text-link { color: var(--link-color) !important; }
.text-dark { color: var(--dark-text) !important; }
.text-medium { color: var(--medium-text) !important; }
.text-light { color: var(--light-text) !important; }
.text-muted { color: var(--muted-text) !important; }

.bg-primary { background-color: var(--bg-primary) !important; }
.bg-secondary { background-color: var(--bg-secondary) !important; }
.bg-tertiary { background-color: var(--bg-tertiary) !important; }
.bg-accent { background-color: var(--bg-accent) !important; }

.border-light { border-color: var(--border-light) !important; }
.border-medium { border-color: var(--border-medium) !important; }
.border-dark { border-color: var(--border-dark) !important; }

.shadow-light { box-shadow: var(--shadow-light) !important; }
.shadow-medium { box-shadow: var(--shadow-medium) !important; }
.shadow-heavy { box-shadow: var(--shadow-heavy) !important; }
.shadow-primary { box-shadow: var(--shadow-primary) !important; }

.gradient-primary { background: var(--gradient-primary) !important; }
.gradient-background { background: var(--gradient-background) !important; }


/* ================================================================
   SOURCE: fuwaimg.css
   ================================================================ */

/* fuwaimg v1.1 - https://do.gt-gt.org/ */

#fuwaimg {
  position: fixed;
  width: 100vw;
  min-height: 100vh; /* Fallback */
  min-height: calc(var(--vh, 1vh) * 100);
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 999999;
  transition: .3s;
}
#fuwaimg.hidden {
  visibility: hidden;
  opacity: 0;
  z-index: -1;
}
#fuwaimg_mask {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}
#fuwaimg_inner {
  position: absolute;
  margin: auto;
  opacity: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: fit-content;
  height: fit-content;
  max-height: 90%;
  width: 90vw;
  background: white;
  box-shadow: 0 0 20px #00000054;
}
div#fuwaimg_img {
    width: 90vw;
    background: black;
}
#fuwaimg_img img {
  display: block;
  max-height: calc(80vh - 100px);
  max-height: calc((var(--vh, 1vh) * 80) - 100px);
  width: 100%;
  object-fit: contain;
  margin: 0;
  padding: 0;
}
div#fuwaimg_caption {
    display: flex;
    align-items: center;
    flex-direction: row;
    min-height: 0;
    height: 0;
    overflow: hidden;
    position: relative;
}
p#fuwaimg_caption_text {
    flex: 1;
    margin: 10px;
    font-size: 14px;
    line-height: 1.6em;
    width: calc(100% - 50px);
    overflow-x: auto;
    overflow-wrap: normal;
}
div#fuwaimg_caption:has(p#fuwaimg_caption_text) {
    height: auto;
}
button#fuwaimg_close {
    display: block;
    width: 50px;
    height: 50px;
    line-height: 1;
    margin: auto 0 0 0;
    padding: 0;
    border: none;
    background: none;
    position: absolute;
    top: -60px;
    right: 10px;
    cursor: pointer;
    transition: .3s;
    z-index: 20;
}
button#fuwaimg_close:hover {
  opacity: .4;
}
button#fuwaimg_close:before,
button#fuwaimg_close:after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: #000;
    transform: rotate(45deg);
    transform-origin: 0% 50%;
    position: absolute;
    top: -15px;
    right: -8px;
    left: 0;
    bottom: 0;
    margin: auto;
  }
button#fuwaimg_close:after{
    transform: rotate(-45deg);
    transform-origin:100% 50%;
    right: 3px;
}
a#fuwaimg_prev {
    visibility: hidden;
    width: 55px;
    height: 55px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: -10px;
    right: auto;
    filter: drop-shadow(0px 0px 6px #00000054);
    cursor: pointer;
}
a#fuwaimg_prev:before {
    content: '';
    width: 10px;
    height: 10px;
    display: block;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    transition: .3s;
}
a#fuwaimg_prev:hover:before {
    left: -7px;
}
a#fuwaimg_next {
    visibility: hidden;
    width: 55px;
    height: 55px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: -10px;
    left: auto;
    filter: drop-shadow(0px 0px 6px #00000054);
    cursor: pointer;
}
a#fuwaimg_next:before {
    content: '';
    width: 10px;
    height: 10px;
    display: block;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(-45deg);
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    transition: .3s;
}
a#fuwaimg_next:hover:before {
    right: -7px;
}
@media only screen and (min-width: 750px) {
  a#fuwaimg_prev {
    left: -55px;
  }
  a#fuwaimg_prev:before {
    width: 15px;
    height: 15px;
  }
  a#fuwaimg_next {
    right: -55px;
  }
  a#fuwaimg_next:before {
    width: 15px;
    height: 15px;
  }

  #fuwaimg_inner {
    max-width: calc(90vw - 50px);
  }
  div#fuwaimg_img {
    max-width: calc(90vw - 50px);
    max-height: calc(80vh - 120px);
    max-height: calc((var(--vh, 1vh) * 80) - 120px);
  }
  #fuwaimg_img img {
    display: block;
    max-height: calc(80vh - 120px);
    max-height: calc((var(--vh, 1vh) * 80) - 120px);
    max-width: calc(90vw - 50px);
    width: auto;
    object-fit: contain;
    margin: 0;
    padding: 0;
  }
}

span#fuwaimg_loading {
    z-index: -1;
    color: white;
    position: absolute;
    margin: auto;
    width: fit-content;
    height: fit-content;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: Meiryo, 'Hiragino Kaku Gothic ProN', sans-serif;
}
#fuwaimg_loadbar {
  overflow: hidden;
    position: absolute;
    width: 100px;
    height: 7px;
    background: #ffffff52;
    margin: auto;
    bottom: 0;
    right: 0;
    left: 0;
    top: 40px;
}
#fuwaimg_loadbar:before {
  content: '';
  display: block;
  position: absolute;
  width: 20px;
  height: 7px;
  background: #ffffff;
  margin: auto;
  right: 100%;
  left: -20%;
  animation: fuwaimg_loading 1.3s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.fuwaimg_fadein {
  animation : fuwaimg_fadein 0.3s;
  animation-fill-mode: both;
}

.fuwaimg_fadeout {
  animation : fuwaimg_fadeout 0.3s;
  animation-fill-mode: both;
}

@keyframes fuwaimg_loading {
  0% {
    right: 100%;
    left: -20%;
  }
  100% {
    right: 0%;
    left: 100%;
  }
}

@keyframes fuwaimg_fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fuwaimg_fadeout {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}


/* ================================================================
   SOURCE: style.css
   ================================================================ */

/* ==========================================
   Template: ふわびよりハマ（https://do.gt-gt.org/）
   Copyright: 2019 do
   利用規約を遵守の上お使いください。二次配布・販売を禁じます。
   ========================================== */
/* ==========================================
  リセットCSS
  基本的には触らないでください
  ========================================== */
ol,
ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
img,
p {
  margin: 0;
  padding: 0;
}

/* ==========================================
  以下、デザインを決める記述です
   ========================================== */
body {
  background-color: #ffffff;
  font-family: YuGothic,'Yu Gothic','TsukuBRdGothic-Regular','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','Cambria Math','Avenir',sans-serif;
}

dl {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
}

dl dd,
dl dt {
  display: block;
}

main .container {
  background: #fff;
  /* コンテンツの背景色 */
}

.full-screen-img {
  max-width: 100vw; /* 画面の幅に合わせる */
  max-height: 100vh; /* 画面の高さに合わせる */
  object-fit: contain; /* アスペクト比を維持して画像を画面内に収める */
  display: block;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: #ba4165;
  /* リンクの色 */
}

a:hover {
  -webkit-filter: brightness(120%);
          filter: brightness(120%);
  /* リンクをホバーすると色が明るくなります */
}

p,
ul {
  font-size: 14px;
  padding-left: 20px;
  padding-right: 30px;
}

@media (max-width: 575px) {
  p,
  ul {
    padding-left: 10px;
    padding-right: 10px;
  }
}

h4 {
  padding-left: 10px;
  color: #333;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
}

.margin-top {
  margin-top: 30px;
}

.margin-bottom {
  margin-bottom: 30px;
}

img {
  max-width: 100%;
}

img + img {
  margin-left: 5px;
}

h2 {
  font-size: 130%;
  font-weight: normal;
  margin: 20px 5px;
  width: 95%;
}

h2:after {
  display: none;
}

@media (max-width: 575px) {
  h2 {
    font-size: 110%;
  }
}

.row > h2 {
  padding-left: 15px;
  padding-right: 15px;
}

h3 {
  font-weight: normal;
  font-size: 100%;
  display: block;
  margin: 30px auto 15px 15px;
  width: 80%;
}

input[type=submit] {
  /* ここから背景のストライプ */
  background-size: auto auto;
  background-color: #ffd600;
  background-image: repeating-linear-gradient(135deg, transparent, transparent 5px, white 5px, white 6px);
  /* ここまで背景のストライプ */
  padding: 2px 8px;
  font-size: 12px;
}

input[type=submit]:focus {
  outline: none;
}

header img.heroimg {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 380px;
}

@media (max-width: 575px) {
  header img.heroimg {
    height: 200px;
  }
  header h1 {
    font-size: 150%;
  }
  header p {
    font-size: 12px;
  }
}

header .container {
  padding: 0;
}

header .wrapper {
  position: relative;
}

header .wrapper .inner {
  position: absolute;
  top: 30%;
  margin-left: 5%;
}

header h1,
header p {
  color: #ffffff;
  padding: 0;
  -webkit-filter: drop-shadow(0 0 4px #3b3239);
          filter: drop-shadow(0 0 4px #3b3239);
}

/* 当たり前のコピー */
.mv-copy {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-bottom: 0.5em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  animation: fadeInCopy 1.2s ease-out;
}

@keyframes fadeInCopy {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .mv-copy {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
  }
}

#text header img.heroimg {
  height: 50px;
}

#headernav {
  /* ここから1カラムデザインのメニューバースクロール追従 */
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1000;
  /* ここまで1カラムデザインのメニューバースクロール追従。不要なら削除してください */
}

#headernav nav {
  display: -webkit-box;
  display: flex;
  justify-content: space-around;
  padding: 10px;
  margin: 10px auto;
  border-top: 1px solid #3D2B30;
  border-bottom: 1px solid #3D2B30;
}

#headernav nav ul {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  padding: 0;
  width: calc(100% - 80px);
}

#headernav nav ul li a {
  display: block;
}

.sidebarinner {
  padding: 20px;
  /* ここから2カラムデザインのPC本体サイドバースクロール追従 */
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  /* ここまで2カラムデザインのPC本体サイドバースクロール追従。不要なら削除してください */
}

@media (max-width: 991px) {
  .sidebarinner {
    padding: 20px 0;
  }
}

.sidebarinner ul {
  padding: 0 0 20px;
}

.sidebarinner p {
  padding: 0 0 20px;
}

@media (max-width: 575px) {
  #sidebar {
    /* ここから1カラムデザインのメニューバースクロール追従 */
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1000;
    /* ここまで1カラムデザインのメニューバースクロール追従。不要なら削除してください */
  }
  #sidebar .sidebarinner {
    padding: 0;
  }
  #sidebar nav {
    display: -webkit-box;
    display: flex;
    justify-content: space-around;
    padding: 10px;
    margin: 10px auto;
    border-top: 1px solid #c0c5cf;
    border-bottom: 1px solid #c0c5cf;
  }
  #sidebar nav ul {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    padding: 0;
    width: calc(100% - 80px);
  }
  #sidebar nav ul li a {
    display: block;
  }
}

.update {
  background: #f2eee6;
  padding: 10px;
  width: 95%;
  overflow: hidden;
  font-size: 14px;
  margin: 20px auto;
  border-radius: 4px;
}

.update .inner {
  height: 80px;
  overflow-y: scroll;
}

.update .inner::-webkit-scrollbar {
  width: 5px;
}

.update .inner::-webkit-scrollbar-track {
  background: #f2eee6;
}

.update .inner::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 2px;
}

.update .inner dt {
  width: 100px;
}

.update .inner dd {
  width: calc(100% - 100px);
}

@media (max-width: 575px) {
  .update .inner {
    font-size: 12px;
  }
  .update .inner dt {
    width: 80px;
  }
}

ul.novel-1 li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

ul.novel-1 li a {
  flex: 1 1 auto;
  text-decoration: none;
  margin-right: 10px;
  white-space: nowrap;
}

ul.novel-1 li span {
  flex: 1 1 auto;
  text-align: left;
  word-break: break-word;
}

ul.novel-1 {
  margin-bottom: 30px;
}

ul.novel-1 li.new:after {
  content: 'new';
  color: #f75e5e;
  font-size: 13px;
  font-weight: bold;
  margin-left: 5px;
}

ul.novel-3 {
  margin-bottom: 30px;
}

ul.novel-3 li {
  display: -webkit-box;
  display: flex;
  font-size: 20px;
}

ul.novel-3 li.new:after {
  content: 'new';
  color: #f75e5e;
  font-size: 20px;
  font-weight: bold;
  margin-left: 5px;
}

ul.novel-3 li a {
  display: block;
  margin-right: 10px;
  white-space: nowrap;
  font-size: 22px;

}

ul.novel-3 li span {
  display: block;
}

ul.novel-3 hr{
  height: 3px;
  background-color: #cccccc;
  width: 100%;
  margin:0px
}

ul.novel-2 {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

ul.novel-2 li {
  display: -webkit-box;
  display: flex;
}

ul.novel-2 li.new:after {
  content: 'new';
  color: #f75e5e;
  font-size: 13px;
  font-weight: bold;
  margin-left: 5px;
}

ul.novel-2 li a {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

ul.novel-2 li:not(:last-of-type) {
  margin-right: 5px;
  padding-right: 5px;
  border-right: 1px solid #f2eee6;
}

ul.illust {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  margin: 20px auto;
}

ul.illust li {
  position: relative;
  height: 100px;
  width: 100px;
  margin-bottom: 5px;
}

ul.illust li:not(:last-of-type) {
  margin-right: 5px;
}

ul.illust li a {
  display: block;
}

ul.illust li a img {
  border: 1px solid #dcdfe2;
  border-radius: 3px;
  width: 100px;
  height: 100px;
  -o-object-fit: cover;
     object-fit: cover;
}

ul.illust li.new::after {
  content: 'new';
  /* ここから背景のストライプ */
  background-size: auto auto;
  background-color: #ebe3de;
  background-image: repeating-linear-gradient(135deg, transparent, transparent 5px, white 5px, white 6px);
  /* ここまで背景のストライプ */
  position: absolute;
  padding: 0 5px;
  right: 0;
  bottom: 0;
  display: block;
  font-size: 12px;
  font-weight: bold;
}

@media (max-width: 575px) {
  ul.illust li {
    height: 70px;
    width: 70px;
  }
  ul.illust li a img {
    height: 70px;
    width: 70px;
  }
}

ul.link01 {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: start;
          justify-content: flex-start;
  margin: 10px 0;
}

ul.link01 li {
  margin-right: 8px;
}

ul.link02 {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
}

ul.link02 li a {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

ul.link02 li:not(:last-of-type) {
  padding-right: 5px;
  margin-right: 5px;
  border-right: 1px solid #f2eee6;
}

.mailform textarea {
  margin: 0 0 5px;
  font-size: 14px;
  border: 1px solid #e2e2e2;
  padding: 3px 5px;
  width: 80%;
  vertical-align: bottom;
}

.mailform input[type="submit"] {
  margin: 0 0 5px;
  font-size: 14px;
  padding: 3px 5px;
}

.mailform input[type=text] {
  margin: 0 0 5px;
  font-size: 14px;
  border: 1px solid #e2e2e2;
  padding: 3px 5px;
  width: 80%;
}

footer .container {
  padding: 0;
}

footer .footer-inner {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

footer .footer-brand {
  font-size: 0.95rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

footer .footer-sites {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

footer .footer-sites a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid #dee2e6;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #6c757d;
  text-decoration: none;
  transition: all 0.2s ease;
}

footer .footer-sites a:hover {
  color: #495057;
  border-color: #adb5bd;
  background: rgba(0, 0, 0, 0.03);
}

footer .footer-social {
  margin-bottom: 1rem;
}

footer .footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: #6c757d;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer .footer-social a:hover {
  color: #495057;
}

footer .copy {
  text-align: center;
  width: 100%;
  padding: 0;
  margin: 0;
  font-size: 0.7rem;
  color: #adb5bd;
  letter-spacing: 0.3px;
}

footer .copy a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer .copy a:hover {
  color: #6c757d;
}

footer a.home {
  text-decoration: none;
  color: #ba4165;
  display: block;
  padding: 10px 20px;
  font-size: 14px;
}

hr {
  height: 1px;
  background-color: #cccccc;
  width: 80%;
  border: none;
  margin: 40px auto;
}

h2.h2-a {
  margin: 30px auto 40px;
  text-align: center;
  border-top: solid 1px #cccccc;
  border-bottom: solid 1px #cccccc;
  padding: 10px;
}

h2.h2-a:after {
  display: none;
}

h2.h2-b {
  padding: 10px 20px;
  background: transparent;
  text-align: center;
  color: #000000;
}

h2.h2-b:before {
  content: '';
  height: 1px;
  width: 10%;
  display: inline-block;
  background: #000000;
  vertical-align: middle;
  margin-right: 30px;
}

h2.h2-b:after {
  content: '';
  height: 1px;
  width: 10%;
  display: inline-block;
  background: #000000;
  vertical-align: middle;
  margin-left: 30px;
}

h3.h3-a {
  padding: 10px 5px;
  background: transparent;
  color: #000000;
  border-left: none;
  border-bottom: 1px dotted #c5c5c5;
}

h3.h3-a:before {
  content: none;
}

h3.h3-b {
  border-left: none;
}

h3.h3-b:before {
  display: inline-block;
  float: none;
  width: auto;
  height: auto;
  position: initial;
  top: auto;
  right: auto;
  background-size: auto auto;
  background-color: transparent;
  background-image: none;
  content: '//';
  font-size: 105%;
  margin-right: 1em;
}

h3.h3-b:after {
  content: '//';
  font-size: 105%;
  margin-left: 1em;
}

ul.li-a {
  list-style: square inside;
  margin: 1em 0.5em;
}

ul.li-a li {
  margin-bottom: 0.5em;
}

ul.li-b {
  list-style: disc inside;
  margin: 1em 0.5em;
}

ul.li-b li {
  margin-bottom: 0.5em;
}

ol.li-a {
  list-style: decimal inside;
  margin: 1em 0.5em;
}

ol.li-a li {
  margin-bottom: 0.5em;
  margin-left: 1em;
}

ol.li-b {
  list-style: lower-alpha inside;
  margin: 1em 0.5em;
}

ol.li-b li {
  margin-bottom: 0.5em;
  margin-left: 1em;
}

.center {
  text-align: center;
}

.book {
  display: -webkit-box;
  display: flex;
  width: 80%;
  max-width: 800px;
  margin: 80px auto;
}

.book:nth-child(2n+1) {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
          flex-direction: row-reverse;
}

.book .book__image {
  margin: 0 20px;
  -webkit-box-flex: 0;
          flex: 0 0 40%;
}

.book .book__discription h4 {
  margin-top: 0;
}

@media (max-width: 991px) {
  .book {
    width: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
  }
  .book:nth-child(2n+1) {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
  }
  .book:not(:last-of-type) {
    border-bottom: 1px solid #cccccc;
    padding-bottom: 60px;
  }
  .book .book__image {
    margin: 0 auto 20px;
    max-width: 300px;
  }
}

dl.book-01 {
  margin: 20px 0;
}

dl.book-01 dt {
  width: 100px;
  font-weight: 600;
  margin-bottom: 10px;
}

dl.book-01 dd {
  width: calc(100% - 100px);
  margin: 0;
  margin-bottom: 10px;
}

a.btn {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 10px 30px;
  background: gray;
  color: #ffffff;
  margin: 20px auto;
  -webkit-transition: .2s;
  transition: .2s;
}

a.btn:hover {
  background: #b3b3b3;
  -webkit-transition: .2s;
  transition: .2s;
}

a.btn.white {
  background: #ffffff;
  color: #000000;
}

a.btn.white:hover {
  color: #333333;
  -webkit-transition: .2s;
  transition: .2s;
}

a.btn.black {
  background: #000000;
}

a.btn.black:hover {
  background: #262626;
  -webkit-transition: .2s;
  transition: .2s;
}

a.btn.yellow {
  background: #FFCC00;
}

a.btn.yellow:hover {
  background: #FFFF66;
  -webkit-transition: .2s;
  transition: .2s;
}

a.btn.pink {
  background: #fa3c72;
}

a.btn.pink:hover {
  background: #fc87a8;
  -webkit-transition: .2s;
  transition: .2s;
  color: #ffffff;
}

a.btn.blue {
  background: #4169e1;
}

a.btn.blue:hover {
  background: #839deb;
  -webkit-transition: .2s;
  transition: .2s;
  color: #ffffff;
}


a.btn.green {
  background: #33CC00;
}

a.btn.green:hover {
  background: #99FF66;
  -webkit-transition: .2s;
  transition: .2s;
  color: #ffffff;
}

span.pink {
  color: #fa3c72;
}

#text .atogaki p {
  color: #a1a1a1;
  font-size: 14px;
}

#text main h2 {
  margin: 20px auto 40px;
}

#text main p {
  line-height: 2em;
  font-size: 16px;
}

.page {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
  width: 90%;
  margin: 30px auto;
}

.page a {
  display: block;
  /* ここから背景のストライプ */
  background-size: auto auto;
  background-color: #ebe3de;
  background-image: repeating-linear-gradient(135deg, transparent, transparent 5px, white 5px, white 6px);
  /* ここまで背景のストライプ */
  color: #333;
  padding: 3px 10px;
}

blockquote {
  background: #ededed;
  padding: 20px 30px;
  margin: 20px;
  font-size: 15px;
  font-style: italic;
}

ul.novel-1 li {
    flex-direction: column;
    align-items: flex-start;
  }

  ul.novel-1 li a,
  ul.novel-1 li span {
    margin-right: 0;
  }
}

@media (max-width: 575px) {


  .only-pc {
    display: none;
  }
}

.color-box {
  display: inline-block;
  width: 50px;
  height: 50px;
  margin: 3px;
  cursor: pointer;
}

/* AdSense CLS対策：広告スペース予約 */
.adsbygoogle { min-height: 100px; }


/* ================================================================
   SOURCE: article.css
   ================================================================ */

/*
 * 記事ページ共通スタイル
 * memo/以下の記事で使用
 */

/* ヘッダー画像 */
header .heroimg {
  object-fit: cover;
  width: 100%;
  height: 200px;
}

/* 記事コンテンツ */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.article-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #333;
  border-bottom: 3px solid #ff9500;
  padding-bottom: 0.5rem;
}

.article-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 2rem;
}

.article-content p {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-content h2 {
  color: #333;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.4;
  background: #fff5e6;
  border-left: 5px solid #ff9500;
  padding: 1rem 1.25rem;
  border-radius: 4px;
}

.article-content h3 {
  color: #333;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  font-weight: bold;
  line-height: 1.4;
}

.article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem 0 0.5rem 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 蛍光ペン風ハイライト */
.highlight {
  background: linear-gradient(transparent 60%, rgba(255, 149, 0, 0.3) 60%);
  padding: 0 0.2rem;
}

/* 戻るリンク */
.back-link {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.5rem 1rem;
  background: #f8f9fa;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: inherit;
  font-family: inherit;
}

.back-link:hover {
  background: #ff9500;
  color: white;
  text-decoration: none;
}

/* 注釈ボックス */
.note-box {
  background: #fffbf0;
  border: 1px solid #ff9500;
  padding: 1rem;
  margin: 2rem 0;
  border-radius: 8px;
}

/* 画像キャプション */
.image-caption {
  font-size: 0.9rem;
  color: #666;
  text-align: left;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  padding-left: 20px;
  padding-right: 30px;
}

/* ゲームスクリーンショット */
.game-screenshot {
  max-width: 500px;
  width: 100%;
  height: auto;
  display: block;
  margin: 1rem 0 0.5rem 20px;
}

/* 引用ボックス */
.quote-box {
  background: #f8f9fa;
  border-left: 4px solid #ff9500;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #555;
}

.quote-box p {
  margin-bottom: 0.5rem;
}

.quote-box p:last-child {
  margin-bottom: 0;
}

/* レシピセクション（料理記事用） */
.recipe-section {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 4px solid #ff9500;
}

.recipe-section h3 {
  color: #ff9500;
  margin-bottom: 1rem;
}

.ingredients {
  background: white;
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
}

.steps {
  background: white;
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
}

/* 区切り線 */
.separator {
  text-align: center;
  margin: 2rem 0;
  font-size: 1.2rem;
  color: #666;
}

/* ツール記事用スタイル */
.tool-image {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.demo-gif {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  display: block;
}

.feature-list {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.feature-list li {
  margin: 10px 0;
}

.tool-link {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  margin: 20px 0;
  transition: all 0.3s;
  box-shadow: 0 2px 4px rgba(255, 149, 0, 0.3);
}

.tool-link:hover {
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(255, 149, 0, 0.4);
}

.example-section {
  background: #f0f7ff;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

/* 5億円記事用スタイル */
.dialogue {
  background: #f8f9fa;
  border: 2px solid #ff9500;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  font-size: 1.1rem;
  line-height: 2;
  font-family: 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}


.money-highlight {
  font-size: 1.3em;
  font-weight: bold;
  color: #dc3545;
  background: linear-gradient(transparent 60%, rgba(220, 53, 69, 0.2) 60%);
  padding: 0 0.3rem;
}

/* 区切り線 */
.article-divider {
  margin: 2rem 0;
  border: none;
  border-top: 2px solid #e0e0e0;
}

/* TRPG/シナリオ記事用スタイル */
.article-info-box {
  background: #e6f3ff;
  border-left: 4px solid #4f94ff;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.article-info-box p {
  margin-bottom: 0.5rem;
}

.article-info-box p:last-child {
  margin-bottom: 0;
}

.scenario-info {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 8px;
}

.scenario-info dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
}

.scenario-info dt {
  font-weight: bold;
  color: #495057;
}

.scenario-info dd {
  margin: 0;
  color: #666;
}

.article-content h4 {
  color: #999;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .article-title {
    font-size: 1.5rem;
  }

  .article-content {
    font-size: 1rem;
    padding: 1.5rem 0.75rem;
  }

  .article-content h2 {
    font-size: 1.5rem;
  }

  .article-content h3 {
    font-size: 1.2rem;
  }

  .dialogue {
    font-size: 1rem;
    padding: 1rem;
  }

  .money-highlight {
    font-size: 1.2em;
  }

  /* スマホ用画像調整 */
  .article-content img {
    margin: 1rem 0;
    max-width: 100%;
    width: 100%;
    cursor: zoom-in;
  }

  .image-caption {
    padding-left: 0;
    padding-right: 0;
  }

  .game-screenshot {
    margin: 1rem 0;
    max-width: 100%;
  }
}

/* テキストユーティリティ */
.pre-wrap {
  white-space: pre-wrap;
}

/* ツール記事用 */
.tool-panel {
  max-width: 500px;
  margin: 20px auto;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* コミッション記事用 */
.commission-notice {
  background: #fffbf0;
  border: 2px solid #ff9800;
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
}

.commission-notice-title {
  color: #e65100;
  margin: 0 0 10px 0;
  font-size: 1rem;
}

/* コードブロック */
.code-block {
  background: #f5f5f5;
  padding: 10px;
  border-radius: 4px;
  margin: 10px 0;
  overflow-x: auto;
}

/* キャプション中央寄せ */
.image-caption.text-center {
  text-align: center;
}

/* 記事詳細ページのタイトル */
.article-detail-container h1 {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: left;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
}

/* 汎用画像スタイル（ボーダー付き） */
.article-img-bordered {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin: 1rem 0;
  display: block;
}

/* コードブロック（ハイライト版） */
.code-block-highlight {
  background: #f5f5f5;
  padding: 1rem;
  border-left: 4px solid #ff9500;
  border-radius: 4px;
  margin: 1.5rem 0;
  overflow-x: auto;
}

.code-block-highlight pre {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ツール記事用フォームスタイル */
.form-label {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-weight: 500;
}

.form-required {
  color: #dc3545;
}

.form-textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  resize: vertical;
  font-family: inherit;
}

.form-textarea:focus {
  outline: none;
  border-color: #ff9500;
}

.form-success {
  display: none;
  background: #28a745;
  color: white;
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
}

.form-success.show {
  display: block;
}

.form-submit-btn {
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 4px rgba(255, 149, 0, 0.3);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 149, 0, 0.4);
}

/* Q&A記事用スタイル（インタビュー・対談記事用） */
.intro-section {
  background: #fffdf7;
  border: 1px solid #e0e0e0;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  line-height: 1.8;
}

.intro-section p {
  margin-bottom: 0.75rem;
  color: #333;
}

.intro-section p:last-child {
  margin-bottom: 0;
}

.session-section {
  margin: 3rem 0;
}

.session-title {
  /* 既存のh2スタイルを継承 */
}

.qa-item {
  background: #fafafa;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  border-left: 3px solid #e0e0e0;
}

.qa-item .question {
  font-weight: bold;
  color: #ff9500;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.qa-item .answer {
  color: #333;
  margin-bottom: 0.5rem;
}

.qa-item .answer:last-child {
  margin-bottom: 0;
}

.speaker-label {
  font-weight: bold;
  color: #ff6b35;
  margin-right: 0.5rem;
}

/* コミッションギャラリー記事用スタイル */
.commission-info {
  background: #fffbf0;
  border: 2px solid #ff9800;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.commission-info p:last-child {
  margin-bottom: 0;
}

.commission-section {
  margin: 3rem 0;
}

.commission-section h3 {
  color: #ff9500;
  margin-bottom: 1rem;
}

.service-link {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 100%);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  margin: 1rem 0;
  transition: all 0.3s;
  box-shadow: 0 2px 4px rgba(255, 149, 0, 0.3);
}

.service-link:hover {
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(255, 149, 0, 0.4);
}

.illust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.illust-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.illust-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.illust-item img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .illust-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }
}

/* TRPGリプレイログ記事用スタイル */
.section-title {
  color: #333;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: bold;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ff9500;
}

.replay-entry {
  background: #fafafa;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.replay-entry p {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.replay-entry p:last-child {
  margin-bottom: 0;
}

.gm-info {
  font-weight: bold;
  color: #4f94ff;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* データベース記事用スタイル */
.db-entry {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.db-entry h3 {
  color: #ff9500;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ffd9a3;
}

.db-field {
  display: block;
  font-weight: bold;
  color: #666;
  font-style: normal;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.db-field:first-of-type {
  margin-top: 0;
}

.db-content {
  color: #333;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.db-content:last-child {
  margin-bottom: 0;
}

/* ツルが降るアニメーション（TRPGリプレイログ用） */
.tsuru-fall {
  position: fixed;
  top: -100px;
  width: 50px;
  height: 50px;
  background-image: url('/memo/trpg/img/tsuru.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 9999;
  animation: tsuru-falling 5s linear forwards;
}

@keyframes tsuru-falling {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(calc(100vh + 150px)) rotate(360deg);
    opacity: 0.8;
  }
}

/* 対話形式記事用スタイル（吹き出し風） */
.dialogue-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
}

.dialogue-table tr {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.dialogue-table td:first-child {
  flex-shrink: 0;
  width: 80px;
  display: flex;
  align-items: flex-start;
  padding-top: 0.5rem;
}

.dialogue-table td:first-child img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  margin: 0;
  border: 3px solid #fff;
}

.dialogue-table td:last-child {
  flex: 1;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  position: relative;
  line-height: 1.7;
  font-size: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.dialogue-table td:last-child br {
  display: block;
  content: "";
  margin-top: 0.5rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .dialogue-table td:first-child {
    width: 60px;
  }

  .dialogue-table td:first-child img {
    width: 50px;
    height: 50px;
  }

  .dialogue-table td:last-child {
    font-size: 0.95rem;
    padding: 0.875rem 1rem;
  }

  .dialogue-table tr {
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }
}

/* コードブロックのスタイリング（Markdown用） */
.article-content pre {
  background: #1e1e1e;
  color: #d4d4d4;
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #ff9500;
}

.article-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: 0.9rem;
  line-height: 1.6;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  display: block;
}

/* インラインコード */
.article-content code {
  background: #f5f5f5;
  color: #e83e8c;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

/* コードブロックのスクロールバーカスタマイズ */
.article-content pre::-webkit-scrollbar {
  height: 8px;
}

.article-content pre::-webkit-scrollbar-track {
  background: #2d2d2d;
  border-radius: 4px;
}

.article-content pre::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

.article-content pre::-webkit-scrollbar-thumb:hover {
  background: #777;
}

/* リスト内のコードブロック */
.article-content li code {
  background: #f5f5f5;
  color: #e83e8c;
}

/* テーブルスタイル（Markdown用） */
.article-content table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.5rem 0;
  border: 1px solid #dee2e6;
}

.article-content th {
  background: #f8f9fa;
  padding: 0.75rem;
  text-align: left;
  border: 1px solid #dee2e6;
  font-weight: bold;
}

.article-content td {
  padding: 0.75rem;
  border: 1px solid #dee2e6;
}

.article-content tr:hover {
  background: #f8f9fa;
}

/* ブロック引用（Markdown用） */
.article-content blockquote {
  border-left: 4px solid #ff9500;
  background: #f8f9fa;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  color: #555;
  font-style: italic;
}

.article-content blockquote p {
  margin: 0.5rem 0;
}

.article-content blockquote p:first-child {
  margin-top: 0;
}

.article-content blockquote p:last-child {
  margin-bottom: 0;
}

/* リストスタイル */
.article-content ul,
.article-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.article-content ul > li {
  margin: 0.5rem 0;
  line-height: 1.7;
  font-size: 1.1rem;
  list-style: none;
  position: relative;
  padding-left: 1.2em;
}

.article-content ul > li::before {
  content: '\25CF';
  position: absolute;
  left: 0;
  color: #ff9500;
  font-size: 0.6em;
  top: 0.55em;
}

.article-content ol > li {
  margin: 0.5rem 0;
  line-height: 1.7;
  font-size: 1.1rem;
}

/* コピー時に含まれる注意書き（視覚的には非表示） */
.copy-notice {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  /* コピー時には含まれるが、画面には表示されない */
}

/* TIPSリスト */
.tips-list {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.tips-list li {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  margin-bottom: 1rem;
  background: #f8f9fa;
  border-left: 4px solid #ff9500;
  border-radius: 4px;
  line-height: 1.8;
}

.tips-list li::before {
  content: '\2713';
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-size: 1.3rem;
  color: #ff9500;
  font-weight: bold;
}

.tips-list li strong {
  color: #333;
  font-weight: 600;
}

.tips-list li small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 参考リンクセクション */
.reference-links {
  background: #f0f7ff;
  border: 2px solid #4f94ff;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.reference-links h3 {
  color: #4f94ff;
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.reference-links ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.reference-links li {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.reference-links li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: #4f94ff;
  font-weight: bold;
}

.reference-links a {
  color: #0066cc;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.reference-links a:hover {
  color: #004499;
  border-bottom-color: #004499;
}

/* 画像拡大モーダル */
.image-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  cursor: zoom-out;
}

.image-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.image-modal-overlay img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.image-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 脚注スタイル */
.footnote-ref a {
  color: #ff9500;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.85em;
  vertical-align: super;
  line-height: 1;
  transition: color 0.2s;
}

.footnote-ref a:hover {
  color: #ff6b35;
  text-decoration: underline;
}

.footnote-separator {
  margin: 3rem 0 1.5rem;
  border: none;
  border-top: 1px solid #ddd;
}

.footnotes {
  font-size: 0.9rem;
  color: #666;
  background: #f8f9fa;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.footnotes ol {
  margin: 0;
  padding-left: 1.5rem;
}

.footnotes li {
  margin: 0.5rem 0;
  line-height: 1.7;
}

.footnote-backref {
  color: #ff9500;
  text-decoration: none;
  margin-left: 0.5rem;
  font-size: 0.9em;
}

.footnote-backref:hover {
  color: #ff6b35;
}

/* 商品カード（Amazon等のアフィリエイトリンク用） */
.product-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #fffaf5;
  border: 3px solid #ff9500;
  border-radius: 12px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 149, 0, 0.1);
}

.product-card:hover {
  background: #fff5eb;
  border-color: #ff6b35;
  box-shadow: 0 4px 16px rgba(255, 149, 0, 0.25);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.product-card-image {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8f8f8;
}

.product-card-info {
  flex: 1;
  min-width: 0;
}

.product-card-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.product-card-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.product-card-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 100%);
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
}

/* 商品カード横並び */
.product-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.product-cards .product-card {
  flex: 1 1 300px;
  margin: 0;
}

/* ================================================================
   商品リンクコンポーネント
   - テキスト（タイトル）と画像の両方をサポート
   - .article-content 内で確実に動作
   ================================================================ */

/* コンテナ */
.article-content .product-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

/* 各商品リンク */
.article-content .product-links .product-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  width: fit-content;
}

/* タイトル */
.article-content .product-links .product-link-title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  transition: color 0.2s ease;
}

/* 画像 */
.article-content .product-links .product-link-image {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 4px;
  background: #f8f8f8;
}

/* ホバー効果 */
.article-content .product-links .product-link:hover .product-link-title {
  color: #ff6b35;
}

.article-content .product-links .product-link:hover .product-link-image {
  opacity: 0.9;
}

/* ================================================================
   ゲームリンクコンポーネント
   - OGP画像を使った横長リンク
   ================================================================ */

.article-content .game-links {
  margin: 2rem 0;
}

.article-content .game-links .game-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.article-content .game-links .game-link-label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.article-content .game-links .game-link-image {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 6px;
  transition: opacity 0.2s ease;
}

.article-content .game-links .game-link:hover .game-link-image {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .product-card {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .product-card-image {
    width: 120px;
    height: 120px;
  }

  .product-cards .product-card {
    flex: 1 1 100%;
  }

  /* 商品リンク（レスポンシブ） */
  .article-content .product-links .product-link-image {
    width: 100px;
    height: 100px;
  }

  .article-content .product-links .product-link.game-link .product-link-image {
    max-width: 100%;
  }
}

/* スマホ用：フル幅でコンテンツを表示 */
@media (max-width: 768px) {
  body {
    background-color: #fff !important;
  }

  main {
    background-color: #fff;
  }

  main .container {
    background-color: #fff;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0;
    max-width: 100%;
  }

  /* 記事詳細コンテナをフル幅に */
  .article-detail-container {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    margin: 0;
  }

  .article-content {
    padding: 1rem;
    margin: 0;
    max-width: 100%;
  }

  .article-detail-container h1 {
    padding: 0;
    max-width: 100%;
  }
}

/* ================================================================
   OGP埋め込みカード
   - [ogp]URL[/ogp] から自動生成されるブログカード風リンク
   ================================================================ */

.article-content .ogp-card {
  display: flex;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem 0;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  max-width: 600px;
}

.article-content .ogp-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #ccc;
}

.article-content .ogp-card-image {
  width: 120px;
  min-width: 120px;
  height: 120px;
  object-fit: cover;
  background: #f5f5f5;
  flex-shrink: 0;
}

.article-content .ogp-card-noimage {
  width: 120px;
  min-width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  flex-shrink: 0;
}

.article-content .ogp-card-content {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  flex: 1;
}

.article-content .ogp-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-content .ogp-card-description {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-content .ogp-card-site {
  font-size: 0.75rem;
  color: #999;
}

/* レスポンシブ */
@media (max-width: 480px) {
  .article-content .ogp-card {
    flex-direction: column;
    max-width: 100%;
  }

  .article-content .ogp-card-image {
    width: 100%;
    height: 160px;
  }

  .article-content .ogp-card-noimage {
    width: 100%;
    height: 80px;
  }

  .article-content .ogp-card-content {
    padding: 12px;
  }
}

/* ================================================================
   たんかどりくんアイコン
   - 丸く切り抜き、ふわふわアニメーション、オンマウスで右向き
   ================================================================ */

.tankadori-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.tankadori-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.tankadori-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 !important;
  box-shadow: none !important;
  border: 1px solid rgba(255, 149, 0, 0.4);
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* 向き変更はJavaScriptで制御 */

.tankadori-name {
  font-size: 0.8rem;
  color: #ff9500;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.05em;
}

.tankadori-speech {
  font-size: 1rem;
  color: #333;
  background: #fff;
  border: 2px solid #ff9500;
  border-radius: 16px;
  padding: 0.6rem 1rem;
  position: relative;
  margin-left: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.tankadori-speech::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -24px;
  margin-top: -12px;
  border: 12px solid transparent;
  border-right: 12px solid #ff9500;
}

.tankadori-speech::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -19px;
  margin-top: -10px;
  border: 10px solid transparent;
  border-right: 10px solid #fff;
}

@keyframes tankadori-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ================================================================
   キャラクター対話形式コンポーネント
   - 解説記事などで使用
   ================================================================ */

.chara-dialogue {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

/* 左側：顔グラ + 名前 */
.chara-dialogue-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 90px;
  padding: 0.25rem;
}

.chara-dialogue-face img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e0e0e0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin: 0 !important;
  background: #f8f8f8;
}

.chara-dialogue-name {
  font-size: 0.8rem;
  font-weight: bold;
  color: #555;
  margin-top: -0.5rem;
  text-align: center;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.4rem;
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff,
     0px -1px 0 #fff,
     0px  1px 0 #fff,
    -1px  0px 0 #fff,
     1px  0px 0 #fff,
    -2px -2px 0 currentColor,
     2px -2px 0 currentColor,
    -2px  2px 0 currentColor,
     2px  2px 0 currentColor,
     0px -2px 0 currentColor,
     0px  2px 0 currentColor,
    -2px  0px 0 currentColor,
     2px  0px 0 currentColor;
}

/* 右側：吹き出し */
.chara-dialogue-bubble {
  flex: 1;
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  padding: 0.875rem 1.1rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
}

/* 吹き出しの三角 */
.chara-dialogue-bubble::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 20px;
  border: 6px solid transparent;
  border-right-color: #e0e0e0;
}

.chara-dialogue-bubble::after {
  content: '';
  position: absolute;
  left: -8px;
  top: 22px;
  border: 4px solid transparent;
  border-right-color: #f8f9fa;
}

/* キャラごとのカラーバリエーション */
.chara-dialogue.chara-gill .chara-dialogue-face img {
  border-color: #8B6914;
}
.chara-dialogue.chara-gill .chara-dialogue-bubble {
  border-color: #8B6914;
  background: #fffbf0;
}
.chara-dialogue.chara-gill .chara-dialogue-bubble::before {
  border-right-color: #8B6914;
}
.chara-dialogue.chara-gill .chara-dialogue-bubble::after {
  border-right-color: #fffbf0;
}
.chara-dialogue.chara-gill .chara-dialogue-name {
  color: #8B6914;
}

.chara-dialogue.chara-hellion .chara-dialogue-face img {
  border-color: #2d6a6a;
}
.chara-dialogue.chara-hellion .chara-dialogue-bubble {
  border-color: #2d6a6a;
  background: #f0f8f8;
}
.chara-dialogue.chara-hellion .chara-dialogue-bubble::before {
  border-right-color: #2d6a6a;
}
.chara-dialogue.chara-hellion .chara-dialogue-bubble::after {
  border-right-color: #f0f8f8;
}
.chara-dialogue.chara-hellion .chara-dialogue-name {
  color: #2d6a6a;
}

.chara-dialogue.chara-ater .chara-dialogue-face img {
  border-color: #8b7355;
}
.chara-dialogue.chara-ater .chara-dialogue-bubble {
  border-color: #8b7355;
  background: #faf8f5;
}
.chara-dialogue.chara-ater .chara-dialogue-bubble::before {
  border-right-color: #8b7355;
}
.chara-dialogue.chara-ater .chara-dialogue-bubble::after {
  border-right-color: #faf8f5;
}
.chara-dialogue.chara-ater .chara-dialogue-name {
  color: #8b7355;
}

.chara-dialogue.chara-mitora .chara-dialogue-face img {
  border-color: #2d5a2d;
}
.chara-dialogue.chara-mitora .chara-dialogue-bubble {
  border-color: #2d5a2d;
  background: #f0f8f0;
}
.chara-dialogue.chara-mitora .chara-dialogue-bubble::before {
  border-right-color: #2d5a2d;
}
.chara-dialogue.chara-mitora .chara-dialogue-bubble::after {
  border-right-color: #f0f8f0;
}
.chara-dialogue.chara-mitora .chara-dialogue-name {
  color: #2563eb;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .chara-dialogue {
    gap: 0.5rem;
  }

  .chara-dialogue-face {
    width: 60px;
  }

  .chara-dialogue-face img {
    width: 50px;
    height: 50px;
  }

  .chara-dialogue-name {
    font-size: 0.7rem;
  }

  .chara-dialogue-bubble {
    font-size: 0.95rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
  }

  .chara-dialogue-bubble::before {
    top: 16px;
  }

  .chara-dialogue-bubble::after {
    top: 18px;
  }
}

/* 画像キャプション */
.article-content .caption {
  text-align: center;
  color: #888;
  font-size: 0.85em;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

/* 強調テキスト */
.article-content .big-text {
  font-size: 1.2em;
  font-weight: bold;
  margin: 1.5rem 0;
}

/* 結果引用ブロック */
.article-content blockquote.result {
  background: #f0f4ff;
  border-left-color: #5b7daa;
  font-style: normal;
}


/* ================================================================
   SOURCE: navigation.css
   ================================================================ */

/* Sticky navigation styles */
#headernav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.navbar {
  padding: 0.5rem 0;
}

.nav-link {
  padding: 0.75rem 1rem !important;
  border-radius: 8px;
  transition: all 0.3s ease !important;
  margin: 0 0.25rem;
  position: relative;
  color: #212529 !important;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  line-height: 1.2;
  min-width: 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #fd7e14;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: calc(100% - 2rem);
}

.nav-link:hover {
  color: #fd7e14 !important;
  transform: translateY(-2px);
}

.nav-link.active {
  background: linear-gradient(135deg, #fd7e14 0%, #ff922b 100%) !important;
  color: white !important;
  box-shadow: none;
}

.nav-link.active::after {
  display: none;
}

.nav-link i {
  margin-right: 0.375rem;
  transition: transform 0.3s ease;
  font-size: 0.9rem;
  min-width: 1rem;
  text-align: center;
  flex-shrink: 0;
}

.nav-link:hover i {
  transform: scale(1.1);
}

.nav-text {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  font-size: 0.9rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar-nav {
  width: 100%;
  justify-content: center;
  gap: 0.125rem;
  position: relative;
}

.navbar-nav .nav-item {
  margin: 0;
  position: relative;
  z-index: 2;
}

/* ナビ区切り線（サイト内 / 姉妹サイト） */
.nav-item.nav-divider {
  width: 1px;
  background: #ddd;
  margin: 0.5rem 0.5rem;
  align-self: stretch;
  pointer-events: none;
}

/* モバイル用フッターナビゲーション - デフォルト非表示（PC時） */
.mobile-nav {
  display: none;
}

/* スライドインジケーター */
.nav-slider-indicator {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: calc(100% - 8px);
  background: linear-gradient(135deg, #fd7e14 0%, #ff922b 100%);
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.2s ease;
  /* フレックスレイアウトから除外 */
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-slider-indicator.visible {
  opacity: 1;
}

/* ホバー時のスタイル調整（スライダー使用時） */
.navbar-nav.has-slider .nav-link {
  background: transparent !important;
  color: #212529 !important;
  transition: color 0.25s ease !important;
}

.navbar-nav.has-slider .nav-link.nav-hover-active {
  color: white !important;
}

.navbar-nav.has-slider .nav-link:hover {
  transform: none;
}

.navbar-nav.has-slider .nav-link.active:not(.nav-hover-active) {
  background: transparent !important;
  color: #212529 !important;
  box-shadow: none;
}

.navbar-nav.has-slider .nav-link:hover i,
.navbar-nav.has-slider .nav-link.active i {
  transform: none;
}

.navbar-nav.has-slider .nav-link::after {
  display: none;
}

@media (max-width: 991px) {
  #headernav {
    background: none;
    box-shadow: none;
  }

  .navbar {
    padding: 0;
  }

  .container-fluid {
    padding: 0;
  }

  /* モバイル用フッターナビゲーション */
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1050;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-nav-btn {
    border: none;
    background: none;
    padding: 0.5rem;
    color: #6c757d;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    transition: color 0.3s ease;
    text-decoration: none;
    flex: 1;
  }

  .mobile-nav-btn i {
    font-size: 1.25rem;
    margin-bottom: 0.125rem;
  }

  .mobile-nav-btn.active {
    color: #fd7e14;
    font-weight: 600;
  }

  /* メインコンテンツのパディング調整 */
  main {
    padding-bottom: 4rem;
  }
}

@media (max-width: 576px) {
  .mobile-nav {
    padding: 0.375rem;
  }

  .mobile-nav-btn {
    padding: 0.375rem 0.25rem;
    font-size: 0.65rem;
  }

  .mobile-nav-btn i {
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .mobile-nav {
    padding: 0.25rem;
  }

  .mobile-nav-btn {
    padding: 0.25rem 0.125rem;
    font-size: 0.6rem;
  }

  .mobile-nav-btn i {
    font-size: 0.9rem;
  }
}


/* ================================================================
   SOURCE: ui-overrides.css
   ================================================================ */

/* UI Color Overrides - Convert blue elements to site's orange/pink color scheme */

/* Category Filter Buttons */
.btn-outline-primary {
  color: var(--primary-orange, #fd7e14) !important;
  border-color: var(--primary-orange, #fd7e14) !important;
}

.btn-outline-primary:hover {
  color: #fff !important;
  background-color: var(--primary-orange, #fd7e14) !important;
  border-color: var(--primary-orange, #fd7e14) !important;
}

.btn-outline-primary:focus,
.btn-outline-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.25) !important;
}

.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
  color: var(--primary-orange, #fd7e14) !important;
  border-color: var(--primary-orange, #fd7e14) !important;
}

.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
  color: #fff !important;
  background-color: var(--primary-orange, #fd7e14) !important;
  border-color: var(--primary-orange, #fd7e14) !important;
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.25) !important;
}

/* Category Button Active State Enhancement */
.category-btn.active {
  background-color: var(--primary-orange, #fd7e14) !important;
  border-color: var(--primary-orange, #fd7e14) !important;
  color: #fff !important;
}

/* Tag Filter Active State */
.tag-filter.active {
  background-color: var(--primary-orange, #fd7e14) !important;
  border-color: var(--primary-orange, #fd7e14) !important;
  color: #fff !important;
}

/* Override any remaining blue (#007bff) references */
.btn-primary,
button[style*="007bff"] {
  background-color: var(--primary-orange, #fd7e14) !important;
  border-color: var(--primary-orange, #fd7e14) !important;
}

.btn-primary:hover {
  background-color: var(--hover-orange, #ff9f40) !important;
  border-color: var(--hover-orange, #ff9f40) !important;
}

.btn-primary:focus,
.btn-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.25) !important;
}

/* Links and text that use info blue */
.text-primary,
a.text-primary {
  color: var(--primary-orange, #fd7e14) !important;
}

.text-primary:hover,
a.text-primary:hover {
  color: var(--hover-orange, #ff9f40) !important;
}

/* Progress bars and other blue elements */
.progress-bar,
.bg-primary {
  background-color: var(--primary-orange, #fd7e14) !important;
}

/* Form controls focus state */
.form-control:focus {
  border-color: var(--primary-orange, #fd7e14) !important;
  box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.25) !important;
}

/* Custom select focus */
.custom-select:focus {
  border-color: var(--primary-orange, #fd7e14) !important;
  box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.25) !important;
}

/* Badge and label overrides */
.badge-primary {
  background-color: var(--primary-orange, #fd7e14) !important;
}

/* Alert info override */
.alert-info {
  color: #155724 !important;
  background-color: #d1ecf1 !important;
  border-color: var(--primary-orange, #fd7e14) !important;
}

/* Pagination active state */
.page-item.active .page-link {
  background-color: var(--primary-orange, #fd7e14) !important;
  border-color: var(--primary-orange, #fd7e14) !important;
}

.page-link {
  color: var(--primary-orange, #fd7e14) !important;
}

.page-link:hover {
  color: var(--hover-orange, #ff9f40) !important;
}

/* Dropdown and nav overrides */
.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--primary-orange, #fd7e14) !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: var(--primary-orange, #fd7e14) !important;
}

/* Main content area buttons - white background cards need light button backgrounds */
.card .btn-outline-primary,
main .btn-outline-primary {
  background-color: rgba(255, 255, 255, 0.9) !important;
  color: var(--primary-orange, #fd7e14) !important;
  border-color: var(--primary-orange, #fd7e14) !important;
}

.card .btn-outline-primary:hover,
main .btn-outline-primary:hover {
  background-color: var(--primary-orange, #fd7e14) !important;
  color: #fff !important;
  border-color: var(--primary-orange, #fd7e14) !important;
}

/* Override for category filter buttons - keep original orange text style */
.category-btn {
  background-color: transparent !important;
  color: var(--primary-orange, #fd7e14) !important;
  border-color: var(--primary-orange, #fd7e14) !important;
}

.category-btn:hover {
  background-color: var(--primary-orange, #fd7e14) !important;
  color: #fff !important;
  border-color: var(--primary-orange, #fd7e14) !important;
}


/* ================================================================
   SOURCE: geometric-loading.css
   ================================================================ */

/* 幾何学的でスタイリッシュなローディングアニメーション */

.loading-geometric {
  width: 60px;
  height: 60px;
  position: relative;
  margin: 0 auto 1rem;
}

/* メイン回転要素 */
.loading-geometric::before {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border: 3px solid transparent;
  border-top: 3px solid var(--primary-orange, #fd7e14);
  border-right: 3px solid rgba(253, 126, 20, 0.3);
  border-radius: 50%;
  animation: geometric-spin 1.2s linear infinite;
}

/* インナー幾何学形状 */
.loading-geometric::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--primary-orange, #fd7e14);
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 2px;
  animation: geometric-pulse 1.2s ease-in-out infinite alternate;
}

/* 外側の装飾リング */
.loading-geometric-ring {
  position: absolute;
  width: 80px;
  height: 80px;
  top: -10px;
  left: -10px;
  border: 1px solid rgba(253, 126, 20, 0.1);
  border-radius: 50%;
  animation: geometric-expand 2s ease-in-out infinite;
}

@keyframes geometric-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes geometric-pulse {
  0% {
    transform: translate(-50%, -50%) rotate(45deg) scale(0.8);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.2);
    opacity: 1;
  }
}

@keyframes geometric-expand {
  0%, 100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.4;
  }
}

/* 改良版ローディングオーバーレイ */
.loading-overlay-geometric {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  animation: fade-in-smooth 0.3s ease-out;
}

.loading-content-geometric {
  text-align: center;
  color: var(--primary-orange, #fd7e14);
  padding: 2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(253, 126, 20, 0.08);
  border: 1px solid rgba(253, 126, 20, 0.1);
  position: relative;
}

.loading-text-geometric {
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
  opacity: 0.8;
  letter-spacing: 0.5px;
}

@keyframes fade-in-smooth {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* ================================================================
   SOURCE: index.css
   ================================================================ */

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 50%, #ff4757 100%);
  background-size: 400% 400%;
  animation: gradientShift 3s ease infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#loading-screen.fade-out {
  opacity: 0;
  transform: scale(1.1);
  pointer-events: none;
}

.loading-content {
  text-align: center;
  color: white;
  position: relative;
}

.loading-3ds {
  display: flex;
  gap: 12px;
  margin-bottom: 2rem;
  justify-content: center;
}

.loading-cube {
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.9);
  border-radius: 4px;
  animation: cubeRotate 1.8s ease-in-out infinite;
}

.loading-cube:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-cube:nth-child(3) {
  animation-delay: 0.4s;
}

.loading-cube:nth-child(4) {
  animation-delay: 0.6s;
}

.loading-cube:nth-child(5) {
  animation-delay: 0.8s;
}


.loading-text {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
  animation: fadeInUp 1.2s ease-out 0.5s both;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.loading-progress {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 1.5rem auto 0;
  overflow: hidden;
  position: relative;
}

.loading-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(255,255,255,1), rgba(255,255,255,0.8));
  background-size: 200% 100%;
  border-radius: 2px;
  animation: progressFlow 2s ease-in-out infinite, progressGrow 3s ease-out;
}

/* キーフレームアニメーション */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes cubeRotate {
  0%, 100% {
    transform: rotate(0deg) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: rotate(180deg) scale(1.2);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  from { text-shadow: 0 4px 8px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.2); }
  to { text-shadow: 0 4px 8px rgba(0,0,0,0.3), 0 0 30px rgba(255,255,255,0.4); }
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}

@keyframes progressFlow {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes progressGrow {
  0% { width: 0; }
  100% { width: 100%; }
}

@keyframes logoTextAnimation {
  0%, 100% {
    transform: scale(1) translateY(0);
    text-shadow: 0 4px 8px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.5);
  }
  25% {
    transform: scale(1.05) translateY(-2px);
    text-shadow: 0 6px 12px rgba(0,0,0,0.4), 0 0 30px rgba(255,255,255,0.8);
  }
  50% {
    transform: scale(1) translateY(0);
    text-shadow: 0 4px 8px rgba(0,0,0,0.3), 0 0 25px rgba(255,255,255,0.6);
  }
  75% {
    transform: scale(0.98) translateY(1px);
    text-shadow: 0 3px 6px rgba(0,0,0,0.2), 0 0 35px rgba(255,255,255,0.9);
  }
}

@keyframes logoImageAnimation {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 20px rgba(255, 149, 0, 0.8)) brightness(1.2);
  }
  25% {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 30px rgba(255, 149, 0, 1)) brightness(1.3);
  }
  50% {
    transform: scale(1) rotate(-5deg);
    filter: drop-shadow(0 0 25px rgba(255, 149, 0, 0.9)) brightness(1.2);
  }
  75% {
    transform: scale(0.95) rotate(3deg);
    filter: drop-shadow(0 0 35px rgba(255, 149, 0, 1)) brightness(1.4);
  }
}

@keyframes logoPulse {
  0%, 100% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

/* 記事システムのスタイル */
.section-title {
  margin-bottom: 1.5rem;
  padding: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #212529;
}

.section-title .category-icon {
  font-size: 1.25rem;
  margin-right: 0.5rem;
  color: #212529;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

/* 中画面での最適化 */
@media (min-width: 769px) and (max-width: 1200px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* 大画面での最適化（2カラム固定） */
@media (min-width: 1201px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
}

.article-card {
  background: white;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  overflow: hidden;
  transition: all 0.2s ease;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.article-card:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.article-card-thumbnail {
  width: 100%;
  padding-top: 56.25%; /* 16:9のアスペクト比 (9/16=0.5625) */
  background: #ffffff;
  overflow: hidden;
  position: relative;
  border-radius: 8px 8px 0 0;
}

.article-card-thumbnail-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.article-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease;
  /* 16:9比率を強制 */
  aspect-ratio: 16 / 9;
}

.article-card:hover .article-card-thumbnail img {
  transform: scale(1.05);
}

.article-card-thumbnail .default-icon {
  font-size: 3.5rem;
  color: #333333;
}

/* サムネイル内のプレースホルダー背景パターン */
.article-card-thumbnail.no-image {
  background: #ffffff;
}

/* 画像のローディング表示 */
.article-card-thumbnail img.lazy {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.article-card-thumbnail img.loaded {
  opacity: 1;
}

/* エラー時のスタイル */
.article-card-thumbnail.image-error {
  background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
}

.article-card-thumbnail.image-error .default-icon {
  color: rgba(255, 255, 255, 0.9);
  font-size: 3rem;
}

.article-card-category {
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 100%);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-bottom: none;
  transition: all 0.2s ease;
}

.article-card-category:hover {
  background: linear-gradient(135deg, #ff6b35 0%, #ff9500 100%);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 149, 0, 0.3);
}

.article-card-category .category-name {
  font-weight: 600;
  color: white;
}

.article-card-category .category-date {
  font-weight: 400;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
}

.article-card-body {
  padding: 1.25rem;
}

.article-card-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: #212529;
  text-decoration: none;
  display: block;
  line-height: 1.4;
  padding: 0 1rem;
}

.article-card-title:hover {
  color: #212529;
  text-decoration: none;
}

.article-card-excerpt {
  font-size: 0.875rem;
  color: #6c757d;
  line-height: 1.6;
  padding: 0 1rem 1rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-card-description {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 1rem;
  line-height: 1.5;
  height: calc(0.875rem * 1.5 * 3); /* 3 lines x font-size x line-height */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.article-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 0;
  font-size: 0.75rem;
  color: #6c757d;
}

.article-card-date {
  margin-left: auto;
  margin-right: 10px;
}


.article-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-left: 0.5rem;
}

.article-card-tag {
  background: #e9ecef;
  color: #495057;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-size: 0.75rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.article-card-tag:hover {
  background: #ff9500;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ページネーション */
.pagination-container {
  margin: 2rem 0;
}

/* 次のページボタン（横幅いっぱい） */
.btn-next-page {
  width: 100%;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #495057;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .btn-next-page {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .btn-next-page {
    padding: 0.65rem;
    font-size: 0.85rem;
  }
}

.btn-next-page:hover {
  background: #ff9500;
  color: white;
  border-color: #ff9500;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 149, 0, 0.3);
}

.btn-next-page i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.btn-next-page:hover i {
  transform: translateX(4px);
}

.pagination-info {
  font-size: 0.875rem;
  color: #6c757d;
}

.pagination-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.pagination-btn {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #495057;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 0.875rem;
}

.pagination-btn:hover {
  background: #e9ecef;
  color: #495057;
  text-decoration: none;
}

.pagination-btn.active {
  background: #ff9500;
  color: white;
  border-color: #ff9500;
}

.pagination-btn:disabled {
  background: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

/* フィルター後の非表示 */
.article-card.filtered-out {
  display: none !important;
}

/* 共有ボタンのスタイル */
.article-share-buttons {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  pointer-events: none;
}

.share-toggle {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 0.875rem;
  color: #666;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  pointer-events: auto;
  opacity: 1;
}

.share-toggle:hover {
  background: rgba(255, 255, 255, 1);
  color: #ff9500;
  transform: scale(1.1);
}

.article-share-buttons.active .share-toggle {
  background: #ff9500;
  color: white;
}

.share-buttons-list {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 8px;
  display: flex;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 15;
  pointer-events: auto;
}

.article-share-buttons.active .share-buttons-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.share-twitter {
  background: #000000;
  color: white;
}

.share-twitter:hover {
  background: #333333;
  transform: scale(1.1);
}

.share-misskey {
  background: #66cc33;
  color: white;
}

.share-misskey:hover {
  background: #5cb82f;
  transform: scale(1.1);
}

.share-bluesky {
  background: #00a8e8;
  color: white;
}

.share-bluesky:hover {
  background: #0096cf;
  transform: scale(1.1);
}

/* ツールチップ - デスクトップのみ */
@media (min-width: 769px) {
  .share-button::before {
    content: attr(aria-label);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 4px;
    padding: 4px 8px;
    background: rgba(0,0,0,0.8);
    color: white;
    font-size: 0.75rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
  }

  .share-button:hover::before {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 768px) {
  /* コンテナの幅を最大限に使う（フル幅） */
  .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }

  /* Bootstrapのrowマージンを削除 */
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* 記事エリアのパディングを削除 */
  #article-area {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0;
  }

  .article-card {
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .article-card-thumbnail {
    border-radius: 0;
  }

  /* セクションタイトルに左パディングを追加 */
  .section-title {
    padding-left: 0.75rem;
  }

  /* 16:9比率のサムネイルはそのまま維持 */
  .article-card-thumbnail {
    padding-top: 56.25%; /* 16:9比率を維持 */
  }

  .article-card-body {
    padding: 0.875rem;
  }

  .article-card-title {
    font-size: 0.9rem;
    line-height: 1.3;
    padding: 0 0.75rem;
  }

  .article-card-description,
  .article-card-excerpt {
    font-size: 0.75rem;
    height: calc(0.75rem * 1.4 * 3);
    line-height: 1.4;
    padding: 0 0.75rem 0.75rem;
  }

  /* セクションタイトルのフォントサイズを調整 */
  .section-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  /* モバイル用共有ボタン調整 */
  .article-share-buttons {
    top: 6px;
    right: 6px;
    z-index: 6;
  }

  .share-toggle {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  }

  .share-buttons-list {
    right: -6px;
    padding: 4px;
    gap: 4px;
    z-index: 20;
  }

  .share-button {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  /* スマホではタップエリアを大きく */
  .share-toggle,
  .share-button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .pagination-container {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* サイドバーの調整 */
  #sidebar {
    order: 2;
    margin-top: 2rem;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .sidebarinner {
    padding: 1rem 0.75rem;
  }

  .sidebarinner h5,
  .sidebarinner .h6 {
    font-size: 0.8rem !important;
  }

  .sidebarinner p,
  .sidebarinner .small {
    font-size: 0.75rem !important;
  }

  .recommended-link {
    font-size: 0.75rem !important;
  }

  .col-md-9 {
    order: 1;
  }

  /* カテゴリーボタンを縦に並べる */
  .category-btn, .tag-filter {
    margin: 0.25rem 0;
    width: 100%;
    text-align: left;
  }
}

.category-icon {
  margin-right: 0.5rem;
  color: #ff9500;
}

.recommended-articles {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.recommended-item {
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-left: 3px solid #ff9500;
  transition: all 0.2s ease;
}

.recommended-item:hover {
  background: #fffaf5;
  border-left-color: #ff6b35;
  transform: translateX(2px);
  box-shadow: 0 2px 4px rgba(255, 149, 0, 0.1);
}

.recommended-link {
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  color: #495057;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.recommended-link i {
  color: #ff9500;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.recommended-link:hover {
  color: #212529;
  text-decoration: none;
}

.hero-section {
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 3rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-description {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.btn-hero {
  background: rgba(255,255,255,0.2);
  border: 2px solid white;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  margin: 0 0.5rem;
}

.btn-hero:hover {
  background: white;
  color: #ff9500;
  text-decoration: none;
}

.section-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.section-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.section-card h3 {
  color: #333;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-card .icon {
  font-size: 1.5rem;
  color: #ff9500;
}

.nav-card {
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.nav-card:hover {
  background: rgba(255, 149, 0, 0.1);
  transform: translateY(-2px);
}

.nav-card i {
  font-size: 2rem;
  color: #ff9500;
  margin-bottom: 0.5rem;
  display: block;
}

.nav-card h5 {
  color: #333;
  margin: 0;
  font-size: 0.9rem;
}

/* ローディングとエラー表示のスタイル */
.loading-overlay {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  min-height: 200px;
  border-radius: 12px;
}

.loading-content {
  text-align: center;
  color: #ff9500;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  position: relative;
  margin: 0 auto 1rem;
}

.loading-spinner::before {
  content: '\1F4DA';
  position: absolute;
  font-size: 2rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: bounce 1.2s ease-in-out infinite alternate;
}

.loading-spinner::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  border: 3px solid transparent;
  border-top: 3px solid #ff9500;
  border-right: 3px solid #ff6b35;
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes bounce {
  0% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -50%) scale(1.1); }
}

.error-message, .no-results {
  text-align: center;
  padding: 3rem;
  color: #6c757d;
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #dee2e6;
}

.filter-status {
  background: #fff3cd;
  color: #856404;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

.article-count {
  font-weight: 500;
  color: #6c757d;
}

/* 遅延読み込み画像のスタイル */
img.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

img.lazy.loaded {
  opacity: 1;
}

/* カテゴリーボタンのスタイル */
.category-btn {
  transition: all 0.2s ease;
}

.category-btn:hover {
  transform: translateY(-1px);
}

.category-btn.active {
  background-color: #ff9500 !important;
  border-color: #ff9500 !important;
  color: white !important;
}

/* タグフィルターのスタイル */
.tag-filter {
  transition: all 0.2s ease;
}

.tag-filter:hover {
  transform: translateY(-1px);
}

.tag-filter.active {
  background-color: #17a2b8 !important;
  border-color: #17a2b8 !important;
  color: white !important;
}

.tag-filter .badge {
  font-size: 0.7rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-hero {
    display: block;
    margin: 0.5rem auto;
    width: fit-content;
  }
}

/* 広告ポップアップのスタイル */
.ad-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 0.4rem;
  z-index: 1000;
  width: 160px;
  transform: translateY(120%);
  transition: all 0.3s ease;
}

.ad-popup.show {
  transform: translateY(0);
}

.ad-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.2rem;
  padding: 0 0.3rem;
}

.ad-popup-title {
  font-size: 0.75rem;
  font-weight: normal;
  color: #6c757d;
  margin: 0;
}

.ad-popup-close {
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 0.2rem;
  transition: all 0.2s ease;
  font-size: 0.75rem;
}

.ad-popup-close:hover {
  color: #495057;
}

.ad-popup-content {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
}

.ad-carousel {
  display: flex;
  transition: all 0.3s ease;
}

.ad-item {
  flex: 0 0 100%;
  padding: 0;
  text-align: center;
  aspect-ratio: 1;
  position: relative;
}

.ad-item img {
  width: 100%;
  height: 100%;
  display: block;
  transition: all 0.2s ease;
  object-fit: cover;
}

.ad-suggestion {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.65rem;
  padding: 0.2rem;
  text-align: left;
  line-height: 1.2;
  max-height: 2.4em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ad-item img:hover {
  transform: scale(1.02);
}

.ad-nav {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.3rem;
  padding-bottom: 0.2rem;
}

.ad-nav-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #dee2e6;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ad-nav-dot.active {
  background: #495057;
}

@media (max-width: 768px) {
  .ad-popup {
    bottom: 10px;
    right: 10px;
    width: 140px;
  }
}

/* カードのみ記事のスタイル */
.card-only-article {
  position: relative;
}

.card-only-title {
  color: #333;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.4;
  display: block;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none;
}

.card-only-title:hover {
  color: #ff9500;
}

.card-only-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 149, 0, 0.9);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(5px);
}

/* カードのみ記事のモーダル */
.card-only-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.card-only-modal {
  background: white;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}

.card-only-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-only-modal-header h3 {
  margin: 0;
  color: #333;
  font-size: 1.25rem;
}

.card-only-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.3s ease;
}

.card-only-modal-close:hover {
  color: #333;
}

.card-only-modal-body {
  padding: 1.5rem;
}

.card-only-modal-category {
  background: #ff9500;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.card-only-modal-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.card-only-modal-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.card-only-modal-date {
  color: #999;
  font-size: 0.9rem;
}

.card-only-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.card-only-modal-tag {
  background: #e9ecef;
  color: #495057;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  font-size: 0.8rem;
}

.card-only-modal-link {
  text-align: center;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* さらに小さい画面用の調整 */
@media (max-width: 480px) {
  /* コンテナはフル幅を維持 */
  .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .articles-grid {
    padding: 0;
    gap: 0.5rem;
  }

  .article-card {
    border-radius: 0;
  }

  /* 小画面でも16:9比率を維持 */
  .article-card-thumbnail {
    padding-top: 56.25%;
    border-radius: 0;
  }

  /* 小画面用のアイコンサイズ調整 */
  .article-card-thumbnail .default-icon {
    font-size: 2.5rem;
    color: #333333;
  }

  .article-card-body {
    padding: 0.65rem;
  }

  .article-card-title {
    font-size: 0.85rem;
    line-height: 1.25;
    padding: 0 0.5rem;
    margin-bottom: 0.5rem;
  }

  .article-card-description,
  .article-card-excerpt {
    font-size: 0.7rem;
    height: calc(0.7rem * 1.3 * 3);
    line-height: 1.3;
    padding: 0 0.5rem 0.5rem;
  }

  .article-card-category {
    font-size: 0.7rem;
    padding: 0.4rem 0.75rem;
  }

  .article-card-meta {
    font-size: 0.7rem;
    padding: 0 0.5rem;
  }

  .article-share-buttons {
    top: 4px;
    right: 4px;
    z-index: 8;
  }

  .share-toggle {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  }

  .share-button {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  .share-buttons-list {
    padding: 3px;
    gap: 3px;
    right: -4px;
    z-index: 25;
  }

  .article-card-meta {
    font-size: 0.7rem;
  }

  .article-card-tag {
    font-size: 0.65rem;
    padding: 0.15rem 0.35rem;
  }

  .section-title {
    font-size: 1.1rem;
    padding: 0.5rem 0.5rem;
    margin-bottom: 0.75rem;
  }

  .section-title .category-icon {
    font-size: 1rem;
  }

  /* サイドバーをさらにコンパクトに */
  .sidebarinner {
    padding: 0.75rem 0.5rem;
  }

  .sidebarinner h5,
  .sidebarinner .h6 {
    font-size: 0.75rem !important;
    margin-bottom: 0.5rem !important;
  }

  .sidebarinner p,
  .sidebarinner .small {
    font-size: 0.7rem !important;
  }

  .recommended-link {
    font-size: 0.7rem !important;
  }

  .recommended-item {
    padding: 0.4rem 0.6rem;
  }

  /* 検索ボックスのサイズ調整 */
  #articleSearch {
    font-size: 0.8rem !important;
  }

  /* フィルターセレクトのサイズ調整 */
  .form-select-sm,
  .form-label {
    font-size: 0.75rem !important;
  }
}

/* ヒーローエリアのシェアボタン */
.hero-share-buttons {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
}

.share-toggle-hero {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 1.1rem;
  color: #ff9500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.share-toggle-hero:hover {
  background: #ff9500;
  color: white;
  transform: scale(1.1);
}

.share-toggle-hero.active {
  background: #ff9500;
  color: white;
}

.share-buttons-list-hero {
  position: absolute;
  bottom: 60px;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.share-buttons-list-hero.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.share-copy {
  background: #6c757d;
  color: white;
}

.share-copy:hover {
  background: #5a6268;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .hero-share-buttons {
    bottom: 10px;
    right: 10px;
  }

  .share-toggle-hero {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

/* 画像クレジット表示 */
.illustration-credit {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-top-right-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 5;
  transition: all 0.3s ease;
}

.illustration-credit:hover {
  background: rgba(0, 0, 0, 0.9);
  padding-right: 1.25rem;
}

.illustration-credit i {
  color: #ff9500;
  font-size: 0.9rem;
}

.illustration-credit a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.illustration-credit a:hover {
  color: #ff9500;
  border-bottom-color: #ff9500;
}

@media (max-width: 768px) {
  .illustration-credit {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .illustration-credit i {
    font-size: 0.8rem;
  }
}

/* 月別アーカイブのスタイル */
.archive-item {
  margin-bottom: 0.5rem;
}

.archive-link {
  display: block;
  padding: 0.5rem 0.75rem;
  background: #f8f9fa;
  border-radius: 6px;
  color: #495057;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.archive-link:hover {
  background: #e9ecef;
  color: #ff9500;
  transform: translateX(4px);
}

.archive-link.active {
  background: #ff9500;
  color: white;
}

.archive-link i {
  color: #ff9500;
  transition: all 0.2s ease;
}

.archive-link.active i {
  color: white;
}

/* タグクラウドのスタイル */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-item {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  background: #f8f9fa;
  color: #495057;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.85rem;
  border: 1px solid #e9ecef;
}

.tag-item:hover {
  background: #e9ecef;
  color: #ff9500;
  border-color: #ff9500;
  transform: translateY(-2px);
}

.tag-item.active {
  background: #ff9500;
  color: white;
  border-color: #ff9500;
}

.tag-item .tag-count {
  font-size: 0.75rem;
  opacity: 0.7;
}

.tag-item.tag-size-large {
  font-size: 1rem;
  font-weight: 600;
}

.tag-item.tag-size-medium {
  font-size: 0.925rem;
  font-weight: 500;
}

.tag-item.tag-size-normal {
  font-size: 0.85rem;
}

/* 記事詳細モード */
#articles.article-detail-mode {
  background: #f5f5f5 !important;
  padding: 2rem 0 !important;
  width: 100% !important;
  display: block !important;
}

#articles.article-detail-mode .articles-grid {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}

#articles.article-detail-mode .section-title {
  display: none !important;
}

/* 記事詳細コンテナ */
.article-detail-container {
  width: 85%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem;
  background: white;
  box-sizing: border-box;
}

.article-detail-container h1 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: #212529;
}


.article-detail-container .article-meta {
  margin-bottom: 1.5rem;
}

/* タグスタイル（白黒灰色の大人しめデザイン） */
.article-tag {
  display: inline-block;
  padding: 3px 10px;
  margin-right: 6px;
  font-size: 0.85rem;
  color: #666;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.article-tag:hover {
  background: #ff9500;
  color: white;
  border-color: #ff9500;
  transform: translateY(-1px);
}

/* 記事ナビゲーション */
.article-detail-container .article-navigation {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #e9ecef;
}

/* モバイル対応 */
@media (max-width: 768px) {
  #articles.article-detail-mode {
    padding: 0;
  }

  .article-detail-container {
    padding: 1rem;
    width: 100%;
    max-width: 100%;
  }

  .article-detail h1 {
    font-size: 1.5rem;
  }

  .article-detail .article-content {
    font-size: 1rem;
  }
}

/* コミッションギャラリースタイル（article.cssにないもののみ残す） */
.article-content .commission-section {
  margin: 3rem 0;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 12px;
}

.article-content .commission-section h3 {
  color: #ff9500;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ff9500;
  padding-bottom: 0.5rem;
}

.article-content .service-link {
  display: inline-block;
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  background: #fff;
  color: #ff9500;
  text-decoration: none;
  border: 1px solid #ff9500;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.article-content .service-link:hover {
  background: #ff9500;
  color: white;
}

.article-content .illust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.article-content .illust-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  background: white;
}

.article-content .illust-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.article-content .illust-item a {
  display: block;
  position: relative;
  padding-top: 100%; /* 1:1のアスペクト比 */
  overflow: hidden;
}

.article-content .illust-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.article-content .illust-item:hover img {
  transform: scale(1.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .article-content .illust-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .article-content .illust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* 記事タグ */
.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.article-tags .badge {
  background: linear-gradient(135deg, #ff9500 0%, #ff6b00 100%) !important;
  color: white !important;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  font-weight: normal;
  border-radius: 4px;
  transition: transform 0.2s ease;
}

.article-tags .badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(255, 149, 0, 0.3);
}

.article-tags i {
  color: #666;
}

/* 記事ナビゲーション */
.article-navigation {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 2px solid #e9ecef;
  border-bottom: 2px solid #e9ecef;
}

.article-nav-link {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  color: #495057;
  transition: all 0.3s ease;
  min-height: 80px;
}

.article-nav-link:hover {
  background: #e9ecef;
  color: #ff9500;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.article-nav-prev {
  justify-content: flex-start;
}

.article-nav-next {
  justify-content: flex-end;
}

.article-nav-info {
  text-align: left;
}

.article-nav-next .article-nav-info {
  text-align: right;
}

.article-nav-label {
  font-size: 0.75rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  font-weight: 600;
}

.article-nav-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.article-nav-link i {
  flex-shrink: 0;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .article-navigation {
    margin: 2rem 0;
    padding: 1rem 0.5rem;
  }

  .article-navigation .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem;
  }

  .article-navigation .col-6 {
    flex: 1;
    max-width: 50%;
    padding: 0 0.25rem;
  }

  .article-nav-link {
    padding: 0.5rem;
    min-height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .article-nav-prev,
  .article-nav-next {
    justify-content: center;
  }

  .article-nav-info {
    text-align: center !important;
  }

  .article-nav-label {
    font-size: 0.65rem;
    margin-bottom: 0.15rem;
  }

  .article-nav-title {
    font-size: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .article-nav-link i {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  /* アイコンを上に配置 */
  .article-nav-prev i {
    order: -1;
    margin-right: 0 !important;
  }

  .article-nav-next i {
    order: -1;
    margin-left: 0 !important;
  }
}

/* レトロカウンター - カジュアルポップ */
.retro-counter-container {
  text-align: center;
  padding: 0;
  background: none;
  border-radius: 8px;
  border: none;
  margin-top: 0;
  box-shadow: none;
}

.retro-counter {
  background: #ff9500;
  padding: 0.6rem;
  border-radius: 4px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.retro-counter-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.retro-counter-label {
  font-size: 0.7rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-family: 'Courier New', monospace;
}

.counter-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.counter-digits {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 3px;
  overflow: hidden;
}

.counter-digit {
  width: 22px;
  height: 30px;
  background: #ff8800;
  border: 1px solid #cc6d00;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Courier New', monospace;
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  transition: background 0.5s ease, border-color 0.5s ease;
  flex-shrink: 0;
}

.counter-digit.rainbow {
  background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
  background-size: 200% 200%;
  animation: rainbowAnimation 3s ease infinite;
  border-color: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes rainbowAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.counter-digit-inner {
  display: block;
  transition: none;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.3);
}

.counter-digit.rainbow .counter-digit-inner {
  text-shadow: 0 0 8px rgba(255, 255, 255, 1), 0 0 15px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.5);
  animation: rainbowTextGlow 2s ease infinite;
}

@keyframes rainbowTextGlow {
  0%, 100% {
    text-shadow: 0 0 8px rgba(255, 255, 255, 1), 0 0 15px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.5);
  }
  50% {
    text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 25px rgba(255, 255, 255, 0.9), 0 2px 6px rgba(0, 0, 0, 0.6);
  }
}

.counter-digit.rolling .counter-digit-inner {
  animation: digitSlide 0.5s ease;
}

@keyframes digitSlide {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(100%);
    opacity: 0;
  }
  51% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.counter-reroll-btn {
  margin: 0;
  padding: 0;
  width: 20px;
  height: 20px;
  background: rgba(255, 100, 100, 0.6);
  border: 1px solid rgba(255, 150, 150, 0.8);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter-reroll-btn:hover {
  background: rgba(255, 100, 100, 0.9);
  border-color: rgba(255, 150, 150, 1);
  opacity: 1;
  transform: scale(1.1);
}

.counter-reroll-btn:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .retro-counter {
    padding: 0.5rem;
  }

  .counter-digit {
    width: 18px;
    height: 26px;
    font-size: 1.1rem;
  }

  .retro-counter-label {
    font-size: 0.6rem;
  }

  .counter-reroll-btn {
    width: 16px;
    height: 16px;
  }

  .counter-row {
    gap: 0.4rem;
  }
}

/* ========================================
   インタラクティブチェックリスト
   ======================================== */
.interactive-checklist {
  list-style: none;
  padding-left: 0;
}

.interactive-checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.interactive-checklist li::before {
  content: '\2610';
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  color: #999;
  transition: all 0.2s ease;
}

.interactive-checklist li.checked::before {
  content: '\2611';
  color: #ff9500;
}

.interactive-checklist li.checked {
  color: #999;
  text-decoration: line-through;
}
