/*
Theme Name: アイアンサーガ トップ攻略 ポータル
Theme URI: https://ironsaga123.wiki/
Author: ironsaga123.wiki
Description: アイアンサーガ攻略サイト用 ポータル型テーマ。yakkun.com のような「全項目が見える」構造と、Prydwen 風の SF・メカ系ダークカードUIを採用。front-page.php / header.php / footer.php / single.php / archive.php / index.php を収録。
Version: 2.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ironsaga-portal
*/

@charset "UTF-8";
/* ==========================================================================
   アイアンサーガ トップ攻略 — LIGHT MECHA DESIGN SYSTEM
   白基調 × メカ／工業デザイン（HUDコーナーブラケット / ハザードストライプ /
   ブループリント方眼 / クリップドコーナー / モノスペック表示）
   ========================================================================== */

:root {
  --bg:          #FFFFFF;
  --bg-alt:      #FFFFFF;
  --surface:     #FFFFFF;
  --surface-2:   #F6F9FD;
  --surface-3:   #E9EFF8;

  --text:        #0B1220;
  --text-sub:    #5B6B82;
  --text-mute:   #8A9AB1;

  --border:      #D3DDEB;
  --border-2:    #BFCEE2;
  --line:        #E4EBF4;

  --primary:     #0B72D6;
  --primary-2:   #06B6D4;
  --primary-dk:  #075EAF;
  --accent:      #6D28D9;

  --danger:      #E11D48;
  --warning:     #EA580C;
  --success:     #15803D;

  --metal:       linear-gradient(180deg, #FFFFFF 0%, #FCFDFE 55%, #F4F7FB 100%);
  --metal-2:     linear-gradient(135deg, #FFFFFF 0%, #F1F6FB 60%, #E6EEF8 100%);
  --grad-primary: linear-gradient(135deg, #0B72D6 0%, #06B6D4 100%);
  --grad-accent:  linear-gradient(135deg, #6D28D9 0%, #4F46E5 100%);

  --hazard: repeating-linear-gradient(45deg, #FFC400 0 9px, #16202E 9px 18px);

  --radius:   4px;
  --radius-sm:3px;
  --maxw:     1220px;
  --gap:      20px;

  --shadow-card: 0 1px 0 #FFFFFF inset, 0 2px 4px rgba(15, 35, 70, .06), 0 10px 26px rgba(15, 35, 70, .07);
  --shadow-hover: 0 1px 0 #FFFFFF inset, 0 6px 14px rgba(11, 114, 214, .16), 0 16px 34px rgba(11, 114, 214, .14);

  --font-base: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-tech: "Rajdhani", "Orbitron", "Noto Sans JP", sans-serif;
  --font-mono: "Share Tech Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  /* 白ベース（方眼はヒーロー内のみ） */
  background: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 800; line-height: 1.45; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: var(--primary); text-decoration: none; transition: color .18s ease, box-shadow .18s ease; }
a:hover { color: var(--primary-dk); }
button { font-family: inherit; cursor: pointer; }
table { border-collapse: collapse; border-spacing: 0; width: 100%; }
figure { margin: 0; }
.clearfix::after { content: ""; display: block; clear: both; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.isa-site { position: relative; z-index: 1; }
.isa-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.isa-section { padding: 46px 0; position: relative; }
.isa-section--alt {
  background: #F8FAFC;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.isa-section--alt::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--hazard); opacity: .85;
}

/* ============ セクション見出し（テックラベル） ============ */
.isa-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 22px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.isa-head::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 96px; height: 2px;
  background: var(--grad-primary); box-shadow: 0 0 10px rgba(11,114,214,.5);
}
.isa-head__title {
  position: relative; padding-left: 34px;
  font-size: 25px; font-weight: 900; letter-spacing: .03em; color: var(--text);
}
.isa-head__title::before {
  content: "///";
  position: absolute; left: 0; top: 50%; transform: translateY(-52%);
  font-family: var(--font-tech); font-size: 20px; font-weight: 700; letter-spacing: -.06em;
  color: var(--primary);
}
.isa-head__title span {
  display: block; margin-top: 2px;
  font-family: var(--font-tech); font-size: 12px; font-weight: 700;
  letter-spacing: .30em; color: var(--text-mute); text-transform: uppercase;
}
.isa-head__more {
  flex: 0 0 auto; font-family: var(--font-tech); font-size: 14px; font-weight: 700;
  letter-spacing: .10em; text-transform: uppercase; color: var(--primary);
  padding-bottom: 2px; border-bottom: 2px solid rgba(11,114,214,.35);
}
.isa-head__more::after { content: "  ›"; }

/* ============ ヘッダー ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 4px; background: var(--hazard); opacity: .9; }
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(15, 35, 70, .12); }
.isa-admin-bar .site-header { top: 32px; }

.sh-inner {
  display: flex; align-items: center; gap: 18px;
  max-width: var(--maxw); margin: 0 auto; padding: 10px 20px; min-height: 70px;
}
.sh-logo { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; color: var(--text); }
.sh-logo img { height: 38px; width: auto; }
.sh-logo__txt { display: flex; flex-direction: column; line-height: 1.2; padding-left: 14px; border-left: 3px solid var(--primary); margin-left: 2px; }
.sh-logo__main { font-size: 17px; font-weight: 900; letter-spacing: .06em; color: var(--text); }
.sh-logo__sub { font-family: var(--font-tech); font-size: 10px; font-weight: 700; letter-spacing: .26em; color: var(--primary); }

.sh-nav { flex: 1 1 auto; }
.sh-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.sh-nav a {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; color: var(--text);
  border: 1px solid transparent; border-bottom: 2px solid transparent;
}
.sh-nav a:hover { color: var(--primary); background: var(--surface-2); border-color: var(--border); border-bottom-color: var(--primary); }

.sh-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.sh-iconbtn {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--border-2);
  background: var(--metal); color: var(--text); font-size: 13px; font-weight: 800;
  box-shadow: 0 1px 0 #fff inset;
}
.sh-iconbtn:hover { border-color: var(--primary); color: var(--primary); }
.sh-iconbtn svg { width: 16px; height: 16px; fill: currentColor; }
.sh-iconbtn--primary { background: var(--grad-primary); border-color: transparent; color: #fff; }
.sh-iconbtn--menu { display: none; }

.sh-search { display: none; border-top: 1px solid var(--border); background: var(--surface-2); }
.sh-search.is-open { display: block; }
.sh-search__inner { max-width: var(--maxw); margin: 0 auto; padding: 16px 20px; }

.search-form { display: flex; gap: 10px; }
.search-form input[type="text"], .search-form input[type="search"] {
  flex: 1 1 auto; min-width: 0; padding: 12px 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--border-2);
  background: #fff; color: var(--text); font-size: 15px; font-family: inherit;
}
.search-form input::placeholder { color: var(--text-mute); }
.search-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11,114,214,.16); }
.search-form button {
  flex: 0 0 auto; padding: 12px 24px; border: 0; border-radius: var(--radius-sm);
  background: var(--grad-primary); color: #fff; font-size: 15px; font-weight: 800;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.sh-drawer { display: none; background: var(--surface-2); border-top: 1px solid var(--border); }
.sh-drawer.is-open { display: block; }
.sh-drawer__inner { max-width: var(--maxw); margin: 0 auto; padding: 16px 20px 26px; }
.sh-drawer__group { margin-bottom: 18px; }
.sh-drawer__label { font-family: var(--font-tech); font-size: 11px; font-weight: 700; letter-spacing: .24em; color: var(--primary); margin-bottom: 8px; text-transform: uppercase; }
.sh-drawer__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sh-drawer__list a { display: block; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; color: var(--text); font-size: 14px; font-weight: 700; }
.sh-sns { display: flex; gap: 10px; }
.sh-sns a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; font-size: 13px; font-weight: 700; color: var(--text); }
.sh-sns img { width: auto; height: 22px; }

/* ============ ヒーロー ============ */
.isa-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F8FD 62%, #E8F0FA 100%);
  border-bottom: 1px solid var(--border);
}
.isa-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,114,214,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,114,214,.10) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.15) 70%, transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.15) 70%, transparent 92%);
}
.isa-hero::after {
  content: ""; position: absolute; right: -140px; top: -120px; width: 520px; height: 520px;
  background:
    radial-gradient(closest-side, rgba(6,182,212,.28), rgba(6,182,212,0) 72%),
    radial-gradient(closest-side, rgba(11,114,214,.22), rgba(11,114,214,0) 76%);
}
.isa-hero__inner { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto; padding: 76px 20px 70px; }
.isa-hero__inner::before {
  content: ""; position: absolute; left: 0; top: 34px; bottom: 34px; width: 0;
  background: none; box-shadow: none;
}
.isa-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px;
  padding: 6px 15px; border-radius: var(--radius-sm);
  border: 1px solid rgba(11,114,214,.42); background: rgba(11,114,214,.07);
  color: var(--primary); font-family: var(--font-tech);
  font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
}
.isa-hero__eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.isa-hero__title {
  font-size: 42px; font-weight: 900; line-height: 1.2; letter-spacing: .01em; color: var(--text);
}
.isa-hero__title span { color: var(--primary); text-shadow: 0 2px 16px rgba(11,114,214,.22); }
.isa-hero__lead { margin-top: 14px; font-size: 16px; color: var(--text-sub); max-width: 780px; }
.isa-hero__lead strong { color: var(--text); font-weight: 800; }
.isa-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.isa-hero__stats {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 30px;
  border: 1px solid var(--border); background: rgba(255,255,255,.72);
}
.isa-hero__stat {
  flex: 1 1 auto; min-width: 150px; padding: 14px 20px;
  border-right: 1px solid var(--border);
  font-family: var(--font-tech); font-size: 12px; font-weight: 700;
  letter-spacing: .18em; color: var(--text-mute); text-transform: uppercase;
}
.isa-hero__stat:last-child { border-right: 0; }
.isa-hero__stat b { display: block; font-family: var(--font-tech); font-size: 24px; font-weight: 700; color: var(--primary); letter-spacing: .02em; }

/* ============ ボタン（クリップドコーナー） ============ */
.isa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border: 0; border-radius: 0;
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
  background: var(--grad-primary); color: #fff;
  font-size: 15px; font-weight: 800; line-height: 1.2; letter-spacing: .04em;
  box-shadow: 0 6px 18px rgba(11,114,214,.30);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.isa-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(11,114,214,.38); filter: saturate(1.12); }
.isa-btn--accent { background: var(--grad-accent); box-shadow: 0 6px 18px rgba(109,40,217,.30); }
.isa-btn--ghost { background: #fff; color: var(--primary); box-shadow: inset 0 0 0 2px var(--primary), 0 2px 10px rgba(15,35,70,.08); }
.isa-btn--ghost:hover { background: var(--surface-2); color: var(--primary-dk); }
.isa-btn--sm { padding: 9px 18px; font-size: 13px; }
.isa-btn svg { width: 17px; height: 17px; fill: currentColor; }

/* ============ カード（HUDコーナーブラケット） ============ */
.isa-card {
  display: block; position: relative; padding: 20px;
  background: var(--metal); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text);
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.isa-card::before,
.isa-card::after {
  content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none;
  transition: border-color .2s ease;
}
.isa-card::before { top: -1px; left: -1px; border-top: 2px solid var(--isa-card-accent, var(--primary)); border-left: 2px solid var(--isa-card-accent, var(--primary)); }
.isa-card::after  { bottom: -1px; right: -1px; border-bottom: 2px solid var(--border-2); border-right: 2px solid var(--border-2); }
.isa-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-hover); }
.isa-card:hover::after { border-color: var(--primary); }

.isa-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 14px;
  background: rgba(11,114,214,.09); border: 1px solid rgba(11,114,214,.28);
  color: var(--primary);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}
.isa-card__icon svg { width: 22px; height: 22px; fill: currentColor; }
.isa-card__title { display: block; font-size: 18px; font-weight: 800; color: var(--text); letter-spacing: .01em; }
.isa-card__desc { display: block; margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--text-sub); }
.isa-card__sub { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); font-size: 12px; color: var(--text-mute); }
.isa-card__arrow { position: absolute; right: 14px; top: 12px; font-size: 20px; color: var(--border-2); transition: color .2s ease, transform .2s ease; }
.isa-card:hover .isa-card__arrow { color: var(--primary); transform: translateX(3px); }

.isa-grid { display: grid; gap: var(--gap); }
.isa-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.isa-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.isa-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 優先リンク */
.isa-priority .isa-card { padding: 22px; }
.isa-priority .isa-card::before { width: 22px; height: 22px; border-width: 3px; }
.isa-priority .isa-card__title { font-size: 19px; }
.isa-priority .isa-card__desc { font-size: 13px; }

/* ============ カテゴリカード ============ */
.isa-cat { padding-top: 24px; }
.isa-cat::after { display: none; }
.isa-cat:hover { box-shadow: var(--shadow-hover); }
.isa-cat .isa-card__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.isa-cat__subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.isa-cat__subs span {
  display: inline-block; padding: 5px 10px; border-radius: 2px;
  border: 1px solid var(--border); background: var(--surface-2);
  font-size: 12px; color: var(--text-sub);
}
.isa-card:hover .isa-cat__subs span { border-color: var(--border-2); }

/* ============ 記事カード ============ */
.isa-post { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.isa-post__thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--metal-2) !important;
  border-bottom: 1px solid var(--border);
}
.isa-post__thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(11,114,214,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(11,114,214,.12) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .7;
}
.isa-post__thumb img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.isa-post:hover .isa-post__thumb img { transform: scale(1.05); }
.isa-post__thumb .isa-noimg {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
  font-family: var(--font-tech); font-size: 12px; font-weight: 700; letter-spacing: .28em;
  color: #8EA3BE !important; text-transform: uppercase;
}
.isa-post__label { position: absolute; left: 10px; top: 10px; z-index: 2; }
.isa-post__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 16px 18px 18px; }
.isa-post__title { font-size: 16px; font-weight: 800; line-height: 1.6; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.isa-post:hover .isa-post__title { color: var(--primary); }
.isa-post__excerpt { margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--text-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.isa-post__meta { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--font-tech); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--text-mute); }
.isa-post__meta .isa-date::before { content: "更新 "; }

/* ============ ラベル ============ */
.isa-label {
  display: inline-block; padding: 5px 11px; border-radius: 4px;
  font-size: 11px; font-weight: 800; letter-spacing: .06em; line-height: 1.5;
  color: #fff !important; background: var(--primary);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 2px 6px rgba(11,18,32,.55); text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.isa-label--beginner { background: #15803D; }
.isa-label--arena    { background: #B91C1C; }
.isa-label--zenith   { background: #6D28D9; }
.isa-label--event    { background: #C2410C; }
.isa-label--mech     { background: #1D4ED8; }
.isa-label--pilot    { background: #BE185D; }
.isa-label--parts    { background: #0E7490; }
.isa-label--boss     { background: #991B1B; }
.isa-label--news     { background: #334155; }
.isa-label--feature  { background: #7C3AED; }

/* ============ データベース ============ */
.isa-db { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.isa-db__item {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--metal); color: var(--text); font-size: 14px; font-weight: 800;
  box-shadow: 0 1px 0 #fff inset;
}
.isa-db__item:hover { border-color: var(--primary); color: var(--primary); background: #fff; }
.isa-db__item svg { width: 18px; height: 18px; fill: var(--primary); flex: 0 0 auto; }
.isa-db__item span small { display: block; font-family: var(--font-tech); font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--text-mute); }

/* ============ パネル（初心者 / PvP / イベント） ============ */
.isa-panel { position: relative; border-radius: var(--radius); border: 1px solid var(--border); background: var(--metal); padding: 24px; box-shadow: var(--shadow-card); }
.isa-panel::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; }
.isa-panel::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 22px; height: 22px;
  border-right: 2px solid var(--border-2); border-bottom: 2px solid var(--border-2);
}
.isa-panel--beginner::before { background: linear-gradient(90deg, #15803D, #22C55E, transparent); }
.isa-panel--pvp::before      { background: linear-gradient(90deg, #B91C1C, #6D28D9, transparent); }
.isa-panel--event::before    { background: linear-gradient(90deg, #C2410C, #F97316, transparent); }
.isa-panel--beginner { background: linear-gradient(180deg, rgba(21,128,61,.07), #FFFFFF 34%); }
.isa-panel--pvp      { background: linear-gradient(180deg, rgba(185,28,28,.07), #FFFFFF 34%); }
.isa-panel--event    { background: linear-gradient(180deg, rgba(194,65,12,.09), #FFFFFF 34%); }

.isa-panel__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.isa-panel__badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex: 0 0 auto;
  font-family: var(--font-tech); font-size: 17px; font-weight: 700; color: #fff;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}
.isa-panel--beginner .isa-panel__badge { background: linear-gradient(135deg, #15803D, #22C55E); }
.isa-panel--pvp .isa-panel__badge      { background: linear-gradient(135deg, #B91C1C, #6D28D9); }
.isa-panel--event .isa-panel__badge    { background: linear-gradient(135deg, #C2410C, #F97316); }
.isa-panel__title { font-size: 21px; font-weight: 900; color: var(--text); }
.isa-panel__title small { display: block; margin-top: 2px; font-family: var(--font-tech); font-size: 11px; font-weight: 700; letter-spacing: .24em; color: var(--text-mute); text-transform: uppercase; }

.isa-rows { display: grid; gap: 8px; }
.isa-row {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: #fff; color: var(--text); font-size: 14px; font-weight: 700;
}
.isa-row:hover { border-color: var(--primary); background: var(--surface-2); color: var(--primary); }
.isa-row__num { flex: 0 0 auto; width: 22px; font-family: var(--font-tech); font-size: 14px; font-weight: 700; color: var(--primary); }
.isa-row__txt { flex: 1 1 auto; min-width: 0; }
.isa-row__txt small { display: block; font-size: 11px; font-weight: 500; color: var(--text-mute); }
.isa-row__go { flex: 0 0 auto; color: var(--border-2); }
.isa-row__date { flex: 0 0 auto; font-family: var(--font-tech); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--text-mute); }

.isa-live {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 2px;
  background: rgba(225,29,72,.09); border: 1px solid rgba(225,29,72,.42);
  color: #BE123C; font-family: var(--font-tech); font-size: 11px; font-weight: 700; letter-spacing: .12em;
}
.isa-live::before { content: ""; width: 6px; height: 6px; background: var(--danger); animation: isa-pulse 1.4s ease-in-out infinite; }
@keyframes isa-pulse { 0%,100% { opacity: 1; } 50% { opacity: .2; } }

/* ============ パンくず / ページャ / アーカイブ ============ */
.isa-breadcrumb { padding: 14px 0 0; font-size: 12px; color: var(--text-mute); }
.isa-breadcrumb a { color: var(--text-sub); }
.isa-breadcrumb a:hover { color: var(--primary); }
.isa-breadcrumb span + span::before { content: " › "; padding: 0 6px; color: var(--border-2); }

.isa-pagenavi { margin: 34px 0 6px; }
.isa-pagenavi .wp-pagenavi { display: flex; flex-wrap: wrap; gap: 6px; }
.isa-pagenavi a, .isa-pagenavi span, .isa-pagenavi .page, .isa-pagenavi .current, .isa-pagenavi .extend {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border) !important; background: #fff; color: var(--text);
  font-family: var(--font-tech); font-size: 14px; font-weight: 700;
}
.isa-pagenavi a:hover { border-color: var(--primary) !important; color: var(--primary); }
.isa-pagenavi .current { background: var(--grad-primary); border-color: transparent !important; color: #fff; }

.isa-posts-nav { display: flex; justify-content: space-between; gap: 12px; margin: 30px 0; }
.isa-posts-nav a, .isa-posts-nav span { padding: 12px 20px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; font-size: 13px; font-weight: 700; color: var(--text); }
.isa-posts-nav a:hover { border-color: var(--primary); color: var(--primary); }

.isa-arch-head { padding: 30px 0 6px; }
.isa-arch-head__title { font-size: 28px; font-weight: 900; color: var(--text); }
.isa-arch-head__title span { font-family: var(--font-tech); font-size: 14px; letter-spacing: .18em; color: var(--text-mute); }
.isa-arch-head__desc { margin-top: 8px; font-size: 14px; color: var(--text-sub); }
.isa-empty { padding: 46px 20px; text-align: center; color: var(--text-sub); border: 1px dashed var(--border-2); border-radius: var(--radius); background: #fff; }
.isa-archive { padding: 10px 0 50px; }

/* ============ フッター ============ */
.site-footer { background: linear-gradient(180deg, #FFFFFF, #EAF1F9); border-top: 1px solid var(--border); margin-top: 20px; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--hazard); opacity: .9; }
.sf-inner { max-width: var(--maxw); margin: 0 auto; padding: 44px 20px 30px; }
.sf-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 30px; }
.sf-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); margin-bottom: 12px; }
.sf-logo img { height: 40px; width: auto; }
.sf-about { font-size: 13px; color: var(--text-sub); line-height: 1.9; }
.sf-sns { display: flex; gap: 10px; margin-top: 16px; }
.sf-sns a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; font-size: 12px; font-weight: 700; color: var(--text); }
.sf-sns img { width: auto; height: 20px; }
.sf-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sf-col__label { font-family: var(--font-tech); font-size: 12px; font-weight: 700; letter-spacing: .22em; color: var(--primary); margin-bottom: 10px; text-transform: uppercase; }
.sf-col ul { display: grid; gap: 7px; }
.sf-col a { font-size: 13px; color: var(--text-sub); }
.sf-col a:hover { color: var(--primary); }
.sf-copyright { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--border); text-align: center; font-family: var(--font-tech); font-size: 12px; letter-spacing: .08em; color: var(--text-mute); }
.sf-top-link { display: block; text-align: center; padding: 14px; border-top: 1px solid var(--border); font-family: var(--font-tech); font-size: 12px; letter-spacing: .18em; color: var(--text-sub); background: #fff; }

/* ==========================================================================
   記事ページ
   ========================================================================== */
.isa-article { padding: 12px 0 40px; }
.isa-article__head { margin-bottom: 22px; }
.isa-article__labels { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.isa-article__title { font-size: 31px; font-weight: 900; line-height: 1.45; color: var(--text); letter-spacing: .01em; }
.isa-article__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  margin-top: 14px; padding-bottom: 16px; border-bottom: 2px solid var(--border);
  font-family: var(--font-tech); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--text-mute);
}
.isa-article__meta .isa-meta-upd { color: var(--primary); font-weight: 700; }

.isa-article__thumb {
  position: relative; margin: 0 0 24px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
  background: linear-gradient(135deg, #FFFFFF, #E3EDF8 60%, #D3E2F2) !important;
}
.isa-article__thumb::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(11,114,214,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(11,114,214,.10) 1px, transparent 1px); background-size: 26px 26px; }
.isa-article__thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.isa-article__thumb > * { position: relative; z-index: 1; }

/* 要点カード */
.isa-points {
  position: relative; margin: 0 0 24px; padding: 22px 24px 20px;
  border-radius: var(--radius); border: 1px solid rgba(11,114,214,.38);
  background: linear-gradient(180deg, rgba(11,114,214,.08), #FFFFFF 58%);
  box-shadow: var(--shadow-card);
}
.isa-points::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-primary); }
.isa-points::after { content: ""; position: absolute; right: 0; bottom: 0; width: 20px; height: 20px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); }
.isa-points__title { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; font-size: 17px; font-weight: 900; color: var(--text); }
.isa-points__title::before { content: "///"; font-family: var(--font-tech); font-size: 15px; letter-spacing: -.06em; color: var(--primary); }
.isa-points ul { display: grid; gap: 8px; }
.isa-points li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.75; color: var(--text); }
.isa-points li::before { content: "▸"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 900; }
.isa-points__note { margin-top: 12px; font-size: 12px; color: var(--text-mute); }

/* Tier カード */
.isa-tier { position: relative; margin: 0 0 24px; padding: 20px 24px; border-radius: var(--radius); border: 1px solid rgba(109,40,217,.35); background: linear-gradient(180deg, rgba(109,40,217,.09), #FFFFFF 58%); box-shadow: var(--shadow-card); }
.isa-tier::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, #6D28D9, #0B72D6, transparent); }
.isa-tier__title { margin-bottom: 12px; font-size: 16px; font-weight: 900; color: var(--text); }
.isa-tier__row { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--border); font-size: 14px; }
.isa-tier__row:first-of-type { border-top: 0; }
.isa-tier__rank { flex: 0 0 auto; min-width: 62px; padding: 3px 10px; text-align: center; font-family: var(--font-tech); font-size: 13px; font-weight: 700; letter-spacing: .08em; color: #fff; background: var(--primary); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.isa-tier__rank--s { background: linear-gradient(135deg, #F59E0B, #E11D48); }
.isa-tier__rank--a { background: linear-gradient(135deg, #6D28D9, #4F46E5); }
.isa-tier__rank--b { background: linear-gradient(135deg, #0B72D6, #06B6D4); }
.isa-tier__rank--pick { background: linear-gradient(135deg, #0D9488, #0E7490); }
.isa-tier__val { flex: 1 1 auto; min-width: 0; font-weight: 700; color: var(--text); }

/* 目次 */
.isa-toc { margin: 0 0 26px; padding: 20px 24px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-card); }
.isa-toc__title { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font-size: 16px; font-weight: 900; color: var(--text); }
.isa-toc__title::before { content: "///"; font-family: var(--font-tech); font-size: 14px; letter-spacing: -.06em; color: var(--accent); }
.isa-toc ol { counter-reset: isa-toc; display: grid; gap: 6px; }
.isa-toc li { counter-increment: isa-toc; }
.isa-toc li::before { content: counter(isa-toc, decimal-leading-zero) "  "; font-family: var(--font-tech); font-weight: 700; letter-spacing: .04em; color: var(--primary); }
.isa-toc a { font-size: 14px; color: var(--text); }
.isa-toc a:hover { color: var(--primary); }
.isa-toc .isa-toc__lv3 { padding-left: 20px; font-size: 13px; }
.isa-toc .isa-toc__lv3::before { content: "— "; color: var(--text-mute); }

/* 本文 */
.isa-entry { font-size: 16px; line-height: 1.95; color: var(--text); }
.isa-entry > * + * { margin-top: 1.1em; }
.isa-entry a:not(.isa-btn) { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.isa-entry strong { color: var(--text); font-weight: 800; }
.isa-entry ul, .isa-entry ol { padding: 16px 20px 16px 40px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); }
.isa-entry ul { list-style: disc; }
.isa-entry ol { list-style: decimal; }
.isa-entry li + li { margin-top: .45em; }
.isa-entry img { border-radius: var(--radius-sm); }
.isa-entry blockquote { margin: 1.4em 0; padding: 16px 20px; border-left: 4px solid var(--primary); background: rgba(11,114,214,.06); color: var(--text); }
.isa-entry hr { border: 0; border-top: 1px solid var(--border); }
.isa-entry code { padding: .15em .45em; border-radius: 3px; background: var(--surface-3); border: 1px solid var(--border); font-size: .92em; }

/* H2 / H3 / H4 */
.isa-entry h2 {
  position: relative; margin: 2.2em 0 1.1em; padding: 16px 20px 16px 22px;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  background: linear-gradient(90deg, rgba(11,114,214,.10), #FFFFFF 62%);
  font-size: 23px; line-height: 1.55; color: var(--text);
}
.isa-entry h2::after { content: ""; position: absolute; right: 0; top: 0; width: 26px; height: 26px; border-top: 2px solid var(--primary); border-right: 2px solid var(--primary); }
.isa-entry h3 {
  position: relative; margin: 1.9em 0 .9em; padding: 14px 18px;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 19px; line-height: 1.6; color: var(--text);
}
.isa-entry h3::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-primary); }
.isa-entry h4 {
  display: inline-block; margin: 1.6em 0 .7em; padding: 7px 16px; border-radius: 2px;
  border: 1px solid rgba(109,40,217,.42); background: rgba(109,40,217,.08);
  font-size: 16px; color: #5B21B6; line-height: 1.6;
}
.isa-entry h5, .isa-entry h6 { margin: 1.4em 0 .6em; font-size: 15px; color: var(--text-sub); }

/* 表 */
.isa-table-wrap { margin: 1.4em 0; overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; }
.isa-entry table, .isa-table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; background: #fff; }
.isa-entry th, .isa-table-wrap th {
  padding: 12px 14px; text-align: left; font-family: var(--font-tech);
  font-size: 14px; font-weight: 700; letter-spacing: .08em; color: #fff;
  background: linear-gradient(180deg, #16283D, #0F1D2E);
  border-bottom: 1px solid var(--border); border-right: 1px solid rgba(255,255,255,.12); white-space: nowrap;
}
.isa-entry td, .isa-table-wrap td { padding: 12px 14px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--line); color: var(--text); vertical-align: top; }
.isa-entry tr:last-child td { border-bottom: 0; }
.isa-entry th:last-child, .isa-entry td:last-child { border-right: 0; }
.isa-entry tbody tr:nth-child(even) td { background: var(--surface-2); }

/* 機体ブロック */
.isa-mech { margin: 1.5em 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--metal); overflow: hidden; box-shadow: var(--shadow-card); }
.isa-mech__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 16px 20px; background: linear-gradient(90deg, rgba(11,114,214,.12), #FFFFFF 70%); border-bottom: 1px solid var(--border); }
.isa-mech__name { font-size: 19px; font-weight: 900; color: var(--text); }
.isa-mech__rate { padding: 4px 12px; font-family: var(--font-tech); font-size: 13px; font-weight: 700; letter-spacing: .08em; color: #fff; background: linear-gradient(135deg, #F59E0B, #E11D48); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.isa-mech__role { font-size: 12px; color: var(--text-sub); }
.isa-mech__stars { margin-left: auto; color: #F59E0B; font-size: 15px; letter-spacing: .12em; }
.isa-mech__body { padding: 16px 20px 20px; }
.isa-mech__parts { display: grid; gap: 8px; margin-bottom: 14px; }
.isa-mech__part { display: flex; align-items: baseline; gap: 12px; padding: 10px 14px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--border); font-size: 14px; }
.isa-mech__part dt { flex: 0 0 66px; font-family: var(--font-tech); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--primary); }
.isa-mech__part dd { margin: 0; flex: 1 1 auto; color: var(--text); }

/* 関連記事・シェア */
.isa-related { margin-top: 46px; padding-top: 30px; border-top: 2px solid var(--border); position: relative; }
.isa-related::before { content: ""; position: absolute; top: -2px; left: 0; width: 96px; height: 2px; background: var(--grad-primary); }
.isa-related__title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 21px; font-weight: 900; color: var(--text); }
.isa-related__title::before { content: "///"; font-family: var(--font-tech); font-size: 17px; letter-spacing: -.06em; color: var(--primary); }

.isa-share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding-top: 22px; border-top: 1px dashed var(--border); }
.isa-share a { display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; font-size: 13px; font-weight: 700; color: var(--text); }
.isa-share a:hover { border-color: var(--primary); color: var(--primary); }

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media screen and (max-width: 1023px) {
  :root { --gap: 16px; }
  .isa-grid--3, .isa-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .isa-db { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-nav { display: none; }
  .sh-iconbtn--menu { display: inline-flex; }
  .sh-drawer.is-open { display: block; }
  .isa-hero__inner { padding: 46px 20px 42px; }
  .isa-hero__title { font-size: 33px; }
  .sf-top { grid-template-columns: 1fr; gap: 26px; }
  .sf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 767px) {
  body { font-size: 15.5px; line-height: 1.85; }
  .isa-container { padding: 0 16px; }
  .isa-section { padding: 32px 0; }
  .sh-inner { gap: 10px; padding: 8px 16px; min-height: 60px; }
  .sh-logo img { height: 30px; }
  .sh-logo__main { font-size: 14px; }
  .sh-iconbtn { padding: 8px 12px; font-size: 12px; }
  .sh-iconbtn__txt { display: none; }
  .sh-iconbtn--primary { display: none; }
  .sh-iconbtn--menu { display: inline-flex; }
  .sh-drawer__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .isa-head { align-items: center; margin-bottom: 16px; }
  .isa-head__title { font-size: 20px; padding-left: 26px; }
  .isa-head__title::before { font-size: 16px; }
  .isa-head__title span { font-size: 10px; letter-spacing: .22em; }
  .isa-head__more { font-size: 12px; }
  .isa-hero__inner { padding: 34px 16px 32px; }
  .isa-hero__title { font-size: 26px; }
  .isa-hero__lead { font-size: 14px; }
  .isa-hero__cta .isa-btn { flex: 1 1 100%; }
  .isa-hero__stat { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--border); }
  .isa-hero__stat:last-child { border-bottom: 0; }
  .isa-grid--2, .isa-grid--3, .isa-grid--4 { grid-template-columns: 1fr; }
  .isa-db { grid-template-columns: 1fr; }
  .isa-card { padding: 16px; }
  .isa-card__title { font-size: 16px; }
  .isa-card__icon { width: 38px; height: 38px; margin-bottom: 10px; }
  .isa-panel { padding: 18px 16px; }
  .isa-panel__title { font-size: 18px; }
  .isa-row { padding: 12px 14px; font-size: 13.5px; }
  .isa-row__date { display: none; }
  .isa-post__body { padding: 14px 15px 16px; }
  .isa-post__title { font-size: 15px; }
  .isa-article__title { font-size: 23px; }
  .isa-entry { font-size: 15.5px; }
  .isa-entry h2 { font-size: 19px; }
  .isa-entry h3 { font-size: 17px; }
  .isa-table-wrap { margin: 1.2em -16px; border-radius: 0; border-left: 0; border-right: 0; padding: 0 16px 4px; }
  .isa-entry table, .isa-table-wrap table { min-width: 520px; font-size: 13px; }
  .isa-table-wrap::after { content: "← 横にスクロールできます"; display: block; margin-top: 6px; font-size: 11px; color: var(--text-mute); text-align: right; }
  .isa-mech__part { flex-direction: column; gap: 3px; }
  .isa-mech__part dt { flex: none; }
  .sf-inner { padding: 32px 16px 24px; }
  .sf-cols { grid-template-columns: 1fr; gap: 20px; }
  .isa-posts-nav { flex-direction: column; }
}


/* ===== 画像アート組み込み ===== */
@charset "UTF-8";
/* ==========================================================================
   LIGHT MECHA + ART — 画像組み込み用オーバーレイ
   （light-mecha.css の後に読み込む）
   ========================================================================== */

/* ---- ヒーロー：キービジュアルを背景に敷き、白ベールで文字を読ませる ---- */
.isa-hero--art {
  background: #E9F0F9;
  isolation: isolate;
}
.isa-hero--art { min-height: 460px; }
.isa-hero--art .isa-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center 18%;
  filter: saturate(1.05) brightness(1.12) contrast(.97);
  transform: scale(1.02);
}
.isa-hero--art .isa-hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(96deg,
      rgba(255,255,255,.97) 0%,
      rgba(255,255,255,.92) 30%,
      rgba(255,255,255,.62) 45%,
      rgba(255,255,255,.22) 58%,
      rgba(255,255,255,.02) 74%,
      rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 62%, rgba(255,255,255,.62) 100%);
}
.isa-hero--art .isa-hero__grid {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image:
    linear-gradient(rgba(11,114,214,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,114,214,.10) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent 88%);
}
.isa-hero--art .isa-hero__inner { z-index: 3; }
.isa-hero--art .isa-hero__kv {
  position: absolute; right: 20px; bottom: 18px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border: 1px solid rgba(255,255,255,.7);
  background: rgba(11,18,32,.55); backdrop-filter: blur(4px);
  font-family: var(--font-tech); font-size: 10px; font-weight: 700;
  letter-spacing: .24em; color: #EAF3FF; text-transform: uppercase;
}
.isa-hero--art .isa-hero__kv::before { content: ""; width: 7px; height: 7px; background: #FFC400; }

/* ---- セクションに薄いアート背景 ---- */
.isa-section--art { position: relative; background: #F4F8FC; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.isa-section--art::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center 30%;
  opacity: .5;
}
.isa-section--art > .isa-container { position: relative; z-index: 1; }
.isa-section--art > .isa-container::before {
  content: ""; position: absolute; inset: -18px -20px; z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.90) 45%, rgba(255,255,255,.72) 100%);
}

/* ---- カテゴリカード：実画像サムネ ---- */
.isa-cat--thumb { padding: 0; overflow: hidden; }
.isa-cat--thumb::before { width: 22px; height: 22px; border-width: 3px; }
.isa-cat__thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.isa-cat__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.isa-cat__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,15,30,.02) 0%, rgba(7,15,30,.42) 100%);
}
.isa-card:hover .isa-cat__thumb img { transform: scale(1.06); }
.isa-cat__name {
  position: absolute; left: 12px; bottom: 10px; z-index: 2;
  font-size: 17px; font-weight: 900; color: #fff; letter-spacing: .02em;
  text-shadow: 0 2px 10px rgba(0,0,0,.65);
}
.isa-cat__tag {
  position: absolute; right: 10px; top: 10px; z-index: 2;
  padding: 4px 10px; font-family: var(--font-tech); font-size: 10px; font-weight: 800;
  letter-spacing: .14em; color: #fff; background: #0B72D6;
  border: 1px solid #fff; border-radius: 3px;
  box-shadow: 0 1px 4px rgba(11,18,32,.45);
}
.isa-cat__body { padding: 16px 18px 18px; }
.isa-cat__body .isa-card__desc { margin-top: 0; }
.isa-cat__ico {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; color: #fff;
  background: rgba(11,114,214,.82); border: 1px solid rgba(255,255,255,.55);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.isa-cat__ico svg { width: 18px; height: 18px; fill: currentColor; }

/* ===== データベース：改修中（リンク無効） ===== */
.isa-db__item--soon {
  cursor: default;
  background: var(--surface-2);
  border-style: dashed;
  color: var(--text-sub);
}
.isa-db__item--soon:hover { border-color: var(--border); color: var(--text-sub); background: var(--surface-2); }
.isa-db__item--soon svg { fill: var(--text-mute); }
.isa-db__soon {
  margin-left: auto; flex: 0 0 auto;
  padding: 2px 8px;
  font-family: var(--font-tech); font-size: 10px; font-weight: 700; letter-spacing: .16em;
  color: #B45309; background: #FEF3C7; border: 1px solid #FCD34D;
}
.sh-drawer__soon {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 14px; border: 1px dashed var(--border); border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--text-mute); font-size: 14px; font-weight: 700;
}
.sh-drawer__soon em { font-style: normal; font-family: var(--font-tech); font-size: 10px; letter-spacing: .14em; color: #B45309; }
.sf-col__soon { color: var(--text-mute); font-size: 13px; }

/* ============ イベント期限バッジ ============ */
.isa-deadline {
  position: absolute; left: 10px; bottom: 10px; z-index: 3;
  display: inline-block; padding: 4px 10px; border-radius: 4px;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; line-height: 1.4;
  color: #fff; border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 2px 6px rgba(11,18,32,.5); text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.isa-deadline--open  { background: #15803D; }              /* 開催中=緑 */
.isa-deadline--today { background: #EA580C; }              /* 本日終了=橙 */
.isa-deadline--end   { background: #64748B; }              /* 終了=グレー */


/* ============ 開催中イベント：カテゴリ別グループ ============ */
.isa-event-group { margin: 0 0 22px; }
.isa-event-group:last-of-type { margin-bottom: 6px; }
.isa-event-group__head {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 12px; padding: 2px 0 2px 11px;
  border-left: 4px solid var(--primary);
}
.isa-event-group__title { margin: 0; font-size: 15px; font-weight: 800; color: var(--text); letter-spacing: .02em; }
.isa-event-group__count {
  display: inline-block; padding: 2px 8px; border-radius: 3px;
  background: var(--surface-3); color: var(--primary);
  font-family: var(--font-tech); font-size: 11px; font-weight: 800; letter-spacing: .06em;
}
.isa-event-group__more { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--primary); text-decoration: none; }
.isa-event-group__more:hover { text-decoration: underline; }
.isa-event-links { border-top: 1px dashed var(--border); padding-top: 16px; margin-top: 2px; }
.isa-event-none {
  margin: 0 0 16px; padding: 14px 16px; border: 1px dashed var(--border-2);
  border-radius: var(--radius); background: #F6F9FD; color: var(--text-sub); font-size: 13px; line-height: 1.8;
}

/* ============ 開催中イベント：カテゴリ絞り込みボタン ============ */
.isa-event-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.isa-event-filter__btn {
  display: inline-block; padding: 9px 18px; border-radius: 4px;
  border: 1px solid var(--border-2); background: #fff;
  color: var(--text); font-size: 13px; font-weight: 700; text-decoration: none;
  box-shadow: 0 1px 0 #fff inset, 0 1px 3px rgba(15,35,70,.06);
}
.isa-event-filter__btn:hover { border-color: var(--primary); color: var(--primary); background: #F3F8FD; }
.isa-event-filter__btn.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ==========================================================================
   ヘッダー：レスポンシブ崩れ修正（文字とボタン／線の重なり解消）
   ========================================================================== */

/* ヘッダー内は折り返さず、ロゴ側だけが縮むようにする */
.sh-inner { flex-wrap: nowrap; }
.sh-logo { flex: 1 1 auto; min-width: 0; }          /* 旧: flex:0 0 auto で縮まず重なっていた */
.sh-logo__txt { min-width: 0; }
.sh-logo__main,
.sh-logo__sub {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}

/* ハザードラインがヘッダー外にはみ出して下の文字と重ならないように */
.site-header::after { bottom: 0; height: 3px; }

@media screen and (max-width: 767px) {
  .sh-inner { gap: 8px; padding: 8px 12px; min-height: 58px; }

  /* ロゴ画像と文字の余白／区切り線を詰めて干渉をなくす */
  .sh-logo { gap: 8px; }
  .sh-logo img { height: 28px; flex: 0 0 auto; }
  .sh-logo__txt { padding-left: 8px; border-left-width: 2px; }
  .sh-logo__main { font-size: 13.5px; letter-spacing: .02em; }
  .sh-logo__sub  { font-size: 8.5px; letter-spacing: .12em; }   /* 旧: .26em で横に伸びて被っていた */

  /* ボタンは縮めず、確実に右端へ */
  .sh-actions { flex: 0 0 auto; gap: 6px; }
  .sh-iconbtn { padding: 7px 10px; flex: 0 0 auto; }
  .sh-iconbtn svg { width: 15px; height: 15px; }
}

/* 極小画面（〜400px）では副題を隠し、完全に重なりを防ぐ */
@media screen and (max-width: 400px) {
  .sh-logo__sub { display: none; }
  .sh-logo__main { font-size: 12.5px; }
}

/* ==========================================================================
   ロゴ：青い縦線と文字の重なりを完全に解消
   ========================================================================== */
.sh-logo { gap: 14px !important; }                    /* 画像とテキストの間隔を拡大 */
.sh-logo__txt {
  border-left: 3px solid var(--primary) !important;
  padding-left: 16px !important;                      /* 線と文字を確実に離す */
  margin-left: 0 !important;
}
.sh-logo__main, .sh-logo__sub { display: block; }     /* 縦積みを確実に */

@media screen and (max-width: 767px) {
  .sh-logo { gap: 10px !important; }
  .sh-logo__txt { padding-left: 12px !important; }    /* モバイルでも線と文字を離す */
  .sh-logo img { height: 28px; }
}

/* ==========================================================================
   ヒーロー：左端の青い縦線を完全に削除（文字と重なるため）
   ========================================================================== */
.isa-hero__inner::before { display: none !important; content: none !important; }


/* ==========================================================================
   SEO: パンくず・カテゴリ説明・HTMLサイトマップ
   ========================================================================== */
.isa-breadcrumb { margin: 0 0 18px; }
.isa-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0;
  font-family: var(--font-tech); font-size: 12px; letter-spacing: .06em; color: var(--text-sub); }
.isa-breadcrumb li { display: flex; align-items: center; gap: 6px; }
.isa-breadcrumb li + li::before { content: "/"; color: var(--border); }
.isa-breadcrumb a { color: var(--primary); text-decoration: none; }
.isa-breadcrumb a:hover { text-decoration: underline; }
.isa-breadcrumb li[aria-current] { color: var(--text); font-weight: 700; }

.isa-cat-intro { margin: 0 0 26px; padding: 16px 18px; background: #F5F9FE;
  border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius-sm);
  font-size: 14px; line-height: 1.85; color: var(--text-sub); }

.isa-sitemap__section { margin: 0 0 40px; }
.isa-sitemap__h2 { position: relative; margin: 0 0 16px; padding-left: 14px;
  font-size: 20px; font-weight: 800; color: var(--text); }
.isa-sitemap__h2::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 4px;
  background: var(--grad-primary); border-radius: 2px; }
.isa-sitemap__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.isa-sitemap__list li a { display: block; padding: 12px 14px; background: #FFFFFF;
  border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text);
  text-decoration: none; font-weight: 700; font-size: 14px; transition: .18s; }
.isa-sitemap__list li a:hover { border-color: var(--primary); box-shadow: 0 6px 18px rgba(11,114,214,.12); transform: translateY(-2px); }
.isa-sitemap__list--cat li a { display: flex; flex-direction: column; gap: 5px; }
.isa-sitemap__name { font-weight: 800; color: var(--primary); }
.isa-sitemap__desc { font-weight: 500; font-size: 12px; line-height: 1.7; color: var(--text-sub); }
.isa-foot__sitemap { margin: 10px 0 0; text-align: center; font-size: 12px; }
.isa-foot__sitemap a { color: var(--text-sub); text-decoration: underline; }


/* ==========================================================================
   広告（AdSense）
   ========================================================================== */
.isa-ad { margin: 26px 0; }
.isa-ad__label { margin: 0 0 8px; text-align: center; font-size: 11px; letter-spacing: .08em; color: var(--text-mute); }
.isa-ad__label span { display: inline-block; padding: 2px 10px; border: 1px solid var(--border); border-radius: 2px; background: #FFFFFF; }
.isa-ad .adsbygoogle { display: block; }
.isa-section--ad { padding-top: 0; padding-bottom: 0; }
.isa-section--ad .isa-container { padding-top: 6px; padding-bottom: 6px; }
.isa-ad--archive_in { grid-column: 1 / -1; }
.isa-ad--archive_in { margin: 6px 0 18px; }


/* AMP版の広告（<amp-ad>） */
.isa-ad--amp { text-align: center; }
.isa-ad--amp amp-ad { display: block; margin: 0 auto; }


/* ==========================================================================
   広告レイアウト保護（v28）
   - 記事カード内への広告挿入を無効化（画像・タイトル位置を広告が占める事故を防ぐ）
   - 広告ブロックを本文・カードと明確に区別する
   ========================================================================== */

/* カード内に広告が挿入されても表示しない */
.isa-card .adsbygoogle,
.isa-card .isa-ad,
.isa-post__body .adsbygoogle,
.isa-post__body .isa-ad,
.isa-post__thumb .adsbygoogle,
.isa-post__thumb .isa-ad { display: none !important; }

/* カードは広告の挿入でレイアウトが崩れないように */
.isa-card { overflow: hidden; }
.isa-grid > * { min-width: 0; }

/* 広告ブロックは全幅・中央・区切り線つきで「広告」と分かるように */
.isa-ad {
  grid-column: 1 / -1;            /* グリッド内に入っても必ず全幅（カード枠を占めない） */
  width: 100%;
  max-width: 970px;
  margin: 30px auto;
  padding: 12px 0 8px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #FAFCFF;
  text-align: center;
}
.isa-ad__label { margin: 0 0 10px; text-align: center; font-size: 11px; letter-spacing: .08em; color: var(--text-mute); }
.isa-ad__label span { display: inline-block; padding: 2px 10px; border: 1px solid var(--border); border-radius: 2px; background: #FFFFFF; }
.isa-ad .adsbygoogle { display: block; width: 100%; }
.isa-section--ad { padding-top: 0; padding-bottom: 0; }
.isa-section--ad .isa-container { padding-top: 8px; padding-bottom: 8px; }


/* ==========================================================================
   AMP用の補助スタイル
   ========================================================================== */
amp-state, amp-position-observer { display: none; }
.sh-drawer[hidden], .sh-search[hidden] { display: none; }
amp-social-share { border-radius: 4px; }
.isa-share amp-social-share { display: inline-block; vertical-align: middle; }
