/*
Theme Name: Lightning Child
Theme URI: https://lightning.vektor-inc.co.jp/en/
Template: lightning
Author: Vektor,Inc.
Author URI: https://www.vektor-inc.co.jp
Description: Lightning is a very simple &amp; easy to customize theme which is based on the Bootstrap. It is also very friendly with custom post types and custom taxonomies. When you add a new one, the breadcrumbs will be adjusted and posts will look beautifully without editing or adding a template files.
Tags: blog,one-column,custom-background,custom-colors,custom-logo,custom-menu,editor-style,featured-images,footer-widgets,full-width-template,sticky-post,theme-options,threaded-comments,translation-ready,block-styles,wide-blocks
Version: 15.42.0.1794140858
Updated: 2026-11-08 21:27:24

*/


/* 一覧のサムネイルが上下で切れないようにする。
   Lightning は :before の padding-top 62% で横長の枠を作り、背景画像を cover で敷くため、
   移行元の正方形画像（上下に日付とサイト名が焼き込まれている）が切れてしまう。
   枠を正方形にしたうえで contain にして、どんな比率の画像でも全体が収まるようにする。 */
.vk_posts .vk_post .vk_post_imgOuter::before {
	padding-top: 100%;
}

.vk_posts .vk_post_imgOuter {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: #f4f5f6;
}

/* FV 直後のキャッチコピー。
   移行元は下線なし・行送り20pxで2行をひとかたまりに見せているため、
   Lightning が見出しに付ける下線と余白を外して同じバランスにする。 */
.entry-body .kg-catchcopy {
	border-bottom: none;
	padding-bottom: 0;
	margin-top: 0;
	margin-bottom: 20px;
}

/* h3 の見出し装飾は使わない。本文中もフッターウィジェットも同じ。
   Lightning は下線を ::after（幅99px・1pxの線）で描いているので、それも消す。 */
.entry-body h3,
.site-footer h3,
h3.wp-block-heading {
	border-bottom: none;
	padding-bottom: 0;
}

.entry-body h3::after,
.site-footer h3::after,
h3.wp-block-heading::after {
	display: none;
}

/* 横並びの列に入れた画像は、画像自身の原寸ではなく列幅を基準に縮尺を効かせる。
   リンク付きの画像は a が原寸に縮むため、a も列いっぱいに広げないと
   原寸の小さいロゴだけ一回り小さく出てしまう。 */
.entry-body .wp-block-column > .wp-block-image.is-resized {
	width: 100%;
}

.entry-body .wp-block-column > .wp-block-image.is-resized > a {
	display: block;
	width: 100%;
}

/* 移行元から取り込んだ固定ページ。
   移行元は段落の下が 8px、見出しの下が 16px と詰まっているので合わせる。 */
.kg-source-page .entry-body p {
	margin-bottom: 8px;
}

.kg-source-page .entry-body h2,
.kg-source-page .entry-body h3,
.kg-source-page .entry-body h4 {
	margin-bottom: 16px;
}

/* 移行元のボタンはラベルの長さによらず size ごとに同じ幅（m=213px / l=340px） */
.entry-body .kg-btn-m .wp-block-button__link {
	min-width: 213px;
	max-width: 100%;
}

.entry-body .kg-btn-l .wp-block-button__link {
	min-width: 340px;
	max-width: 100%;
}

/* 移行元はセクション見出しに使っているボタンの上に30px・下に50px取っている。
   取り込み後は上下8pxしかなく、イベント内の行間(16px)より狭くて見出しに見えなかった。 */
.kg-source-page .entry-body .wp-block-buttons {
	margin-top: 32px;
	margin-bottom: 48px;
}

.kg-source-page .entry-body .wp-block-separator {
	margin-top: 48px;
	margin-bottom: 48px;
}

/* HTML ブロックの LINE ボタンが直下の段落と接していたので離す */
.kg-source-page .entry-body > a {
	display: inline-block;
	margin-bottom: 16px;
}

/* ヘッダーメニューが9項目あり、1200px 未満だと既定の余白では右端が見切れる。
   モバイルナビに切り替わる 992px まで、項目の左右余白を詰めて収める。 */
@media (min-width: 993px) and (max-width: 1200px) {
	.global-nav .global-nav-list > li > a {
		padding-left: 10px;
		padding-right: 10px;
	}
}
