/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/
/*
 * キーカラーの設定
var(--vk-color-primary)
 * カスタムcolorの設定
var(--vk-color-custom-1)
*/
/*==============================================
  Contact Form 7
===============================================*/
/* Contact Form7スマホ・タブレット用カスタマイズ */
@media(max-width:850px){
  /* テーブルの見出しとフォーム */
  table.inquiry th,table.inquiry td {
     display:block;
     padding:1em 0!important;
     width:100%;
     border:0;
  }
  
  /* 送信ボタン */
  input.wpcf7-submit{
     margin-bottom:30px;
     width:100%;
  }
  }
  
  /* 日付タグ上のテキストをPCとスマホで変更 */
  @media(max-width:900px){
  .pcdate{
     display: none;
  }
  }
  @media(min-width:1000px){
  .spdate{
     display: none;
  }
  /* 日付タグの幅を調整 */
  .wpcf7-date.dateform{
     width: 25%;
  }
  }
  
  /* Contact Form7全体カスタマイズ */
  
  /* 自動入力されるPタグを無効にする */
  .inquiry p {
     display: inline;
  }
  
  /*テーブル下に余白.枠線・テキストの行間 */
  table.inquiry {
     margin-bottom: 30px;
     border:solid 1px #d7d7d7;
     line-height:1.2;
     vertical-align:middle;
  }
  
  /* テーブルの行 */
  .inquiry tr {
     border:0!important;
  }
  
  /* テーブルの見出し側 */
  .inquiry th{
     text-align:left;
     font-size:16px;
     color:#444;
     padding:1em 0.5em;
     width:0;
     background:#efefef;
     border:solid 1px #d7d7d7;
     white-space: nowrap;
  }
  
  /* 必須と任意タグ */
  .haveto,.any{
     font-size:13px;
     padding:5px;
     background:var(--vk-color-primary);
     color:#fff;
     border-radius:2px;
     margin-right:5px;
     font-weight:normal;
  }
  
  /* 任意タグの背景カラー */
  .any{
     background:var(--vk-color-custom-3);
	 color:#333;
	 font-weight:700; 
  }
  
  /* テーブルフォーム側 */
  .inquiry td{
     font-size:15px;
     border:solid 1px #d7d7d7;	
  }
  
  /* 入力エリア幅最大 */
  .wpcf7-form-control {
     width: 100%;
  }
  
  /* フォーム入力欄の余白・背景カラー・枠線消す指定 */
  .inquiry input,.inquiry select,.inquiry textarea {
     margin: 5px 0;
     background:#eff1f5;
     border: none;
     padding:0.7em;
  }
  .inquiry textarea {
     padding-bottom:10em;
  }
  
  /* チェックボックスとラジオボタンの位置調整 */
  .wpcf7-list-item-label,.wpcf7-checkbox,input[type=checkbox],input[type=radio]{
     vertical-align:middle;
  }
  .wpcf7-list-item-label{
     padding:0 5px 0 2px;
  }
  /*ラジオボタンを縦並び指定*/
  .verticallist{
     display:inline-grid;
  }
  
  /* 送信ボタンのデザイン */
  .wpcf7-submit{
     display: block;
     margin:10px auto;
     padding:1em 0;
     width:80%;
     background:#09b555;
     color:#fff;
     font-size:18px;
     font-weight:bold;	 
     border-radius:4px;
     border: none;
  }
  
  /* 送信ボタンマウスホバー時 */
  .wpcf7-submit:hover{
     opacity: 0.9;
     transition: 0.3s;
  }
  
  /* フォーム上部に表示されるエラーメッセージを非表示 */
  .screen-reader-response {
      display: none;
  }
  
  /* フォーム内エラーメッセージを赤色に指定 */
  .wpcf7-not-valid-tip {
      color: #e92323;
  }
  /*==============================================
    gnav アイコン　Font Awesome
  ===============================================*/
/* /* global-nav-nameの前にアイコンを配置 */
/* .global-nav-list > li > a {
/*     display: flex;
/*     flex-direction: column;
/*     align-items: center;
/*     padding: 10px;
/*     text-decoration: none;
/* }
/*
/* .global-nav-list > li > a .global-nav-name {
/*     display: flex;
/*     flex-direction: column;
/*     align-items: center;
/*     gap: 8px;
/*     font-weight: normal;
/* }
/*
/* .global-nav-list > li > a .global-nav-name:before {
/*     font-family: "Font Awesome 6 Free";
/*     font-weight: 900;
/*     font-size: 24px;
/*     display: block;
/*     margin-bottom: 5px;
/*     color: #666;
/* }
/*
/* /* 各メニューごとのアイコン設定 */
/* /* トップページ */
/* .global-nav-list > li:nth-child(1) > a .global-nav-name:before {
/*     content: "\f015"; /* house */
/* }
/*
/* /* よつばについて */
/* .global-nav-list > li:nth-child(2) > a .global-nav-name:before {
/*     content: "\f185"; /* sun */
/* }
/*
/* /* よつばの生活 */
/* .global-nav-list > li:nth-child(3) > a .global-nav-name:before {
/*     content: "\f004"; /* heart */
/* }
/*
/* /* 入園について */
/* .global-nav-list > li:nth-child(4) > a .global-nav-name:before {
/*     content: "\f19d"; /* graduation-cap */
/* }
/*
/* /* 毎日のよつばっ子 */
/* .global-nav-list > li:nth-child(5) > a .global-nav-name:before {
/*     content: "\f1ae"; /* child */
/* }
/*
/* /* お問い合わせ */
/* .global-nav-list > li:nth-child(6) > a .global-nav-name:before {
/*     content: "\f0e0"; /* envelope */
/* }
/*
/* /* ホバー時のエフェクト */
/* .global-nav-list > li > a:hover .global-nav-name:before {
/*     color: #0a965b;
/* }
/*
/* /* パソコン版：メニュー設定に直接入力された <i> 要素を非表示にする */
/* .global-nav-list .global-nav-name i {
/*   display: none;
/* }
/*
/* /* スマホ版：.vk-mobile-nav-menu-outer 内の <i> 要素は表示する */
/* @media (max-width: 767px) {
/*   .vk-mobile-nav-menu-outer .vk-menu-acc > li > a i {
/*     display: inline-block;
/*     font-size: 24px;
/*     margin-bottom: 5px;
/*     color: #666;
/*   }
/* }

/*==============================================
    gnav アイコン　Font Awesome + オリジナルアイコン
  ===============================================*/
  /* メニュー全体の基本スタイル */
  .global-nav-list > li > a {
      display: grid;
      grid-template-rows: 40px auto;
      grid-gap: 15px;
      justify-items: center;
      align-items: start;
      padding: 10px;
      text-decoration: none;
      height: 80px;
  }
  
  .global-nav-list > li > a .global-nav-name {
      grid-row: 2;
      text-align: center;
      line-height: 1.2;
      font-weight: normal;
  }
  
  /* すべてのアイコン共通の基本コンテナ */
  .global-nav-list > li > a:before {
      content: "";
      grid-row: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 24px;
      height: 24px;
      transition: transform 0.3s ease;
  }
  
  /* Font Awesomeアイコン用スタイル（最初の6つのメニュー） */
  .global-nav-list > li:not(:nth-child(7)) > a:before {
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      font-size: 24px;
      color: #4087e5;
  }
  
  /* インスタグラム用スタイル（7番目のメニュー） */
  .global-nav-list > li:nth-child(7) > a:before {
      background-image: url('../../uploads/2025/03/Instagram_Glyph_Gradient_W140H140.png');
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
  }
  
  /* ホバー時のアイコン移動エフェクト（全メニュー共通） */
  .global-nav-list > li > a:hover:before {
      transform: translateY(-5px);
  }
  
  /* 各メニューごとのFont Awesomeアイコン設定 */
  /* トップページ - 家 */
  .global-nav-list > li:nth-child(1) > a:before {
      content: "\f015"; /* house */
  }
  
  /* わかばについて - 若葉/植物 */
  .global-nav-list > li:nth-child(2) > a:before {
      content: "\f06c"; /* leaf */
  }
  
  /* 入会について - 申込書/登録 */
  .global-nav-list > li:nth-child(3) > a:before {
      content: "\f044"; /* pen-to-square */
  }
  
  /* ブログ - ノート/日記 */
  .global-nav-list > li:nth-child(4) > a:before {
      content: "\f15c"; /* note */
  }
  
  /* アクセス - 地図/ピン */
  .global-nav-list > li:nth-child(5) > a:before {
      content: "\f3c5"; /* map-marker-alt */
  }
  
  /* お問い合わせ - 封筒/メール */
  .global-nav-list > li:nth-child(6) > a:before {
      content: "\f0e0"; /* envelope */
  }
  
  /* ホバー時の全体的なエフェクト */
  .global-nav-list > li > a:hover {
      opacity: 0.9;
  }
  
  /* パソコン版：メニュー設定に直接入力された <i> 要素を非表示にする */
  .global-nav-list .global-nav-name i {
      display: none;
  }
  
  /* global-nav-nameの:beforeを無効化（アイコンは親要素の:beforeに移動したため） */
  .global-nav-list > li > a .global-nav-name:before {
      display: none;
  }
  
  /* スマホ表示用の設定 */
  @media (max-width: 767px) {
    .vk-mobile-nav-menu-outer .vk-menu-acc > li > a {
      display: flex;
      align-items: center;
      padding: 10px 15px;
      position: relative;
    }
    
    /* Font Awesome用（最初の6つのメニュー） */
.vk-mobile-nav-menu-outer .vk-menu-acc > li:not(:nth-child(7)) > a:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  color: #666;
  transition: transform 0.3s ease;
}
    
    /* インスタグラム用（7番目のメニュー） */
    .vk-mobile-nav-menu-outer .vk-menu-acc > li:nth-child(7) > a:before {
      content: "";
      display: inline-block;
      width: 24px;
      height: 24px;
      background-image: url('../../uploads/2025/03/Instagram_Glyph_Gradient_W140H140.png');
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      margin-right: 10px;
      transition: transform 0.3s ease;
    }
    
    /* 各メニューごとのモバイル用Font Awesomeアイコン設定 */
    .vk-mobile-nav-menu-outer .vk-menu-acc > li:nth-child(1) > a:before {
      content: "\f015"; /* house */
    }
    
    .vk-mobile-nav-menu-outer .vk-menu-acc > li:nth-child(2) > a:before {
      content: "\f06c"; /* leaf */
    }
    
    .vk-mobile-nav-menu-outer .vk-menu-acc > li:nth-child(3) > a:before {
      content: "\f044"; /* pen-to-square */
    }
    
    .vk-mobile-nav-menu-outer .vk-menu-acc > li:nth-child(4) > a:before {
      content: "\f15c"; /* note */
    }
    
    .vk-mobile-nav-menu-outer .vk-menu-acc > li:nth-child(5) > a:before {
      content: "\f3c5"; /* map-marker-alt */
    }
    
    .vk-mobile-nav-menu-outer .vk-menu-acc > li:nth-child(6) > a:before {
      content: "\f0e0"; /* envelope */
    }
    
    /* スマホ表示でもホバー効果（タップ時） */
    .vk-mobile-nav-menu-outer .vk-menu-acc > li > a:active:before {
      transform: translateY(-3px);
    }
    
    /* Font Awesome のアイコンを非表示 */
    .vk-mobile-nav-menu-outer .vk-menu-acc > li > a i {
      display: none;
    }
  }
/*==============================================
    施設概要テーブル
  ===============================================*/
/* 学童クラブわかば 情報テーブルのスタイリング */
.wakaba-info-table table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

body figure.wp-block-table.wakaba-info-table table,
html body figure.wp-block-table.wakaba-info-table table {
    table-layout: auto; /* テキストの幅に応じたレイアウト */
}

/* セルの共通スタイル */
.wakaba-info-table table td {
    padding: 15px;
    border: 1px solid #eef7ff;
}

/* 左側のセル（項目名）のスタイル */
.wakaba-info-table table td:first-child {
    width: auto; /* テキスト幅に調整 */
    white-space: nowrap; /* テキストを折り返さない */
    background-color: var(--vk-color-custom-4); /* サブカラー1（水色） */
    color: #333;
    font-weight: bold;
    text-align: left; /* 左揃えに変更 */
    padding-left: 20px; /* 左側の余白を追加 */
    vertical-align: middle; /* 上下中央揃え */
}

/* 右側のセル（内容）のスタイル */
.wakaba-info-table table td:last-child {
    background-color: #fff;
    vertical-align: middle; /* 上下中央揃え */
}

/* リンクの色設定 */
.wakaba-info-table table td a {
    color: #4087e5; /* キーカラー */
    text-decoration: none;
}

.wakaba-info-table table td a:hover {
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .wakaba-info-table table {
        width: 100%;
    }

    .wakaba-info-table table td:first-child {
        width: 30%; /* モバイルでは少し幅を与える */
    }
}

  /******************************************/
  /* わかばのインスタ専用 ボタンスタイル   */
  /******************************************/
  
  /* ボタン基本スタイル */
  .wakaba-insta-btn,
  a.wakaba-insta-btn,
  button.wakaba-insta-btn {
    font-size: 1.6rem;          /* 基準となる文字サイズ */
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;         /* ボタン本体の余白 */
    cursor: pointer;
    user-select: none;
    transition: all 0.3s;       /* ホバー時のアニメーション */
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #fff!important;
    border-radius: 0.5rem;
    white-space: nowrap;        /* テキストを折り返さない */
  }
  
  /* 枠線（ボーダー・シャドウ）用スタイル */
  .wakaba-insta-btn-border-shadow {
    /* デフォルトの枠線ずらしを実現するため、下記のようにpaddingを再設定 */
    padding: calc(1.5rem - 12px) 3rem 1.5rem;
    background: #fff; /* 背景は白（下地） */
  }
  
  /* 疑似要素で枠線を描画 */
  .wakaba-insta-btn-border-shadow:before {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 100%;
    height: 100%;
    content: "";
    transition: all 0.3s ease;
    border: 3px solid var(--vk-color-custom-1);
    border-radius: 0.5rem!important;
  }
  
  
  /* ホバー時：paddingを少し減らし、枠線位置を動かす */
  .wakaba-insta-btn-border-shadow:hover {
    padding: calc(1.5rem - 6px) 3rem;
  }
  
  .wakaba-insta-btn-border-shadow:hover:before {
    top: 0;
    left: 0;
  }
  
  /* ボタンの色を指定 */
  .wakaba-insta-btn-border-shadow--color {
    border-radius: 0;    /* デザイン上、角丸をなくす */
    background: var(--vk-color-custom-1); /* 背景色を指定 */
  }
  
  /* 枠線の角丸も合わせて0に */
  .wakaba-insta-btn-border-shadow--color:before {
    border-radius: 0;
  }
  /******************************************/
  /* メインコンテンツとフッターの隙間を0に変更   */
  /******************************************/
/*
body .site-body,
html body .site-body {
  padding-bottom: 0;
}
*/
  /******************************************/
  /* 入会についてページのテーブルCSS   */
  /******************************************/

/* bring-list クラスを持つテーブルのスタイル */
.bring-list {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.bring-list table {
  width: 100%;
  table-layout: fixed; /* テーブルレイアウトを固定 */
  border-collapse: collapse;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  margin: 1.5em 0;
}

/* テーブルのセル共通スタイル */
.bring-list table td {
  padding: 15px 20px;
  vertical-align: middle;
  border: 1px solid #e5e5e5;
}

/* 左列のセルスタイル */
.bring-list table td:first-child {
  background-color: var(--vk-color-custom-4);
  color: #333;
  width: 25%; /* 左列の幅を調整 */
  text-align: left;
}

/* 右列のセルスタイル */
.bring-list table td:last-child {
  background-color: white;
  text-align: left;
  width: 75%; /* 右列の幅を明示的に指定 */
}

/* 行の境界をはっきりさせる */
.bring-list table tr {
  border-bottom: 1px solid #e5e5e5;
}

/* 最後の行の下線を少し太く */
.bring-list table tr:last-child {
  border-bottom: 2px solid #e5e5e5;
}

/* テーブル間のマージンを追加 */
.bring-list + .bring-list {
  margin-top: 20px;
}

/* レスポンシブ対応 - モバイル表示時 */
@media (max-width: 768px) {
  /* モバイル表示時のセルスタイル */
  .bring-list.table-cell-vertical-mobile table td {
    display: block;
    width: 100% !important; /* !importantで確実に上書き */
    box-sizing: border-box;
  }
  
  /* 特に左列のスタイルを強制上書き */
  .bring-list.table-cell-vertical-mobile table td:first-child {
    width: 100% !important; /* !importantで確実に上書き */
    border-bottom: none;
    padding-bottom: 8px;
  }
  
  /* テーブル構造をブロック表示に変更 */
  .bring-list.table-cell-vertical-mobile table,
  .bring-list.table-cell-vertical-mobile table tbody,
  .bring-list.table-cell-vertical-mobile table tr {
    display: block;
    width: 100%;
  }
  
  /* 行間のマージンを追加 */
  .bring-list.table-cell-vertical-mobile table tr {
    margin-bottom: 10px;
  }
}

/******************************************/
/* 利用料についてページのテーブルCSS   */
/******************************************/

/* 料金ページのテーブル背景 */
.bring-list.wakaba-pricing td:first-child {
  background-color: var(--vk-color-custom-3);
}

/* 左列のセルスタイル */
.bring-list.wakaba-pricing table td:first-child {
  text-align: center;
}

/* 右列のセルスタイル */
.bring-list.wakaba-pricing table td:last-child {
  text-align: center;
}

footer .sectionBox {
display:none !important;
}

footer .copySection {
display:block !important;
border-top:none !important;
}
/******************************************/
/* リスト装飾（✔）　　　　　　　　　 */
/******************************************/
/* ✔を表示させたい特定のulにだけ適用 */
ul.check-list > li {
  list-style: none;
  position: relative;
  padding-left: 1.8em;
}
ul.check-list > li::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 0.5em;          /* ← 横線を少し長く */
  height: 1em;           /* ← 縦の棒を少し長く */
  border-right: 3px solid var(--wp--preset--color--vk-color-primary-dark);;  /* ← 線を太く（太くするほど見やすい） */
  border-bottom: 3px solid var(--wp--preset--color--vk-color-primary-dark);;
  transform: rotate(45deg);
}
  /*==============================================
    フッターのリスト装飾
  ===============================================*/
/* コンテンツとサポートメニューのリンクスタイル */
#nav_menu-2 .menu li a,
#nav_menu-4 .menu li a {
    position: relative;
    text-decoration: none;
    transition: color 0.1s; /* 色変化は瞬時 */
}

/* 通常時のマーカー（- ） */
#nav_menu-2 .menu li a::before,
#nav_menu-4 .menu li a::before {
    content: "- ";
    transition: all 0.1s ease; /* 図形変化は徐々に */
    color: inherit;
}

/* ホバー時のマーカー（● ） */
#nav_menu-2 .menu li a:hover::before,
#nav_menu-4 .menu li a:hover::before {
    content: "● ";
}

/* ホバー時のテキスト色変更（瞬時に変化） */
#nav_menu-2 .menu li a:hover,
#nav_menu-4 .menu li a:hover {
    color: var(--vk-color-primary);
}
  /*==============================================
    /about/schedule/
    H2　イベント
  ===============================================*/
.vk_outer_container .wp-block-heading.has-text-align-center.is-style-vk-heading-plain.wakaba-schedule-event {
    background-image: url('../../uploads/2025/07/about-schedule_h2.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    box-sizing: border-box;
}
/* モバイル時のみ有効　*/
@media (max-width: 575.98px) {
.vk_outer_container .wp-block-heading.has-text-align-center.is-style-vk-heading-plain.wakaba-schedule-event {
    background-image: url('../../uploads/2025/07/about-schedule_h2-sp.png');
}
}


  /*==============================================
    /about/
    H2  "安心できる毎日と心に残る体験を"
    /*background-size: contain; 画像全体を表示、余白あり
  ===============================================*/
/* 正しいセレクタ（背景色クラスを除外） */
.vk_outer_container .wp-block-columns .wp-block-column.is-vertically-aligned-stretch.wakaba-about-exh2 {
/* background-image: url('/wp-content/uploads/2025/06/TOP-img-tree-test03_1920-1080.png'); */
    background-image: url('../../uploads/2025/07/about-h2-bg.png');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* H2のスタイル */
.vk_outer_container .wp-block-columns .wp-block-column.wakaba-about-exh2 .wp-block-heading {
    font-size: clamp(1.25rem, 0.886rem + 1.82vw, 2.25rem);
    text-align: center;
    margin: 0;
}

  /*==============================================
   スマホメニュー背景
  ===============================================*/
/* 背景画像を完全固定（スクロールで動かず、引き延ばされない） */
#vk-mobile-nav.vk-mobile-nav-open {
    background-image: url('../../uploads/2025/07/spmenu-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* 背景画像の上にメニューが見やすくなるよう、軽いオーバーレイを追加 */
#vk-mobile-nav.vk-mobile-nav-open::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 1;
}

/* メニュー項目が背景画像の上でも見やすくなるよう調整 */
#vk-mobile-nav.vk-mobile-nav-open .vk-mobile-nav-menu-outer,
#vk-mobile-nav.vk-mobile-nav-open .vk-mobile-nav-widget {
    position: relative;
    z-index: 2;
}

/* テキストの読みやすさを向上させる */
#vk-mobile-nav.vk-mobile-nav-open .menu-item a {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}