#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 × font-size × 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: '📚';
  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: '☐';
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  color: #999;
  transition: all 0.2s ease;
}

.interactive-checklist li.checked::before {
  content: '☑';
  color: #ff9500;
}

.interactive-checklist li.checked {
  color: #999;
  text-decoration: line-through;
}
