/*
Theme Name: Lightning Child
Description: Lightningの子テーマ
Author: yuki
Template: lightning
Version: 1.0.0
*/





/* =========================================================
   ▼ レイアウト（全体幅）
========================================================= */

.site-body-container {
  max-width: 1000px;
  margin: 0 auto;
}

.alignfull .is-layout-constrained {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}


/* =========================================================
   ▼ タイポグラフィ（文字サイズ）
========================================================= */

body {
  font-size: 16px;
  line-height: 1.1;
}

h2 {
  font-size: clamp(26px, 2.2vw + 16px, 32px);
  line-height: 1.2;
}

h3 {
  font-size: clamp(20px, 1.6vw + 14px, 24px);
  line-height: 1.2;
}

.site-body,
.entry-content {
  font-size: 1em;
}

p,
span,
td,
li {
  font-size: 1.1em;
}

.custom-price-table,
.custom-price-table td {
  font-size: 1em;
}
/* 固定ページタイトル帯の文字色を#333333に変更 */
.page-header,
.page-header h1,
.page-header .page-header-title,
.page-header .page-header-title span {
	color: #333333;
}

/* =========================================================
   ▼ 見出しスタイルリセット（Lightning対策）
========================================================= */

/* Lightning標準の装飾を解除 */
.site-body .main-section h2,
.site-body .main-section h3,
.site-body .main-section h4,
.site-body .main-section .vk_heading,
.site-body .main-section .wp-block-heading {
  color: #00c800;
  background: none;
  border: none;
  padding: 0;
  margin-left: 0;
}

/* 疑似要素の装飾線を削除 */
.site-body .main-section h2::before,
.site-body .main-section h2::after,
.site-body .main-section h3::before,
.site-body .main-section h3::after,
.site-body .main-section h4::before,
.site-body .main-section h4::after,
.site-body .main-section .vk_heading::before,
.site-body .main-section .vk_heading::after {
  content: none;
  display: none;
}


/* =========================================================
   ▼ セクションタイトル
========================================================= */

.section-title {
  margin-bottom: 20px;
  line-height: 1.3;
  text-align: center;
}

.section-sub {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: #777;
  text-align: center;
}


/* =========================================================
   ▼ V字背景
========================================================= */

.v-shape {
  position: relative;
  background: #f2f2f2;
}

/* 下部をV字に切り抜き */
.v-shape::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background: #f2f2f2;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}


/* =========================================================
   ▼ ヘッダー
========================================================= */

/* スクロール時も含めてヘッダー背景を固定 */
.site-header,
header.site-header.header-scrolled,
header.site-header.is-sticky,
.header_scrolled .site-header,
.is-sticky .site-header {
  background-color: #fff100;
  transition: background-color 0.3s;
}


/* =========================================================
   ▼ TOP（ヒーロースライド）
========================================================= */

.ltg-slide .ltg-slide-text-title {
  font-weight: 200;
  color: #fff;
  line-height: 1.4;

  /* 画面幅に応じて文字サイズ可変 */
  font-size: clamp(18px, 2.5vw, 32px) !important;

  /* 白文字を見やすくする影 */
  text-shadow:
    0 0 8px rgba(0,0,0,1),
    0 0 20px rgba(0,0,0,0.8),
    0 0 45px rgba(0,0,0,0.6);
}


/* =========================================================
   ▼ CTA（追従予約ボタン）
========================================================= */

/* ボタン全体 */
.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;

  display: flex;
  flex-direction: row;
  gap: 10px;

  z-index: 9999;
}

/* 各ボタン */
.cta-btn {
  padding: 18px 22px;
  border-radius: 12px;

  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;

  /* アイコン＋文字を中央揃え */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;

  cursor: pointer;

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
  transition: all 0.25s ease;
}

/* ボタンカラー */
.cta-line {
  background: #06c755;
}

.cta-tel {
  background: #fff100;
  color: #333;
}

.cta-mail {
  background: #5a5a5a;
}

/* ホバー時に少し浮かせる */
.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   ▼ CTA スマホ表示
========================================================= */

@media (max-width: 768px) {

  /* 下部固定バー化 */
  .floating-cta {
    right: 0;
    bottom: 0;

    width: 100%;
    padding: 8px;
    gap: 8px;

    justify-content: space-between;

    /* 背景を半透明 */
    background: rgba(0, 0, 0, 0.6);
  }

  /* ボタンサイズ調整 */
  .cta-btn {
    flex: 1;

    padding: 14px 18px;
    border-radius: 10px;

    text-align: center;
    font-size: 16px;
  }

}


/* =========================================================
   ▼ aboutセクション
========================================================= */

/* 交互レイアウト */
.about-section .wp-block-columns:nth-of-type(even) {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {

  .about-section .wp-block-columns:not(:last-child) {
    margin-bottom: 40px;
  }

}


/* =========================================================
   ▼ MENUカード
========================================================= */

.menu-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* 4列カードレイアウト */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.menu-card {
  display: block;

  background: #fff;
  color: #333;
  text-decoration: none;

  border-radius: 10px;
  overflow: hidden;

  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

/* ホバー時に少し沈ませる */
.menu-card:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transform: translateY(2px);
}

.menu-img {
  aspect-ratio: 3 / 2.7;
  overflow: hidden;
}

.menu-img img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;
}

.menu-text {
  padding: 18px 10px;
  text-align: center;
  font-weight: 500;
}

/* オプションメニュー補足 */
.menu-note {
  display: block;
  margin-top: 4px;

  font-size: 13px;
  color: #777;
}


/* =========================================================
   ▼ MENUレスポンシブ
========================================================= */

@media (max-width: 1024px) {

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 600px) {

  .menu-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .menu-card {
    width: 100%;
    max-width: 320px;
  }

}


/* =========================================================
   ▼ 新着情報（ブログ）
========================================================= */

/* カテゴリーラベル */
.wp-block-post-terms {
  display: inline-block;

  padding: 4px 10px;
  border-radius: 6px;

  font-size: 14px;
  color: #333;
  background: #f2f2f2;
}

/* 横幅制限 */
.news {
  max-width: 700px;
  margin: 0 auto;
}

/* =========================================================
   ▼ お問い合わせページ
========================================================= */

/* フォーム幅制限 */
.page-id-902 .site-body-container.container {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 必須バッジ */
.badge-required {
  margin-left: 8px;

  color: #d9534f;
  font-size: 0.75rem;
  font-weight: bold;

  vertical-align: middle;
}


/*送信ボタン*/
.contact-form-container .wpcf7-submit {
  background: #005BBB;
  color: #ffffff;
  border: none;
  padding: 14px 20px;
  font-size: 18px;
  border-radius: 10px;
  cursor: pointer;

  /* ホバー時の動きを滑らかにする */
  transition: all 0.2s ease;

  /* ボタンを中央寄せ */
  display: block;
  margin: 0 auto;
}


/*ホバー時（マウスを乗せた時*/
.contact-form-container .wpcf7-submit:hover {
  background: #003B7A !important;
  color: #ffffff !important;

  /* 少し下に動かして押し込み感を出す */
  transform: translateY(3px);
}


/* =========================================================
   ▼ フッター
========================================================= */

/* コピーライト非表示 */
.site-footer .site-footer-copyright p {
  display: none;
}

/* Lightning標準線を削除 */
.footer-nav,
.site-footer {
  border: none;
}


/* =========================================================
   ▼ 投稿ページ
========================================================= */

/* 投稿ページのアイキャッチ下に余白 */
.post-featured-image {
  margin-bottom: 50px;
}

/* 投稿ページの本文下に余白 */
.entry-body {
  margin-bottom: 50px;
}

/* =========================================================
   ▼ Googleからのお客様の声
========================================================= */
/* Googleレビューウィジェットの幅調整 */
.ti-widget.ti-goog {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* =========================================================
   ▼ 地図
========================================================= */
/*グーグルマップ埋め込み、サイズ変更*/
.map-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  display: block;
  border: 0;
}