/* 大和真報 サイトの見た目（2026-11-17 第1版）
   試作：トップ＝スマホ試作v2のB案／記事＝記事ページ試作v3（週刊現代型）／ランキング＝試作v4（文春型）／ロゴ＝Yuji Syuku＋旭2 */
:root{--ink:#141414;--sub:#6b6b6b;--line:#e6e3de;--bg:#f6f4f0;--card:#fff;--red:#a3121b;--sun:#bc002d}
*{box-sizing:border-box;margin:0;padding:0}
body{background:var(--bg);color:var(--ink);font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none} img{display:block;width:100%;height:100%;object-fit:cover}

/* ロゴ（旭2：タブの線から昇る朝日） */
header{background:#fff}
.hd{position:relative;overflow:hidden;height:96px;display:grid;place-items:center}
.logo{position:relative;font-family:'Yuji Syuku',"Hiragino Mincho ProN",serif;font-size:62px;line-height:1;white-space:nowrap;z-index:2;margin-top:-16px}
.ray{position:absolute;top:0;right:0;bottom:0;left:0;opacity:.18;background:repeating-conic-gradient(from -5.6deg at 50% 100%,var(--sun) 0 11.25deg,transparent 11.25deg 22.5deg)}
.sun{position:absolute;width:120px;height:120px;border-radius:50%;background:var(--sun);bottom:-60px;left:50%;margin-left:-60px;opacity:.9}

nav{position:-webkit-sticky;position:sticky;top:0;z-index:5;background:var(--ink);display:flex;overflow-x:auto;scrollbar-width:none}
nav::-webkit-scrollbar{display:none}
nav a{flex:none;color:#cfcfcf;font-size:14px;font-weight:600;padding:12px 14px}
nav a.on{color:#fff;box-shadow:inset 0 -3px 0 var(--red)}
main{max-width:720px;margin:0 auto;padding:12px 12px 40px}

/* トップ */
.ban{display:block;background:#0e0e0e;color:#fff;padding:18px 16px 14px;margin-bottom:18px;border-radius:4px;position:relative}
.ban .k{font-family:"Hiragino Mincho ProN",serif;font-weight:800;font-size:34px;letter-spacing:.04em}
.ban .s{display:flex;align-items:center;margin-top:8px;font-size:13px;font-weight:700}
.ban .s i{display:inline-block;width:14px;height:16px;background:repeating-linear-gradient(90deg,var(--red) 0 2px,transparent 2px 4px)}
.ban .g{position:absolute;right:10px;top:8px;font-size:9px;color:#888}
.sec{display:flex;align-items:baseline;font-size:16px;font-weight:800;margin:6px 2px 10px;padding-left:9px;border-left:4px solid var(--red)}
.sec a,.sec small{font-size:12px;font-weight:600;color:var(--sub);margin-left:auto}
.tag{color:var(--red);font-weight:700;margin-right:6px}
.shock{background:var(--red);color:#fff;font-size:10.5px;padding:1px 5px;border-radius:2px;margin-right:6px}
.xb{display:inline;white-space:nowrap;margin-left:8px;color:var(--red);font-weight:800}
.xb i{font-style:normal;margin-left:6px;color:var(--sub);font-weight:700}
.tx{min-width:0;flex:1} .tx p{font-size:12px;color:var(--sub);margin-top:6px}
.rkbox{background:var(--card);border-radius:6px;padding:4px 12px;margin-bottom:22px}
.rk{display:flex;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)} .rk:last-child{border:0}
.no{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:15px}
.no.top{background:var(--red);color:#fff;font-size:13px}
.rk h3{font-size:14.5px;line-height:1.5;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rk .ph{flex:none;width:96px;height:64px;border-radius:4px;overflow:hidden;background:#ddd}
.big{display:block;background:var(--card);border-radius:8px;overflow:hidden;margin-bottom:12px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.big .ph{aspect-ratio:1.91/1;position:relative;background:#ddd}
.big.noimg{border-left:5px solid var(--red)}
.cr{position:absolute;right:0;bottom:0;font-size:10px;color:#fff;background:rgba(0,0,0,.45);padding:2px 6px}
.big .tx{padding:12px 14px 14px} .big h3{font-size:17px;line-height:1.5;font-weight:800}
.smbox{background:var(--card);border-radius:6px;overflow:hidden;margin-bottom:12px}
.sm{display:flex;padding:12px;border-bottom:1px solid var(--line)} .sm:last-child{border:0}
.sm .ph{flex:none;width:112px;height:75px;border-radius:4px;overflow:hidden;background:#ddd}
.sm h3{font-size:15px;line-height:1.5;font-weight:700;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.more{display:block;text-align:center;background:var(--card);border:1px solid var(--line);border-radius:6px;padding:13px;margin:4px 0 14px;font-weight:700;font-size:14px}
.hide{display:none}
.note{font-size:11px;color:var(--sub);text-align:center;margin:10px 0 12px}
.empty{background:var(--card);padding:30px;text-align:center;color:var(--sub);border-radius:6px}
.pager{display:flex;justify-content:center;margin-top:16px}
.pager a{min-width:40px;text-align:center;padding:10px 12px;background:var(--card);border:1px solid var(--line);border-radius:6px;font-weight:700;font-size:14px}
.pager a.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.ad{background:#ebe8e2;color:#999;font-size:12px;text-align:center;display:grid;place-items:center;height:250px;margin:6px 0 24px;letter-spacing:.1em}
.ad.sm{height:100px;margin:0}

/* ランキング（文春型） */
.rkpage{background:#fff;padding:0 0 30px}
.rkpage h1{text-align:center;font-size:21px;font-weight:900;padding:18px 0 10px}
.per{display:flex;background:#f3f3f3;border-radius:6px;margin:4px 12px}
.per a{flex:1;text-align:center;padding:11px 0;font-weight:800;font-size:14.5px;color:#aaa}.per a.on{color:var(--red);box-shadow:inset 0 -3px 0 var(--red)}
.it{display:flex;align-items:center;padding:16px 12px;border-bottom:1px solid var(--line)}
.crn,.nr{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:12px;color:#fff;position:relative;line-height:1}
.crn i{font-style:normal;font-size:12px;position:absolute;top:3px}.crn{padding-top:12px;font-weight:800}
.nr{border:1.5px solid #bbb;color:#888;font-size:15px;font-weight:500}
.it .ph{flex:none;width:108px;height:72px;position:relative;background:#ddd}
.it .ph.none{background:repeating-linear-gradient(45deg,#f1efeb 0 8px,#e9e6e0 8px 16px)}
.new.inl{position:static;display:inline-block;margin-right:6px;vertical-align:2px}
.new{position:absolute;left:-4px;top:-9px;background:#c8102e;color:#fff;font-size:10px;font-weight:900;font-style:italic;padding:2px 10px 2px 6px;clip-path:polygon(0 0,100% 0,88% 100%,0 100%);z-index:2}
.it h3{font-size:15px;line-height:1.5;font-weight:800;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.it .tx p{display:flex;justify-content:space-between;font-size:12px;color:#888;margin-top:6px}
.rkpage .more{margin:16px 12px}

/* 記事（週刊現代型） */
.art{background:#fff;padding:0 0 40px}
.hero{aspect-ratio:1.91/1;position:relative;background:#ddd}
.hero .cr{font-size:11px;padding:3px 8px}
.wrap{padding:18px 16px 0}
.date{color:var(--red);font-weight:800;font-size:17px;letter-spacing:.03em}
.art h1{font-size:22px;line-height:1.45;font-weight:900;margin:8px 0 12px}
.meta{line-height:1.9;font-size:13px;color:var(--sub)}
.lb{display:inline-block;line-height:1.5;margin-right:8px;vertical-align:1px;background:var(--red);color:#fff;font-weight:700;font-size:12px;padding:2px 8px;border-radius:2px}
.meta b{color:var(--ink)}
.share{display:flex;margin:14px 0 18px;padding-bottom:18px;border-bottom:1px solid #bbb}
.share a{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:13px;color:#fff;background:#000}
.share .line{background:#06c755;font-size:11px}.share .cp{background:#e8e6e1;color:#444}
.body p{font-size:17px;line-height:1.95;margin-bottom:22px}
.body p.foot{font-size:13px;color:var(--sub);line-height:1.7}
.src{display:block;text-align:center;border:2px solid var(--red);color:var(--red);font-weight:800;font-size:16px;padding:14px;border-radius:4px;margin:10px 0 6px}
.srcn{font-size:11.5px;color:var(--sub);text-align:center;margin-bottom:30px}
.art .sec{margin-top:28px;font-size:18px;font-weight:900;padding:4px 0 6px 12px;border-left:5px solid var(--red);border-bottom:2px solid var(--red)}
.rel{margin:0 0 10px 18px;font-size:14px;line-height:1.8} .rel a{color:#1a56c4;text-decoration:underline}
.twitter-tweet{margin:10px auto!important}
.form{background:#f6f4f0;padding:12px;border-radius:6px;margin-bottom:16px}
.form input,.form textarea{width:100%;border:1px solid var(--line);border-radius:4px;padding:10px;font-size:15px;background:#fff;font-family:inherit}
.form textarea{height:84px;margin-top:8px;resize:none}
.fr{display:flex;justify-content:space-between;align-items:center;margin-top:8px;font-size:11px;color:var(--sub)}
.fr button{background:var(--ink);color:#fff;border:0;font-weight:800;font-size:14px;padding:9px 22px;border-radius:4px;opacity:.5}
.art .smbox{border:1px solid var(--line)}

footer{text-align:center;font-size:12px;color:var(--sub);padding:24px 16px 40px;line-height:2}
footer a{text-decoration:underline}

/* PC：中央の列を少し広く（3列＋右ランキングは次の版で） */
@media (min-width:900px){main{max-width:760px}.logo{font-size:72px}.hd{height:110px}}
.it .tx p span:last-child{white-space:nowrap;flex:none;margin-left:8px}

/* 2026-11-17 オーナー指摘：バナーとタブを中央に／PCの左右の空きを広告枠に */
.ban{text-align:center}
.ban .s{justify-content:center}
nav a:first-child{margin-left:auto} nav a:last-child{margin-right:auto}
.side{display:none}
@media (min-width:1200px){
  .side{display:block;position:fixed;top:180px;width:160px;z-index:1}
  .side.l{left:calc(50% - 380px - 190px)} .side.r{right:calc(50% - 380px - 190px)}
  .side .ad{height:600px;margin:0}
}
@media (min-width:1500px){
  .side{width:300px} .side.l{left:calc(50% - 380px - 330px)} .side.r{right:calc(50% - 380px - 330px)}
}

/* 2026-11-17 オーナー決定：ヘッダーは案2（題字＋日の丸の点＋「国民の声を知る　独立報道機関」・日付なし・PCもスマホも同じ形） */
header{border-bottom:3px double var(--ink)}
.hd{height:auto;display:block;text-align:center;padding:14px 10px 10px;overflow:visible}
.hd .logo{display:inline-flex;align-items:center;font-size:56px;margin:0}
.hd .dot{width:18px;height:18px;border-radius:50%;background:var(--sun);flex:none}
.hd .tag{font:700 12.5px "Hiragino Mincho ProN","YuMincho",serif;letter-spacing:.22em;color:#333;margin-top:8px}
@media (min-width:900px){.hd{padding:18px 10px 12px}.hd .logo{font-size:70px}.hd .dot{width:22px;height:22px}.hd .tag{font-size:14px;margin-top:10px}}

/* コメント欄（2026-11-17） */
.form .fr button{opacity:1;cursor:pointer}.form .fr button:disabled{opacity:.5}
.cmmsg{font-size:12.5px;color:var(--red);margin-top:6px;min-height:1em}
.cm{padding:12px 0;border-bottom:1px solid var(--line)}
.ch{font-size:13px;color:var(--sub)} .ch b{color:var(--ink)} .cn{color:#1b7a2b;font-weight:700;margin-right:8px}
.cm.staff .cn{color:var(--red)}
.cm p{font-size:15.5px;line-height:1.7;margin:4px 0 6px;white-space:pre-wrap;word-break:break-word}
.cf{display:flex;font-size:13px;font-weight:700}
.cf button{background:none;border:0;font:inherit;cursor:pointer;padding:2px 0}
.cf .up{color:#1a56c4}.cf .dn{color:var(--red)}.cf .rp{margin-left:auto;color:#aaa;font-weight:500}
.cf button.done{text-decoration:underline}
.cm0{font-size:14px;color:var(--sub);padding:14px 0}
.cmlist .ad.sm{height:110px;margin:4px 0 12px}

/* 2026-11-20 オーナー指摘：iPad（iOS 12）と古いスマホは flex の gap が効かない（♥5万とRTがくっつく・行がズレる）
   → gap をやめて隣どうしの余白（margin）で空ける。タブの上固定も iOS 12 は -webkit-sticky が要る（上で指定） */
.ban .s>*+*{margin-left:8px}
.sec>*+*{margin-left:12px}
.rk>*+*{margin-left:10px}
.sm>*+*{margin-left:12px}
.pager>*+*{margin-left:8px}
.it>*+*{margin-left:10px}
.share>*+*{margin-left:10px}
.hd .dot{margin-right:12px}
@media (min-width:900px){.hd .dot{margin-right:14px}}
.cf>*+*{margin-left:14px}
.cf .rp{margin-left:auto}
/* 記事の反応ボタン（2026-11-22 案H：薄い丸のアイコン＋右上に赤い丸の数字・押すと丸が赤） */
.share{align-items:center}.share>a{flex:none}
.rx{display:flex;gap:2px;margin-left:auto;padding-right:12px}
.rx button{-webkit-appearance:none;appearance:none;background:none;border:0;padding:0;margin:0;font:inherit;cursor:pointer;display:flex;flex-direction:column;align-items:center;color:var(--ink);position:relative;width:57px;-webkit-tap-highlight-color:transparent}
.rx .c{width:40px;height:40px;border-radius:50%;background:#f1efeb;display:flex;align-items:center;justify-content:center;transition:background .15s}
.rx svg{width:24px;height:24px;display:block}
.rx b{font-size:11px;font-weight:800;white-space:nowrap;margin-top:4px}
.rx i{position:absolute;top:-6px;left:50%;margin-left:8px;font-style:normal;font-size:10.5px;font-weight:800;color:#fff;background:var(--red);border:2px solid #fff;border-radius:10px;padding:0 5px;line-height:15px}
.rx button.on{color:var(--red)}.rx button.on .c{background:var(--red);color:#fff}
.rxb{margin:28px 0 8px;padding:18px 0 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center}
.rxb p{font-size:14px;font-weight:800;margin:0 0 14px}
.rxb .rx{justify-content:center;margin:0;padding:0;gap:24px}.rxb .rx button{width:84px}.rxb .rx .c{width:58px;height:58px}.rxb .rx svg{width:32px;height:32px}
.rxb .rx b{font-size:14px;margin-top:6px}.rxb .rx i{font-size:12px;margin-left:14px;top:-7px;line-height:17px}
@media (min-width:900px){.rx{gap:12px}.rx button{width:72px}.rx .c{width:48px;height:48px}.rx svg{width:28px;height:28px}.rx b{font-size:12.5px}.rx i{font-size:12px;margin-left:10px;line-height:17px}
 .rxb .rx{gap:36px}.rxb .rx button{width:100px}.rxb .rx .c{width:66px;height:66px}.rxb .rx svg{width:36px;height:36px}.rxb .rx b{font-size:15px}.rxb .rx i{font-size:13px;margin-left:16px}}
/* 反応ボタン：マウスやタップで押した時の青い枠は出さない（キーボード操作の時だけ赤い枠） */
.rx button:focus{outline:none}
.rx button:focus-visible .c{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--red)}
/* 固定ページ（大和真報とは・規約・プライバシー・お問い合わせ）2026-11-23 */
.page .body h1{font-size:22px;font-weight:900;margin:18px 0 10px}
.page .body h3{font-size:16px;font-weight:800;margin:18px 0 6px}
.page .body ul,.page .body ol{margin:8px 0 14px;padding-left:1.4em}.page .body li{margin:4px 0;line-height:1.8}
.page .pt{border-collapse:collapse;width:100%;font-size:14px;margin:10px 0}.page .pt th,.page .pt td{border:1px solid var(--line);padding:6px 8px;text-align:left;vertical-align:top}
.ctf label{display:block;margin:0 0 14px;font-weight:800;font-size:14px}
.ctf .req,.ctf .opt{font-size:11px;font-weight:700;margin-left:8px;padding:1px 6px;border-radius:4px}
.ctf .req{background:var(--red);color:#fff}.ctf .opt{background:#f1efeb;color:#666}
.ctf input,.ctf select,.ctf textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:10px;font:inherit;font-weight:400;font-size:16px;border:1px solid var(--line);border-radius:6px;background:#fff;-webkit-appearance:none;appearance:none}
.ctf button{-webkit-appearance:none;appearance:none;background:var(--red);color:#fff;border:0;border-radius:6px;padding:12px 28px;font:inherit;font-weight:800;font-size:15px;cursor:pointer}
.ctf button:disabled{opacity:.6}.ctf .note{font-size:12.5px;color:#666}
.ctf .msg{font-weight:800;margin-top:10px}.ctf .msg.ok{color:#1a7f37}.ctf .msg.bad{color:var(--red)}
.ctf select{-webkit-appearance:menulist;appearance:auto}
/* 記事の最後：公式LINEで情報提供（2026-11-23） */
.linecta{display:block;margin:4px 0 24px;padding:16px 16px 18px;border:2px solid #06c755;border-radius:10px;text-align:center;background:#f3fcf6}
.linecta b{display:block;font-size:15px;font-weight:900}
.linecta span{display:block;font-size:12.5px;color:#555;margin:6px 0 12px;line-height:1.6}
.linecta i{display:inline-block;font-style:normal;background:#06c755;color:#fff;font-weight:800;font-size:15px;padding:10px 26px;border-radius:24px}
.corr{margin:18px 0 0;padding:10px 12px;background:#f7f5f0;border-left:4px solid #999;font-size:13.5px;color:#444}.corr p{margin:2px 0}

/* 2026-11-24 一覧の間の広告枠（5本ごと） */
.smbox .ad.inl{height:100px;margin:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
/* 2026-11-24 バナーの印：現代ビジネスの赤い縦線（ロゴ）をやめて日の丸に */
.ban .s i.flag{width:21px;height:14px;background:#fff radial-gradient(circle at center,#bc002d 0 4.2px,transparent 4.6px);border-radius:1px;margin-right:2px}
/* 2026-11-24 本物の広告が入った枠：灰色の箱をやめ、広告の大きさに合わせる */
.ad.live{background:none;height:auto;min-height:250px;display:flex;justify-content:center;align-items:center;margin:12px 0}
.smbox .ad.live.inl{min-height:250px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px 0;margin:0}
/* 2026-11-24 コメントへの返信（1段だけぶら下げる） */
.cm.rep{margin-left:22px;padding-left:12px;border-left:3px solid var(--line)}
.cm.rep .ch b{color:var(--sub)}
.cf .re{color:#555}
.rform{margin:8px 0 12px 22px}
.rform .fr .cx{background:none;color:var(--sub);border:0;font:inherit;cursor:pointer;margin-right:10px}
/* 2026-11-24 修正：忍者AdMaxの自動リサイズが枠の幅いっぱい（約1.3倍）に引き伸ばし、高さがはみ出して上の記事に重なった
   → 枠の幅を広告の大きさ（300）にして、引き伸ばしが起きないようにする。高さも中身に合わせる */
.ad.live,.smbox .ad.live.inl{display:block;width:300px;max-width:100%;height:auto!important;min-height:250px;margin:14px auto;padding:0;overflow:hidden;background:none;border:0;text-align:center}
.smbox .ad.live.inl{margin:10px auto}
/* 2026-11-24 一覧の間＝記事カード1枚分（320x100）。上下の線で記事カードと同じ区切りに */
.smbox .ad.live.feed{width:auto;min-height:100px;margin:0;padding:6px 0;border-bottom:1px solid var(--line);display:flex;justify-content:center;align-items:center}
/* 2026-11-24 ランキングの4位の後の広告（記事カード1枚分） */
.rkpage .ad.live.feed{width:auto;min-height:100px;margin:0;padding:6px 0;display:flex;justify-content:center;align-items:center;border-bottom:1px solid var(--line)}
/* 2026-11-24 点検：忍者AdMaxの枠はスマホ向け＝パソコンには広告が来ず、空白の箱が残った → 画面の広い時は場所を取らない（広告が来ればその大きさで出る） */
@media (min-width:700px){.ad.live,.smbox .ad.live.inl,.smbox .ad.live.feed,.rkpage .ad.live.feed{min-height:0!important;padding:0!important;margin:0 auto!important;border:0!important;line-height:0;font-size:0}}
/* 2026-11-24 オーナー決定：カードの下の行は1行・♥は右端にそろえる。写真つきの小さいカードは下の行を横幅いっぱいに */
.mt{display:flex;align-items:baseline;white-space:nowrap}.mt .tag,.mt .shock{flex:none}.mt .ms{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.mt .xb{flex:none;margin-left:auto;padding-left:10px}
.sm{flex-wrap:wrap}.sm>.mt.full{flex-basis:100%;width:100%;font-size:12px;color:var(--sub);margin:8px 0 0}
