@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* ==============================
   リセット・共通
============================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans JP', sans-serif; background: #fdf8f0; color: #333; }

/* ==============================
   セクション共通（サイズ拡大・シャープ化）
============================== */
.nb-sec-head { padding: 0 24px 20px; max-width: 1200px; margin: 0 auto; }
.nb-sec-en { font-size: 14px; color: #c8102e; letter-spacing: 0.25em; font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.nb-sec-en::after { content: ''; flex: 1; height: 1px; background: #ecd9b8; }
.nb-sec-ja {
  font-family: 'Shippori Mincho', serif;
  font-size: 36px;
  font-weight: 800;
  color: #1a1512;
  border-left: 6px solid #c8102e;
  padding-left: 16px;
  line-height: 1.3;
}

.nb-sec-more { display: block; text-align: center; margin: 0 24px; padding: 14px; border: 2px solid #c8102e; border-radius: 4px; font-size: 15px; font-weight: 700; color: #c8102e; text-decoration: none; max-width: 1200px; }
.nb-sec-more:hover { background: #c8102e; color: #fff; }

html, body {
  margin: 0 !important;
  padding: 0 !important;
}

/* ==============================
   セクション共通の余白（未追加だったため隙間なしになっていた）
============================== */
.nb-section { padding: 48px 0; }
.nb-section-bg { padding: 48px 0; background: #f5ece0; }
.nb-divider { height: 1px; background: #ecd9b8; margin: 0 auto; max-width: 1200px; }
.nb-container .nb-divider { margin: 40px 0; max-width: none; }
.nb-sidebar { display: flex; flex-direction: column; gap: 20px; }

/* ==============================
   横スクロールカード（サイズ拡大・シャープ化）
============================== */
.nb-hcard { width: 300px; flex-shrink: 0; border-radius: 4px; overflow: hidden; background: #fff; border: 1px solid #ecd9b8; text-decoration: none; display: block; transition: border-color 0.2s; }
.nb-hcard:hover { border-color: #c8102e; }
.nb-hcard-body { padding: 14px 16px; }
.nb-hcard-cat { font-size: 12px; color: #c8102e; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 6px; }
.nb-hcard-title { font-size: 16px; font-weight: 700; color: #333; line-height: 1.5; }
.nb-hcard-date { font-size: 12px; color: #aaa; margin-top: 6px; }
.nb-no-posts-inline { color: #999; font-size: 15px; padding: 0 24px; }

/* ==============================
   ねぶた祭りとは（歴史導線）：サイズ拡大
============================== */
.nb-history-teaser { max-width: 800px; margin: 0 auto; padding: 48px 24px; text-align: center; }
.nb-history-title { font-family: 'Shippori Mincho', serif; font-size: 32px; font-weight: 800; color: #1a1512; margin: 10px 0 18px; border-left: none; padding-left: 0; }
.nb-history-desc { font-size: 16px; color: #444; line-height: 2; margin-bottom: 24px; }
.nb-history-btn { display: inline-block; background: #1a1512; color: #d4a017; font-size: 15px; font-weight: 700; padding: 14px 32px; border-radius: 4px; text-decoration: none; }
.nb-history-btn:hover { background: #c8102e; color: #fff; }

/* ==============================
   特集カード：サイズ拡大・シャープ化
============================== */
.nb-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 24px 24px; max-width: 1200px; margin: 0 auto; }
.nb-feature-card { display: block; background: #1a1512; border-radius: 4px; padding: 28px 24px; text-decoration: none; border: 1px solid #3a2f28; transition: border-color 0.2s; }
.nb-feature-card:hover { border-color: #d4a017; }
.nb-feature-card-label { font-family: 'Shippori Mincho', serif; font-size: 20px; font-weight: 800; color: #d4a017; margin-bottom: 10px; }
.nb-feature-card-desc { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.8; }

/* ==============================
   制作サポートCTA：サイズ拡大
============================== */
.nb-support-cta { max-width: 800px; margin: 0 auto; text-align: center; background: #fff; border: 2px solid #1a1512; border-radius: 4px; padding: 40px 24px; }
.nb-support-cta-title { font-family: 'Shippori Mincho', serif; font-size: 22px; font-weight: 800; color: #1a1512; margin-bottom: 14px; }
.nb-support-cta-desc { font-size: 15px; color: #444; line-height: 2; margin-bottom: 24px; }
.nb-support-cta-btn { display: inline-block; background: #c8102e; color: #fff; font-size: 16px; font-weight: 700; padding: 14px 36px; border-radius: 4px; text-decoration: none; }
.nb-support-cta-btn:hover { background: #1a1512; }

/* ==============================
   協賛バナー：サイズ拡大
============================== */
.nb-sponsor-banner { display: block; text-decoration: none; background: #1a1512; border: 2px solid #d4a017; border-radius: 4px; padding: 32px; max-width: 1200px; margin: 0 auto; }
.nb-sponsor-banner-title { font-family: 'Shippori Mincho', serif; font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.nb-sponsor-banner-sub { font-size: 14px; color: rgba(255,255,255,0.7); }
.nb-sponsor-banner-btn { background: #d4a017; color: #1a1512; font-size: 14px; font-weight: 700; padding: 10px 24px; border-radius: 4px; white-space: nowrap; }

/* ==============================
   ヒーロースライダー
============================== */
.nb-hero-wrapper { position: relative; width: 100%; }
.nb-hero-swiper { width: 100%; }
.nb-hero-slide { height: 640px !important; background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; }
.nb-hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,21,18,0.92) 0%, rgba(26,21,18,0.3) 45%, rgba(26,21,18,0.15) 100%); }
.swiper-slide.nb-hero-slide { display: block !important; padding: 0 !important; }
.swiper-pagination-bullet { background: rgba(255,255,255,0.5); opacity: 1; }
.swiper-pagination-bullet-active { background: #d4a017; }

.nb-hero-text-fixed { position: absolute; top: 56px; left: 48px; z-index: 10; color: #fff; pointer-events: none; }
.nb-hero-tag { font-size: 12px; letter-spacing: 0.2em; color: #d4a017; margin-bottom: 10px; }
.nb-hero-title { font-family: 'Shippori Mincho', serif; font-size: 32px; font-weight: 800; line-height: 1.6; }

/* 祭り情報オーバーレイ（ヒーロー下部） */
.nb-hero-festival {
  position: absolute;
  bottom: 24px; right: 24px;
  left: auto;
  z-index: 10;
  background: rgba(26,21,18,0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(212,160,23,0.5);
  border-radius: 10px;
  padding: 20px 24px;
  width: 420px;
  max-width: calc(100% - 48px);
}
.nb-hero-festival-label { font-size: 11px; color: #d4a017; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 4px; }
.nb-hero-festival-main { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.nb-hero-festival-schedule { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.nb-hero-festival-row { font-size: 12px; color: #e8dcc8; line-height: 1.7; display: flex; gap: 10px; flex-wrap: wrap; }
.nb-hero-festival-row span { flex-shrink: 0; font-weight: 700; color: #fff; min-width: 130px; }
.nb-hero-festival-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* ==============================
   ねぶた伝承会とは（About導線）
============================== */
.nb-about-box { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nb-about-text { background: #1a1512; border-radius: 12px; padding: 32px; }
.nb-about-title { font-size: 24px; font-weight: 700; color: #fff; margin: 6px 0 12px; }
.nb-about-desc { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.9; margin-bottom: 18px; max-width: 640px; }
.nb-about-btn { display: inline-block; background: #d4a017; color: #1a1512; font-size: 13px; font-weight: 700; padding: 10px 24px; border-radius: 20px; text-decoration: none; }
.nb-about-btn:hover { background: #c8102e; color: #fff; }
.nb-about-box .nb-sec-en { color: #d4a017; }
.nb-about-box .nb-sec-en::after { background: rgba(255,255,255,0.15); }

/* ==============================
   今年の祭り情報
============================== */
.nb-festival-info { max-width: 800px; margin: 0 auto; padding: 32px 24px; text-align: center; }
.nb-festival-label { font-size: 13px; color: #c8102e; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 8px; }
.nb-festival-main { font-size: 28px; font-weight: 700; color: #1a1512; margin-bottom: 24px; }
.nb-festival-schedule { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid #ecd9b8; border-radius: 10px; padding: 20px; margin-bottom: 20px; text-align: left; }
.nb-festival-row { display: flex; gap: 16px; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed #ecd9b8; }
.nb-festival-row:last-child { border-bottom: none; }
.nb-festival-days { flex-shrink: 0; width: 160px; font-weight: 700; color: #c8102e; font-size: 14px; }
.nb-festival-time { font-size: 13px; color: #333; line-height: 1.7; }
.nb-festival-note { font-size: 12px; color: #7a6a55; margin-bottom: 16px; line-height: 1.8; }
.nb-festival-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.nb-festival-btn { display: inline-block; background: #c8102e; color: #fff; font-size: 13px; font-weight: 700; padding: 10px 24px; border-radius: 20px; text-decoration: none; }
.nb-festival-btn:hover { background: #1a1512; }
.nb-festival-btn-sub { background: #1a1512; color: #d4a017; }
.nb-festival-btn-sub:hover { background: #c8102e; color: #fff; }

/* ==============================
   横スクロールカード
============================== */
.nb-hscroll { display: flex; gap: 14px; padding: 0 24px 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 1200px; margin: 0 auto; }
.nb-hscroll::-webkit-scrollbar { display: none; }
.nb-hcard { width: 280px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid #ecd9b8; text-decoration: none; display: block; transition: border-color 0.2s; }
.nb-hcard:hover { border-color: #c8102e; }
.nb-hcard-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #f5ece0; }
.nb-hcard-img img { width: 100%; height: 100%; object-fit: cover; }
.nb-hcard-body { padding: 10px 12px; }
.nb-hcard-cat { font-size: 11px; color: #c8102e; font-weight: 500; letter-spacing: 0.08em; margin-bottom: 5px; }
.nb-hcard-title { font-size: 14px; font-weight: 700; color: #333; line-height: 1.5; }
.nb-hcard-date { font-size: 11px; color: #aaa; margin-top: 4px; }
.nb-no-posts-inline { color: #999; font-size: 13px; padding: 0 24px; }

/* ==============================
   YouTube
============================== */
.nb-youtube-wrap-outer { max-width: 800px; margin: 0 auto; padding: 0 24px 24px; }
.nb-youtube-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; }
.nb-youtube-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.nb-youtube-more { display: inline-flex; align-items: center; gap: 8px; background: #c8102e; color: #fff; font-size: 13px; font-weight: 700; padding: 10px 24px; border-radius: 20px; text-decoration: none; }
.nb-youtube-more:hover { background: #1a1512; }

/* ==============================
   ねぶた祭りとは（歴史導線）
============================== */
.nb-history-teaser { max-width: 800px; margin: 0 auto; padding: 32px 24px; text-align: center; }
.nb-history-title { font-size: 24px; font-weight: 700; color: #1a1512; margin: 6px 0 14px; }
.nb-history-desc { font-size: 14px; color: #555; line-height: 1.9; margin-bottom: 20px; }
.nb-history-btn { display: inline-block; background: #1a1512; color: #d4a017; font-size: 13px; font-weight: 700; padding: 10px 24px; border-radius: 20px; text-decoration: none; }
.nb-history-btn:hover { background: #c8102e; color: #fff; }

/* ==============================
   特集カード
============================== */
.nb-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 24px 24px; max-width: 1200px; margin: 0 auto; }
.nb-feature-card { display: block; background: #1a1512; border-radius: 10px; padding: 24px; text-decoration: none; border: 1px solid #3a2f28; transition: border-color 0.2s; }
.nb-feature-card:hover { border-color: #d4a017; }
.nb-feature-card-label { font-size: 16px; font-weight: 700; color: #d4a017; margin-bottom: 8px; }
.nb-feature-card-desc { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ==============================
   姉妹サイトバナー（青森観光案内ブログ）
============================== */
.nb-sister-banner { display: block; text-decoration: none; background: #fff; border: 1px solid #ecd9b8; border-radius: 10px; padding: 20px 24px; max-width: 1200px; margin: 0 auto; transition: border-color 0.2s; }
.nb-sister-banner:hover { border-color: #d4a017; }
.nb-sister-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nb-sister-banner-eyebrow { font-size: 10px; color: #d4a017; letter-spacing: 0.1em; margin-bottom: 6px; }
.nb-sister-banner-title { font-size: 18px; font-weight: 700; color: #1a1512; margin-bottom: 4px; }
.nb-sister-banner-sub { font-size: 12px; color: #7a6a55; }
.nb-sister-banner-btn { background: #1a1512; color: #d4a017; font-size: 12px; font-weight: 700; padding: 8px 18px; border-radius: 20px; white-space: nowrap; }

/* ==============================
   制作サポートCTA
============================== */
.nb-support-cta { max-width: 800px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid #ecd9b8; border-radius: 10px; padding: 32px 24px; }
.nb-support-cta-title { font-size: 18px; font-weight: 700; color: #1a1512; margin-bottom: 10px; }
.nb-support-cta-desc { font-size: 13px; color: #555; line-height: 1.9; margin-bottom: 20px; }
.nb-support-cta-btn { display: inline-block; background: #c8102e; color: #fff; font-size: 14px; font-weight: 700; padding: 10px 28px; border-radius: 20px; text-decoration: none; }
.nb-support-cta-btn:hover { background: #1a1512; }

/* ==============================
   協賛バナー
============================== */
.nb-sponsor-banner { display: block; text-decoration: none; background: #1a1512; border: 1px solid #d4a017; border-radius: 10px; padding: 24px; max-width: 1200px; margin: 0 auto; }
.nb-sponsor-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nb-sponsor-banner-eyebrow { font-size: 10px; color: #d4a017; letter-spacing: 0.15em; margin-bottom: 6px; }
.nb-sponsor-banner-title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.nb-sponsor-banner-sub { font-size: 12px; color: rgba(255,255,255,0.65); }
.nb-sponsor-banner-btn { background: #d4a017; color: #1a1512; font-size: 13px; font-weight: 700; padding: 8px 20px; border-radius: 20px; white-space: nowrap; }

/* ==============================
   レスポンシブ
============================== */
@media (max-width: 640px) {
  /* ヒーロー：画面いっぱい表示 */
  .nb-hero-slide { height: 100vh !important; }

  /* キャッチコピー：画像上部に表示 */
  .nb-hero-text-fixed { top: 60px; left: 20px; right: 20px; bottom: auto; }
  .nb-hero-title { font-size: 26px !important; }

  /* 会期情報：元のカードスタイル（画像下部に浮かぶ形）をスマホ幅に合わせて微調整 */
  .nb-hero-festival { left: 16px; right: 16px; bottom: 16px; width: auto; max-width: none; padding: 16px; }
  .nb-hero-festival-row { flex-direction: column; gap: 2px; }
  .nb-hero-festival-row span { min-width: auto; }

  .nb-festival-row { flex-direction: column; gap: 4px; }
  .nb-festival-days { width: auto; }

  .nb-feature-grid { grid-template-columns: 1fr; }
  .nb-sister-banner-inner,
  .nb-sponsor-banner-inner { flex-direction: column; align-items: flex-start; }
  .nb-support-cta { padding: 24px 20px; }
}

@media (max-width: 640px) {
  .nb-hero-slide-1 { background-position: 35% center; }
  .nb-hero-slide-2 { background-position: 25% center; }
}

/* ==============================
   ヘッダー（スクロールで出現）
============================== */
.nb-header {
  background: #1a1512;
  padding: 14px 24px 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.nb-header.is-visible {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.nb-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
}

/* TOP以外のページ：ヘッダーを常時表示（position: static扱い） */
.nb-header-static {
  position: sticky;
  transform: none !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ロゴ：紋章風の丸バッジ＋筆文字っぽいフォント */
.nb-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nb-logo-mark {
  width: 40px; height: 40px;
  border: 2px solid #d4a017;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #d4a017;
  font-family: 'Shippori Mincho', serif;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.nb-logo-text { display: flex; flex-direction: column; }
.nb-logo-main { font-family: 'Shippori Mincho', serif; font-size: 19px; font-weight: 800; color: #fdf8f0; letter-spacing: 0.03em; }
.nb-logo-sub { font-size: 9px; color: #8a7a63; letter-spacing: 0.15em; margin-top: 2px; }

/* ナビ */
.nb-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nb-nav ul li { position: relative; }
.nb-nav ul li a { font-size: 14px; color: #e8dcc8; text-decoration: none; padding: 4px 0; position: relative; }
.nb-nav ul li a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: #c8102e;
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nb-nav ul li a:hover { color: #d4a017; }
.nb-nav ul li a:hover::after { transform: scaleX(1); }

.nb-nav ul li ul {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: #1a1512;
  border: 1px solid #3a2f28;
  border-radius: 6px;
  padding: 8px 0;
  min-width: 180px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  z-index: 200;
}
.nb-nav ul li:hover ul { display: block; }
.nb-nav ul li ul li a { display: block; padding: 8px 16px; font-size: 13px; }
.nb-nav ul li ul li a:hover { background: #2a221c; }

/* ハンバーガー */
.nb-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nb-hamburger span { display: block; width: 24px; height: 2px; background: #d4a017; border-radius: 2px; transition: all 0.3s; }
.nb-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nb-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nb-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ==============================
   フッター
============================== */
.nb-footer { background: #1a1512; padding: 0 24px 24px; color: #c8a25a; font-size: 14px; margin-top: 48px; width: 100%; }
.nb-footer-edge {
  height: 6px;
  max-width: 1200px;
  margin: 0 auto 24px;
  background: linear-gradient(90deg, #c8102e, #d4a017, #c8102e);
}
.nb-footer-inner { max-width: 1200px; width: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; }
.nb-footer-logo { font-family: 'Shippori Mincho', serif; font-size: 17px; font-weight: 800; color: #fdf8f0; margin-bottom: 8px; }
.nb-footer-link { font-size: 13px; color: #d4a017; text-decoration: none; border-bottom: 1px solid rgba(212,160,23,0.3); padding-bottom: 2px; }
.nb-footer-nav { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.nb-footer-nav a { font-size: 12px; color: #a3906f; text-decoration: none; }
.nb-footer-nav a:hover { color: #d4a017; }
.nb-footer-copy { max-width: 1200px; margin: 16px auto 0; padding-top: 16px; border-top: 1px solid rgba(212,160,23,0.15); text-align: center; }
.nb-footer-copy span { color: #8a7a63; font-size: 12px; }

/* ==============================
   レスポンシブ（ヘッダー・ナビ）
============================== */
@media (max-width: 640px) {
  .nb-hamburger { display: flex; }
  .nb-nav {
    display: none;
    position: absolute; top: 74px; left: 0; right: 0;
    background: #1a1512;
    border-top: 1px solid #3a2f28;
    z-index: 200;
    padding: 16px 24px;
  }
  .nb-nav.is-open { display: block; }
  .nb-nav ul { flex-direction: column; gap: 0; }
  .nb-nav ul li a { display: block; padding: 12px 0; border-bottom: 1px solid #3a2f28; }
  .nb-nav ul li a::after { display: none; }
  .nb-nav ul li ul { display: block; position: static; box-shadow: none; border: none; padding: 0 0 0 16px; }

  .nb-footer-inner { flex-direction: column; }
  .nb-footer-nav { text-align: left; }
}

.nb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 0;   /* 上に48px追加、左右は既存のまま */
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

/* TOPページ：nb-containerで48px確保した分、最初のセクションの上paddingを相殺 */
.nb-main > .nb-section:first-child,
.nb-main > .nb-section-bg:first-child { padding-top: 0; }

.nb-main { min-width: 0; }
/* nb-main内の各セクションはmax-widthをリセット（親のnb-containerで幅制御するため） */
.nb-main .nb-section,
.nb-main .nb-section-bg { padding-left: 0; padding-right: 0; }
.nb-main .nb-sec-head,
.nb-main .nb-hscroll,
.nb-main .nb-feature-grid,
.nb-main .nb-about-box,
.nb-main .nb-history-teaser,
.nb-main .nb-support-cta,
.nb-main .nb-sponsor-banner,
.nb-main .nb-sister-banner { max-width: none; margin: 0; }

@media (max-width: 900px) {
  .nb-container { grid-template-columns: 1fr; }
}

.nb-side-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid #ecd9b8;
  background: #fff;
  padding: 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.nb-side-tile:hover { border-color: #c8102e; transform: translateY(-2px); }

.nb-side-tile-eyebrow { font-size: 11px; color: #c8102e; letter-spacing: 0.15em; font-weight: 700; margin-bottom: 6px; }
.nb-side-tile-title { font-family: 'Shippori Mincho', serif; font-size: 17px; font-weight: 800; color: #1a1512; line-height: 1.5; }

.nb-side-dark { background: #1a1512; border-color: #3a2f28; }
.nb-side-dark .nb-side-tile-eyebrow { color: #d4a017; }
.nb-side-dark .nb-side-tile-title { color: #fff; }

.nb-side-sponsor { background: #c8102e; border-color: #c8102e; }
.nb-side-sponsor .nb-side-tile-eyebrow { color: #ffd9a8; }
.nb-side-sponsor .nb-side-tile-title { color: #fff; }

.nb-side-accent { background: #d4a017; border-color: #d4a017; }
.nb-side-accent .nb-side-tile-eyebrow { color: rgba(26,21,18,0.6); }
.nb-side-accent .nb-side-tile-title { color: #1a1512; }

.nb-side-banner { padding: 0; overflow: hidden; }
.nb-side-banner-placeholder {
  width: 100%; height: 100%;
  min-height: 90px;
  background: repeating-linear-gradient(45deg, #f5ece0, #f5ece0 10px, #ecd9b8 10px, #ecd9b8 20px);
  display: flex; align-items: center; justify-content: center;
  color: #a3906f; font-size: 12px; font-weight: 700;
}
.nb-side-banner.nb-side-square .nb-side-banner-placeholder { aspect-ratio: 1/1; }

/* 日程再掲部分 */
.nb-side-festival { padding: 20px; }
.nb-side-festival-main { font-size: 13px; color: #d4a017; font-weight: 700; margin: 8px 0 10px; }
.nb-side-festival-schedule { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.nb-side-festival-schedule div { font-size: 11px; color: #e8dcc8; line-height: 1.6; }
.nb-side-festival-links { display: flex; flex-direction: column; gap: 6px; }
.nb-side-festival-links a { font-size: 12px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(212,160,23,0.4); padding-bottom: 2px; width: fit-content; }
.nb-side-festival-links a:hover { color: #d4a017; }

/* 画像バナータイル */
.nb-side-banner-tile { padding: 0; overflow: hidden; }
.nb-side-banner-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 画像バナータイル：画像の比率にそのまま従う（正方形/長方形の指定は画像側に任せる） */
.nb-side-banner-tile {
  padding: 0;
  overflow: hidden;
  min-height: 0;        /* .nb-side-rect の min-height を無効化 */
  aspect-ratio: auto;   /* .nb-side-square の aspect-ratio を無効化 */
}
.nb-side-banner-tile img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==============================
   固定ページ共通（About等の個別テンプレート用）
============================== */
.nb-breadcrumb { background: #fff; border-bottom: 1px solid #ecd9b8; padding: 12px 24px; font-size: 13px; color: #888; }
.nb-breadcrumb-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nb-breadcrumb a { color: #c8102e; text-decoration: none; }
.nb-breadcrumb span { margin: 0 6px; }

.nb-page-hero { text-align: center; margin-bottom: 48px; }
.nb-about-story,
.nb-about-links,
.nb-about-cta { max-width: 720px; }
.nb-about-cta { margin-bottom: 48px; }

.nb-page-hero { text-align: center; margin-bottom: 48px; }
.nb-page-hero-eyebrow { font-size: 13px; color: #c8102e; letter-spacing: 0.25em; font-weight: 700; margin-bottom: 12px; }
.nb-page-hero-title { font-family: 'Shippori Mincho', serif; font-size: 34px; font-weight: 800; color: #1a1512; }

.nb-about-story h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  font-weight: 800;
  color: #1a1512;
  border-left: 5px solid #c8102e;
  padding-left: 14px;
  margin: 40px 0 20px;
}
.nb-about-story h2:first-child { margin-top: 0; }
.nb-about-story p { font-size: 15px; line-height: 2; color: #333; margin-bottom: 16px; }

.nb-about-links { margin-top: 56px; }
.nb-about-links-title { font-family: 'Shippori Mincho', serif; font-size: 18px; font-weight: 800; color: #1a1512; margin-bottom: 16px; }
.nb-about-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nb-about-link-card { display: block; background: #fff; border: 1px solid #ecd9b8; border-radius: 4px; padding: 18px; text-decoration: none; transition: border-color 0.2s; }
.nb-about-link-card:hover { border-color: #c8102e; }
.nb-about-link-eyebrow { font-size: 10px; color: #c8102e; letter-spacing: 0.1em; margin-bottom: 6px; }
.nb-about-link-name { font-size: 14px; font-weight: 700; color: #1a1512; }

.nb-about-cta { margin-top: 56px; text-align: center; background: #1a1512; border-radius: 4px; padding: 40px 24px; }
.nb-about-cta-title { font-family: 'Shippori Mincho', serif; font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.nb-about-cta-desc { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.nb-about-cta-btn { display: inline-block; background: #d4a017; color: #1a1512; font-size: 14px; font-weight: 700; padding: 12px 28px; border-radius: 4px; text-decoration: none; }
.nb-about-cta-btn:hover { background: #c8102e; color: #fff; }

@media (max-width: 640px) {
  .nb-page-hero-title { font-size: 24px; }
  .nb-about-links-grid { grid-template-columns: 1fr; }
}

/* ==============================
   歴史ページ
============================== */
.nb-history-section { max-width: 720px; margin-bottom: 8px; }
.nb-history-section h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  font-weight: 800;
  color: #1a1512;
  border-left: 5px solid #c8102e;
  padding-left: 14px;
  margin: 40px 0 20px;
}
.nb-history-section:first-of-type h2 { margin-top: 0; }
.nb-history-section p { font-size: 15px; line-height: 2; color: #333; margin-bottom: 16px; }
.nb-history-note { font-size: 12px; color: #a3906f; margin-top: 8px; }

/* 年表 */
.nb-timeline { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid #ecd9b8; border-radius: 4px; padding: 20px; margin: 20px 0; }
.nb-timeline-row { display: flex; gap: 16px; font-size: 14px; line-height: 1.8; padding-bottom: 10px; border-bottom: 1px dashed #ecd9b8; flex-wrap: wrap; }
.nb-timeline-row:last-child { border-bottom: none; padding-bottom: 0; }
.nb-timeline-row span { flex-shrink: 0; font-weight: 700; color: #c8102e; min-width: 200px; }

/* 写真アーカイブ */
.nb-archive-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.nb-archive-photo-placeholder {
  aspect-ratio: 1/1;
  background: repeating-linear-gradient(45deg, #f5ece0, #f5ece0 10px, #ecd9b8 10px, #ecd9b8 20px);
  display: flex; align-items: center; justify-content: center;
  color: #a3906f; font-size: 13px; font-weight: 700;
  border-radius: 4px;
}

/* 山車・囃子リンクカード */
.nb-history-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nb-history-link-card { display: block; background: #1a1512; border-radius: 4px; padding: 24px; text-decoration: none; border: 1px solid #3a2f28; transition: border-color 0.2s; }
.nb-history-link-card:hover { border-color: #d4a017; }
.nb-history-link-eyebrow { font-size: 11px; color: #d4a017; letter-spacing: 0.15em; font-weight: 700; margin-bottom: 8px; }
.nb-history-link-title { font-family: 'Shippori Mincho', serif; font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.nb-history-link-desc { font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.7; }

/* ねぶた名人リスト */
.nb-meijin-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.nb-meijin-item { display: flex; gap: 16px; background: #fff; border: 1px solid #ecd9b8; border-radius: 4px; padding: 18px; align-items: baseline; flex-wrap: wrap; }
.nb-meijin-gen { flex-shrink: 0; font-size: 12px; font-weight: 700; color: #c8102e; background: #fdf0ea; border-radius: 20px; padding: 4px 12px; }
.nb-meijin-name { flex-shrink: 0; font-family: 'Shippori Mincho', serif; font-size: 17px; font-weight: 800; color: #1a1512; min-width: 140px; }
.nb-meijin-desc { font-size: 13px; color: #555; line-height: 1.8; flex: 1; min-width: 200px; }

@media (max-width: 640px) {
  .nb-archive-gallery { grid-template-columns: repeat(2, 1fr); }
  .nb-history-links-grid { grid-template-columns: 1fr; }
  .nb-meijin-item { flex-direction: column; }
}

/* ==============================
   囃子ページ：楽器紹介（画像＋テキスト2カラム）
============================== */
.nb-instrument-section { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; max-width: 100%; }
.nb-instrument-section-rev { grid-template-columns: 1fr 280px; }
.nb-instrument-section-rev .nb-instrument-img { order: 2; }
.nb-instrument-section-rev .nb-instrument-body { order: 1; }

.nb-instrument-img-placeholder {
  aspect-ratio: 1/1;
  background: repeating-linear-gradient(45deg, #f5ece0, #f5ece0 10px, #ecd9b8 10px, #ecd9b8 20px);
  display: flex; align-items: center; justify-content: center;
  color: #a3906f; font-size: 13px; font-weight: 700;
  border-radius: 4px;
}
.nb-instrument-body { max-width: 640px; }
.nb-instrument-body h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  font-weight: 800;
  color: #1a1512;
  border-left: 5px solid #c8102e;
  padding-left: 14px;
  margin: 0 0 16px;
}
.nb-instrument-body p { font-size: 14px; line-height: 2; color: #333; margin-bottom: 14px; }

/* 囃子の日程一覧 */
.nb-hayashi-days { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid #ecd9b8; border-radius: 4px; padding: 20px; margin: 20px 0; }
.nb-hayashi-day { display: flex; gap: 16px; font-size: 14px; padding-bottom: 8px; border-bottom: 1px dashed #ecd9b8; }
.nb-hayashi-day:last-child { border-bottom: none; padding-bottom: 0; }
.nb-hayashi-day span { flex-shrink: 0; font-weight: 700; color: #c8102e; min-width: 70px; }

@media (max-width: 640px) {
  .nb-instrument-section,
  .nb-instrument-section-rev { grid-template-columns: 1fr; }
  .nb-instrument-section-rev .nb-instrument-img,
  .nb-instrument-section-rev .nb-instrument-body { order: unset; }
  .nb-instrument-img-placeholder { max-width: 200px; margin: 0 auto; }
}

/* ==============================
   制作サポート情報：料金プラン
============================== */
.nb-plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.nb-plan-card {
  background: #fff;
  border: 2px solid #ecd9b8;
  border-radius: 4px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.nb-plan-badge { font-size: 11px; color: #c8102e; letter-spacing: 0.15em; font-weight: 700; margin-bottom: 10px; }
.nb-plan-title { font-family: 'Shippori Mincho', serif; font-size: 18px; font-weight: 800; color: #1a1512; margin-bottom: 10px; }
.nb-plan-price { font-size: 28px; font-weight: 800; color: #c8102e; margin-bottom: 14px; }
.nb-plan-desc { font-size: 13px; color: #555; line-height: 1.8; margin-bottom: 16px; }
.nb-plan-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.nb-plan-list li { font-size: 13px; color: #333; padding-left: 18px; position: relative; line-height: 1.6; }
.nb-plan-list li::before { content: '✓'; position: absolute; left: 0; color: #c8102e; font-weight: 700; }

.nb-plan-card-accent { border-color: #d4a017; }
.nb-plan-card-accent .nb-plan-price { color: #d4a017; }
.nb-plan-card-accent .nb-plan-list li::before { color: #d4a017; }

/* 動画プランカード：横長・目立たせるダーク調 */
.nb-video-plan-card {
  background: #1a1512;
  border: 2px solid #d4a017;
  border-radius: 4px;
  padding: 32px;
}
.nb-video-plan-body { max-width: 560px; }
.nb-video-plan-card .nb-plan-badge { color: #d4a017; }
.nb-video-plan-card .nb-plan-title { color: #fff; }
.nb-video-plan-card .nb-plan-price { color: #fff; }
.nb-video-plan-card .nb-plan-desc { color: rgba(255,255,255,0.7); }
.nb-video-plan-card .nb-plan-list li { color: rgba(255,255,255,0.85); }
.nb-video-plan-card .nb-plan-list li::before { color: #d4a017; }

/* お問い合わせ導線 */
.nb-support-contact { text-align: center; background: #fff; border: 2px solid #1a1512; border-radius: 4px; padding: 40px 24px; }
.nb-support-contact-title { font-family: 'Shippori Mincho', serif; font-size: 20px; font-weight: 800; color: #1a1512; margin-bottom: 10px; }
.nb-support-contact-desc { font-size: 14px; color: #555; margin-bottom: 20px; }
.nb-support-contact-btn { display: inline-block; background: #c8102e; color: #fff; font-size: 14px; font-weight: 700; padding: 12px 28px; border-radius: 4px; text-decoration: none; }
.nb-support-contact-btn:hover { background: #1a1512; }

@media (max-width: 900px) {
  .nb-plan-grid { grid-template-columns: 1fr; }
}

/* ==============================
   協賛者一覧（テキストのみ・横長リスト）
============================== */
.nb-sponsor-list { display: flex; flex-direction: column; }
.nb-sponsor-list-row {
  padding: 16px 4px;
  border-bottom: 1px solid #ecd9b8;
  font-size: 15px;
}
.nb-sponsor-list-row:first-child { border-top: 1px solid #ecd9b8; }
.nb-sponsor-list-row a { color: #1a1512; text-decoration: none; font-weight: 700; }
.nb-sponsor-list-row a:hover { color: #c8102e; }
.nb-sponsor-list-row span { color: #1a1512; font-weight: 700; }

/* ==============================
   お問い合わせフォーム（Contact Form 7）
============================== */
.nb-contact-form-wrap {
  background: #fff;
  border: 2px solid #ecd9b8;
  border-radius: 4px;
  padding: 32px;
  max-width: 720px;
}

.nb-contact-form-wrap .wpcf7-form p { margin-bottom: 20px; }
.nb-contact-form-wrap .wpcf7-form label { display: block; font-size: 13px; font-weight: 700; color: #1a1512; margin-bottom: 8px; }
.nb-contact-form-wrap .wpcf7-form input[type="text"],
.nb-contact-form-wrap .wpcf7-form input[type="email"],
.nb-contact-form-wrap .wpcf7-form input[type="tel"],
.nb-contact-form-wrap .wpcf7-form select,
.nb-contact-form-wrap .wpcf7-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ecd9b8;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.nb-contact-form-wrap .wpcf7-form input:focus,
.nb-contact-form-wrap .wpcf7-form select:focus,
.nb-contact-form-wrap .wpcf7-form textarea:focus { border-color: #c8102e; }
.nb-contact-form-wrap .wpcf7-form textarea { min-height: 160px; resize: vertical; }

.nb-contact-form-wrap .wpcf7-submit {
  background: #c8102e;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.nb-contact-form-wrap .wpcf7-submit:hover { background: #1a1512; }
.nb-contact-form-wrap .wpcf7-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.nb-contact-form-wrap .wpcf7-not-valid-tip { color: #c8102e; font-size: 12px; margin-top: 4px; }
.nb-contact-form-wrap .wpcf7-response-output {
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 13px;
  margin-top: 20px;
}

.nb-form-field br {
  display: none;
}
.nb-form-field p {
  margin: 0 !important;
}

/* SNS連絡先 */
.nb-contact-alt { text-align: left; }
.nb-contact-alt-title { font-family: 'Shippori Mincho', serif; font-size: 16px; font-weight: 800; color: #1a1512; margin-bottom: 12px; }
.nb-contact-alt-links a { display: inline-block; font-size: 13px; color: #c8102e; text-decoration: none; border-bottom: 1px solid rgba(200,16,46,0.3); padding-bottom: 2px; }
.nb-contact-alt-links a:hover { color: #1a1512; }

.nb-contact-form-wrap .wpcf7-form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 20px;
}
.nb-contact-form-wrap .wpcf7-form legend {
  font-size: 13px;
  font-weight: 700;
  color: #1a1512;
  margin-bottom: 10px;
  padding: 0;
}
.nb-contact-form-wrap .wpcf7-form .wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nb-contact-form-wrap .wpcf7-form .wpcf7-list-item {
  margin: 0;
}
.nb-contact-form-wrap .wpcf7-form .wpcf7-list-item-label {
  font-size: 14px;
  font-weight: 400;
  margin-left: 6px;
}

/* ==============================
   アーカイブ
============================== */
.nb-archive-header { background: #f5ece0; padding: 40px 24px; }
.nb-archive-header-inner { max-width: 1200px; margin: 0 auto; }
.nb-archive-label { font-size: 12px; color: #c8102e; letter-spacing: 0.2em; font-weight: 700; margin-bottom: 8px; }
.nb-archive-title { font-family: 'Shippori Mincho', serif; font-size: 30px; font-weight: 800; color: #1a1512; margin-bottom: 8px; }
.nb-archive-count { font-size: 13px; color: #a3906f; }

.nb-archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 40px 0; }
.nb-archive-card { background: #fff; border-radius: 4px; overflow: hidden; border: 1px solid #ecd9b8; text-decoration: none; display: block; transition: border-color 0.2s; }
.nb-archive-card:hover { border-color: #c8102e; }
.nb-archive-card-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #f5ece0; }
.nb-archive-card-img img { width: 100%; height: 100%; object-fit: cover; }
.nb-archive-card-body { padding: 16px; }
.nb-archive-card-cat { font-size: 11px; color: #c8102e; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 8px; }
.nb-archive-card-title { font-size: 16px; font-weight: 700; color: #333; line-height: 1.5; margin-bottom: 8px; }
.nb-archive-card-date { font-size: 12px; color: #aaa; }

.nb-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.nb-pagination ul { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; margin: 0; padding: 0; }
.nb-pagination a, .nb-pagination span { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 4px; font-size: 14px; text-decoration: none; border: 1px solid #ecd9b8; color: #444; background: #fff; min-width: 44px; }
.nb-pagination a:hover { border-color: #c8102e; color: #c8102e; }
.nb-pagination .current { background: #c8102e; color: #fff; border-color: #c8102e; }
.nb-no-posts { background: #fff; border: 1px solid #ecd9b8; border-radius: 4px; padding: 48px; text-align: center; color: #888; font-size: 14px; }

/* ==============================
   404
============================== */
.nb-404 { max-width: 640px; margin: 80px auto; padding: 24px; text-align: center; }
.nb-404-num { font-family: 'Shippori Mincho', serif; font-size: 120px; font-weight: 800; color: #f5ece0; line-height: 1; margin-bottom: 8px; }
.nb-404-title { font-family: 'Shippori Mincho', serif; font-size: 24px; font-weight: 800; color: #1a1512; margin-bottom: 14px; }
.nb-404-desc { font-size: 14px; color: #7a6a55; line-height: 1.9; margin-bottom: 32px; }
.nb-404-btn { display: inline-block; background: #c8102e; color: #fff; font-size: 14px; font-weight: 700; padding: 14px 32px; border-radius: 4px; text-decoration: none; margin: 6px; }
.nb-404-btn:hover { background: #1a1512; }
.nb-404-btn-sub { display: inline-block; color: #c8102e; font-size: 13px; text-decoration: underline; margin: 6px; }
.nb-404-label { font-size: 11px; color: #a3906f; letter-spacing: 0.1em; margin: 40px 0 14px; }
.nb-404-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nb-404-tags a { background: #fff; border: 1px solid #c8102e; border-radius: 4px; padding: 8px 16px; font-size: 12px; color: #c8102e; text-decoration: none; }
.nb-404-tags a:hover { background: #c8102e; color: #fff; }

@media (max-width: 640px) {
  .nb-archive-grid { grid-template-columns: 1fr; }
}

/* ==============================
   記事詳細
============================== */
.nb-article { background: #fff; border-radius: 4px; overflow: hidden; border: 1px solid #ecd9b8; margin: 40px 0; }
.nb-article-thumb-wrap { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.nb-article-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.nb-article-thumb-placeholder { width: 100%; aspect-ratio: 16/9; background: #f5ece0; }
.nb-article-body { padding: 32px; }
.nb-article-cat { font-size: 12px; color: #c8102e; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 10px; }
.nb-article-title { font-family: 'Shippori Mincho', serif; font-size: 26px; font-weight: 800; color: #1a1512; line-height: 1.5; margin-bottom: 14px; }
.nb-article-meta { font-size: 12px; color: #a3906f; margin-bottom: 24px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.nb-article-tag { background: #fdf0ea; color: #c8102e; border-radius: 4px; padding: 4px 12px; font-size: 11px; text-decoration: none; }
.nb-article-tag:hover { background: #c8102e; color: #fff; }
.nb-article-divider { height: 1px; background: #ecd9b8; margin: 24px 0; }

/* 記事本文 */
.nb-entry-content { font-size: 15px; line-height: 1.95; color: #333; }

.nb-entry-content h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  font-weight: 800;
  color: #1a1512;
  margin: 44px 0 20px;
  padding: 14px 20px;
  background: #f5ece0;
  border-left: 6px solid #c8102e;
}
.nb-entry-content h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 32px 0 16px;
  padding: 10px 18px;
  background: #1a1512;
  border-radius: 4px;
}
.nb-entry-content h4 {
  position: relative;
  font-size: 15px;
  font-weight: 700;
  color: #1a1512;
  margin: 26px 0 12px;
  padding-bottom: 8px;
  border-bottom: 3px solid #ecd9b8;
}
.nb-entry-content h4::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 40px; height: 3px;
  background: #c8102e;
}

.nb-entry-content p { margin-bottom: 18px; }
.nb-entry-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 20px 0; display: block; }
.nb-entry-content a { color: #c8102e; }
.nb-entry-content ul, .nb-entry-content ol { margin-left: 0; padding-left: 1.4em; margin-bottom: 18px; }
.nb-entry-content li { margin-bottom: 8px; }

.nb-entry-content blockquote {
  border-left: 4px solid #d4a017;
  padding: 20px 20px 20px 24px;
  background: #f5ece0;
  margin: 20px 0;
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  border-radius: 0 4px 4px 0;
}

.nb-entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.nb-entry-content th { background: #f5ece0; color: #1a1512; font-weight: 700; padding: 12px 16px; border: 1px solid #ecd9b8; text-align: left; }
.nb-entry-content td { padding: 12px 16px; border: 1px solid #ecd9b8; }

/* 前後ナビ */
.nb-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0; }
.nb-post-nav-item { background: #fff; border: 1px solid #ecd9b8; border-radius: 4px; padding: 16px; text-decoration: none; display: block; transition: border-color 0.2s; }
.nb-post-nav-item:hover { border-color: #c8102e; }
.nb-post-nav-label { font-size: 11px; color: #c8102e; letter-spacing: 0.1em; margin-bottom: 8px; }
.nb-post-nav-title { font-size: 13px; font-weight: 700; color: #333; line-height: 1.5; }

/* 関連記事 */
.nb-related { margin-top: 8px; }
.nb-related-title { font-family: 'Shippori Mincho', serif; font-size: 17px; font-weight: 800; color: #1a1512; margin-bottom: 16px; border-left: 4px solid #c8102e; padding-left: 12px; }
.nb-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nb-related-card { background: #fff; border-radius: 4px; overflow: hidden; border: 1px solid #ecd9b8; text-decoration: none; display: block; transition: border-color 0.2s; }
.nb-related-card:hover { border-color: #c8102e; }
.nb-related-img { aspect-ratio: 16/9; background: #f5ece0; overflow: hidden; }
.nb-related-img img { width: 100%; height: 100%; object-fit: cover; }
.nb-related-body { padding: 12px; }
.nb-related-cat { font-size: 10px; color: #c8102e; font-weight: 500; margin-bottom: 6px; }
.nb-related-name { font-size: 13px; font-weight: 700; color: #333; line-height: 1.5; }

@media (max-width: 640px) {
  .nb-article-body { padding: 20px; }
  .nb-article-title { font-size: 20px; }
  .nb-post-nav { grid-template-columns: 1fr; }
  .nb-related-grid { grid-template-columns: 1fr; }
}

/* ==============================
   固定ページ（プライバシーポリシー等・汎用page.php）
============================== */
.nb-page-article { background: #fff; border: 1px solid #ecd9b8; border-radius: 4px; padding: 40px; margin: 40px 0; }
.nb-page-title { font-family: 'Shippori Mincho', serif; font-size: 26px; font-weight: 800; color: #1a1512; line-height: 1.5; margin-bottom: 10px; }
.nb-page-meta { font-size: 12px; color: #a3906f; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid #ecd9b8; }

/* サービス訴求バナー */
.nb-service-cta { max-width: 100%; margin: 0 0 40px; text-align: center; background: #1a1512; border-radius: 4px; padding: 36px 24px; }
.nb-service-cta-title { font-family: 'Shippori Mincho', serif; font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.nb-service-cta-desc { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.9; margin-bottom: 20px; }
.nb-service-cta-btn { display: inline-block; background: #d4a017; color: #1a1512; font-size: 14px; font-weight: 700; padding: 12px 28px; border-radius: 4px; text-decoration: none; }
.nb-service-cta-btn:hover { background: #c8102e; color: #fff; }

@media (max-width: 640px) {
  .nb-page-article { padding: 24px 20px; }
  .nb-page-title { font-size: 20px; }
}

/* ==============================
   Cocoon内部リンクカード（ブログカード）調整
============================== */
.nb-entry-content .blogcard {
  border: 1px solid #ecd9b8 !important;
  border-radius: 4px !important;
  background: #fff;
  padding: 16px !important;
  transition: border-color 0.2s;
}
.nb-entry-content .blogcard:hover { border-color: #c8102e !important; }
.nb-entry-content .blogcard-title { font-size: 15px !important; font-weight: 700 !important; color: #1a1512 !important; }
.nb-entry-content .blogcard-domain,
.nb-entry-content .blogcard-post-date { font-size: 11px !important; color: #a3906f !important; }
.nb-entry-content .blogcard-favicon-image { display: none; }
.nb-entry-content .internal-blogcard-thumb-image {
  border-radius: 4px 0 0 4px !important;
  object-fit: cover;
}

/* ==============================
   新着情報：リスト表示
============================== */
.nb-news-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}
.nb-news-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid #ecd9b8;
  text-decoration: none;
  transition: background 0.15s;
}
.nb-news-row:first-child { border-top: 1px solid #ecd9b8; }
.nb-news-row:hover { background: #f5ece0; }
.nb-news-date { flex-shrink: 0; font-size: 12px; color: #c8102e; font-weight: 700; width: 90px; }
.nb-news-title { font-size: 14px; color: #333; font-weight: 500; line-height: 1.6; }

@media (max-width: 640px) {
  .nb-news-row { flex-direction: column; gap: 4px; }
  .nb-news-date { width: auto; }
}