/* AIR SHOW JAPAN 公開側の見た目（デザイン案Bを元に） */
:root {
  --navy: #0d2c5e;
  --navy-2: #163d7a;
  --blue: #1a6fd1;
  --blue-dk: #1459a8;
  --sky: #eaf2fc;
  --sky-2: #f4f8fd;
  --ink: #1d2733;
  --muted: #667385;
  --line: #e1e8f1;
  --paper: #ffffff;
  --red: #d8342c;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(13, 44, 94, .07);
  --w: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px; line-height: 1.8; letter-spacing: .02em;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dk); }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: min(var(--w), calc(100% - 64px)); margin-inline: auto; }
.sp-only { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.empty { color: var(--muted); padding: 24px; background: var(--sky-2); border-radius: var(--radius); text-align: center; }

/* 確認用の帯 */
.demo-bar { background: #fff4d6; color: #7a5a00; font-size: 13px; text-align: center; padding: 6px 12px; border-bottom: 1px solid #f0dca0; }

/* ---------- ヘッダー ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 36px; min-height: 76px; }
.logo { flex: none; display: block; }
.logo img { width: 262px; height: auto; display: block; }
.gnav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.gnav a { color: var(--navy); font-weight: 700; font-size: 15px; letter-spacing: .04em; padding: 8px 0; position: relative; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
.gnav a:hover::after { transform: scaleX(1); }
.head-search { margin-left: auto; display: flex; align-items: center; gap: 8px; width: 380px; max-width: 34vw; border: 1px solid #cfd9e6; border-radius: 999px; padding: 0 18px; height: 44px; background: #fff; color: var(--muted); }
.head-search input { border: 0; outline: 0; flex: 1; font: inherit; font-size: 14px; background: transparent; min-width: 0; }
.head-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 111, 209, .12); }

/* ---------- トップの大きな写真 ---------- */
.hero { position: relative; min-height: 360px; display: flex; align-items: center; background: #dbe9f8 var(--hero) center right / cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.72) 34%, rgba(255,255,255,0) 62%); }
.hero-in { position: relative; padding: 48px 0; }
.hero-catch { margin: 0 0 14px; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.3; font-weight: 900; color: var(--navy); letter-spacing: .04em; animation: rise .9s ease-out both; }
.hero-sub { margin: 0; font-size: clamp(15px, 1.5vw, 19px); color: var(--navy); line-height: 1.9; font-weight: 500; animation: rise .9s .15s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- 見出し ---------- */
.sec { margin-block: 44px; }
.sec-tight { margin-top: 8px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sec-title { margin: 0; font-size: 22px; font-weight: 700; color: var(--navy); padding-left: 14px; border-left: 4px solid var(--blue); line-height: 1.4; }
.more { font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.more .ic { width: 16px; height: 16px; transition: transform .2s; }
.more:hover .ic { transform: translateX(3px); }

/* ---------- 興味から探す ---------- */
.cat-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cat-cards a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); height: 100%; transition: transform .2s, box-shadow .2s; }
.cat-cards a:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(13, 44, 94, .12); }
.cc-img { display: block; aspect-ratio: 16 / 7.2; overflow: hidden; background: var(--sky); }
.cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-cards a:hover .cc-img img { transform: scale(1.05); }
.cc-body { display: flex; gap: 10px; padding: 14px 14px 16px; align-items: flex-start; }
.cc-ic { color: var(--navy); display: inline-flex; }
.cc-ic .ic { width: 24px; height: 24px; }
.cc-body b { display: block; font-size: 16px; color: var(--navy); line-height: 1.4; }
.cc-body small { display: block; font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 3px; }

/* ---------- 二段組み ---------- */
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: start; }
.home-cols { margin-top: 12px; }
.main { min-width: 0; }

/* ---------- 記事カード ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px 18px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card a { display: block; color: var(--ink); }
.card-img { display: block; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--sky); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card a:hover .card-img img { transform: scale(1.04); }
.card-t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 12px 0 6px; font-weight: 700; font-size: 16px; line-height: 1.6; color: var(--ink); }
.card a:hover .card-t { color: var(--blue); }
.card-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.card-cat { color: var(--blue); padding-left: 10px; border-left: 1px solid #c9d3df; }

/* ---------- 右の列 ---------- */
.side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.side-box { background: var(--sky-2); border: 1px solid #e3ecf7; border-radius: 12px; padding: 20px; }
.side-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.side-head h2 { margin: 0; font-size: 18px; color: var(--navy); padding-left: 12px; border-left: 4px solid var(--blue); line-height: 1.4; display: flex; align-items: center; gap: 6px; }
.side-head .more { font-size: 13px; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { display: inline-block; background: #fff; border: 1px solid #d4e2f3; color: var(--navy-2); border-radius: 999px; padding: 4px 14px; font-size: 13px; line-height: 1.7; transition: background .2s, color .2s; }
.pills a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.pills.big a { font-size: 15px; padding: 6px 18px; }
.guide-box { background: linear-gradient(180deg, #eef7f6, #f4f8fd); }
.g-ic { color: #1e9e8a; display: inline-flex; }
.side-lead { margin: -6px 0 12px; font-size: 13px; color: var(--muted); }
.guides { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.guides a { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 8px; padding: 8px; color: var(--ink); transition: box-shadow .2s; }
.guides a:hover { box-shadow: var(--shadow); }
.g-img { flex: none; width: 96px; aspect-ratio: 16 / 10; border-radius: 5px; overflow: hidden; }
.g-img img { width: 100%; height: 100%; object-fit: cover; }
.g-t { flex: 1; min-width: 0; }
.g-t b { display: block; font-size: 14px; line-height: 1.5; color: var(--navy); }
.g-t small { display: block; font-size: 12px; line-height: 1.5; color: var(--muted); }
.guides .ic { color: var(--muted); width: 18px; }
.side-search { display: flex; border: 1px solid #cfd9e6; border-radius: 999px; overflow: hidden; background: #fff; }
.side-search input { flex: 1; border: 0; outline: 0; padding: 0 16px; height: 44px; font: inherit; font-size: 14px; min-width: 0; }
.side-search button { border: 0; background: var(--blue); color: #fff; width: 52px; cursor: pointer; }
.side-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.side-rank a { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; line-height: 1.5; }
.side-rank a:hover { color: var(--blue); }
.sr-img { flex: none; width: 84px; aspect-ratio: 16 / 10; border-radius: 5px; overflow: hidden; background: var(--sky); }
.sr-img img { width: 100%; height: 100%; object-fit: cover; }
.sr-t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.side-cats { list-style: none; margin: 0; padding: 0; }
.side-cats a { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid #e3ecf7; color: var(--navy); font-size: 15px; }
.side-cats li:last-child a { border-bottom: 0; }
.side-cats span { flex: 1; }
.side-cats em { font-style: normal; font-size: 12px; color: var(--muted); background: #fff; border-radius: 999px; padding: 0 9px; }
.side-sticky { position: sticky; top: 96px; }

/* 順位の印 */
.rk { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; background: #dfe7f1; color: var(--navy); }
.rk-1 { background: #d9a520; color: #fff; }
.rk-2 { background: #9aa6b4; color: #fff; }
.rk-3 { background: #b9784a; color: #fff; }
.rank-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rank-list a { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; color: var(--ink); transition: box-shadow .2s; }
.rank-list a:hover { box-shadow: var(--shadow); }
.rk-img { flex: none; width: 120px; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--sky); }
.rk-img img { width: 100%; height: 100%; object-fit: cover; }
.rk-t b { display: block; font-size: 15px; line-height: 1.6; }
.rk-t small { color: var(--muted); font-size: 12px; }
.rank-list.big .rk-img { width: 160px; }
.rank-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rc { background: var(--sky-2); border-radius: var(--radius); padding: 16px 18px; }
.rc h3 { margin: 0 0 8px; font-size: 16px; }
.rc h3 a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); }
.rc ol { margin: 0; padding-left: 1.3em; font-size: 14px; line-height: 1.7; }
.rc li { margin: 4px 0; }
.rc ol a { color: var(--ink); }

/* ---------- 求人・学校・イベント ---------- */
.lst-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lst-card a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: box-shadow .2s; }
.lst-card a:hover { box-shadow: var(--shadow); }
.lst-img { aspect-ratio: 16 / 9; overflow: hidden; }
.lst-img img { width: 100%; height: 100%; object-fit: cover; }
.lst-in { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.lst-kind { align-self: flex-start; font-size: 12px; font-weight: 700; border-radius: 4px; padding: 1px 10px; color: #fff; background: var(--blue); }
.lst-kind.k-school { background: #1e9e8a; }
.lst-kind.k-event { background: #e0772a; }
.lst-in b { font-size: 16px; line-height: 1.5; color: var(--navy); }
.lst-org { font-size: 13px; color: var(--muted); }
.lst-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--ink); }
.lst-meta span { display: inline-flex; align-items: center; gap: 4px; }
.lst-meta .ic { width: 15px; height: 15px; color: var(--blue); }
.list-cta { margin-top: 18px; display: flex; align-items: center; gap: 20px; background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 12px; padding: 22px 26px; }
.list-cta b { font-size: 17px; }
.list-cta p { margin: 4px 0 0; font-size: 14px; opacity: .9; line-height: 1.7; }
.list-cta .btn { flex: none; background: #fff; color: var(--navy); }
.list-cta .btn:hover { background: var(--sky); }
.spec { display: grid; grid-template-columns: 9em 1fr; border-top: 1px solid var(--line); margin: 0 0 24px; }
.spec dt, .spec dd { margin: 0; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.spec dt { background: var(--sky-2); font-weight: 700; color: var(--navy); font-size: 14px; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--blue); color: #fff; font-weight: 700; border-radius: 999px; padding: 12px 26px; border: 0; cursor: pointer; font: inherit; font-weight: 700; transition: background .2s, transform .2s; }
.btn:hover { background: var(--blue-dk); color: #fff; transform: translateY(-1px); }
.btn.big { padding: 16px 36px; font-size: 17px; }

/* ---------- パンくず・ページの頭 ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 14px 0 4px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #aab5c3; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.page-head { margin: 14px 0 22px; padding: 26px 28px; background: linear-gradient(120deg, var(--sky), #f7fbff); border-radius: 12px; position: relative; overflow: hidden; }
.page-head.has-img { background: linear-gradient(90deg, rgba(255,255,255,.95) 45%, rgba(255,255,255,.55)), var(--ph) center / cover; }
.page-head h1 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); color: var(--navy); line-height: 1.45; }
.page-head p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.ph-ic { color: var(--blue); display: inline-flex; margin-bottom: 4px; }
.ph-ic .ic { width: 30px; height: 30px; }
.author-head { display: flex; gap: 14px; align-items: center; margin-top: 12px; }
.author-head img { border-radius: 50%; object-fit: cover; }
.a-role { color: var(--blue) !important; font-weight: 700; }
.count { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.filters, .tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.filters a, .filters span, .tabs a { border: 1px solid #d4e2f3; border-radius: 999px; padding: 5px 16px; font-size: 14px; color: var(--navy-2); background: #fff; }
.filters .on, .tabs .on { background: var(--navy); color: #fff; border-color: var(--navy); }
.big-search { display: flex; gap: 8px; margin: 0 0 20px; }
.big-search input { flex: 1; min-width: 0; height: 52px; border: 1px solid #cfd9e6; border-radius: 10px; padding: 0 16px; font: inherit; }
.big-search button { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font: inherit; font-weight: 700; padding: 0 22px; cursor: pointer; }

/* カテゴリ一覧 */
.cat-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cat-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; align-items: center; }
.cr-head { display: flex; gap: 16px; align-items: center; color: var(--ink); }
.cr-img { flex: none; width: 170px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; }
.cr-img img { width: 100%; height: 100%; object-fit: cover; }
.cr-t { min-width: 0; }
.cr-name { display: flex; align-items: center; gap: 8px; }
.cr-name b { font-size: 18px; color: var(--navy); }
.cr-name em { font-style: normal; font-size: 12px; color: var(--muted); }
.cr-t small { display: block; color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 4px; }
.cr-new { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.cr-new li + li { border-top: 1px dashed var(--line); }
.cr-new a { display: flex; gap: 10px; padding: 7px 0; color: var(--ink); line-height: 1.5; }
.cr-new time { flex: none; color: var(--muted); font-size: 12px; padding-top: 2px; }
.cr-new span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cr-none { color: var(--muted); font-size: 13px; margin: 0; }
.tag-cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #d4e2f3; border-radius: 999px; padding: 6px 16px; color: var(--navy-2); }
.tag-cloud a:hover { background: var(--blue); color: #fff; }
.tag-cloud em { font-style: normal; font-size: 12px; opacity: .7; }
.tag-cloud .lv2 { font-size: 17px; } .tag-cloud .lv3 { font-size: 19px; font-weight: 700; } .tag-cloud .lv4 { font-size: 21px; font-weight: 700; }

/* ページ送り */
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 30px 0; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--line); padding: 0 12px; color: var(--navy); background: #fff; }
.pager .pg-now { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager .pg-gap { border: 0; }

/* ---------- 記事 ---------- */
.entry-head { margin: 10px 0 20px; }
.entry-cat { display: inline-block; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; border-radius: 4px; padding: 2px 12px; }
.entry-cat:hover { color: #fff; background: var(--blue-dk); }
.entry-head h1 { margin: 12px 0 10px; font-size: clamp(22px, 2.8vw, 32px); line-height: 1.5; color: var(--navy); }
.entry-lead { color: var(--muted); }
.entry-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 14px; color: var(--muted); }
.entry-meta span, .entry-meta a { display: inline-flex; align-items: center; gap: 5px; }
.entry-meta a { color: var(--muted); }
.pr-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); background: var(--sky-2); border-radius: 6px; padding: 6px 12px; }
.preview-note { background: #fff4d6; border: 1px solid #f0dca0; color: #7a5a00; padding: 8px 14px; border-radius: 8px; }
.entry-eyecatch { margin: 0 0 24px; border-radius: 10px; overflow: hidden; }
.entry-eyecatch { background: var(--sky-2); text-align: center; }
.entry-eyecatch img { width: 100%; max-height: 560px; object-fit: contain; }
.toc { background: var(--sky-2); border: 1px solid #dde8f5; border-radius: 10px; padding: 18px 22px; margin: 0 0 28px; }
.toc-t { margin: 0 0 8px; font-weight: 700; color: var(--navy); }
.toc ol { margin: 0; padding-left: 1.4em; }
.toc li { margin: 3px 0; font-size: 15px; }
.toc li.lv3 { margin-left: 1.2em; font-size: 14px; list-style: circle; }
.toc a { color: var(--ink); }
.toc a:hover { color: var(--blue); }
.entry-body { font-size: 16.5px; line-height: 1.95; overflow-wrap: anywhere; }
.entry-body > *:first-child { margin-top: 0; }
.entry-body p { margin: 0 0 1.4em; }
.entry-body h2 { margin: 2.2em 0 .9em; font-size: 23px; line-height: 1.5; color: var(--navy); padding: 12px 16px; background: var(--sky-2); border-left: 5px solid var(--blue); border-radius: 0 6px 6px 0; scroll-margin-top: 96px; }
.entry-body h3 { margin: 1.9em 0 .8em; font-size: 19px; line-height: 1.5; color: var(--navy); padding-bottom: 6px; border-bottom: 2px solid #d4e2f3; scroll-margin-top: 96px; }
.entry-body h4 { margin: 1.6em 0 .6em; font-size: 17px; color: var(--navy); }
.entry-body ul, .entry-body ol { margin: 0 0 1.4em; padding-left: 1.5em; }
.entry-body li { margin: .3em 0; }
.entry-body figure { margin: 0 0 1.6em; }
.entry-body img { border-radius: 6px; height: auto; }
.entry-body figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.entry-body blockquote { margin: 0 0 1.6em; padding: 14px 20px; background: #f7f9fc; border-left: 4px solid #c9d6e6; color: #3b4756; }
.entry-body table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 15px; display: block; overflow-x: auto; }
.entry-body th, .entry-body td { border: 1px solid var(--line); padding: 8px 12px; }
.entry-body th { background: var(--sky-2); }
.entry-body a { text-decoration: underline; text-underline-offset: 3px; }
.entry-body iframe { max-width: 100%; }
.entry-body .wp-block-embed__wrapper iframe, .entry-body iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.entry-body .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.entry-body .wp-block-gallery figure { margin: 0; }
.entry-tags { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.entry-tags a { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; border: 1px solid #d4e2f3; border-radius: 999px; padding: 3px 12px; color: var(--navy-2); }
.entry-tags .ic { width: 14px; height: 14px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share span { font-size: 14px; font-weight: 700; color: var(--navy); margin-right: 6px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 700; color: #fff; border: 0; cursor: pointer; font-family: inherit; }
.sh-x { background: #111; } .sh-fb { background: #1877f2; } .sh-line { background: #06c755; } .sh-copy { background: #6b7785; }
.share a:hover { color: #fff; opacity: .88; }
.author-box { display: flex; gap: 16px; align-items: flex-start; background: var(--sky-2); border-radius: 12px; padding: 18px 20px; margin: 26px 0; }
.author-box img, .ab-ic { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.ab-ic { display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--navy); }
.ab-label { margin: 0; font-size: 12px; color: var(--muted); }
.ab-name { margin: 0; font-weight: 700; font-size: 17px; }
.ab-name small { margin-left: 8px; font-weight: 400; font-size: 13px; color: var(--muted); }
.ab-bio { margin: 6px 0 0; font-size: 14px; line-height: 1.8; }

/* 広告の枠 */
.ad-slot { text-align: center; margin: 0 0 20px; }
.ad-label { display: block; font-size: 11px; color: #9aa6b4; margin-bottom: 4px; letter-spacing: .1em; }
.ad-slot.is-empty { border: 2px dashed #c9d6e6; border-radius: 10px; padding: 26px 14px; color: #8190a3; background: #fafcff; min-height: 120px; display: flex; flex-direction: column; justify-content: center; gap: 4px; font-size: 14px; }
.ad-slot.is-empty small { font-size: 12px; }
.side .ad-slot.is-empty { min-height: 250px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy); color: #d9e3f1; margin-top: 70px; }
.footer-in { display: grid; grid-template-columns: 1.1fr 2fr; gap: 40px; padding: 48px 0 36px; }
.f-brand img { width: 220px; }
.f-brand p { font-size: 14px; line-height: 1.9; margin: 16px 0 0; }
.f-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.f-nav h2 { font-size: 14px; color: #fff; margin: 0 0 10px; letter-spacing: .08em; }
.f-nav ul { list-style: none; margin: 0; padding: 0; }
.f-nav li { margin: 5px 0; }
.f-nav a { color: #c4d2e6; font-size: 14px; }
.f-nav a:hover { color: #fff; }
.copy { text-align: center; font-size: 12px; margin: 0; padding: 14px; border-top: 1px solid rgba(255,255,255,.12); color: #9fb2cc; }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 40; }
.to-top.show { opacity: .9; pointer-events: auto; }
.to-top:hover { color: #fff; opacity: 1; }
.ai-btn { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px 8px 8px; box-shadow: 0 6px 20px rgba(13, 44, 94, .18); cursor: pointer; font-family: inherit; text-align: left; }
.ai-btn .ai-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.ai-btn b { display: block; color: var(--navy); font-size: 14px; }
.ai-btn small { display: block; color: var(--muted); font-size: 11px; }
body:has(.ai-btn) .to-top { bottom: 90px; }

/* 集客の砦（お問い合わせフォーム）をサイトの枠に収める */
.page-hero { margin: 14px 0 22px; padding: 26px 28px; background: linear-gradient(120deg, var(--sky), #f7fbff); border-radius: 12px; }
.page-hero h1 { margin: 0; color: var(--navy); font-size: clamp(22px, 2.6vw, 30px); }
.breadcrumb { font-size: 13px; color: var(--muted); }

/* ================= タブレット ================= */
@media (max-width: 1100px) {
  .header-in { gap: 22px; }
  .gnav ul { gap: 18px; }
  .head-search { width: 240px; }
  .cat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .with-side { grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lst-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .with-side { grid-template-columns: minmax(0, 1fr); }
  .side-sticky { position: static; }
  .cat-row { grid-template-columns: minmax(0, 1fr); }
  .footer-in { grid-template-columns: minmax(0, 1fr); }
}

/* ================= スマホ（末尾に置く） ================= */
@media (max-width: 760px) {
  body { font-size: 15px; }
  .wrap { width: calc(100% - 32px); }
  .pc-only { display: none !important; }
  .sp-only { display: revert !important; }
  .header-in { min-height: 60px; gap: 10px; justify-content: space-between; }
  .logo img { width: 190px; }
  .menu-btn { display: inline-flex !important; flex-direction: column; align-items: center; background: none; border: 0; color: var(--navy); font-family: inherit; font-size: 10px; cursor: pointer; padding: 4px; }
  .menu-btn .ic { width: 26px; height: 26px; }
  .menu-btn .i-close { display: none; }
  .menu-btn[aria-expanded="true"] .i-open { display: none; }
  .menu-btn[aria-expanded="true"] .i-close { display: inline; }
  .gnav { position: fixed; inset: 60px 0 0; background: #fff; padding: 18px 16px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; z-index: 60; }
  .gnav.open { transform: none; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav ul a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .gnav ul a::after { display: none; }
  .gnav-sub { margin-top: 18px !important; }
  .gnav-sub a { font-weight: 500 !important; font-size: 14px !important; color: var(--ink) !important; }
  .nav-search { display: flex !important; margin-top: 14px; border: 1px solid #cfd9e6; border-radius: 999px; overflow: hidden; }
  .nav-search input { flex: 1; border: 0; outline: 0; padding: 0 16px; height: 46px; font: inherit; min-width: 0; }
  .nav-search button { border: 0; background: var(--blue); color: #fff; width: 54px; }
  body.nav-open { overflow: hidden; }
  .hero { min-height: 250px; background-position: 70% center; align-items: flex-end; }
  .hero::before { background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 45%, rgba(255,255,255,.93) 100%); }
  .hero-in { padding: 110px 0 22px; }
  .hero-catch { font-size: 27px; margin-bottom: 8px; }
  .hero-sub { font-size: 14px; }
  .sec { margin-block: 32px; }
  .sec-title { font-size: 19px; }
  .cat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cc-body { padding: 10px; gap: 6px; }
  .cc-ic .ic { width: 20px; height: 20px; }
  .cc-body b { font-size: 15px; }
  .cc-body small { font-size: 11px; }
  .cards-3 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card a { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 12px; }
  .card-img { grid-row: span 2; aspect-ratio: 4 / 3; }
  .card-t { margin: 0; font-size: 15px; -webkit-line-clamp: 3; }
  .card-meta { font-size: 12px; }
  .lst-cards { grid-template-columns: minmax(0, 1fr); }
  .list-cta { flex-direction: column; align-items: stretch; padding: 20px; }
  .rank-list a { padding: 8px 10px; gap: 10px; }
  .rk-img, .rank-list.big .rk-img { width: 88px; }
  .rk-t b { font-size: 14px; }
  .rank-cats { grid-template-columns: minmax(0, 1fr); }
  .page-head { padding: 20px 18px; }
  .cr-head { gap: 12px; }
  .cr-img { width: 110px; }
  .entry-body { font-size: 16px; }
  .entry-body h2 { font-size: 20px; }
  .entry-body h3 { font-size: 17px; }
  .f-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec { grid-template-columns: 7em 1fr; }
  .ai-btn small { display: none; }
  .ai-btn { padding: 6px 12px 6px 6px; right: 12px; bottom: 12px; }
  .to-top { right: 12px; bottom: 12px; }
  body:has(.ai-btn) .to-top { bottom: 76px; }
}

/* ---------- お問い合わせ（集客の砦 /form/）をサイトの枠に収める ---------- */
.is-form .main { max-width: 860px; margin: 0 auto; width: 100%; }
.is-form .page-hero { margin: 18px 0 8px; padding: 26px 28px; background: linear-gradient(120deg, var(--sky), #f7fbff); border-radius: 12px; }
.is-form .page-hero .inner, .is-form .section .inner { max-width: none; padding: 0; }
.is-form .page-hero h1 { margin: 4px 0 6px; font-size: clamp(22px, 2.6vw, 30px); color: var(--navy); }
.page-hero__en { display: block; font-size: 12px; letter-spacing: .25em; color: var(--blue); font-weight: 700; }
.page-hero__lead { margin: 0; color: var(--muted); }
.is-form .breadcrumb { font-size: 13px; color: var(--muted); padding: 12px 0 0; }
.is-form .breadcrumb a { color: var(--muted); } .is-form .breadcrumb span { margin: 0 6px; }
.is-form .section { padding: 18px 0 40px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.form dl { margin: 0 0 18px; } .form dt { font-weight: 700; margin-bottom: 6px; font-size: 15px; color: var(--navy); } .form dd { margin: 0; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=file], .form textarea, .form select { width: 100%; box-sizing: border-box; border: 1.5px solid #cfd9e6; border-radius: 8px; padding: 11px 12px; font: inherit; font-size: 16px; background: #fbfdff; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(26, 111, 209, .12); }
.form textarea { min-height: 170px; }
.form .req { display: inline-block; background: var(--red); color: #fff; font-size: 11px; border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.form__submit { text-align: center; margin-top: 26px; }
.form .btn--ghost, .btn--ghost { background: #fff; color: var(--navy); border: 1.5px solid #cfd9e6; }
.steps3 { display: flex; justify-content: center; margin: 0 0 24px; padding: 0; list-style: none; }
.steps3 li { flex: 1; max-width: 220px; text-align: center; font-size: 13.5px; color: var(--muted); padding: 10px 6px; border-bottom: 3px solid var(--line); }
.steps3 li.is-now { color: var(--blue); border-bottom-color: var(--blue); font-weight: 700; }
.steps3 li.is-done { color: var(--navy-2); border-bottom-color: #cfe0f4; }
.errbox { background: #fdeeeb; border-left: 4px solid var(--red); border-radius: 8px; padding: 12px 16px; margin: 0 0 18px; color: #93331f; }
.table-wrap table { width: 100%; border-collapse: collapse; background: #fff; }
.table-wrap th, .table-wrap td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.table-wrap th { width: 180px; background: var(--sky-2); color: var(--navy); }
.done-code { font-size: 22px; font-weight: 900; color: var(--blue); letter-spacing: .06em; }
.trap { position: absolute; left: -9999px; }
@media (max-width: 760px) { .form { padding: 18px; } .table-wrap th { width: 110px; } .is-form .page-hero { padding: 20px 18px; } }
