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

/* ==========================================================
   ミンスタ熊谷駅前店 … LP風デザイン（タイミー風）  2026-10-08
   ここから下を、子テーマ lightning-child-sample の style.css の一番下に貼る。
   ・効くのは body に class="look-timee" が付いた時だけ（functions.php 側のゲートで付く）。
     ゲートが閉じている間は、この CSS は何もしない。
   ・Lightning G3（origin3）の既定より強く効かせるため、先頭を html body.look-timee にしている。
   ・VK ブロックの見出しスタイル（is-style-vk-heading-*）を選んで作った見出しは形を変えない。
     書体と色だけ合わせる。LINE のボタン画像・リンク・文言はどこも触らない。
   ・見た目の正：projects/100サイト_継続/モック/mock_LP_防災.html（タイミー風）と
     静的サイトの tools/static-site/lp_themes.css（.look-timee）。
   ========================================================== */

/* ---------- 色と書体（このブロックだけ変えれば色味が変わる） ---------- */
html body.look-timee{
  --lk-yellow:#ffd400;      /* 黄 */
  --lk-yellow2:#ffe45c;     /* 斜線の明るい方 */
  --lk-yellow-soft:#fff6c7; /* ページの地 */
  --lk-ink:#111;            /* 黒（枠線・見出し帯） */
  --lk-text:#1a1a1a;
  --lk-muted:#555;
  --lk-line-green:#06c755;  /* LINE の緑（LINE予約ボタン） */
  --lk-line-dark:#04983f;
  --lk-stripe:repeating-linear-gradient(135deg,var(--lk-yellow) 0 16px,var(--lk-yellow2) 16px 32px);
  --lk-font:"Zen Maru Gothic","Noto Sans JP","Hiragino Maru Gothic ProN",sans-serif;
}

/* ---------- ページ全体 ---------- */
html body.look-timee{background:var(--lk-yellow-soft);color:var(--lk-text);font-family:var(--lk-font)}
html body.look-timee h1,
html body.look-timee h2,
html body.look-timee h3,
html body.look-timee h4{font-family:var(--lk-font);font-weight:900}

/* ---------- ヘッダー（.site-header / .site-header-logo / .global-nav-list） ---------- */
html body.look-timee .site-header{background:#fff;border-bottom:0;box-shadow:0 2px 8px rgba(0,0,0,.08)}
html body.look-timee .global-nav-list>li>a{color:var(--lk-ink)}
html body.look-timee .global-nav-name{font-weight:900;letter-spacing:.02em}
html body.look-timee .global-nav-list>li:before{border-bottom:4px solid var(--lk-yellow)}
html body.look-timee .global-nav-list>li.menu-item-has-children::after{border-bottom-color:var(--lk-ink)}
html body.look-timee .global-nav-list ul.sub-menu{background:var(--lk-ink)}
html body.look-timee .global-nav-list ul li a{color:#fff}
html body.look-timee .global-nav-list ul li a:hover{background:var(--lk-yellow);color:var(--lk-ink)}

/* スマホの MENU ボタンと、開いた時のメニュー（.vk-mobile-nav-menu-btn / .vk-mobile-nav） */
html body.look-timee .vk-mobile-nav-menu-btn{background-color:var(--lk-yellow);border:2px solid var(--lk-ink);border-radius:8px}
html body.look-timee .vk-mobile-nav{background:#fff;border-top:4px solid var(--lk-yellow)}
html body.look-timee .vk-mobile-nav nav ul li a{color:var(--lk-ink);font-weight:700}

/* ---------- トップの写真スライダー（.ltg-slide。写真と文言はそのまま、文字とボタンの形だけ） ---------- */
html body.look-timee .ltg-slide-text-title{font-family:var(--lk-font);font-weight:900;letter-spacing:.02em}
html body.look-timee .ltg-slide-text-caption{font-family:var(--lk-font);font-weight:700}
html body.look-timee .ltg-slide .btn-ghost{padding:.55em 2em;background:var(--lk-yellow);color:var(--lk-ink);border:2px solid var(--lk-ink);border-radius:999px;font-weight:900;box-shadow:0 4px 0 var(--lk-ink);text-shadow:none;letter-spacing:.04em}
html body.look-timee .ltg-slide .btn-ghost:hover{background:#fff;color:var(--lk-ink);border-color:var(--lk-ink);transform:translateY(2px);box-shadow:0 2px 0 var(--lk-ink)}
html body.look-timee .ltg-slide .swiper-pagination-bullet-active{background:var(--lk-yellow)}

/* ---------- 下層ページの見出し帯（.page-header / .page-header-title）とパンくず ---------- */
html body.look-timee .page-header{background:var(--lk-stripe);color:var(--lk-ink)}
html body.look-timee .page-header-title{display:inline-block;padding:.35em .9em;background:#fff;color:var(--lk-ink);border:2.5px solid var(--lk-ink);border-radius:10px;font-family:var(--lk-font);font-weight:900;font-size:clamp(20px,3vw,30px);box-shadow:0 5px 0 var(--lk-ink)}
html body.look-timee .breadcrumb{background:#fff;border-top:0;border-bottom:2px solid var(--lk-ink)}
html body.look-timee .breadcrumb a{color:var(--lk-ink);font-weight:700}

/* ---------- 本文の枠（.site-body / .main-section / .sub-section）。トップ（.home）は全幅のカバーが並ぶので枠を付けない ---------- */
html body.look-timee:not(.home) .main-section{padding:28px 32px 36px;background:#fff;border:2.5px solid var(--lk-ink);border-radius:24px}
html body.look-timee:not(.home) .sub-section .widget{padding:18px;background:#fff;border:2.5px solid var(--lk-ink);border-radius:16px}
html body.look-timee.home .site-body{background:#fff}

/* ---------- 本文の見出し（VK の見出しスタイルを選んでいない h2・h3 だけ） ---------- */
html body.look-timee .entry-body h2:not([class*="is-style-"]):not(.has-background){margin-top:2.2em;padding:12px 24px;background:var(--lk-ink);color:#fff;border:0;border-radius:999px;font-size:clamp(19px,2.6vw,24px);line-height:1.45}
html body.look-timee .entry-body h3:not([class*="is-style-"]):not(.has-background){display:table;margin-top:1.8em;padding:0 .15em;border:0;background:linear-gradient(transparent 60%,var(--lk-yellow) 60%);font-size:clamp(17px,2.2vw,20px);line-height:1.5}
html body.look-timee .entry-body h3:not([class*="is-style-"]):not(.has-background)::after{content:none}
html body.look-timee .entry-title{font-weight:900;line-height:1.45}

/* VK の見出しスタイル付きの物は、書体と色だけ（例：料金の「平日」「土日祝」の灰色帯を黄色に） */
html body.look-timee .entry-body .is-style-vk-heading-background_fill_lightgray{background:var(--lk-yellow);color:var(--lk-ink);border-radius:10px}

/* 表（料金表など） */
html body.look-timee .entry-body table{border:2.5px solid var(--lk-ink);border-radius:12px;border-collapse:separate;border-spacing:0;overflow:hidden}
html body.look-timee .entry-body table th{background:var(--lk-yellow);color:var(--lk-ink);font-weight:900}
html body.look-timee .entry-body table th,
html body.look-timee .entry-body table td{border-color:var(--lk-ink)}

/* ---------- トップのカバー（.wp-block-cover）とカード（白い .wp-block-column） ---------- */
/* 1つ目のカバー（金色の帯＋LINEバナー）は、黄色いヒーロー帯のすぐ下に来るので黒に。中の文言・LINEバナーはそのまま */
html body.look-timee.home .entry-body>.wp-block-cover:first-child .wp-block-cover__background.has-vk-color-primary-background-color{background-color:var(--lk-ink)!important}
html body.look-timee .entry-body .wp-block-column.has-white-background-color{border:2.5px solid var(--lk-ink);border-radius:16px;box-shadow:0 6px 0 rgba(0,0,0,.08);overflow:hidden}

/* 「ミンスタ紹介記事」（.wp-block-latest-posts）と「記事カテゴリー」（.wp-block-categories） */
html body.look-timee .entry-body .wp-block-latest-posts__list{display:grid;gap:10px}
html body.look-timee .entry-body .wp-block-latest-posts__list li{padding:12px 18px;background:#fff;border:2px solid var(--lk-ink);border-radius:14px}
html body.look-timee .entry-body .wp-block-latest-posts__list li>a{color:var(--lk-ink);font-weight:900}
html body.look-timee .entry-body .wp-block-categories-list{display:flex;flex-wrap:wrap;gap:8px;padding-left:0;list-style:none}
html body.look-timee .entry-body .wp-block-categories-list li{margin:0}
html body.look-timee .entry-body .wp-block-categories-list li a{display:inline-block;padding:4px 14px;background:var(--lk-yellow);color:var(--lk-ink);border:2px solid var(--lk-ink);border-radius:999px;font-size:14px;font-weight:900;text-decoration:none}

/* ---------- ボタン（VK ボタン .vk_button_link／一覧の「続きを読む」.btn-primary） ---------- */
html body.look-timee .vk_button_link.has-vk-color-primary-background-color,
html body.look-timee .btn-primary{background:var(--lk-ink)!important;color:#fff!important;border:2px solid var(--lk-ink);border-radius:999px;font-weight:900;box-shadow:0 4px 0 rgba(0,0,0,.25)}
html body.look-timee .vk_button_link.has-vk-color-primary-background-color:hover,
html body.look-timee .btn-primary:hover{background:var(--lk-yellow)!important;color:var(--lk-ink)!important}

/* ---------- 投稿一覧のカード（カテゴリー一覧 .post-list の .vk_post.media、記事下の前後 .next-prev、サイドの .vk_posts） ---------- */
html body.look-timee .post-list .vk_post.media{margin:0 0 16px;padding:14px;background:#fff;border:2.5px solid var(--lk-ink);border-radius:16px}
html body.look-timee .post-list .vk_post.media:hover{transform:translateY(-2px)}
html body.look-timee .vk_post .media-img{border:2px solid var(--lk-ink);border-radius:10px;padding:0}
html body.look-timee .vk_post .vk_post_title,
html body.look-timee .vk_post .vk_post_title a{color:var(--lk-ink);font-weight:900}
html body.look-timee .vk_post_imgOuter_singleTermLabel{background:var(--lk-yellow)!important;color:var(--lk-ink)!important;border:2px solid var(--lk-ink);border-radius:999px;font-weight:900}
html body.look-timee .next-prev .vk_post.card{border:2.5px solid var(--lk-ink);border-radius:16px;overflow:hidden}
html body.look-timee .sub-section-title{padding:6px 16px;background:var(--lk-ink);color:#fff;border:0;border-radius:999px;font-size:16px}
html body.look-timee .sub-section-title::after{content:none}
html body.look-timee .pagination .page-numbers{border:2px solid var(--lk-ink);border-radius:999px;color:var(--lk-ink);font-weight:900}
html body.look-timee .pagination .page-numbers.current{background:var(--lk-ink);color:var(--lk-yellow)}

/* ---------- フッター（.site-footer / .site-footer-title / .site-footer-copyright）とページ上へ ---------- */
html body.look-timee .site-footer{background:var(--lk-ink);color:#bbb;border-top:6px solid var(--lk-yellow)}
html body.look-timee .site-footer a{color:#fff}
html body.look-timee .site-footer-title{color:var(--lk-yellow);border-bottom-color:#444}
html body.look-timee .site-footer-title::after{border-bottom-color:var(--lk-yellow)}
html body.look-timee .site-footer-copyright p{color:#bbb}
html body.look-timee .page_top_btn{background:var(--lk-yellow);border:2px solid var(--lk-ink);border-radius:50%;box-shadow:0 4px 0 var(--lk-ink)}

/* ==========================================================
   トップのヒーロー帯（functions.php が、写真スライダーの直下に出す .lk-* の部品）
   ========================================================== */
body.look-timee .lk-wrap{width:min(1140px,calc(100% - 32px));margin-inline:auto}
body.look-timee .lk-hero{position:relative;overflow:hidden;padding:48px 0 60px;background:var(--lk-stripe);border-radius:0 0 50% 50%/0 0 48px 48px;border-bottom:3px solid var(--lk-ink)}
body.look-timee .lk-hero-in{position:relative;z-index:2;display:grid;grid-template-columns:1.3fr 1fr;align-items:center;gap:28px}
body.look-timee .lk-hero-text{min-width:0}
body.look-timee .lk-bubble{position:relative;display:inline-block;margin:0 0 22px;padding:14px 24px;background:#fff;color:var(--lk-ink);border:2.5px solid var(--lk-ink);border-radius:22px;font-weight:900;font-size:16px;line-height:1.6;box-shadow:0 6px 0 rgba(0,0,0,.08)}
body.look-timee .lk-bubble::after{content:"";position:absolute;left:42px;bottom:-15px;width:22px;height:22px;background:#fff;border-right:2.5px solid var(--lk-ink);border-bottom:2.5px solid var(--lk-ink);transform:rotate(45deg) skew(8deg,8deg);border-bottom-right-radius:4px}
body.look-timee .lk-bubble mark{background:var(--lk-yellow);color:inherit;padding:0 4px}
body.look-timee .lk-h1{margin:0;padding:0;background:none;border:0;color:var(--lk-ink);font-family:var(--lk-font);font-weight:900;font-size:clamp(34px,5.6vw,64px);line-height:1.25;letter-spacing:.02em}
body.look-timee .lk-h1::before,
body.look-timee .lk-h1::after{content:none}
body.look-timee .lk-h1.long{font-size:clamp(28px,4.4vw,50px)}
body.look-timee .lk-h1>span{display:block}
body.look-timee .lk-h1-b>span{display:inline;background:linear-gradient(transparent 62%,#fff 62%)}
body.look-timee .lk-lead{margin:18px 0 0;color:var(--lk-ink);font-weight:700;font-size:16px;line-height:1.8;text-wrap:pretty}
body.look-timee .lk-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:24px}
body.look-timee .lk-btn{display:inline-block;padding:12px 22px;font-family:var(--lk-font);font-weight:900;font-size:15px;line-height:1.3;text-decoration:none;white-space:nowrap;border-radius:999px;transition:transform .1s}
body.look-timee .lk-btn:hover{transform:translateY(2px)}
body.look-timee .lk-btn-line{padding:16px 30px;font-size:17px;background:var(--lk-line-green);color:#fff;border:2.5px solid var(--lk-ink);box-shadow:0 5px 0 var(--lk-ink)}
body.look-timee .lk-btn-line::after{content:" ›"}
body.look-timee .lk-btn-line:hover{color:#fff;box-shadow:0 3px 0 var(--lk-ink)}
body.look-timee .lk-btn-sub{background:#fff;color:var(--lk-ink);border:2.5px solid var(--lk-ink);box-shadow:0 4px 0 var(--lk-ink)}
body.look-timee .lk-btn-sub:hover{color:var(--lk-ink);box-shadow:0 2px 0 var(--lk-ink)}
body.look-timee .lk-note{margin:14px 0 0;font-size:14px;font-weight:700}
body.look-timee .lk-note a{color:var(--lk-ink);text-decoration:underline}
body.look-timee .lk-badges{display:flex;flex-wrap:nowrap;justify-content:center;gap:14px;padding-top:18px}
body.look-timee .lk-badge{position:relative;display:grid;place-items:center;align-content:center;flex:0 0 auto;width:136px;height:136px;border-radius:50%;background:#fff;color:var(--lk-ink);border:2.5px solid var(--lk-ink);text-align:center;line-height:1.25;box-shadow:0 8px 0 rgba(0,0,0,.08)}
body.look-timee .lk-badge::before{content:"";position:absolute;top:-16px;left:50%;width:6px;height:14px;margin-left:-3px;border-radius:3px;background:#f0a800;box-shadow:-18px 5px 0 #f0a800,18px 5px 0 #f0a800}
body.look-timee .lk-badge small{display:block;font-size:14px;font-weight:700}
body.look-timee .lk-badge b{display:inline;font-family:var(--lk-font);font-weight:900;font-size:26px;background:linear-gradient(transparent 60%,var(--lk-yellow) 60%)}

/* ---------- タブレット・スマホ（Lightning の切り替わり 992px / 576px に合わせる） ---------- */
@media (max-width:991.98px){
  body.look-timee .lk-hero{padding:36px 0 44px;border-radius:0 0 50% 50%/0 0 28px 28px}
  body.look-timee .lk-hero-in{grid-template-columns:1fr;gap:18px}
  body.look-timee .lk-badges{gap:10px}
  body.look-timee .lk-badge{width:100px;height:100px}
  body.look-timee .lk-badge::before{display:none}
  body.look-timee .lk-badge small{font-size:11px}
  body.look-timee .lk-badge b{font-size:18px}
  html body.look-timee:not(.home) .main-section{padding:20px 16px 26px;border-radius:16px}
}
@media (max-width:575.98px){
  body.look-timee .lk-bubble{padding:10px 16px;font-size:14px}
  body.look-timee .lk-h1{font-size:32px}
  body.look-timee .lk-h1.long{font-size:26px}
  body.look-timee .lk-lead{font-size:14px}
  body.look-timee .lk-cta{gap:10px}
  body.look-timee .lk-btn-line{display:block;width:100%;text-align:center}
  body.look-timee .lk-btn-sub{flex:1 1 0;text-align:center;padding:11px 10px;font-size:14px}
  body.look-timee .lk-badge{width:94px;height:94px}
  html body.look-timee .entry-body h2:not([class*="is-style-"]):not(.has-background){padding:10px 18px;border-radius:18px}
}
/* ===== LP風デザイン ここまで ===== */
