/*
Theme Name: MerpayPop
Theme URI: https://example.com
Author: 現金化情報バンク
Description: メルペイ現金化特化サイト用ポップデザインテーマ。SEO・CV・スマホ最適化済み。
Version: 2.1.0
License: GNU General Public License v2 or later
Text Domain: merpaypop
*/

/* =============================================
   CSS Variables — 追加CSSはここを上書き
============================================= */
:root {
  --white:       #FFFFFF;
  --bg:          #F7F8FA;
  --orange:      #FF8A00;
  --od:          #E07A00;
  --ol:          #FFF3E0;
  --blue:        #3BA7FF;
  --bd:          #1A8FE8;
  --bl:          #E8F4FF;
  --yellow:      #FFD54A;
  --mint:        #43D9A3;
  --mintd:       #2EBF8C;
  --text:        #333333;
  --sub:         #666666;
  --light:       #999999;
  --border:      #EAEDF2;
  --f-d: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  --f-b: 'Noto Sans JP', sans-serif;
  --r-full: 100px;
  --r-xl:   24px;
  --r-lg:   16px;
  --r-md:   10px;
  --r-sm:    6px;
  --sh-o:    4px 4px 0 rgba(255,138,0,.25);
  --sh-card: 0 2px 16px rgba(0,0,0,.07);
}

/* =============================================
   Reset & Base
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 90px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--od); }

/* =============================================
   Layout
============================================= */
.container       { max-width: 780px;  margin: 0 auto; padding: 0 20px; }
.container--wide { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.site-wrapper    { display: flex; flex-direction: column; min-height: 100vh; }
.content-area    { flex: 1; padding: 24px 0 40px; }

/* =============================================
   Progress Bar
============================================= */
.progress-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--mint), var(--blue));
  background-size: 200%;
  animation: bar-shift 3s linear infinite;
  position: relative;
}
.progress-bar::after {
  content: '';
  position: absolute;
  right: -4px; top: -3px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
}
@keyframes bar-shift { 0% { background-position: 0%; } 100% { background-position: 200%; } }

/* =============================================
   Header
============================================= */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--border);
  box-shadow: var(--sh-card);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.site-logo {
  font-family: var(--f-d);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo__badge {
  background: linear-gradient(135deg, var(--orange), #FFAA00);
  color: #fff;
  padding: 3px 12px;
  border-radius: var(--r-full);
  font-size: 0.65rem;
  font-weight: 900;
  box-shadow: var(--sh-o);
  animation: wiggle 3s ease-in-out infinite;
}
@keyframes wiggle { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }

.site-nav { display: flex; gap: 2px; }
.site-nav a {
  color: var(--sub);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--r-md);
  transition: all .2s;
  font-family: var(--f-d);
}
.site-nav a:hover,
.site-nav a.current { color: var(--orange); background: var(--ol); }

/* =============================================
   Hero — 投稿ページ
============================================= */
.hero-post { background: var(--white); border-bottom: 2px solid var(--border); }
.hero-post__thumb { width: 100%; height: 300px; position: relative; overflow: hidden; }
.hero-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-post__thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 35%, var(--mint) 65%, var(--blue) 100%);
  display: flex; align-items: center; justify-content: center; font-size: 6rem;
}
.hero-post__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,20,10,.65) 0%, rgba(30,20,10,.2) 55%, transparent 100%);
}
.hero-post__cats { position: absolute; top: 20px; left: 24px; display: flex; gap: 8px; z-index: 2; }
.hero-cat { font-family: var(--f-d); font-size: 0.7rem; font-weight: 900; padding: 4px 14px; border-radius: var(--r-full); backdrop-filter: blur(8px); }
.hero-cat--main { background: linear-gradient(135deg, var(--orange), #FFAA00); color: #fff; box-shadow: var(--sh-o); }
.hero-cat--sub  { background: rgba(255,255,255,.2); color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.hero-post__title-area { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 28px; z-index: 2; }
.hero-post__title-area h1 {
  font-family: var(--f-d); font-weight: 900; font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: #fff; line-height: 1.5; text-shadow: 0 2px 16px rgba(0,0,0,.45); margin-bottom: 12px;
}
.hero-post__title-area h1 .hl {
  background: linear-gradient(135deg, var(--yellow), #FFAA00);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-meta span {
  background: rgba(255,255,255,.18); color: rgba(255,255,255,.92);
  font-size: 0.68rem; padding: 3px 12px; border-radius: var(--r-full);
  font-weight: 700; border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(4px);
}

/* =============================================
   Hero — 固定ページ
============================================= */
.hero-page { position: relative; overflow: hidden; height: 300px; display: flex; align-items: flex-end; }
.hero-page__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 30%, var(--blue) 70%, var(--mint) 100%);
  display: flex; align-items: center; justify-content: center; font-size: 8rem;
}
.hero-page__bg img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-page__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,12,5,.78) 0%, rgba(20,12,5,.3) 55%, transparent 100%); }
.hero-page__dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1.5px, transparent 1.5px); background-size: 28px 28px; }
.hero-page__ball { position: absolute; border-radius: 50%; animation: float 4s ease-in-out infinite; pointer-events: none; }
.hero-page__inner { position: relative; z-index: 2; padding: 28px; width: 100%; }
.page-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--orange), #FFAA00); color: #fff;
  font-size: 0.68rem; font-weight: 900; padding: 4px 16px; border-radius: var(--r-full);
  margin-bottom: 12px; font-family: var(--f-d); box-shadow: var(--sh-o);
}
.hero-page__inner h1 {
  font-family: var(--f-d); font-weight: 900; font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: #fff; line-height: 1.45; margin-bottom: 10px; text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.hero-page-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-page-meta span {
  background: rgba(255,255,255,.18); color: rgba(255,255,255,.9);
  font-size: 0.68rem; padding: 3px 12px; border-radius: var(--r-full);
  font-weight: 700; border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(4px);
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* =============================================
   Breadcrumb
============================================= */
.breadcrumb {
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
  font-size: 0.68rem; color: var(--light);
  padding: 10px 28px; background: var(--white); border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--light); font-weight: 600; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb__sep { color: var(--border); }

/* =============================================
   Layout with Sidebar
============================================= */
@media (min-width: 900px) {
  .layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 22px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
  }
}

/* =============================================
   Article Body
   ※ overflow: hidden は入れない（テーブルスクロールが壊れる）
============================================= */
.article-body {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--sh-card);
  border: 1.5px solid var(--border);
  margin-bottom: 20px;
  max-width: 100%;
}

/* H2 */
.article-body h2 {
  font-family: var(--f-d);
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  padding: 13px 18px;
  margin: 32px 0 16px;
  background: linear-gradient(135deg, var(--orange) 0%, #FFAA00 100%);
  border-radius: var(--r-md);
  box-shadow: 0 4px 0 var(--od), 0 6px 16px rgba(255,138,0,.2);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.article-body h2::after {
  content: '✦';
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 1.2rem; color: rgba(255,255,255,.22);
}
.article-body h2:first-child { margin-top: 0; }

/* H3 */
.article-body h3 {
  font-family: var(--f-d);
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--text);
  margin: 24px 0 12px;
  padding: 11px 16px 11px 46px;
  background: linear-gradient(90deg, var(--bl), rgba(232,244,255,0));
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  position: relative;
}
.article-body h3::before {
  content: '✓';
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--bd));
  color: #fff; font-size: 0.68rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(59,167,255,.4);
}

/* H4 */
.article-body h4 {
  font-family: var(--f-d);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text);
  margin: 20px 0 10px;
  padding: 8px 12px 8px 20px;
  border-left: 3px solid var(--mint);
  display: flex; align-items: center; gap: 8px;
  position: relative;
}
.article-body h4::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0; height: 2px;
  background: repeating-linear-gradient(90deg, var(--mint) 0, var(--mint) 5px, transparent 5px, transparent 10px);
}

/* Paragraph */
.article-body p { font-size: 0.94rem; line-height: 1.95; color: var(--text); margin-bottom: 1em; }
.article-body strong { color: var(--od); font-weight: 800; }
.article-body ul, .article-body ol { margin: 0.8em 0 1em 1.5em; }
.article-body li { font-size: 0.94rem; line-height: 1.85; margin-bottom: 0.4em; }

/* =============================================
   Table — PHPフィルターでラップ済み想定
   ラッパーDivにスクロールを持たせる
============================================= */
.table-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  margin: 16px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) var(--ol);
}
.table-scroll-wrap::-webkit-scrollbar { height: 5px; }
.table-scroll-wrap::-webkit-scrollbar-track { background: var(--ol); }
.table-scroll-wrap::-webkit-scrollbar-thumb { background: var(--orange); border-radius: var(--r-full); }

/* テーブル本体 */
.article-body table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  font-size: 0.88rem;
  white-space: nowrap;
}
.article-body th {
  font-family: var(--f-d);
  font-size: 0.78rem;
  font-weight: 900;
  color: #fff;
  padding: 11px 14px;
  text-align: left;
  background: linear-gradient(135deg, var(--orange), #FFAA00);
  position: relative;
}
.article-body th:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 25%; bottom: 25%;
  width: 1px; background: rgba(255,255,255,.25);
}
.article-body td {
  padding: 10px 14px;
  border-bottom: 1.5px solid var(--border);
  background: var(--white);
  vertical-align: middle;
  font-weight: 500;
}
.article-body td:first-child { font-family: var(--f-d); font-weight: 800; }
.article-body tr:nth-child(even) td { background: var(--bg); }
.article-body tr:last-child td { border-bottom: none; }
.article-body tbody tr:hover td { background: var(--ol) !important; }

/* テーブルスクロールヒント */
.table-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  font-family: var(--f-d);
  margin-bottom: 8px;
  padding: 4px 14px;
  background: var(--ol);
  border-radius: var(--r-full);
  border: 1.5px solid rgba(255,138,0,.2);
}

/* =============================================
   Alert Boxes
============================================= */
.alert-yellow {
  background: linear-gradient(135deg, #FFFBEC, #FFF5CC);
  border: 2px solid var(--yellow); border-radius: var(--r-lg);
  padding: 12px 16px; margin: 16px 0; font-size: 0.88rem;
  display: flex; gap: 10px; color: #5A4500;
  box-shadow: 3px 3px 0 rgba(255,213,74,.25);
}
.alert-blue {
  background: var(--bl); border: 2px solid rgba(59,167,255,.3);
  border-radius: var(--r-lg); padding: 12px 16px; margin: 16px 0;
  font-size: 0.88rem; display: flex; gap: 10px; color: #1A5080;
}

/* =============================================
   TOC — 開閉式
============================================= */
.toc-wrap { background: var(--bg); border: 2px solid var(--border); border-radius: var(--r-lg); margin: 20px 0; overflow: hidden; }
.toc-header { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; cursor: pointer; user-select: none; background: var(--white); transition: background .2s; }
.toc-header:hover { background: var(--ol); }
.toc-title { font-family: var(--f-d); font-size: 0.82rem; font-weight: 900; color: var(--text); display: flex; align-items: center; gap: 7px; }
.toc-toggle { display: flex; align-items: center; gap: 6px; font-size: 0.68rem; font-weight: 900; color: var(--orange); font-family: var(--f-d); }
.toc-arrow { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), #FFAA00); color: #fff; font-size: 0.65rem; transition: transform .3s; box-shadow: 2px 2px 0 var(--od); }
.toc-arrow.open { transform: rotate(180deg); }
.toc-body { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.4,0,.2,1); }
.toc-body.open { max-height: none; }
.toc-inner { padding: 14px 18px 16px; border-top: 1px dashed var(--border); }
.toc-inner ol { padding-left: 18px; margin: 0; }
.toc-inner li { font-size: 0.78rem; margin-bottom: 6px; color: var(--sub); font-weight: 600; }
.toc-inner a { color: var(--blue); font-weight: 700; }
.toc-inner a:hover { color: var(--orange); }
.toc-inner ol ol { padding-left: 14px; margin-top: 4px; }
.toc-inner ol ol li { font-size: 0.72rem; }

/* =============================================
   Card Link
============================================= */
.card-link {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 2px solid var(--border); border-radius: var(--r-lg);
  padding: 14px 18px; margin: 18px 0; text-decoration: none;
  box-shadow: var(--sh-card); position: relative; overflow: hidden; transition: all .22s;
}
.card-link::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--orange), var(--yellow)); }
.card-link:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(255,138,0,.15); color: var(--text); }
.card-link__thumb { width: 60px; height: 48px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--orange), var(--yellow)); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; transition: transform .2s; }
.card-link:hover .card-link__thumb { transform: scale(1.08); }
.card-link__body { flex: 1; min-width: 0; }
.card-link__label { display: inline-block; background: var(--ol); color: var(--orange); font-size: 0.6rem; font-weight: 900; padding: 2px 9px; border-radius: var(--r-full); margin-bottom: 5px; font-family: var(--f-d); border: 1.5px solid rgba(255,138,0,.2); }
.card-link__title { font-size: 0.84rem; font-weight: 700; color: var(--text); line-height: 1.45; }
.card-link__arrow { color: var(--orange); font-size: 1.2rem; flex-shrink: 0; transition: transform .2s; }
.card-link:hover .card-link__arrow { transform: translateX(5px); }

/* =============================================
   CTA Box
============================================= */
.cta-box { background: var(--white); border-radius: var(--r-xl); padding: 28px 24px; text-align: center; margin: 24px 0; box-shadow: var(--sh-card); border: 2px solid var(--border); position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--orange) 1px, transparent 1px); background-size: 22px 22px; opacity: .04; pointer-events: none; }
.cta-box::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--orange), var(--yellow), var(--mint), var(--blue), var(--orange)); background-size: 200%; animation: bar-shift 3s linear infinite; }
.cta-box__inner { position: relative; z-index: 1; }
.cta-box__icon { font-size: 2.2rem; display: block; margin-bottom: 8px; animation: bounce 2s ease-in-out infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.cta-box__title { font-family: var(--f-d); font-weight: 900; font-size: 0.95rem; color: var(--text); margin-bottom: 6px; line-height: 1.5; }
.cta-box__sub { font-size: 0.78rem; color: var(--sub); margin-bottom: 18px; line-height: 1.7; }
.btn-orange { display: inline-block; background: linear-gradient(135deg, var(--orange), #FFAA00); color: #fff; font-family: var(--f-d); font-weight: 900; font-size: 0.88rem; padding: 12px 28px; border-radius: var(--r-full); box-shadow: 0 4px 0 var(--od), 0 6px 16px rgba(255,138,0,.25); transition: all .2s; cursor: pointer; position: relative; overflow: hidden; border: none; }
.btn-orange::after { content: ''; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%; background: rgba(255,255,255,.25); transform: skewX(-20deg); animation: shine 3s ease-in-out infinite; }
@keyframes shine { 0%,70% { left: -60%; } 100% { left: 160%; } }
.btn-orange:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--od), 0 10px 20px rgba(255,138,0,.2); color: #fff; }

/* =============================================
   Sidebar
============================================= */
.sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 72px; }
.sidebar-widget { background: var(--white); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh-card); border: 1.5px solid var(--border); }
.sidebar-widget__title { font-family: var(--f-d); font-size: 0.8rem; font-weight: 900; color: var(--text); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px dashed var(--border); display: flex; align-items: center; gap: 6px; }
.sidebar-cta { background: var(--white); border-radius: var(--r-lg); padding: 20px; text-align: center; box-shadow: var(--sh-card); border: 2px solid var(--border); position: relative; overflow: hidden; }
.sidebar-cta::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--yellow), var(--mint)); background-size: 200%; animation: bar-shift 3s linear infinite; }
.sidebar-cta__icon { font-size: 1.8rem; display: block; margin-bottom: 8px; animation: bounce 2s ease-in-out infinite .3s; }
.sidebar-cta__title { font-family: var(--f-d); font-size: 0.84rem; font-weight: 900; color: var(--text); margin-bottom: 5px; line-height: 1.5; }
.sidebar-cta__sub   { font-size: 0.72rem; color: var(--sub); margin-bottom: 12px; line-height: 1.6; }
.btn-orange-sm { display: inline-block; background: linear-gradient(135deg, var(--orange), #FFAA00); color: #fff; font-family: var(--f-d); font-weight: 900; font-size: 0.75rem; padding: 8px 20px; border-radius: var(--r-full); box-shadow: 0 3px 0 var(--od); transition: all .2s; cursor: pointer; position: relative; overflow: hidden; border: none; }
.btn-orange-sm:hover { transform: translateY(-2px); color: #fff; }
.popular-item { display:flex;gap:9px;align-items:flex-start;margin-bottom:10px;padding-bottom:10px;border-bottom:1px dashed var(--border); }
.popular-item:last-child { margin:0;padding:0;border:none; }
.popular-num { background:linear-gradient(135deg,var(--orange),#FFAA00);color:#fff;font-size:0.6rem;font-weight:900;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-family:var(--f-d); }
.popular-title { font-size:0.78rem;font-weight:700;color:var(--text);line-height:1.5; }

/* =============================================
   Author Box
============================================= */
.author-box { background: var(--white); border-radius: var(--r-lg); padding: 18px; display: flex; align-items: center; gap: 14px; margin-top: 20px; box-shadow: var(--sh-card); border: 1.5px solid var(--border); }
.author-box__avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--yellow)); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; box-shadow: var(--sh-o); overflow: hidden; }
.author-box__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box__name { font-family: var(--f-d); font-size: 0.88rem; font-weight: 900; color: var(--text); margin-bottom: 3px; }
.author-box__desc { font-size: 0.75rem; color: var(--sub); line-height: 1.6; }

/* =============================================
   Rainbow Divider
============================================= */
.rainbow-divider { height: 6px; background: linear-gradient(90deg, var(--orange), var(--yellow), var(--mint), var(--blue), var(--orange)); background-size: 200%; animation: bar-shift 3s linear infinite; }

/* =============================================
   Recommend Section
============================================= */
.recommend-section { padding: 40px 24px; background: var(--bg); border-top: 3px dashed var(--border); position: relative; overflow: hidden; }
.recommend-section::before { content: ''; position: absolute; top: -80px; right: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,213,74,.28), transparent); pointer-events: none; }
.recommend-section::after { content: ''; position: absolute; bottom: -60px; left: -50px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(67,217,163,.22), transparent); pointer-events: none; }
.recommend-section__header { text-align: center; margin-bottom: 28px; position: relative; z-index: 1; }
.recommend-section__label { display: inline-flex; align-items: center; gap: 5px; background: linear-gradient(135deg, var(--orange), #FFAA00); color: #fff; font-size: 0.68rem; font-weight: 900; padding: 4px 16px; border-radius: var(--r-full); margin-bottom: 10px; font-family: var(--f-d); box-shadow: var(--sh-o); }
.recommend-section__title { font-family: var(--f-d); font-size: 1.3rem; font-weight: 900; color: var(--text); margin-bottom: 6px; }
.recommend-section__title span { background: linear-gradient(135deg, var(--orange), #FFAA00); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.recommend-section__sub { font-size: 0.75rem; color: var(--light); font-weight: 600; }
.recommend-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; z-index: 1; max-width: 1020px; margin: 0 auto; }
.rec-card { background: var(--white); border-radius: var(--r-xl); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: all .25s; cursor: pointer; border: 2px solid var(--border); box-shadow: var(--sh-card); position: relative; }
.rec-card:hover { transform: translateY(-7px); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.rec-card--1 { border-color: var(--yellow); box-shadow: 0 4px 0 var(--yellow), var(--sh-card); }
.rec-card--1:hover { box-shadow: 0 18px 0 rgba(255,213,74,.3), 0 22px 40px rgba(0,0,0,.1); }
.rec-card--2 { border-color: rgba(59,167,255,.4); }
.rec-card--3 { border-color: rgba(67,217,163,.4); }
.rec-card--1::after { content: '👑 NO.1'; position: absolute; top: 10px; right: 10px; background: linear-gradient(135deg, var(--yellow), #FFAA00); color: var(--text); font-size: 0.6rem; font-weight: 900; padding: 3px 10px; border-radius: var(--r-full); font-family: var(--f-d); z-index: 3; box-shadow: 2px 2px 0 rgba(0,0,0,.1); animation: float 3s ease-in-out infinite; }
.rec-card__rank { position: absolute; top: 10px; left: 10px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--f-d); font-size: 0.88rem; font-weight: 900; }
.rec-card--1 .rec-card__rank { background: linear-gradient(135deg,#FFD700,#FFA500); color:#fff; box-shadow:0 3px 10px rgba(255,180,0,.4); }
.rec-card--2 .rec-card__rank { background: linear-gradient(135deg,var(--blue),var(--bd)); color:#fff; box-shadow:0 3px 10px rgba(59,167,255,.35); }
.rec-card--3 .rec-card__rank { background: linear-gradient(135deg,var(--mint),var(--mintd)); color:#fff; box-shadow:0 3px 10px rgba(67,217,163,.35); }
.rec-card__img { width:100%; height:130px; overflow:hidden; }
.rec-card__img-inner { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:2.6rem; transition:transform .3s; }
.rec-card:hover .rec-card__img-inner { transform: scale(1.08); }
.rec-card--1 .rec-card__img-inner { background:linear-gradient(135deg,var(--orange),var(--yellow)); }
.rec-card--2 .rec-card__img-inner { background:linear-gradient(135deg,var(--blue),#88DDFF); }
.rec-card--3 .rec-card__img-inner { background:linear-gradient(135deg,var(--mint),#A0F8E0); }
.rec-card__img img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.rec-card:hover .rec-card__img img { transform: scale(1.08); }
.rec-card__body { padding:16px; flex:1; display:flex; flex-direction:column; gap:8px; }
.rec-card__tag { display:inline-block; font-size:0.6rem; font-weight:900; padding:2px 9px; border-radius:var(--r-full); font-family:var(--f-d); align-self:flex-start; }
.rec-card--1 .rec-card__tag { background:var(--ol); color:var(--orange); border:1.5px solid rgba(255,138,0,.2); }
.rec-card--2 .rec-card__tag { background:var(--bl); color:var(--bd); border:1.5px solid rgba(59,167,255,.2); }
.rec-card--3 .rec-card__tag { background:#E8FFF6; color:var(--mintd); border:1.5px solid rgba(67,217,163,.2); }
.rec-card__title { font-family:var(--f-d); font-size:.87rem; font-weight:800; color:var(--text); line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.rec-card__excerpt { font-size:.74rem; color:var(--sub); line-height:1.7; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; flex:1; }
.rec-card__btn { display:inline-flex; align-items:center; font-size:.75rem; font-weight:900; padding:8px 14px; border-radius:var(--r-full); font-family:var(--f-d); align-self:flex-start; margin-top:auto; transition:all .2s; position:relative; overflow:hidden; }
.rec-card__btn::after { content:'';position:absolute;top:-50%;left:-60%;width:40%;height:200%;background:rgba(255,255,255,.25);transform:skewX(-20deg);transition:left .4s; }
.rec-card:hover .rec-card__btn::after { left:160%; }
.rec-card--1 .rec-card__btn { background:linear-gradient(135deg,var(--orange),#FFAA00); color:#fff; box-shadow:0 3px 0 var(--od); }
.rec-card--2 .rec-card__btn { background:linear-gradient(135deg,var(--blue),var(--bd)); color:#fff; box-shadow:0 3px 0 #0A70CC; }
.rec-card--3 .rec-card__btn { background:linear-gradient(135deg,var(--mint),var(--mintd)); color:#fff; box-shadow:0 3px 0 #1A9A70; }
.rec-card:hover .rec-card__btn { transform: translateX(3px); }

/* =============================================
   Fixed Footer Bar
============================================= */
.fixed-footer-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000; background: rgba(255,255,255,0.55); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1.5px solid rgba(255,138,0,.2); box-shadow: 0 -4px 24px rgba(0,0,0,.08); padding: 10px 16px 12px; }
.ffb-label { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 9px; }
.ffb-pr { display: inline-block; background: rgba(255,138,0,.15); color: var(--orange); font-size: 0.65rem; font-weight: 900; padding: 2px 10px; border-radius: var(--r-full); font-family: var(--f-d); border: 1.5px solid rgba(255,138,0,.3); letter-spacing: .06em; }
.ffb-label-text { font-family: var(--f-d); font-size: 0.82rem; font-weight: 900; color: var(--text); letter-spacing: .02em; }
.ffb-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; max-width: 560px; margin: 0 auto; }
.ffb-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 9px 8px 10px; border-radius: var(--r-md); text-decoration: none; cursor: pointer; transition: all .2s; position: relative; overflow: hidden; border: none; }
.ffb-btn::after { content:'';position:absolute;top:-50%;left:-60%;width:40%;height:200%;background:rgba(255,255,255,.22);transform:skewX(-20deg);transition:left .4s; }
.ffb-btn:hover::after { left:160%; }
.ffb-btn:hover { transform: translateY(-3px); }
.ffb-btn__sub  { font-family:var(--f-d); font-size:0.65rem; font-weight:800; letter-spacing:.03em; opacity:.95; display:flex; align-items:center; gap:3px; white-space:nowrap; }
.ffb-btn__main { font-family:var(--f-d); font-size:1.2rem; font-weight:900; letter-spacing:.02em; line-height:1; text-shadow:0 1px 4px rgba(0,0,0,.15); }
.ffb-btn--1 { background:linear-gradient(135deg,var(--orange),#FFAA00); color:#fff; box-shadow:0 4px 0 var(--od),0 6px 14px rgba(255,138,0,.3); }
.ffb-btn--1:hover { box-shadow:0 7px 0 var(--od),0 10px 18px rgba(255,138,0,.25); color:#fff; }
.ffb-btn--2 { background:linear-gradient(135deg,var(--blue),var(--bd)); color:#fff; box-shadow:0 4px 0 #0A70CC,0 6px 14px rgba(59,167,255,.3); }
.ffb-btn--2:hover { box-shadow:0 7px 0 #0A70CC,0 10px 18px rgba(59,167,255,.25); color:#fff; }
.ffb-btn--3 { background:linear-gradient(135deg,var(--mint),var(--mintd)); color:#fff; box-shadow:0 4px 0 #1A9A70,0 6px 14px rgba(67,217,163,.3); }
.ffb-btn--3:hover { box-shadow:0 7px 0 #1A9A70,0 10px 18px rgba(67,217,163,.25); color:#fff; }

/* =============================================
   Footer
============================================= */
.site-footer { background: var(--text); padding: 32px 24px 20px; margin-top: auto; }
.site-footer__logo { font-family: var(--f-d); font-weight: 900; font-size: 1rem; color: var(--white); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.site-footer__logo-dot { width:10px;height:10px;border-radius:50%;background:var(--orange);flex-shrink:0;animation:wiggle 3s ease-in-out infinite; }
.site-footer__desc { font-size:0.68rem;color:rgba(255,255,255,.45);line-height:1.8;max-width:360px;margin-bottom:18px; }
.site-footer__links { display:flex;gap:16px;flex-wrap:wrap;margin-bottom:16px; }
.site-footer__links a { font-size:0.68rem;color:rgba(255,255,255,.4);font-weight:700;transition:color .2s; }
.site-footer__links a:hover { color:var(--yellow); }
.site-footer__copy { font-size:0.6rem;color:rgba(255,255,255,.2);border-top:1px solid rgba(255,255,255,.08);padding-top:12px; }

/* =============================================
   Responsive
============================================= */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .recommend-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 640px) {
  .article-body { padding: 20px 16px; border-radius: var(--r-lg); }
  .article-body h2 { font-size: 0.9rem; padding: 11px 14px; }
  .hero-post__thumb { height: 220px; }
  .hero-post__title-area { padding: 16px; }
  .hero-post__title-area h1 { font-size: 1rem; }
}
@keyframes fadeInUp { from { opacity:0;transform:translateY(16px); } to { opacity:1;transform:translateY(0); } }
.article-body { animation: fadeInUp .45s ease both; }


