/*
Theme Name: megumogu-kitchen
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 2.2.0
*/

/*################################################
  1. ヘッダー（透過・固定）
################################################*/

/* トップページのみ透過して FV に重ねる */
.home .site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background: transparent;
	border-bottom: none;
	box-shadow: none;
	transition: background-color .3s ease, box-shadow .3s ease;
}

.home .site-header #site-header-container {
	background: transparent;
}

/* 管理バー分の位置調整（ログイン時のみ） */
.home.admin-bar .site-header { top: 32px; }

@media screen and (max-width: 782px) {
	.home.admin-bar .site-header { top: 46px; }
}

/* トップページ本文の上余白を除去（幅には触らない） */
.home .site-body {
	padding-top: 0;
	margin-top: 0;
}


/*------------------------------------------------
  1-1. ロゴ
------------------------------------------------*/
.site-header-logo,
.site-header-logo img {
	display: block;
	max-height: 80px;
	width: auto;
	transition: max-height .3s ease;
}

h1.site-header-logo {
	padding-top: 0;
}

/* Lightning はスクロール時にロゴを display:none にするため打ち消す */
.header_scrolled .site-header-logo,
.header_scrolled .site-header-logo img {
	display: block !important;
	max-height: 60px;
	width: auto;
}

@media (max-width: 991.98px) {
	.site-header-logo img,
	.header_scrolled .site-header-logo img {
		max-height: 44px;
	}
}


/*------------------------------------------------
  1-2. グローバルナビ
------------------------------------------------*/
.home nav#global-nav {
	background-color: rgba(255, 255, 255, .85);
	border-radius: 40px;
	padding: 12px 32px;
	margin-top: 10px;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	transition: background-color .3s ease, border-radius .3s ease,
	            padding .3s ease, margin-top .3s ease;
}

.device-pc .global-nav-list > li > a {
	padding: 0 1.5em;
}

.home .site-header .global-nav-list > li > a,
.home .site-header .global-nav-name {
	color: #333;
	transition: color .3s ease;
}

/* hover 時の下線を解除 */
.home .global-nav-list > li:before {
	display: none;
}

/* hover 時の文字色（予約ボタンを除く） */
.home .global-nav-list > li:not(#menu-item-75) > a:hover .global-nav-name {
	color: #D9333F;
}


/*------------------------------------------------
  1-3. 予約ボタン（グローバルナビ内）
------------------------------------------------*/
#menu-item-75 > a {
	display: inline-block;
	border: 1px solid #D9333F;
	padding: 10px 20px;
	transition: background-color .3s ease, color .3s ease;
}

#menu-item-75 .global-nav-name {
	color: #D9333F;
	font-weight: bold;
}

#menu-item-75 > a:hover {
	background-color: #D9333F;
}

#menu-item-75 > a:hover .global-nav-name {
	color: #fff;
}


/*------------------------------------------------
  1-4. スクロール後の状態
  Lightning が body に .header_scrolled を付与する
------------------------------------------------*/
.home.header_scrolled .site-header {
	background: rgba(250, 247, 242, .96);
	box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
}

/* ナビ単体の背景・角丸を解除してヘッダー全体の背景に一本化 */
.home.header_scrolled nav#global-nav {
	background-color: transparent;
	border-radius: 0;
	padding: 0 32px;
	margin-top: 0;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.header_scrolled .global-nav-list > li > a,
.header_scrolled .global-nav-name {
	color: #3C3733;
}

/* ロゴとナビを縦中央に揃え、予約ボタンが伸びるのを防ぐ */
.header_scrolled #site-header-container {
	display: flex;
	align-items: center;
	min-height: 70px;
}

.header_scrolled #menu-item-75 > a {
	padding: 8px 20px;
}

/*------------------------------------------------
  モバイルナビ
------------------------------------------------*/
@media (max-width: 991.98px) {

	/*============================================
	  メニュー全体
	============================================*/
	#vk-mobile-nav {
		background-color: #8F1D28 !important;
	}

	/* 各メニューの区切り線 */
	#vk-mobile-nav li {
		border-bottom-color: rgba(216, 199, 173, .45) !important;
	}

	/* 通常メニュー */
	#vk-mobile-nav li > a {
		background-color: transparent !important;
		color: #FFFFFF !important;
	}

	/* Lightning側の文字色も白に統一 */
	#vk-mobile-nav li > a *,
	#vk-mobile-nav .global-nav-name {
		color: #FFFFFF !important;
	}


	/*============================================
	  サブメニュー 展開・閉じるボタン
	============================================*/
	#vk-mobile-nav .acc-btn {
		position: absolute;
		right: 8px;
		top: 8px;

		width: 28px;
		height: 28px;

		border: 1px solid #D8C7AD !important;
		background: transparent !important;

		cursor: pointer !important;
	}

	/* 横線 */
	#vk-mobile-nav .acc-btn::before {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;

		width: 12px;
		height: 1px;

		background-color: #D8C7AD;

		transform: translate(-50%, -50%);
	}

	/* 縦線 */
	#vk-mobile-nav .acc-btn::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;

		width: 1px;
		height: 12px;

		background-color: #D8C7AD;

		transform: translate(-50%, -50%);
	}

/* 閉じている状態：＋ */
#vk-mobile-nav .acc-btn.acc-btn-open::after {
	display: block;
}

/* 展開している状態：− */
#vk-mobile-nav .acc-btn.acc-btn-close::after {
	display: none;
}

	/*============================================
	  「商品を見る」CTA
	============================================*/
	#vk-mobile-nav #menu-item-75 {
		margin-top: 12px;
		border-bottom: none !important;
	}

	#vk-mobile-nav #menu-item-75 > a {
		display: flex !important;
		align-items: center;
		justify-content: space-between;

		width: 100%;
		padding: 14px 16px !important;
		box-sizing: border-box;

		background-color: #FFFFFF !important;
		border: none !important;
		border-radius: 0;
	}

	/* 「商品を見る」の文字 */
	#vk-mobile-nav #menu-item-75 > a,
	#vk-mobile-nav #menu-item-75 > a *,
	#vk-mobile-nav #menu-item-75 .global-nav-name {
		color: #8F1D28 !important;
		font-weight: 700;
	}

	/* 「商品を見る」右矢印 */
	#vk-mobile-nav #menu-item-75 > a::after {
		content: "›";
		color: #8F1D28;
		font-size: 22px;
		font-weight: 400;
		line-height: 1;
	}
}

/*################################################
  2. フォント・基本テキスト
################################################*/
body {
	font-family: "Noto Sans JP", sans-serif;
	color: #333;
}

h2 {
	font-family: "Zen Old Mincho", serif;
	color: #333;
}

h3 {
	font-family: "Noto Sans JP", sans-serif;
	color: #333;
	font-weight: 500;
}

/* ▼要確認：セレクタ「h3_ Sub-page_titles」は存在しない要素を指しており、
   これまで一度も適用されていませんでした。
   下層ページの見出しに明朝体を当てたい場合は、対象の見出しに
   クラス「sub-page_title」を付けたうえで、下のコメントを外してください。

.sub-page_title {
	font-family: "Zen Old Mincho", serif;
	color: #333;
}
*/

p {
	font-family: "Noto Sans JP", sans-serif;
	color: #333;
}


/*################################################
  3. FV（ファーストビュー）
  PC 版・SP 版は VK Blocks の非表示設定でブロック単位に出し分け
  （PC 版カバー：xs/sm/md を非表示／SP 版：lg/xl/xxl を非表示）
################################################*/
.fv-cover {
	padding: 0;
}

/* 文字幅だけに帯を出すため display:inline を維持
   is-style-vk-heading-plain が block を当ててくるので詳細度を上げる
   帯の間隔は line-height で調整（上下 padding は 0 のまま） */
   
.fv-cover > .wp-block-column {
	display: block !important;
}   
h2.wp-block-heading.top_fv_copy.is-style-vk-heading-plain {
	font-family: "Zen Old Mincho", serif;
	background-color: #FAF7F2;
	display: inline !important;
	font-size: clamp(1.75rem, 4vw, 3.125rem);
	line-height: 1.5;
	padding: 0px 12px !important;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

@media (max-width: 991.98px) {
	h2.wp-block-heading.top_fv_copy.is-style-vk-heading-plain {
		display: inline !important;
		background-color: #fff;
		font-size: 22px;
		line-height: 1.6;
		padding: 0 8px !important;
		-webkit-box-decoration-break: clone;
		box-decoration-break: clone;
	}
}

/* タブレット以下：見出しは白帯・小さめ */
@media (max-width: 991.98px) {
	h2.wp-block-heading.top_fv_copy {
		display: inline !important;
		background-color: #fff;
		font-size: 22px;
		line-height: 1.6;
		padding: 0 8px;
	}
}

/* スマホ：SP 版 FV（カバー内に配置済み） */
@media (max-width: 781px) {
	.fv_sp {
		position: relative;
		z-index: 2;
	}

	/* アウトラインボタンの背景を白に */
	.fv_sp .vk_button_link.is-style-outline {
		background-color: #fff;
	}

	/* リード文・h1 に半透明のぼかし背景 */
	.fv_sp p.wp-block-paragraph,
	.fv_sp h1 {
		background-color: rgba(255, 255, 255, .4);
		-webkit-backdrop-filter: blur(6px);
		backdrop-filter: blur(6px);
		-webkit-mask-image: radial-gradient(ellipse at center, #000 60%, transparent 100%);
		mask-image: radial-gradient(ellipse at center, #000 60%, transparent 100%);
		border-radius: 20px;
	}
}


/*################################################
  4. セクション共通パーツ
################################################*/

/* 英字ラベル＋縦ライン（BRAND / SCENES / FOOD ほか） */
.mg-sec-label {
	display: block;
	text-align: center;
	font-family: "Noto Sans JP", sans-serif;
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .2em;
	color: #CE1126;
	margin: 0 0 1.5rem;
}

.mg-sec-label::after {
	content: "";
	display: block;
	width: 1px;
	height: 48px;
	margin: .8rem auto 0;
	background: #CE1126;
}


/*################################################
  5. SERVICE
################################################*/
h3.menu_title {
	font-family: "Zen Old Mincho", serif !important;
	color: #333;
}

h3.menu_title::before {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	margin-right: .5em;
	vertical-align: middle;
	background-image: url("/wp-content/uploads/2026/09/menu_ico.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

/* カード内のボタンを下端に揃える */
.mg-service .wp-block-column {
	display: flex;
	flex-direction: column;
}

.mg-service .wp-block-column > .wp-block-vk-blocks-button {
	margin-top: auto;
}


/*################################################
  6. FEATURES（選ばれる理由）
################################################*/
.mg-feature {
	background-repeat: no-repeat;
	background-position: top center;
	background-size: contain;
	padding: 5rem 1rem 2rem;
	text-align: center;
}

.mg-feature01 { background-image: url("/wp-content/uploads/2026/09/feature_bg01.png"); }
.mg-feature02 { background-image: url("/wp-content/uploads/2026/09/feature_bg02.png"); }
.mg-feature03 { background-image: url("/wp-content/uploads/2026/09/feature_bg03.png"); }
.mg-feature04 { background-image: url("/wp-content/uploads/2026/09/feature_bg04.png"); }
.mg-feature05 { background-image: url("/wp-content/uploads/2026/09/feature_bg05.png"); }

.mg-feature img {
	width: 90px;
}

.mg-feature p {
	margin: 0;
}

/* スマホ：2・2・1 で並べ、最後の1枚を中央寄せ */
@media (max-width: 991.98px) {
	.wp-block-columns.mg-feature-row {
		flex-wrap: wrap !important;
		gap: 1rem;
	}

	.wp-block-columns.mg-feature-row > .wp-block-column {
		flex: 0 0 calc(50% - .5rem) !important;
		min-width: 0 !important;
		max-width: calc(50% - .5rem) !important;
	}

	.wp-block-columns.mg-feature-row > .wp-block-column:last-child {
		margin-left: auto !important;
		margin-right: auto !important;
	}

	.mg-feature p {
		font-size: 12px !important;
	}
}


/*################################################
  7. FOOD（実際に届くお料理・献立例）
################################################*/
.mg-food-card {
	background: #FDFAF5;
	padding: 2.5rem 2rem;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
	align-self: flex-start;
	margin-top: 6rem;
	margin-left: -6rem;
	position: relative;
	z-index: 2;
}

/* スマホでは重なりを解除 */
@media (max-width: 991.98px) {
	.mg-food-card {
		margin-top: 0;
		margin-left: 0;
	}
}


/*################################################
  8. AUDIENCE（こんな時に、メグモグキッチン）
  6 枚を 1 つのカラムブロックにまとめ、Grid で列数を制御
################################################*/
.wp-block-columns.mg-audience-row {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

/* コアのカラム幅指定を無効化 */
.wp-block-columns.mg-audience-row > .wp-block-column {
	flex-basis: auto !important;
	max-width: none !important;
	min-width: 0 !important;
}

.mg-audience-card {
	background-image: url("/wp-content/uploads/2026/09/audience_frame.png");
	background-size: 100% 100%;
	background-repeat: no-repeat;
	padding: 1.5rem 1rem 1.5rem 1.5rem;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.mg-audience-card figure {
	width: 100px;
	flex: 0 0 auto;
}

.mg-audience-card figure img {
	width: 100%;
	height: auto;
}

.mg-audience-card .wp-block-group.is-nowrap {
	justify-content: flex-start;
	gap: .75rem;
}

/* スマホ：2 列、カード内は縦積み */
@media (max-width: 991.98px) {
	.wp-block-columns.mg-audience-row {
		grid-template-columns: repeat(2, 1fr);
	}

	.mg-audience-card .wp-block-group.is-nowrap {
		flex-direction: column !important;
		align-items: center;
		text-align: center;
	}

	.mg-audience-card {
		padding: 1.5rem 1rem;
	}
}


/*################################################
  9. MESSAGE（メグモグキッチンの想い）
  外側グループ  : .mg-message
  白いカード    : .mg-message-card
  小さい料理写真: .mg-message-sub
  オリーブの葉  : .mg-message-leaf
  ※ sub / leaf は card の外・mg-message 直下に置くこと
  ※ 大きい写真は PC 用・SP 用を VK Blocks の非表示設定で出し分け
################################################*/
.mg-message {
	position: relative;
}

/* 白いカード：大きい写真の上に左寄せで重ねる
   box-shadow でベージュの板を左下にずらして表現 */
.mg-message-card {
	position: absolute;
	top: 30%;
	left: 6%;
	width: 28%;
	background: #fff;
	padding: 2rem 1.75rem;
	z-index: 1;
	box-shadow: -13px 12px 0 0 rgba(147, 137, 125, .5);
}

/* 「あなたの時間を、／家庭料理で支える。」が 2 行に収まるサイズ */
.mg-message-card h2 {
	font-size: clamp(1.05rem, 1.6vw, 1.4rem);
	line-height: 1.8;
	margin: 0 0 1.25rem;
}

.mg-message-card p {
	font-size: .9rem;
	line-height: 2;
	margin: 0;
}

/* 小さい料理写真：大きい写真の右下に重ねる */
.mg-message-sub {
	position: absolute;
	right: 3%;
	bottom: -12%;
	width: 22%;
	z-index: 3;
	margin: 0;
	box-shadow: 7px 5px 0 0 rgba(147, 137, 125, .5);
}

/* オリーブの葉（装飾）：カードの右下角あたり */
.mg-message-leaf {
	position: absolute;
	left: 25%;
	bottom: -37%;
	width: 15%;
	z-index: 10;
	margin: 0;
}

/* スマホ：縦積みにして、カードを写真に食い込ませる
   transform と margin-bottom は同じ値にすること */
@media (max-width: 991.98px) {
	.mg-message-card {
		position: relative;
		z-index: 2;
		width: 86%;
		margin: 0 auto -6rem 4%;
		padding: 1.75rem 1.5rem;
		box-shadow: 13px 12px 0 0 rgba(147, 137, 125, .5);
		transform: translateY(-6rem);
	}

	.mg-message-sub {
		position: static;
		width: 80%;
		margin: 2.5rem auto 0 0;
		box-shadow: 10px 10px 0 0 rgba(147, 137, 125, .5);
	}

	.mg-message-leaf {
		display: block;
		position: absolute;
		left: auto;
		right: -4%;
		bottom: auto;
		top: 57%;
		width: 33%;
		z-index: 10;
	}
}


/*################################################
  10. ボタン横並び（FV / CTA 共通）
  横並びグループに .mg-btn-row を付与する
################################################*/
@media (max-width: 991.98px) {
	.wp-block-group.mg-btn-row {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: .75rem !important;
	}

	.mg-btn-row .wp-block-vk-blocks-button {
		width: 100%;
	}

	.mg-btn-row .vk_button_link {
		display: block;
		width: 100%;
		text-align: center;
	}
}


/*################################################
  11. フッター
################################################*/

/* Powered by 表記を非表示（ExUnit 側の設定で消せる場合はそちらを優先） */
.site-footer-copyright p:nth-child(2) {
	display: none;
}

/*######################################
#　下層ぺージ【宅配料理】　　　　　　　　　　 #　　　
#　パーマリンク：delivery　　　　　　　　　　#
########################################*/

.delivery_menu_title::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
  background-image: url("/wp-content/uploads/2026/09/menu_ico.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.delivery_menu_meat::before {
  content: "";
  display: inline-block;
  width: 60px;
  height: 60px;
  margin-right: 12px;
  vertical-align: middle;
  background-image: url("/wp-content/uploads/2026/09/niku_ryori_icon_matched_style-scaled.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.delivery_menu_fish::before {
  content: "";
  display: inline-block;
  width: 60px;
  height: 60px;
  margin-right: 12px;
  vertical-align: middle;
  background-image: url("/wp-content/uploads/2026/09/sakana_ryori_icon_fin_fixed-scaled.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.delivery_menu_vegetables::before {
  content: "";
  display: inline-block;
  width: 60px;
  height: 60px;
  margin-right: 12px;
  vertical-align: middle;
  background-image: url("/wp-content/uploads/2026/09/atatakai_yasai_icon_matched_style-scaled.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.delivery_menu_vegetables2::before {
  content: "";
  display: inline-block;
  width: 60px;
  height: 60px;
  margin-right: 12px;
  vertical-align: middle;
  background-image: url("/wp-content/uploads/2026/09/tsumetai_yasai_icon_matched_style-scaled.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.delivery_menu_present::before {
  content: "";
  display: inline-block;
  width: 60px;
  height: 60px;
  margin-right: 12px;
  vertical-align: middle;
  background-image: url("/wp-content/uploads/2026/09/present_ryori_icon_no_plate-scaled.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


.delivery_alacarteis_title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.delivery_alacarteis_title::before,
.delivery_alacarteis_title::after {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: url("/wp-content/uploads/2026/09/menu_ico.png") center / contain no-repeat;
}

/* 共通設定 */
.delivery_alacarteis01,
.delivery_alacarteis02,
.delivery_alacarteis03 {
    position: relative;
    padding-left: 90px; /* アイコン分の余白 */
}

/* 季節限定メニュー */
.delivery_alacarteis01::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: url("/wp-content/uploads/2026/09/delivery_alacarteis-01.webp") center / contain no-repeat;
}

/* コラボレーション */
.delivery_alacarteis02::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: url("/wp-content/uploads/2026/09/delivery_alacarteis02.webp") center / contain no-repeat;
}

/* イベント限定セット */
.delivery_alacarteis03::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: url("/wp-content/uploads/2026/09/delivery_alacarteis03.webp") center / contain no-repeat;
}



/*##########################
# 下層ぺージ：私たちについて　　　#
# パーマリンク：Aboutus　　　　 #
############################*/

/* ===================================
   MEGUMOGU HISTORY
=================================== */

.megumogu_history {
    padding: 100px 0;
    background: #fbf8f2;
    padding-bottom: 0px;
    position: relative;
    isolation: isolate;
}

/* 背景画像の上に薄いクリーム色を重ねる */
.megumogu_history::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(250, 247, 240, 0.72);
    z-index: -1;
    pointer-events: none;
}

/* 左側 */
.history_intro {
    padding-right: 60px;
}
/* 
.history_intro h2 {
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.55;
    letter-spacing: .06em;
    margin-bottom: 30px;
}*/

.history_intro p {
    line-height: 2;
}



/*===================================
  ABOUT - OUR PHILOSOPHY
  料理を通して大切にしていること
===================================*/

/* PC */
.about_philosophy > .wp-block-columns {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 2rem;
}

.about_philosophy > .wp-block-columns > .wp-block-column {
	flex: 1 1 0 !important;
	width: 0 !important;
	max-width: none !important;
	min-width: 0 !important;
}


/* スマホ */
@media (max-width: 781px) {

	.about_philosophy > .wp-block-columns {
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		gap: 2.5rem;
	}

	.about_philosophy > .wp-block-columns > .wp-block-column {
		flex: 0 0 auto !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.about_philosophy .mg-feature {
		width: 100%;
		max-width: 340px;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}

	.about_philosophy .mg-feature p {
		font-size: 14px !important;
		line-height: 1.8;
	}
}

/* ===================================
   TIMELINE
=================================== */

/* タイムライン全体 */
.history_timeline {
    position: relative;
}

/* 経歴1件 */
.history_item {
    position: relative;
    display: grid;

    /* 西暦 ｜ 本文 */
    grid-template-columns: 85px 1fr;
    grid-template-rows: auto auto;

    column-gap: 45px;
    padding-bottom: 48px;
}

/* 西暦 */
.history_item > p:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;

    margin: 0 !important;

    color: #d7192d;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .05em;
}

/* 見出し */
.history_item > h3 {
    grid-column: 2;
    grid-row: 1;

    margin: 0 0 8px !important;

    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

/* 説明文 */
.history_item > p:not(:first-child) {
    grid-column: 2;
    grid-row: 2;

    margin: 0 !important;

    font-size: 14px;
    line-height: 1.9;
    color: #555;
}


/* 縦線 */
.history_item::before {
    content: "";
    position: absolute;

    left: 105px;
    top: 11px;
    bottom: -10px;

    width: 1px;
    background: #cdbfa9;
}

/* 丸 */
.history_item::after {
    content: "";
    position: absolute;

    left: 100px;
    top: 6px;

    width: 11px;
    height: 11px;

    border-radius: 50%;
    background: #7f9655;
}

/* 最後は縦線なし */
.history_item:last-child::before {
    display: none;
}
@media (max-width: 781px) {

    .megumogu_history {
        padding: 60px 0;
    }

    .history_intro {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .history_item {
        grid-template-columns: 60px 1fr;
        column-gap: 28px;
        padding-bottom: 36px;
    }

    .history_item::before {
        left: 72px;
    }

    .history_item::after {
        left: 67px;
    }

    .history_year {
        font-size: 13px;
    }

    .history_content h3 {
        font-size: 17px;
    }

    .history_content p {
        font-size: 13px;
    }
}


@media (max-width: 781px) {

    .megumogu_history {
        background-size: 100% auto !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
    }

}

/* ===================================
   OUR RECORD
=================================== */
.our-record-row {
    gap: 24px;
    align-items: stretch;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

/* カード */
.our-record-row > .our-record {
    background: url("/wp-content/uploads/2026/09/our_record_back.webp")
                center top / 100% 100% no-repeat;
    border: 0;
    padding: 36px 20px 32px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0 !important;
}

/* カード内の余白を一旦すべてリセット */
.our-record-row > .our-record > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* アイコン */
.our-record-row > .our-record figure.wp-block-image {
    margin: 24px auto 0 !important;
    line-height: 0;
    display: block;
}

.our-record-row > .our-record figure.wp-block-image img {
    height: auto !important;
    max-width: 100% !important;
}

/* 数字（40年以上など）の下 */
.our-record-row > .our-record figure.wp-block-image + * {
    margin-bottom: 6px !important;
}

/* 見出し・本文 */
.our-record-row > .our-record p,
.our-record-row > .our-record h2,
.our-record-row > .our-record h3,
.our-record-row > .our-record h4 {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    line-height: 1.5;
}

/* 最後の文章の下は余白なし（padding で確保） */
.our-record-row > .our-record > *:last-child {
    margin-bottom: 0 !important;
}

/* スマホ */
@media (max-width: 767px) {
    .our-record-row {
        gap: 16px;
        max-width: 100%;
    }

    .our-record-row > .our-record {
        padding: 32px 16px;
    }
}


/* ===================================
   事業所概要
=================================== */
.infomation_group {
    background-image: url("/wp-content/uploads/2026/09/infomation_back.webp");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto 100%;
}

@media (max-width: 781px) {
    .infomation_group {
        background-size: 100% auto;
        background-position: left top;
        background-repeat: no-repeat;
    }
}

/*############################
 投稿　次へ　前へのカスタマイズ　　#
############################*/

.next-prev-prev.card-horizontal .card-body {
display: flex;
padding: 0;
align-items: center;
justify-content: flex-start;
}

.next-prev-prev.card-horizontal .card-body:before {
font-family: "Font Awesome 7 Free";
content: "\f053";
font-weight: bold;
position: absolute;
font-size: 3rem;
color: rgba(0,0,0,0.1);
top: calc(50% - 1.5rem);
left: 1rem;
}

.next-prev-prev.card-horizontal.vk_post .card-body .vk_post_title a {
display: block;
padding: 1.5rem 1.0rem 1.5rem 3.5rem;
}

.next-prev-next.card-horizontal .card-body {
display: flex;
padding: 0;
align-items: center;
justify-content: flex-end;
}

.next-prev-next.card-horizontal .card-body:before {
font-family: "Font Awesome 7 Free";
content: "\f054";
font-weight: bold;
position: absolute;
font-size: 3rem;
color: rgba(0,0,0,0.1);
top: calc(50% - 1.5rem);
right: 1rem;
}

.next-prev-next.card-horizontal.vk_post .card-body .vk_post_title a {
display: block;
padding: 1.5rem 3.5rem 1.5rem 1.0rem;}



/*##########################
# モバイル：フッター固定CTA　　　 #
############################*/

/* PCでは非表示 */
.footerFloatingMenu {
	display: none;
}

@media (max-width: 991.98px) {

	.footerFloatingMenu {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9999;

		display: grid;
		grid-template-columns: 1fr 1fr;

		background: #FFFFFF;

		/* iPhoneのホームバー対策 */
		padding-bottom: env(safe-area-inset-bottom);

		box-shadow: 0 -3px 15px rgba(0, 0, 0, .10);
	}

	.footerFloatingMenu a {
		min-height: 58px;

		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;

		text-decoration: none !important;

		font-size: 14px;
		font-weight: 700;
		letter-spacing: .04em;
	}

	/* 商品を見る */
	.footerFloatingMenu__shop {
		background: #FFFFFF;
		color: #8F1D28 !important;
		border-top: 1px solid #8F1D28;
	}
	.footerFloatingMenu__shop .footerFloatingMenu__icon,
 .footerFloatingMenu__shop .footerFloatingMenu__icon i {
	color: #8F1D28 !important;
}

	/* LINE */
	.footerFloatingMenu__line {
		background: #8F1D28;
		color: #FFFFFF !important;
	}

	.footerFloatingMenu__icon {
		font-size: 16px;
	}

	.footerFloatingMenu__arrow {
		font-size: 22px;
		font-weight: 400;
		line-height: 1;
	}
}

/*------------------------------------------------
  PAGE TOP ボタン
  ▼要確認：見出しは「モバイル」ですが、メディアクエリの外にあるため
  PC にも適用されています。モバイル限定にする場合は、この節全体を
  @media (max-width: 991.98px) { ... } で囲んでください。
------------------------------------------------*/

#page_top.page_top_btn {
		position: fixed !important;
		right: 14px !important;
		bottom: calc(76px + env(safe-area-inset-bottom)) !important;

		width: 40px !important;
		height: 40px !important;

		background: rgba(255, 255, 255, .96) !important;
		background-image: none !important;

		border: 1px solid #D8C7AD !important;
		border-radius: 50% !important;

		box-shadow: 0 3px 12px rgba(0, 0, 0, .08) !important;

		display: flex !important;
		align-items: center !important;
		justify-content: center !important;

		z-index: 9998;
	}

	/* Lightning標準の文字を非表示 */
	#page_top.page_top_btn span {
		display: none !important;
	}

	/* 上向き矢印 */
	#page_top.page_top_btn::before {
		content: "⌃" !important;

		position: static !important;

		width: auto !important;
		height: auto !important;

		background: none !important;

		color: #8F1D28 !important;
		font-size: 20px !important;
		font-weight: 400 !important;
		line-height: 1 !important;

		transform: none !important;

		/* ⌃は少し上に見えるので微調整 */
		margin-top: 6px;
	}

	/* 以前作った2本目の線を完全に消す */
	#page_top.page_top_btn::after {
		content: none !important;
		display: none !important;
	}


/* ========================= */
/* PC時フッターエリア          */
/* ========================= */

.site-footer {
	border-top: 1px solid #93897d;
	background-color: #faf7f2;
}

/* 中身が空の3カラム目を非表示 */
.site-footer-content .row > div:nth-child(3) {
	display: none !important;
}

/* 残る2カラムを半分ずつに広げる */
@media (min-width: 992px) {
	.site-footer-content .row > .col-lg-4 {
		flex: 0 0 50% !important;
		max-width: 50% !important;
	}
}

aside#block-14,
aside#block-15 {
	margin-bottom: 0 !important;
}