/*
Theme Name: SWELL CHILD
Theme URI: https://swell-theme.com/
Description: SWELL Child Theme
Author: LOOS,Inc.
Author URI: https://loos.co.jp/
Template: swell
Version: 1.0.0
*/


@charset "UTF-8";
/*
  SYSTRE Article UI Kit (for SWELL CHILD)
  - Scope: .systre-article (wrap your generated HTML with this class if possible)
  - No inline styles required
  - Safe defaults, readable tables, strong hierarchy, “official” feel
  - Includes .systre-topcards + .systre-bt styles + hard patches for WP/SWELL auto markup
*/
/* =========================
   SYSTRE TOPCARDS ONLY
   - affects only .systre-topcards and its children
   ========================= */

:root{
  --systre-panel:#ffffff;
  --systre-text:#0f172a;
  --systre-muted:#5b6476;
  --systre-border:rgba(15,23,42,.10);
  --systre-shadow:0 10px 28px rgba(15,23,42,.10);
  --systre-shadow2:0 18px 44px rgba(15,23,42,.14);
  --systre-radius:18px;
  --systre-accent:#FF7A3D;
  --systre-accent2:rgba(255,122,61,.18);
  --systre-ring:0 0 0 3px rgba(255,122,61,.22),0 0 0 1px rgba(255,122,61,.42);
  --systre-ease:cubic-bezier(.2,.8,.2,1);
  --systre-fast:160ms var(--systre-ease);
  --systre-med:220ms var(--systre-ease);
}

@media (prefers-color-scheme: dark){
  :root{
    --systre-panel:rgba(255,255,255,.06);
    --systre-text:#e8eefc;
    --systre-muted:rgba(232,238,252,.72);
    --systre-border:rgba(255,255,255,.12);
    --systre-shadow:0 14px 34px rgba(0,0,0,.45);
    --systre-shadow2:0 22px 64px rgba(0,0,0,.55);
    --systre-ring:0 0 0 3px rgba(255,122,61,.18),0 0 0 1px rgba(255,122,61,.38);
  }
}

/* Section */
.systre-topcards{
  margin:14px 0 18px;
  background:
    radial-gradient(1200px 520px at 18% -10%, var(--systre-accent2), transparent 58%),
    radial-gradient(900px 480px at 95% 0%, rgba(99,102,241,.10), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 34%);
  border:1px solid var(--systre-border);
  border-radius:calc(var(--systre-radius) + 6px);
  padding:clamp(14px, 2.2vw, 22px);
  box-shadow:var(--systre-shadow);
  overflow:hidden;
}
@media (prefers-color-scheme: dark){
  .systre-topcards{
    background:
      radial-gradient(1200px 520px at 18% -10%, rgba(255,122,61,.12), transparent 58%),
      radial-gradient(900px 480px at 95% 0%, rgba(99,102,241,.12), transparent 56%),
      linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0) 36%);
  }
}

/* Grid */
.systre-topcards__grid{
  display:grid;
  grid-template-columns:repeat(12, minmax(0,1fr));
  gap:clamp(12px, 1.6vw, 16px);
}
.systre-topcards__grid > .systre-ea-card{ grid-column:span 12; }
@media (min-width:640px){
  .systre-topcards__grid > .systre-ea-card{ grid-column:span 6; }
}
@media (min-width:980px){
  .systre-topcards__grid > .systre-ea-card{ grid-column:span 4; }
}
@media (min-width:980px){
  .systre-topcards.systre-topcards--5 .systre-topcards__grid > .systre-ea-card:nth-child(4){ grid-column: 3 / span 4; }
  .systre-topcards.systre-topcards--5 .systre-topcards__grid > .systre-ea-card:nth-child(5){ grid-column: 7 / span 4; }
}

/* Card */
.systre-topcards .systre-ea-card{
  background:var(--systre-panel);
  border:1px solid var(--systre-border);
  border-radius:20px;
  overflow:hidden;
  position:relative;
  transform:translateZ(0);
  box-shadow:0 1px 0 rgba(15,23,42,.05), 0 12px 28px rgba(15,23,42,.08);
  transition:transform var(--systre-med), box-shadow var(--systre-med), border-color var(--systre-med);
}
@media (hover:hover){
  .systre-topcards .systre-ea-card:hover{
    transform:translateY(-3px);
    box-shadow:var(--systre-shadow2);
    border-color:rgba(255,122,61,.26);
  }
}

/* Media */
.systre-topcards .systre-ea-card__media{
  display:block;
  position:relative;
  text-decoration:none;
  color:inherit;
  border-bottom:1px solid var(--systre-border);
  overflow:hidden;
  aspect-ratio:16/9;
  background:
    radial-gradient(900px 240px at 18% 0%, rgba(255,122,61,.18), transparent 58%),
    linear-gradient(180deg, rgba(15,23,42,.03), rgba(15,23,42,0));
}
@media (prefers-color-scheme: dark){
  .systre-topcards .systre-ea-card__media{
    background:
      radial-gradient(900px 240px at 18% 0%, rgba(255,122,61,.16), transparent 60%),
      linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0));
  }
}

/* Hard patch: WP/SWELL auto <br><p> */
.systre-topcards .systre-ea-card__media br,
.systre-topcards .systre-ea-card__media p{
  display:none !important;
  margin:0 !important;
  padding:0 !important;
}

/* Full-bleed image (img or placeholder div) */
.systre-topcards .systre-ea-card__media .systre-ea-card__img{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
  margin:0 !important;
  z-index:0 !important;
  transform:scale(1.0001);
  transition:transform var(--systre-med), filter var(--systre-med);
}
@media (hover:hover){
  .systre-topcards .systre-ea-card:hover .systre-ea-card__img{
    transform:scale(1.035);
    filter:saturate(1.05);
  }
}

/* Rank */
.systre-topcards .systre-ea-card__rank{
  position:absolute;
  left:12px;
  top:12px;
  z-index:2 !important;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.80);
  border:1px solid rgba(15,23,42,.10);
  box-shadow:0 10px 18px rgba(15,23,42,.12);
  backdrop-filter:blur(10px);
}
@media (prefers-color-scheme: dark){
  .systre-topcards .systre-ea-card__rank{
    background:rgba(8,12,20,.62);
    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 12px 20px rgba(0,0,0,.38);
  }
}
.systre-topcards .systre-ea-card__rankNo{
  width:26px;
  height:26px;
  border-radius:999px;
  display:inline-grid;
  place-items:center;
  font-weight:900;
  letter-spacing:.02em;
  color:#fff;
  background:linear-gradient(135deg, #FF7A3D, #ff9a3d);
  box-shadow:0 10px 18px rgba(255,122,61,.25);
}
.systre-topcards .systre-ea-card__rankLabel{
  font-size:12px;
  font-weight:900;
  color:var(--systre-text);
  opacity:.86;
  white-space:nowrap;
}

/* Body */
.systre-topcards .systre-ea-card__body{
  padding:14px 14px 16px;
  display:grid;
  gap:8px;
}
.systre-topcards .systre-ea-card__title{
  margin:0;
  font-size:clamp(15px, 1.35vw, 17px);
  line-height:1.28;
  font-weight:900;
  letter-spacing:.01em;
  color:var(--systre-text);
}
.systre-topcards .systre-ea-card__lead{
  margin:0;
  color:var(--systre-muted);
  font-size:13px;
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Chip */
.systre-topcards .systre-ea-card__chips{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.systre-topcards .systre-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  font-size:11.5px;
  font-weight:950;
  color:var(--systre-text);
  background:linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.65));
  border:1px solid var(--systre-border);
  box-shadow:0 1px 0 rgba(15,23,42,.05);
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media (prefers-color-scheme: dark){
  .systre-topcards .systre-chip{
    background:rgba(255,255,255,.07);
    border-color:rgba(255,255,255,.12);
  }
}
.systre-topcards .systre-chip::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:999px;
  background:var(--systre-accent);
  box-shadow:0 0 0 3px rgba(255,122,61,.20);
  flex:0 0 auto;
}

/* KV */
.systre-topcards .systre-ea-card__kv{
  margin:0;
  padding:9px 10px;
  border-radius:14px;
  border:1px solid var(--systre-border);
  background:linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,0));
}
@media (prefers-color-scheme: dark){
  .systre-topcards .systre-ea-card__kv{
    background:rgba(255,255,255,.05);
    border-color:rgba(255,255,255,.12);
  }
}
.systre-topcards .systre-ea-card__kv .systre-kv{
  display:grid;
  grid-template-columns:72px 1fr;
  gap:10px;
  align-items:baseline;
}
.systre-topcards .systre-ea-card__kv dt{
  margin:0;
  font-size:11.5px;
  font-weight:900;
  color:var(--systre-muted);
  letter-spacing:.02em;
  white-space:nowrap;
}
.systre-topcards .systre-ea-card__kv dd{
  margin:0;
  font-size:12.5px;
  font-weight:900;
  color:var(--systre-text);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Actions */
.systre-topcards .systre-ea-card__actions{ margin-top:2px; }
.systre-topcards .systre-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  font-weight:900;
  font-size:13px;
  text-decoration:none;
  color:#fff;
  background:linear-gradient(135deg, #FF7A3D, #ff9a3d);
  border:1px solid rgba(255,122,61,.35);
  box-shadow:0 10px 18px rgba(255,122,61,.25), 0 1px 0 rgba(255,255,255,.35) inset;
  transition:transform var(--systre-fast), filter var(--systre-fast), box-shadow var(--systre-fast);
}
@media (hover:hover){
  .systre-topcards .systre-btn:hover{
    transform:translateY(-1px);
    filter:brightness(1.02) saturate(1.02);
    box-shadow:0 14px 26px rgba(255,122,61,.30), 0 1px 0 rgba(255,255,255,.35) inset;
  }
}

/* Focus */
.systre-topcards .systre-ea-card__media:focus-visible,
.systre-topcards .systre-btn:focus-visible{
  outline:none;
  box-shadow:var(--systre-ring);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .systre-topcards *{ transition:none !important; animation:none !important; }
  .systre-topcards .systre-ea-card:hover{ transform:none !important; }
}


/* ========================
   FG LINKLIST (shortcode)
   ======================== */
/* 2026-08-20: repeat(3,1fr) は 1fr=minmax(auto,1fr) で track が min-content(=nowrap の
   タイトル全長) 未満に縮まず、親幅を突破して sidebar 下・画面外まではみ出していた。
   auto-fill+minmax(min(100%,300px),1fr) で幅に応じた列数にし、min-width:0 で track を
   縮められるようにする。タイトルは長いので ellipsis を捨てて折り返して全文見せる。 */
.fg-linklist{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:5px 6px}
.fg-linklist__item{display:flex;align-items:center;gap:5px;min-width:0;padding:6px 10px;background:#f8f9fb;border:1px solid #e2e6ed;border-radius:6px;color:#334155;font-size:13px;font-weight:500;line-height:1.4;text-decoration:none;transition:all .2s ease}
.fg-linklist__item:hover{background:#eef2ff;border-color:#818cf8;color:#4338ca;transform:translateY(-1px);box-shadow:0 2px 8px rgba(99,102,241,.12)}
.fg-linklist__icon{flex-shrink:0;display:flex;align-items:center;color:#94a3b8;transition:color .2s}
.fg-linklist__item:hover .fg-linklist__icon{color:#6366f1}
.fg-linklist__text{min-width:0;overflow-wrap:anywhere}
@media(max-width:599px){.fg-linklist{gap:4px}.fg-linklist__item{padding:5px 8px;font-size:12.5px}}

/* ========================
   Category header image fix
   ======================== */
.p-termHead__thumbWrap{aspect-ratio:auto;height:auto}.p-termHead__thumbImg.u-obf-cover{object-fit:contain;width:100%;height:auto}

/* ========================================
   fg-tabs - Custom tab switcher
   ======================================== */
.fg-tabs__nav{display:flex;gap:0;margin-bottom:0}
.fg-tabs__btn{flex:1;padding:12px 20px;font-size:15px;font-weight:700;border:2px solid #e2e6ed;border-bottom:none;background:#f1f3f5;color:#64748b;cursor:pointer;border-radius:8px 8px 0 0;transition:all .2s}
.fg-tabs__btn.is-active{background:#fff;color:#2563eb;border-color:#2563eb;border-bottom:2px solid #fff;position:relative;z-index:1;margin-bottom:-2px}
.fg-tabs__btn:hover:not(.is-active){background:#e9ecef;color:#475569}
.fg-tabs__panel{display:none;padding:20px;border:2px solid #2563eb;border-radius:0 0 8px 8px}
.fg-tabs__panel.is-active{display:block}
@media(max-width:599px){.fg-tabs__btn{padding:10px 12px;font-size:14px}.fg-tabs__panel{padding:12px}}

/* ========================================
   H5: Mobile Font Size Fix (min 14px)
   H6: Touch Target Fix (min 48px)
   Added: 2026-03-25
   ======================================== */

/* --- Mobile Only --- */
@media (max-width: 959px) {

  /* Post list titles - ensure readable */
  .p-postList__title {
    font-size: 14px;
    line-height: 1.45;
  }

  /* Post meta (date, category) */
  .p-postList__meta,
  .p-postList__times,
  .p-postList__cat {
    font-size: 12px;
  }

  /* Navigation small titles */
  .c-smallNavTitle.desc {
    font-size: 11px;
  }

  /* Pickup slider post titles */
  .p-postSlider .p-postList__title {
    font-size: 14px;
    line-height: 1.4;
  }

  /* Category thumbnail captions */
  .c-postThumb__cat {
    font-size: 11px;
    padding: 2px 8px;
  }

  /* Widget catchphrase */
  .fg-widget-catchphrase {
    font-size: 14px;
  }

  /* Link list items */
  .fg-linklist__item {
    font-size: 13px;
    min-height: 44px;
    align-items: center;
  }

  /* --- Touch Targets (min 44px for accessibility) --- */

  /* Post list links */
  .p-postList__link {
    min-height: 44px;
  }

  /* Pickup slider links */
  .p-postSlider .p-postList__link {
    min-height: 48px;
  }

  /* Category grid items */
  .fg-grid-item a,
  .fg-grid-item {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 8px;
  }

  /* Hamburger menu button */
  .c-iconBtn.-menuBtn {
    min-width: 48px;
    min-height: 48px;
  }

  /* Search button */
  .c-searchForm__submit {
    min-width: 48px;
    min-height: 48px;
  }

  /* Submenu toggle buttons */
  .c-submenuToggleBtn {
    min-width: 44px;
    min-height: 44px;
  }

  /* SP menu nav links */
  .c-spnav .menu-item > a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 10px 16px;
  }

  /* SWELL block buttons */
  .swell-block-button__link {
    min-height: 48px;
    font-size: 15px;
    padding: 12px 20px;
  }

  /* Systrade box button */
  .systrade-button {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
  }

  /* Page top button */
  .c-fixBtn {
    min-width: 48px;
    min-height: 48px;
  }
}


/* ========================================
   Forexguide Homepage Custom Styles
   (Moved from post_content inline <style> to avoid LiteSpeed CSS combine issues)
   Added: 2026-03-25
   ======================================== */

/* === H1 Catchphrase === */
.catchphrase{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: clamp(14px, 1.8vw, 22px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  /* 2026-08-21: nowrap+ellipsis だと SP(390px) で h1 が
     「システムトレード総合ポー…」と切れていた。折り返して全文出す。 */
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
  max-width: min(920px, calc(100% - 32px));
  margin-inline: auto;
}
@media (max-width: 480px){
  .catchphrase{
    font-size: clamp(12px, 4.2vw, 16px);
    letter-spacing: -0.01em;
  }
}

/* === Hero Section === */
.fg-hero{
  --wave-a: #ebe2f1;
  --wave-b: #fdeaf3;
  --accent2: rgba(224,0,112,.18);
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", Arial, sans-serif;
}
.fg-hero .hero-section{
  width: 100%;
  height: clamp(220px, 28vw, 300px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.72));
  isolation: isolate;
}
.fg-hero .hero-section::before{
  content:"";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .04;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.fg-hero .hero-section::after{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  background:
    radial-gradient(900px 280px at 50% 52%, rgba(255,255,255,.0), rgba(255,255,255,.62) 72%, rgba(255,255,255,.88) 100%);
  opacity: .85;
}
.fg-hero .wave-container-bottom, .fg-hero .wave-container-top{
  position: absolute;
  width: 100%;
  height: 120%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.fg-hero .wave-container-top{ top: -12%; transform: rotate(180deg); }
.fg-hero .wave-container-bottom{ bottom: -12%; }
.fg-hero .wave{
  position:absolute;
  width: 560%;
  height: 210%;
  left: -240%;
  background: linear-gradient(45deg, var(--wave-a), var(--wave-b));
  transform: translate3d(0,0,0);
  will-change: transform;
  opacity: .65;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 100 Q 150 150 300 100 Q 450 50 600 100 Q 750 150 900 100 Q 1050 50 1200 100 L 1200 200 L 0 200 Z' fill='black'/%3E%3C/svg%3E");
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 100 Q 150 150 300 100 Q 450 50 600 100 Q 750 150 900 100 Q 1050 50 1200 100 L 1200 200 L 0 200 Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-size: 50% 100%;
  mask-size: 50% 100%;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
}
.fg-hero .wave-1{ opacity:.62; animation: fg-wave 24s linear infinite; }
.fg-hero .wave-2{ opacity:.40; animation: fg-wave 18s linear infinite; }
.fg-hero .wave-top-1{ opacity:.56; animation: fg-wave-rev 22s linear infinite; }
.fg-hero .wave-top-2{ opacity:.34; animation: fg-wave-rev 28s linear infinite; }
@keyframes fg-wave{
  0%{ transform: translate3d(0,0,0); }
  100%{ transform: translate3d(-50%,0,0); }
}
@keyframes fg-wave-rev{
  0%{ transform: translate3d(-50%,0,0); }
  100%{ transform: translate3d(0,0,0); }
}
.fg-hero .shimmer{
  position:absolute;
  inset: -40%;
  z-index: 1;
  pointer-events:none;
  background:
    linear-gradient(115deg,
      transparent 0%,
      rgba(255,255,255,.0) 35%,
      rgba(255,255,255,.16) 45%,
      rgba(255,255,255,.0) 55%,
      transparent 100%);
  transform: translate3d(-25%,0,0);
  animation: fg-shimmer 10.5s linear infinite;
  opacity: .5;
}
@keyframes fg-shimmer{
  0%{ transform: translate3d(-30%,0,0); }
  100%{ transform: translate3d(30%,0,0); }
}
@media (prefers-reduced-motion: reduce){
  .fg-hero .wave, .fg-hero .shimmer{ animation: none !important; }
}
.fg-hero .content-container{
  width: min(92%, 1120px);
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(16px, 4vw, 28px);
  margin: 0 auto;
}
.fg-hero .hero-logo{
  width: min(560px, 82vw);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto clamp(10px, 2.0vw, 16px);
  filter: drop-shadow(0 10px 18px rgba(15,23,42,.08));
}
@media (max-width: 860px){
  .fg-hero .hero-section{ height: clamp(210px, 34vw, 280px); }
  .fg-hero .wave{ width: 720%; left: -310%; }
}
@media (max-width: 520px){
  .fg-hero .hero-section{ height: 210px; }
  .fg-hero .wave{ width: 920%; left: -410%; }
  .fg-hero .hero-logo{ width: min(520px, 86vw); }
}

/* === Category Grid === */
.fg-catgrid{
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
.fg-catgrid .fg-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}
.fg-catgrid .fg-grid-item{
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fg-catgrid .fg-grid-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 24px;
}
@media (hover: hover){
  .fg-catgrid .fg-grid-item:hover{
    box-shadow: 0 10px 20px rgba(235,226,241,0.3), 0 6px 12px rgba(254,242,232,0.2);
    transform: translateY(-5px);
  }
  .fg-catgrid .fg-grid-item:hover img{
    transform: scale(1.1);
    filter: brightness(0.9);
  }
}
@media screen and (max-width: 1024px){
  .fg-catgrid{ padding: 30px 16px; }
  .fg-catgrid .fg-grid{ grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media screen and (max-width: 640px){
  .fg-catgrid{ padding: 16px 8px; }
  .fg-catgrid .fg-grid{ grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media screen and (max-width: 380px){
  .fg-catgrid .fg-grid{ grid-template-columns: repeat(1, 1fr); gap: 16px; }
  .fg-catgrid .fg-grid-item{ aspect-ratio: 16/9; }
}

/* === Column Category Header === */
.fg-column-category{
  display: flex;
  justify-content: center;
  align-items: center;
}
.fg-column-category .category-text{
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #132138 0%, #1d304f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.fg-column-category .category-text::after{
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(19, 33, 56, 0.1) 0%,
    rgba(19, 33, 56, 0.5) 50%,
    rgba(19, 33, 56, 0.1) 100%
  );
}
@media (max-width: 768px){
  .fg-column-category .category-text{
    font-size: clamp(1.25rem, 4vw, 1.5rem);
  }
}

/* === Partner Section === */
.fg-partner .partner-section{
  background: linear-gradient(135deg, #FDEAF3 0%, #EBE2F1 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  padding: 52px;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(25px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.fg-partner .partner-section:hover{
  transform: translateY(-4px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.fg-partner .partner-section::before{
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent 0%, #E00070 20%, #FF3D9A 50%, #E00070 80%, transparent 100%);
  background-size: 200% 100%;
  animation: fg-accentFlow 4s ease-in-out infinite;
  border-radius: 28px 28px 0 0;
}
@keyframes fg-accentFlow{
  0%, 100%{ background-position: 200% 0; opacity: 0.6; }
  50%{ background-position: -200% 0; opacity: 1; }
}
.fg-partner .partner-section::after{
  content: '';
  position: absolute;
  top: 60%; left: 50%;
  width: 350px; height: 107px;
  background-image: url('https://sys-tre.com/wp-content/uploads/2023/01/cropped-2-5-1-1536x468.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.06;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.fg-partner .section-header{
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}
.fg-partner .partner-logo{
  height: 64px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(224, 0, 112, 0.15));
}
.fg-partner .title{
  font-size: 1.6rem;
  font-weight: 700;
  color: #2d3748;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 50%, #E00070 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fg-partner .content{
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}
.fg-partner .content p{
  color: #374151;
  line-height: 1.8;
  font-size: 1rem;
  font-weight: 450;
  margin-bottom: 20px;
}
.fg-partner .cta-section{
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.4);
  padding: 24px 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}
.fg-partner .contact-text{
  font-size: 1rem;
  color: #4a5568;
  font-weight: 500;
}
.fg-partner .contact-btn{
  background: linear-gradient(135deg, #E00070 0%, #FF3D9A 50%, #FF8AC0 100%);
  color: white;
  padding: 18px 36px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(224, 0, 112, 0.3);
}
.fg-partner .contact-btn:hover{
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(224, 0, 112, 0.4);
}
@media (max-width: 768px){
  .fg-partner .partner-section{ padding: 40px 32px; }
  .fg-partner .section-header{ flex-direction: column; text-align: center; gap: 20px; }
  .fg-partner .cta-section{ flex-direction: column; gap: 24px; text-align: center; }
  .fg-partner .title{ font-size: 1.3rem; }
}
@media (max-width: 480px){
  .fg-partner .partner-section{ padding: 32px 24px; margin: 30px 0; }
  .fg-partner .contact-btn{ padding: 14px 28px; font-size: 0.95rem; }
}

/* === Hero CTA === */
.fg-hero .hero-subtitle{
  font-size: clamp(13px, 1.8vw, 17px);
  color: #4a5568;
  font-weight: 500;
  margin: 0 0 clamp(10px, 1.8vw, 18px);
  letter-spacing: 0.05em;
}
.fg-hero .hero-cta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #E00070 0%, #FF3D9A 100%);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: clamp(12px, 1.5vw, 15px);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(224,0,112,0.3);
}
.fg-hero .hero-cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(224,0,112,0.4);
  color: #fff;
}
@media (max-width: 520px){
  .fg-hero .hero-cta{ padding: 10px 22px; font-size: 13px; }
}

/* === Blog Parts ID:58170 === */
.fg-widget-container {
      width: 100%;
      max-width: 340px;
      margin: 0 auto;
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      overflow: hidden;
      position: relative;
      transition: all 0.3s ease;
    }

    .fg-widget-container:hover {
      transform: translateY(-5px);
      box-shadow: 
        0 10px 20px rgba(235,226,241,0.3),
        0 6px 12px rgba(0,0,0,0.1);
    }

    .fg-widget-link {
      display: block;
      text-decoration: none;
      color: inherit;
      position: relative;
    }

    .fg-widget-link::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(45deg, rgba(235,226,241,0.2), rgba(254,242,232,0.2));
      opacity: 0;
      z-index: 3;
      transition: opacity 0.3s ease;
    }

    .fg-widget-link:hover::before {
      opacity: 1;
    }

    .fg-widget-hero {
      width: 100%;
      height: 180px;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: #fff;
    }

    .fg-widget-wave-cbot, .fg-widget-wave-ctop {
      position: absolute;
      width: 100%;
      height: 140%;
      overflow: hidden;
      transition: all 0.5s ease;
    }

    .fg-widget-container:hover .fg-widget-wave-cbot,
    .fg-widget-container:hover .fg-widget-wave-ctop {
      filter: hue-rotate(10deg);
    }

    .fg-widget-wave-ctop {
      top: -10%;
      transform: rotate(180deg);
    }

    .fg-widget-wave-cbot {
      bottom: -10%;
    }

    .fg-widget-wave {
      position: absolute;
      width: 400%;
      height: 200%;
      left: -150%;
      background: linear-gradient(
        45deg, 
        #EBE2F1, 
        #FEF2E8
      );
      mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 80 Q 150 160 300 80 Q 450 0 600 80 Q 750 160 900 80 Q 1050 0 1200 80 L 1200 200 L 0 200 Z' fill='black'/%3E%3C/svg%3E");
      -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 80 Q 150 160 300 80 Q 450 0 600 80 Q 750 160 900 80 Q 1050 0 1200 80 L 1200 200 L 0 200 Z' fill='black'/%3E%3C/svg%3E");
      mask-size: 50% 100%;
      -webkit-mask-size: 50% 100%;
      mask-repeat: repeat-x;
      -webkit-mask-repeat: repeat-x;
    }

    .fg-widget-w1 {
      opacity: 0.7;
      animation: fg-widget-wave 20s infinite linear;
      height: 200%;
    }

    .fg-widget-w2 {
      opacity: 0.5;
      animation: fg-widget-wave 15s infinite linear;
      height: 190%;
    }

    .fg-widget-wtop1 {
      opacity: 0.7;
      animation: fg-widget-wave-reverse 18s infinite linear;
      height: 200%;
    }

    .fg-widget-wtop2 {
      opacity: 0.5;
      animation: fg-widget-wave-reverse 22s infinite linear;
      height: 190%;
    }

    .fg-widget-container:hover .fg-widget-w1 {
      animation-duration: 15s;
    }

    .fg-widget-container:hover .fg-widget-w2 {
      animation-duration: 12s;
    }

    .fg-widget-container:hover .fg-widget-wtop1 {
      animation-duration: 14s;
    }

    .fg-widget-container:hover .fg-widget-wtop2 {
      animation-duration: 17s;
    }

    @keyframes fg-widget-wave {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    

/* === Blog Parts ID:58481 === */
/* @import moved below */

/* === Blog Parts ID:59752 === */
/* @import moved below */

/* === Blog Parts ID:58481 (systrade) === */
/* fixed import below */
/* font already loaded via head */

    .systrade-box {
      width: 100%;
      max-width: 340px;
      margin: 0 auto;
      background: linear-gradient(135deg, #F5F5F7, #E8E9EB);
      border-radius: 12px;
      overflow: hidden;
      position: relative;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      font-family: 'Noto Sans JP', sans-serif;
      box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.03) inset;
    }

    .systrade-box::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(255, 107, 0, 0.05) 0%, transparent 50%);
      z-index: 1;
    }

    .systrade-box::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, 
        transparent,
        #FF6B00,
        transparent
      );
      animation: borderGlow 3s ease-in-out infinite;
      z-index: 2;
    }

    @keyframes borderGlow {
      0%, 100% { opacity: 0.5; }
      50% { opacity: 1; }
    }

    .systrade-box:hover {
      transform: translateY(-3px);
      box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset;
    }

    .systrade-anchor {
      display: block;
      text-decoration: none;
      color: inherit;
      padding: 15px;
      position: relative;
      z-index: 2;
    }

    .systrade-header {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 12px;
      background: rgba(255, 255, 255, 0.5);
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.8);
      overflow: hidden;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }

    .systrade-header::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
      );
      transform: rotate(45deg);
      animation: headerGlow 4s ease-in-out infinite;
    }

    @keyframes headerGlow {
      0% { transform: rotate(45deg) translateX(-100%); }
      50% { transform: rotate(45deg) translateX(100%); }
      100% { transform: rotate(45deg) translateX(100%); }
    }

    .systrade-inner {
      width: 100%;
      position: relative;
      z-index: 2;
      text-align: center;
    }

    .systrade-image {
      height: 40px;
      width: auto;
      margin: 8px auto;
      display: block;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    }

    .systrade-title {
      color: #333;
      font-size: 1.1em;
      font-weight: 900;
      white-space: nowrap;
      background: linear-gradient(90deg, #333, #FF6B00, #333);
      background-size: 200% auto;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: titleFlow 3s linear infinite;
      padding: 8px 0;
    }

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

    .systrade-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
      margin: 12px 0;
    }

    .systrade-item {
      background: rgba(255, 255, 255, 0.7);
      padding: 10px 6px;
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, 0.9);
      text-align: center;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .systrade-item:hover {
      transform: translateY(-2px);
      background: rgba(255, 107, 0, 0.05);
      border-color: rgba(255, 107, 0, 0.2);
      box-shadow: 0 4px 12px rgba(255, 107, 0, 0.1);
    }

    .systrade-item::after {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 107, 0, 0.1),
        transparent
      );
      transform: rotate(45deg);
      animation: itemGlow 3s ease-in-out infinite;
      opacity: 0;
    }

    .systrade-item:hover::after {
      opacity: 1;
    }

    @keyframes itemGlow {
      0% { transform: rotate(45deg) translateX(-100%); }
      100% { transform: rotate(45deg) translateX(100%); }
    }

    .systrade-desc {
      color: #333;
      font-size: 0.75em;
      font-weight: 700;
      line-height: 1.4;
      position: relative;
      z-index: 1;
    }

    .systrade-button {
      background: linear-gradient(90deg, #FF6B00, #FF8534);
      color: white;
      padding: 12px;
      border-radius: 8px;
      font-weight: 900;
      font-size: 0.95em;
      text-align: center;
      position: relative;
      overflow: hidden;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
      margin-top: 12px;
      transition: all 0.3s ease;
    }

    .systrade-button::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
      );
      transform: translateX(-100%);
      animation: buttonGlow 3s ease-in-out infinite;
    }

    @keyframes buttonGlow {
      0% { transform: translateX(-100%); }
      50% { transform: translateX(100%); }
      100% { transform: translateX(100%); }
    }

    .systrade-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
    }

    @media (max-width: 768px) {
      .systrade-box {
        max-width: 100%;
      }
      
      .systrade-list {
        grid-template-columns: 1fr;
      }
      
      .systrade-title {
        font-size: 0.95em;
      }
    }

/* === Blog Parts ID:59752 (systrade) === */
/* fixed import below */
/* font already loaded via head */

    .systrade-horizontal {
      width: 100%;
      max-width: 800px;
      margin: 20px auto;
      background: linear-gradient(135deg, #F5F5F7, #E8E9EB);
      border-radius: 12px;
      overflow: hidden;
      position: relative;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      font-family: 'Noto Sans JP', sans-serif;
      box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.03) inset;
      display: flex;
      flex-direction: row;
      align-items: center;
      height: auto;
      min-height: 120px;
    }

    .systrade-horizontal::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(255, 107, 0, 0.05) 0%, transparent 50%);
      z-index: 1;
    }

    .systrade-horizontal::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, 
        transparent,
        #FF6B00,
        transparent
      );
      animation: borderGlow 3s ease-in-out infinite;
      z-index: 2;
    }

    @keyframes borderGlow {
      0%, 100% { opacity: 0.5; }
      50% { opacity: 1; }
    }

    .systrade-horizontal:hover {
      transform: translateY(-2px);
      box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset;
    }

    .systrade-anchor {
      display: flex;
      width: 100%;
      text-decoration: none;
      color: inherit;
      position: relative;
      z-index: 2;
    }

    .systrade-header {
      width: 30%;
      min-width: 150px;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 12px;
      background: rgba(255, 255, 255, 0.5);
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.8);
      overflow: hidden;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      margin: 10px;
      height: calc(100% - 20px);
    }

    .systrade-header::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
      );
      transform: rotate(45deg);
      animation: headerGlow 4s ease-in-out infinite;
    }

    @keyframes headerGlow {
      0% { transform: rotate(45deg) translateX(-100%); }
      50% { transform: rotate(45deg) translateX(100%); }
      100% { transform: rotate(45deg) translateX(100%); }
    }

    .systrade-inner {
      width: 100%;
      position: relative;
      z-index: 2;
      text-align: center;
    }

    .systrade-image {
      height: 30px;
      width: auto;
      margin: 8px auto;
      display: block;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    }

    .systrade-title {
      color: #333;
      font-size: 0.9em;
      font-weight: 900;
      white-space: nowrap;
      background: linear-gradient(90deg, #333, #FF6B00, #333);
      background-size: 200% auto;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: titleFlow 3s linear infinite;
      padding: 4px 0;
    }

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

    .systrade-content {
      display: flex;
      flex: 1;
      flex-direction: column;
      justify-content: space-between;
      padding: 12px;
    }

    .systrade-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
      margin-bottom: 10px;
    }

    .systrade-item {
      background: rgba(255, 255, 255, 0.7);
      padding: 8px 6px;
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, 0.9);
      text-align: center;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .systrade-item:hover {
      transform: translateY(-2px);
      background: rgba(255, 107, 0, 0.05);
      border-color: rgba(255, 107, 0, 0.2);
      box-shadow: 0 4px 12px rgba(255, 107, 0, 0.1);
    }

    .systrade-item::after {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 107, 0, 0.1),
        transparent
      );
      transform: rotate(45deg);
      animation: itemGlow 3s ease-in-out infinite;
      opacity: 0;
    }

    .systrade-item:hover::after {
      opacity: 1;
    }

    @keyframes itemGlow {
      0% { transform: rotate(45deg) translateX(-100%); }
      100% { transform: rotate(45deg) translateX(100%); }
    }

    .systrade-desc {
      color: #333;
      font-size: 0.7em;
      font-weight: 700;
      line-height: 1.3;
      position: relative;
      z-index: 1;
    }

    .systrade-button {
      background: linear-gradient(90deg, #FF6B00, #FF8534);
      color: white;
      padding: 10px;
      border-radius: 8px;
      font-weight: 900;
      font-size: 0.85em;
      text-align: center;
      position: relative;
      overflow: hidden;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
      transition: all 0.3s ease;
      margin-top: auto;
    }

    .systrade-button::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
      );
      transform: translateX(-100%);
      animation: buttonGlow 3s ease-in-out infinite;
    }

    @keyframes buttonGlow {
      0% { transform: translateX(-100%); }
      50% { transform: translateX(100%); }
      100% { transform: translateX(100%); }
    }

    .systrade-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
    }

    @media (max-width: 600px) {
      .systrade-horizontal {
        flex-direction: column;
        min-height: auto;
      }
      
      .systrade-header {
        width: calc(100% - 20px);
        min-width: auto;
        margin: 10px;
      }
      
      .systrade-content {
        width: 100%;
      }
      
      .systrade-title {
        font-size: 0.85em;
      }
      
      .systrade-list {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 400px) {
      .systrade-list {
        grid-template-columns: 1fr;
      }
    }

/* === Blog Parts 58170 residue CSS === */
}

    @keyframes fg-widget-wave-reverse {
      0% { transform: translateX(-50%); }
      100% { transform: translateX(0); }
    }

    .fg-widget-content {
      width: 90%;
      position: relative;
      z-index: 2;
      text-align: center;
      margin: 0 auto;
      padding: 0 15px;
      box-sizing: border-box;
      transition: transform 0.3s ease;
    }

    .fg-widget-container:hover .fg-widget-content {
      transform: scale(1.02);
    }

    .fg-widget-logo {
      width: 100%;
      max-width: 380px;
      height: auto;
      display: block;
      margin: 0 auto 15px;
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
      transition: all 0.3s ease;
      padding: 0 10px;
      box-sizing: border-box;
    }

    .fg-widget-container:hover .fg-widget-logo {
      filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    }

    .fg-widget-catchphrase {
      font-family: "Hiragino Kaku Gothic Pro", "メイリオ", sans-serif;
      font-size: 13px;
      color: #333;
      letter-spacing: 0.08em;
      position: relative;
      display: inline-block;
      padding: 6px 20px;
      background: rgba(255,255,255,0.9);
      border-radius: 30px;
      box-shadow: 
        0 2px 10px rgba(235,226,241,0.4),
        0 -2px 10px rgba(254,242,232,0.4);
      line-height: 1.4;
      transition: all 0.3s ease;
      text-align: center;
      max-width: 90%;
      margin: 0 auto;
    }

    .fg-widget-container:hover .fg-widget-catchphrase {
      background: rgba(255,255,255,0.95);
      box-shadow: 
        0 4px 15px rgba(235,226,241,0.6),
        0 -4px 15px rgba(254,242,232,0.6);
      transform: translateY(-2px);
    }

    /* Shine effect */
    .fg-widget-shine {
      position: absolute;
      top: 0;
      left: -100%;
      width: 50%;
      height: 100%;
      background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.3) 45%,
        rgba(255,255,255,0.5) 50%,
        rgba(255,255,255,0.3) 55%,
        transparent 100%
      );
      z-index: 4;
      animation: fg-widget-shine-anim 3s infinite;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .fg-widget-container:hover .fg-widget-shine {
      opacity: 1;
    }

    @keyframes fg-widget-shine-anim {
      0% { left: -100%; }
      100% { left: 200%; }
    }

    /* モバイル向け調整 */
    @media (max-width: 768px) {
      .fg-widget-container {
        max-width: 100%;
      }
    }
/* === Fix systrade widget in sidebar === */
.w-fixSide .systrade-box,
.l-sidebar .systrade-box {
    max-width: 100% !important;
    width: 100% !important;
}
.w-fixSide .systrade-anchor,
.l-sidebar .systrade-anchor {
    display: flex !important;
    flex-direction: column !important;
    padding: 15px !important;
    width: 100% !important;
}
.w-fixSide .systrade-header,
.l-sidebar .systrade-header {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}
.w-fixSide .systrade-inner,
.l-sidebar .systrade-inner {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
.w-fixSide .systrade-list,
.l-sidebar .systrade-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
}
.w-fixSide .systrade-button,
.l-sidebar .systrade-button {
    width: 100% !important;
    white-space: normal !important;
}
.w-fixSide .systrade-title,
.l-sidebar .systrade-title {
    white-space: normal !important;
    text-align: center !important;
}

/* ============================================================
   Reading UX Mobile Pack — v7 final (clean integration)
   両サイト共有 base 本文 readability CSS
   - SWELL parent / 既存 component CSS (.systre-topcards 等) 不干渉
   - .post_content scope 限定
   - Last consolidated: 2026-05-07
   構成:
     [Mobile <=599px]
       (1) base font-size, 段落 / li line-height + margin
       (2) h2 / h3 / h4 mobile spacing
       (3) image / pre / code overflow 防止
       (4) 本文 padding
       (5) component 境界 margin
       (6) table 完全対応 (cell crash / 1 列独占 / 1 文字 wrap 全て解決)
     [Tablet 600-767px]
       同要素の中間幅対応
   ============================================================ */

/* ===== [Mobile <=599px] ===== */
@media (max-width: 599px) {

  /* (1) base font-size + 段落 / li */
  html {
    font-size: max(16px, 3.6vw) !important;
  }
  .post_content p,
  .post_content li {
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 1.25em;
  }

  /* (2) 見出し mobile spacing */
  .post_content h2 {
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    line-height: 1.4;
  }
  .post_content h3 {
    margin-top: 1.4em;
    margin-bottom: 0.6em;
    line-height: 1.45;
  }
  .post_content h4 {
    margin-top: 1.15em;
    margin-bottom: 0.5em;
    line-height: 1.5;
  }

  /* (3) image / pre / code overflow 防止 */
  .post_content img,
  .post_content pre,
  .post_content code {
    max-width: 100%;
  }
  .post_content pre {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* (4) 本文 padding (SWELL 親 .l-mainContent__inner と二重にならない最小値) */
  .post_content {
    padding-left: 4px;
    padding-right: 4px;
  }

  /* (5) component と本文段落の境界 margin (component 内部 CSS は不変) */
  .post_content > .wp-block-group,
  .post_content > .wp-block-image,
  .post_content > .wp-block-buttons,
  .post_content > figure,
  .post_content > .systre-topcards,
  .post_content > .systre-bt,
  .post_content > .fg-linklist,
  .post_content > .fg-tabs,
  .post_content > .swell-block-button,
  .post_content > .swell-block-buttons,
  .post_content > .swell-block-faq,
  .post_content > .swell-block-accordion,
  .post_content > blockquote {
    margin-top: 1.6em;
    margin-bottom: 1.6em;
  }

  /* (6) table 完全対応 (v7 final)
     - figure.wp-block-table を overflow-x scroll wrapper に
     - table は width:auto + min-width:100% で viewport fit、 内容多 → 自然 fit + scroll
     - cell min-width:90 で crash 防止 (3 列なら 270 < 336 で fit)
     - code は overflow-wrap:anywhere で単語境界優先 + 必要時のみ任意改行
     - body 接頭辞 + !important で SWELL is-style-stripes 由来を全 override */
  body .post_content figure.wp-block-table {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body .post_content figure.wp-block-table > table,
  body .post_content figure.wp-block-table > table.has-fixed-layout,
  body .post_content > table {
    width: auto !important;
    min-width: 100% !important;
    max-width: none !important;
    table-layout: auto !important;
    font-size: 14px !important;
  }
  body .post_content figure.wp-block-table > table th,
  body .post_content figure.wp-block-table > table td,
  body .post_content > table th,
  body .post_content > table td {
    min-width: 90px !important;
    padding: 10px 8px !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.55 !important;
    vertical-align: top !important;
  }
  body .post_content table code,
  body .post_content table tt {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    display: inline !important;
    max-width: 100% !important;
  }
}

/* ===== [Tablet 600-767px] ===== */
@media (min-width: 600px) and (max-width: 767px) {

  /* 段落 / li */
  .post_content p,
  .post_content li {
    font-size: 16px;
    line-height: 1.78;
    margin-bottom: 1.15em;
  }

  /* 見出し */
  .post_content h2 {
    margin-top: 1.5em;
    margin-bottom: 0.7em;
  }
  .post_content h3 {
    margin-top: 1.2em;
    margin-bottom: 0.55em;
  }

  /* table */
  body .post_content figure.wp-block-table {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
  }
  body .post_content figure.wp-block-table > table,
  body .post_content > table {
    width: auto !important;
    min-width: 100% !important;
    max-width: none !important;
    table-layout: auto !important;
  }
  body .post_content figure.wp-block-table > table th,
  body .post_content figure.wp-block-table > table td,
  body .post_content > table th,
  body .post_content > table td {
    min-width: 110px !important;
    padding: 10px 10px !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  body .post_content table code,
  body .post_content table tt {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }
}
/* ============================================================
   END Reading UX Mobile Pack — v7 final
   ============================================================ */


/* ============================================================
   Phase D Part 1: tap target 44px + focus-visible
   piped-hummingbird 2026-05-08
   純加算 / 微調整 (既存 >= 44px なら no-op)
   ============================================================ */

/* D-2: tap target 44px (Lighthouse target-size 監査対応) */
.c-categoryList__link,
.c-iconBtn,
.p-toc__link,
.p-toc a,
.c-gnav > li > a,
.l-fixHeader__gnav > ul > li > a,
.l-header__gnav > ul > li > a,
.p-articleMetas__termList a,
.p-pagination a,
.c-shareBtns__btn,
.p-blogCard__title,
.c-tagList__link,
.p-pnLinks__link,
.c-iconList__link,
.p-authorBox__moreLink,
.p-archiveItem a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* 2026-08-21: .p-postList__link を上の一括指定に入れると display:inline-flex が効き、
   サムネイル型リスト(.p-postList.-type-thumb)でリンクの幅が 0 になる。
   thumb は width:100% で 0x0 に、body は position:absolute なので item の高さは 44px のまま
   ＝ トップの「自動売買・EA」「MetaTrader」セクションが丸ごと空白に見えていた。
   SWELL 標準の display を保ったままタッチターゲットの高さだけ確保する。 */
.p-postList__link {
  min-height: 44px;
}

/* D-3: focus-visible (キーボードフォーカス可視化) */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid #1976d2;
  outline-offset: 2px;
}

/* ============================================================
   END Phase D Part 1
   ============================================================ */


/* ==========================================================================
   /blog/manual/ の自前セクション（stre-*）2026-09-21
   post 6957 の wp:html ブロックが使うクラス。3 月の改稿で CSS が出荷されておらず
   hero・5 つの理由・CTA・まとめが素の HTML で描画されていたのを解消する。
   ========================================================================== */
.stre-hero{position:relative;overflow:hidden;margin:0 0 32px;padding:40px 32px;border-radius:16px;background:linear-gradient(135deg,#1c2237 0%,#2a3352 65%,#3b2b2b 100%);color:#fff}
.stre-hero::after{content:"";position:absolute;right:-90px;top:-90px;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgb(255 122 61 / .38),transparent 70%);pointer-events:none}
.stre-hero-inner{position:relative;z-index:1;max-width:780px}
.post_content .stre-hero-main-copy{margin:0 0 14px;font-size:1.7rem;font-weight:800;line-height:1.45;letter-spacing:.01em;color:#fff}
.stre-accent{color:#ff8a4c}
.post_content .stre-hero-sub-copy{margin:0 0 24px;font-size:.95rem;line-height:1.8;color:rgb(255 255 255 / .82)}
.stre-hero-counters{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 24px}
.stre-hero-counter-card{padding:14px 10px;text-align:center;border:1px solid rgb(255 255 255 / .14);border-radius:12px;background:rgb(255 255 255 / .08)}
.stre-counter-number{display:block;font-size:1.55rem;font-weight:800;line-height:1.2;color:#ffb088;font-variant-numeric:tabular-nums}
.stre-counter-label{display:block;margin-top:4px;font-size:.75rem;color:rgb(255 255 255 / .75)}
.stre-hero-cta-wrap{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
.stre-hero-cta,.stre-cta-block .stre-cta-btn-primary,.stre-closing-cta{display:inline-flex;align-items:center;justify-content:center;padding:14px 30px;border-radius:50px;background:linear-gradient(135deg,#ff7a3d,#ff5722);color:#fff!important;font-weight:700;text-decoration:none!important;box-shadow:0 4px 16px rgb(255 87 34 / .3);transition:transform .2s,box-shadow .2s}
.stre-hero-cta:hover,.stre-cta-block .stre-cta-btn-primary:hover,.stre-closing-cta:hover{transform:translateY(-2px);box-shadow:0 6px 24px rgb(255 87 34 / .45)}
.stre-hero-cta-secondary{color:rgb(255 255 255 / .88)!important;font-size:.9rem;text-decoration:underline!important;text-underline-offset:3px}

/* 5 つの理由 */
.stre-strengths{margin:8px 0 36px}
.stre-strengths-heading{margin-bottom:20px;text-align:center}
.stre-strengths-label{display:inline-block;margin-bottom:6px;font-size:.75rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#ff5722}
.post_content .stre-strengths .stre-strengths-title{margin:.4em 0 .8em}
.post_content .stre-strengths-subtitle{margin:0;font-size:.95rem;color:#555}
.stre-strength-card{display:flex;gap:16px;margin:0 0 14px;padding:20px 22px;border:1px solid #ececec;border-left:4px solid #ff5722;border-radius:12px;background:#fff;box-shadow:0 2px 10px rgb(0 0 0 / .04)}
.stre-strength-card.stre-visible{animation:stre-fadeup .6s ease both}
@keyframes stre-fadeup{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.stre-strength-num{display:flex;flex:0 0 44px;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#ff7a3d,#ff5722);color:#fff;font-size:1.1rem;font-weight:800;box-shadow:0 4px 12px rgb(255 87 34 / .3)}
.stre-strength-body{flex:1;min-width:0}
.post_content .stre-strength-card .stre-strength-card-title{margin:2px 0 10px;padding:0;font-size:1.1rem;font-weight:700;line-height:1.4;color:#1c2237;background:none;border:0}
.post_content .stre-strength-card .stre-strength-card-title::before{display:none}
.post_content .stre-strength-card-desc{margin:0;font-size:.93rem;line-height:1.85;color:#333}
.stre-dim{color:#777}
.stre-hl{padding:0 2px;font-weight:700;background:linear-gradient(transparent 62%,#ffe1d2 62%)}

/* 本文中 CTA ブロック */
.stre-cta-block{margin:32px 0;padding:28px 24px;border:1px solid #ffd3bd;border-radius:14px;background:linear-gradient(135deg,#fff7f2,#fff0e6);text-align:center}
.post_content .stre-cta-block-title{margin:0 0 6px;font-size:1.15rem;font-weight:800;color:#1c2237}
.post_content .stre-cta-block-sub{margin:0 0 16px;font-size:.9rem;color:#555}
.stre-cta-block br{display:none}
.stre-cta-block .stre-cta-btn-secondary{display:inline-block;margin-top:12px;font-size:.88rem;color:#ff5722!important;text-decoration:underline;text-underline-offset:3px}
.stre-cta-trust,.stre-closing-trust{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;margin-top:14px;font-size:.8rem;color:#555}

/* セクション包み（旧アコーディオンを展開した後の器） */
.stre-section-wrap{margin:0 0 8px}

/* まとめ */
.stre-closing{margin:40px 0 20px;padding:40px 28px;border-radius:16px;background:linear-gradient(135deg,#1c2237,#2a3352);color:#fff;text-align:center}
.post_content .stre-closing .stre-closing-title{margin:0 0 16px;padding:0;font-size:1.4rem;line-height:1.5;color:#fff;background:none;border:0;border-radius:0}
.post_content .stre-closing .stre-closing-title::before{display:none}
.post_content .stre-closing-sub{margin:0 0 22px;font-size:.95rem;line-height:1.9;color:rgb(255 255 255 / .85)}
.stre-closing .stre-dim{font-size:.85rem;color:rgb(255 255 255 / .6)}
.stre-closing-trust{color:rgb(255 255 255 / .8)}
.stre-disclaimer{margin:16px 0 24px;padding:16px 18px;border-radius:10px;background:#f6f6f6;font-size:.78rem;line-height:1.7;color:#666}
.post_content .stre-disclaimer-title{margin:0 0 6px;font-weight:700;color:#444}
.post_content .stre-disclaimer p{margin:0}

@media (max-width:600px){
  .stre-hero{padding:28px 18px;border-radius:12px}
  .post_content .stre-hero-main-copy{font-size:1.3rem}
  .stre-hero-counters{gap:8px}
  .stre-hero-counter-card{padding:10px 4px}
  .stre-counter-number{font-size:1.02rem}
  .stre-counter-label{font-size:.68rem}
  .stre-hero-cta,.stre-cta-block .stre-cta-btn-primary,.stre-closing-cta{width:100%;padding:14px 20px}
  .stre-strength-card{gap:12px;padding:16px 14px}
  .stre-strength-num{flex-basis:36px;width:36px;height:36px;font-size:1rem}
  .stre-closing{padding:28px 18px}
}
