/* 週刊Nobbyタイムズ — WordPress（Lightning テーマ）時代の見た目を再現したスタイル */

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: #333;
  font-family: Lato, "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: #333; }
a:hover { color: #000; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.4; font-weight: 700; color: #333; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, textarea { font: inherit; color: inherit; }
.ico { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; flex: none; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 3000; background: #000; color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 8px; top: 8px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 15px; }

/* ---------- ヘッダー ---------- */
.site-header { position: relative; z-index: 1000; background: #fff; }
.site-header-container { display: flex; align-items: center; min-height: 93px; }
.site-header-logo { margin: 0 auto 0 0; font-size: 0; line-height: 1; }
.site-header-logo a { display: inline-block; }
.site-header-logo img { height: 55px; width: auto; }
.global-nav-list { display: flex; list-style: none; }
.global-nav-list > li { position: relative; }
.global-nav-list > li > a {
  display: block; padding: 14px 18px; text-align: center; text-decoration: none;
  color: #333; font-size: 12px; line-height: 1.4;
}
.global-nav-list > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #000;
  transform: scaleX(0); transition: transform .3s ease;
}
.global-nav-list > li.current > a::after,
.global-nav-list > li > a:hover::after { transform: scaleX(1); }
.gnav-name { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; }
.gnav-name .ico { font-size: 12px; margin-right: 6px; vertical-align: -0.05em; }
.gnav-desc { display: block; font-size: 10px; color: #666; line-height: 1.4; }

/* スクロールするとナビだけの細い帯になる（Lightning と同じ動き） */
body.is-scrolled .site-header { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
body.is-scrolled .site-header-container { min-height: 62px; }
body.is-scrolled .site-header-logo { visibility: hidden; }
body.is-scrolled { padding-top: 93px; }

.mnav-btn { display: none; }
.mnav { display: none; }

/* ---------- トップの帯画像 ---------- */
.hero { line-height: 0; background: #555; }
.hero img { width: 100%; height: auto; }

/* ---------- ページ見出し・パンくず ---------- */
.page-header { background: #000; color: #fff; text-align: center; }
.page-header .container { min-height: 128px; display: flex; align-items: center; justify-content: center; padding-top: 20px; padding-bottom: 20px; }
.page-header-title { font-size: 32px; font-weight: 700; line-height: 1.4; }
.breadcrumb { border-top: 1px solid rgba(0, 0, 0, .06); border-bottom: 1px solid rgba(0, 0, 0, .06); font-size: 12px; }
.breadcrumb-list { list-style: none; display: flex; flex-wrap: wrap; padding: 7px 0; line-height: 1.4; }
.breadcrumb-list li { display: inline-flex; align-items: center; }
.breadcrumb-list li + li::before { content: "/"; margin: 0 .5em; color: #333; }
.breadcrumb-list a { color: #333; text-decoration: none; border-bottom: 1px dotted #999; }
.breadcrumb-list a:hover { border-bottom-style: solid; }
.breadcrumb-list .ico { color: #666; margin-right: 4px; font-size: 12px; }
.breadcrumb-list li:first-child a { border-bottom: 0; }
.breadcrumb-list li:first-child a span { border-bottom: 1px dotted #999; }

/* ---------- 本体レイアウト ---------- */
.site-body { padding: 56px 0 64px; font-size: 16px; }
.home .site-body { padding-top: 40px; }
.site-body-container.has-sidebar { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 0.833fr); column-gap: 63px; }
.main-section { min-width: 0; }
.sub-section { min-width: 0; }

/* ---------- 本文 ---------- */
.entry-body { font-size: 16px; }
.entry-body p { line-height: 1.7; margin: 0 0 24px; }
.entry-body p:last-child { margin-bottom: 0; }
.entry-body a { color: #337ab7; }
.entry-body h3 {
  position: relative; font-size: 21px; padding-bottom: 12px; margin: 40px 0 24px;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.entry-body h3::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 30%; height: 1px; background: #000; }
.entry-body > h3:first-child { margin-top: 0; }
.entry-body h6 { font-size: 16px; margin: 32px 0 16px; }
.entry-body hr { border: 0; border-top: 1px solid rgba(0, 0, 0, .12); margin: 40px 0; }
.entry-body code { font-family: inherit; font-size: inherit; white-space: pre-wrap; }
.entry-body figure { margin: 0 0 24px; }
.entry-body ul, .entry-body ol { margin: 0 0 24px 1.5em; }
.spotify-embed { display: block; width: 100%; border: 0; border-radius: 12px; margin: 0 0 24px; background: transparent; }
.eyecatch { margin: 0 0 32px; }
.eyecatch img { width: 100%; }

/* トップページ */
.home-body .latest-posts { list-style: none; margin: 32px 0 0; }
.home-body .latest-posts li { border-bottom: 1px solid rgba(0, 0, 0, .06); }
.home-body .latest-posts a { display: block; padding: 12px 0; text-decoration: none; color: #333; font-size: 16px; line-height: 1.5; }
.home-body .latest-posts a:hover { text-decoration: underline; }
.home-body h3 + p { margin-bottom: 24px; }
.home-body .latest-posts + h3 { margin-top: 48px; }
.columns { display: flex; gap: 2em; margin: 0 0 24px; }
.column-wide { flex: 0 0 calc(66.66% - 1em); min-width: 0; }
.column-narrow { flex: 1 1 0; }

/* 共有ボタン */
.share { margin: 32px 0 0; }
.share ul { list-style: none; display: flex; gap: 6px; margin: 0; }
.share li { flex: 1 1 0; }
.share a {
  display: flex; align-items: center; gap: 8px; height: 34px; padding: 5px 10px; border-radius: 4px;
  color: #fff; text-decoration: none; font-size: 14.4px; line-height: 1;
}
.share svg { width: 1em; height: 1em; }
.share-bluesky a { background: #1877f2; }
.share-threads a { background: #000; }
.share a:hover { color: #fff; opacity: .85; }

/* ---------- 一覧 ---------- */
.archive-header { margin-bottom: 32px; }
.archive-header-title { font-size: 28px; padding-bottom: 12px; border-bottom: 1px solid rgba(0, 0, 0, .12); position: relative; }
.archive-header-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 30%; height: 1px; background: #000; }
.post-item {
  display: grid; grid-template-columns: 43.7% minmax(0, 1fr); column-gap: 7.4%;
  padding: 32px 0; border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.post-item:first-child { padding-top: 0; }
.post-thumb, .media-img {
  position: relative; display: block; overflow: hidden; background: #fff;
  border: 1px solid #e5e5e5; aspect-ratio: 1.6 / 1; align-self: start;
}
.post-thumb img, .media-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.term-label {
  position: absolute; top: 0; right: 0; z-index: 1; background: #cc822e; color: #fff;
  font-size: 10px; line-height: 1.5; padding: 7px 12px;
}
.post-title { font-size: 18px; line-height: 1.4; padding-bottom: 9px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.post-title a { color: #333; text-decoration: none; }
.post-title a:hover { text-decoration: underline; }
.new-mark { color: #f00; font-size: .8em; margin-left: .4em; white-space: nowrap; }
.post-date, .media-date { font-size: 11px; color: #666; margin-top: 6.4px; display: flex; align-items: center; gap: 6px; }
.post-excerpt { font-size: 14px; line-height: 1.6; margin-top: 12.8px; }
.post-more { text-align: right; margin-top: 16px; }
.post-more a {
  display: inline-block; background: #000; color: #fff; border: 1px solid #000; font-size: 12px;
  line-height: 1.5; padding: 4px 16px; border-radius: 2px; text-decoration: none;
}
.post-more a:hover { background: #fff; color: #000; }

.pagination { margin-top: 32px; text-align: center; }
.pagination .nav-links { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.page-numbers {
  display: inline-block; min-width: 35px; padding: 6px 12px; border: 1px solid rgba(0, 0, 0, .06);
  margin: 0 -1px 0 0; color: #333; text-decoration: none; font-size: 16px; line-height: 1.3;
}
a.page-numbers:hover { background: #f5f5f5; }
.page-numbers.current { background: #000; color: #fff; }
.page-numbers.dots { border-color: transparent; }

/* ---------- 個別ページ ---------- */
.entry-header { margin-bottom: 32px; }
.entry-title { font-size: 32px; line-height: 1.4; margin-bottom: 8px; }
.entry-meta { font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; }
.entry-meta-item { display: inline-flex; align-items: center; gap: 8px; margin-right: 11.2px; }
.entry-meta-item .ico { font-size: 13px; }
.entry-footer { margin: 32px 0 48px; }
.entry-cat { display: flex; align-items: center; margin: 0; }
.entry-cat dt {
  background: #666; color: #fff; font-size: 10px; line-height: 1.1; padding: 4px 8px; border-radius: 3px;
  margin-right: 10px; min-width: 100px; text-align: center;
}
.entry-cat dd { margin: 0; font-size: 12px; }
.entry-cat dd a { text-decoration: none; }
.entry-cat dd a:hover { text-decoration: underline; }

.next-prev { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.np-card {
  position: relative; display: block; min-height: 179px; border: 1px solid rgba(0, 0, 0, .125); border-radius: 4px;
  overflow: hidden; text-decoration: none; color: #fff; background: #fff;
}
.np-empty { border: 0; }
.np-img {
  position: absolute; inset: 0; background: #ececec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23c9c9c9' d='M149.1 64.8L138.7 96H64C28.7 96 0 124.7 0 160V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H373.3L362.9 64.8C356.4 45.2 338.1 32 317.4 32H194.6c-20.7 0-39 13.2-45.5 32.8zM256 192a96 96 0 1 1 0 192 96 96 0 1 1 0-192z'/%3E%3C/svg%3E") center 38% / 74px auto no-repeat;
}
.np-img img { width: 100%; height: 100%; object-fit: cover; }
.np-label { position: absolute; top: 0; left: 0; background: #000; color: #fff; font-size: 10px; line-height: 1.5; padding: 7px 12px; z-index: 1; }
.np-body { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, .8); padding: 12px 20px; }
.np-title { display: block; font-size: 16px; font-weight: 700; line-height: 1.4; color: #fff; }
.np-date { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #fff; margin-top: 4px; }
.np-card:hover .np-title { text-decoration: underline; }

/* ---------- サイドバー ---------- */
.sub-section .widget { margin-bottom: 48px; }
.sub-section-title { font-size: 18px; border-bottom: 1px solid rgba(0, 0, 0, .12); margin-bottom: 12.8px; line-height: 1.4; }
.sub-section-title span { display: inline-block; padding-bottom: 9px; border-bottom: 1px solid #000; margin-bottom: -1px; }
.media { display: flex; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.media-list .media:first-child { border-top: 1px solid rgba(0, 0, 0, .06); }
.media-img { flex: 0 0 108px; width: 108px; margin-right: 16px; padding: 1px; aspect-ratio: 108 / 68; }
.media-img .term-label { left: 0; right: auto; width: 100%; padding: 7px 12px; font-size: 10px; line-height: 1.5; }
.media-body { flex: 1 1 auto; min-width: 0; }
.media-title { font-size: 14px; line-height: 1.4; padding-bottom: 7px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.media-title a { color: #333; text-decoration: none; }
.media-title a:hover { text-decoration: underline; }
.link-list { list-style: none; }
.link-list li a {
  position: relative; display: block; padding: 9.8px 0 9.8px 14px; border-bottom: 1px solid rgba(0, 0, 0, .06);
  color: #666; font-size: 14px; text-decoration: none; line-height: 1.3;
}
.link-list li a::before { content: "›"; position: absolute; left: 2px; top: 50%; transform: translateY(-55%); color: #999; }
.link-list li a:hover { color: #000; background: #fafafa; }

/* ---------- フッター ---------- */
.site-footer { border-top: 1px solid #000; font-size: 12px; }
.site-footer-content { padding-top: 48px; padding-bottom: 32px; }
.footer-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); column-gap: 30px; }
.footer-logos { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 24px 30px; }
.footer-logo { flex: 0 1 calc(50% - 15px); max-width: calc(50% - 15px); }
.footer-logo img { max-height: 120px; width: auto; }
.footer-logo a { display: inline-block; }
.footer-title { font-size: 16px; border-bottom: 1px solid rgba(0, 0, 0, .12); margin-bottom: 16px; line-height: 1.4; }
.footer-title span { display: inline-block; padding-bottom: 8px; border-bottom: 1px solid #000; margin-bottom: -1px; }
.footer-archive ul { list-style: disc; padding-left: 1.4em; }
.footer-archive li { margin-bottom: 8px; line-height: 1.6; }
.footer-archive a { text-decoration: none; }
.footer-archive a:hover { text-decoration: underline; }
.site-footer-copyright { text-align: center; border-top: 1px solid rgba(0, 0, 0, .06); padding-top: 8px; padding-bottom: 8px; }
.site-footer-copyright p { margin: 8px; line-height: 1.7; }

.page-top {
  position: fixed; right: 3%; bottom: 3%; z-index: 900; width: 40px; height: 38px; display: flex;
  align-items: center; justify-content: center; background: rgba(0, 0, 0, .8); color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .3s;
}
.page-top .ico { width: 14px; height: 14px; }
.page-top.is-visible { opacity: 1; visibility: visible; }
.page-top:hover { color: #fff; background: #000; }

/* ---------- 番組概要（放送局のアコーディオン） ---------- */
.acbox { width: auto; font-size: 0; margin: 0 10px; }
.acbox label {
  width: auto; font-size: 16px; font-weight: bold; text-align: center; background: #f0c090; position: relative;
  display: block; padding: 8px; border-radius: 1px; cursor: pointer; color: #000;
}
.acbox label:hover { background: #f0cca8; }
.acbox input { display: none; }
.acbox label::after { color: #fff; content: "▼"; position: absolute; top: 50%; right: 15px; margin-top: -14px; }
.acbox input:checked ~ label::after { content: "▲"; }
.acbox div { height: 0; overflow: hidden; opacity: 0; transition: .15s; }
.acbox input:checked ~ div { height: auto; padding: 18px; border-radius: 0; background: #f3f4f5; opacity: 1; }
.acbox input:checked ~ label { background: #f0c090; }
.acbox-under { font-size: 15px; color: #000; line-height: 1.7; }
.acbox-under a { color: #337ab7; }
.entry-body .vk_block-margin-xs--margin-top { margin: 8px 0 0; line-height: 1; }

/* ---------- メッセージフォーム ---------- */
.msg-form { margin-top: 32px; max-width: 640px; }
.msg-form .field { margin-bottom: 24px; }
.msg-form label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.msg-form .req { color: #d00; margin-left: 2px; }
.msg-form input[type="text"], .msg-form input[type="email"], .msg-form textarea {
  display: block; width: 100%; border: 1px solid #ccc; border-radius: 4px; padding: 10px 12px; font-size: 16px; background: #fff;
}
.msg-form textarea { resize: vertical; min-height: 180px; line-height: 1.6; }
.msg-form input:focus, .msg-form textarea:focus { outline: 2px solid #000; outline-offset: 1px; border-color: #000; }
.msg-form .is-invalid { border-color: #d00 !important; }
.msg-form .field-error { color: #d00; font-size: 13px; margin-top: 4px; }
.field-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-required-note { font-size: 13px; color: #666; margin-bottom: 16px !important; }
.btn-submit {
  background: #000; color: #fff; border: 1px solid #000; border-radius: 4px; padding: 10px 48px; font-size: 16px; cursor: pointer;
}
.btn-submit:hover { background: #333; }
.btn-submit:disabled { opacity: .5; cursor: default; }
.form-status { margin-top: 16px !important; font-weight: 700; }
.form-status.is-ok { color: #1a7f37; }
.form-status.is-error { color: #d00; }
.msg-form.is-sent .field, .msg-form.is-sent .form-actions, .msg-form.is-sent .form-required-note { display: none; }

/* ---------- 検索 ---------- */
.searchform { display: flex; }
.searchform input[type="search"] {
  flex: 1 1 auto; min-width: 0; border: 1px solid #ccc; border-right: 0; border-radius: 4px 0 0 4px;
  padding: 10px 12px; font-size: 16px; background: #fff; -webkit-appearance: none; appearance: none;
}
.searchform button { flex: none; background: #000; color: #fff; border: 1px solid #000; border-radius: 0 4px 4px 0; padding: 0 22px; cursor: pointer; font-size: 15px; }
.searchform-inline { margin-bottom: 32px; max-width: 520px; }
.search-empty { color: #666; }
mark { background: #fff2a8; color: inherit; padding: 0 1px; }

/* ---------- タブレット・スマホ ---------- */
@media (max-width: 991.98px) {
  .site-body-container.has-sidebar { display: block; }
  .sub-section { margin-top: 64px; }
  .site-header-container { min-height: 64px; justify-content: center; position: relative; }
  .site-header-logo { margin: 0 auto; }
  .site-header-logo img { height: 43px; }
  .global-nav { display: none; }
  body.is-scrolled .site-header { position: relative; box-shadow: none; }
  body.is-scrolled .site-header-logo { visibility: visible; }
  body.is-scrolled { padding-top: 0; }
  .mnav-btn {
    display: block; position: absolute; left: 5px; top: 5px; width: 34px; height: 34px; padding: 0;
    border: 1px solid #333; border-radius: 3px; background: #fff; cursor: pointer; z-index: 2100;
  }
  .mnav-btn-bar, .mnav-btn-bar::before, .mnav-btn-bar::after {
    position: absolute; left: 6px; right: 6px; height: 1px; background: #333; content: ""; transition: transform .2s, opacity .2s;
  }
  .mnav-btn-bar { top: 50%; }
  .mnav-btn-bar::before { left: 0; right: 0; top: -8px; }
  .mnav-btn-bar::after { left: 0; right: 0; top: 8px; }
  .mnav-open .site-header { z-index: 2100; background: transparent; pointer-events: none; }
  .mnav-open .site-header-logo { visibility: hidden; }
  .mnav-open .mnav-btn { position: fixed; pointer-events: auto; }
  .mnav-open .mnav-btn-bar { background: transparent; }
  .mnav-open .mnav-btn-bar::before { top: 0; transform: rotate(45deg); }
  .mnav-open .mnav-btn-bar::after { top: 0; transform: rotate(-45deg); }
  .mnav {
    display: block; position: fixed; inset: 0; z-index: 2000; background: #fff; overflow-y: auto;
    padding: 45px 10px 40px;
  }
  .mnav[hidden] { display: none; }
  .mnav-open { overflow: hidden; }
  .mnav .searchform { margin: 0 0 21px; }
  .mnav .searchform input[type="search"] { height: 45px; }
  .mnav-list { list-style: none; border-top: 1px solid #ccc; }
  .mnav-list a {
    display: flex; align-items: center; gap: 10px; padding: 12px 8px; border-bottom: 1px solid #ccc;
    font-size: 14px; color: #333; text-decoration: none;
  }
  .mnav-list .ico { font-size: 14px; width: 1.1em; }
  .page-header .container { min-height: 112px; }
  .page-header-title { font-size: 28px; }
  .footer-row { grid-template-columns: 1fr; row-gap: 32px; }
}

@media (max-width: 767.98px) {
  .post-item { grid-template-columns: 1fr; row-gap: 16px; }
  .next-prev { grid-template-columns: 1fr; gap: 16px; }
  .np-empty { display: none; }
  .columns { display: block; }
  .column-narrow { display: none; }
  .footer-logo { flex-basis: 100%; max-width: 100%; }
  .site-body { padding: 40px 0 48px; }
}

@media (max-width: 575.98px) {
  .container { padding: 0 15px; }
  .page-header-title { font-size: 26px; }
  .share a { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .global-nav-list > li > a::after, .page-top, .acbox div { transition: none; }
}
