/**
 * WordPress theme isolation — overrides theme CSS only.
 * Shared FXchart styles: frontend/style.css
 */

/* Cocoon: center dashboard when wider than content column */
#fxchart-root {
  isolation: isolate;
  position: relative;
  z-index: 1;
}

#fxchart-root .fxchart-wp-shell {
  flex: 0 0 auto;
  width: var(--page-max-width, 800px);
  max-width: var(--page-max-width, 800px);
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
}

/* Restore table layout (themes often force display:block) */
#fxchart-root table {
  display: table !important;
  border-collapse: separate;
  width: auto;
  max-width: none;
}

#fxchart-root table tbody {
  display: table-row-group !important;
}

#fxchart-root table tr {
  display: table-row !important;
}

#fxchart-root table td,
#fxchart-root table th {
  display: table-cell !important;
  vertical-align: top;
}

#fxchart-root .widgets-layout-table,
#fxchart-root .price-cards-table,
#fxchart-root .analysis-widgets-table {
  table-layout: fixed !important;
}

#fxchart-root .widgets-row,
#fxchart-root .widgets-column {
  box-sizing: border-box !important;
  align-items: center !important;
  align-self: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#fxchart-root .widgets-layout-table {
  margin-left: auto !important;
  margin-right: auto !important;
}

#fxchart-root #sentiment.card,
#fxchart-root #analysis.card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  flex: none !important;
  overflow: hidden !important;
}

#fxchart-root .fx-analysis-stack .analysis-grid {
  display: grid !important;
  align-content: space-between !important;
  align-items: center !important;
  text-align: left !important;
}

#fxchart-root .fx-analysis-stack .analysis-grid-left,
#fxchart-root .fx-analysis-stack .analysis-grid-metric {
  text-align: left !important;
}

#fxchart-root .fx-analysis-stack .analysis-grid-right,
#fxchart-root .fx-analysis-stack .analysis-grid-meta {
  text-align: right !important;
}

#fxchart-root .fx-analysis-stack .ta-panel,
#fxchart-root .fx-analysis-stack .ta-row {
  text-align: left !important;
}

#fxchart-root .futures-mini-col,
#fxchart-root .futures-mini-sidebar,
#fxchart-root .futures-mini-card {
  pointer-events: auto !important;
}


#fxchart-root article.futures-mini-card,
#fxchart-root .futures-mini-card {
  background: rgba(255, 255, 255, 0.03) !important;
  background-color: rgba(255, 255, 255, 0.03) !important;
  background-image: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
}

#fxchart-root article.futures-mini-card.futures-mini-closed,
#fxchart-root .futures-mini-card.futures-mini-closed,
#fxchart-root #futures-mini-nikkei.nikkei-spot-closed,
#fxchart-root article.futures-mini-card.nikkei-spot-closed {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

#fxchart-root img:not(canvas) {
  max-width: 100%;
  height: auto;
}

/* Sparkline canvas — theme img rules */
#fxchart-root canvas.sparkline {
  max-width: none !important;
  width: 100% !important;
  height: 26px !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  margin: 0 !important;
}

.live-comment-controls .live-comment-control-group {
  position: relative !important;
}

#live-comment-tier-popup {
  flex-direction: row !important;
  gap: 6px !important;
}

.price-card.flat .change{
  color:var(--muted) !important;
}

/* Cocoon / WP wrappers — full width */
html:has(#fxchart-root),
html.fxchart-front-page-js {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  background-color: #000 !important;
}

body:has(#fxchart-root),
body.fxchart-front-page-js {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  background: transparent !important;
}

html:has(#fxchart-root)::after,
html.fxchart-front-page-js::after {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: -2 !important;
  pointer-events: none !important;
  background-color: var(--page-bg-base, #020408) !important;
  background: var(--page-bg-ambient) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

html:has(#fxchart-root)::before,
html.fxchart-front-page-js::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  background: var(--page-bg-scrim, linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.22) 100%)) !important;
}

body.fxchart-front-page-js #fxchart-root {
  width: 100% !important;
  max-width: none !important;
}

body.fxchart-front-page-js .fxchart-header-nav{
  width:100%;
  max-width:var(--page-max-width, 800px);
  margin:0 auto;
  padding:10px 16px 8px;
  box-sizing:border-box;
  border-bottom:1px solid rgba(255,255,255,0.08);
  background:rgba(0,0,0,0.86);
  backdrop-filter:saturate(120%) blur(6px);
}

body.fxchart-front-page-js .fxchart-menu{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:8px 12px;
  list-style:none;
  margin:0;
  padding:0;
}

body.fxchart-front-page-js .fxchart-menu > li{
  margin:0;
  padding:0;
}

body.fxchart-front-page-js .fxchart-menu a{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:999px;
  color:rgba(241,245,249,0.92);
  text-decoration:none;
  font-size:0.92rem;
  line-height:1.2;
  transition:background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  border:1px solid transparent;
}

body.fxchart-front-page-js .fxchart-menu a:hover,
body.fxchart-front-page-js .fxchart-menu a:focus-visible{
  background:rgba(56,189,248,0.12);
  border-color:rgba(56,189,248,0.28);
  color:#e0f2fe;
  outline:none;
}

body.fxchart-front-page-js #container,
body.fxchart-front-page-js #content,
body.fxchart-front-page-js #main,
body.fxchart-front-page-js .content,
body.fxchart-front-page-js .content-in,
body.fxchart-front-page-js .main-in,
body.fxchart-front-page-js .entry-content,
body.fxchart-front-page-js .article {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 auto !important;
  float: none !important;
}

/* Cocoon child: 余白・nav 非表示を打ち消す */
body.fxchart-front-page-js #wrap,
body.fxchart-front-page-js #container,
body.fxchart-front-page-js #content,
body.fxchart-front-page-js #main {
  min-height: 0 !important;
}


/* なぞのサイト説明ーーーーーーーーーーーーーーーーーー 

#fxchart-root .seo-content{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding: clamp(28px, 4vw, 48px) var(--safe-inline, 18px) 0;
  box-sizing:border-box;
  opacity:0.3;
}

#fxchart-root .page-header{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:4px;
  background:linear-gradient(180deg,rgba(2,5,14,0.95),rgba(0,0,0,0.95));
  border-bottom:1px solid rgba(216,177,95,0.12);
  padding:12px var(--safe-inline,18px);
}

#fxchart-root #page-title{
  display:block;
  font-weight:800;
  color:#fdf6ec;
  font-size:clamp(2.2rem, 4vw, 3rem);
  letter-spacing:0.45rem;
  margin:0;
  text-shadow:0 6px 25px rgba(0,0,0,0.45);
  text-align:center;
}

#fxchart-root .page-header .site-description{
  font-size:0.92rem;
  letter-spacing:0.08rem;
  text-transform:uppercase;
  text-align:center;
}

#fxchart-root .seo-content .container{
  max-width:1200px;
  margin:0 auto;
  padding:10px;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:12px;
  box-sizing:border-box;
}

#fxchart-root .seo-content h2{
  margin:0 0 7px;
  color:var(--text, #f0f0f0);
  font-size:clamp(0.7rem, 1vw, 0.85rem);
  line-height:1.35;
  letter-spacing:0.02em;
}

#fxchart-root .seo-content p{
  margin:0;
  color:var(--text, #f0f0f0);
  font-size:clamp(0.5rem, 0.8vw, 0.55rem);
  line-height:1.8;
  letter-spacing:0.01em;
}


@media (max-width: 768px){
  body.fxchart-front-page-js .fxchart-header-nav{
    padding:8px 12px 6px;
  }
  body.fxchart-front-page-js .fxchart-menu{
    justify-content:flex-start;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  body.fxchart-front-page-js .fxchart-menu::-webkit-scrollbar{
    display:none;
  }
  #fxchart-root .seo-content{
    padding: 24px 16px 0;
  }
  #fxchart-root .seo-content .container{
    padding:10px;
  }
  #fxchart-root .seo-content h2{
    font-size:0.72rem;
  }
  #fxchart-root .seo-content p{
    font-size:0.5rem;
    line-height:1.75;
  }
}
*/

/* Site description  フッター プライバシーポリシー 免責事項 問い合わせ 規約 タイトル説明
.site-description{
  font-size:14px;
  opacity:0.8;
}

.fx-layout-top .page-header{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
}

.fx-layout-top .page-header h1{
  color:#fdf7eb;
  font-size:clamp(2rem, 4vw, 2.8rem);
  letter-spacing:0.4rem;
  margin:0;
}

.fx-layout-top .page-header .site-description{
  font-size:0.92rem;
  letter-spacing:0.08rem;
  text-transform:uppercase;
}

.onecobull-footer-legal {
  width: 100%;
  padding: 24px 16px 32px;
  box-sizing: border-box;
  text-align: center;
  color: #ffffff;
  font-size: 0.90rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.onecobull-footer-legal__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.onecobull-footer-legal__copy {
  margin-bottom: 6px;
}

.onecobull-footer-legal__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.55rem;
}

.onecobull-footer-legal__nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.43rem;
}

.onecobull-footer-legal__nav a:hover,
.onecobull-footer-legal__nav a:focus-visible {
  color: #7dd3fc;
  text-decoration: underline;
  outline: none;
}

.onecobull-footer-legal__nav span {
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 768px) {
  .onecobull-footer-legal {
    padding: 18px 14px 24px;
    font-size: 0.72rem;
  }
}

.seo-content{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:clamp(28px, 4vw, 48px) var(--safe-inline) clamp(36px, 5vw, 64px);
  opacity:0.3;
  margin-bottom:5px;
}

.seo-content .container{
  max-width:1200px;
  margin:0 auto;
  padding:10px;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:12px;
}

.onecobull-about{
    position: relative;
    background: rgba(6,12,22,0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(216,177,95,0.15);
    border-left: 4px solid #d8b15f;
    border-radius: 16px;
    padding: 24px 28px;
    overflow: hidden;
    box-shadow:
        0 0 30px rgba(216,177,95,0.06),
        inset 0 0 30px rgba(255,255,255,0.02);
    transition: all .3s ease;
}

.onecobull-about:hover{
    transform: translateY(-2px);
    box-shadow:
        0 10px 40px rgba(0,0,0,.4),
        0 0 35px rgba(216,177,95,.12);
}

.onecobull-about h2{
    color:#d8b15f;
    font-size:24px;
    font-weight:700;
    margin-bottom:15px;
    letter-spacing:1px;
    text-shadow:0 0 10px rgba(216,177,95,.25);
}

.onecobull-about p{
    color:#c8d0d8;
    line-height:2;
    font-size:14px;
}

.onecobull-about::before{
    content:"MARKET INTELLIGENCE";
    position:absolute;
    top:14px;
    right:20px;
    font-size:10px;
    letter-spacing:2px;
    color:#d8b15f;
    opacity:.6;
}

.onecobull-about::after{
    content:"🐂";
    position:absolute;
    right:20px;
    bottom:-10px;
    font-size:90px;
    opacity:.04;
    pointer-events:none;
}

.seo-content h2{
  margin:0 0 7px;
  color:var(--text);
  font-size:clamp(0.7rem, 1vw, 0.85rem);
  line-height:1.35;
  letter-spacing:0.02em;
}

.seo-content p{
  margin:0;
  color:var(--text);
  font-size:clamp(0.5rem, 0.8vw, 0.55rem);
  line-height:1.8;
  letter-spacing:0.01em;
}

.seo-note{
  margin-top:10px;
  font-size:0.8rem;
  color:rgba(255,255,255,0.68);
  line-height:1.7;
}

@media (max-width: 768px){
  .seo-content{
    padding:24px 16px 44px;
  }
  .seo-content .container{
    padding:10px;
  }
  .seo-content h2{
    font-size:0.72rem;
  }
  .seo-content p{
    font-size:0.5rem;
    line-height:1.75;
  }
}

ここまで　*/


.fxchart-contact-page{
  margin:0;
  min-height:100vh;
  background:#000;
  color:var(--text, #f0f0f0);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.onecobull-footer-legal{
  width:100%;
  padding:clamp(20px,4vw,30px) var(--safe-inline, 18px);
  box-sizing:border-box;
  background:linear-gradient(180deg,rgba(2,5,14,0.95),rgba(0,0,0,0.95));
  border-top:1px solid rgba(216,177,95,0.12);
  color:#f7f5f0;
}

.onecobull-footer-legal__inner{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:center;
}

.onecobull-footer-legal__copy{
  font-size:0.78rem;
  letter-spacing:0.08em;
  opacity:0.7;
  text-transform:uppercase;
}

body.fxchart-front-page-js .onecobull-footer-legal__nav,
.onecobull-footer-legal__nav{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:1px 1px;
  justify-content:center;
  align-items:center;
  visibility:visible !important;
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
  opacity:1 !important;
}

body.fxchart-front-page-js .onecobull-footer-legal__nav a,
body.fxchart-front-page-js .onecobull-footer-legal__nav span,
.onecobull-footer-legal__nav a{
  color:#d8b15f;
  text-decoration:none;
  font-size:0.95rem !important;
  letter-spacing:0.12em;
  text-transform:uppercase;
  transition:color .25s ease, transform .25s ease;
  position:relative;
  padding-bottom:2px;
  visibility:visible !important;
  opacity:1 !important;
}

.onecobull-footer-legal__nav span{
  visibility:visible !important;
  opacity:1 !important;
  color:rgba(216,177,95,0.55);
}

.onecobull-footer-legal__nav a::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:6px;
  height:1px;
  background:#d8b15f;
  transform:translateX(-50%) scaleX(0);
  transform-origin:center;
  transition:transform .25s ease;
  opacity:0;
}


.onecobull-footer-legal__nav a:hover{
  color:#fef6df;
}

.onecobull-footer-legal__nav a:hover::after{
  opacity:1;
  transform:translateX(-50%) scaleX(1);
}

@media (max-width:480px){
  .onecobull-footer-legal{
    padding:24px 16px;
  }
  .onecobull-footer-legal__copy{
    letter-spacing:0.12em;
  }
  .onecobull-footer-legal__nav{
    gap:10px;
  }
}

/* Cocoon child wp_footer 側の複製フッターを非表示（#fxchart-root 内を正とする） */
body.fxchart-front-page-js .onecobull-footer-legal:not(.onecobull-footer-legal--in-root){
  display:none !important;
}

#fxchart-root .onecobull-footer-legal--in-root{
  display:block !important;
  position:relative !important;
  z-index:2 !important;
  width:100% !important;
}


.fx-contact-page{
  width:100%;
  min-height:100vh;
  padding:32px 16px 56px;
  box-sizing:border-box;
  position:relative;
  isolation:isolate;
  background:#000;
}

.fx-contact-page::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-color:var(--page-bg-base,#020408);
  background-image:var(--page-bg-ambient);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
}

.fx-contact-container{
  width:100%;
  max-width:500px;
  margin:0 auto;
  position:relative;
  z-index:1;
}

.fx-contact-hero,
.fx-contact-form-section,
.fx-contact-notes{
  margin:0 0 24px;
}

.fx-contact-eyebrow{
  margin:0 0 8px;
  color:#7dd3fc;
  font-size:0.85rem;
  letter-spacing:0.16em;
  text-transform:uppercase;
}

.fx-contact-page h1,
.fx-contact-page h2{
  margin:0;
  color:#f8fafc;
  line-height:1.35;
}

.fx-contact-page h1{
  font-size:clamp(1.45rem, 2.4vw, 2rem);
}

.fx-contact-page h2{
  font-size:clamp(0.95rem, 1.7vw, 1.2rem);
  margin-bottom:10px;
}

.fx-contact-lead{
  margin:12px 0 0;
  max-width:72ch;
  color:rgba(241,245,249,0.82);
  font-size:0.88rem;
  line-height:1.75;
}

.fx-contact-form-box{
  padding:16px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  background:rgba(255,255,255,0.03);
  box-shadow:none;
  backdrop-filter:blur(2px);
}

.fx-contact-form-box .wpcf7,
.fx-contact-form-box .wpcf7 form,
.fx-contact-form-box .wpcf7 form > p,
.fx-contact-form-box .wpcf7 form > div{
  margin:0;
}

.fx-contact-form-box .wpcf7 form{
  margin:0;
}

.fx-contact-form-box .wpcf7-form{
  display:grid;
  gap:10px;
}

.fx-contact-form-box .wpcf7-form p{
  margin:0;
}

.fx-contact-form-box .wpcf7-form label{
  display:block;
  margin:0 0 6px;
  color:#cbd5e1;
  font-size:0.82rem;
}

.fx-contact-form-box .wpcf7-form input[type="text"],
.fx-contact-form-box .wpcf7-form input[type="email"],
.fx-contact-form-box .wpcf7-form input[type="tel"],
.fx-contact-form-box .wpcf7-form input[type="url"],
.fx-contact-form-box .wpcf7-form textarea,
.fx-contact-form-box .wpcf7-form select{
  width:100%;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.14);
  background:#0b0b0b;
  color:#f8fafc;
  box-sizing:border-box;
  font-size:0.88rem;
}

.fx-contact-form-box .wpcf7-form textarea{
  min-height:140px;
  resize:vertical;
}

.fx-contact-form-box .wpcf7-form input::placeholder,
.fx-contact-form-box .wpcf7-form textarea::placeholder{
  color:rgba(148,163,184,0.8);
}

.fx-contact-form-box .wpcf7-form input[type="submit"],
.fx-contact-form-box .wpcf7-form button{
  padding:10px 16px;
  border:1px solid rgba(125,211,252,0.35);
  border-radius:999px;
  background:rgba(56,189,248,0.15);
  color:#e0f2fe;
  font-weight:600;
  font-size:0.85rem;
  cursor:pointer;
}

.fx-contact-form-box .wpcf7-response-output{
  margin:12px 0 0 !important;
  padding:12px 14px !important;
  border-radius:10px;
  background:rgba(255,255,255,0.04);
  color:#f8fafc;
  border:1px solid rgba(255,255,255,0.12) !important;
}

.fx-contact-form-box .wpcf7-not-valid-tip{
  margin-top:6px;
  color:#fca5a5;
  font-size:0.85rem;
}

.fx-contact-notes-list{
  margin:0;
  padding-left:1.2em;
  color:rgba(241,245,249,0.86);
  font-size:0.84rem;
  line-height:1.7;
}

@media (max-width: 768px){
  .fx-contact-page{
    padding:24px 14px 44px;
  }
  .fx-contact-container{
    max-width:100%;
  }
  .fx-contact-form-box{
    padding:14px;
  }
  .fx-contact-form-box .wpcf7-form{
    gap:10px;
  }
}

.fx-disclaimer-page{
  margin:0;
  min-height:100vh;
  background:#000;
  color:var(--text, #f0f0f0);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.fx-disclaimer-page{
  position:relative;
  isolation:isolate;
  padding:32px 16px 56px;
  box-sizing:border-box;
}

.fx-disclaimer-page::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-color:var(--page-bg-base,#020408);
  background-image:var(--page-bg-ambient);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
}

.fx-disclaimer-container{
  width:100%;
  max-width:900px;
  margin:0 auto;
  position:relative;
  z-index:1;
}

.fx-disclaimer-hero,
.fx-disclaimer-content{
  margin:0 0 24px;
}

.fx-disclaimer-eyebrow{
  margin:0 0 8px;
  color:#7dd3fc;
  font-size:0.85rem;
  letter-spacing:0.16em;
  text-transform:uppercase;
}

.fx-disclaimer-page h1,
.fx-disclaimer-page h2{
  margin:0;
  color:#f8fafc;
  line-height:1.35;
}

.fx-disclaimer-page h1{
  font-size:clamp(1.45rem, 2.4vw, 2rem);
}

.fx-disclaimer-page h2{
  margin-bottom:10px;
  font-size:clamp(0.95rem, 1.7vw, 1.2rem);
}

.fx-disclaimer-lead{
  margin:12px 0 0;
  color:rgba(241,245,249,0.82);
  font-size:0.88rem;
  line-height:1.75;
  max-width:72ch;
}

.fx-disclaimer-box{
  padding:16px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  background:rgba(255,255,255,0.03);
  backdrop-filter:blur(2px);
}

.fx-disclaimer-box p{
  margin:0;
  color:#e5e7eb;
  font-size:0.88rem;
  line-height:1.9;
  white-space:normal;
}

@media (max-width: 768px){
  .fx-disclaimer-page{
    padding:24px 14px 44px;
  }
  .fx-disclaimer-container{
    max-width:100%;
  }
}

.fx-privacy-policy-page{
  margin:0;
  min-height:100vh;
  background:#000;
  color:var(--text, #f0f0f0);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  position:relative;
  isolation:isolate;
  padding:32px 16px 56px;
  box-sizing:border-box;
}

.fx-privacy-policy-page::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-color:var(--page-bg-base,#020408);
  background-image:var(--page-bg-ambient);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
}

.fx-privacy-policy-container{
  width:100%;
  max-width:900px;
  margin:0 auto;
  position:relative;
  z-index:1;
}

.fx-privacy-policy-hero,
.fx-privacy-policy-content{
  margin:0 0 24px;
}

.fx-privacy-policy-eyebrow{
  margin:0 0 8px;
  color:#7dd3fc;
  font-size:0.85rem;
  letter-spacing:0.16em;
  text-transform:uppercase;
}

.fx-privacy-policy-page h1,
.fx-privacy-policy-page h2{
  margin:0;
  color:#f8fafc;
  line-height:1.35;
}

.fx-privacy-policy-page h1{
  font-size:clamp(1.45rem, 2.4vw, 2rem);
}

.fx-privacy-policy-page h2{
  margin-bottom:10px;
  font-size:clamp(0.95rem, 1.7vw, 1.2rem);
}

.fx-privacy-policy-lead{
  margin:12px 0 0;
  color:rgba(241,245,249,0.82);
  font-size:0.88rem;
  line-height:1.75;
  max-width:72ch;
}

.fx-privacy-policy-box{
  padding:16px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  background:rgba(255,255,255,0.03);
  backdrop-filter:blur(2px);
}

.fx-privacy-policy-box p{
  margin:0;
  color:#e5e7eb;
  font-size:0.88rem;
  line-height:1.9;
  white-space:normal;
}

@media (max-width: 768px){
  .fx-privacy-policy-page{
    padding:24px 14px 44px;
  }
  .fx-privacy-policy-container{
    max-width:100%;
  }
}

.fx-terms-page{
  margin:0;
  min-height:100vh;
  background:#000;
  color:var(--text, #f0f0f0);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  position:relative;
  isolation:isolate;
  padding:32px 16px 56px;
  box-sizing:border-box;
}

.fx-terms-page::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-color:var(--page-bg-base,#020408);
  background-image:var(--page-bg-ambient);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
}

.fx-terms-container{
  width:100%;
  max-width:900px;
  margin:0 auto;
  position:relative;
  z-index:1;
}

.fx-terms-hero,
.fx-terms-content{
  margin:0 0 24px;
}

.fx-terms-eyebrow{
  margin:0 0 8px;
  color:#7dd3fc;
  font-size:0.85rem;
  letter-spacing:0.16em;
  text-transform:uppercase;
}

.fx-terms-page h1,
.fx-terms-page h2{
  margin:0;
  color:#f8fafc;
  line-height:1.35;
}

.fx-terms-page h1{
  font-size:clamp(1.45rem, 2.4vw, 2rem);
}

.fx-terms-page h2{
  margin-bottom:10px;
  font-size:clamp(0.95rem, 1.7vw, 1.2rem);
}

.fx-terms-lead{
  margin:12px 0 0;
  color:rgba(241,245,249,0.82);
  font-size:0.88rem;
  line-height:1.75;
  max-width:72ch;
}

.fx-terms-box{
  padding:16px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  background:rgba(255,255,255,0.03);
  backdrop-filter:blur(2px);
}

.fx-terms-box p{
  margin:0;
  color:#e5e7eb;
  font-size:0.88rem;
  line-height:1.9;
  white-space:normal;
}

@media (max-width: 768px){
  .fx-terms-page{
    padding:24px 14px 44px;
  }
  .fx-terms-container{
    max-width:100%;
  }
}

.fx-ad-policy-page{
  margin:0;
  min-height:100vh;
  background:#000;
  color:var(--text, #f0f0f0);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  position:relative;
  isolation:isolate;
  padding:32px 16px 56px;
  box-sizing:border-box;
}

.fx-ad-policy-page::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-color:var(--page-bg-base,#020408);
  background-image:var(--page-bg-ambient);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
}

.fx-ad-policy-container{
  width:100%;
  max-width:900px;
  margin:0 auto;
  position:relative;
  z-index:1;
}

.fx-ad-policy-hero,
.fx-ad-policy-content{
  margin:0 0 24px;
}

.fx-ad-policy-eyebrow{
  margin:0 0 8px;
  color:#7dd3fc;
  font-size:0.85rem;
  letter-spacing:0.16em;
  text-transform:uppercase;
}

.fx-ad-policy-page h1,
.fx-ad-policy-page h2{
  margin:0;
  color:#f8fafc;
  line-height:1.35;
}

.fx-ad-policy-page h1{
  font-size:clamp(1.45rem, 2.4vw, 2rem);
}

.fx-ad-policy-page h2{
  margin-bottom:10px;
  font-size:clamp(0.95rem, 1.7vw, 1.2rem);
}

.fx-ad-policy-lead{
  margin:12px 0 0;
  color:rgba(241,245,249,0.82);
  font-size:0.88rem;
  line-height:1.75;
  max-width:72ch;
}

.fx-ad-policy-box{
  padding:16px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  background:rgba(255,255,255,0.03);
  backdrop-filter:blur(2px);
}

.fx-ad-policy-box p{
  margin:0;
  color:#e5e7eb;
  font-size:0.88rem;
  line-height:1.9;
  white-space:normal;
}

@media (max-width: 768px){
  .fx-ad-policy-page{
    padding:24px 14px 44px;
  }
  .fx-ad-policy-container{
    max-width:100%;
  }
}

/* フッター下の余白を除去 */
#fxchart-root {
  min-height: 0 !important;
}

#fxchart-root .fxchart-wp-shell {
  min-height: 0 !important;
}

#fxchart-root main.page {
  min-height: 0 !important;
}