/*
Theme Name: Hokuyou
Theme URI: 
Template: lightning
Description: ホクヨウオリジナルテーマ（子テーマ）
Author: ズバッと解決上越
Tags:
Version: 0.6.2
*/
/* トップページのMetaSliderを画面幅いっぱいにする */
body.home .metaslider {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
}
/* スライドショーと本文の間の余白調整 */
@media (1200px < width) {
	body .site-body {
		padding: 4rem 0;
	}
}
/* スマホ・タブレット：スライドショー下の余白 */
@media (width <= 1199px) {
	body .site-body {
		padding-top: 2.5rem;
	}
}

/*この内容で送信ボタンの修正*/
button.wpcf7cp-cfm-submit-btn,
button.wpcf7cp-cfm-edit-btn {
	font-size: 1.125rem;
	padding: 0.625rem 1.875rem;
	background-color: #4a7ebb;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

button.wpcf7cp-cfm-submit-btn:hover,
button.wpcf7cp-cfm-edit-btn:hover {
	background-color: #3a6ba5;
}

/*お問い合わせの送信後のメッセージの場所*/
.wpcf7-form {
	display: flex;
	flex-direction: column;
}
.wpcf7-response-output {
	order: -1;
	margin-bottom: 20px;
}
.wpcf7-response-output {
	order: -1;
	margin-bottom: 20px;
	padding: 16px;
	border-radius: 6px;
	font-weight: bold;
	text-align: center;
}

/* 送信成功 */
.wpcf7 form.sent .wpcf7-response-output{
	background-color: #e6f7ec;
	color: #1a7f3c;
	border: 1px solid #1a7f3c;
}
/* 送信失敗・入力エラー */
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
	background-color: #fdecec;
	color: #c0392b;
	border: 1px solid #c0392b;
}
/*子ページのヘッダー画像*/
.page-header {
/*	background-image: url('https://with-joetsu.com/hokuyou/wp-content/uploads/2026/08/10_E6_9C_88_E4_B8_AD_20_E6_88_B8_E9_9A_A0_E5_A5_A5_E7_A4_BEDSC_0396.jpg');*/
	background-image: url('../../../hp_img/hokuyou_page_header.jpg');
	background-size: cover;
	background-position: center;
	position: relative;
}

.page-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
//	background-color: rgba(0, 0, 0, 0.4);
//	z-index: 0;
}

.page-header > * {
	position: relative;
	z-index: 1;
	color: #000000;
}
.site-header-logo img {
	height: auto;
	width: auto;
	max-height: 80px !important;
	max-width: none !important;
}

/*投稿者名を非表示*/
.entry-meta-item-author {
	display: none;
}
/*お問い合わせフォームの必須の色*/
.required-mark{
	color: #fff !important;
	background: #ff0000;
	padding: 2px;
	margin-left:3px;
	font-size: 11px;
}
/* Lightning 標準スライド PC */
@media (min-width: 768px) {
	body.home .ltg-slide,
	body.home .ltg-slide-inner,
	body.home .ltg-slide .swiper-wrapper,
	body.home .ltg-slide .swiper-slide {
		height: 500px !important;
	}

	body.home .ltg-slide .swiper-slide {
		background-size: cover !important;
		background-position: center center !important;
	}
}

/* Lightning 標準スライド PC */
@media (min-width: 768px) {
	body.home .ltg-slide,
	body.home .ltg-slide-inner,
	body.home .ltg-slide .swiper-wrapper,
	body.home .ltg-slide .swiper-slide {
		height: 600px !important;
	}

	body.home .ltg-slide .ltg-slide-item-img {
		width: 100% !important;
		height: 600px !important;
		object-fit: cover !important;
		object-position: center center !important;
	}
}

/* トップページ 売買物件・賃貸物件 見出し */
body.home h5.wp-block-heading {
	font-size: 1.2rem;
	background-color: #01719f;
	color: #fff;
	padding: 5px 15px;
}

