/*
Theme Name: Lightning Child
Template: lightning
Description: Lightning 親テーマ用子テーマ、フロント投稿・お知らせ統合対応
Version: 1.2
*/

.footer-posts {
  display: grid;
  gap: 1rem;
}
.footer-post-title {
  font-size: 0.9rem;
}

.footer-post-excerpt {
  margin-bottom: 1em;
  line-height: 1.6;
}

.footer-post-acf {
  margin-bottom: 0.2em;
}

.footer-post-body {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-post-text {
  flex: 1;
}

.footer-post-thumb {
  width: 120px;
  flex-shrink: 0;
}

.footer-post-thumb img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .footer-post-body {
    flex-direction: column;
  }

  .footer-post-thumb {
    width: 100%;
    max-width: 240px;
  }
}
.footer-post-acf:first-of-type {
  font-weight: 600;
}
.footer-post-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ページタイトル 背景色 */
.page-header {
  background-color: #9acefc; /* 好きな色に変更 */
}
/* タイトル帯の高さ調整 */
.page-header {
  padding-top: 5px;
  padding-bottom: 5px;
}
.page-header {
  min-height: auto;
}

/* タイトル帯の高さ調整 */
.page-header-inner {
  padding-top: 5px;
  padding-bottom: 5px;
}

/* タイトル文字 */
.page-header-title {
  font-size: 32px;   /* 例：28〜36px */
  font-weight: 100;
  text-align: center;
  color: #0510e6;
  line-height: 1;
  margin: 0;
}


.member-submenu .member-global-nav a:hover {
    opacity: 0.7;
}

/* 内側の UL に付く線も消す（テーマ対策） */
.member-submenu .global-nav-list {
    border: none !important;
    box-shadow: none !important;
}

/* ▼ スマホ：中央寄せ＆横スクロール */
@media (max-width: 768px) {
    .member-submenu .member-global-nav {
        justify-content: center !important;
        overflow-x: auto;
        white-space: nowrap;
    }
    .member-submenu .member-global-nav > li {
        margin-right: 20px;
    }
}

/* ===============================
   ヘッダー下線をサイト全体から完全に消す
   =============================== */

/* Lightning が付ける全ての下線・影を OFF */
#global-nav,
#site-header,
#site-footer,
.site-header,
.site-header-container,
.site-footer,
.global-nav,
.global-nav-list,
.vk-menu-acc,
header,
.header,
.vk-header {
    border-bottom: none !important;
    box-shadow: none !important;
}
.site-footer {
    border-top: none;
}
/* メニュー項目 UL の線を消す */
#global-nav ul,
.global-nav-list ul {
    border: none !important;
    box-shadow: none !important;
}

/* sticky（追従ヘッダー）用の影も消す */
header.sticky,
.site-header.sticky {
    box-shadow: none !important;
    border-bottom: none !important;
}



.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h1::before,
.site-footer h2::before,
.site-footer h3::before,
.site-footer h4::before {
  border: none !important;
  box-shadow: none !important;
  content: none !important;
}
.site-body-bottom h2 {
 border: none;
}
/* 例: h1の見出し装飾を消す */
.entry-body h1 {
    border: none;
    /* 他の装飾（背景色、下線など）があればここに追加 */
}
/* 例: h2の見出し装飾を消す */
.entry-body h2 {
    border: none;
    /* 他の装飾（背景色、下線など）があればここに追加 */
}
/* 例: h3の見出し装飾を消す */
.entry-body h3 {
    border: none;
    /* 他の装飾（背景色、下線など）があればここに追加 */
    text-decoration: none;
    border-bottom: none; /* Lightningのテーマによっては、下線が border-bottom で設定されている場合があるため */
}
/* 例: h4の見出し装飾を消す */
.entry-body h4 {
    border: none;
    /* 他の装飾（背景色、下線など）があればここに追加 */
}
.footer-widget-area {
    border-top: none;
}
/* Contact Form 7 の各項目の上下余白を調整 */
.wpcf7-form p {
    margin-bottom: 5px; /* 下方向の余白を10pxに短縮（デフォルトは24px〜30px程度） */
}

/* 項目ラベルと入力欄の間の隙間も詰めたい場合 */
.wpcf7-form br {
    display: none;
}

/* ラベルテキストの上の余白をさらに微調整 */
.wpcf7-form-control-wrap {
    margin-top: 2px;
    display: block;
}

/* 1. 帯全体の最低高さを解除し、上下の余白をさらに削る */
.page-header {
    min-height: 0 !important; /* 強制的に高さをなくす */
    padding-top: 10px !important; 
    padding-bottom: 10px !important;
}

/* ===============================
    ページヘッダー（青い帯）の統合設定
   =============================== */
.page-header {
    background-color: #9acefc;
    min-height: 0 !important;
    padding-top: 0.5em !important;    /* 最後に書かれていた数値を優先 */
    padding-bottom: 0.5em !important;
}

.page-header-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0.3em !important;
    margin-bottom: 0.3em !important;
}

.page-header-title {
    color: #0510e6;
    font-size: 24px;   /* 小さめに調整されたサイズ */
    font-weight: 100;
    text-align: center;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.page-header .breadcrumb {
    margin-bottom: 5px !important;
    font-size: 0.8rem;
}/* ===============================
    ページヘッダー（青い帯）の統合設定
   =============================== */
.page-header {
    background-color: #9acefc;
    min-height: 0 !important;
    padding-top: 0.5em !important;    /* 最後に書かれていた数値を優先 */
    padding-bottom: 0.5em !important;
}

.page-header-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0.3em !important;
    margin-bottom: 0.3em !important;
}

.page-header-title {
    color: #0510e6;
    font-size: 24px;   /* 小さめに調整されたサイズ */
    font-weight: 100;
    text-align: center;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.page-header .breadcrumb {
    margin-bottom: 5px !important;
    font-size: 0.8rem;
}
.site-footer {
	border-top: none;
}

