/* =========================================================
   XRP SITE / HEADER + CUSTOM MOBILE DRAWER
   GeneratePress 用 / full replace
========================================================= */

:root{
  --xrp-header-h: 58px;
  --xrp-header-h-sp: 54px;
  --xrp-header-pad-x: 28px;
  --xrp-header-pad-x-sp: 16px;
  --xrp-header-text: rgba(255,255,255,0.86);
  --xrp-header-text-hover: #ffffff;
  --xrp-header-bg: rgba(3,7,18,0.20);
  --xrp-header-bg-solid: rgb(3 7 18 / 54%);
  --xrp-header-shadow:
    0 10px 18px rgba(0,0,0,0.24),
    0 1px 0 rgba(255,255,255,0.03);
  --xrp-drawer-w: min(82vw, 320px);
}

html,
body,
.site {
  background: #05070d;
}

html.xrp-menu-open,
body.xrp-menu-open {
  overflow: hidden;
}

body {
  overflow-x: hidden;
}

.site-content {
  position: relative;
  z-index: 1;
}

.separate-containers .inside-article,
.one-container .site-content,
.separate-containers .site-main {
  margin-top: 0;
}

/* =========================
   Header
========================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  height: var(--xrp-header-h);
  min-height: var(--xrp-header-h);
  max-height: var(--xrp-header-h);
  z-index: 1000;
  background: var(--xrp-header-bg);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  box-shadow: var(--xrp-header-shadow);
  border-bottom: 1px solid rgba(0,0,0,0.55);
  transition: transform .28s ease, background .2s ease;
  transform: translateY(0);
  will-change: transform;
}

.site-header.xrp-header-top {
  transform: translateY(0);
  background: var(--xrp-header-bg);
}

.site-header.xrp-header-show {
  transform: translateY(0);
  background: var(--xrp-header-bg-solid);
}

.site-header.xrp-header-hide {
  transform: translateY(calc(-1 * var(--xrp-header-h) - 10px));
}

.site-header .inside-header {
  height: var(--xrp-header-h);
  min-height: var(--xrp-header-h);
  max-height: var(--xrp-header-h);
  padding: 0 var(--xrp-header-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* =========================
   Branding
========================= */
.site-branding {
  height: var(--xrp-header-h);
  min-height: var(--xrp-header-h);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 1 auto;
  line-height: 1;
  position: relative;
  z-index: 1002;
}

/* 既存テキストロゴ・WPロゴを完全OFF */
.site-branding .main-title,
.site-branding .custom-logo-link,
.site-branding .custom-logo,
.site-logo {
  display: none !important;
}

/* 自前ロゴ */
.site-branding .xrp-logo {
  display: inline-flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
}

/* SVG画像 */
.site-branding .xrp-logo img {
  display: block;
  height: 20px;
  margin-top: 4px;
  width: auto;
  max-width: none;
}

/* hover */
.site-branding .xrp-logo:hover {
  opacity: 0.9;
}

/* スマホ */
@media (max-width: 768px) {
  .site-branding .xrp-logo img {
    height: 18px;
	  margin-left: 10px;
  }
}


/* =========================
   Desktop nav
========================= */
.main-navigation,
.main-navigation .inside-navigation {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.main-navigation {
  height: var(--xrp-header-h);
  min-height: var(--xrp-header-h);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  position: relative;
  z-index: 1002;
}

.main-navigation .inside-navigation {
  height: var(--xrp-header-h);
  min-height: var(--xrp-header-h);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.main-navigation .main-nav {
  display: flex;
  align-items: center;
}

.main-navigation .main-nav > ul {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.main-navigation .main-nav > ul > li {
  margin: 0;
  list-style: none;
}

.main-navigation .main-nav > ul > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--xrp-header-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color .2s ease;
}

.main-navigation .main-nav > ul > li > a:hover {
  color: var(--xrp-header-text-hover);
}

.main-navigation .main-nav > ul > li.current-menu-item > a,
.main-navigation .main-nav > ul > li.current_page_item > a {
  color: #fff;
}

.main-navigation .main-nav > ul > li.current-menu-item > a::after,
.main-navigation .main-nav > ul > li.current_page_item > a::after,
.main-navigation .main-nav > ul > li > a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #9f5cff 0%, #61d6ff 100%);
  opacity: 0.95;
}

/* PCでテーマのトグル完全非表示 */
.menu-toggle,
button.menu-toggle,
.mobile-menu-control-wrapper,
.main-navigation .menu-bar-items,
.main-navigation .mobile-bar-items {
  display: none !important;
}

/* =========================
   Custom mobile button
========================= */
.xrp-menu-button {
  display: none;
}

/* =========================
   Hero offset
========================= */
.xrp-hero,
.hero,
.page-hero,
.entry-content > section:first-child {
  position: relative;
  margin-top: 0 !important;
  padding-top: calc(var(--xrp-header-h) + 36px);
}

/* =========================
   Footer
========================= */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, rgb(13 18 30 / 96%) 0%, rgba(4,6,12,1) 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 -24px 40px rgba(0,0,0,0.32);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 0;
  width: 100%;
  height: 24px;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.22), rgba(0,0,0,0));
}

.site-info {
  padding: 0px 18px;
  text-align: center;
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  background: transparent;
}
.inside-site-info{padding: 0px 18px;}

/* =========================
   Overlay + Drawer
========================= */
.xrp-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1098;
  background: rgba(2,5,12,0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}

.xrp-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.xrp-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--xrp-drawer-w);
  height: 100dvh;
  z-index: 1099;
  background: rgba(7,10,18,0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-left: 1px solid rgba(255,255,255,0.06);
  box-shadow: -18px 0 34px rgba(0,0,0,0.34);
  transform: translateX(100%);
  transition: transform .28s ease;
  display: none;
}

.xrp-mobile-drawer.is-open {
  transform: translateX(0);
}

.xrp-mobile-drawer-inner {
  height: 100%;
  padding: 22px 22px 28px;
  display: flex;
  flex-direction: column;
}

.xrp-mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  margin-bottom: 20px;
}

.xrp-mobile-drawer-title {
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.xrp-mobile-drawer-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  width: 34px;
  height: 34px;
  padding: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.xrp-mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.xrp-mobile-drawer-nav a {
  display: block;
  padding: 14px 2px;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.xrp-mobile-drawer-nav a.current-menu-item-link {
  color: #fff;
}

/* =========================
   Tablet
========================= */
@media (max-width: 1024px) {
  .site-header .inside-header {
    padding: 0 20px;
  }

  .main-navigation .main-nav > ul {
    gap: 20px;
  }
}

/* =========================
   Mobile
========================= */
@media (max-width: 768px) {
  .site-header {
    height: var(--xrp-header-h-sp);
    min-height: var(--xrp-header-h-sp);
    max-height: var(--xrp-header-h-sp);
    background: rgba(3,7,18,0.20);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
  }

  .site-header.xrp-header-hide {
    transform: translateY(calc(-1 * var(--xrp-header-h-sp) - 8px));
  }

  .site-header .inside-header {
    height: var(--xrp-header-h-sp);
    min-height: var(--xrp-header-h-sp);
    max-height: var(--xrp-header-h-sp);
    padding: 0 var(--xrp-header-pad-x-sp);
    gap: 12px;
  }

  .site-branding {
    height: var(--xrp-header-h-sp);
    min-height: var(--xrp-header-h-sp);
    flex: 1 1 auto;
  }

  .site-branding .custom-logo-link,
  .site-logo,
  .main-title,
  .main-title a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    margin: 0;
  }

  .site-branding .custom-logo,
  .site-logo img {
    max-height: 18px;
  }

  .main-title,
  .main-title a {
    font-size: 16px;
  }

  /* スマホではテーマ側のナビとトグルを全部消す */
  .main-navigation .main-nav,
  .main-navigation .main-nav > ul,
  .menu-toggle,
  button.menu-toggle,
  .mobile-menu-control-wrapper,
  .main-navigation .menu-bar-items,
  .main-navigation .mobile-bar-items {
    display: none !important;
  }

  /* 自前ボタンだけ表示 */
  .xrp-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: var(--xrp-header-h-sp);
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    position: relative;
    z-index: 1101;
  }

  .xrp-menu-button span,
  .xrp-menu-button::before,
  .xrp-menu-button::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: #fff;
    transition: transform .22s ease, opacity .18s ease;
  }

  .xrp-menu-button span {
    transform: translateY(0);
  }

  .xrp-menu-button::before {
    transform: translateY(-8px);
  }

  .xrp-menu-button::after {
    transform: translateY(8px);
  }

  .xrp-menu-open .xrp-menu-button span {
    opacity: 0;
  }

  .xrp-menu-open .xrp-menu-button::before {
    transform: rotate(45deg);
  }

  .xrp-menu-open .xrp-menu-button::after {
    transform: rotate(-45deg);
  }

  .xrp-mobile-drawer {
    display: block;
  }

  .xrp-hero,
  .hero,
  .page-hero,
  .entry-content > section:first-child {
    padding-top: calc(var(--xrp-header-h-sp) + 18px);
  }
}
/* =========================================
   MOBILE TOGGLE POSITION FIX
========================================= */
@media (max-width: 768px) {
  .site-header .inside-header {
    position: relative;
  }

  /* 右上の自前ボタンをヘッダー右端に固定 */
  .xrp-menu-button {
    position: absolute !important;
    top: 50% !important;
    right: 16px !important;
    transform: translateY(-50%) !important;
    width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    z-index: 1105 !important;
  }

  /* 右ボタン分だけロゴ側の横幅を確保 */
  .site-branding {
    padding-right: 48px !important;
  }

  /* 念のため、テーマ側の残骸トグルをさらに消す */
  .main-navigation,
  .main-navigation .inside-navigation,
  .main-navigation .menu-toggle,
  .main-navigation button.menu-toggle,
  .mobile-menu-control-wrapper,
  .main-navigation .menu-bar-items,
  .main-navigation .mobile-bar-items,
  .site-header .menu-toggle,
  .site-header button.menu-toggle {
    display: none !important;
  }
}

/* =========================================
   DRAWER LINK DECORATION
========================================= */
.xrp-mobile-drawer-nav a {
  position: relative;
  padding: 16px 2px 18px !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  overflow: hidden;
}

/* 薄いグラデバー */
.xrp-mobile-drawer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 72px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b14cff 0%, #61d6ff 100%);
  opacity: 0.9;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s ease, opacity .22s ease;
}

/* hover/currentで表示 */
.xrp-mobile-drawer-nav a:hover::after,
.xrp-mobile-drawer-nav a:focus::after,
.xrp-mobile-drawer-nav a.current-menu-item-link::after {
  transform: scaleX(1);
}

/* currentは文字色も少し強め */
.xrp-mobile-drawer-nav a.current-menu-item-link {
  color: #ffffff;
}

/* 少し高級感を出す余白 */
.xrp-mobile-drawer-nav {
  gap: 6px;
}
/* =========================================
   TOGGLE HOVER REMOVE
========================================= */

/* 自前トグル */
.xrp-menu-button,
.xrp-menu-button:hover,
.xrp-menu-button:focus,
.xrp-menu-button:active {
  background: transparent !important;
  box-shadow: none !important;
}

/* 念のため、擬似要素も */
.xrp-menu-button::before,
.xrp-menu-button::after,
.xrp-menu-button span {
  background-color: #fff;
}

/* GeneratePressの残骸トグル対策（完全消し） */
.menu-toggle,
.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle:active,
button.menu-toggle,
button.menu-toggle:hover,
button.menu-toggle:focus,
button.menu-toggle:active,
.xrp-mobile-drawer-close,
.xrp-mobile-drawer-close:hover,
.xrp-mobile-drawer-close:focus,
.xrp-mobile-drawer-close:active{
  background: transparent !important;
  box-shadow: none !important;
}

/* 謎のグレー四角対策（Safari/テーマ対策） */
.xrp-menu-button,.xrp-mobile-drawer-close {
  -webkit-tap-highlight-color: transparent;
}

/* =========================================
   XRiPly Single Post - GeneratePress
========================================= */

/* 全体背景 */
body.single-post {
  background:#0A0D12;
  color: rgba(232, 240, 255, 0.88);
}

/* コンテンツ幅 */
body.single-post .site.grid-container {
  max-width: 1280px;
}

/* メイン全体 */
body.single-post .site-content {
  padding-top: 88px;
  padding-bottom: 56px;
}

/* メインカラム */
body.single-post .content-area {
  width: min(100%, 860px);
  padding: 0 15px 0 30px;
}

/* 記事本体 */
body.single-post .inside-article {
  background: rgba(8, 12, 20, 0.88);
  border: 1px solid rgba(145, 206, 255, 0.12);
  border-radius: 28px;
  padding: 34px 34px 30px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.015),
    0 12px 34px rgba(0,0,0,0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* タイトル */
body.single-post .entry-title {
  margin: 0 0 8px;
  font-size: clamp(30px, 4.2vw, 36px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: #fff;
}

/* メタ */
body.single-post .entry-meta,
body.single-post .entry-meta a {
  color: rgba(181, 198, 224, 0.72);
  font-size: 13px;
}

body.single-post .entry-meta {
  margin-bottom: 24px;
}

/* 本文 */
body.single-post .entry-content {
  color: rgba(228, 236, 250, 0.88);
  font-size: 17px;
  line-height: 1.8;
	margin-top: 1em;
}

body.single-post .entry-content p {
  margin-bottom: 1em;
}

/* 見出し */
body.single-post .entry-content h2 {
  position: relative;
  margin: 1.5em 0 0.8em;
  padding-left: 18px;
  color: #f7fbff;
  font-size: clamp(24px, 2.5vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body.single-post .entry-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 6px;
  height: 0.95em;
  border-radius: 999px;
  background: linear-gradient(180deg, #cf63ff 0%, #3bc4ff 100%);
  box-shadow:
    0 0 12px rgba(207, 99, 255, 0.28),
    0 0 18px rgba(59, 196, 255, 0.18);
}

body.single-post .entry-content h3 {
  margin: 1.8em 0 0.8em;
  color: #f2f7ff;
  font-size: 22px;
  line-height: 1.3;
}

/* 箇条書き */
body.single-post .entry-content ul,
body.single-post .entry-content ol {
  margin: 1em 0 1.4em 1.2em;
}

body.single-post .entry-content li {
  margin-bottom: 0.5em;
}

/* リンク */
body.single-post .entry-content a {
  color: #73d5ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(115, 213, 255, 0.34);
}

body.single-post .entry-content a:hover {
  color: #c993ff;
  border-bottom-color: rgba(201, 147, 255, 0.5);
}

/* 区切り線 */
body.single-post .entry-content hr {
  border: 0;
  border-top: 1px solid rgba(145, 206, 255, 0.12);
  margin: 2em 0;
}

/* 免責文っぽい最後の段落を小さめに */
body.single-post .entry-content p:last-of-type {
  margin-top: 2em;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(202, 214, 232, 0.72);
  font-size: 13px;
  line-height: 1.3;
}

/* カテゴリ・タグ */
body.single-post .cat-links,
body.single-post .tags-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.single-post .cat-links a,
body.single-post .tags-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(145, 206, 255, 0.12);
  color: rgba(236, 243, 255, 0.88);
  text-decoration: none;
  font-size: 13px;
}

blockquote p {
    border-left: 5px solid #ffffff !important;
    padding: 0px !important;
    font-size: 15.5px !important;
    font-style: italic;
    line-height: 1.6 !important;
    margin: 0 0 0 !important;
    position: relative;
    border: none  !important;
    background: none !important;
}

/* サイドバー */
.is-right-sidebar {
    width: min(35%, 425px);
}

.separate-containers .inside-left-sidebar,.separate-containers .inside-right-sidebar {
    margin-top: 0px;
    margin-bottom: 20px;
		padding: 0 30px 0 0px;
}

body.single-post .widget-area .widget {
  background: rgba(8, 12, 20, 0.88);
  border: 1px solid rgba(145, 206, 255, 0.12);
  border-radius: 24px;
  padding: 22px 22px 20px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.015),
    0 10px 28px rgba(0,0,0,0.22);
  margin-bottom: 20px;
}

body.single-post .widget-title {
  color: #f7fbff;
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 16px;
}

body.single-post .widget,
body.single-post .widget a {
  color: rgba(223, 232, 246, 0.82);
}

body.single-post .wp-block-heading{
  position: relative;
  margin: 0em 0 0.8em;
  padding-left: 18px;
  color: #f7fbff;
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body.single-post .wp-block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 6px;
  height: 0.95em;
  border-radius: 999px;
  background: linear-gradient(180deg, #cf63ff 0%, #3bc4ff 100%);
  box-shadow:
    0 0 12px rgba(207, 99, 255, 0.28),
    0 0 18px rgba(59, 196, 255, 0.18);
}

body.single-post .widget, body.single-post .widget a{
    text-decoration:none;
  font-size:95%;
}

/* 検索 */
body.single-post .search-field {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(145, 206, 255, 0.12);
  color: #fff;
  border-radius: 14px;
}

body.single-post button,
body.single-post input[type="submit"] {
  border-radius: 14px;
  background: linear-gradient(90deg, #cf63ff, #6b8dff 52%, #3bc4ff);
  border: none;
  color: #fff;
}

/* 前後記事 */
body.single-post .post-navigation {
  margin-top: 24px;
}

body.single-post .post-navigation a {
  color: rgba(238, 244, 255, 0.88);
}

/* モバイル */
@media (max-width: 1024px) {
  body.single-post .inside-article {
    padding: 28px 24px 24px;
  }
}

@media (max-width: 768px) {
	body.single-post .content-area {
  padding: 0;
}
  body.single-post .site-content {
    padding-top: 63px;
    padding-bottom: 42px;
    padding-left: 10px;
    padding-right: 10px;
  }

  body.single-post .inside-article {
    border-radius: 22px;
    padding: 22px 16px 20px;
  }

  body.single-post .entry-title {
    font-size: clamp(19px, 7vw, 25px);
    line-height: 1.3;
  }

  body.single-post .entry-content {
    font-size: 16.5px;
    line-height: 1.85;
  }

  body.single-post .entry-content h2 {
    font-size: 24px;
    padding-left: 16px;
  }
	.is-left-sidebar.sidebar, .is-right-sidebar.sidebar{
	margin-top: 25px;
	}
	.separate-containers .inside-left-sidebar,.separate-containers .inside-right-sidebar {
    margin-top: 0px;
    margin-bottom: 20px;
		padding: 0 0px 0 0px;
}
}

.separate-containers .inside-article>.featured-image {
    margin-top: 0;
    margin-bottom: 1.3em;
}



/* =========================================
   Single Post 背景画像
========================================= */

body.single-post #page {
  position: relative;
  z-index: 0;
	    background: #0A0D12;
}

body.single-post #page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1500px;
  z-index: 0;
  pointer-events: none;
  background: url("http://xriply.net/wp-content/uploads/2026/03/top-scaled-3.jpg") top center / contain no-repeat;
}

body.single-post #page::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 760px;
  z-index: 0;
  pointer-events: none;
  background: url("http://xriply.net/wp-content/uploads/2026/03/bottom-scaled-1.jpg") bottom center / contain no-repeat;
}

/* 本文やヘッダー類を背景より前に出す */
body.single-post #page > * {
  position: relative;
  z-index: 1;
}

/* =========================
   XRiPly post table only
   投稿記事本文のテーブル専用
========================= */
.single-post .entry-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 28px 0;
  table-layout: fixed;
  background: linear-gradient(180deg, rgba(8,16,32,0.96) 0%, rgba(5,11,24,0.98) 100%);
  border: 1px solid rgba(108, 156, 255, 0.16);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255,255,255,0.02);
}

.single-post .entry-content table thead th {
  background: linear-gradient(180deg, rgba(18, 31, 60, 0.98) 0%, rgba(10, 20, 40, 0.98) 100%);
  color: #f4f8ff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  padding: 18px 16px;
  text-align: center;
  border-right: 1px solid rgba(108, 156, 255, 0.10);
  border-bottom: 1px solid rgba(108, 156, 255, 0.14);
}

.single-post .entry-content table thead th:first-child {
  border-top-left-radius: 20px;
}

.single-post .entry-content table thead th:last-child {
  border-top-right-radius: 20px;
  border-right: none;
}

.single-post .entry-content table tbody th,
.single-post .entry-content table tbody td {
  padding: 18px 16px;
  vertical-align: top;
  font-size: 16px;
  line-height: 1.8;
  color: #dbe7ff;
  border-right: 1px solid rgba(108, 156, 255, 0.08);
  border-bottom: 1px solid rgba(108, 156, 255, 0.08);
  word-break: break-word;
  overflow-wrap: anywhere;
  background: transparent;
}

.single-post .entry-content table tbody th {
  width: 22%;
  font-weight: 700;
  color: #f4f8ff;
  background: rgba(255,255,255,0.01);
}

.single-post .entry-content table tbody tr:last-child th,
.single-post .entry-content table tbody tr:last-child td {
  border-bottom: none;
}

.single-post .entry-content table tbody td:last-child,
.single-post .entry-content table tbody th:last-child,
.single-post .entry-content table thead th:last-child {
  border-right: none;
}

.single-post .entry-content table tbody tr:nth-child(even) td,
.single-post .entry-content table tbody tr:nth-child(even) th {
  background: rgba(255,255,255,0.012);
}

.single-post .entry-content table tbody tr:hover td,
.single-post .entry-content table tbody tr:hover th {
  background: rgba(104, 153, 255, 0.04);
  transition: background 0.2s ease;
}

/* スマホ対応 */
@media (max-width: 767px) {
  .single-post .entry-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    margin: 22px 0;
  }

  .single-post .entry-content table thead th,
  .single-post .entry-content table tbody th,
  .single-post .entry-content table tbody td {
    padding: 14px 12px;
    font-size: 14px;
    line-height: 1.7;
    min-width: 160px;
  }

  .single-post .entry-content table tbody th {
    min-width: 120px;
  }
}

/* =========================
   XRiPly article intro
========================= */

.xriply-article-intro {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 28px 0 34px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(145, 206, 255, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.015),
    0 10px 24px rgba(0,0,0,0.18);
}

.xriply-article-intro__avatar {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%, rgba(207,99,255,0.18), rgba(59,196,255,0.10) 65%, rgba(8,12,20,0.96) 100%);
  border: 1px solid rgba(145, 206, 255, 0.16);
  box-shadow:
    0 0 18px rgba(59, 196, 255, 0.10),
    0 0 22px rgba(207, 99, 255, 0.08);
}

.xriply-article-intro__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.xriply-article-intro__text {
  flex: 1 1 auto;
  color: rgba(240, 246, 255, 0.94);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

/* mobile */
@media (max-width: 767px) {
  .xriply-article-intro {
    gap: 12px;
    margin: 22px 0 28px;
    padding: 14px 14px;
    border-radius: 18px;
  }

  .xriply-article-intro__avatar {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }

  .xriply-article-intro__text {
    font-size: 14.5px;
    line-height: 1.6;
  }
}

/* =========================================
   XRiPly Fixed Page CLEAN
   固定ページ専用 / トップに影響させない
========================================= */

body.page:not(.home):not(.blog):not(.archive):not(.search):not(.error404) {
  background: #0A0D12;
  color: rgba(232,240,255,0.88);
}

/* WP標準タイトルは使わない前提 */
body.page:not(.home):not(.blog):not(.archive):not(.search):not(.error404) .entry-header {
  display: none;
}

/* 背景土台 */
body.page:not(.home):not(.blog):not(.archive):not(.search):not(.error404) #page {
  position: relative;
  z-index: 0;
  background: #0A0D12;
  overflow: hidden;
}

body.page:not(.home):not(.blog):not(.archive):not(.search):not(.error404) #page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1500px;
  z-index: 0;
  pointer-events: none;
  background: url("http://xriply.net/wp-content/uploads/2026/03/top-scaled-3.jpg") top center / contain no-repeat;
}

body.page:not(.home):not(.blog):not(.archive):not(.search):not(.error404) #page::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 760px;
  z-index: 0;
  pointer-events: none;
  background: url("http://xriply.net/wp-content/uploads/2026/03/bottom-scaled-1.jpg") bottom center / contain no-repeat;
}

body.page:not(.home):not(.blog):not(.archive):not(.search):not(.error404) #page > * {
  position: relative;
  z-index: 1;
}

/* レイアウト */
body.page:not(.home):not(.blog):not(.archive):not(.search):not(.error404) .site-content {
  padding-top: 88px;
  padding-bottom: 56px;
}

body.page:not(.home):not(.blog):not(.archive):not(.search):not(.error404) .content-area {
  width: min(100%, 980px);
  margin: 0 auto;
  float: none;
  padding: 0 15px;
}

/* GeneratePressの白箱を消す */
body.page:not(.home):not(.blog):not(.archive):not(.search):not(.error404) .site-main,
body.page:not(.home):not(.blog):not(.archive):not(.search):not(.error404) article,
body.page:not(.home):not(.blog):not(.archive):not(.search):not(.error404) .inside-article {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* entry-contentの余白調整 */
body.page:not(.home):not(.blog):not(.archive):not(.search):not(.error404) .entry-content {
  margin: 0;
}

/* =========================================
   Hero Title（中央タイトル）
========================================= */

.xriply-page-hero{
  text-align: center;
  margin: 0 auto 28px;
  max-width: 920px;
}

.xriply-page-hero__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;

  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(200, 215, 235, 0.6);
  font-weight: 500;
}

/* 左のライン */
.xriply-page-hero__eyebrow::before{
  content:"";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8fd2ff);
  opacity: 0.6;
}

/* 右のライン */
.xriply-page-hero__eyebrow::after{
  content:"";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, #c993ff, transparent);
  opacity: 0.6;
}

.xriply-page-hero__title{
  margin: 0;
  display: inline-block; /* これが重要 */
  font-size: clamp(34px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;

  background: linear-gradient(90deg,#c05cff 0%, #8d7cff 45%, #47c9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.xriply-intro-box {
    padding: 0 70px;
    font-size: 15.5px;
    line-height: 1.65;
}

/* スマホ */
@media (max-width:768px){
  .xriply-page-hero{
    margin-bottom: 20px;
  }

  .xriply-page-hero__title{
    font-size: 26px;
  }

  .xriply-page-hero__eyebrow{
    font-size: 11px;
    letter-spacing: 0.12em;
  }
	.xriply-intro-box {
    padding: 0 40px;
    font-size: 14px;
    line-height: 1.6;
}
}

/* =========================================
   カスタムカード
========================================= */
.xriply-page-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.xriply-page-card {
  background: rgba(20, 24, 36, 0.92);
  border: 1px solid rgba(145, 206, 255, 0.10);
  border-radius: 30px;
  padding: 38px 40px 34px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 18px 40px rgba(0,0,0,0.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.xriply-page-content {
  color: rgba(231, 238, 250, 0.88);
font-size: 15.5px;
    line-height: 1.7;
  letter-spacing: 0.01em;
}

.xriply-page-content p {
  margin: 0 0 1.15em;
}

.xriply-page-content h2 {
  position: relative;
  margin: 1.7em 0 0.9em;
  padding-left: 18px;
  color: #f8fbff;
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.xriply-page-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 6px;
  height: 0.92em;
  border-radius: 999px;
  background: linear-gradient(180deg, #cf63ff 0%, #3bc4ff 100%);
  box-shadow:
    0 0 10px rgba(207,99,255,0.28),
    0 0 14px rgba(59,196,255,0.18);
}

.xriply-page-content h3 {
  margin: 1.6em 0 0.8em;
  color: #f3f8ff;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 500;
}

.xriply-page-content ul,
.xriply-page-content ol {
  margin: 1em 0 1.4em 1.35em;
  padding: 0;
}

.xriply-page-content li {
  margin: 0 0 0.65em;
}

.xriply-page-content a {
  color: #79d7ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(121,215,255,0.28);
}

.xriply-page-content a:hover {
  color: #cf9cff;
  border-bottom-color: rgba(207,156,255,0.45);
}

.xriply-page-content hr {
  border: 0;
  border-top: 1px solid rgba(145,206,255,0.10);
  margin: 2em 0;
}

/* Gutenbergの余計な背景や余白を抑える */
.xriply-page-content .wp-block-group,
.xriply-page-content .wp-block-columns,
.xriply-page-content .wp-block-column {
  background: transparent;
}

.xriply-page-content > *:first-child {
  margin-top: 0;
}

.xriply-page-content > *:last-child {
  margin-bottom: 0;
}

/* =========================================
   Mobile
========================================= */

@media (max-width: 768px) {
  body.page:not(.home):not(.blog):not(.archive):not(.search):not(.error404) .site-content {
    padding-top: 64px;
    padding-bottom: 42px;
    padding-left: 10px;
    padding-right: 10px;
  }

  body.page:not(.home):not(.blog):not(.archive):not(.search):not(.error404) .content-area {
    width: 100%;
    padding: 0;
  }

  .xriply-page-card {
    border-radius: 24px;
    padding: 24px 16px 22px;
  }

  .xriply-page-content {
    font-size: 15px;
    line-height: 1.9;
  }

  .xriply-page-content h2 {
    padding-left: 16px;
    font-size: 20px;
  }
}


/* =========================================
   XRiPly Footer FINAL
========================================= */

/* テーマの余計な線を消す */
.site-footer,
.footer-widgets,
.site-info{
  border: none !important;
}
.footer-widgets-container{
  border: none !important;
}
.xriply-footer{
margin-top: 30px;
    padding-top: 30px;
    padding-bottom: 30px;
}

/* グリッド */
.xriply-footer-nav{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

/* グループ */
.xriply-footer-group{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* タイトル */
.xriply-footer-group__title{
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(180,200,230,0.6);
}

/* リンク */
.xriply-footer-group a{
  font-size: 14px;
  color: rgba(235,245,255,0.82);
  text-decoration: none;
  transition: 0.2s;
}

.xriply-footer-group a:hover{
  color: #8fd2ff;
  transform: translateX(2px);
}

/* コピーライト */
.xriply-footer-copy{
  text-align: center;
  margin-top: 28px;
  font-size: 12px;
  color: rgba(200,220,240,0.55);
  letter-spacing: 0.04em;
}

/* 区切りライン */
.xriply-footer-copy::before{
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  margin: 0 auto 14px;
  background: linear-gradient(90deg, transparent, rgba(140,200,255,0.5), transparent);
  opacity: 0.6;
}
/* =========================================
   XRiPly Footer Logo Divider
========================================= */

.xriply-footer-divider{
  position: relative;
  max-width: 900px;
  margin: 0 auto 28px;
  text-align: center;
}

.xriply-footer-divider::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(140, 200, 255, 0.10) 12%,
    rgba(140, 200, 255, 0.22) 50%,
    rgba(140, 200, 255, 0.10) 88%,
    transparent 100%
  );
}

.xriply-footer-divider img{
  position: relative;
  z-index: 2;
  display: inline-block;
  width: 108px;
  height: auto;
  padding: 0 16px;
  background: #0a0e17; /* 線をここで切る */
  opacity: 0.92;
}

/* モバイル */
@media (max-width: 768px){
  .xriply-footer-divider{
    margin-bottom: 22px;
  }

  .xriply-footer-divider img{
    width: 92px;
    padding: 0 12px;
  }
  .xriply-footer-nav{
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .xriply-footer-group{
    align-items: center;
  }

  .xriply-footer-group__title{
    margin-bottom: 4px;
  }
}
.copyright-bar{display:none;}


/* =========================================
   XRP DASHBOARD - FULL REPLACEMENT CSS
   - ページ全体ドットなし
   - カード内は完全1色
   - 外側glowのみ
   - 上強め / 下かなり弱め
========================================= */

/* ===== Page reset ===== */
body.xrp-dashboard-page,
body.xrp-dashboard-page .site,
body.xrp-dashboard-page #page,
body.xrp-dashboard-page .site-content,
body.xrp-dashboard-page .content-area,
body.xrp-dashboard-page .site-main,
body.xrp-dashboard-page .inside-article {
  background: transparent !important;
}

body.xrp-dashboard-page .inside-article {
  padding: 0 !important;
}

body.xrp-dashboard-page .grid-container,
body.xrp-dashboard-page .site.grid-container.container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

/* ===== Whole page ===== */
.xrp-dashboard-shell {
  position: relative;
  overflow: hidden;
  background: #0A0D12;
}

.xrp-dashboard-stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #0A0D12;
}

/* 上背景 */
.xrp-dashboard-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1500px;
  z-index: 0;
  pointer-events: none;
  background: url("http://xriply.net/wp-content/uploads/2026/03/top-scaled-3.jpg") top center / contain no-repeat;
}

/* 下背景 */
.xrp-dashboard-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 760px;
  z-index: 0;
  pointer-events: none;
  background: url("http://xriply.net/wp-content/uploads/2026/03/bottom-scaled-1.jpg") bottom center / contain no-repeat;
}

/* 中央暗部 */
.xrp-dashboard-stage-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(10,13,18,0.00) 0%,
      rgba(10,13,18,0.08) 16%,
      rgba(10,13,18,0.78) 34%,
      rgba(10,13,18,0.94) 52%,
      rgba(10,13,18,0.84) 68%,
      rgba(10,13,18,0.20) 84%,
      rgba(10,13,18,0.00) 100%
    );
}

/* ===== Container ===== */
.xrp-dashboard-container {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 60px));
  margin: 0 auto;
  padding: 90px 0 40px;
}

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

.xrp-section-polymarket,
.xrp-section-etf{
  margin-bottom: 0px;
}

.xrp-section-news {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  isolation: isolate;
	padding: 40px;
}

.xrp-section-news::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 300px;
  z-index: 0;
  pointer-events: none;
  background: url("http://xriply.net/wp-content/uploads/2026/03/top-scaled-1.jpg") top center / contain no-repeat;
}

.xrp-section-news > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px){
	.xrp-section-news {
	padding: 30px 20px 20px 20px;
}
}

/* ===== Copy ===== */
.xrp-copy-block {
  text-align: center;
  padding-top: 12px;
  padding-bottom: 12px;
}

.xrp-copy-block__title {
  margin: 0;
  color: #EEF5FF;
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.xrp-copy-block__sub {
  margin: 16px 0 0;
  color: rgba(238,245,255,0.72);
  font-size: 15px;
  line-height: 1.8;
}

/* ===== Grid ===== */
.xrp-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* ===== Card ===== */
.xrp-card {
  position: relative;
  border-radius: 28px;
  background: #0A0D12;
  border: 1px solid rgba(148, 213, 255, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.012),
    0 10px 26px rgba(0,0,0,0.26);
  overflow: visible;
}

/* 外側glowのみ */
.xrp-card::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -20px;
  bottom: -50px;
  left: -20px;
  border-radius: 40px;
  z-index: -1;
  pointer-events: none;
  background: /* 上側の主発光 */
    linear-gradient(
      90deg,
      rgb(167 32 185 / 39%) 0%,
      rgba(167,137,237,0.54) 28%,
      rgba(102,221,203,0.34) 56%,
      rgba(79,227,252,0.46) 78%,
      rgba(4,120,206,0.50) 100%
    ),
    /* 左の弱い補助光 */
    radial-gradient(circle at left center,
      rgba(236,140,249,0.16) 0%,
      rgba(236,140,249,0.05) 22%,
      rgba(0,0,0,0) 54%),
    /* 右の弱い補助光 */
    radial-gradient(circle at right center,
      rgba(79,227,252,0.18) 0%,
      rgba(79,227,252,0.06) 22%,
      rgba(0,0,0,0) 54%),
    /* 下のかなり弱い補助光 */
    radial-gradient(ellipse at bottom center,
      rgba(167,137,237,0.05) 0%,
      rgba(79,227,252,0.03) 22%,
      rgba(0,0,0,0) 58%);
  background-size:
    100% 92px,
    38% 100%,
    38% 100%,
    100% 38%;
  background-repeat: no-repeat;
  background-position:
    top center,
    left center,
    right center,
    bottom center;
  filter: blur(32px);
  opacity: 0.75;
}

/* 細い外周ライン */
.xrp-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(170, 225, 255, 0.10);
}

/* 中は完全1色 */
.xrp-card__inner {
  position: relative;
  padding: 30px;
  border-radius: inherit;
  background: transparent;
}

/* Placeholder */
.xrp-placeholder {
  width: 100%;
  min-height: 150px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255,255,255,0.10);
  border-radius: 16px;
  color: rgba(255,255,255,0.60);
  text-align: center;
  padding: 24px;
  background: transparent;
}

.xrp-placeholder strong {
  display: block;
  color: rgba(255,255,255,0.88);
  font-size: 20px;
  margin-bottom: 8px;
}

/* Heights */
.xrp-price-card .xrp-card__inner { min-height: 210px; }
.xrp-chart-card .xrp-card__inner { min-height: 560px; }
.xrp-prediction-card .xrp-card__inner,
.xrp-comment-card .xrp-card__inner { min-height: 430px; }
.xrp-polymarket-card .xrp-card__inner { min-height: 290px; }
.xrp-etf-card .xrp-card__inner { min-height: 380px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .xrp-dashboard-container {
    width: min(100%, calc(100% - 28px));
    padding: 90px 0 30px;
  }

  .xrp-grid-2 {
    grid-template-columns: 1fr;
  }

  .xrp-news-strip__inner {
    padding-left: 0;
  }

  .xrp-news-strip__watermark {
    position: static;
    display: block;
    margin-bottom: 16px;
    font-size: 56px;
  }

  .xrp-dashboard-stage::before {
    height: 360px;
    background-size: cover;
  }
  .xrp-dashboard-stage::after {
    height: 120px;
    background-size: cover;
  }
}

@media (max-width: 767px) {
  .xrp-card {
    border-radius: 22px;
  }

  .xrp-card::before {
    top: -12px;
    right: -8px;
    bottom: -5px;
    left: -8px;
    border-radius: 30px;
    background-size:
      100% 64px,
      34% 100%,
      34% 100%,
      100% 28%;
    filter: blur(16px);
  }

  .xrp-card__inner {
    padding: 20px 18px;
  }

  .xrp-chart-card .xrp-card__inner {
    min-height: 320px;
  }
}


/* =========================================
   HERO SECTION - WITH RIPLY
========================================= */

.xrp-hero {
  width: min(100%, 1280px);
  margin: 0 auto;
  text-align: left;
  padding: 10px 50px 0;
  position: relative;
  overflow: visible;
}

.xrp-hero__heading {
  position: relative;
  z-index: 2;
  margin: 0 0 15px;
  max-width: 860px;
  color: rgba(255,255,255,0.50);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.xrp-hero__main {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 860px;
  font-size: clamp(36px, 8vw, 60px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  white-space: nowrap;
}

.xrp-hero__fixed-group {
  white-space: nowrap;
}

.xrp-hero__fixed-main,
.xrp-hero__fixed-sub {
  color: #ffffff;
}

.xrp-hero__typing-wrap {
  display: inline;
  white-space: nowrap;
}

.xrp-hero__typing {
  background: linear-gradient(
    90deg,
    #d96cff 0%,
    #8f61ff 26%,
    #7b8dff 52%,
    #69c9ff 76%,
    #4fd0ff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.xrp-hero__cursor {
  display: inline-block;
  width: 0.06em;
  height: 0.88em;
  margin-left: 0.06em;
  vertical-align: -0.06em;
  background: rgba(255,255,255,0.95);
  border-radius: 999px;
  box-shadow:
    0 0 8px rgba(255,255,255,0.25),
    0 0 16px rgba(105, 201, 255, 0.16);
  animation: xrpHeroCursorBlink 1s steps(1) infinite;
}

@keyframes xrpHeroCursorBlink {
  0%, 46% { opacity: 1; }
  47%, 100% { opacity: 0; }
}

.xrp-hero__lead {
  position: relative;
  z-index: 2;
  margin: 18px 0 0;
  max-width: 860px;
  color: rgba(255,255,255,0.56);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.xrp-hero__lead br {
  display: block;
}

/* ===== mascot ===== */
.xrp-hero__mascot {
  position: absolute;
  right: 10px;
  top: -25px;
  z-index: 0;
  width: clamp(160px, 19vw, 280px);
  pointer-events: none;
  user-select: none;
}

.xrp-hero__mascot-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 16px 30px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 24px rgba(79, 208, 255, 0.16))
    drop-shadow(0 0 34px rgba(217, 108, 255, 0.12));
  animation: xrpHeroMascotFloat 4.8s ease-in-out infinite;
}

@keyframes xrpHeroMascotFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* tablet */
@media (max-width: 1024px) {
  .xrp-hero {
    width: 100%;
    padding: 8px 0 0;
  }

  .xrp-hero__heading {
    margin-bottom: 14px;
    max-width: 640px;
    font-size: 14px;
  }

  .xrp-hero__lead {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.8;
  }

  .xrp-hero__lead br {
    display: none;
  }

  .xrp-hero__mascot {
    right: 0;
    top: 28px;
    width: clamp(150px, 22vw, 220px);
  }
}

@media (max-width: 1024px) {
  .xrp-hero__main {
    position: relative;
    z-index: 2;
    font-size: clamp(50px, 9vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 100%;
    white-space: normal;
    min-height: 2.16em;
    max-height: 2.16em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

@media (max-width: 980px) {
  .xrp-hero__main {
    position: relative;
    z-index: 2;
    font-size: clamp(46px, 9vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    white-space: normal;
    min-height: 2.16em;
    max-height: 2.16em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

@media (max-width: 767px) {
  .xrp-hero__main {
    position: relative;
    z-index: 2;
    font-size: clamp(40px, 9vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    white-space: normal;
    min-height: 2.16em;
    max-height: 2.16em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

@media (max-width: 520px) {
  .xrp-hero__main {
    position: relative;
    z-index: 2;
    font-size: clamp(28px, 9vw, 36px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    white-space: normal;
    min-height: 2.16em;
    max-height: 2.16em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

/* mobile */
@media (max-width: 767px) {
  .xrp-hero {
    padding: 0 10px 0;
  }

  .xrp-hero__heading {
    margin: 0 0 10px;
    max-width: none;
    font-size: 13px;
    line-height: 1.5;
  }

  .xrp-hero__fixed-group,
  .xrp-hero__typing-wrap {
    white-space: normal;
  }

  .xrp-hero__fixed-group {
    display: inline;
    white-space: nowrap;
  }

  .xrp-hero__typing-wrap {
    display: inline;
  }

  .xrp-hero__typing {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .xrp-hero__cursor {
    width: 0.055em;
    height: 0.84em;
    margin-left: 0.04em;
  }

  .xrp-hero__lead {
    position: relative;
    z-index: 2;
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.75;
  }

  .xrp-hero__mascot {
    right: -5px;
    top: 50px;
    width: min(40vw, 150px);
  }

  .xrp-hero__mascot-img {
    animation-duration: 5.2s;
  }
}
@media (max-width: 520px) {
  .xrp-hero__mascot {
    right: -5px;
    top: 75px;
    width: min(40vw, 150px);
  }
}



.xrp-price {
  --xrp-range-ratio: 50%;
  position: relative;
  color: #eef4ff;
  padding: 0px 0px 0;
}

.xrp-price__status {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.xrp-price__badge {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(230, 240, 255, 0.88);
  margin: -10px 0px 4px;
  padding-right: 11px;
  position: relative;
  text-align: right;
}

/* 左に細いアクセントライン */
.xrp-price__badge::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  background: linear-gradient(
    180deg,
    #cf63ff,
    #3bc4ff
  );
  border-radius: 2px;
}

.xrp-price__updated {
  font-size: 0.76rem;
  line-height: 1.15;
  font-weight: 500;
  color: rgba(201, 215, 239, 0.74);
  text-align: right;
  white-space: nowrap;
}

.xrp-price__top {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  gap: 24px;
  padding-right: 300px;
  margin-bottom: 18px;
}

.xrp-price__brand {
  font-size: clamp(2.8rem, 6vw, 4rem);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.xrp-price__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 18px;
  min-height: 44px;
}

.xrp-price__meta-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.xrp-price__meta-label {
  font-size: 0.92rem;
  line-height: 1.15;
  font-weight: 600;
  color: rgba(220, 231, 250, 0.8);
  white-space: nowrap;
}

.xrp-price__meta-value {
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
}

.xrp-price__body {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(520px, 1.3fr) 200px;
  gap: 35px;
  align-items: start;
}

.xrp-price__main {
  min-width: 0;
  align-self: start;
}

.xrp-price__heading {
  margin-bottom: 7px;
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.xrp-price__value-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.xrp-price__usd-wrap,
.xrp-price__jpy-wrap {
  display: flex;
  align-items: flex-end;
  min-width: 0;
}

.xrp-price__usd {
    font-size: clamp(2.8rem, 7vw, 4.8rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #ffffff;
    white-space: nowrap;
    text-shadow: 0 0 22px rgba(76, 173, 255, 0.06);
}

.xrp-price__jpy {
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: rgba(244, 248, 255, 0.94);
  white-space: nowrap;
}

.xrp-price__center {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  padding-top: 0px;
  min-width: 0;
  align-self: start;
}

.xrp-price__changes {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.xrp-price__change {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.xrp-price__change-label {
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 500;
  color: rgba(197, 212, 238, 0.74);
  white-space: nowrap;
	opacity: 0.9;
}

.xrp-price__change-value {
  font-size: 1.15rem;
  line-height: 1.1;
  font-weight: 700;
  color: #eef7ff;
  white-space: nowrap;
	letter-spacing: 0.02em;
}

.xrp-price__range {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.xrp-price__range-bar {
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(168, 187, 214, 0.18);
  overflow: hidden;
}

.xrp-price__range-fill {
  display: block;
  width: var(--xrp-range-ratio);
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #cf63ff 0%, #8b7cff 48%, #38c8ff 100%);
  box-shadow:
    0 0 12px rgba(124, 120, 255, 0.24),
    0 0 18px rgba(56, 200, 255, 0.14);
}

.xrp-price__range-grid {
  display: grid;
  grid-template-columns: 92px 1fr 92px;
  gap: 8px;
  align-items: center;
}

.xrp-price__range-side--right {
  text-align: right;
}

.xrp-price__range-usd {
  font-size: 1rem;
  line-height: 1.1;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.xrp-price__range-jpy {
  margin-top: 3px;
  font-size: 0.88rem;
  line-height: 1.1;
  font-weight: 400;
  color: rgba(183, 198, 224, 0.72);
  white-space: nowrap;
}

.xrp-price__range-center {
  font-size: 0.92rem;
  line-height: 1.1;
  font-weight: 500;
  text-align: center;
  color: rgba(216, 228, 249, 0.8);
  white-space: nowrap;
}

.xrp-price__facts {
  display: flex;
  align-items: baseline;
  gap: 22px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.xrp-price__facts::-webkit-scrollbar {
  display: none;
}

.xrp-price__fact {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
}

.xrp-price__fact-label {
  font-size: 0.82rem;
  line-height: 1.15;
  font-weight: 500;
  color: rgba(197, 212, 238, 0.7);
  white-space: nowrap;
}

.xrp-price__fact-value {
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
}

.xrp-price__chart {
  min-width: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0px;
}

.xrp-price__chart-title {
  margin-bottom: 8px;
  font-size: 0.82rem;
  line-height: 1.1;
  font-weight: 600;
  color: #ffffff;
	opacity: 0.9;
}

.xrp-price__chart-box {
  min-height: 120px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.xrp-price__chart-box .xrp-sparkline {
  width: 100%;
  height: 120px;
}

.xrp-price__chart-box .xrp-sparkline svg {
  display: block;
  width: 100%;
  height: 120px;
}

.xrp-price__chart-box .xrp-sparkline-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(184, 198, 221, 0.34);
}

@media (max-width: 1280px) {
  .xrp-price__top {
    padding-right: 280px;
  }

  .xrp-price__body {
    grid-template-columns: minmax(230px, 300px) minmax(400px, 1fr) 180px;
    gap: 30px;
  }

  .xrp-price__center {
    padding-top: 0px;
  }

  .xrp-price__facts {
    gap: 14px;
  }
}

@media (max-width: 980px) {
  .xrp-price {
    padding-top: 10px;
  }

  .xrp-price__status {
    top: 0;
    right: 0;
    gap: 4px;
  }

  .xrp-price__badge {
    font-size: 0.7rem;
  }

  .xrp-price__updated {
    font-size: 0.68rem;
  }

  .xrp-price__top {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-right: 0;
    margin-bottom: 12px;
  }

  .xrp-price__brand {
    font-size: 3.45rem;
    line-height: 0.86;
    margin-top: -6px;
  }

  .xrp-price__meta {
    gap: 8px 16px;
    padding-top: 0;
    min-height: 0;
  }

  .xrp-price__body {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .xrp-price__center {
    padding-top: 0;
    gap: 14px;
  }

  .xrp-price__changes {
    gap: 12px 16px;
  }
}

@media (max-width: 767px) {
  .xrp-price__chart {
    display: none;
  }

  .xrp-price {
    padding-top: 10px;
  }

  .xrp-price__status {
    top: 0;
    right: 0;
    gap: 3px;
  }

  .xrp-price__badge {
    font-size: 0.7rem;
  }

  .xrp-price__updated {
    font-size: 0.62rem;
  }

  .xrp-price__top {
    grid-template-columns: 1fr;
    gap: 2px;
    margin-bottom: 10px;
  }

  .xrp-price__brand {
    font-size: 3rem;
    line-height: 1.1;
    margin-top: -10px;
  }

  .xrp-price__meta-label,
  .xrp-price__meta-value {
    font-size: 0.74rem;
  }

  .xrp-price__heading {
    margin-bottom: 4px;
    font-size: 1.42rem;
  }

  .xrp-price__value-row {
    flex-direction: row;
    align-items: flex-end;
    gap: 8px;
  }

  .xrp-price__usd {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .xrp-price__jpy {
    font-size: clamp(1.55rem, 6.8vw, 2.05rem);
    transform: translateY(-2px);
  }

  .xrp-price__change-label,
  .xrp-price__change-value {
    font-size: 0.82rem;
  }

  .xrp-price__range-grid {
    grid-template-columns: 76px 1fr 76px;
    gap: 6px;
  }

  .xrp-price__range-usd {
    font-size: 0.78rem;
  }

  .xrp-price__range-jpy {
    font-size: 0.66rem;
  }

  .xrp-price__range-center {
    font-size: 0.74rem;
  }

  .xrp-price__fact-label,
  .xrp-price__fact-value {
    font-size: 0.74rem;
  }
}

@media (max-width: 520px) {
  .xrp-price {
    padding-top: 5px;
  }

  .xrp-price__badge {
    font-size: 0.7rem;
  }

  .xrp-price__updated {
    font-size: 0.52rem;
  }

  .xrp-price__top {
    gap: 1px;
    margin-bottom: 12px;
  }

  .xrp-price__brand {
    font-size: 2.8rem;
  }

  .xrp-price__meta {
    gap: 6px 12px;
  }

  .xrp-price__meta-label,
  .xrp-price__meta-value {
    font-size: 0.8rem;
  }

  .xrp-price__heading {
    font-size: 1rem;
  }

  .xrp-price__value-row {
    gap: 15px;
  }

  .xrp-price__usd {
    font-size: clamp(2.5rem, 14vw, 3.6rem);
  }

  .xrp-price__jpy {
    font-size: clamp(1.35rem, 6.4vw, 1.85rem);
  }

  .xrp-price__changes {
    gap: 9px 13px;
  }

  .xrp-price__change {
    gap: 6px;
  }

  .xrp-price__change-label,
  .xrp-price__change-value {
    font-size: 0.86rem;
  }

  .xrp-price__range-bar {
    height: 7px;
  }

  .xrp-price__range-grid {
    grid-template-columns: 64px 1fr 64px;
  }

  .xrp-price__range-usd {
    font-size: 0.7rem;
  }

  .xrp-price__range-jpy {
    font-size: 0.6rem;
  }

  .xrp-price__range-center {
    font-size: 0.68rem;
  }

  .xrp-price__fact-label,
  .xrp-price__fact-value {
    font-size: 0.74rem;
  }
}


.xrp-chart-card .xrp-card__inner {
  padding: 0;
  overflow: hidden;
}

.xrp-chart-card .xrp-placeholder {
  width: 100%;
  min-height: 640px;
  overflow: hidden;
  line-height: 0;
	    border: none;
    padding: 0;
	border-radius: 0;
}

.xrp-chart-card .xrp-placeholder > * {
  width: 100% !important;
  max-width: 100% !important;
	z-index: 20;
}

.xrp-chart-card .xrp-placeholder iframe,
.xrp-chart-card .xrp-placeholder .tradingview-widget-container,
.xrp-chart-card .xrp-placeholder .tradingview-widget-container iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
}

.xrp-tv-copyright {
    text-align: left !important;
}
.xrp-tv-card{border: none !important;}

.xrp-chart_title {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(230, 240, 255, 0.88);
  margin: 12px 25px 10px;
  padding-right: 11px;
  position: relative;
  text-align: right;
}

/* 左に細いアクセントライン */
.xrp-chart_title::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  background: linear-gradient(
    180deg,
    #cf63ff,
    #3bc4ff
  );
  border-radius: 2px;
}

@media (max-width: 980px) {
  .xrp-chart-card .xrp-placeholder {
    min-height: 620px;
  }
}

@media (max-width: 767px) {
  .xrp-chart-card .xrp-placeholder {
    min-height: 520px;
  }
	.xrp-chart_title {
  font-size: 0.7rem;
}

}

@media (max-width: 520px) {
  .xrp-chart-card .xrp-placeholder {
    min-height: 460px;
  }
}

/* =========================
   Chart guide by Riply
========================= */

.xrp-chart-card {
  position: relative;
  overflow: visible;
}

.xrp-chart-guide {
  position: absolute;
  left: 29px;
  top: -46px;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  pointer-events: none;
}

.xrp-chart-guide__riply {
  display: block;
  width: 98px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
  filter:
    drop-shadow(0 10px 22px rgba(0,0,0,0.30))
    drop-shadow(0 0 18px rgba(72, 196, 255, 0.14))
    drop-shadow(0 0 24px rgba(207, 99, 255, 0.10));
}

.xrp-chart-guide__bubble {
  pointer-events: auto;
  max-width: 260px;
  min-height: 45px;
  margin-top: 26px;
  padding: 10px 14px;
  border-radius: 18px;
  background: #695eb2;
  border: 1px solid rgba(145, 206, 255, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 12px 28px rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(245, 248, 255, 0.96);
  font-size: 1６px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  position: relative;
}

.xrp-chart-guide__bubble::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 13px;
  width: 15px;
  height: 15px;
  background: #695eb2;
  border-left: 1px solid rgba(145, 206, 255, 0.14);
  border-bottom: 1px solid rgba(145, 206, 255, 0.14);
  transform: rotate(45deg);
}

.xrp-chart-guide__bubble a {
  color: #f7fbff;
  text-decoration: none;
  font-weight: 600;
}

.xrp-chart-guide__bubble a:hover {
  opacity: 0.92;
}

.xrp-chart-guide__bubble a::after {
  content: "\2192";
  display: inline-block;
  margin-left: 2px;
  color: rgba(113, 202, 255, 0.95);
}

.xrp-chart-card .xrp-card__inner {
  padding: 0;
  overflow: hidden;
}

.xrp-chart-card .xrp-placeholder {
  width: 100%;
  min-height: 640px;
  overflow: hidden;
  line-height: 0;
  border: none;
  padding: 0;
  border-radius: 0;
}

/* tablet */
@media (max-width: 980px) {
  .xrp-chart-guide {
    left: 17px;
    top: -41px;
    gap: 10px;
  }

  .xrp-chart-guide__riply {
    width: 91px;
  }

  .xrp-chart-guide__bubble {
    max-width: 220px;
    padding: 12px 16px;
    font-size: 14px;
    margin-top: 20px;
  }
}

/* mobile */
@media (max-width: 767px) {
  .xrp-chart-guide {
    left: 12px;
    top: -39px;
    gap: 10px;
  }

  .xrp-chart-guide__riply {
    width: 76px;
  }

  .xrp-chart-guide__bubble {
    max-width: calc(100vw - 120px);
    min-height: auto;
    padding: 10px 14px;
    border-radius: 13px;
    font-size: 13px;
    line-height: 1.45;
  }

  .xrp-chart-guide__bubble::before {
    left: -6px;
    top: 10px;
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 520px) {
  .xrp-chart-guide {
    left: 3px;
    top: -23px;
  }

  .xrp-chart-guide__riply {
    width: 67px;
  }

  .xrp-chart-guide__bubble {
    max-width: calc(100vw - 96px);
    padding: 8px 8px;
    font-size: 12.5px;
    margin-top: 7px;
  }
}

/* =========================
   XRiPly chart guide motion
========================= */

.xrp-chart-guide__bubble {
  transform-origin: left center;
  animation: xrpBubbleFloat 2.6s ease-in-out infinite;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    opacity 0.22s ease;
}

.xrp-chart-guide__bubble::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 22px;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(110, 190, 255, 0.22), rgba(110, 190, 255, 0) 72%);
  opacity: 0;
  z-index: -1;
  animation: xrpBubbleGlow 2.6s ease-in-out infinite;
}

.xrp-chart-guide__bubble:hover {
  transform: translateY(-2px) scale(1.018);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 14px 30px rgba(0,0,0,0.24),
    0 0 18px rgba(110, 190, 255, 0.14);
}

.xrp-chart-guide__bubble a::after {
  animation: xrpArrowNudge 1.15s ease-in-out infinite;
}

.xrp-chart-guide__riply {
  animation: xrpRiplyBob 2.6s ease-in-out infinite;
}

@keyframes xrpBubbleFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.012);
  }
}

@keyframes xrpBubbleGlow {
  0%, 100% {
    opacity: 0.10;
    transform: scale(0.985);
  }
  50% {
    opacity: 0.34;
    transform: scale(1.02);
  }
}

@keyframes xrpArrowNudge {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}

@keyframes xrpRiplyBob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .xrp-chart-guide__bubble,
  .xrp-chart-guide__bubble::after,
  .xrp-chart-guide__bubble a::after,
  .xrp-chart-guide__riply {
    animation: none !important;
    transition: none !important;
  }
}

* =========================================================
   Prediction area
   xrp-card__inner の内側だけを対象
========================================================= */
.xrp-prediction-card .xrp-prediction-area{
  width:100%;
  min-width:0;
}

.xrp-prediction-card .xrp-prediction-head{
  margin:0 0 18px;
}

.xrp-prediction-card .xrp-prediction-heading{
  display:flex;
  align-items:baseline;
  gap:14px;
  flex-wrap:wrap;
  margin:0;
  line-height:1;
}

.xrp-prediction-card .xrp-prediction-stack{
  display:grid;
  gap:18px;
  width:100%;
  min-width:0;
}

/* =========================================================
   Poll common
========================================================= */
.xrp-prediction-card .xrp-poll{
  position:relative;
  width:100%;
  min-width:0;
  overflow:hidden;
  padding:18px 18px 16px;
  border-radius:24px;
  border:1px solid rgba(120,185,255,.15);
  background:
    linear-gradient(180deg, rgba(255,255,255,.035) 0%, rgba(255,255,255,.015) 100%),
    linear-gradient(135deg, rgba(15,20,35,.96) 0%, rgba(7,11,20,.96) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.018),
    0 8px 24px rgba(0,0,0,.20);
  box-sizing:border-box;
}

.xrp-prediction-card .xrp-poll::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  background:
    radial-gradient(circle at top left, rgba(182,88,255,.08), transparent 30%),
    radial-gradient(circle at bottom right, rgba(78,212,255,.07), transparent 34%);
}

.xrp-prediction-card .xrp-poll > *{
  position:relative;
  z-index:1;
}

.xrp-prediction-card .xrp-poll__title{
  margin:0 0 6px;
  color:#f6fbff;
  font-size:clamp(23px,2vw,30px);
  line-height:1.35;
  font-weight:800;
  letter-spacing:.01em;
}

.xrp-prediction-card .xrp-poll__desc{
  margin:0 0 14px;
  color:rgba(220,236,255,.70);
  font-size:14px;
  line-height:1.6;
}

.xrp-prediction-card .xrp-poll__meta,
.xrp-prediction-card .xrp-poll__footer,
.xrp-prediction-card .xrp-poll__voted{
  display:none !important;
}

/* =========================================================
   Vote button common
========================================================= */
.xrp-prediction-card .xrp-poll-vote-btn{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:9px 16px;
  border-radius:999px;
  border: 1px solid rgb(22 26 29);
  background: linear-gradient(180deg, rgb(255 255 255 / 37%), rgb(0 0 0 / 50%)),
    linear-gradient(135deg, rgba(33,42,63,.94), rgba(14,20,33,.96));
  color:#f7fbff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing:.02em;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.02),
    0 4px 14px rgba(0,0,0,.16);
  cursor:pointer;
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .22s ease;
}

.xrp-prediction-card .xrp-poll-vote-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(104,220,255,.92);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    linear-gradient(135deg, rgba(43,58,86,.96), rgba(16,24,40,.98));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.03),
    0 10px 22px rgba(0,0,0,.22),
    0 0 18px rgba(84,202,255,.10);
}

.xrp-prediction-card .xrp-poll-vote-btn:active{
  transform:translateY(0);
}

/* =========================================================
   Today direction
========================================================= */
.xrp-prediction-card .xrp-poll[data-poll-id="today_direction"]{
  display:flex;
  flex-direction:column;
}

.xrp-prediction-card .xrp-poll[data-poll-id="today_direction"] .xrp-poll__results{
  order:1;
  display:flex;
  gap:0;
  width:100%;
  min-width:0;
  overflow:hidden;
  border-radius:20px;
  margin-top: 3px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);
}

.xrp-prediction-card .xrp-poll[data-poll-id="today_direction"] .xrp-poll__buttons{
  order:2;
  display:flex;
  justify-content:center;
  gap: 20px;
  flex-wrap:wrap;
  margin-top: 16px;
}

.xrp-prediction-card .xrp-poll[data-poll-id="today_direction"] .xrp-poll-vote-btn{
  min-width:120px;
}

.xrp-prediction-card .xrp-poll[data-poll-id="today_direction"] .xrp-poll__result{
  position:relative;
  flex:0 1 var(--pct);
  min-width:max-content; /* 文字幅で下限 */
}

.xrp-prediction-card .xrp-poll[data-poll-id="today_direction"] .xrp-poll__result-head{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  height: 40px;
  padding:0 18px;
  margin:0;
  min-width:max-content; /* 文字幅で下限 */
}

.xrp-prediction-card .xrp-poll[data-poll-id="today_direction"] .xrp-poll__label{
  color:#fff;
  font-size: 16px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  text-shadow:0 1px 0 rgba(0,0,0,.16);
}

.xrp-prediction-card .xrp-poll[data-poll-id="today_direction"] .xrp-poll__percent{
  color:#fff;
  font-size: 17px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  text-shadow:0 1px 0 rgba(0,0,0,.16);
  flex:0 0 auto;
}

.xrp-prediction-card .xrp-poll[data-poll-id="today_direction"] .xrp-poll__result:nth-child(1){
  background:
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,0) 34%),
    linear-gradient(90deg,#ff4d6d 0%,#d43cff 100%);
}

.xrp-prediction-card .xrp-poll[data-poll-id="today_direction"] .xrp-poll__result:nth-child(2){
  background:
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,0) 34%),
    linear-gradient(90deg,#6fd6ff 0%,#5c5cff 100%);
}

/* =========================================================
   Year target
========================================================= */
.xrp-prediction-card .xrp-poll[data-poll-id="year_target"]{
  display:flex;
  flex-direction:column;
}

.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__results{
  order:1;
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  align-items:end;
  gap:16px;
  margin-top: 0px;
  padding:8px 8px 0;
  position:relative;
}

/* 横ライン：PCもスマホも単色 */
.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__results::after{
  content:"";
  position:absolute;
  left:8px;
  right:8px;
  bottom: 35px;
  height: 2px;
  border-radius:999px;
  background:#55b8ff;
  box-shadow:none;
}

/* 並び順を昇順に */
.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__result:nth-child(1){
  order:4;
}
.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__result:nth-child(2){
  order:3;
}
.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__result:nth-child(3){
  order:2;
}
.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__result:nth-child(4){
  order:1;
}

.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__result{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  min-width:0;
}

.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__bar-wrap{
  width:100%;
  height: 190px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:center;
  position:relative;
  padding-bottom: 35px; /* ラベルとの距離を詰める */
  box-sizing:border-box;
}

.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__bar{
  width:min(78%, 150px);
  height:calc(var(--pct) * 2px);
  min-height:10px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  background:transparent;
  overflow:visible;
}

.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__bar-fill{
  width:100%;
  height:100%;
  border-radius: 12px 12px 0 0; /* 下角丸なし */
  background:
    linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 24%),
    linear-gradient(180deg, #bf63ff 0%, #8d7cff 42%, #47c9ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 0 14px rgba(85,184,255,.10);
}

/* 下角丸を確実になし */
.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__bar-fill::before,
.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__bar-fill::after{
  border-bottom-left-radius:0 !important;
  border-bottom-right-radius:0 !important;
}

.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__percent{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom: calc(35px + (var(--pct) * 2px) + 10px);
  color:#f7fbff;
  font-size:16px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  text-shadow:0 1px 0 rgba(0,0,0,.18);
}

.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__axis-label{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:8px;
  width:min(96%, 180px);
  color:rgba(240,247,255,.94);
  font-size: 12px;
  font-weight: 500;
  text-align:center;
  line-height: 1;
  white-space:normal;
  word-break:keep-all;
}

.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__buttons{
  order:2;
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
  margin-top: 15px;
}

/* ボタン並びも昇順 */
.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__buttons .xrp-poll-vote-btn:nth-child(1){
  order:4;
}
.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__buttons .xrp-poll-vote-btn:nth-child(2){
  order:3;
}
.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__buttons .xrp-poll-vote-btn:nth-child(3){
  order:2;
}
.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__buttons .xrp-poll-vote-btn:nth-child(4){
  order:1;
}

.xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll-vote-btn{
  width:100%;
  min-height:46px;
  padding:10px 12px;
}

/* =========================================================
   Mobile
========================================================= */
@media (max-width: 767px){
  .xrp-prediction-card .xrp-prediction-head{
    margin-bottom:14px;
  }

  .xrp-prediction-card .xrp-prediction-stack{
    gap:14px;
  }

  .xrp-prediction-card .xrp-poll{
    padding:15px 14px 14px;
    border-radius:20px;
  }

  .xrp-prediction-card .xrp-poll__title{
    font-size:19px;
  }

  .xrp-prediction-card .xrp-poll__desc{
    font-size:13px;
  }

  /* -------------------------
     今日の予想
  ------------------------- */
  .xrp-prediction-card .xrp-poll[data-poll-id="today_direction"] .xrp-poll__results{
    border-radius:16px;
  }

  .xrp-prediction-card .xrp-poll[data-poll-id="today_direction"] .xrp-poll__result{
    min-width:max-content; /* 文字幅以下に縮まない */
  }

  .xrp-prediction-card .xrp-poll[data-poll-id="today_direction"] .xrp-poll__result-head{
    height: 35px;
    padding:0 12px;
    min-width:max-content;
    gap:10px;
  }

  .xrp-prediction-card .xrp-poll[data-poll-id="today_direction"] .xrp-poll__label{
    font-size: 14px;
  }

  .xrp-prediction-card .xrp-poll[data-poll-id="today_direction"] .xrp-poll__percent{
    font-size: 14px;
  }

  .xrp-prediction-card .xrp-poll[data-poll-id="today_direction"] .xrp-poll__buttons{
    gap:10px;
  }

  .xrp-prediction-card .xrp-poll[data-poll-id="today_direction"] .xrp-poll-vote-btn{
    min-width:0;
    flex:1 1 calc(50% - 5px);
  }

  /* -------------------------
     年の予想
  ------------------------- */
  .xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__results{
    grid-template-columns:repeat(4, minmax(0,1fr));
    gap:8px;
    padding:6px 2px 0;
  }

  .xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__results::after{
    left:2px;
    right:2px;
    bottom: 28px;
    height:3px;
    background:#55b8ff;
    display:block;
  }

  .xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__bar-wrap{
    height: 122px;
    padding-bottom: 28px; /* ラベルとの距離を詰める */
  }

  .xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__bar{
    width:min(84%, 80px);
    height:calc(var(--pct) * 1.2px);
    min-height:8px;
  }

  .xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__bar-fill{
    border-radius:12px 12px 0 0; /* 下角丸なし */
  }

  .xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__percent{
    bottom: calc(28px + (var(--pct) * 1.2px) + 8px);
    font-size: 13px;
  }

  .xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__axis-label{
    bottom:4px;
    width:100%;
    font-size:10px;
    line-height:1.12;
  }

  .xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll__buttons{
    grid-template-columns:repeat(4, minmax(0,1fr));
    gap:8px;
  }

  .xrp-prediction-card .xrp-poll[data-poll-id="year_target"] .xrp-poll-vote-btn{
    min-height:40px;
    padding:8px 6px;
    font-size:11px;
    line-height:1.2;
  }
}
/* =========================================
   Prediction header layout
========================================= */
.xrp-prediction-card .xrp-prediction-head{
  position: relative;
  margin: 0 0 20px;
}

.xrp-prediction-card .xrp-prediction-heading{
  position: relative;
  margin: 0;
}

/* =========================
   JP（メイン）
========================= */
.xrp-prediction-card .xrp-prediction-heading__jp{
  display: block;
  font-size: clamp(30px,3vw,44px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: .95;
  background: linear-gradient(90deg, #c05cff 0%, #8d7cff 42%, #47c9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* =========================
   EN（右上固定）
========================= */
.xrp-prediction-card .xrp-prediction-heading__en{
  position: absolute;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: clamp(14px, 1.2vw, 15px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
  color: rgba(230, 240, 255, 0.88);
  white-space: nowrap;
  opacity: 0.9;
  margin-top: -5px;
}

/* 右のネオンバー */
.xrp-prediction-card .xrp-prediction-heading__en::after{
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 999px;

  background: linear-gradient(180deg, #c05cff 0%, #47c9ff 100%);
  box-shadow: 0 0 8px rgba(120, 200, 255, .4);
}

/* =========================================
   Mobile
========================================= */
@media (max-width: 767px){

  .xrp-prediction-card .xrp-prediction-head{
    margin-bottom: 14px;
  }

  .xrp-prediction-card .xrp-prediction-heading__jp{
    font-size: clamp(28px,3vw,38px);
  }

  .xrp-prediction-card .xrp-prediction-heading__en{
    top: 4px;
    right: 0;
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .xrp-prediction-card .xrp-prediction-heading__en::after{
    height: 12px;
  }
}


/* =========================================================
   Polymarket area
========================================================= */
.xrp-polymarket-card .xrp-polymarket-area{
  width:100%;
  min-width:0;
}

.xrp-polymarket-card .xrp-polymarket-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px 32px;
  align-items:start;
  margin: 0 0 18px;
}

.xrp-polymarket-card .xrp-polymarket-head__left{
  min-width:0;
}

.xrp-polymarket-card .xrp-polymarket-head__right{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:flex-start;
  min-width:0;
}

.xrp-polymarket-card .xrp-polymarket-more-wrap{
  display:none;
}

/* =========================================================
   Heading
========================================================= */
.xrp-polymarket-card .xrp-polymarket-heading{
  position:relative;
  margin:0;
}

.xrp-polymarket-card .xrp-polymarket-heading__jp{
  display:inline-block;
  max-width:100%;
  font-size: clamp(30px,3vw,44px);
  font-weight:800;
  letter-spacing:.01em;
  line-height:.95;
  background:linear-gradient(90deg,#c05cff 0%,#8d7cff 42%,#47c9ff 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
}

.xrp-polymarket-card .xrp-polymarket-heading__en{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:clamp(14px,1.2vw,18px);
  font-weight:500;
  letter-spacing:.08em;
  color:#8aa0b8;
  white-space:nowrap;
  opacity:.9;
}

.xrp-polymarket-card .xrp-polymarket-heading__en::after{
  content:"";
  width:3px;
  height:14px;
  border-radius:999px;
  background:linear-gradient(180deg,#c05cff 0%,#47c9ff 100%);
  box-shadow:0 0 8px rgba(120,200,255,.4);
}

.xrp-polymarket-card .xrp-polymarket-caption{
  margin: 8px 0 0;
  color:rgba(220,236,255,.78);
  font-size:16px;
  line-height:1.6;
}

/* =========================================================
   PC: Prediction Market は右上だけ
========================================================= */
@media (min-width:768px){
  .xrp-polymarket-card .xrp-polymarket-heading__en{
    display:none;
  }

  .xrp-polymarket-card .xrp-polymarket-head__right{
    position:relative;
    padding-top: 0px;
    margin-top: -10px;
  }

  .xrp-polymarket-card .xrp-polymarket-head__right::before{
    content:"Prediction Market";
    display:inline-flex;
    align-items:center;
    gap: 11px;
    margin-bottom:24px;
    padding-right:16px;
    font-size: clamp(14px, 1.2vw, 15px);
    font-weight:500;
    letter-spacing: .06em;
    color: rgba(230, 240, 255, 0.88);
    white-space:nowrap;
    opacity:.9;
    height: 14px;
    border-right:3px solid transparent;
    border-image:linear-gradient(180deg,#c05cff 0%,#47c9ff 100%) 1;
  }

  .xrp-polymarket-card .xrp-polymarket-head__right .xrp-polymarket-more{
    display:inline-flex;
  }
}

/* =========================================================
   More button
========================================================= */
.xrp-polymarket-card .xrp-polymarket-more{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height: 45px;
  padding:0 28px;
  border-radius:999px;
  border:1px solid rgba(126,196,255,.58);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)),
    linear-gradient(135deg, rgba(33,42,63,.94), rgba(14,20,33,.96));
  color:#f7fbff;
  text-decoration:none;
  font-size:15px;
  font-weight:800;
  letter-spacing:.01em;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.02),
    0 4px 14px rgba(0,0,0,.16);
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .22s ease;
}

.xrp-polymarket-card .xrp-polymarket-more:hover{
  transform:translateY(-1px);
  border-color:rgba(104,220,255,.92);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.03),
    0 10px 22px rgba(0,0,0,.22),
    0 0 18px rgba(84,202,255,.10);
}

/* =========================================================
   Grid
========================================================= */
.xrp-polymarket-card .xrp-polymarket-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  width:100%;
  min-width:0;
}

.xrp-polymarket-card .xrp-polymarket-item{
  min-width:0;
  padding: 20px 22px 20px;
  border-radius:24px;
  border:1px solid rgba(120,185,255,.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.012)),
    linear-gradient(135deg, rgba(15,20,35,.92), rgba(7,11,20,.94));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.015),
    0 8px 24px rgba(0,0,0,.16);
}

.xrp-polymarket-card .xrp-polymarket-item__title{
  margin: 0 0 16px;
  color:#f7fbff;
  font-size: clamp(17px,1.6vw,20px);
  font-weight: 600;
  line-height:1.45;
  letter-spacing:.01em;
}

/* =========================================================
   YES / NO graph
========================================================= */
.xrp-polymarket-card .xrp-polymarket-item__odds{
  display:grid;
  gap:14px;
  margin-bottom:18px;
}

.xrp-polymarket-card .xrp-polymarket-item__odds-box{
  display:grid;
  grid-template-columns: 34px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  min-width:0;
}

.xrp-polymarket-card .xrp-polymarket-item__odds-label{
  color:#f7fbff;
  font-size:18px;
  font-weight:700;
  line-height:1.1;
}

.xrp-polymarket-card .xrp-polymarket-item__odds-bar{
  position:relative;
  height:32px;
  min-width:0;
  display:flex;
  align-items:center;
}

.xrp-polymarket-card .xrp-polymarket-item__odds-track{
  position:relative;
  width:100%;
  height:32px;
  background:transparent;
  overflow:visible;
}

.xrp-polymarket-card .xrp-polymarket-item__odds-fill{
  height:100%;
  min-width:34px;
  border-radius:0 18px 18px 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 0 14px rgba(124,89,255,.10);
}

.xrp-polymarket-card .xrp-polymarket-item__odds-box:nth-child(1) .xrp-polymarket-item__odds-fill{
  background:linear-gradient(90deg,#ff4d6d 0%,#d43cff 100%);
}

.xrp-polymarket-card .xrp-polymarket-item__odds-box:nth-child(2) .xrp-polymarket-item__odds-fill{
  background:linear-gradient(90deg,#6fd6ff 0%,#5c5cff 100%);
}

.xrp-polymarket-card .xrp-polymarket-item__odds-value{
  color:#f7fbff;
  font-size:18px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
}

/* =========================================================
   Meta
========================================================= */
.xrp-polymarket-card .xrp-polymarket-item__meta{
  display:grid;
  gap: 4px;
  margin-bottom: 15px;
  color:rgba(234,243,255,.92);
  font-size: 13px;
  line-height:1.55;
}

.xrp-polymarket-card .xrp-polymarket-item__meta-row{
  display:grid;
  grid-template-columns:auto auto;
  gap:24px;
  align-items:center;
  justify-content:start;
}

.xrp-polymarket-card .xrp-polymarket-item__meta-single{
  display:block;
}

/* =========================================================
   Link
========================================================= */
.xrp-polymarket-card .xrp-polymarket-item__link-wrap{
  display:flex;
  justify-content:flex-end;
  margin-top:4px;
}

.xrp-polymarket-card .xrp-polymarket-item__link{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  color:#f7fbff;
  text-decoration:none;
  font-size: 12px;
  font-weight:700;
  letter-spacing:.03em;
  text-align:right;
}

.xrp-polymarket-card .xrp-polymarket-item__link:hover{
  color:#8fd2ff;
}

/* =========================================================
   Mobile
========================================================= */
@media (max-width:767px){
  .xrp-polymarket-card .xrp-polymarket-head{
    grid-template-columns:1fr;
    gap:14px;
    margin-bottom: 14px;
  }

  .xrp-polymarket-card .xrp-polymarket-head__right{
    display:none;
  }

  .xrp-polymarket-card .xrp-polymarket-more-wrap{
    display:flex;
    justify-content:center;
    margin-top:16px;
  }

  .xrp-polymarket-card .xrp-polymarket-heading{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    flex-wrap:nowrap;
  }

  .xrp-polymarket-card .xrp-polymarket-heading__jp{
    flex:0 1 auto;
    font-size: clamp(28px,3vw,38px);
  }

  .xrp-polymarket-card .xrp-polymarket-heading__en{
    flex:0 0 auto;
    margin-top: -14px;
    font-size:12px;
    letter-spacing:.06em;
  }

  .xrp-polymarket-card .xrp-polymarket-caption{
    margin-top: 8px;
    font-size:14px;
  }

  .xrp-polymarket-card .xrp-polymarket-grid{
    display:flex;
    gap:14px;
    overflow-x:auto;
    padding-bottom:8px;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
  }

  .xrp-polymarket-card .xrp-polymarket-grid::-webkit-scrollbar{
    height:6px;
  }

  .xrp-polymarket-card .xrp-polymarket-grid::-webkit-scrollbar-thumb{
    background:rgba(143,210,255,.28);
    border-radius:999px;
  }

  .xrp-polymarket-card .xrp-polymarket-item{
    flex:0 0 86%;
    scroll-snap-align:start;
    padding:22px 18px 20px;
  }

  .xrp-polymarket-card .xrp-polymarket-more{
    min-height:45px;
    padding:0 18px;
    font-size:13px;
    width:auto;
    max-width:100%;
  }

  .xrp-polymarket-card .xrp-polymarket-item__title{
    font-size:18px;
    margin-bottom:16px;
  }

  .xrp-polymarket-card .xrp-polymarket-item__odds{
    gap:12px;
    margin-bottom:16px;
  }

  .xrp-polymarket-card .xrp-polymarket-item__odds-box{
    grid-template-columns:38px minmax(0,1fr) auto;
    gap:10px;
  }

  .xrp-polymarket-card .xrp-polymarket-item__odds-label{
    font-size:15px;
  }

  .xrp-polymarket-card .xrp-polymarket-item__odds-bar,
  .xrp-polymarket-card .xrp-polymarket-item__odds-track{
    height:24px;
  }

  .xrp-polymarket-card .xrp-polymarket-item__odds-fill{
    min-width:24px;
    border-radius:0 14px 14px 0;
  }

  .xrp-polymarket-card .xrp-polymarket-item__odds-value{
    font-size:15px;
  }

  .xrp-polymarket-card .xrp-polymarket-item__meta{
    font-size: 12px;
    gap: 4px;
  }

  .xrp-polymarket-card .xrp-polymarket-item__link{
    font-size:12px;
  }
}


/* =========================================================
   News board
========================================================= */
.xrp-section-news .xrp-news-board{
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 0 30px;
  align-items: start;
}

.xrp-section-news .xrp-news-board__head{
  display: contents;
}

.xrp-section-news .xrp-news-board__titlecol{
  min-width: 0;
}

.xrp-section-news .xrp-news-board__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
  color: rgba(230, 240, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1;
}

.xrp-section-news .xrp-news-board__eyebrow::before{
  content: "";
  width: 3px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg,#c05cff 0%,#47c9ff 100%);
  box-shadow: 0 0 8px rgba(120,200,255,.35);
}

.xrp-section-news .xrp-news-board__title{
  margin: 0;
  display: inline-block;
  font-size: clamp(42px, 5vw, 62px);
  line-height: .9;
  font-weight: 800;
  letter-spacing: .01em;
  background: linear-gradient(90deg,#c05cff 0%,#8d7cff 42%,#47c9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.xrp-section-news .xrp-news-board__caption{
  margin: 14px 0 0;
  color: rgba(235, 243, 255, .86);
  font-size: 15px;
  line-height: 1.55;
}

.xrp-news-board-note {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);

  font-size: 10px;
  line-height: 1.6;
  color: rgba(255,255,255,0.45);

  text-align: left;
}

/* =========================================================
   News list
========================================================= */
.xrp-section-news .xrp-news-board-list{
  min-width: 0;
  display: grid;
  gap: 16px;
  padding-top: 4px;
}

.xrp-section-news .xrp-news-board-item{
  min-width: 0;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.xrp-section-news .xrp-news-board-item__date{
  color: rgb(244 248 255 / 69%);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  margin-top: 5px;
}

.xrp-section-news .xrp-news-board-item__main{
  min-width: 0;
}

.xrp-section-news .xrp-news-board-item__link{
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: #f6fbff;
  text-decoration: none;
  max-width: 100%;
}

.xrp-section-news .xrp-news-board-item__title{
  min-width: 0;
  color: #f6fbff;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .01em;
}

.xrp-section-news .xrp-news-board-item__link:hover .xrp-news-board-item__title{
  color: #8fd2ff;
}

.xrp-section-news .xrp-news-board-item__icon{
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
  color: rgba(244, 248, 255, .88);
  margin-top: 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.xrp-section-news .xrp-news-board-item__icon svg{
  width: 16px;
  height: 16px;
  display: block;
}

.xrp-section-news .xrp-news-board-item.is-internal .xrp-news-board-item__icon{
  display: none;
}

/* =========================================================
   Mobile
========================================================= */
@media (max-width: 767px){
  .xrp-section-news .xrp-news-board{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .xrp-section-news .xrp-news-board__titlecol{
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px 16px;
    align-items: start;
  }

  .xrp-section-news .xrp-news-board__eyebrow{
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin: 6px 0 0;
    font-size: 12px;
    letter-spacing: .06em;
  }

  .xrp-section-news .xrp-news-board__eyebrow::before{
    order: 2;
    width: 3px;
    height: 14px;
  }

  .xrp-section-news .xrp-news-board__title{
    grid-column: 1;
    grid-row: 1;
    font-size: clamp(28px,3vw,38px);
  }

  .xrp-section-news .xrp-news-board__caption{
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0px 0 0;
    font-size: 14px;
    line-height: 1.55;
  }

  .xrp-section-news .xrp-news-board-list{
    gap: 14px;
    padding-top: 0px;
  }

  .xrp-section-news .xrp-news-board-item{
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
  }

  .xrp-section-news .xrp-news-board-item__date{
    font-size: 11px;
    margin-top: 8px;
  }

  .xrp-section-news .xrp-news-board-item__link{
    gap: 6px;
  }

  .xrp-section-news .xrp-news-board-item__title{
    font-size: 15px;
    line-height: 1.45;
  }

  .xrp-section-news .xrp-news-board-item__icon{
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    margin-top: 3px;
  }

  .xrp-section-news .xrp-news-board-item__icon svg{
    width: 13px;
    height: 13px;
  }
}

/* =========================================================
   News board riply
========================================================= */
.xrp-section-news .xrp-news-riply-callout{
  position: absolute;
  right: -30px;
  bottom: -50px;
  z-index: 10;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: -2px;
  pointer-events: none;
}

.xrp-section-news .xrp-news-riply-callout__bubble{
  position: relative;
  max-width: 290px;
  margin-bottom: 23px;
  padding: 6px 10px 6px 14px;
  border-radius: 18px;
  background: rgb(145 97 191 / 96%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 10px 26px rgba(0,0,0,.22),
    inset 0 0 0 1px rgba(255,255,255,.02);
  color: #f4f8ff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .01em;
  text-align: left;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.xrp-section-news .xrp-news-riply-callout__bubble::after{
  content: "";
  position: absolute;
  left: auto;
  right: -7px; /* â† å³å´ã«å‡ºã™ */
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: rgb(145 97 191 / 96%);
  border-right: 1px solid rgba(255,255,255,0.10);
  border-top: 1px solid rgba(255,255,255,0.10);
}

.xrp-section-news .xrp-news-riply-callout__img{
  width: 130px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.32));
}

/* =========================================================
   Mobile
========================================================= */
@media (max-width: 767px){
  .xrp-section-news .xrp-news-board{
    padding-right: 0;
    padding-bottom: 0;
  }

  .xrp-section-news .xrp-news-riply-callout{
    margin-top: -35px;
    align-items: center;
    gap: 3px;
    pointer-events: auto;
    right: -13px;
    bottom: -21px;
    position: relative;
    width: fit-content;
    margin-left: auto;
  }

  .xrp-section-news .xrp-news-riply-callout__bubble{
    max-width: none;
    font-size: 12px;
    line-height: 1.55;
    border-radius: 16px;
    margin-bottom: 10px;
    margin-top: 7px;
    padding: 6px 6px 6px 10px;
  }

  .xrp-section-news .xrp-news-riply-callout__bubble::after{
      right: -7px; /* â† å³å´ã«å‡ºã™ */
  top: 50%;
  width: 14px;
  height: 14px;
  }

  .xrp-section-news .xrp-news-riply-callout__img{
    width: 90px;
  }
}



.xrp-comment-card,
.xrp-comment-card .xrp-card__inner,
.xrp-comment-area {
  height: 100%;
  min-height: 0;
}

.xrp-comment-area {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

/* カード上部見出し */
.xrp-comment-head {
  margin-bottom: 14px;
}

.xrp-comment-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  line-height: 1;
}

.xrp-comment-heading__jp {
  display: inline-block;
  margin: 0;
  font-size: clamp(30px,3vw,44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(90deg, #cf5cff 0%, #63b8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.xrp-comment-heading__en {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding-top: 0px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1;
  white-space: nowrap;
  margin-top: -5px;
}

.xrp-comment-heading__en::after {
  content: "";
  display: block;
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #cf5cff 0%, #63b8ff 100%);
  box-shadow: 0 0 10px rgba(99,184,255,.35);
}

/* ショートコード部分がカード内で伸びるように */
.xrp-comment-area > .xrp-live-comment-board {
  flex: 1;
  min-height: 0;
}

/* スマホ */
@media (max-width: 768px) {
  .xrp-comment-head {
    margin-bottom: 12px;
  }

  .xrp-comment-heading {
    gap: 12px;
  }

  .xrp-comment-heading__jp {
    font-size: clamp(28px,3vw,38px);
  }

  .xrp-comment-heading__en {
    font-size: 12px;
    gap: 8px;
    padding-top: 2px;
  }

  .xrp-comment-heading__en::after {
    width: 3px;
    height: 15px;
  }
}

/* =========================================
   XRiPly Contact Form
========================================= */

.xriply-contact-form{
  margin-top: 14px;
}

/* 入力フィールド */
.xriply-contact-form input,
.xriply-contact-form textarea{
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(145,206,255,0.12);
  border-radius: 14px;
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: 0.2s;
}

/* フォーカス */
.xriply-contact-form input:focus,
.xriply-contact-form textarea:focus{
  border-color: #6ecbff;
  box-shadow: 0 0 0 1px rgba(110,203,255,0.4);
}

/* テキストエリア */
.xriply-contact-form textarea{
  min-height: 140px;
  resize: vertical;
}

/* ラベル */
.xriply-contact-form label{
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: rgba(220,230,245,0.75);
}

/* 送信ボタン */
.xriply-contact-form input[type="submit"]{
  margin-top: 10px;
  background: linear-gradient(90deg,#c05cff,#6e8dff,#47c9ff);
  border: none;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

.xriply-contact-form input[type="submit"]:hover{
  opacity: 0.85;
}

/* エラー */
.xriply-contact-form .wpcf7-not-valid-tip{
  font-size: 12px;
  color: #ff8a8a;
}

.xriply-contact-form .wpcf7-response-output{
  border-radius: 12px;
  margin-top: 10px;
}

/* =========================================
    about page
========================================= */
.xriply-about-riply{
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 1.2em 0 0.6em;
  padding: 22px 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(145,206,255,0.10);
}

.xriply-about-riply__image{
  text-align: center;
}

.xriply-about-riply__image img{
  max-width: 180px;
  width: 100%;
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,0.28));
}

.xriply-about-riply__body p:last-child{
  margin-bottom: 0;
}

@media (max-width: 768px){
  .xriply-about-riply{
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 16px;
    border-radius: 20px;
  }

  .xriply-about-riply__image img{
    max-width: 140px;
  }
}

.xriply-info-visual{
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 1.4em 0 1.2em;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(145,206,255,0.10);
}

.xriply-info-visual__media img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

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

.xriply-inline-image{
  margin: 1.3em 0 1.2em;
}

.xriply-inline-image img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(145,206,255,0.10);
}

@media (max-width: 768px){
  .xriply-info-visual{
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
  }

  .xriply-inline-image img{
    border-radius: 16px;
  }
}


/* =========================================
   XRiPly Archive / Category / Tag / Author / Search
   based on Single Post design
========================================= */

/* 全体 */
body.archive,
body.author,
body.category,
body.tag,
body.search {
  background: #0A0D12;
  color: rgba(232, 240, 255, 0.88);
}

/* コンテンツ幅 */
body.archive .site.grid-container,
body.author .site.grid-container,
body.category .site.grid-container,
body.tag .site.grid-container,
body.search .site.grid-container {
  max-width: 1280px;
}

/* 背景画像 */
body.archive #page,
body.author #page,
body.category #page,
body.tag #page,
body.search #page {
  position: relative;
  z-index: 0;
  background: #0A0D12;
}

body.archive #page::before,
body.author #page::before,
body.category #page::before,
body.tag #page::before,
body.search #page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1500px;
  z-index: 0;
  pointer-events: none;
  background: url("http://xriply.net/wp-content/uploads/2026/03/top-scaled-3.jpg") top center / contain no-repeat;
}

body.archive #page::after,
body.author #page::after,
body.category #page::after,
body.tag #page::after,
body.search #page::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 760px;
  z-index: 0;
  pointer-events: none;
  background: url("http://xriply.net/wp-content/uploads/2026/03/bottom-scaled-1.jpg") bottom center / contain no-repeat;
}

body.archive #page > *,
body.author #page > *,
body.category #page > *,
body.tag #page > *,
body.search #page > * {
  position: relative;
  z-index: 1;
}

/* メイン全体 */
body.archive .site-content,
body.author .site-content,
body.category .site-content,
body.tag .site-content,
body.search .site-content {
  padding-top: 88px;
  padding-bottom: 56px;
}

/* メインカラム */
body.archive .content-area,
body.author .content-area,
body.category .content-area,
body.tag .content-area,
body.search .content-area {
  width: min(100%, 860px);
  padding: 0 15px 0 30px;
}

/* アーカイブ見出し */
body.archive .page-header,
body.author .page-header,
body.category .page-header,
body.tag .page-header,
body.search .page-header {
  background: rgba(8, 12, 20, 0.88);
  border: 1px solid rgba(145, 206, 255, 0.12);
  border-radius: 28px;
  padding: 28px 30px 24px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.015),
    0 12px 34px rgba(0,0,0,0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 30px;
}

body.archive .page-title,
body.author .page-title,
body.category .page-title,
body.tag .page-title,
body.search .page-title {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4.2vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
}

body.archive .archive-description,
body.author .archive-description,
body.category .archive-description,
body.tag .archive-description,
body.search .archive-description {
  margin-top: 12px;
  color: rgba(181, 198, 224, 0.72);
  font-size: 14px;
  line-height: 1.8;
}

/* 投稿カード */
body.archive article,
body.author article,
body.category article,
body.tag article,
body.search article {
  margin-bottom: 28px;
}

body.archive .inside-article,
body.author .inside-article,
body.category .inside-article,
body.tag .inside-article,
body.search .inside-article {
  background: rgba(8, 12, 20, 0.88);
  border: 1px solid rgba(145, 206, 255, 0.12);
  border-radius: 28px;
  padding: 34px 34px 30px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.015),
    0 12px 34px rgba(0,0,0,0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* タイトル */
body.archive .entry-title,
body.author .entry-title,
body.category .entry-title,
body.tag .entry-title,
body.search .entry-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 4.2vw, 34px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: #fff;
}

body.archive .entry-title a,
body.author .entry-title a,
body.category .entry-title a,
body.tag .entry-title a,
body.search .entry-title a {
  color: #fff;
  text-decoration: none;
}

body.archive .entry-title a:hover,
body.author .entry-title a:hover,
body.category .entry-title a:hover,
body.tag .entry-title a:hover,
body.search .entry-title a:hover {
  color: #73d5ff;
}

/* メタ */
body.archive .entry-meta,
body.author .entry-meta,
body.category .entry-meta,
body.tag .entry-meta,
body.search .entry-meta,
body.archive .entry-meta a,
body.author .entry-meta a,
body.category .entry-meta a,
body.tag .entry-meta a,
body.search .entry-meta a {
  color: rgba(181, 198, 224, 0.72);
  font-size: 13px;
}

body.archive .entry-meta,
body.author .entry-meta,
body.category .entry-meta,
body.tag .entry-meta,
body.search .entry-meta {
  margin-bottom: 24px;
}

/* アイキャッチ */
body.archive .featured-image,
body.author .featured-image,
body.category .featured-image,
body.tag .featured-image,
body.search .featured-image,
body.archive .post-image,
body.author .post-image,
body.category .post-image,
body.tag .post-image,
body.search .post-image {
  margin-top: 0;
  margin-bottom: 1.3em;
}

body.archive .featured-image img,
body.author .featured-image img,
body.category .featured-image img,
body.tag .featured-image img,
body.search .featured-image img,
body.archive .post-image img,
body.author .post-image img,
body.category .post-image img,
body.tag .post-image img,
body.search .post-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

/* 抜粋本文 */
body.archive .entry-summary,
body.author .entry-summary,
body.category .entry-summary,
body.tag .entry-summary,
body.search .entry-summary,
body.archive .entry-content,
body.author .entry-content,
body.category .entry-content,
body.tag .entry-content,
body.search .entry-content {
  color: rgba(228, 236, 250, 0.88);
  font-size: 17px;
  line-height: 1.8;
  margin-top: 1em;
}

body.archive .entry-summary p,
body.author .entry-summary p,
body.category .entry-summary p,
body.tag .entry-summary p,
body.search .entry-summary p,
body.archive .entry-content p,
body.author .entry-content p,
body.category .entry-content p,
body.tag .entry-content p,
body.search .entry-content p {
  margin-bottom: 1em;
}

/* 続きを読む */
body.archive .more-link,
body.author .more-link,
body.category .more-link,
body.tag .more-link,
body.search .more-link {
  color: #73d5ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(115, 213, 255, 0.34);
}

body.archive .more-link:hover,
body.author .more-link:hover,
body.category .more-link:hover,
body.tag .more-link:hover,
body.search .more-link:hover {
  color: #c993ff;
  border-bottom-color: rgba(201, 147, 255, 0.5);
}

/* カテゴリ・タグ */
body.archive .cat-links,
body.archive .tags-links,
body.author .cat-links,
body.author .tags-links,
body.category .cat-links,
body.category .tags-links,
body.tag .cat-links,
body.tag .tags-links,
body.search .cat-links,
body.search .tags-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.archive .cat-links a,
body.archive .tags-links a,
body.author .cat-links a,
body.author .tags-links a,
body.category .cat-links a,
body.category .tags-links a,
body.tag .cat-links a,
body.tag .tags-links a,
body.search .cat-links a,
body.search .tags-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(145, 206, 255, 0.12);
  color: rgba(236, 243, 255, 0.88);
  text-decoration: none;
  font-size: 13px;
}

/* authorページ上部 */
body.author .author-info,
body.author .author-box,
body.author .author-bio {
  background: rgba(8, 12, 20, 0.88);
  border: 1px solid rgba(145, 206, 255, 0.12);
  border-radius: 28px;
  padding: 24px 26px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.015),
    0 12px 34px rgba(0,0,0,0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(228, 236, 250, 0.88);
  margin-bottom: 28px;
}

/* サイドバー */
body.archive .is-right-sidebar,
body.author .is-right-sidebar,
body.category .is-right-sidebar,
body.tag .is-right-sidebar,
body.search .is-right-sidebar {
  min-width: 300px;
}

body.archive .separate-containers .inside-left-sidebar,
body.archive .separate-containers .inside-right-sidebar,
body.author .separate-containers .inside-left-sidebar,
body.author .separate-containers .inside-right-sidebar,
body.category .separate-containers .inside-left-sidebar,
body.category .separate-containers .inside-right-sidebar,
body.tag .separate-containers .inside-left-sidebar,
body.tag .separate-containers .inside-right-sidebar,
body.search .separate-containers .inside-left-sidebar,
body.search .separate-containers .inside-right-sidebar {
  margin-top: 0;
  margin-bottom: 20px;
  padding: 0 30px 0 0;
}

body.archive .widget-area .widget,
body.author .widget-area .widget,
body.category .widget-area .widget,
body.tag .widget-area .widget,
body.search .widget-area .widget {
  background: rgba(8, 12, 20, 0.88);
  border: 1px solid rgba(145, 206, 255, 0.12);
  border-radius: 24px;
  padding: 22px 22px 20px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.015),
    0 10px 28px rgba(0,0,0,0.22);
  margin-bottom: 20px;
}

body.archive .widget-title,
body.author .widget-title,
body.category .widget-title,
body.tag .widget-title,
body.search .widget-title {
  color: #f7fbff;
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 16px;
}

body.archive .widget,
body.archive .widget a,
body.author .widget,
body.author .widget a,
body.category .widget,
body.category .widget a,
body.tag .widget,
body.tag .widget a,
body.search .widget,
body.search .widget a {
  color: rgba(223, 232, 246, 0.82);
  text-decoration: none;
  font-size: 95%;
}

/* 見出しブロック */
body.archive .wp-block-heading,
body.author .wp-block-heading,
body.category .wp-block-heading,
body.tag .wp-block-heading,
body.search .wp-block-heading {
  position: relative;
  margin: 0 0 0.8em;
  padding-left: 18px;
  color: #f7fbff;
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body.archive .wp-block-heading::before,
body.author .wp-block-heading::before,
body.category .wp-block-heading::before,
body.tag .wp-block-heading::before,
body.search .wp-block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 6px;
  height: 0.95em;
  border-radius: 999px;
  background: linear-gradient(180deg, #cf63ff 0%, #3bc4ff 100%);
  box-shadow:
    0 0 12px rgba(207, 99, 255, 0.28),
    0 0 18px rgba(59, 196, 255, 0.18);
}

/* 検索フォーム */
body.archive .search-field,
body.author .search-field,
body.category .search-field,
body.tag .search-field,
body.search .search-field {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(145, 206, 255, 0.12);
  color: #fff;
  border-radius: 14px;
}

body.archive button,
body.archive input[type="submit"],
body.author button,
body.author input[type="submit"],
body.category button,
body.category input[type="submit"],
body.tag button,
body.tag input[type="submit"],
body.search button,
body.search input[type="submit"] {
  border-radius: 14px;
  background: linear-gradient(90deg, #cf63ff, #6b8dff 52%, #3bc4ff);
  border: none;
  color: #fff;
}

/* ページネーション */
body.archive .nav-links,
body.author .nav-links,
body.category .nav-links,
body.tag .nav-links,
body.search .nav-links {
  margin-top: 28px;
}

body.archive .page-numbers,
body.author .page-numbers,
body.category .page-numbers,
body.tag .page-numbers,
body.search .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  margin-right: 8px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(145, 206, 255, 0.12);
  color: rgba(236, 243, 255, 0.88);
  text-decoration: none;
}

body.archive .page-numbers.current,
body.author .page-numbers.current,
body.category .page-numbers.current,
body.tag .page-numbers.current,
body.search .page-numbers.current {
  background: linear-gradient(90deg, #cf63ff, #6b8dff 52%, #3bc4ff);
  border-color: transparent;
  color: #fff;
}

/* モバイル */
@media (max-width: 1024px) {
  body.archive .inside-article,
  body.author .inside-article,
  body.category .inside-article,
  body.tag .inside-article,
  body.search .inside-article {
    padding: 28px 24px 24px;
  }
}

@media (max-width: 768px) {
  body.archive .content-area,
  body.author .content-area,
  body.category .content-area,
  body.tag .content-area,
  body.search .content-area {
    padding: 0;
  }

  body.archive .site-content,
  body.author .site-content,
  body.category .site-content,
  body.tag .site-content,
  body.search .site-content {
    padding-top: 63px;
    padding-bottom: 42px;
    padding-left: 10px;
    padding-right: 10px;
  }

  body.archive .inside-article,
  body.author .inside-article,
  body.category .inside-article,
  body.tag .inside-article,
  body.search .inside-article {
    border-radius: 22px;
    padding: 22px 16px 20px;
  }

  body.archive .page-header,
  body.author .page-header,
  body.category .page-header,
  body.tag .page-header,
  body.search .page-header {
    border-radius: 22px;
    padding: 22px 16px 20px;
  }

  body.archive .entry-title,
  body.author .entry-title,
  body.category .entry-title,
  body.tag .entry-title,
  body.search .entry-title,
  body.archive .page-title,
  body.author .page-title,
  body.category .page-title,
  body.tag .page-title,
  body.search .page-title {
    font-size: clamp(19px, 7vw, 22px);
    line-height: 1.4;
  }

  body.archive .entry-summary,
  body.author .entry-summary,
  body.category .entry-summary,
  body.tag .entry-summary,
  body.search .entry-summary,
  body.archive .entry-content,
  body.author .entry-content,
  body.category .entry-content,
  body.tag .entry-content,
  body.search .entry-content {
font-size: 15.5px;
    line-height: 1.6;
  }

  body.archive .separate-containers .inside-left-sidebar,
  body.archive .separate-containers .inside-right-sidebar,
  body.author .separate-containers .inside-left-sidebar,
  body.author .separate-containers .inside-right-sidebar,
  body.category .separate-containers .inside-left-sidebar,
  body.category .separate-containers .inside-right-sidebar,
  body.tag .separate-containers .inside-left-sidebar,
  body.tag .separate-containers .inside-right-sidebar,
  body.search .separate-containers .inside-left-sidebar,
  body.search .separate-containers .inside-right-sidebar {
    padding: 0;
  }
	
body.category .page-header .taxonomy-description {
font-size: 14px !important;
    padding: 10px 20px 0 !important;
    line-height: 1.5 !important;
}
}

/* =========================================
   XRiPly archive header - simple version
   GeneratePress
========================================= */

.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .one-container .container, .separate-containers .paging-navigation, .inside-page-header {
    background-color: transparent;
}

/* ヘッダー箱をやめる */
body.archive .page-header,
body.author .page-header,
body.category .page-header,
body.tag .page-header,
body.search .page-header {
  margin: 40px 0 40px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible;
}

body.category .page-header .taxonomy-description{
    font-size: 15px;
    padding: 20px 20px 0;
	line-height: 1.6;
}

body.archive .page-header::before,
body.archive .page-header::after,
body.author .page-header::before,
body.author .page-header::after,
body.category .page-header::before,
body.category .page-header::after,
body.tag .page-header::before,
body.tag .page-header::after,
body.search .page-header::before,
body.search .page-header::after {
  content: none !important;
}

/* 共通タイトル */
body.archive .page-title,
body.author .page-title,
body.category .page-title,
body.tag .page-title,
body.search .page-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: #f7fbff;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: transparent !important;
}

/* 左のバー */
body.archive .page-title::before,
body.author .page-title::before,
body.category .page-title::before,
body.tag .page-title::before,
body.search .page-title::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, #cf63ff 0%, #3bc4ff 100%);
  box-shadow:
    0 0 12px rgba(207, 99, 255, 0.26),
    0 0 18px rgba(59, 196, 255, 0.18);
}

/* category / tag / archive / search は少し小さめ */
body.category .page-title,
body.tag .page-title,
body.archive .page-title,
body.search .page-title {
  font-size: clamp(20px, 2.4vw, 28px);
}

/* authorは名前だけ */
body.author .page-title {
  font-size: clamp(20px, 2.4vw, 28px);
}

/* authorの画像を消す */
body.author .page-title .avatar {
  display: none !important;
}

/* author名 */
body.author .page-title .vcard {
  display: inline;
  color: #f7fbff;
  line-height: 1.2;
}

/* 説明文がある場合だけ少し下げる */
body.archive .archive-description,
body.author .archive-description,
body.category .archive-description,
body.tag .archive-description,
body.search .archive-description {
  margin-top: 10px;
  margin-left: 20px;
  padding: 0;
  max-width: 760px;
  color: rgba(181, 198, 224, 0.72);
  font-size: 13px;
  line-height: 1.8;
}

/* モバイル */
@media (max-width: 768px) {
  body.archive .page-header,
  body.author .page-header,
  body.category .page-header,
  body.tag .page-header,
  body.search .page-header {
    margin-bottom: 18px;
  }

  body.archive .page-title,
  body.author .page-title,
  body.category .page-title,
  body.tag .page-title,
  body.search .page-title {
    gap: 10px;
  }

  body.archive .page-title::before,
  body.author .page-title::before,
  body.category .page-title::before,
  body.tag .page-title::before,
  body.search .page-title::before {
    flex-basis: 6px;
    width: 6px;
    height: 34px;
  }

  body.category .page-title,
  body.tag .page-title,
  body.archive .page-title,
  body.search .page-title,
  body.author .page-title {
    font-size: clamp(18px, 6vw, 24px);
  }

  body.archive .archive-description,
  body.author .archive-description,
  body.category .archive-description,
  body.tag .archive-description,
  body.search .archive-description {
    margin-left: 16px;
    font-size: 12px;
  }
}

/* =========================================
   サイドバーに入れる為
========================================= */
.xrp-price-shortcode {
    background: none !important;
    border: none !important;
    padding: 5px !important;
    box-shadow: none !important;
}
.sidebar-xrp_sparkline{    
	margin-top: 18px;}

.xrp-price-shortcode h3,
.sidebar-xrp_sparkline h3{
  position: relative;
  margin: 0em 0 0.8em;
  padding-left: 18px;
  color: #f7fbff;
  font-size: clamp(20px, 2.3vw, 22px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.xrp-price-shortcode h3::before,
.sidebar-xrp_sparkline h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 6px;
  height: 0.95em;
  border-radius: 999px;
  background: linear-gradient(180deg, #cf63ff 0%, #3bc4ff 100%);
  box-shadow:
    0 0 12px rgba(207, 99, 255, 0.28),
    0 0 18px rgba(59, 196, 255, 0.18);
}

/* =========================================
   XRiPly Recent Posts Widget
========================================= */

.xriply-recent-posts-widget {
  width: 100%;
}

/* 見出し：左バー付き */
.xriply-recent-posts-heading {
  position: relative;
  margin: 0 0 18px;
  padding-left: 18px;
  color: #f7fbff;
  font-size: clamp(20px, 2.3vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.xriply-recent-posts-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 6px;
  height: 0.95em;
  border-radius: 999px;
  background: linear-gradient(180deg, #cf63ff 0%, #3bc4ff 100%);
  box-shadow:
    0 0 12px rgba(207, 99, 255, 0.28),
    0 0 18px rgba(59, 196, 255, 0.18);
}

/* リスト */
.xriply-recent-posts-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.xriply-recent-posts-item + .xriply-recent-posts-item {
  margin-top: 16px;
}

/* リンク全体 */
.xriply-recent-posts-link {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  text-decoration: none;
}

/* サムネ */
.xriply-recent-posts-thumb {
  display: block;
  width: 120px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(145, 206, 255, 0.10);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.015),
    0 8px 18px rgba(0,0,0,0.18);
}

.xriply-recent-posts-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 画像がない場合 */
.xriply-recent-posts-thumb-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(207, 99, 255, 0.18), rgba(59, 196, 255, 0.12));
}

/* 右側本文 */
.xriply-recent-posts-body {
  display: block;
  min-width: 0;
  padding-top: 2px;
}

/* タイトル */
.xriply-recent-posts-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: rgba(236, 243, 255, 0.88);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
  word-break: break-word;
}

/* hover */
.xriply-recent-posts-link:hover .xriply-recent-posts-title {
  color: #73d5ff;
}

/* サイドバー内の余白を少し整える */
.widget .xriply-recent-posts-widget {
  margin-top: 2px;
}

/* スマホ */
@media (max-width: 768px) {
  .xriply-recent-posts-heading {
    margin-bottom: 16px;
    padding-left: 16px;
    font-size: clamp(18px, 6vw, 22px);
  }

  .xriply-recent-posts-heading::before {
    width: 6px;
    height: 0.95em;
  }

  .xriply-recent-posts-link {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
  }

  .xriply-recent-posts-thumb {
    width: 110px;
    border-radius: 10px;
  }

  .xriply-recent-posts-title {
    font-size: 15px;
    line-height: 1.55;
    -webkit-line-clamp: 3;
  }

  .xriply-recent-posts-item + .xriply-recent-posts-item {
    margin-top: 14px;
  }
}

.menu-item-x a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}

.menu-item-x svg {
  width: 18px;
  height: 18px;
  opacity: .88;
}

.xrp-mobile-drawer-social {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.xrp-mobile-drawer-social a {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
}

.xrp-mobile-drawer-social svg {
  width: 20px;
  height: 20px;
  opacity: .92;
}


/* =========================
   XRiPly Internal Links
========================= */

.xriply-internal,
.xriply-related-box,
.xriply-cta-box {
  margin: 28px 0;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(10,13,18,0.96) 0%, rgba(7,9,14,0.98) 100%);
  border: 1px solid rgba(148, 213, 255, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.015),
    0 10px 24px rgba(0,0,0,0.22);
}

.xriply-internal__text,
.xriply-cta-box__text {
  margin: 0 0 14px;
  color: #d9e3f0;
  line-height: 1.8;
}

.xriply-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  line-height: 1.2;
  transition: .25s ease;
}

.xriply-link-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.10);
  color: #fff !important;
}

.xriply-link-btn--primary {
  background: linear-gradient(90deg, #7c64ff 0%, #5caeff 100%);
}

.xriply-link-btn--large {
  min-width: 240px;
}

.xriply-inline-link {
  margin: 24px 0;
  line-height: 1.9;
  color: inherit;
}

.xriply-inline-link a {
  color: #7ed7ff;
  text-decoration: none;
  font-weight: 600;
}

.xriply-inline-link a:hover {
  text-decoration: underline;
}

.xriply-related-box__title {
  margin: 0 0 12px;
  font-weight: 700;
  color: #fff;
}

.xriply-related-box__list {
margin: 1em 0 1.4em 1.2em;
    padding-left: 18px;
    font-size: 15px;
}

.xriply-related-box__list li {
  margin: 8px 0;
}

.xriply-related-box__list a {
  color: #8edfff;
  text-decoration: none;
}

.xriply-related-box__list a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .xriply-internal,
  .xriply-related-box,
  .xriply-cta-box {
    padding: 16px;
    border-radius: 16px;
  }

  .xriply-link-btn,
  .xriply-link-btn--large {
    width: 100%;
    min-width: 0;
  }
}


/* =========================
   XRP table
========================= */
.xrp-basic-info--dark {
  margin: 0 0 48px;
}

.xrp-basic-info--dark .xrp-basic-info__title {
  margin: 0 0 22px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.35;
  color: #f8fbff;
  letter-spacing: 0.01em;
}

.xrp-basic-info--dark .xrp-basic-info__table-wrap {
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(25, 80, 210, 0.10), transparent 34%),
    linear-gradient(180deg, #071325 0%, #020916 100%);
  border: 1px solid rgba(64, 118, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 12px 30px rgba(0,0,0,0.28);
}

.xrp-basic-info--dark .xrp-basic-info__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0;
  background: transparent;
}

.xrp-basic-info--dark .xrp-basic-info__table tr {
  background: transparent;
}

.xrp-basic-info--dark .xrp-basic-info__table th,
.xrp-basic-info--dark .xrp-basic-info__table td {
      padding: 15px 20px;;
  border-right: 1px solid rgba(46, 88, 170, 0.26);
  border-bottom: 1px solid rgba(46, 88, 170, 0.26);
  vertical-align: middle;
  text-align: left;
  background: transparent;
}

.xrp-basic-info--dark .xrp-basic-info__table tr:last-child th,
.xrp-basic-info--dark .xrp-basic-info__table tr:last-child td {
  border-bottom: none;
}

.xrp-basic-info--dark .xrp-basic-info__table th:last-child,
.xrp-basic-info--dark .xrp-basic-info__table td:last-child {
  border-right: none;
}

.xrp-basic-info--dark .xrp-basic-info__table th {
  width: 27%;
  color: #d7e4ff;
  font-weight: 500;
  line-height: 1.65;
  background: rgba(255,255,255,0.01);
}

.xrp-basic-info--dark .xrp-basic-info__table td {
  color: #f4f8ff;
  font-weight: 700;
  line-height: 1.75;
  word-break: break-word;
}

.xrp-basic-info--dark .xrp-basic-info__table a {
  color: #69a7ff;
  text-decoration: none;
  font-weight: 700;
}

.xrp-basic-info--dark .xrp-basic-info__table a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .xrp-basic-info--dark .xrp-basic-info__table th,
  .xrp-basic-info--dark .xrp-basic-info__table td {
    padding: 22px 22px;
  }

  .xrp-basic-info--dark .xrp-basic-info__table th {
    width: 32%;
    font-size: 16px;
  }

  .xrp-basic-info--dark .xrp-basic-info__table td {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .xrp-basic-info--dark .xrp-basic-info__title {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .xrp-basic-info--dark .xrp-basic-info__table-wrap {
    border-radius: 20px;
    overflow-x: auto;
  }

  .xrp-basic-info--dark .xrp-basic-info__table {
    min-width: 680px;
  }

  .xrp-basic-info--dark .xrp-basic-info__table th,
  .xrp-basic-info--dark .xrp-basic-info__table td {
    padding: 18px 16px;
  }

  .xrp-basic-info--dark .xrp-basic-info__table th {
    font-size: 15px;
  }

  .xrp-basic-info--dark .xrp-basic-info__table td {
    font-size: 16px;
  }
}

/* =========================
   XRiPly SEO Block
========================= */

.xriply-seo-block {
  position: relative;
  padding: 40px 40px 0;
}

.xriply-seo-block::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 300px;
  z-index: 0;
  pointer-events: none;
  background: url("http://xriply.net/wp-content/uploads/2026/03/top-scaled-1.jpg") top center / contain no-repeat;
}

.xriply-seo-block a {
  color: #72b8ff;
  text-decoration: none;
  transition: color .25s ease, opacity .25s ease;
}

.xriply-seo-block a:hover {
  color: #b88cff;
}

.xriply-seo-head {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
  padding: 0 18px;
}

.xriply-seo-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(140, 158, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: #aeb8ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.xriply-seo-head h2 {
  margin: 0;
  color: #f3f6ff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.xriply-seo-head p {
  margin: 14px auto 0;
  color: rgba(231, 236, 255, 0.72);
  font-size: 15px;
  line-height: 1.85;
  max-width: 680px;
}

.xriply-seo-card {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(138, 156, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(9, 13, 28, 0.92), rgba(5, 8, 20, 0.96));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.015) inset,
    0 14px 44px rgba(0, 0, 0, 0.34),
    0 0 32px rgba(124, 74, 255, 0.07);
  overflow: hidden;
}

.xriply-seo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(163, 87, 255, 0.08), transparent 30%),
    linear-gradient(225deg, rgba(0, 193, 255, 0.06), transparent 28%);
  opacity: 1;
}

.xriply-seo-card > * {
  position: relative;
  z-index: 1;
}

.xriply-seo-card h3 {
  margin: 0 0 18px;
  color: #f6f8ff;
  font-size: clamp(21px, 3vw, 28px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.xriply-seo-card h4 {
  margin: 0 0 10px;
  color: #eef2ff;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.xriply-seo-card p {
  margin: 0 0 16px;
  color: rgba(233, 238, 255, 0.76);
  font-size: 16px;
  line-height: 1.95;
}

.xriply-seo-card p:last-child {
  margin-bottom: 0;
}

/* intro mini grid */
.xriply-seo-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.xriply-seo-mini-card {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(133, 150, 255, 0.12);
  box-shadow: 0 0 18px rgba(76, 93, 255, 0.05);
}

.xriply-seo-mini-card p {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.85;
}

.xriply-seo-mini-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

.xriply-seo-mini-card a::after {
  content: "›";
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

/* FAQ */
.xriply-seo-faq h3 {
  margin-bottom: 18px;
}

.xriply-faq-item {
  margin: 0 0 14px;
  border-radius: 18px;
  border: 1px solid rgba(135, 150, 255, 0.10);
  background: rgba(255, 255, 255, 0.022);
  overflow: hidden;
}

.xriply-faq-item:last-child {
  margin-bottom: 0;
}

.xriply-faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 20px;
  color: #f2f5ff;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 700;
  transition: background .25s ease, color .25s ease;
}

.xriply-faq-item summary::-webkit-details-marker {
  display: none;
}

.xriply-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #d8ddff;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(141, 157, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
}

.xriply-faq-item[open] summary {
  color: #ffffff;
}

.xriply-faq-item[open] summary::after {
  content: "–";
}

.xriply-faq-answer {
  padding: 0 20px 20px;
}

.xriply-faq-answer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
}

/* related links */
.xriply-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.xriply-link-card {
  display: block;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(137, 152, 255, 0.12);
  background: rgba(255, 255, 255, 0.026);
  box-shadow: 0 0 18px rgba(74, 90, 255, 0.05);
  transition:
    transform .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.xriply-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(163, 112, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(138, 89, 255, 0.08);
}

.xriply-link-title {
  display: block;
  margin-bottom: 8px;
  color: #f7f8ff;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
}

.xriply-link-text {
  display: block;
  color: rgba(232, 237, 255, 0.68);
  font-size: 14px;
  line-height: 1.8;
}

/* spacing inside main site width */
.xriply-seo-block {
  margin-left: auto;
  margin-right: auto;
}

/* tablet */
@media (max-width: 1024px) {
  .xriply-seo-card {
    padding: 24px;
    border-radius: 22px;
  }

  .xriply-seo-mini-grid,
  .xriply-link-grid {
    grid-template-columns: 1fr;
  }
}

/* mobile */
@media (max-width: 767px) {
  .xriply-seo-block {
    margin-top: 32px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .xriply-seo-head {
    margin-bottom: 18px;
    padding: 0 6px;
  }

  .xriply-seo-head h2 {
    font-size: 27px;
  }

  .xriply-seo-head p {
    font-size: 14px;
    line-height: 1.8;
  }

  .xriply-seo-card {
    margin-bottom: 16px;
    padding: 20px 16px;
    border-radius: 18px;
  }

  .xriply-seo-card h3 {
    margin-bottom: 14px;
    font-size: 20px;
  }

  .xriply-seo-card p {
    font-size: 14px;
    line-height: 1.85;
  }

  .xriply-seo-mini-grid {
    gap: 12px;
    margin-top: 18px;
  }

  .xriply-seo-mini-card {
    padding: 16px;
    border-radius: 16px;
  }

  .xriply-seo-mini-card h4 {
    font-size: 16px;
  }

  .xriply-seo-mini-card p,
  .xriply-seo-mini-card a,
  .xriply-faq-answer p,
  .xriply-link-text {
    font-size: 14px;
  }

  .xriply-faq-item {
    border-radius: 16px;
  }

  .xriply-faq-item summary {
    padding: 17px 48px 17px 16px;
    font-size: 15px;
    line-height: 1.55;
  }

  .xriply-faq-answer {
    padding: 0 16px 16px;
  }

  .xriply-link-card {
    padding: 16px;
    border-radius: 16px;
  }

  .xriply-link-title {
    font-size: 15px;
  }
}

/* =========================
   XRiPly Guide Links - Dark Fit
========================= */

.xriply-guide-links--dark {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 6px;
}

.xriply-guide-links--dark .xriply-guide-links__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(110, 145, 255, 0.18);
  background: rgba(17, 24, 39, 0.72);
  color: #d9e7ff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 8px 24px rgba(0,0,0,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease,
    color .2s ease,
    box-shadow .2s ease;
}

.xriply-guide-links--dark .xriply-guide-links__btn:hover {
  transform: translateY(-1px);
  border-color: rgba(104, 176, 255, 0.42);
  background: rgba(21, 30, 50, 0.92);
  color: #ffffff;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 12px 28px rgba(0,0,0,0.24);
}

.xriply-guide-links--dark .xriply-guide-links__btn:focus {
  outline: none;
  text-decoration: none;
  box-shadow:
    0 0 0 3px rgba(83, 177, 255, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 12px 28px rgba(0,0,0,0.24);
}

/* 主ボタンだけ少しだけ強く */
.xriply-guide-links--dark .xriply-guide-links__btn--primary {
  border-color: rgba(108, 134, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.22) 0%, rgba(59, 130, 246, 0.22) 100%),
    rgba(17, 24, 39, 0.88);
  color: #f3f7ff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 10px 26px rgba(42, 78, 170, 0.16);
}

.xriply-guide-links--dark .xriply-guide-links__btn--primary:hover {
  border-color: rgba(110, 170, 255, 0.44);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.30) 0%, rgba(59, 130, 246, 0.30) 100%),
    rgba(18, 26, 44, 0.96);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 14px 32px rgba(42, 78, 170, 0.22);
}

@media (max-width: 768px) {
  .xriply-guide-links--dark {
    gap: 10px;
    margin: 22px 0 4px;
  }

  .xriply-guide-links--dark .xriply-guide-links__btn {
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }
}