@charset "utf-8";
/*
Theme Name: Lightning Pro Child Sample
Theme URI:
Template: lightning-pro
Description: 日本仏事ネット 原型サイト用の子テーマ。色は下の :root の2色を変えるだけで全体に反映されます。
Author: 日本仏事ネット
Tags:
Version: 1.0.0
*/

/***★ サイトの色（ここだけ書き換える）★***/
:root {
	--genkei-main: #a50021;      /* メインカラー（見出し・帯） */
	--genkei-main-light: #fbeef0; /* メインカラーの薄い背景 */
	--genkei-accent: #c8102e;    /* ボタン（問い合わせ）の色 */
	--genkei-text: #333;
}

body { color: var(--genkei-text); }

/***★ コンテンツ幅 ★***/
@media (min-width: 1200px) {
	.container { max-width: 1000px; }
	.mainSection-col-two { width: 800px; }
	.sideSection-col-two { width: calc(100% - 800px); }
	.gMenu_outer, .gMenu, .gMenu > li { width: 100%; }
}
@media (max-width: 1199.98px) {
	.siteHeader_logo { width: unset; }
}

/***★ ヘッダー ★***/
.siteHeader .container { padding-top: 5px; }
.navbar-header { width: 100%; }
.headerTop .headerTop_description { padding: 2px 20px 7px 0; line-height: 150%; font-size: 12px; }

/* ロゴ右側の電話番号 */
.logo-after { display: block; float: right; text-align: right; }
.header-contact__tel {
	display: block; font-size: 30px; font-weight: bold; line-height: 1.2;
	color: var(--genkei-main); text-decoration: none; letter-spacing: .02em;
}
.header-contact__tel::before { content: "☎ "; font-size: 24px; }
.header-contact__hours { display: block; font-size: 13px; color: #666; }
@media (max-width: 991px) {
	.logo-after { float: none; width: 100%; margin: 10px 0; text-align: center; }
}

/***★ 見出し ★***/
.mainSection-title, .entry-body h2, h2 { font-size: 1.6rem; }
.entry-body h2 {
	background: var(--genkei-main); color: #fff; padding: .6em .8em; border-radius: 4px; border: none;
}
.entry-body h3 {
	border-left: 6px solid var(--genkei-main); border-bottom: 1px solid #ddd; padding: .3em .6em; background: none;
}
.entry-body h3::after { display: none; }
h1.subSection-title, .subSection-title {
	background-color: var(--genkei-main); padding: .6em .7em .5em; color: #fff; border-radius: 4px; border: none;
}
.subSection-title:after { display: none; }

/***★ パンくず ★***/
.breadSection .breadcrumb span { font-size: 14px; }

/***★ 本文の部品（ひな形で使用）★***/
/* 画像の仮枠 */
.genkei-img {
	background: #e5e5e5; color: #888; border: 1px dashed #bbb;
	display: flex; align-items: center; justify-content: center;
	min-height: 220px; margin: 0 0 1.2em; font-size: 15px; text-align: center; padding: 1em;
}
.genkei-img--hero { min-height: 360px; font-size: 18px; }
/* グループブロックの内側をグリッドにする */
.genkei-cards > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.genkei-cards > .wp-block-group__inner-container > * { margin: 0 !important; }
.genkei-card > .wp-block-group__inner-container > *:last-child { margin-bottom: 0; }
/* 安心ポイントなどのカード */
.genkei-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 1.5em; }
.genkei-card { border: 1px solid #ddd; border-top: 4px solid var(--genkei-main); background: #fff; padding: 1em 1.2em; border-radius: 4px; }
.genkei-card h3, .entry-body .genkei-card h3 { border: none; padding: 0; margin: 0 0 .5em; font-size: 1.15rem; color: var(--genkei-main); }
.genkei-card .genkei-price { font-size: 1.6rem; font-weight: bold; color: #c0392b; }
/* 薄い背景のお知らせ枠 */
.genkei-box { background: var(--genkei-main-light); padding: 1.2em 1.4em; border-radius: 6px; margin-bottom: 1.5em; }
/* 問い合わせボタン */
.genkei-cta { text-align: center; margin: 2em 0; }
.genkei-cta a {
	display: inline-block; background: var(--genkei-accent); color: #fff !important; font-size: 1.3rem; font-weight: bold;
	padding: .8em 2.2em; border-radius: 6px; text-decoration: none; box-shadow: 0 3px 0 rgba(0,0,0,.2);
}
.genkei-cta a:hover { opacity: .85; }
.genkei-cta .genkei-cta__tel { display: block; margin-top: .6em; font-size: 1.5rem; font-weight: bold; color: var(--genkei-main); }
/* よくある質問 */
.genkei-faq dt { font-weight: bold; color: var(--genkei-main); margin-top: 1em; }
.genkei-faq dt::before { content: "Q. "; }
.genkei-faq dd { margin: .3em 0 0; padding-bottom: .8em; border-bottom: 1px dotted #ccc; }
.genkei-faq dd::before { content: "A. "; font-weight: bold; color: var(--genkei-accent); }

/***★ 表（料金表など）★***/
.entry-body table { font-size: 16px; }
.entry-body table th { background: var(--genkei-main-light); }
.entry-body table td, .entry-body table th { border: 1px solid #ddd; }
.tablepress { font-size: 16px !important; }
.tablepress td, .tablepress th { border: 1px solid #ddd !important; }

/***★ フッター固定ボタン（電話・メール）★***/
#footerFloatingMenu {
	display: flex; width: 100%; position: fixed; bottom: 0; left: 0; z-index: 9999;
	justify-content: center; gap: 8px; padding: 6px; background: rgba(255,255,255,.95); box-shadow: 0 -2px 6px rgba(0,0,0,.15);
}
#footerFloatingMenu .ffm-btn {
	flex: 1; max-width: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 6px 4px; border-radius: 6px; color: #fff; text-decoration: none; line-height: 1.3;
}
#footerFloatingMenu .ffm-tel { background: var(--genkei-main); }
#footerFloatingMenu .ffm-mail { background: var(--genkei-accent); }
#footerFloatingMenu .ffm-label { font-size: 11px; }
#footerFloatingMenu .ffm-main { font-size: 18px; font-weight: bold; }
body { padding-bottom: 70px; }
@media (max-width: 575px) {
	#footerFloatingMenu .ffm-main { font-size: 15px; }
}

/***★ お問い合わせフォーム ★***/
.wpcf7 label { display: block; font-weight: bold; margin-bottom: 1em; }
.wpcf7 input[type=text], .wpcf7 input[type=tel], .wpcf7 input[type=email], .wpcf7 textarea { width: 100%; font-weight: normal; padding: .5em; border: 1px solid #ccc; border-radius: 4px; }
.wpcf7 .wpcf7-list-item { display: inline-block; margin: .3em 1em .3em 0; font-weight: normal; }
.wpcf7 input[type=submit] { background: var(--genkei-accent); color: #fff; border: none; font-size: 1.2rem; font-weight: bold; padding: .8em 3em; border-radius: 6px; display: block; margin: 1em auto; }

/***★ ページタイトルの帯（テーマ標準の写真を使わない）★***/
.page-header { background-image: none !important; background-color: var(--genkei-main-light) !important; }
.page-header_pageTitle, .page-header h1 { color: var(--genkei-main) !important; }

/* ==================================================
   デザイン強化（塚本石材・姫路ゆめさきテラスの見せ方を参考）
   ================================================== */

/* 本文を少し大きく（ご年配の方にも読みやすく） */
.entry-body { font-size: 17px; line-height: 1.85; }

/* グローバルメニュー：色の帯＋白の太字（PCのみ） */
@media (min-width: 992px) {
	.gMenu_outer { background-color: var(--genkei-main); }
	.gMenu > li { border-left: 1px solid rgba(255,255,255,.35); }
	.gMenu > li:last-child { border-right: 1px solid rgba(255,255,255,.35); }
	.gMenu > li > a { padding: 14px 8px; }
	.gMenu_name { color: #fff !important; font-size: 18px; font-weight: bold; letter-spacing: .03em; }
	.gMenu_description { display: none; }
	.gMenu > li:hover, .gMenu > li.current-menu-item, .gMenu > li.current_page_item { background-color: rgba(0,0,0,.12); }
	.gMenu > li:before, .gMenu > li > a:before, .gMenu > li.current-menu-item > a:after { display: none !important; }
	.device-pc .gMenu > li > a:after { border-bottom: none; }
}

/* 見出し2：大きめの色帯 */
.entry-body h2 { font-size: 1.9rem; font-weight: bold; padding: .55em .8em .5em; letter-spacing: .02em; }
@media (max-width: 767px) { .entry-body h2 { font-size: 1.4rem; } }

/* カード：緑の枠＋見出しの下に短いアクセント線 */
.genkei-card { border: 2px solid var(--genkei-main); border-top-width: 2px; border-radius: 4px; padding: 1.1em 1.2em; }
.genkei-card h3, .entry-body .genkei-card h3 {
	position: relative; font-size: 1.25rem; font-weight: bold; padding-bottom: .45em; margin-bottom: .7em;
	border-bottom: 1px solid #ddd;
}
.genkei-card h3::after, .entry-body .genkei-card h3::after {
	display: block !important; content: ""; position: absolute; left: 0; bottom: -1px; width: 4em; height: 2px; background: var(--genkei-main);
}

/* 黄色マーカー（強調したい言葉に class="genkei-marker"） */
.genkei-marker, .entry-body mark { background: linear-gradient(transparent 45%, #ffe08a 45%); font-weight: bold; padding: 0 .1em; color: inherit; }

/* スタッフ写真つきのあいさつ文 */
.genkei-staff > .wp-block-group__inner-container { display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: start; }
.genkei-staff > .wp-block-group__inner-container > * { margin: 0 !important; }
.genkei-staff .genkei-staff__photo {
	width: 90px; height: 90px; border-radius: 50%; background: #e5e5e5; color: #888; border: 1px dashed #bbb;
	display: flex; align-items: center; justify-content: center; font-size: 12px; text-align: center;
}

/* ご相談ランキング（1位〜3位） */
.genkei-rank { background: var(--genkei-main-light); padding: 16px; border-radius: 4px; margin-bottom: 1.5em; counter-reset: genkeirank; }
.genkei-rank > .wp-block-group__inner-container > * { margin: 0 0 14px !important; }
.genkei-rank > .wp-block-group__inner-container > *:last-child { margin-bottom: 0 !important; }
.genkei-rank-item { counter-increment: genkeirank; background: #fff; }
.genkei-rank-item > .wp-block-group__inner-container {
	display: grid; grid-template-columns: 1fr 220px; gap: 0 20px; align-items: center;
}
.genkei-rank-item > .wp-block-group__inner-container > * { margin: 0 !important; }
.genkei-rank-item .genkei-rank-title {
	grid-column: 1; position: relative; padding: .5em .6em .2em 3.2em; font-size: 1.5rem; font-weight: bold; color: var(--genkei-main);
	border: 1px solid var(--genkei-main); border-bottom: none; line-height: 1.4;
	background: linear-gradient(#fff, #fff);
}
.genkei-rank-item .genkei-rank-title::before {
	content: counter(genkeirank); position: absolute; left: .5em; top: 50%; transform: translateY(-40%);
	width: 1.6em; height: 1.6em; border-radius: 50%; color: #fff; font-size: .9em; display: flex; align-items: center; justify-content: center;
	background: #c9a227; box-shadow: 0 2px 0 rgba(0,0,0,.15);
}
.genkei-rank-item:nth-child(2) .genkei-rank-title::before { background: #a7a9ac; }
.genkei-rank-item:nth-child(3) .genkei-rank-title::before { background: #c07a46; }
.genkei-rank-item .genkei-rank-price {
	grid-column: 1; padding: .1em .6em .5em 3.6em; font-size: 1.7rem; font-weight: bold; color: #444;
	border: 1px solid var(--genkei-main); border-top: none; border-right: 14px solid var(--genkei-main);
	background: linear-gradient(#fff, var(--genkei-main-light));
}
.genkei-rank-item .genkei-rank-price small { font-size: .55em; font-weight: normal; }
.genkei-rank-item .genkei-img { grid-column: 2; grid-row: 1 / span 2; min-height: 120px; margin: 0; }
@media (max-width: 767px) {
	.genkei-rank-item > .wp-block-group__inner-container { grid-template-columns: 1fr; }
	.genkei-rank-item .genkei-img { grid-column: 1; grid-row: auto; min-height: 140px; margin-top: 8px !important; }
	.genkei-rank-item .genkei-rank-title { font-size: 1.2rem; }
	.genkei-rank-item .genkei-rank-price { font-size: 1.4rem; }
}

/* 電話・メールのお問い合わせ帯（ページの途中に入れる） */
.genkei-contact-band {
	display: grid; grid-template-columns: auto 1fr 1fr; gap: 10px; align-items: stretch;
	background: var(--genkei-main); padding: 10px; border-radius: 4px; margin: 1.5em 0 !important;
}
.genkei-contact-band > * { background: #fff; border-radius: 3px; padding: .5em .8em; display: flex; flex-direction: column; justify-content: center; line-height: 1.35; }
.genkei-contact-band .b-lead { color: var(--genkei-main); font-weight: bold; font-size: 15px; }
.genkei-contact-band a { text-decoration: none; color: #222 !important; }
.genkei-contact-band .b-tel { font-size: 1.9rem; font-weight: bold; letter-spacing: .02em; }
.genkei-contact-band .b-tel::before { content: "☎ "; color: var(--genkei-main); }
.genkei-contact-band .b-mail { font-size: 1.15rem; font-weight: bold; }
.genkei-contact-band .b-mail::before { content: "✉ "; color: var(--genkei-accent); }
.genkei-contact-band small { display: block; font-size: 12px; font-weight: normal; color: #666; }
.genkei-contact-band .b-badge { display: inline-block; background: var(--genkei-accent); color: #fff; border-radius: 1em; padding: 0 .7em; font-size: 12px; margin-left: .4em; vertical-align: middle; }
@media (max-width: 767px) {
	.genkei-contact-band { grid-template-columns: 1fr; }
	.genkei-contact-band .b-tel { font-size: 1.6rem; }
}

/* 問い合わせボタンに立体感 */
.genkei-cta a { background: linear-gradient(#e0314f, var(--genkei-accent)); border-bottom: 4px solid rgba(0,0,0,.2); box-shadow: none; }

/* 表：1列目を見出し風に */
.entry-body .wp-block-table td:first-child { background: #fafafa; font-weight: bold; color: var(--genkei-main); }

/* フッター：上にメインカラーの線 */
.siteFooter { border-top: 3px solid var(--genkei-main); }

/* 修正：メニューの帯を画面幅いっぱいに／問い合わせ帯の配置 */
@media (min-width: 992px) {
	.gMenu_outer { box-shadow: 0 0 0 100vmax var(--genkei-main); clip-path: inset(0 -100vmax); }
}
.genkei-contact-band > a, .genkei-contact-band > span { display: block; align-self: center; }
.genkei-contact-band > * { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.genkei-contact-band .b-tel, .genkei-contact-band .b-mail { display: block; padding-top: .7em; padding-bottom: .7em; }
.genkei-contact-band .b-badge { display: inline-block; width: auto; }
.genkei-staff + p { margin-top: 1em; }
.genkei-contact-band .b-mail::before { content: none; }
.genkei-rank-item .genkei-rank-title { border-right: 14px solid var(--genkei-main); }


/***★ 福高スポーツ振興会用 追加 ★***/
.header-contact__mail{display:inline-block;background:#c8102e;color:#fff !important;padding:.6em 1.4em;border-radius:4px;font-weight:bold;text-decoration:none;}
.header-contact__mail:hover{opacity:.85;}
#footerFloatingMenu .ffm-mail:only-child{flex:1 1 100%;width:100%;max-width:none;}
.fk-hero img{width:100%;height:auto;display:block;}
.fk-news li{overflow:hidden;padding:.8em 0;border-bottom:1px solid #e5e5e5;list-style:none;}
.fk-news .wp-block-latest-posts__featured-image{float:left;width:120px;margin:0 1em 0 0;}
.fk-news .wp-block-latest-posts__featured-image img{width:120px !important;height:auto;max-width:120px;}
.fk-news .wp-block-latest-posts__post-title{font-weight:bold;}
.fk-news .wp-block-latest-posts__post-date{display:block;color:#888;font-size:.85em;}
.fk-banners img{vertical-align:middle;margin-right:6px;}
