/*
Theme Name: Lightning
Text Domain: lightning
Theme URI: https://lightning.vektor-inc.co.jp/en/
Description: Lightning is a very simple & 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.
Author: Vektor,Inc.
Author URI: https://www.vektor-inc.co.jp
Version: 15.29.4
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
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
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Lightning WordPress theme, Copyright (C) 2015-2024 Vektor,Inc.
Lightning WordPress theme is licensed under the GPL.

Lightning WordPress Theme bundles the following third-party resources:

Font Awesome icon font, Copyright 2012 Fonticons, Inc.
its fonts are licensed under the terms of the SIL OFL License 1.1, and its code is licensed under the terms of the MIT license
Source: https://fontawesome.com/

Bootstrap framework, Copyright 2011 Bootstrap Authors and Twitter, Inc.
Bootstrap is licensed under the terms of the MIT license
Source: https://getbootstrap.com/

CSS Simple Tree Shaking
CSS Simple Tree Shaking is licensed under the terms of the GNU General Public License v2 license
Source: https://celtislab.net/
*/


@media (max-width: 767px) {
/*--------head--------*/
	.site-header-logo {
		font-size: 15px !important;
	}
/*--------top slide--------*/
	/*トップスライド 1page　"日韓～"文字*/
	.n2-ss-slide-104 .n2-font-44b864f1e73e28362e5c87d14ab6a9e3-paragraph {
		font-size: 20px !important;
		margin-top: -60px !important;
	}

	/*トップスライド 2page　"日韓～"文字*/
	.n2-ss-slide-99 .n2-font-44b864f1e73e28362e5c87d14ab6a9e3-paragraph {
		font-size: 20px !important;
		margin-top: 30px !important;
	}

	/*トップスライド　説明文書 1page 上*/
	.n2-ss-slider-4 #n2-ss-10item2 {
		font-size: 13px !important;
		margin-top: -190px !important;
	}
	/*トップスライド　説明文書 1page 下*/
	.n2-ss-slider-4 #n2-ss-10item3 {
		font-size: 11px !important;
		margin-top: -10px !important;
	}

	/*トップスライド　説明文書 2page 上*/
	.n2-ss-slider-4 #n2-ss-10item6 {
		font-size: 13px !important;
		margin-top: -30px !important;
	}
	/*トップスライド　説明文書 2page 下*/
	.n2-ss-slider-4 #n2-ss-10item7 {
		font-size: 11px !important;
		margin-top: -80px !important;
		margin-bottom: -190px !important;
	}

	.n2-ss-slide-99 .n2-style-f8e3a9a7dec6cbf4d8864aa30395a8be-heading {
		margin-top: -40px !important;
		margin-bottom: 40px !important;
	}
/*--------top slide--------*/



/*---------top news---------*/
	.wp-block-latest-posts__post-title{
		font-size: 13px !important;
	}
	.wp-block-latest-posts__post-date {
		font-size: 10px;
	}
/*---------top news---------*/


/*---------Massege---------*/
	/* text hidden*/
	.n2-font-daebbac5d625be36a268dbc0c964f2bf-paragraph {
		display: none !important;
	}

	/* button hidden*/
	.n2-ss-layer.n2-ow.n-uc-1d19968d188c5 {
		display: none !important;
	}

	/*右上　Massege文字*/
	.n2-font-424acf68b0767f65f6949948ea0fc6f8-paragraph {
		font-size: 20px !important;
	}
	/*右上　メッセージ文字*/
	.n2-font-ac71297b72c5ea5c150257d6fb31a8a6-paragraph {
		font-size: 13px !important;
		margin-top: -18px !important;
		margin-bottom: 18px !important;
	}

	/* メッセージタイトル*/
	.n2-ss-highlighted-heading-highlighted-text{
		font-size: 15px !important;
	}
	/* メッセージタイトルの下線*/
	.n2-highlighted.n2-ss-highlighted-heading-highlighted.n2-ow{
		margin-bottom: 18px !important;
	}
	/* メッセージ本文*/
	.n2-font-2fb0af6af55c6f9c6e93f6812f0b52b9-paragraph{
		font-size: 10px !important;
		margin-top: 18px !important;
		margin-bottom: 18px !important;
	}
	/* メッセージ本文*/
	.n2-font-7aae5ba411224a77e3da223381edbeee-paragraph{
		font-size: 10px !important;
	}

/*---------Massege---------*/


	/* spacer */
	.wp-block-spacer{
		height:30px !important;
	}



/*---------本文---------*/
	/* title */
	h1 {
		font-size: 16px !important;
	}

	/* tables */
	table {
		font-size: 11px !important;
	}

	/* 改行無し */
	td {
		white-space: nowrap !important;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	p {
		font-size: 12px;
	}
/*---------本文---------*/




/*---------Accese---------*/
	/* spacer hidden*/
	.n2-ss-layer-col.n2-ss-layer-with-background.n2-ss-layer-content.n-uc-19706a85c2c36-inner {
		display: none !important;
	}
	.n2-ss-layer.n2-ow.n2-ss-layer--block.n2-ss-has-self-align.n-uc-1279cdad0d6ac {
		display: none !important;
	}
	.n2-ss-layer-row.n2-ss-layer-with-background.n-uc-1302b799e8dbf-inner {
		display: none !important;
	}

	/* google map*/
	.n2-ss-layer iframe {
		transform: scale(0.9);
		transform-origin: center;
		height: 400px !important;
		width: 125%;
	}
/*---------Access 専用スタイル---------*/

	/* 親コンテナのスコープ内でのみ適用 */
	.n-uc-150c2be102ca8 .n2-ss-layer-row-inner {
		display: flex !important; /* フレックスボックスに設定 */
		flex-direction: row !important; /* 横並びにする */
		flex-wrap: nowrap !important; /* 折り返さない */
		justify-content: flex-start !important; /* 左寄せ */
		align-items: flex-start !important; /* 上揃え */
	}

	/* 最初の要素（画像） - col-3 相当（20%） */
	.n-uc-150c2be102ca8 .n2-ss-layer-row-inner > .n2-ss-layer:first-child {
		width: 20% !important;
		max-width: 20% !important;
		box-sizing: border-box;
	}

	/* 最後の要素（テキスト） - col-9 相当（80%） */
	.n-uc-150c2be102ca8 .n2-ss-layer-row-inner > .n2-ss-layer:last-child {
		width: 80% !important;
		max-width: 80% !important;
		box-sizing: border-box;
	}
	/* 画像のサイズ調整 */
	.n-uc-150c2be102ca8 .n2-ss-item-image-content img {
		width: 100% !important;
		height: auto !important;
		display: block;
	}

	/* テキストスタイル調整 */
	.n-uc-150c2be102ca8 .n2-ss-text {
		font-size: 9px !important;
	}



	/* 親コンテナのスコープ内でのみ適用 */
	.n-uc-1c1a279de4b65 .n2-ss-layer-row-inner {
		display: flex !important; /* フレックスボックスに設定 */
		flex-direction: row !important; /* 横並びにする */
		flex-wrap: nowrap !important; /* 折り返さない */
		justify-content: flex-start !important; /* 左寄せ */
		align-items: flex-start !important; /* 上揃え */
	}

	/* 最初の要素（画像） - col-3 相当（20%） */
	.n-uc-1c1a279de4b65 .n2-ss-layer-row-inner > .n2-ss-layer:first-child {
		width: 20% !important;
		max-width: 20% !important;
		box-sizing: border-box;
	}

	/* 最後の要素（テキスト） - col-9 相当（80%） */
	.n-uc-1c1a279de4b65 .n2-ss-layer-row-inner > .n2-ss-layer:last-child {
		width: 80% !important;
		max-width: 80% !important;
		box-sizing: border-box;
	}
	/* 画像のサイズ調整 */
	.n-uc-1c1a279de4b65 .n2-ss-item-image-content img {
		width: 100% !important;
		height: auto !important;
		display: block;
	}

	/* テキストスタイル調整 */
	.n-uc-1c1a279de4b65 .n2-ss-text {
		font-size: 10px !important;
	}
/*---------Accese---------*/





/*---------footer---------*/
	.profile_text {
		font-size: 12px !important;
	}
	p.profile_text span[style],
	p.profile_text i[style] {
		font-size: 14px !important;
		color: #000 !important;
	}

	/* button*/
	.vk_button .vk_button_link {
		padding: 8px 16px !important;
		font-size: 14px !important;
	}

	.vk_button .vk_button_link_caption i {
		font-size: 20px !important;
	}

	/* copyright*/
	.container.site-footer-copyright{
		padding-left:0 !important;
		padding-right:0 !important;
		padding-top:0 !important;

		padding-bottom: 10px !important;

		margin:0 !important;
		text-align: center;
	}

	.container.site-footer-content{
		padding-top:0 !important;
		padding-bottom: 10px !important;
	}

/*---------footer---------*/


/*---------出展社情報---------*/

	.vk_post_body.media-body .vk_post_title.media-title a {
		font-size: 12px !important;
	}

	.vk_post_body.media-body .vk_post_excerpt.media-text{
		font-size: 10px !important;
	}
	.vk_post_body {
		padding: 0 !important;
		margin: 0 !important;
		width: 100% !important;
	}

	.vk_post_body .vk_post_title a {
		display: block !important;
		width: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
		font-size: 12px !important;
		box-sizing: border-box;
	}
	.sub-section.sub-section--col--two.sub-section--pos--left{
		display:none;
	}
	.vk_post_imgOuter.media-img{
		margin-right: 0 !important;
		margin-bottom: 10px !important;
	}
	.card-img-overlay {
		padding-left: 3px !important;
		padding-right: 3px !important;
		box-sizing: border-box !important;
	}


/*---------出展社情報---------*/



	.wp-block-heading.has-text-align-center{
		font-size: 14px !important;

	}
	.wp-block-table.is-style-vk-table-border-stripes td,
	.wp-block-table.is-style-vk-table-border-stripes td * {
		font-size: 9px !important;
		line-height: 1.4 !important;
	}
	strong {
		font-weight: normal !important;
	}
	th {
		font-size: 9px !important;
	}



/*---------- 出展社情報 -----------*/


	/* 一列で並べるためのスタイル（QRコード + URL など） */
	[class*="wp-container-core-columns-is-layout-"] {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		gap: 8px; /* 要素間の隙間 */
	}

	/* 各カラムのマージン・パディングをリセット */
	[class*="wp-container-core-columns-is-layout-"] > .wp-block-column {
		flex: 0 1 auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	/* figure要素を中央揃えにする */
	[class*="wp-container-core-columns-is-layout-"] figure {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		margin: 0 !important;
	}

	/* 画像の最大サイズを指定（モバイル対応） */
	[class*="wp-container-core-columns-is-layout-"] img {
		max-width: 120px !important;
		height: auto !important;
		display: block !important;
	}

	/* テキストリンク（URL部分）のスタイル調整 */
	[class*="wp-container-core-columns-is-layout-"] h2 {
		font-size: 14px !important;
		margin: 0 !important;
		line-height: 1.4 !important;
		word-break: break-word;
	}


	/* アラートボックス内のテキストスタイル（pタグ） */
	.vk_alert .wp-block-columns p {
		font-size: 12px !important; /* フォントサイズ調整 */
		line-height: 1.1 !important; /* 行間を狭くする */
		margin: 0 !important; /* マージン削除 */
	}

	/* アラートボックスのカラム間の余白削除 */
	.vk_alert .wp-block-columns {
		margin-bottom: 0 !important;
	}

	/* すべてのカラムセットのgapを0に */
	[class*="wp-container-core-columns-is-layout-"] {
		gap: 0 !important;
	}

	/* 各カラムのマージン・パディング削除＋下余白少し */
	[class*="wp-container-core-columns-is-layout-"] .wp-block-column {
		margin: 0 !important;
		padding: 0 !important;
		margin-bottom: 5px !important;
	}

	/* 段落(p)の余白調整 */
	[class*="wp-container-core-columns-is-layout-"] p {
		margin: 0 !important;
		margin-bottom: 10px !important;
	}

	/* ページタイトルのフォントサイズ調整 */
	.page-header-title {
		font-size: 15px !important;
	}
	.wp-block-heading {
		font-size: 15px !important;
	}
	.wp-block-list li {
		font-size: 13px !important; /* フォントサイズを10pxに強制設定 */
	}

	/*---------- 出展社情報 -----------*/
	.page-header{
		min-height:40px !important;
		max-height:40px !important;
	}


	.wp-block-cover{
		max-height:500px !important;
		min-height:150px !important;
	}



	#post-2647 .wp-container-core-columns-is-layout-3 {
		flex-direction: column !important; /* 세로 정렬 */
	}

	#post-2647 .wp-container-core-columns-is-layout-3 > .wp-block-column {
		flex-basis: 100% !important; /* 너비 전체 사용 */
		width: 100% !important;
		max-width: 100% !important;
	}

	#post-2647 .wp-container-core-columns-is-layout-3 figure {
		justify-content: center !important;
		text-align: center !important;
	}

	#post-2647 .wp-container-core-columns-is-layout-3 table {
		width: 100% !important;
	}

	#post-2649 .wp-container-core-columns-is-layout-3 {
		flex-direction: column !important; /* 세로 정렬 */
	}

	#post-2649 .wp-container-core-columns-is-layout-3 > .wp-block-column {
		flex-basis: 100% !important; /* 너비 전체 사용 */
		width: 100% !important;
		max-width: 100% !important;
	}

	#post-2649 .wp-container-core-columns-is-layout-3 figure {
		justify-content: center !important;
		text-align: center !important;
	}

	#post-2649 .wp-container-core-columns-is-layout-3 table {
		width: 100% !important;
	}


}