/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/

table.has-border-color,
table.has-border-color td {
    border-width: 1px !important;
    border-style: solid;
    border-color: #ccc;
}

/* キーカラーの下線付き見出し用カスタムスタイル */
.is-style-vk-heading-solid_bottomborder-primary {
  border-bottom: 3px solid #C4006C; /* ← キーカラーに調整 */
  padding-bottom: 0.3em;
  display: inline-block; /* 下線をテキスト幅に限定したいときに有効 */
}

/* フッター内 2つめの <p> を非表示 */
.site-footer-copyright p:nth-of-type(2) {
  display: none;
}

/* 見出し：しっぽり明朝 */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Shippori Mincho B1', serif;
}

/* 本文：さわらび明朝 */
body, p, li {
  font-family: 'Sawarabi Mincho', serif;
}

.lp-header-tagline {
  margin: 15px 0 0;
  font-size: 18px;
  color: #555;
  font-family: 'Shippori Mincho B1', serif;
  white-space: nowrap;    /* 改行を禁止 */
  display: inline-block;  /* インラインブロック化して幅で折り返しさせない */
}

/* 親要素を flexbox にして並びを制御 */
.vk_button_link {
  display: flex;
  flex-direction: column;      /* 上下に積む */
}

/* サブキャプションを先に出す */
.vk_button_link_subCaption {
  order: 1;
  margin-bottom: .5em;         /* メインキャプションとの間隔 */
}

/* メインキャプションを後ろへ */
.vk_button_link_caption {
  order: 2;
}

/* ヘッダー全体の背景色 */
#site-header {
  background-color: #C4006C;
}

/* ロゴテキストとサブコピーを白に */
.site-header-logo a,
.site-header-logo a span,
.lp-header-tagline {
  color: #fff;
}

/* フッター全体の背景色 */
.site-footer {
  background-color: #C4006C;
  color: #fff;
}

/* フッター内リンクの色 */
.site-footer a {
  color: #fff;
  text-decoration: underline;
}

/* 中央配置されているテキストにも強制 */
.site-footer .has-text-align-center,
.site-footer p {
  color: #fff;
}

@media screen and (max-width: 767px) {
  .lp-header-tagline {
    text-align: center;     /* テキストを中央揃えに */
    display: block;         /* blockにして中央揃えが効くように */
    margin: 15px auto 0;    /* 上15px、左右autoで中央に配置 */
    white-space: normal;    /* 改行を許可 */
    font-size: 13px;        /* スマホにちょうどいいサイズに調整 */
    line-height: 1.6;       /* 行間もゆったりめに */
  }
}

/* PC時：テキストブロック全体の余白調整 */
.ltg-slide-text-set.mini-content .mini-content-container-1 {
  padding: 30px 40px;      /* 上下 30px／左右 40px */
  max-width: 60%;          /* テキスト幅の上限 */
  margin-top: 10%;         /* 上からの余白（縦位置） */
}

/* スライド内見出しとキャプションのマージン調整 */
.ltg-slide-text-title {
  margin-bottom: 0.5em;    /* 見出し下のスペース */
}
.ltg-slide-text-caption {
  margin-bottom: 1.2em;    /* キャプション下のスペース */
}

/* ボタン周り余白 */
.mini-content-container-1 .btn {
  margin-top: 0.8em;
}

/* スマホ時 */
@media (max-width: 767px) {
  .ltg-slide-text-set.mini-content .mini-content-container-1 {
    padding: 20px;         /* 全方向20px */
    max-width: 90%;
    margin-top: 0%;       /* 縦位置を微調整 */
    transform: translateY(-10%);  
  }
  .ltg-slide-text-title {
    font-size: 1.5rem;
    margin-top: 0; 
  }
  .ltg-slide-text-caption {
    font-size: 1rem;
  }
}

/* — 実績セクション全体 — */
.trust-section {
  background: #f5f5f5;
  padding: 40px 20px;
  margin-bottom: 40px;
}

/* Columnsブロックのフレックス設定 */
.trust-section .wp-block-columns.is-layout-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

/* 各カラムのカード風デザイン */
.trust-section .wp-block-column {
  flex: 1 1 calc(25% - 24px);
  max-width: calc(25% - 24px);
  background: #ffffff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
}

/* カード内見出し（h5）のスタイル */
.trust-section .wp-block-column .wp-block-heading.is-style-vk-heading-plain {
  font-size: 1.1rem;
  color: #1c1c2e;
  margin-bottom: 0.8em;
}

/* カード内テキスト（p）のスタイル */
.trust-section .wp-block-column p {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* レスポンシブ：スマホ時は縦並び */
@media (max-width: 767px) {
  .trust-section {
    padding: 30px 10px;
  }
  .trust-section .wp-block-columns.is-layout-flex {
    flex-direction: column;
    gap: 16px;
  }
  .trust-section .wp-block-column {
    flex: 1 1 100%;
    max-width: 100%;
  }
}


