/*
Theme Name: Exness 情報ガイド
Theme URI: https://exness.money-charger.com/
Author: money-charger
Author URI: https://money-charger.com/
Description: Exness 情報ガイド専用のシンプルな1カラムテーマ。黒×ゴールド配色のフルワイドレイアウト。
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.0
License: Proprietary
Text Domain: exness-guide
*/

/* ---- Reset ---- */
*,*::before,*::after{box-sizing:border-box;}
html{font-size:16px;-webkit-text-size-adjust:100%;}
body{margin:0;font-family:"Noto Sans JP","Hiragino Sans","Yu Gothic UI",Meiryo,sans-serif;color:#333;line-height:1.8;background:#fff;letter-spacing:0.02em;-webkit-font-smoothing:antialiased;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;height:auto;display:block;}
button{font:inherit;}

/* ---- Layout ---- */
.ex-wrap{max-width:1226px;margin:0 auto;padding:0 16px;}

/* ---- Buttons ---- */
.ex-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 28px;border-radius:4px;font-weight:700;font-size:15px;letter-spacing:.04em;transition:all .2s ease;cursor:pointer;border:0;text-align:center;}
.ex-btn-primary{background:#ffcf01;color:#1a1a1a;box-shadow:0 2px 0 #b28500;}
.ex-btn-primary:hover{background:#ffd933;transform:translateY(-1px);box-shadow:0 4px 0 #b28500;}
.ex-btn-dark{background:#1a1a1a;color:#fff;}
.ex-btn-dark:hover{background:#333;}
.ex-btn-ghost{background:transparent;color:#1a1a1a;border:1px solid #ddd;}
.ex-btn-ghost:hover{border-color:#1a1a1a;}
.ex-btn-lg{padding:18px 40px;font-size:17px;}

/* ---- Header / Nav (image-spec layout) ---- */
.ex-header{background:#fff;border-bottom:6px solid #ffcf01;position:relative;z-index:50;}
.ex-header-inner{max-width:1226px;margin:0 auto;padding:0 16px;height:130px;display:flex;align-items:stretch;}
.ex-logo{width:130px;background:#1a1a1a;color:#ffcf01;display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;font-weight:700;letter-spacing:.05em;margin-right:24px;flex-shrink:0;z-index:2;}
.ex-logo .lt{font-size:13px;line-height:1;margin-bottom:6px;}
.ex-logo .lb{font-size:24px;line-height:1;letter-spacing:.08em;font-weight:900;}
.ex-header-right{flex:1;display:flex;flex-direction:column;min-width:0;}
.ex-utility{display:flex;align-items:center;gap:18px;padding:14px 0 10px;font-size:13px;}
.ex-lang{display:inline-flex;align-items:center;gap:6px;color:#333;}
.ex-lang::before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;background:#ba1a1a;}
.ex-util-spacer{flex:1;}
.ex-utility .util-link{color:#333;font-size:13px;white-space:nowrap;}
.ex-utility .util-link:hover{color:#b28500;}
.ex-cta-real,.ex-cta-login{display:inline-block;padding:9px 20px;font-weight:700;font-size:13px;border-radius:2px;line-height:1;text-decoration:none;white-space:nowrap;}
.ex-cta-real{background:#ffcf01;color:#1a1a1a;box-shadow:0 3px 0 #b28500;}
.ex-cta-real:hover{background:#ffd827;}
.ex-cta-login{background:#e8e8e8;color:#1a1a1a;box-shadow:0 3px 0 #aaa;}
.ex-cta-login:hover{background:#f0f0f0;}
.ex-nav-cards{display:flex;gap:12px;align-items:stretch;}
.ex-nav-card{flex:1;background:#fff;border:1px solid #ddd;border-bottom:none;display:flex;align-items:center;padding:12px 16px;color:#1a1a1a;text-decoration:none;}
.ex-nav-card:hover{background:#fffaeb;}
.ex-nav-card .nt{font-size:17px;font-weight:700;color:#1a1a1a;margin-right:14px;white-space:nowrap;}
.ex-nav-card .nd{font-size:13px;color:#666;flex:1;}
.ex-nav-card .nx{font-size:10px;color:#ffcf01;margin-left:8px;}
.ex-burger{display:none;border:0;background:transparent;width:40px;height:40px;cursor:pointer;align-items:center;justify-content:center;flex-direction:column;gap:5px;align-self:center;}
.ex-burger span{width:22px;height:2px;background:#1a1a1a;display:block;transition:.2s;}
@media (max-width:1024px){
  .ex-header-inner{height:auto;padding:0;}
  .ex-logo{width:auto;height:60px;flex-direction:row;gap:8px;margin:0;padding:0 20px;}
  .ex-logo .lt{margin:0;}
  .ex-header-right{padding:0 16px 12px;}
  .ex-utility{flex-wrap:wrap;gap:10px;}
  .ex-utility .util-link{display:none;}
  .ex-nav-cards{display:none;}
  .ex-burger{display:flex;position:absolute;right:8px;top:12px;}
}

/* Mobile Drawer */
.ex-drawer{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:90;display:none;}
.ex-drawer.open{display:block;}
.ex-drawer-panel{position:absolute;right:0;top:0;bottom:0;width:84%;max-width:340px;background:#fff;padding:24px;overflow-y:auto;}
.ex-drawer-panel .close{font-size:24px;background:transparent;border:0;cursor:pointer;float:right;}
.ex-drawer-panel a{display:block;padding:14px 0;border-bottom:1px solid #eee;font-weight:600;color:#1a1a1a;}
.ex-drawer-panel .ex-btn{width:100%;margin-top:16px;}

/* ---- Sub Hero (lower pages) ---- */
.ex-subhero{background:linear-gradient(135deg,#1a1a1a 0%,#0d0d0d 60%,#1a1a1a 100%);color:#fff;padding:60px 0 64px;position:relative;overflow:hidden;}
.ex-subhero::before{content:"";position:absolute;left:0;top:0;width:100%;height:4px;background:#ffcf01;}
.ex-subhero::after{content:"";position:absolute;right:-120px;top:50%;transform:translateY(-50%);width:360px;height:360px;background:radial-gradient(circle,rgba(255,207,1,.12) 0%,transparent 70%);}
.ex-subhero .crumb{font-size:12px;letter-spacing:.18em;color:#ffcf01;margin:0 0 16px;font-weight:700;}
.ex-subhero h1{font-size:clamp(26px,3.5vw,38px);font-weight:800;margin:0 0 16px;letter-spacing:.02em;line-height:1.4;color:#fff;}
.ex-subhero p{font-size:15px;opacity:.88;max-width:740px;margin:0;}

/* ---- Top Hero (image-spec) ---- */
.ex-hero{position:relative;height:540px;overflow:hidden;background:#1a1a1a url("https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?w=1800&q=80") center/cover no-repeat;}
.ex-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.20) 50%,rgba(0,0,0,.55) 100%);}
.ex-hero-inner{position:relative;z-index:2;max-width:1226px;margin:0 auto;height:100%;padding:0 60px;display:flex;flex-direction:column;justify-content:center;}
.ex-hero-line1{display:inline-block;background:#ffcf01;color:#1a1a1a;font-size:38px;font-weight:900;padding:10px 22px;margin-bottom:18px;align-self:flex-start;letter-spacing:.02em;line-height:1.1;}
.ex-hero-line1 sup{font-size:14px;vertical-align:super;}
.ex-hero-line2{display:inline-block;background:#ffcf01;color:#1a1a1a;font-size:26px;font-weight:700;padding:12px 24px;align-self:flex-start;line-height:1.2;}
.ex-hero-note{position:absolute;right:24px;bottom:24px;color:#fff;font-size:12px;line-height:1.7;text-align:left;background:rgba(0,0,0,.45);padding:10px 14px;max-width:480px;border-left:3px solid #ffcf01;}
.ex-hero-note .ast{color:#ffcf01;font-weight:700;}
.ex-stickycta{background:#1a1a1a;color:#fff;padding:18px 20px;display:flex;align-items:center;justify-content:center;gap:30px;flex-wrap:wrap;}
.ex-stickycta .t{font-size:18px;font-weight:700;}
.ex-stickycta .b{display:inline-block;background:transparent;color:#ffcf01;border:2px solid #ffcf01;padding:10px 36px;font-weight:700;font-size:16px;text-decoration:none;letter-spacing:.04em;}
.ex-stickycta .b:hover{background:#ffcf01;color:#1a1a1a;}
@media (max-width:960px){
  .ex-hero{height:380px;}
  .ex-hero-inner{padding:0 20px;}
  .ex-hero-line1{font-size:24px;padding:8px 16px;}
  .ex-hero-line2{font-size:17px;padding:10px 18px;}
  .ex-hero-note{position:static;margin:0 16px;max-width:none;}
  .ex-stickycta{flex-direction:column;gap:14px;text-align:center;}
  .ex-stickycta .t{font-size:15px;}
}

/* ---- Section ---- */
.ex-section{padding:80px 0;}
.ex-section-alt{background:#fafafa;}
.ex-section-dark{background:#1a1a1a;color:#fff;}
.ex-section-dark p,.ex-section-dark li{color:#dcdcdc;}
.ex-section-dark h2,.ex-section-dark h3{color:#fff;}
.ex-section-head{text-align:center;margin-bottom:48px;}
.ex-section-head .eyebrow{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.18em;color:#b28500;padding:6px 14px;background:rgba(255,207,1,.16);border-radius:2px;margin-bottom:14px;}
.ex-section-dark .ex-section-head .eyebrow{background:rgba(255,207,1,.2);color:#ffcf01;}
.ex-section h2{font-size:clamp(24px,3vw,34px);font-weight:800;margin:0 0 16px;letter-spacing:.01em;line-height:1.4;color:#1a1a1a;}
.ex-section h2.center{text-align:center;}
.ex-section h2 .accent{color:#b28500;}
.ex-section-dark h2 .accent{color:#ffcf01;}
.ex-section h2 .underline{position:relative;display:inline-block;}
.ex-section h2 .underline::after{content:"";position:absolute;left:0;bottom:-6px;width:100%;height:6px;background:#ffcf01;opacity:.6;z-index:-1;}
.ex-section .ex-sub{color:#666;margin:0 0 44px;font-size:15px;}
.ex-section-dark .ex-sub{color:#bbb;}
.ex-section .ex-sub.center{text-align:center;}
.ex-section h3{font-size:20px;font-weight:700;margin:32px 0 12px;color:#1a1a1a;}
.ex-section p{margin:0 0 14px;}

/* ---- Topics ticker ---- */
.ex-topics{background:#fff;border-top:1px solid #ddd;border-bottom:1px solid #ddd;padding:14px 0;}
.ex-topics-inner{display:flex;align-items:center;gap:18px;flex-wrap:wrap;}
.ex-topics .label{display:inline-block;background:#1a1a1a;color:#ffcf01;font-weight:800;font-size:12px;padding:6px 12px;letter-spacing:.1em;flex-shrink:0;}
.ex-topics ul{list-style:none;padding:0;margin:0;display:flex;gap:32px;flex-wrap:wrap;}
.ex-topics li{font-size:13px;color:#333;display:flex;gap:10px;}
.ex-topics li time{color:#8c8c8c;flex-shrink:0;}

/* ---- Case ---- */
.ex-case{margin-bottom:64px;}
.ex-case:last-child{margin-bottom:0;}
.ex-case-label{display:inline-block;background:#1a1a1a;color:#ffcf01;font-weight:800;padding:8px 18px;font-size:14px;letter-spacing:.1em;margin-bottom:18px;}
.ex-case h2{margin:0 0 18px;}
.ex-case-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:36px;}
.ex-case-card{background:#fff;border:1px solid #ddd;border-top:4px solid #ffcf01;padding:36px 28px 28px;border-radius:0 0 6px 6px;position:relative;transition:transform .2s,box-shadow .2s;}
.ex-case-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.08);}
.ex-case-card .num{position:absolute;top:-22px;left:24px;width:42px;height:42px;background:#ffcf01;color:#1a1a1a;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:900;border:3px solid #fff;box-shadow:0 2px 0 #b28500;}
.ex-case-card .big{font-size:30px;font-weight:900;color:#1a1a1a;line-height:1.2;margin:14px 0 6px;}
.ex-case-card .big .small{font-size:14px;color:#666;margin-left:4px;font-weight:600;}
.ex-case-card h3{margin:0 0 10px;font-size:18px;}
.ex-case-card p{font-size:13.5px;color:#666;margin:0;line-height:1.8;}
@media (max-width:900px){.ex-case-grid{grid-template-columns:1fr;}}

/* ---- Compare Table ---- */
.ex-compare{overflow-x:auto;border-radius:6px;border:1px solid #ddd;background:#fff;}
.ex-compare table{width:100%;border-collapse:collapse;min-width:640px;}
.ex-compare th,.ex-compare td{padding:16px 18px;text-align:left;border-bottom:1px solid #ddd;font-size:14px;vertical-align:middle;}
.ex-compare th{background:#1a1a1a;color:#ffcf01;font-weight:700;font-size:13px;letter-spacing:.04em;}
.ex-compare th:first-child{background:#0d0d0d;}
.ex-compare tbody tr:last-child td{border-bottom:none;}
.ex-compare td:first-child{font-weight:700;color:#1a1a1a;background:#fafafa;width:30%;}
.ex-compare tbody tr:hover td{background:#fffdf5;}
.ex-compare tbody tr:hover td:first-child{background:#fff4cc;}
.ex-compare .note{font-size:12px;color:#8c8c8c;font-weight:400;display:block;margin-top:4px;}

/* ---- Account Cards ---- */
.ex-accts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;}
.ex-acct-card{background:#fff;border:1px solid #ddd;border-radius:6px;padding:30px 22px;position:relative;overflow:hidden;transition:transform .2s,border-color .2s;}
.ex-acct-card:hover{transform:translateY(-3px);border-color:#ffcf01;}
.ex-acct-card .tag{position:absolute;top:0;right:0;background:#ffcf01;color:#1a1a1a;font-size:10.5px;font-weight:800;padding:5px 14px;letter-spacing:.08em;}
.ex-acct-card h3{margin:0 0 4px;font-size:17px;color:#1a1a1a;}
.ex-acct-card .desc{font-size:12px;color:#8c8c8c;margin-bottom:16px;}
.ex-acct-card dl{margin:0 0 18px;padding-top:14px;border-top:1px solid #eee;}
.ex-acct-card dt{font-size:11px;color:#8c8c8c;letter-spacing:.04em;margin-top:8px;}
.ex-acct-card dd{margin:0;font-size:14.5px;color:#1a1a1a;font-weight:700;}
.ex-acct-card .ex-btn{width:100%;padding:10px;font-size:13px;}

/* ---- Steps ---- */
.ex-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px;}
.ex-step{background:#fff;border:1px solid #ddd;border-radius:6px;padding:36px 24px 26px;position:relative;}
.ex-step .num{position:absolute;top:-20px;left:24px;width:40px;height:40px;background:#1a1a1a;color:#ffcf01;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:16px;border:3px solid #ffcf01;}
.ex-step h3{font-size:17px;font-weight:700;margin:4px 0 10px;color:#1a1a1a;}
.ex-step p{font-size:13.5px;color:#666;margin:0;line-height:1.8;}
.ex-step ul{margin:8px 0 0;padding-left:18px;font-size:13.5px;color:#666;}

/* ---- Tools section ---- */
.ex-tools{display:grid;grid-template-columns:1fr 1fr;gap:32px;}
.ex-tools-card{background:#fff;border:1px solid #ddd;border-radius:6px;padding:36px 32px;}
.ex-tools-card h3{margin-top:0;font-size:22px;color:#1a1a1a;}
.ex-tools-card .platforms{display:flex;gap:8px;margin:14px 0 18px;flex-wrap:wrap;}
.ex-tools-card .platforms span{display:inline-block;background:#fafafa;border:1px solid #ddd;padding:4px 10px;border-radius:3px;font-size:12px;font-weight:600;color:#333;}
.ex-tools-card ul{padding-left:18px;color:#666;font-size:14px;}
.ex-tools-card ul li{margin-bottom:6px;}
@media (max-width:780px){.ex-tools{grid-template-columns:1fr;}}

/* ---- Generic Grid ---- */
.ex-grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px;}
.ex-grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px;}
.ex-card{background:#fff;border:1px solid #ddd;border-radius:6px;padding:28px;}
.ex-card h3{margin-top:0;color:#1a1a1a;}
.ex-card p{font-size:14px;color:#666;margin:0 0 10px;}
.ex-card ul{font-size:14px;color:#666;padding-left:18px;margin:0;}

/* ---- Note / Risk ---- */
.ex-note{background:#fffaeb;border:1px solid #f0d97b;border-left:4px solid #ffcf01;border-radius:4px;padding:18px 22px;margin:28px 0;}
.ex-note b{color:#1a1a1a;display:block;margin-bottom:6px;font-size:14.5px;}
.ex-note p{font-size:13.5px;color:#5c4a14;margin:0;line-height:1.8;}
.ex-risk{background:#fff4f4;border:1px solid #f0bcbc;border-left:4px solid #ba1a1a;border-radius:4px;padding:18px 22px;margin:28px 0;}
.ex-risk b{color:#ba1a1a;display:block;margin-bottom:6px;font-size:14.5px;}
.ex-risk p{font-size:13.5px;color:#7a2020;margin:0;line-height:1.8;}

/* ---- FAQ ---- */
.ex-faq details{background:#fff;border:1px solid #ddd;border-radius:4px;padding:20px 26px;margin-bottom:10px;transition:border-color .15s;}
.ex-faq details[open]{border-color:#ffcf01;}
.ex-faq summary{font-weight:700;cursor:pointer;color:#1a1a1a;list-style:none;display:flex;align-items:center;font-size:15px;gap:14px;}
.ex-faq summary::-webkit-details-marker{display:none;}
.ex-faq summary::before{content:"Q";display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;background:#ffcf01;color:#1a1a1a;font-weight:900;border-radius:50%;font-size:13px;flex-shrink:0;}
.ex-faq summary::after{content:"+";font-size:22px;color:#b28500;font-weight:700;line-height:1;margin-left:auto;}
.ex-faq details[open] summary::after{content:"−";}
.ex-faq details > p,.ex-faq details > div{font-size:14px;color:#555;margin:16px 0 0 42px;line-height:1.85;}

/* ---- Checklist ---- */
.ex-checklist{list-style:none;padding:0;margin:0;}
.ex-checklist li{padding:10px 0 10px 30px;position:relative;border-bottom:1px dashed #ddd;font-size:14.5px;color:#1a1a1a;}
.ex-checklist li:last-child{border-bottom:none;}
.ex-checklist li::before{content:"";position:absolute;left:0;top:15px;width:18px;height:18px;background:#ffcf01;border-radius:50%;}
.ex-checklist li::after{content:"";position:absolute;left:5px;top:19px;width:8px;height:4px;border-left:2px solid #1a1a1a;border-bottom:2px solid #1a1a1a;transform:rotate(-45deg);}

/* ---- Payment grid ---- */
.ex-pay{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;}
.ex-pay-card{background:#fff;border:1px solid #ddd;border-radius:6px;padding:24px 18px;text-align:center;transition:.2s;}
.ex-pay-card:hover{border-color:#ffcf01;transform:translateY(-2px);}
.ex-pay-card .ico{width:56px;height:56px;margin:0 auto 12px;background:#fffaeb;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px;}
.ex-pay-card h4{margin:0 0 6px;font-size:14.5px;color:#1a1a1a;}
.ex-pay-card p{font-size:12px;color:#8c8c8c;margin:0;}

/* ---- Final CTA ---- */
.ex-final{background:linear-gradient(135deg,#1a1a1a 0%,#000 60%,#1a1a1a 100%);color:#fff;padding:80px 0;text-align:center;position:relative;overflow:hidden;}
.ex-final::before{content:"";position:absolute;left:0;top:0;right:0;height:6px;background:#ffcf01;}
.ex-final::after{content:"";position:absolute;right:-100px;bottom:-100px;width:420px;height:420px;background:radial-gradient(circle,rgba(255,207,1,.16) 0%,transparent 70%);}
.ex-final .ex-wrap{position:relative;z-index:1;}
.ex-final h2{color:#fff;font-size:clamp(26px,3vw,36px);margin:0 0 14px;}
.ex-final h2 .y{color:#ffcf01;}
.ex-final p{opacity:.85;margin:0 0 32px;font-size:15.5px;}

/* ---- Footer ---- */
.ex-footer{background:#000;color:#9a9a9a;padding:48px 0 36px;font-size:13px;line-height:1.9;}
.ex-footer-top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:24px;}
.ex-footer h4{color:#ffcf01;font-size:13px;letter-spacing:.1em;margin:0 0 14px;font-weight:700;}
.ex-footer ul{list-style:none;padding:0;margin:0;}
.ex-footer ul li{margin-bottom:8px;font-size:13px;}
.ex-footer a{color:#bbb;}
.ex-footer a:hover{color:#ffcf01;}
.ex-footer .brand{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
.ex-footer .brand .logobox{background:#ffcf01;color:#1a1a1a;padding:6px 12px;font-size:14px;font-weight:900;letter-spacing:.08em;border-radius:2px;}
.ex-footer .brand .title{color:#fff;font-size:14px;font-weight:800;}
.ex-footer .about{font-size:12.5px;color:#888;line-height:1.85;}
.ex-footer-bottom{font-size:11.5px;text-align:center;color:#666;border-top:1px solid rgba(255,255,255,.05);padding-top:18px;line-height:1.9;}
.ex-footer-bottom strong{color:#ffcf01;display:block;margin-bottom:8px;letter-spacing:.06em;}
@media (max-width:900px){.ex-footer-top{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.ex-footer-top{grid-template-columns:1fr;}}

/* ---- Responsive ---- */
@media (max-width:640px){
  .ex-subhero{padding:48px 0 52px;}
  .ex-section{padding:56px 0;}
  .ex-final{padding:60px 0;}
  .ex-hero{padding:52px 0 60px;}
}

/* ---- Override WP defaults to be safe ---- */
.entry-content > *,.entry-content{margin:0!important;padding:0!important;max-width:none!important;}
.wp-block-group,.wp-site-blocks,.has-global-padding{padding:0!important;max-width:none!important;}
