/*
Theme Name: Scam Guard
Theme URI: https://macaya.xsrv.jp/stop-scam/
Author: Scam Guard Editorial
Description: 詐欺対策情報サイト「詐欺から身を守る」の公式WordPressテーマ。固定電話詐欺・フィッシング詐欺・仮想通貨詐欺・ロマンス詐欺・SNS投資詐欺の手口・事例・対策を掲載。
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scam-guard
Tags: news, two-columns, custom-menu, featured-images
*/

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro',Meiryo,'メイリオ',sans-serif;font-size:16px;line-height:1.8;color:#333;background:#f7f7f5}
a{color:#c0392b;text-decoration:none}
a:hover{text-decoration:underline}

/* HEADER */
.site-header{background:linear-gradient(135deg,#1a1a2e 0%,#c0392b 100%);color:#fff;position:sticky;top:0;z-index:200;box-shadow:0 2px 12px rgba(0,0,0,.25)}
.header-inner{max-width:1200px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;gap:14px}
.header-logo{display:flex;align-items:center;gap:9px;color:#fff;text-decoration:none}
.header-logo:hover{text-decoration:none}
.logo-icon{font-size:1.5rem}
.logo-name{font-size:1rem;font-weight:900;line-height:1.2}
.logo-sub{font-size:.68rem;opacity:.8}
.header-nav{display:flex;gap:4px;flex-wrap:wrap;margin-left:auto}
.header-nav a{color:rgba(255,255,255,.85);font-size:.72rem;font-weight:700;padding:4px 9px;border-radius:4px;border:1px solid rgba(255,255,255,.2);transition:background .15s;white-space:nowrap;text-decoration:none}
.header-nav a:hover{background:rgba(255,255,255,.18);color:#fff;text-decoration:none}

/* HERO */
.hero{background:linear-gradient(135deg,#1a1a2e 0%,#2d1b3d 40%,#8b1a1a 100%);color:#fff;text-align:center;padding:48px 24px 38px;position:relative;overflow:hidden}
.hero::before{content:'🛡️';position:absolute;left:4%;top:50%;transform:translateY(-50%);font-size:7rem;opacity:.06}
.hero::after{content:'🛡️';position:absolute;right:4%;top:50%;transform:translateY(-50%);font-size:7rem;opacity:.06}
.hero h1{font-size:1.9rem;font-weight:900;margin-bottom:10px;letter-spacing:.04em}
.hero p{font-size:.93rem;opacity:.88;max-width:600px;margin:0 auto 22px;line-height:1.7}
.hero-nav{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.hero-nav a{background:rgba(255,255,255,.12);border:1.5px solid rgba(255,255,255,.3);color:#fff;padding:7px 14px;border-radius:20px;font-size:.8rem;font-weight:700;transition:all .2s;text-decoration:none}
.hero-nav a:hover{background:rgba(255,255,255,.25);text-decoration:none}

/* 2カラム */
.page-body{max-width:1200px;margin:0 auto;padding:28px 18px 60px;display:grid;grid-template-columns:1fr 290px;gap:26px;align-items:start}

/* 統計バナー */
.stats-banner{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 2px 14px rgba(0,0,0,.08);margin-bottom:22px;border-top:4px solid #c0392b}
.stats-hd{background:linear-gradient(90deg,#1a1a2e,#c0392b);color:#fff;padding:12px 20px;display:flex;align-items:center;gap:8px;font-size:.88rem;font-weight:900}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.stat-block{padding:16px 12px;text-align:center;border-right:1px solid #f0f0f0}
.stat-block:last-child{border-right:none}
.stat-num{font-size:1.6rem;font-weight:900;color:#c0392b;line-height:1.1}
.stat-unit{font-size:.72rem;font-weight:700;color:#c0392b}
.stat-label{font-size:.7rem;color:#666;margin-top:4px;line-height:1.4}
.stat-note{font-size:.64rem;color:#aaa;margin-top:2px}
.stats-foot{padding:8px 18px;font-size:.68rem;color:#aaa;background:#fafafa;border-top:1px solid #f0f0f0}
.stats-foot a{color:#c0392b;font-size:.68rem}

/* 新着ニュース */
.news-sec{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 2px 14px rgba(0,0,0,.08);margin-bottom:22px}
.news-sec-hd{background:linear-gradient(90deg,#1a1a2e,#c0392b);color:#fff;padding:12px 20px;display:flex;align-items:center;gap:8px}
.news-sec-hd .nh-icon{font-size:1.1rem}
.news-sec-hd .nh-title{font-size:.9rem;font-weight:900;flex:1}
.news-count{background:rgba(255,255,255,.2);font-size:.68rem;padding:2px 8px;border-radius:10px}
.news-list{padding:14px 16px}
.news-item{display:flex;gap:10px;align-items:flex-start;padding:9px 8px;margin:0 -8px;border-radius:6px;cursor:pointer;transition:background .15s;border-bottom:1px solid #f5f5f5}
.news-item:hover{background:#fef5f5}
.news-item:last-of-type{border-bottom:none}
.ni-left{flex:1;min-width:0}
.ni-tags{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:4px}
.ntag{font-size:.62rem;font-weight:700;padding:2px 6px;border-radius:8px;white-space:nowrap}
.ntag.t-phone   {background:#fce4e4;color:#c0392b}
.ntag.t-phishing{background:#e3f0ff;color:#1565c0}
.ntag.t-crypto  {background:#fff0e0;color:#bf360c}
.ntag.t-romance {background:#f3e5f5;color:#6a0572}
.ntag.t-sns     {background:#e8f5e9;color:#1b5e20}
.ntag.t-other   {background:#f5f5f5;color:#555}
.ni-title{font-size:.83rem;font-weight:700;color:#222;line-height:1.4;margin-bottom:3px}
.ni-meta{font-size:.68rem;color:#aaa}
.ni-date{font-size:.65rem;color:#aaa;white-space:nowrap;min-width:48px;text-align:right}
.load-more{display:block;text-align:center;padding:10px;margin:4px 0 0;font-size:.8rem;color:#c0392b;font-weight:700;background:#fafafa;border-radius:8px;border:1px solid #eee;cursor:pointer;transition:all .15s;width:100%}
.load-more:hover{background:#c0392b;color:#fff}

/* カテゴリ */
.cat-sec{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 2px 14px rgba(0,0,0,.08);margin-bottom:22px}
.cat-hd{display:flex;align-items:center;gap:14px;padding:18px 24px;color:#fff}
.cat-hd.phone   {background:linear-gradient(90deg,#c0392b,#e74c3c)}
.cat-hd.phishing{background:linear-gradient(90deg,#1565c0,#1976d2)}
.cat-hd.crypto  {background:linear-gradient(90deg,#bf360c,#e65100)}
.cat-hd.romance {background:linear-gradient(90deg,#4a148c,#7b1fa2)}
.cat-hd.sns     {background:linear-gradient(90deg,#1b5e20,#2e7d32)}
.cat-icon{font-size:1.8rem}
.cat-label{font-size:.7rem;opacity:.85;font-weight:700;letter-spacing:.08em}
.cat-title{font-size:1.1rem;font-weight:900;line-height:1.3}
.cat-body{padding:20px 24px}
.cat-body p{font-size:.92rem;color:#555;margin-bottom:16px;line-height:1.75}
.btn-row{display:flex;gap:8px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:5px;padding:9px 16px;border-radius:8px;font-size:.83rem;font-weight:700;transition:all .18s;text-decoration:none}
.btn.p{background:#c0392b;color:#fff}
.btn.p:hover{background:#a93226;text-decoration:none}
.btn.s{background:#f8f8f8;color:#333;border:1.5px solid #e0e0e0}
.btn.s:hover{background:#eee;text-decoration:none}

/* SIDEBAR */
.sidebar{display:flex;flex-direction:column;gap:18px}
.sw{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.08)}
.sw-hd{color:#fff;padding:12px 16px;display:flex;align-items:center;gap:7px;background:linear-gradient(135deg,#1a1a2e,#c0392b)}
.sw-hd .wi{font-size:1rem}
.sw-hd .wt{font-size:.87rem;font-weight:900}
.sw-bd{padding:14px}

/* カテゴリナビ */
.cnav{list-style:none;display:flex;flex-direction:column;gap:5px}
.cnav li .cni{font-size:1.1rem;width:24px;text-align:center}
.cnt{flex:1}
.cnt strong{display:block;font-size:.81rem;font-weight:700}
.cnt span{font-size:.69rem;color:#888}
.csub{display:flex;gap:3px;margin-top:4px;padding-left:32px}
.csub a{font-size:.66rem;padding:2px 7px;border-radius:4px;border:1px solid #ddd;color:#666;background:#f5f5f5;text-decoration:none}
.csub a:hover{background:#c0392b;color:#fff;border-color:#c0392b}

/* 都道府県 */
.pref-sel{width:100%;padding:9px 10px;border-radius:7px;border:1.5px solid #ddd;font-size:.83rem;font-family:inherit;background:#fafafa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath fill='%23888' d='M5 7L0 0h10z'/%3E%3C/svg%3E") no-repeat right 10px center;appearance:none;cursor:pointer;margin-bottom:10px}
.pref-sel:focus{outline:none;border-color:#c0392b}
.pref-area{min-height:60px}
.pref-ph{text-align:center;color:#bbb;font-size:.78rem;padding:18px 0}
.nc-sm{border:1px solid #f0f0f0;border-radius:7px;padding:9px 10px;margin-bottom:7px;cursor:pointer;transition:all .14s}
.nc-sm:hover{border-color:#c0392b;background:#fef5f5}
.nc-sm:last-child{margin-bottom:0}
.nc-tags{display:flex;gap:3px;flex-wrap:wrap;margin-bottom:5px}
.nc-title{font-size:.76rem;font-weight:700;color:#333;line-height:1.35;margin-bottom:3px}
.nc-meta{display:flex;justify-content:space-between}
.nc-src{font-size:.63rem;color:#aaa}
.nc-date{font-size:.63rem;color:#bbb}
.sw-more{display:block;text-align:center;margin-top:10px;padding:8px;background:#f8f8f8;border-radius:7px;border:1px solid #eee;font-size:.78rem;color:#c0392b;font-weight:700;transition:all .14s;text-decoration:none}
.sw-more:hover{background:#c0392b;color:#fff;text-decoration:none}

/* 啓発動画 */
.vtabs{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:12px}
.vtab{font-size:.69rem;padding:4px 8px;border-radius:12px;border:1px solid #ddd;background:#f8f8f8;color:#555;cursor:pointer;transition:all .14s;font-family:inherit}
.vtab:hover{background:#fce4e4;border-color:#e57373;color:#c0392b}
.vtab.on{background:#c0392b;border-color:#c0392b;color:#fff}
.vcard{margin-bottom:12px}
.vcard:last-child{margin-bottom:0}
.vwrap{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:8px;background:#000}
.vwrap iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:none}
.vcap{font-size:.71rem;color:#666;margin-top:5px;line-height:1.4}
.vcap strong{color:#333}

/* 相談先 */
.clist{display:flex;flex-direction:column;gap:7px}
.citem{border-radius:8px;padding:9px 12px}
.ci-lbl{font-size:.68rem;font-weight:700;margin-bottom:2px}
.ci-tel{font-size:1.1rem;font-weight:900}
.ci-note{font-size:.67rem;color:#666;margin-top:2px}

/* ニュースモーダル */
.modal-ov{display:none;position:fixed;inset:0;background:rgba(0,0,0,.65);z-index:1000;overflow-y:auto;padding:20px}
.modal-ov.open{display:flex;align-items:flex-start;justify-content:center}
.modal-box{background:#fff;border-radius:14px;max-width:780px;width:100%;margin:auto;overflow:hidden;box-shadow:0 8px 40px rgba(0,0,0,.3)}
.modal-hd{background:linear-gradient(135deg,#1a1a2e,#c0392b);color:#fff;padding:18px 24px;display:flex;align-items:flex-start;gap:12px}
.mh-inner{flex:1}
.mh-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:6px}
.mh-title{font-size:1.05rem;font-weight:900;line-height:1.4}
.modal-close{background:rgba(255,255,255,.2);border:none;color:#fff;width:34px;height:34px;border-radius:50%;font-size:1.1rem;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .15s}
.modal-close:hover{background:rgba(255,255,255,.35)}
.modal-body{padding:24px;font-size:.92rem;line-height:1.85;color:#333;max-height:72vh;overflow-y:auto}
.modal-body h2{font-size:1rem;font-weight:700;color:#c0392b;border-left:3px solid #c0392b;padding-left:10px;margin:18px 0 8px}
.modal-body p{margin-bottom:12px}
.modal-meta{background:#f8f8f8;border-radius:8px;padding:12px 16px;margin-bottom:16px;font-size:.82rem;display:flex;flex-wrap:wrap;gap:12px;color:#666}
.modal-meta .ml{font-weight:700;color:#888}
.src-link{display:inline-flex;align-items:center;gap:6px;margin-top:16px;padding:10px 16px;background:#f0f4ff;border-radius:8px;border:1px solid #c5cae9;color:#1565c0;font-size:.82rem;font-weight:700;text-decoration:none}
.src-link:hover{background:#1565c0;color:#fff;text-decoration:none}
.modal-loading{padding:40px;text-align:center;color:#aaa}
.mspinner{width:32px;height:32px;border:3px solid #eee;border-top-color:#c0392b;border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 12px}
@keyframes spin{to{transform:rotate(360deg)}}

/* フッターページモーダル */
.pm-ov{display:none;position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:2000;overflow-y:auto;padding:20px}
.pm-ov.open{display:flex;align-items:flex-start;justify-content:center}
.pm-box{background:#fff;border-radius:14px;max-width:820px;width:100%;margin:auto;overflow:hidden;box-shadow:0 8px 40px rgba(0,0,0,.4)}
.pm-hd{background:#1a1a2e;color:#fff;padding:18px 24px;display:flex;align-items:center;gap:12px}
.pm-hd h2{font-size:1rem;font-weight:900;flex:1}
.pm-cls{background:rgba(255,255,255,.15);border:none;color:#fff;width:32px;height:32px;border-radius:50%;font-size:1rem;cursor:pointer;display:flex;align-items:center;justify-content:center}
.pm-cls:hover{background:rgba(255,255,255,.3)}
.pm-body{padding:28px;font-size:.9rem;line-height:1.85;color:#333;max-height:80vh;overflow-y:auto}
.pm-body h3{font-size:1rem;font-weight:700;color:#1a1a2e;border-bottom:2px solid #eee;padding-bottom:6px;margin:20px 0 10px}
.pm-body h3:first-child{margin-top:0}
.pm-body p{margin-bottom:12px;color:#555}
.pm-body ul{padding-left:20px;margin-bottom:12px}
.pm-body ul li{margin-bottom:6px;color:#555}
.pm-body a{color:#c0392b}
.pm-form{display:flex;flex-direction:column;gap:14px;margin-top:12px}
.pm-form label{font-size:.82rem;font-weight:700;color:#555;display:block;margin-bottom:4px}
.pm-form input,.pm-form textarea,.pm-form select{width:100%;padding:10px 12px;border:1.5px solid #ddd;border-radius:8px;font-size:.9rem;font-family:inherit;color:#333}
.pm-form textarea{height:120px;resize:vertical}
.pm-form input:focus,.pm-form textarea:focus{outline:none;border-color:#c0392b}
.pm-btn{background:#c0392b;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:.9rem;font-weight:700;cursor:pointer;align-self:flex-start;transition:background .15s;font-family:inherit}
.pm-btn:hover{background:#a93226}

/* フッター */
.site-footer{background:#1a1a2e;color:rgba(255,255,255,.65)}
.footer-main{max-width:1200px;margin:0 auto;padding:36px 24px 24px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:28px}
.fb-logo{display:flex;align-items:center;gap:8px;font-size:1rem;font-weight:900;color:#fff;margin-bottom:10px}
.footer-brand p{font-size:.78rem;line-height:1.7;color:rgba(255,255,255,.55)}
.fc h3{font-size:.82rem;font-weight:700;color:rgba(255,255,255,.8);margin-bottom:10px;letter-spacing:.05em;text-transform:uppercase}
.fc ul{list-style:none}
.fc ul li{margin-bottom:6px}
.fc ul li a{color:rgba(255,255,255,.55);font-size:.78rem;text-decoration:none;transition:color .15s}
.fc ul li a:hover{color:#fff}
.footer-bottom{background:rgba(0,0,0,.3);padding:14px 24px}
.footer-bottom-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.footer-bottom-inner p{font-size:.72rem;color:rgba(255,255,255,.4)}
@media(max-width:900px){
  .page-body{grid-template-columns:1fr}
  .sidebar{order:-1}
  .header-nav{display:none}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .footer-main{grid-template-columns:1fr 1fr}
}
@media(max-width:580px){
  .hero h1{font-size:1.4rem}
  .hero{padding:34px 16px 28px}
  .footer-main{grid-template-columns:1fr}
  .footer-bottom-inner{flex-direction:column;text-align:center}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .modal-body{max-height:60vh}
}

/* uclink: csubを内包するflex-columnコンテナ */
.ucnav li .ucnav li .ucnav li .ucni{font-size:1.1rem;width:24px;text-align:center;flex-shrink:0}
.ucnt{flex:1}
.ucnt strong{display:block;font-size:.8rem;font-weight:700;color:#333}
.uclink.active .ucnt strong{color:#c0392b}
.ucnt span{font-size:.68rem;color:#888}
/* ucsub は uclink の下部に配置 */
.uclink .uclink.active .uclink .uclink /* 都道府県ウィジェット */
.upref-sel{width:100%;padding:9px 10px;border-radius:7px;border:1.5px solid #ddd;font-size:.82rem;font-family:inherit;background:#fafafa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath fill='%23888' d='M5 7L0 0h10z'/%3E%3C/svg%3E") no-repeat right 10px center;appearance:none;cursor:pointer;margin-bottom:10px}
.upref-sel:focus{outline:none;border-color:#c0392b}
.upref-area{min-height:60px}
.upref-ph{text-align:center;color:#bbb;font-size:.77rem;padding:16px 0}
.unc-sm{border:1px solid #f0f0f0;border-radius:7px;padding:9px 10px;margin-bottom:7px;cursor:pointer;transition:all .14s}
.unc-sm:hover{border-color:#c0392b;background:#fef5f5}
.unc-sm:last-child{margin-bottom:0}
.unc-tags{display:flex;gap:3px;flex-wrap:wrap;margin-bottom:4px}
.untag{font-size:.62rem;font-weight:700;padding:2px 6px;border-radius:8px;white-space:nowrap}
.untag.t-phone   {background:#fce4e4;color:#c0392b}
.untag.t-phishing{background:#e3f0ff;color:#1565c0}
.untag.t-crypto  {background:#fff0e0;color:#bf360c}
.untag.t-romance {background:#f3e5f5;color:#6a0572}
.untag.t-sns     {background:#e8f5e9;color:#1b5e20}
.untag.t-other   {background:#f5f5f5;color:#555}
.unc-title{font-size:.75rem;font-weight:700;color:#333;line-height:1.35;margin-bottom:3px}
.unc-meta{display:flex;justify-content:space-between}
.unc-src{font-size:.62rem;color:#aaa}
.unc-date{font-size:.62rem;color:#bbb}
.usw-more{display:block;text-align:center;margin-top:10px;padding:8px;background:#f8f8f8;border-radius:7px;border:1px solid #eee;font-size:.77rem;color:#c0392b;font-weight:700;transition:all .14s;text-decoration:none}
.usw-more:hover{background:#c0392b;color:#fff;text-decoration:none}
.uclist{display:flex;flex-direction:column;gap:7px}
.ucitem{border-radius:8px;padding:9px 12px}
.uc-lbl{font-size:.67rem;font-weight:700;margin-bottom:2px}
.uc-tel{font-size:1.05rem;font-weight:900}
.uc-note{font-size:.66rem;color:#666;margin-top:2px}
/* 動画 */
.vtabs{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:10px}
.vtab{font-size:.68rem;padding:4px 8px;border-radius:10px;border:1px solid #ddd;background:#f8f8f8;color:#555;cursor:pointer;transition:all .13s;font-family:inherit}
.vtab:hover{background:#fce4e4;border-color:#e57373;color:#c0392b}
.vtab.on{background:#c0392b;border-color:#c0392b;color:#fff}
.vcard{margin-bottom:10px}
.vcard:last-child{margin-bottom:0}
.vwrap{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:8px;background:#000}
.vwrap iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:none}
.vcap{font-size:.7rem;color:#666;margin-top:4px;line-height:1.4}

/* === サイドバー統一CSS === */
.unif-sidebar{display:flex;flex-direction:column;gap:16px}
.usw{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.08)}
.usw-hd{color:#fff;padding:12px 16px;display:flex;align-items:center;gap:7px;background:linear-gradient(135deg,#1a1a2e,#c0392b)}
.usw-hd .wi{font-size:1rem}
.usw-hd .wt{font-size:.87rem;font-weight:900}
.usw-bd{padding:14px}
.ucnav{list-style:none;display:flex;flex-direction:column;gap:6px}
.uclink{display:flex;flex-direction:column;border:1.5px solid #eee;border-radius:8px;overflow:hidden;background:#fafafa;transition:border-color .15s}
.uclink:hover{border-color:#e57373}
.uclink.active{border-color:#c0392b;background:#fef5f5}
.uclink-top{display:flex;align-items:center;gap:8px;padding:9px 10px}
.ucni{font-size:1.1rem;width:24px;text-align:center;flex-shrink:0}
.ucnt{flex:1}
.ucnt strong{display:block;font-size:.8rem;font-weight:700;color:#333}
.uclink.active .ucnt strong{color:#c0392b}
.ucnt span{font-size:.68rem;color:#888}
.ucsub{display:flex;gap:4px;flex-wrap:wrap;padding:5px 8px 8px;border-top:none;background:transparent}
.uclink.active .ucsub{border-top:none;background:transparent}
.ucsub a{font-size:.68rem;padding:3px 9px;border-radius:4px;border:1px solid #ddd;color:#555;background:#f5f5f5;text-decoration:none;transition:all .13s;white-space:nowrap}
.ucsub a:hover{background:#c0392b;color:#fff;border-color:#c0392b}
.upref-sel{width:100%;padding:9px 10px;border-radius:7px;border:1.5px solid #ddd;font-size:.82rem;font-family:inherit;background:#fafafa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath fill='%23888' d='M5 7L0 0h10z'/%3E%3C/svg%3E") no-repeat right 10px center;appearance:none;cursor:pointer;margin-bottom:10px}
.upref-sel:focus{outline:none;border-color:#c0392b}
.upref-area{min-height:60px}
.upref-ph{text-align:center;color:#bbb;font-size:.77rem;padding:16px 0}
.unc-sm{border:1px solid #f0f0f0;border-radius:7px;padding:9px 10px;margin-bottom:7px;cursor:pointer;transition:all .14s}
.unc-sm:hover{border-color:#c0392b;background:#fef5f5}
.unc-sm:last-child{margin-bottom:0}
.unc-tags{display:flex;gap:3px;flex-wrap:wrap;margin-bottom:4px}
.untag{font-size:.62rem;font-weight:700;padding:2px 6px;border-radius:8px;white-space:nowrap}
.untag.t-phone{background:#fce4e4;color:#c0392b}
.untag.t-phishing{background:#e3f0ff;color:#1565c0}
.untag.t-crypto{background:#fff0e0;color:#bf360c}
.untag.t-romance{background:#f3e5f5;color:#6a0572}
.untag.t-sns{background:#e8f5e9;color:#1b5e20}
.untag.t-other{background:#f5f5f5;color:#555}
.unc-title{font-size:.75rem;font-weight:700;color:#333;line-height:1.35;margin-bottom:3px}
.unc-meta{display:flex;justify-content:space-between}
.unc-src{font-size:.62rem;color:#aaa}
.unc-date{font-size:.62rem;color:#bbb}
.usw-more{display:block;text-align:center;margin-top:10px;padding:8px;background:#f8f8f8;border-radius:7px;border:1px solid #eee;font-size:.77rem;color:#c0392b;font-weight:700;transition:all .14s;text-decoration:none}
.usw-more:hover{background:#c0392b;color:#fff;text-decoration:none}
.uclist{display:flex;flex-direction:column;gap:7px}
.ucitem{border-radius:8px;padding:9px 12px}
.uc-lbl{font-size:.67rem;font-weight:700;margin-bottom:2px}
.uc-tel{font-size:1.05rem;font-weight:900}
.uc-note{font-size:.66rem;color:#666;margin-top:2px}
.vtabs{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:10px}
.vtab{font-size:.68rem;padding:4px 8px;border-radius:10px;border:1px solid #ddd;background:#f8f8f8;color:#555;cursor:pointer;transition:all .13s;font-family:inherit}
.vtab:hover{background:#fce4e4;border-color:#e57373;color:#c0392b}
.vtab.on{background:#c0392b;border-color:#c0392b;color:#fff}
.vcard{margin-bottom:10px}
.vcard:last-child{margin-bottom:0}
.vwrap{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:8px;background:#000}
.vwrap iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:none}
.vcap{font-size:.7rem;color:#666;margin-top:4px;line-height:1.4}

/* === 下層ページ追加CSS === */

:root {
  --primary: #c0392b;
  --primary-dark: #96281b;
  --secondary: #2c3e50;
  --accent: #e67e22;
  --bg: #fdfaf7;
  --bg-section: #fff8f5;
  --border: #e0d5cc;
  --text: #2d2926;
  --text-light: #6b5f57;
  --warning-bg: #fff3cd;
  --warning-border: #ffc107;
  --danger-bg: #fdecea;
  --danger-border: #c0392b;
  --safe-bg: #e8f5e9;
  --safe-border: #27ae60;
  --info-bg: #e3f2fd;
  --info-border: #1565c0;
}

/* 下層ページ共通レイアウト */
.unif-page-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 18px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 26px;
  align-items: start;
}

.unif-main {
  min-width: 0;
}

.article-body {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.entry-content {
  font-size: .93rem;
  line-height: 1.85;
  color: #444;
}

.entry-content > * + * {
  margin-top: 14px;
}

.entry-content img,
.entry-content iframe,
.entry-content video,
.entry-content table,
.entry-content pre,
.entry-content .wp-block-embed,
.entry-content .wp-block-image {
  max-width: 100%;
}

.entry-content img {
  height: auto;
}

.entry-content table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
}

.entry-content pre {
  overflow-x: auto;
}

.article-header {
  background: linear-gradient(135deg, #c0392b 0%, #8b0000 100%);
  color: #fff;
  padding: 50px 30px 40px;
  margin-bottom: 0;
}

.article-header .container {
  max-width: 1200px;
  margin: 0 auto;
}

.article-header .category-label {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  padding: 4px 14px;
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.article-header h1 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 16px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.article-meta,
.article-meta-row {
  background: var(--secondary);
  color: #ccd;
  padding: 10px 30px;
  font-size: 12px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.article-meta-row {
  background: transparent;
  padding: 0;
  color: rgba(255,255,255,.85);
}

.breadcrumb {
  padding: 10px 20px;
  font-size: 12px;
  color: var(--text-light);
  background: #f5f0ec;
  border-bottom: 1px solid var(--border);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* footer.php のクラスに合わせる */
.unif-footer,
.site-footer {
  background: #1a1a2e;
  color: rgba(255,255,255,.65);
}

.unif-footer-main,
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}

.ufb-logo,
.fb-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}

.ufbrand p,
.footer-brand p {
  font-size: .78rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
}

.ufc h3,
.fc h3 {
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  margin-bottom: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ufc ul,
.fc ul {
  list-style: none;
}

.ufc ul li,
.fc ul li {
  margin-bottom: 6px;
}

.ufc ul li a,
.fc ul li a {
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  text-decoration: none;
  transition: color .15s;
}

.ufc ul li a:hover,
.fc ul li a:hover {
  color: #fff;
}

.unif-footer-bottom,
.footer-bottom {
  background: rgba(0,0,0,.3);
  padding: 14px 24px;
}

.ufb-inner,
.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.ufb-inner p,
.footer-bottom-inner p {
  font-size: .72rem;
  color: rgba(255,255,255,.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .unif-page-body {
    grid-template-columns: 1fr;
  }
  .unif-sidebar {
    order: -1;
  }
  .unif-footer-main,
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .unif-footer-main,
  .footer-main {
    grid-template-columns: 1fr;
  }
  .ufb-inner,
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .article-body {
    padding: 20px;
  }
}


/* 1.1.0 additions */
.news-item{display:flex}
.news-item, .pref-main-card, .unc-sm{display:block;text-decoration:none}
.pref-main-card{border:1px solid #f0f0f0;border-radius:10px;padding:14px 16px;margin-bottom:12px;transition:all .15s}
.pref-main-card:hover{border-color:#c0392b;background:#fef5f5}
.scam-news-meta-box{background:#f8f8f8;border-radius:10px;padding:14px 16px;margin-bottom:18px}
.scam-news-meta-box ul{list-style:none;padding:0;margin:0}
.scam-news-meta-box li{margin:6px 0;color:#555}
.source-link-button{display:inline-block;padding:10px 16px;border-radius:8px;background:#f0f4ff;border:1px solid #c5cae9}
.source-cite-box{margin-top:18px;padding:14px 16px;background:#fffdf0;border:1px solid #f0e0a0;border-radius:10px}


.page-id-7 .unif-sidebar,
.page-id-8 .unif-sidebar,
.page-id-9 .unif-sidebar,
.page-id-10 .unif-sidebar,
.page-id-18 .unif-sidebar {
  display: none;
}