/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/


/* サイト全体の標準フォントをNoto Serif JPにする */
body {
  font-family: "Noto Serif JP", serif;
}

/* フッター：コピーライト削除 */
.site-footer-copyright p:nth-child(2) {
    display:none;
}

/* フッターのHTMLサイトマップを1カラム表示 */
.footer-sitemap .sitemap-col:first-child {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

.footer-sitemap .sitemap-col:nth-child(2) {
    display: none;
}



/* トップページパーツ設定 */
/* サービス背景 共通設定 */
.service-section {
  position: relative;
  isolation: isolate;
}

/* グループ背景：通常の繰り返し表示 */
.service-pattern-bg {
  background-image: url("/wp-content/uploads/bg-pattern.jpg");
  background-repeat: repeat;
  background-size: 300px 300px;
}

/* グループ背景：画像をずらす共通設定 */
.service-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 3rem;
  bottom: 0;
  width: 70%;

  background-image: url("/wp-content/uploads/bg-pattern.jpg");
  background-repeat: repeat;
  background-size: 300px 300px;
}

/* 背景を右側に配置 */
.service-section--right::before {
  right: 0;
}

/* 背景を左側に配置 */
.service-section--left::before {
  left: 0;
}

/* スマホ表示：背景のずらしをなくす */
@media (max-width: 767px) {
  .service-section::before {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }
}

/* CTA：お問い合わせボタンの文字 */
.cta_contact_subcaption .vk_button_link_subCaption {
  font-size: 0.75rem !important;
  line-height: 1.5;
}

/* トップページ終わり */



/* 固定ページページヘッダーを非表示 */
.page-header { display:none; }

/* ページタイトルヘッダー */
.page-title-hero {
  position: relative;
  min-height: 400px;
  padding: 0 !important;
}

.page-title-hero .wp-block-cover__inner-container {
  position: static;
}

/* タイトルパネル */
.page-title-panel {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 650px;
  max-width: 45%;
  background: #fff;
  box-sizing: border-box;
  padding: 30px 40px;
  border-radius: 0 24px 0 0;
}

/* 横並びの余白調整 */
.page-title-panel .wp-block-columns {
  align-items: center;
  margin-bottom: 0;
}

/* スマホ */
@media (max-width: 767px) {
  .page-title-hero {
    min-height: 300px;
  }

  .page-title-panel {
    width: 90%;
    max-width: 90%;
    padding: 20px;
  }
}


/* アコーディオンスクロール */
.scroll-accordion .wp-block-accordion-panel {
    max-height: 240px;
    overflow-y: auto;
}

