/* ══════════════════════════════════════
   CURATE — Article Detail Styles
   ══════════════════════════════════════ */

/* ── Reading Progress ── */
.reading-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--asagi), var(--asagi-mid));
  transition: width 0.1s linear;
}

/* ── Breadcrumb ── */
.breadcrumb-wrap { padding: 1.25rem 0 0; }
.breadcrumb-nav {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; color: var(--gray-500);
}
.breadcrumb-nav a { color: var(--gray-500); text-decoration: none; transition: var(--transition-fast); }
.breadcrumb-nav a:hover { color: var(--asagi); }
.breadcrumb-nav .sep { color: var(--gray-300); }

/* ── Article Header ── */
.article-header { padding: 2rem 0 1.5rem; }
.article-category-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase;
  padding: 0.22rem 0.7rem; border-radius: 6px; margin-bottom: 1rem;
}
.article-page-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2rem; font-weight: 900; color: var(--gray-900);
  line-height: 1.5; margin-bottom: 1.25rem;
}
.article-header-meta {
  display: flex; align-items: center; gap: 1.25rem;
  font-size: 0.8rem; color: var(--gray-500);
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--gray-200);
  flex-wrap: wrap;
}
.article-header-meta .meta-item { display: flex; align-items: center; gap: 0.35rem; }
.article-header-meta .meta-item i { font-size: 0.85rem; }

/* ── Article Body ── */
.article-body {
  padding: 2.5rem 0 3rem;
  font-size: 0.95rem; line-height: 2; color: var(--gray-800);
}
.article-body p { margin-bottom: 1.75rem; font-weight: 300; }
.article-body h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4rem; font-weight: 800; color: var(--gray-900);
  margin: 3rem 0 1.25rem; padding-left: 1rem;
  border-left: 4px solid var(--asagi); line-height: 1.5;
}
.article-body h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--gray-900);
  margin: 2.25rem 0 1rem; line-height: 1.55;
}
.article-body strong { font-weight: 700; color: var(--gray-900); }
.article-body a {
  color: var(--asagi-dark); text-decoration: underline;
  text-underline-offset: 3px; transition: var(--transition-fast);
}
.article-body a:hover { color: var(--asagi); }
.article-body ul, .article-body ol { margin: 1.25rem 0 1.75rem 1.5rem; font-weight: 300; }
.article-body li { margin-bottom: 0.5rem; }
.article-body blockquote {
  border-left: 4px solid var(--asagi-mid);
  background: var(--asagi-lighter); padding: 1.25rem 1.5rem;
  margin: 2rem 0; border-radius: 0 var(--card-radius-sm) var(--card-radius-sm) 0;
  font-size: 0.92rem; color: var(--gray-700); font-style: italic;
}
.article-body blockquote p { margin-bottom: 0; }

/* Info Box */
.info-box {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--card-radius-sm); padding: 1.5rem 1.75rem; margin: 2rem 0;
}
.info-box-title {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 700; color: var(--asagi-dark); margin-bottom: 0.75rem;
}
.info-box-title i { font-size: 1rem; }
.info-box p { margin-bottom: 0.5rem; font-size: 0.88rem; }
.info-box p:last-child { margin-bottom: 0; }

/* Data Table */
.article-table-wrap {
  margin: 2rem 0; border-radius: var(--card-radius-sm);
  overflow: hidden; border: 1px solid var(--gray-200);
}
.article-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.article-table thead th {
  background: var(--asagi); color: var(--white);
  padding: 0.75rem 1rem; font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.5px; text-align: left;
}
.article-table tbody td {
  padding: 0.7rem 1rem; border-bottom: 1px solid var(--gray-100); font-weight: 300;
}
.article-table tbody tr:last-child td { border-bottom: none; }
.article-table tbody tr:hover { background: var(--asagi-lighter); }
.change-negative { color: var(--orange); font-weight: 600; }
.change-positive { color: var(--green); font-weight: 600; }

/* Data Table — Fallback for plain <table> without classes */
.article-body table:not(.article-table) {
  width: 100%; border-collapse: collapse; font-size: 0.85rem;
  margin: 2rem 0; border-radius: var(--card-radius-sm);
  overflow: hidden; border: 1px solid var(--gray-200);
}
.article-body table:not(.article-table) thead th,
.article-body table:not(.article-table) tbody tr:first-child th,
.article-body table:not(.article-table) tr:first-child td:only-child {
  background: var(--asagi); color: var(--white);
  padding: 0.75rem 1rem; font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.5px; text-align: left;
}
.article-body table:not(.article-table) th {
  background: var(--asagi); color: var(--white);
  padding: 0.75rem 1rem; font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.5px; text-align: left;
}
.article-body table:not(.article-table) td {
  padding: 0.7rem 1rem; border-bottom: 1px solid var(--gray-100); font-weight: 300;
}
.article-body table:not(.article-table) tr:last-child td { border-bottom: none; }
.article-body table:not(.article-table) tr:hover { background: var(--asagi-lighter); }

/* ── Share / Actions ── */
.article-actions {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0; border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200); margin-bottom: 2.5rem;
  flex-wrap: wrap; gap: 1rem;
}
.share-group { display: flex; align-items: center; gap: 0.5rem; }
.share-label {
  font-size: 0.75rem; font-weight: 600; color: var(--gray-500);
  letter-spacing: 1px; text-transform: uppercase; margin-right: 0.25rem;
}
.share-btn {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1.5px solid var(--gray-200);
  background: var(--white); color: var(--gray-500);
  font-size: 0.95rem; cursor: pointer; transition: var(--transition-fast); text-decoration: none;
}
.share-btn:hover { border-color: var(--asagi); color: var(--asagi); background: var(--asagi-lighter); }
.bookmark-action {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem; border-radius: 10px;
  border: 1.5px solid var(--gray-200); background: var(--white);
  color: var(--gray-600); font-size: 0.8rem; font-weight: 500;
  cursor: pointer; transition: var(--transition-fast);
}
.bookmark-action:hover { border-color: var(--asagi); color: var(--asagi); background: var(--asagi-lighter); }
.bookmark-action.active { border-color: var(--asagi); color: var(--asagi); background: var(--asagi-lighter); }
.bookmark-action i { font-size: 1rem; }

/* ── Author Box ── */
.author-box {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--card-radius); padding: 1.75rem;
  display: flex; gap: 1.25rem; align-items: flex-start;
  margin-bottom: 2.5rem; transition: var(--transition);
}
.author-box:hover { box-shadow: var(--shadow-sm); }
.author-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--asagi), var(--asagi-dark));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.author-avatar i { font-size: 1.4rem; color: white; }
.author-avatar-img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.author-info { flex: 1; }
.author-name { font-size: 0.95rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.1rem; }
.author-role { font-size: 0.75rem; color: var(--asagi); font-weight: 600; margin-bottom: 0.5rem; }
.author-bio { font-size: 0.82rem; color: var(--gray-600); line-height: 1.75; font-weight: 300; }

/* ── Related Articles ── */
.related-section { margin-bottom: 2rem; }
.related-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gray-700);
  display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.25rem;
}
.related-title .divider-icon {
  width: 30px; height: 30px; border-radius: 8px; background: var(--asagi-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--asagi); font-size: 0.85rem; flex-shrink: 0;
}
.related-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gray-200), transparent); }
.related-card {
  background: var(--white); border-radius: var(--card-radius);
  padding: 1.35rem 1.35rem 1.35rem 1.75rem;
  border: 1px solid var(--gray-200); transition: var(--transition);
  position: relative; overflow: hidden; cursor: pointer; margin-bottom: 0.75rem;
}
.related-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%; background: var(--asagi);
  opacity: 0; transition: opacity 0.25s ease;
}
.related-card:hover { border-color: var(--asagi-mid); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.related-card:hover::before { opacity: 1; }
.related-card-category {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase;
  padding: 0.18rem 0.6rem; border-radius: 6px; margin-bottom: 0.4rem;
}
.related-card h3 { font-size: 0.92rem; font-weight: 700; color: var(--gray-900); line-height: 1.55; margin-bottom: 0.35rem; }
.related-card h3 a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
.related-card h3 a:hover { color: var(--asagi-dark); }
.related-card-meta { font-size: 0.72rem; color: var(--gray-500); display: flex; align-items: center; gap: 0.75rem; }
.related-card-meta .meta-item { display: flex; align-items: center; gap: 0.3rem; }

/* ── TOC ── */
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { margin-bottom: 0.15rem; }
.toc-list a {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.55rem 0.75rem; border-radius: 8px;
  font-size: 0.82rem; font-weight: 400; color: var(--gray-600);
  text-decoration: none; transition: var(--transition-fast); line-height: 1.5;
}
.toc-list a:hover { background: var(--asagi-lighter); color: var(--asagi-dark); }
.toc-list a.active { background: var(--asagi-lighter); color: var(--asagi-dark); font-weight: 600; }
.toc-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem; font-weight: 700; color: var(--asagi);
  min-width: 18px; flex-shrink: 0; padding-top: 2px;
}

/* ── Responsive Display Toggle ── */
/* モバイルTOC: デスクトップでは非表示 */
.toc-mobile { display: none; }

/* デスクトップTOC & サイドバープロフィール: デフォルト表示 */
.toc-desktop { display: block; }
.sidebar-profile-desktop { display: block; }

@media (max-width: 991.98px) {
  .toc-mobile { display: block; }
  .toc-desktop { display: none !important; }
  .sidebar-profile-desktop { display: none !important; }
}

/* ── Article Responsive ── */

/* Tablet (≤991px) */
@media (max-width: 991.98px) {
  .article-page-title { font-size: 1.55rem; }
  .article-header { padding: 1.5rem 0 1.25rem; }
  .article-body { padding: 2rem 0 2.5rem; }
  .article-body h2 { font-size: 1.25rem; margin: 2.5rem 0 1rem; }
  .article-body h3 { font-size: 1.05rem; margin: 2rem 0 0.85rem; }
  .related-card { padding: 1.15rem 1.15rem 1.15rem 1.5rem; }
  .breadcrumb-nav span:last-child {
    max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    display: inline-block; vertical-align: bottom;
  }
}

/* Mobile (≤767px) */
@media (max-width: 767.98px) {
  /* Breadcrumb */
  .breadcrumb-wrap { padding: 0.65rem 0 0; }
  .breadcrumb-nav { font-size: 0.68rem; gap: 0.25rem; flex-wrap: wrap; }
  .breadcrumb-nav span:last-child { max-width: 150px; }
  .breadcrumb-nav .sep i { font-size: 0.55rem; }

  /* Article Header */
  .article-header { padding: 1rem 0 0.85rem; }
  .article-category-badge { font-size: 0.6rem; padding: 0.18rem 0.6rem; margin-bottom: 0.6rem; border-radius: 5px; }
  .article-page-title { font-size: 1.2rem; line-height: 1.55; margin-bottom: 0.85rem; }
  .article-header-meta { gap: 0.5rem 0.85rem; font-size: 0.7rem; padding-bottom: 0.85rem; flex-wrap: wrap; }
  .article-header-meta .meta-item i { font-size: 0.78rem; }

  /* Article Body */
  .article-body {
    padding: 1.25rem 0 1.75rem; font-size: 0.88rem; line-height: 1.85;
    overflow-x: hidden;
  }
  .article-body p { margin-bottom: 1.25rem; }
  .article-body h2 {
    font-size: 1.1rem; margin: 1.75rem 0 0.75rem;
    padding-left: 0.75rem; border-left-width: 3px; line-height: 1.5;
  }
  .article-body h3 { font-size: 0.98rem; margin: 1.5rem 0 0.65rem; }
  .article-body blockquote {
    padding: 0.85rem 1rem; margin: 1.25rem 0; font-size: 0.82rem;
    border-left-width: 3px; border-radius: 0 10px 10px 0;
  }
  .article-body blockquote p { margin-bottom: 0; }
  .article-body ul, .article-body ol { margin: 1rem 0 1.25rem 1rem; font-size: 0.85rem; }
  .article-body li { margin-bottom: 0.35rem; }
  .article-body a { text-underline-offset: 2px; word-break: break-all; }
  .article-body img { max-width: 100%; height: auto; border-radius: 8px; }
  .article-body iframe,
  .article-body video,
  .article-body embed,
  .article-body object { max-width: 100%; }
  .article-body pre,
  .article-body code { overflow-x: auto; max-width: 100%; word-break: break-all; font-size: 0.8rem; }

  /* Info Box */
  .info-box { padding: 1rem 1.1rem; margin: 1.25rem 0; border-radius: 10px; }
  .info-box-title { font-size: 0.75rem; margin-bottom: 0.55rem; gap: 0.35rem; }
  .info-box-title i { font-size: 0.88rem; }
  .info-box p { font-size: 0.8rem; margin-bottom: 0.35rem; }

  /* Data Table — horizontal scroll with full-bleed */
  .article-table-wrap {
    margin: 1.25rem -16px; border-radius: 0;
    border-left: none; border-right: none;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
  }
  .article-table { font-size: 0.75rem; min-width: 460px; }
  .article-table thead th { padding: 0.55rem 0.7rem; font-size: 0.68rem; white-space: nowrap; }
  .article-table tbody td { padding: 0.5rem 0.7rem; }

  /* Data Table fallback — plain tables */
  .article-body table:not(.article-table) {
    font-size: 0.75rem; min-width: 460px;
    margin: 1.25rem -16px; border-radius: 0;
    border-left: none; border-right: none;
    overflow-x: auto; display: block; -webkit-overflow-scrolling: touch;
  }
  .article-body table:not(.article-table) th { padding: 0.55rem 0.7rem; font-size: 0.68rem; white-space: nowrap; }
  .article-body table:not(.article-table) td { padding: 0.5rem 0.7rem; }

  /* Share / Actions */
  .article-actions {
    padding: 1rem 0; margin-bottom: 1.5rem;
    flex-direction: column; align-items: flex-start; gap: 0.75rem;
  }
  .share-group { gap: 0.35rem; }
  .share-label { font-size: 0.68rem; letter-spacing: 0.8px; }
  .share-btn { width: 34px; height: 34px; border-radius: 8px; font-size: 0.88rem; }
  .bookmark-action { font-size: 0.72rem; padding: 0.35rem 0.75rem; border-radius: 8px; }
  .bookmark-action i { font-size: 0.88rem; }

  /* Author Box */
  .author-box {
    flex-direction: column; text-align: center; align-items: center;
    padding: 1.25rem; gap: 0.85rem; margin-bottom: 1.75rem;
    border-radius: var(--card-radius);
  }
  .author-avatar { width: 48px; height: 48px; }
  .author-name { font-size: 0.85rem; }
  .author-role { font-size: 0.68rem; margin-bottom: 0.35rem; }
  .author-bio { font-size: 0.75rem; line-height: 1.7; }

  /* Related Articles */
  .related-section { margin-bottom: 1.25rem; }
  .related-title { font-size: 0.65rem; margin-bottom: 0.85rem; gap: 0.6rem; letter-spacing: 2px; }
  .related-title .divider-icon { width: 24px; height: 24px; border-radius: 6px; font-size: 0.75rem; }
  .related-card {
    padding: 0.85rem 0.85rem 0.85rem 1.15rem;
    margin-bottom: 0.5rem; border-radius: var(--card-radius);
  }
  .related-card::before { width: 3px; }
  .related-card-category { font-size: 0.58rem; padding: 0.12rem 0.45rem; margin-bottom: 0.25rem; }
  .related-card h3 { font-size: 0.82rem; margin-bottom: 0.25rem; }
  .related-card-meta { font-size: 0.65rem; gap: 0.5rem; flex-wrap: wrap; }

  /* TOC */
  .toc-list a { padding: 0.4rem 0.55rem; font-size: 0.75rem; border-radius: 6px; }
  .toc-number { font-size: 0.62rem; min-width: 15px; }

  /* TOC mobile — above article */
  .toc-mobile { margin-bottom: 1.25rem; }
  .toc-mobile .sidebar-card { padding: 1rem; border-radius: var(--card-radius); }
  .toc-mobile .sidebar-title { font-size: 0.68rem; letter-spacing: 1.5px; padding-bottom: 0.65rem; margin-bottom: 0.85rem; }
  .toc-mobile .toc-list a { padding: 0.4rem 0.55rem; font-size: 0.75rem; border-radius: 6px; }
  .toc-mobile .toc-number { font-size: 0.62rem; min-width: 15px; }

  /* Reading Progress */
  .reading-progress { height: 2px; }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
  .article-page-title { font-size: 1.08rem; line-height: 1.5; }
  .article-body { font-size: 0.82rem; line-height: 1.8; }
  .article-body h2 { font-size: 1.02rem; padding-left: 0.65rem; }
  .article-body h3 { font-size: 0.92rem; }
  .article-body blockquote { padding: 0.75rem 0.85rem; font-size: 0.78rem; }
  .info-box { padding: 0.85rem 0.95rem; }
  .info-box p { font-size: 0.75rem; }
  .article-table { min-width: 400px; font-size: 0.7rem; }
  .article-table-wrap { margin: 1.25rem -12px; }
  .article-body table:not(.article-table) { min-width: 400px; font-size: 0.7rem; margin: 1.25rem -12px; }
  .author-box { padding: 1rem; }
  .author-bio { font-size: 0.7rem; }
  .related-card { padding: 0.75rem 0.75rem 0.75rem 1rem; }
  .related-card h3 { font-size: 0.78rem; }
  .breadcrumb-nav span:last-child { max-width: 120px; }
}


/* ══════════════════════════════════════
   FAQ Section
   ══════════════════════════════════════ */
.faq-section {
  margin: 3rem 0 2rem;
  padding: 2rem 0 0;
  border-top: 2px solid var(--asagi-light);
}
.faq-section > h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4rem; font-weight: 800; color: var(--gray-900);
  margin-bottom: 1.5rem; padding-left: 1rem;
  border-left: 4px solid var(--asagi); line-height: 1.5;
}
.faq-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--card-radius-sm);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: var(--asagi-mid);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  font-size: 1rem; font-weight: 700; color: var(--gray-900);
  padding: 1.15rem 1.5rem 0.85rem;
  margin: 0; line-height: 1.6;
  display: flex; align-items: flex-start; gap: 0.5rem;
  cursor: default;
}
.faq-question::before {
  content: 'Q.';
  display: none;
}
.faq-answer {
  padding: 0 1.5rem 1.15rem;
  border-top: 1px solid var(--gray-200);
  margin-top: 0;
}
.faq-answer p {
  font-size: 0.9rem; font-weight: 300; color: var(--gray-700);
  line-height: 1.9; margin-bottom: 0; padding-top: 0.85rem;
}

/* FAQ Responsive — Tablet */
@media (max-width: 991.98px) {
  .faq-section { margin: 2.5rem 0 1.5rem; }
  .faq-section > h2 { font-size: 1.25rem; }
  .faq-question { font-size: 0.95rem; padding: 1rem 1.25rem 0.75rem; }
  .faq-answer { padding: 0 1.25rem 1rem; }
  .faq-answer p { font-size: 0.85rem; }
}

/* FAQ Responsive — Mobile */
@media (max-width: 767.98px) {
  .faq-section { margin: 1.75rem 0 1.25rem; padding-top: 1.5rem; }
  .faq-section > h2 {
    font-size: 1.1rem; margin-bottom: 1rem;
    padding-left: 0.75rem; border-left-width: 3px;
  }
  .faq-item { margin-bottom: 0.65rem; border-radius: 10px; }
  .faq-question { font-size: 0.88rem; padding: 0.85rem 1rem 0.65rem; gap: 0.4rem; }
  .faq-answer { padding: 0 1rem 0.85rem; }
  .faq-answer p { font-size: 0.82rem; line-height: 1.8; padding-top: 0.7rem; }
}

/* FAQ Responsive — Small Mobile */
@media (max-width: 480px) {
  .faq-question { font-size: 0.82rem; padding: 0.75rem 0.85rem 0.55rem; }
  .faq-answer { padding: 0 0.85rem 0.75rem; }
  .faq-answer p { font-size: 0.78rem; }
}


/* ══════════════════════════════════════
   Floating Banner (右下固定ポップアップ)
   ══════════════════════════════════════ */
.floating-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.floating-banner.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.floating-banner.is-hidden {
  display: none;
}

.floating-banner-link {
  display: block;
  width: 240px;
  height: 240px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  animation: floatingBounce 3s ease-in-out infinite;
}
.floating-banner-link:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.1);
  animation-play-state: paused;
  transform: scale(1.05);
}

.floating-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.floating-banner-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-800, #343A40);
  color: #fff;
  border: 2px solid #fff;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  line-height: 1;
}
.floating-banner-close:hover {
  background: var(--asagi, #008486);
  transform: scale(1.15);
}

/* 上下に揺れるアニメーション */
@keyframes floatingBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Tablet */
@media (max-width: 991.98px) {
  .floating-banner {
    bottom: 16px;
    left: 16px;
  }
  .floating-banner-link {
    width: 150px;
    height: 150px;
    border-radius: 14px;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .floating-banner {
    bottom: 12px;
    left: 12px;
  }
  .floating-banner-link {
    width: 160px;
    height: 160px;
    border-radius: 12px;
  }
  .floating-banner-close {
    width: 24px;
    height: 24px;
    top: -8px;
    right: -8px;
    font-size: 0.55rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .floating-banner-link {
    width: 145px;
    height: 145px;
    border-radius: 10px;
  }
}
