/* =============================================
   よろこびの樹木葬 専門サイト
   .yj-site 配下にスコープ（既存LPには影響しない）
   ============================================= */

.yj-site {
	--yj-green: #4a6741;
	--yj-green-dark: #384f31;
	--yj-green-light: #eef2ea;
	--yj-beige: #f7f5f0;
	--yj-beige-dark: #dfddd8;
	--yj-text: #333330;
	--yj-text-light: #77756e;
	--yj-gold: #c5a05c;
	--yj-white: #ffffff;
	--yj-font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
	--yj-font-heading: "Shippori Mincho", "Hiragino Mincho ProN", serif;

	font-family: var(--yj-font-body);
	color: var(--yj-text);
	background: var(--yj-white);
	line-height: 1.9;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

.yj-site img { max-width: 100%; height: auto; display: block; }
.yj-site a { color: inherit; text-decoration: none; }
.yj-pc-only { display: inline; }
@media (max-width: 767px) { .yj-pc-only { display: none; } }

/* ---------- 共通パーツ ---------- */
.yj-section { padding: 80px 0; }
.yj-section:nth-of-type(even) { background: var(--yj-beige); }
.yj-section__inner { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.yj-section-eyebrow {
	font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
	color: var(--yj-gold); margin: 0 0 8px; text-align: center;
}
.yj-section-title {
	font-family: var(--yj-font-heading);
	font-size: 30px; font-weight: 600; line-height: 1.5;
	margin: 0 0 24px; color: var(--yj-text);
}
.yj-section-title--center { text-align: center; }
.yj-section-title em { font-style: normal; color: var(--yj-green); font-size: 1.3em; padding: 0 .1em; }
.yj-section-lead { text-align: center; color: var(--yj-text-light); margin: 0 0 40px; }
.yj-section__more { text-align: center; margin-top: 40px; }

/* ボタン */
.yj-btn {
	display: inline-block; text-align: center; border-radius: 999px;
	font-weight: 500; letter-spacing: .05em; transition: opacity .2s, transform .2s;
	line-height: 1.4;
}
.yj-btn:hover { opacity: .85; transform: translateY(-1px); }
.yj-btn--primary { background: var(--yj-green); color: var(--yj-white) !important; }
.yj-btn--outline { background: var(--yj-white); color: var(--yj-green) !important; border: 1.5px solid var(--yj-green); }
.yj-btn--sm { padding: 10px 22px; font-size: 14px; }
.yj-btn--lg { padding: 16px 48px; font-size: 16px; }

/* ---------- ヘッダー ---------- */
.yj-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--yj-beige-dark);
}
.yj-header__inner {
	max-width: 1240px; margin: 0 auto; padding: 12px 20px;
	display: flex; align-items: center; gap: 24px;
}
.yj-header__logo { display: flex; flex-direction: column; line-height: 1.3; }
.yj-header__logo-main { font-family: var(--yj-font-heading); font-size: 22px; font-weight: 600; color: var(--yj-green-dark); }
.yj-header__logo-sub { font-size: 11px; color: var(--yj-text-light); letter-spacing: .08em; }
.yj-header__nav { margin-left: auto; }
.yj-header__nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.yj-header__nav a { font-size: 14px; font-weight: 500; }
.yj-header__nav a:hover { color: var(--yj-green); }
.yj-header__actions { display: flex; align-items: center; gap: 10px; }
.yj-header__tel { display: flex; flex-direction: column; text-align: right; line-height: 1.4; margin-right: 4px; }
.yj-header__tel-number { font-size: 18px; font-weight: 700; color: var(--yj-green-dark); }
.yj-header__tel-hours { font-size: 10px; color: var(--yj-text-light); }
.yj-header__menu-btn { display: none; }
.yj-mobile-menu { display: none; }

@media (max-width: 1023px) {
	.yj-header__nav, .yj-header__actions { display: none; }
	.yj-header__menu-btn {
		display: flex; flex-direction: column; justify-content: center; gap: 5px;
		margin-left: auto; width: 44px; height: 44px; padding: 10px;
		background: none; border: none; cursor: pointer;
	}
	.yj-header__menu-btn span { display: block; height: 2px; background: var(--yj-green-dark); border-radius: 2px; }
	.yj-menu-open .yj-mobile-menu { display: block; border-top: 1px solid var(--yj-beige-dark); }
	.yj-mobile-menu ul { list-style: none; margin: 0; padding: 8px 0; }
	.yj-mobile-menu a { display: block; padding: 14px 24px; font-size: 15px; border-bottom: 1px solid var(--yj-beige); }
}

/* ---------- ヒーロー（ホーム） ---------- */
.yj-hero {
	background: var(--yj-green-dark) url('images/fv-panel-bg.jpg') center / cover no-repeat;
	color: var(--yj-white);
	padding: 130px 20px 120px;
	text-align: center;
}
.yj-hero__title {
	font-family: var(--yj-font-heading);
	font-size: 44px; font-weight: 600; line-height: 1.6;
	margin: 0 0 24px; letter-spacing: .06em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.yj-hero__lead { font-size: 16px; margin: 0 0 40px; opacity: .95; }

/* 写真ありのとき: 左テキスト＋右に水たまり型（ブロブ）切り抜きスライダー
   テキストは写真に少し重なり、袋文字（縁取り）で可読性を確保する */
.yj-hero--split { text-align: left; padding: 80px 20px; overflow: hidden; }
.yj-hero--split .yj-hero__wrap { max-width: 1080px; margin: 0 auto; position: relative; }
/* テキストは写真の上に重ねて絶対配置（袋文字で可読性を担保） */
.yj-hero--split .yj-hero__inner {
	position: absolute; z-index: 2;
	left: 0; top: 50%; transform: translateY(-50%);
	width: min(64%, 660px);
}
.yj-hero--split .yj-hero__title { font-size: clamp(30px, 3.4vw, 44px); }
.yj-hero--split .yj-hero__lead { margin-bottom: 32px; }

/* 袋文字: 白文字に深緑の縁取り（paint-order対応ブラウザはストローク、他はtext-shadowで代替） */
.yj-hero--split .yj-hero__title,
.yj-hero--split .yj-hero__lead {
	color: var(--yj-white);
	text-shadow:
		2px 0 0 var(--yj-green-dark), -2px 0 0 var(--yj-green-dark),
		0 2px 0 var(--yj-green-dark), 0 -2px 0 var(--yj-green-dark),
		2px 2px 0 var(--yj-green-dark), -2px -2px 0 var(--yj-green-dark),
		2px -2px 0 var(--yj-green-dark), -2px 2px 0 var(--yj-green-dark),
		0 4px 18px rgba(0, 0, 0, .35);
}
@supports (paint-order: stroke) {
	.yj-hero--split .yj-hero__title {
		-webkit-text-stroke: 7px var(--yj-green-dark);
		paint-order: stroke fill;
		text-shadow: 0 4px 18px rgba(0, 0, 0, .3);
	}
	.yj-hero--split .yj-hero__lead {
		-webkit-text-stroke: 4px var(--yj-green-dark);
		paint-order: stroke fill;
		text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
	}
}

/* 水たまり型ブロブ: 不規則な角丸をゆっくり変形させる */
.yj-hero__oval {
	position: relative;
	width: clamp(420px, 52vw, 700px);
	aspect-ratio: 10/8;
	overflow: hidden;
	margin-left: auto; /* 右寄せ。テキストが左から重なる */
	border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%;
	box-shadow: 0 12px 44px rgba(0, 0, 0, .3), 0 0 0 1px rgba(197, 160, 92, .45);
	animation: yj-blob 16s ease-in-out infinite;
}
@keyframes yj-blob {
	0%, 100% { border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; }
	33%      { border-radius: 46% 54% 44% 56% / 58% 42% 58% 42%; }
	66%      { border-radius: 52% 48% 60% 40% / 44% 52% 48% 56%; }
}
.yj-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.yj-hero__slide.is-active { opacity: 1; }
.yj-hero__slide img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 767px) {
	.yj-hero { padding: 80px 20px 70px; }
	.yj-hero__title { font-size: 30px; }
	/* SP: 上半分は全幅画像（下辺は緩やかな波線）→ キャッチコピーの縦積み */
	.yj-hero--split { padding: 0 0 56px; }
	.yj-hero--split .yj-hero__wrap { display: flex; flex-direction: column; }
	.yj-hero__oval {
		order: 1;
		width: 100%; margin: 0;
		aspect-ratio: 4/3.4;
		border-radius: 0;
		box-shadow: none;
		animation: none;
		clip-path: url(#yj-hero-wave);
	}
	.yj-hero--split .yj-hero__inner {
		position: static; transform: none; width: auto;
		order: 2; margin: 16px 0 0; padding: 0 24px;
	}
}

/* ---------- お知らせ（ピックアップも同じリスト形式を使用） ---------- */
.yj-news-list { list-style: none; margin: 0; padding: 0; }
.yj-news-list li { border-bottom: 1px solid var(--yj-beige); }
.yj-news-list a { display: flex; gap: 16px; padding: 14px 4px; align-items: baseline; }
.yj-news-list a:hover .yj-news-list__title { color: var(--yj-green); text-decoration: underline; }
.yj-news-list time { font-size: 13px; color: var(--yj-text-light); flex-shrink: 0; }
.yj-news-list__cat {
	flex-shrink: 0; font-size: 11px; padding: 2px 12px; border-radius: 999px;
	border: 1px solid var(--yj-green); color: var(--yj-green);
}
@media (max-width: 767px) { .yj-news-list a { flex-wrap: wrap; gap: 8px; } }

/* ---------- 選ばれる理由 ---------- */
.yj-reasons__list {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.yj-reasons__list li { background: var(--yj-white); border-radius: 12px; padding: 32px 28px; box-shadow: 0 2px 16px rgba(56, 79, 49, .06); }
.yj-reasons__num { font-size: 26px; color: var(--yj-gold); font-family: var(--yj-font-heading); display: block; margin-bottom: 8px; }
.yj-reasons__list h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; color: var(--yj-green-dark); }
.yj-reasons__list p { font-size: 14px; margin: 0; color: var(--yj-text-light); }
@media (max-width: 1023px) { .yj-reasons__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .yj-reasons__list { grid-template-columns: 1fr; } }

/* ---------- 特徴4つ（生成イラスト・円形フレーム） ---------- */
.yj-features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.yj-features__illust {
	width: 130px; height: 130px; border-radius: 50%; object-fit: cover;
	margin: 0 auto 16px; border: 1px solid var(--yj-beige-dark); background: var(--yj-beige);
}
.yj-features__item h3 { font-family: var(--yj-font-heading); font-size: 19px; margin: 0 0 8px; color: var(--yj-green-dark); }
.yj-features__item p { font-size: 13px; color: var(--yj-text-light); margin: 0; }
@media (max-width: 767px) { .yj-features__grid { grid-template-columns: repeat(2, 1fr); } .yj-features__illust { width: 100px; height: 100px; } }

/* ---------- 庭苑カード ---------- */
.yj-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1023px) { .yj-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .yj-card-grid { grid-template-columns: 1fr; } }

.yj-card { background: var(--yj-white); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 16px rgba(56, 79, 49, .08); transition: transform .25s, box-shadow .25s; }
.yj-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(56, 79, 49, .14); }
.yj-card__link { display: block; }
.yj-card__thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.yj-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.yj-card__thumb-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--yj-green-light), var(--yj-beige-dark)); }
.yj-card__tag {
	position: absolute; top: 12px; left: 12px;
	padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--yj-white);
}
.yj-card__tag--new { background: var(--yj-gold); }
.yj-card__tag--few { background: #b0563c; }
.yj-card__tag--soldout { background: #888; }
.yj-card__body { padding: 20px 22px 22px; }
.yj-card__title { font-family: var(--yj-font-heading); font-size: 18px; font-weight: 600; margin: 0 0 4px; color: var(--yj-green-dark); }
.yj-card__temple { font-size: 13px; color: var(--yj-text-light); margin: 0 0 12px; }
.yj-card__meta { margin: 0 0 14px; font-size: 13px; }
.yj-card__meta div { display: flex; gap: 10px; padding: 4px 0; border-bottom: 1px dashed var(--yj-beige-dark); }
.yj-card__meta dt { color: var(--yj-text-light); flex-shrink: 0; width: 60px; }
.yj-card__meta dd { margin: 0; }
.yj-card__more { font-size: 14px; font-weight: 500; color: var(--yj-green); }
.yj-card__more::after { content: " →"; }

/* ---------- ご利用の流れ ---------- */
.yj-flow__steps {
	list-style: none; margin: 0; padding: 0; counter-reset: step;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.yj-flow__steps li { background: var(--yj-white); border: 1px solid var(--yj-beige-dark); border-radius: 12px; padding: 30px 26px; position: relative; }
.yj-flow__num { font-size: 13px; letter-spacing: .15em; color: var(--yj-gold); font-weight: 700; display: block; margin-bottom: 10px; }
.yj-flow__steps h3 { font-size: 18px; margin: 0 0 8px; color: var(--yj-green-dark); }
.yj-flow__steps p { font-size: 14px; color: var(--yj-text-light); margin: 0; }
@media (max-width: 767px) { .yj-flow__steps { grid-template-columns: 1fr; } }

/* ---------- 情報リソース ---------- */
.yj-resources__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.yj-resources__item {
	display: block; background: var(--yj-green-light); border-radius: 12px; padding: 30px 26px;
	transition: background .2s;
}
.yj-resources__item:hover { background: #e2e9dc; }
.yj-resources__item h3 { font-family: var(--yj-font-heading); font-size: 18px; margin: 0 0 8px; color: var(--yj-green-dark); }
.yj-resources__item h3::after { content: " →"; color: var(--yj-gold); }
.yj-resources__item p { font-size: 13px; color: var(--yj-text-light); margin: 0; }
@media (max-width: 767px) { .yj-resources__grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.yj-cta { background: var(--yj-green-dark); color: var(--yj-white); padding: 80px 20px; text-align: center; }
.yj-cta .yj-section-title { color: var(--yj-white); }
.yj-cta__inner { max-width: 760px; margin: 0 auto; }
.yj-cta__lead { margin: 0 0 36px; opacity: .92; }
.yj-cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.yj-cta .yj-btn--primary { background: var(--yj-gold); }
.yj-cta__tel { display: inline-flex; flex-direction: column; gap: 2px; }
.yj-cta__tel-label { font-size: 13px; opacity: .85; }
.yj-cta__tel-number { font-size: 34px; font-weight: 700; letter-spacing: .04em; }
.yj-cta__tel-hours { font-size: 12px; opacity: .8; }

/* ---------- フッター ---------- */
.yj-footer { background: var(--yj-text); color: #ccc; padding: 60px 20px 90px; }
.yj-footer__inner { max-width: 1080px; margin: 0 auto; display: flex; gap: 60px; flex-wrap: wrap; }
.yj-footer__logo { font-family: var(--yj-font-heading); font-size: 22px; color: var(--yj-white); margin: 0 0 12px; }
.yj-footer__desc { font-size: 13px; margin: 0; }
.yj-footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.yj-footer__nav a { font-size: 14px; }
.yj-footer__nav a:hover { color: var(--yj-white); text-decoration: underline; }
.yj-footer__copyright { text-align: center; font-size: 12px; margin: 48px 0 0; color: #999; }

/* ---------- フローティングCTA ---------- */
.yj-floating-cta {
	position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
	display: none; grid-template-columns: 64px 1fr 1fr;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, .12);
}
.yj-floating-cta a { display: flex; align-items: center; justify-content: center; padding: 16px 8px; font-size: 14px; font-weight: 700; color: var(--yj-white); }
.yj-floating-cta__tel { background: var(--yj-text); }
.yj-floating-cta__shiryo { background: var(--yj-gold); }
.yj-floating-cta__tour { background: var(--yj-green); }
@media (max-width: 1023px) { .yj-floating-cta { display: grid; } }

/* ---------- お知らせ 詳細・一覧 ---------- */
.yj-news-single__meta { display: flex; gap: 12px; align-items: center; margin: 0 0 10px; font-size: 13px; color: var(--yj-text-light); }
.yj-news-single__image { max-width: 800px; margin: 0 auto 32px; border-radius: 12px; overflow: hidden; }
.yj-news-single__image img { width: 100%; height: auto; display: block; }
.yj-news-single__body { max-width: 800px; margin: 0 auto 40px; }
.yj-news-single__body p { font-size: 15px; margin: 0 0 18px; }

/* ---------- お客様の声 確認用プレビュー（他ページへの導線を無効化） ---------- */
body.yj-voice-preview .yj-header__nav,
body.yj-voice-preview .yj-header__actions,
body.yj-voice-preview .yj-header__menu-btn,
body.yj-voice-preview .yj-cta,
body.yj-voice-preview .yj-footer__nav,
body.yj-voice-preview .yj-floating-cta { display: none !important; }
body.yj-voice-preview .yj-header__logo { pointer-events: none; }

.yj-voice-preview-notice {
	background: #fdf3d8;
	border-bottom: 1px solid #e7d391;
	color: #6b5618;
	font-size: 14px;
	line-height: 1.6;
	text-align: center;
	padding: 12px 20px;
}

/* ---------- お客様の声 詳細（インタビュー形式・参考LPに準拠） ---------- */
.yj-voice-single-section { background: #f9f8f4; padding-top: 12px; }
.yj-voice-single { color: #153e0e; line-height: 1.7; }
.yj-voice-single__meta { font-size: 14px; color: var(--yj-text-light); margin: 10px 0 0; }

/* ページタイトル: 緑・大きめ・下ボーダー */
.yj-voice-single__title.yj-section-title {
	font-family: var(--yj-font-body);
	color: #258c56;
	font-size: clamp(20px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.5;
	padding-bottom: .8em;
	border-bottom: solid 2px #258c56;
}

.yj-voice-single__hero { max-width: 1000px; margin: 0 auto 30px; border-radius: 8px; overflow: hidden; }
.yj-voice-single__hero img { width: 100%; height: auto; display: block; }

/* 目次: 白カード・緑の連番 */
.yj-voice-toc { max-width: 1000px; margin: 0 auto 80px; padding: 30px; background: var(--yj-white); border-radius: 8px; }
.yj-voice-toc__title { margin: 0 0 20px; font-size: 16px; font-weight: 700; color: #153e0e; }
.yj-voice-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: yjToc; }
.yj-voice-toc li { font-size: 16px; margin-bottom: 8px; position: relative; padding-left: 1.5em; counter-increment: yjToc; }
.yj-voice-toc li::before { content: counter(yjToc) "."; position: absolute; left: 0; top: 0; color: #258c56; font-weight: 700; }
.yj-voice-toc a { color: #153e0e; }
.yj-voice-toc a:hover { text-decoration: underline; }

.yj-voice-single__body { max-width: 1000px; margin: 0 auto 60px; }
.yj-voice-single__section { margin-bottom: 100px; }
.yj-voice-single__section:last-child { margin-bottom: 0; }

/* セクション見出し: 緑・中央・下に70pxライン */
.yj-voice-single__heading {
	position: relative;
	margin: 0 0 40px;
	padding-bottom: 14px;
	font-family: var(--yj-font-body);
	font-size: clamp(22px, 2.7vw, 32px);
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	color: #258c56;
}
.yj-voice-single__heading::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 70px; height: 2px; background: #258c56; transform: translateX(-50%); }

/* 質問: 明るい緑・左に水平ライン */
.yj-voice-single__q {
	margin: 0 0 30px;
	padding-left: 120px;
	position: relative;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.6;
	color: #399d27;
}
.yj-voice-single__q::before { content: ""; position: absolute; left: 0; top: .75em; width: 100px; height: 1px; background: #399d27; }

/* 回答: 16px・話者名はピンク */
.yj-voice-single__a { margin: 0 0 80px; font-size: 16px; line-height: 1.7; }
.yj-voice-single__a:last-child { margin-bottom: 0; }
.yj-voice-single__speaker { color: #b77693; font-weight: 700; }

/* セクション画像: 左33%・角丸8px */
.yj-voice-single__section-body--with-image { display: grid; grid-template-columns: 33% minmax(0, 1fr); gap: 25px 3%; align-items: start; }
.yj-voice-single__section-image { margin: 0; border-radius: 8px; overflow: hidden; }
.yj-voice-single__section-image img { width: 100%; height: auto; display: block; border-radius: 8px; }

@media (max-width: 950px) {
	.yj-voice-single__q { font-size: 17.5px; padding-left: 50px; }
	.yj-voice-single__q::before { width: 40px; }
}
@media (max-width: 767px) {
	.yj-voice-toc { padding: 15px; margin-bottom: 40px; }
	.yj-voice-single__section { margin-bottom: 40px; }
	.yj-voice-single__a { margin-bottom: 40px; }
	.yj-voice-single__section-body--with-image { grid-template-columns: 1fr; }
	.yj-voice-single__section-image { max-width: 400px; margin: 0 auto 5px; }
}
.yj-voice-single__closing { margin-top: 8px; padding: 22px 26px; background: var(--yj-white); border-radius: 8px; font-size: 14px; line-height: 1.9; color: var(--yj-text-light); }

/* ---------- LPビルダー ---------- */
.yj-lpb__image { margin: 0; line-height: 0; text-align: center; }
.yj-lpb__image .yj-lpb__img { width: 100%; height: auto; display: block; }
.yj-lpb__image a { display: block; }
.yj-lpb__free { line-height: 1.7; }
.yj-lpb-voices { background: #f6f4ee; }

/* 見出し行（hタグ・SEO用の実テキスト） */
.yj-lpb__heading { margin: 0; padding: 28px 20px; text-align: center; font-weight: 700; color: var(--yj-green-dark); background: var(--yj-beige); line-height: 1.5; }
.yj-lpb__heading--h1 { font-size: 30px; }
.yj-lpb__heading--h2 { font-size: 26px; }
.yj-lpb__heading--h3 { font-size: 21px; }
.yj-lpb__heading--h4 { font-size: 17px; padding: 20px; }
.yj-lpb__row--bg .yj-lpb__heading { background: transparent; color: var(--yj-white); }

/* 非表示行（データは保持したまま display:none で隠す） */
.yj-lpb__row--hidden { display: none !important; }

/* フォーム行 */
.yj-lpb__form { padding: 24px 16px; }
.yj-lpb__form-image { margin: 0 auto 20px; max-width: 700px; text-align: center; }
.yj-lpb__form-image img { width: 100%; height: auto; display: inline-block; border-radius: 8px; }

/* タブ切り替え */
.yj-lpb-tabs { margin: 0; }
.yj-lpb-tabs__nav { display: flex; }
.yj-lpb-tabs__btn {
	flex: 1; padding: 14px 10px;
	font-size: 16px; font-weight: 700; line-height: 1.4;
	cursor: pointer; border: none;
	background: #e9e6dd; color: #6b675e;
	transition: background .15s, color .15s;
}
.yj-lpb-tabs__btn:first-child { border-radius: 8px 0 0 0; }
.yj-lpb-tabs__btn:last-child { border-radius: 0 8px 0 0; }
.yj-lpb-tabs__btn.is-active { background: var(--yj-green-dark, #384f31); color: #fff; }
.yj-lpb-tabs__panel { display: none; padding: 24px 0 8px; }
.yj-lpb-tabs__panel.is-active { display: block; }

/* 余白プリセット（LPビルダー行の共通設定） */
.yj-lpb-mt-s { margin-top: 8px; }
.yj-lpb-mt-m { margin-top: 24px; }
.yj-lpb-mt-l { margin-top: 48px; }
.yj-lpb-mt-xl { margin-top: 80px; }
.yj-lpb-mb-s { margin-bottom: 8px; }
.yj-lpb-mb-m { margin-bottom: 24px; }
.yj-lpb-mb-l { margin-bottom: 48px; }
.yj-lpb-mb-xl { margin-bottom: 80px; }
.yj-lpb-px-s { padding-left: 12px; padding-right: 12px; }
.yj-lpb-px-m { padding-left: 24px; padding-right: 24px; }
.yj-lpb-px-l { padding-left: 48px; padding-right: 48px; }
@media (max-width: 767px) {
	.yj-lpb-mt-l { margin-top: 32px; }
	.yj-lpb-mt-xl { margin-top: 48px; }
	.yj-lpb-mb-l { margin-bottom: 32px; }
	.yj-lpb-mb-xl { margin-bottom: 48px; }
	.yj-lpb-px-l { padding-left: 24px; padding-right: 24px; }
}

/* 背景画像つきの行: カバー風に中身を重ねる */
.yj-lpb__row--bg { background-size: cover; background-position: center top; padding: 36px 20px; }
.yj-lpb__row--bg .yj-lpb__image .yj-lpb__img { width: 100%; max-width: 480px; margin: 0 auto; }
.yj-lpb__row--bg .yj-lpb__image + .yj-lpb__image { margin-top: 14px; }
.yj-lpb__row--bg .yj-lpb-voices { background: transparent; }

.yj-pagination { text-align: center; margin-top: 40px; }
.yj-pagination .page-numbers {
	display: inline-block; min-width: 38px; padding: 8px 10px; margin: 0 3px;
	border: 1px solid var(--yj-beige-dark); border-radius: 8px; font-size: 14px;
}
.yj-pagination .page-numbers.current { background: var(--yj-green); color: var(--yj-white); border-color: var(--yj-green); }
.yj-pagination a.page-numbers:hover { border-color: var(--yj-green); color: var(--yj-green); }

/* ---------- 資料請求ページ（CF7フォーム） ---------- */
.yj-contact-form { max-width: 720px; margin: 0 auto; }
.yj-contact-form .form-field { margin-bottom: 26px; }
.yj-contact-form .form-field > label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
/* LP用カスタムCSS（.required{color:#e60012} と （）擬似要素）を打ち消して白文字バッジに統一 */
.yj-contact-form .required {
	display: inline-block; margin-left: 8px; padding: 1px 10px;
	background: #b0563c; color: var(--yj-white) !important; font-size: 11px; font-weight: 500; border-radius: 4px; vertical-align: 2px;
}
.yj-contact-form .optional {
	display: inline-block; margin-left: 8px; padding: 1px 10px;
	background: var(--yj-beige-dark); color: var(--yj-text-light) !important; font-size: 11px; font-weight: 500; border-radius: 4px; vertical-align: 2px;
}
.yj-contact-form .required::before,
.yj-contact-form .required::after,
.yj-contact-form .optional::before,
.yj-contact-form .optional::after { content: none !important; }
.yj-contact-form .field-note { font-size: 12px; color: var(--yj-text-light); margin: 0 0 6px; }
.yj-contact-form input[type="text"],
.yj-contact-form input[type="tel"],
.yj-contact-form input[type="email"],
.yj-contact-form select,
.yj-contact-form textarea {
	width: 100%; padding: 13px 16px; font-size: 16px;
	border: 1px solid var(--yj-beige-dark); border-radius: 8px;
	background: var(--yj-white); color: var(--yj-text);
}
.yj-contact-form input:focus,
.yj-contact-form select:focus,
.yj-contact-form textarea:focus { outline: 2px solid var(--yj-green); border-color: var(--yj-green); }
.yj-contact-form textarea { min-height: 140px; }
.yj-contact-form .privacy-text { font-size: 13px; color: var(--yj-text-light); background: var(--yj-beige); border-radius: 8px; padding: 14px 16px; }
.yj-contact-form .wpcf7-acceptance label { font-weight: 500; font-size: 14px; }
.yj-contact-form .submit-wrap { text-align: center; margin-top: 34px; }
.yj-contact-form input[type="submit"] {
	display: inline-block; padding: 18px 72px; border: none; border-radius: 999px; cursor: pointer;
	background: var(--yj-green); color: var(--yj-white); font-size: 17px; font-weight: 700; letter-spacing: .05em;
	transition: opacity .2s, transform .2s;
}
.yj-contact-form input[type="submit"]:hover { opacity: .85; transform: translateY(-1px); }
.yj-contact-form .wpcf7-not-valid-tip { font-size: 12.5px; margin-top: 4px; }
.yj-contact-form .wpcf7-response-output { border-radius: 8px; padding: 14px 16px; }

.yj-contact-tel { text-align: center; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--yj-beige-dark); }
.yj-contact-tel__label { font-size: 14px; color: var(--yj-text-light); margin: 0 0 4px; }
.yj-contact-tel__number { font-size: 32px; font-weight: 700; color: var(--yj-green-dark); }
.yj-contact-tel__hours { font-size: 12px; color: var(--yj-text-light); margin: 4px 0 0; }

/* ---------- aboutページ ---------- */
.yj-about-note { max-width: 800px; margin: 0 auto; }
.yj-about-note p { margin: 0 0 18px; font-size: 15px; }
.yj-about-note strong { color: var(--yj-green-dark); }
.yj-about-note__small { font-size: 12px; color: var(--yj-text-light); }

/* ---------- 一覧ページ ---------- */
.yj-page-header { background: var(--yj-beige); padding: 48px 0 40px; }
.yj-page-header .yj-section-eyebrow,
.yj-page-header .yj-section-title { text-align: left; }
.yj-page-header .yj-section-lead { text-align: left; margin-bottom: 0; }

.yj-breadcrumb { font-size: 12px; color: var(--yj-text-light); margin-bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.yj-breadcrumb a:hover { text-decoration: underline; }

.yj-area-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.yj-area-tabs__tab {
	padding: 10px 24px; border-radius: 999px; border: 1.5px solid var(--yj-green);
	background: var(--yj-white); color: var(--yj-green); font-size: 14px; font-weight: 500; cursor: pointer;
	transition: background .2s, color .2s;
}
.yj-area-tabs__tab:hover, .yj-area-tabs__tab.is-active { background: var(--yj-green); color: var(--yj-white); }

.yj-area-group { margin-bottom: 56px; }
.yj-area-group__title {
	font-family: var(--yj-font-heading); font-size: 22px; color: var(--yj-green-dark);
	border-left: 4px solid var(--yj-gold); padding-left: 14px; margin: 0 0 24px;
}
.yj-empty { text-align: center; color: var(--yj-text-light); padding: 60px 0; }

/* ---------- 詳細ページ: FV（左テキストパネル＋右スライダーの分割型） ---------- */
.yj-single-hero { padding-bottom: 24px; }

.yj-fv {
	display: grid;
	grid-template-columns: 11fr 9fr;
	height: clamp(380px, 52vh, 480px);
	/* パネル背景（金の枝葉×和紙テクスチャの生成画像）をFV全面に敷き、
	   右のスライダーを楕円でくり抜くことで境目が曲線になる */
	background: var(--yj-green-dark) url('images/fv-panel-bg.jpg') center / cover no-repeat;
}

/* 左: テキストパネル（背景は .yj-fv 側で描画）
   コンテンツ幅(1080px)の左端にテキストの起点を揃える */
.yj-fv__panel {
	color: var(--yj-white);
	display: flex; flex-direction: column; justify-content: center;
	padding: 40px 48px 40px max(24px, calc((100vw - 1080px) / 2));
}
.yj-single-hero__area { font-size: 13px; letter-spacing: .15em; margin: 0 0 10px; color: #e8d5ac; }
.yj-single-hero__title { font-family: var(--yj-font-heading); font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; line-height: 1.5; margin: 0 0 12px; }
.yj-single-hero__catch { font-size: 15px; margin: 0 0 28px; opacity: .95; }
.yj-single-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 右: 写真スライダー
   左辺はSVGクリップ（#yj-fv-curve）で上下端に垂直接続するなめらかな曲線 */
.yj-fv__slider {
	position: relative; overflow: hidden;
	clip-path: url(#yj-fv-curve);
}
.yj-slider__track { position: absolute; inset: 0; }
.yj-slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.yj-slider__slide.is-active { opacity: 1; }
.yj-slider__slide img { width: 100%; height: 100%; object-fit: cover; }

/* 矢印: 境目のカーブと干渉しないよう写真右下にペア配置 */
.yj-slider__arrow {
	position: absolute; bottom: 18px; z-index: 5;
	display: flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
	border: 1px solid rgba(255, 255, 255, .75);
	background: rgba(56, 79, 49, .45); backdrop-filter: blur(4px);
	color: var(--yj-white);
	font-size: 20px; line-height: 1; padding: 0 0 3px;
	transition: background .2s;
}
.yj-slider__arrow:hover { background: var(--yj-green); }
.yj-slider__arrow--prev { right: 74px; }
.yj-slider__arrow--next { right: 20px; }

.yj-slider__dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 8px; }
.yj-slider__dot { width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer; background: rgba(255, 255, 255, .5); padding: 0; }
.yj-slider__dot.is-active { background: var(--yj-white); }

@media (max-width: 767px) {
	/* SP: 写真が上・パネルが下。パネル上辺を斜めに写真へ食い込ませる */
	.yj-fv { display: flex; flex-direction: column; height: auto; background: none; }
	.yj-fv__slider { order: -1; aspect-ratio: 4/3; clip-path: none; }
	.yj-fv__panel {
		position: relative; z-index: 2;
		margin-top: -48px;
		clip-path: polygon(0 0, 100% 48px, 100% 100%, 0 100%);
		background: var(--yj-green-dark) url('images/fv-panel-bg.jpg') center / cover no-repeat;
		padding: 64px 24px 40px;
	}
	/* SP: パネルの重なり（48px）を避けて上げる */
	.yj-slider__arrow { width: 36px; height: 36px; font-size: 18px; bottom: 62px; }
	.yj-slider__arrow--prev { right: 64px; }
	.yj-slider__arrow--next { right: 16px; }
	.yj-slider__dots { bottom: 60px; }
}

/* 紹介下のモザイクギャラリー（枚数に応じて配置が変わるコラージュ）
   コンテナに .yj-mosaic--n{枚数} が付き、枚数別のパターンで
   グリッドが穴なく埋まるよう大小タイルを織り交ぜる */
.yj-mosaic {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 150px;
	grid-auto-flow: dense;
	gap: 14px;
	margin-top: 48px;
}
.yj-mosaic__item { margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(56, 79, 49, .08); }
.yj-mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.yj-mosaic__item:hover img { transform: scale(1.04); }

/* 2枚: 左右半分ずつ大きく */
.yj-mosaic--n2 .yj-mosaic__item { grid-column: span 2; grid-row: span 2; }

/* 3枚: 左に主役、右に横長2枚を積む */
.yj-mosaic--n3 .yj-mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.yj-mosaic--n3 .yj-mosaic__item:nth-child(n+2) { grid-column: span 2; }

/* 4枚: 主役＋縦長＋小2枚 */
.yj-mosaic--n4 .yj-mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.yj-mosaic--n4 .yj-mosaic__item:nth-child(2) { grid-row: span 2; }

/* 5枚: 主役＋小4枚 */
.yj-mosaic--n5 .yj-mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }

/* 6枚: 主役2枚を対角に＋小4枚 */
.yj-mosaic--n6 .yj-mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.yj-mosaic--n6 .yj-mosaic__item:nth-child(6) { grid-column: span 2; grid-row: span 2; }

/* 7枚: 主役＋縦長＋横長＋小4枚 */
.yj-mosaic--n7 .yj-mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.yj-mosaic--n7 .yj-mosaic__item:nth-child(4) { grid-row: span 2; }
.yj-mosaic--n7 .yj-mosaic__item:nth-child(6) { grid-column: span 2; }

/* 8枚: 主役2枚＋縦長2枚＋小4枚 */
.yj-mosaic--n8 .yj-mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.yj-mosaic--n8 .yj-mosaic__item:nth-child(4) { grid-row: span 2; }
.yj-mosaic--n8 .yj-mosaic__item:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.yj-mosaic--n8 .yj-mosaic__item:nth-child(7) { grid-row: span 2; }

/* 9枚: 6カラムの固定コラージュ
   上段: 小・小・[中央大]・小・小
   中下段: 左下大 ＋ 小・小 ＋ 右下大 */
.yj-mosaic--n9 { grid-template-columns: repeat(6, 1fr); }
.yj-mosaic--n9 .yj-mosaic__item:nth-child(1) { grid-column: 1;        grid-row: 1; }
.yj-mosaic--n9 .yj-mosaic__item:nth-child(2) { grid-column: 2;        grid-row: 1; }
.yj-mosaic--n9 .yj-mosaic__item:nth-child(3) { grid-column: 3 / span 2; grid-row: 1 / span 2; }
.yj-mosaic--n9 .yj-mosaic__item:nth-child(4) { grid-column: 5;        grid-row: 1; }
.yj-mosaic--n9 .yj-mosaic__item:nth-child(5) { grid-column: 6;        grid-row: 1; }
.yj-mosaic--n9 .yj-mosaic__item:nth-child(6) { grid-column: 1 / span 2; grid-row: 2 / span 2; }
.yj-mosaic--n9 .yj-mosaic__item:nth-child(7) { grid-column: 3;        grid-row: 3; }
.yj-mosaic--n9 .yj-mosaic__item:nth-child(8) { grid-column: 4;        grid-row: 3; }
.yj-mosaic--n9 .yj-mosaic__item:nth-child(9) { grid-column: 5 / span 2; grid-row: 2 / span 2; }

@media (max-width: 767px) {
	.yj-mosaic,
	.yj-mosaic--n9 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; gap: 10px; }
	.yj-mosaic .yj-mosaic__item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
	.yj-mosaic .yj-mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
	/* 残り枚数が奇数のとき、最後の1枚を横長にして穴を防ぐ */
	.yj-mosaic .yj-mosaic__item:last-child:nth-child(even) { grid-column: span 2; }
}

/* ---------- 選ばれる理由（写真×タイトル×本文のジグザグ配置） ---------- */
.yj-reason-list { display: flex; flex-direction: column; gap: 56px; max-width: 960px; margin: 0 auto; }
.yj-reason { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.yj-reason:nth-child(even) .yj-reason__image { order: 2; }
.yj-reason__image { border-radius: 12px; overflow: hidden; aspect-ratio: 40/21; } /* 4:3の縦幅を約70%に圧縮した横長比率 */
.yj-reason__image img { width: 100%; height: 100%; object-fit: cover; }
.yj-reason__image-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--yj-green-light), var(--yj-beige-dark)); }
.yj-reason__num { font-family: var(--yj-font-heading); font-size: 30px; color: var(--yj-gold); display: block; margin-bottom: 6px; }
.yj-reason__title { font-family: var(--yj-font-heading); font-size: 22px; font-weight: 600; color: var(--yj-green-dark); margin: 0 0 12px; }
.yj-reason__text { font-size: 14.5px; color: var(--yj-text-light); margin: 0; }
@media (max-width: 767px) {
	.yj-reason { grid-template-columns: 1fr; gap: 18px; }
	.yj-reason:nth-child(even) .yj-reason__image { order: 0; }
	.yj-reason-list { gap: 44px; }
}

/* 中間CTA */
.yj-mid-cta { background: var(--yj-green-light); padding: 56px 0; text-align: center; }
.yj-mid-cta__title { font-family: var(--yj-font-heading); font-size: 24px; font-weight: 600; color: var(--yj-green-dark); margin: 0 0 28px; }
.yj-mid-cta__actions { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }
.yj-mid-cta__tel { display: inline-flex; flex-direction: column; line-height: 1.4; }
.yj-mid-cta__tel-number { font-size: 26px; font-weight: 700; color: var(--yj-green-dark); }
.yj-mid-cta__tel-hours { font-size: 11px; color: var(--yj-text-light); }

.yj-anchor-nav { position: sticky; top: 69px; z-index: 80; background: var(--yj-green-dark); }
.yj-anchor-nav ul { list-style: none; margin: 0 auto; padding: 0 20px; max-width: 1080px; display: flex; overflow-x: auto; }
.yj-anchor-nav li { flex: 1; } /* 項目を1080px幅いっぱいに均等配置 */
.yj-anchor-nav a { display: block; padding: 14px 8px; color: var(--yj-white); font-size: 14px; white-space: nowrap; text-align: center; }
.yj-anchor-nav a:hover { background: var(--yj-green); }

@media (max-width: 767px) {
	/* SP: 横スクロールをやめて2列グリッドで折り返す（stickyも解除） */
	.yj-anchor-nav { position: static; }
	.yj-anchor-nav ul {
		display: grid; grid-template-columns: repeat(2, 1fr);
		overflow: visible; padding: 0;
		gap: 1px; background: rgba(255, 255, 255, .22); /* gapが罫線として見える */
	}
	.yj-anchor-nav a { background: var(--yj-green-dark); padding: 13px 6px; font-size: 13px; white-space: normal; }
	/* 項目数が奇数のときは最後の1つを2列ぶち抜きにして空マスを防ぐ */
	.yj-anchor-nav li:last-child:nth-child(odd) { grid-column: span 2; }
}

.yj-single-content { max-width: 800px; margin: 0 auto; }

/* 価格プラン: 左に写真＋タイプラベル、右に価格・費用明細の横並びリスト */
.yj-plans__list { display: flex; flex-direction: column; gap: 56px; max-width: 900px; margin: 0 auto; }

/* 写真の縦幅（380px幅の4:3=285px）を基準の行高とし、
   右の明細はその中に収まるよう詰める。明細が長い場合は写真側が追従して伸びる */
.yj-plan { display: grid; grid-template-columns: 380px 1fr; gap: 32px; align-items: stretch; }
.yj-plan__image { position: relative; border-radius: 8px; overflow: hidden; min-height: 285px; height: 100%; }
.yj-plan__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yj-plan__image-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--yj-green-light), var(--yj-beige-dark)); }
.yj-plan__type {
	position: absolute; top: 0; right: 0;
	background: rgba(247, 245, 240, .92); color: var(--yj-text);
	font-size: 13px; padding: 6px 14px; border-radius: 0 0 0 8px;
}

.yj-plan__tags { display: flex; gap: 8px; margin: 0 0 12px; flex-wrap: wrap; }
.yj-plan__tag {
	display: inline-block; padding: 4px 14px;
	border: 1.5px solid var(--yj-green); border-radius: 6px;
	color: var(--yj-green); font-size: 13px; font-weight: 500;
	background: var(--yj-white);
}

/* 販売状況バッジ */
.yj-plan__tag--selling { background: var(--yj-green); color: var(--yj-white); }
.yj-plan__tag--few     { background: #b0563c; border-color: #b0563c; color: var(--yj-white); }
.yj-plan__tag--soldout { background: #888;    border-color: #888;    color: var(--yj-white); }

/* 完売時: 画像に帯を重ね、全体をやや落ち着かせる */
.yj-plan--soldout .yj-plan__image img,
.yj-plan--soldout .yj-plan__image-placeholder { filter: grayscale(.4) brightness(.9); }
.yj-plan__soldout-overlay {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	background: rgba(255, 252, 248, .92); color: #b0563c;
	font-size: 24px; font-weight: 700; line-height: 1.3;
	padding: 18px 30px; border-radius: 10px; text-align: center;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
}
.yj-plan__soldout-overlay small { display: block; font-size: 13px; font-weight: 500; }

.yj-plan__price-line {
	display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
	margin: 0 0 4px; padding-bottom: 10px;
	border-bottom: 1px solid var(--yj-green);
}
.yj-plan__price-label { font-size: 14px; font-weight: 700; }
.yj-plan__price-unit { font-size: 13px; font-weight: 700; }
.yj-plan__price { font-size: 28px; font-weight: 700; color: var(--yj-green); font-style: normal; }

.yj-plan__rows { margin: 14px 0 0; }
.yj-plan__row { display: flex; gap: 16px; margin-bottom: 10px; font-size: 13.5px; }
.yj-plan__row dt { width: 150px; flex-shrink: 0; color: var(--yj-text); }
.yj-plan__row dd { margin: 0; }
/* その他費用: 項目＋金額のセット。間を短い点線リーダーでつなぐ。4件以上はアコーディオンで畳む */
.yj-plan__others { list-style: none; margin: 0; padding: 0; }
.yj-plan__others li { display: flex; gap: 10px; padding: 3px 0; align-items: center; }
.yj-plan__other-name { flex-shrink: 0; }
.yj-plan__other-leader { width: 28px; border-bottom: 1px dotted #b4b0a5; }
.yj-plan__other-price { font-weight: 500; }

.yj-plan__more summary {
	cursor: pointer; list-style: none; margin-top: 4px;
	font-size: 12.5px; color: var(--yj-green); font-weight: 500;
}
.yj-plan__more summary::before { content: "＋ "; }
.yj-plan__more[open] summary::before { content: "－ "; }
.yj-plan__more summary::-webkit-details-marker { display: none; }

.yj-plan__note { font-size: 12px; color: var(--yj-text-light); margin: 6px 0 0 166px; }

@media (max-width: 900px) {
	.yj-plan { grid-template-columns: 1fr; gap: 20px; }
	/* 縦積み時は高さ追従をやめて4:3固定に戻す */
	.yj-plan__image { height: auto; min-height: 0; aspect-ratio: 4/3; }
	.yj-plan__image img { position: static; }
	.yj-plan__row { flex-direction: column; gap: 4px; }
	.yj-plan__row dt { width: auto; font-weight: 700; }
	.yj-plan__items { grid-template-columns: 1fr; }
	.yj-plan__note { margin-left: 0; }
}

/* 交通手段別アクセス */
.yj-access__modes { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.yj-access__mode { background: var(--yj-white); border: 1px solid var(--yj-beige-dark); border-radius: 10px; padding: 18px 20px; }
.yj-access__mode h3 { font-size: 15px; margin: 0 0 6px; color: var(--yj-green-dark); }
.yj-access__mode p { font-size: 14px; margin: 0; color: var(--yj-text-light); }

.yj-access__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.yj-access__info { margin: 0; }
.yj-access__info div { display: flex; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--yj-beige-dark); }
.yj-access__info dt { width: 90px; flex-shrink: 0; color: var(--yj-text-light); font-size: 14px; }
.yj-access__info dd { margin: 0; font-size: 14px; }
.yj-access__map iframe { width: 100%; aspect-ratio: 4/3; border: 0; border-radius: 12px; }
@media (max-width: 767px) { .yj-access__grid { grid-template-columns: 1fr; } }

.yj-temple__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.yj-temple__image img { border-radius: 12px; }
.yj-temple__title { font-family: var(--yj-font-heading); font-size: 22px; font-weight: 600; color: var(--yj-green-dark); margin: 0 0 16px; line-height: 1.6; }
.yj-temple__desc { font-size: 15px; margin: 0; }
@media (max-width: 767px) { .yj-temple__grid { grid-template-columns: 1fr; } }

/* ---------- 住職挨拶 ---------- */
.yj-jushoku__grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; max-width: 960px; margin: 0 auto; }
.yj-jushoku__image { border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; }
.yj-jushoku__image img { width: 100%; height: 100%; object-fit: cover; }
.yj-jushoku__image-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--yj-green-light), var(--yj-beige-dark)); }
.yj-jushoku__title { font-family: var(--yj-font-heading); font-size: 22px; font-weight: 600; color: var(--yj-green-dark); margin: 0 0 16px; line-height: 1.6; }
.yj-jushoku__message { font-size: 15px; margin: 0 0 20px; }
.yj-jushoku__name { text-align: right; font-family: var(--yj-font-heading); font-size: 17px; color: var(--yj-green-dark); margin: 0 0 28px; }
.yj-jushoku__career { border-top: 1px solid var(--yj-beige-dark); padding-top: 20px; }
.yj-jushoku__career h3 { font-size: 15px; color: var(--yj-green-dark); margin: 0 0 10px; }
.yj-jushoku__career ul { list-style: none; margin: 0; padding: 0; }
.yj-jushoku__career li { font-size: 13.5px; color: var(--yj-text-light); padding: 3px 0 3px 16px; position: relative; }
.yj-jushoku__career li::before { content: "・"; position: absolute; left: 0; }
@media (max-width: 767px) {
	.yj-jushoku__grid { grid-template-columns: 1fr; gap: 24px; }
	.yj-jushoku__image { max-width: 260px; margin: 0 auto; }
}

/* auto-fill: 事例が少なくても空の列を保ち、カードが横幅いっぱいに広がらないようにする */
.yj-voices__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.yj-voices__item { position: relative; background: var(--yj-white); border-radius: 12px; padding: 28px 26px; margin: 0; box-shadow: 0 2px 16px rgba(56, 79, 49, .06); transition: box-shadow .15s, transform .15s; }
.yj-voices__item:has(.yj-voices__more):hover { box-shadow: 0 8px 24px rgba(56, 79, 49, .14); transform: translateY(-2px); }
/* .yj-site img { height: auto } (0,1,1) に勝つよう img 付きセレクタで詳細度を揃え、後勝ちで高さを制限する */
img.yj-voices__thumb, .yj-voices__item .yj-voices__thumb { display: block; width: 100%; height: 160px; object-fit: cover; border-radius: 8px; margin: 0 0 16px; }
.yj-voices__heading { margin: 0 0 6px; font-size: 14.5px; font-weight: 700; color: var(--yj-green-dark); }
.yj-voices__item blockquote { margin: 0 0 14px; font-size: 14px; }
.yj-voices__item figcaption { font-size: 12px; color: var(--yj-text-light); }
.yj-voices__more { display: inline-block; margin-top: 10px; font-size: 12.5px; color: var(--yj-text-light); }
.yj-voices__more:hover { text-decoration: underline; }
.yj-voices__more::after { content: ""; position: absolute; inset: 0; }
.yj-voices__jiin { display: block; position: relative; z-index: 1; margin-top: 6px; font-size: 12.5px; color: var(--yj-green); font-weight: 500; }
.yj-voices__jiin::before { content: "▶ "; font-size: 10px; }
.yj-voices__jiin:hover { text-decoration: underline; }

/* 寺院詳細ページ: お客様の声 横スライダー */
.yj-voices-slider { position: relative; }
.yj-voices__track {
	display: flex; gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 8px 4px 24px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.yj-voices__track::-webkit-scrollbar { display: none; }
.yj-voices__track { cursor: grab; }
.yj-voices__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.yj-voices__track .yj-voices__item { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; margin: 0; }
@media (max-width: 1023px) { .yj-voices__track .yj-voices__item { flex-basis: calc((100% - 24px) / 2); } }
/* LP内はコンテンツ幅が狭いため2枚表示にする */
@media (min-width: 768px) {
	.yj-lpb-voices .yj-voices__track .yj-voices__item { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 767px) {
	/* スマホ: カードを中央スナップにして左右に均等な覗き幅を出す */
	.yj-voices__track { padding-left: 9%; padding-right: 9%; }
	.yj-voices__track .yj-voices__item { flex-basis: 82%; scroll-snap-align: center; }
}

.yj-voices-slider__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
	width: 34px; height: 96px; border-radius: 6px; border: none;
	background: var(--yj-green-dark); color: var(--yj-white);
	font-size: 30px; line-height: 1; cursor: pointer; padding: 0 0 4px;
	display: none; align-items: center; justify-content: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.yj-voices-slider.has-overflow .yj-voices-slider__arrow { display: flex; }
.yj-voices-slider__arrow:hover { background: var(--yj-green); }
.yj-voices-slider__arrow--prev { left: -16px; }
.yj-voices-slider__arrow--next { right: -16px; }
@media (max-width: 767px) {
	.yj-voices-slider__arrow--prev { left: 4px; }
	.yj-voices-slider__arrow--next { right: 4px; }
}

.yj-faq__list { max-width: 800px; margin: 0 auto; }
.yj-faq__item { background: var(--yj-white); border: 1px solid var(--yj-beige-dark); border-radius: 10px; margin-bottom: 14px; }
.yj-faq__item summary {
	padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none; position: relative;
}
.yj-faq__item summary::before { content: "Q. "; color: var(--yj-gold); }
.yj-faq__item summary::after { content: "＋"; position: absolute; right: 20px; color: var(--yj-green); }
.yj-faq__item[open] summary::after { content: "－"; }
.yj-faq__item p { padding: 0 22px 18px; margin: 0; font-size: 14px; }
.yj-faq__item p::before { content: "A. "; color: var(--yj-green); font-weight: 700; }
