/*
 * 柏市民限定LP専用CSS(page-templates/template-kashiwa.php = /kashiwa/)
 * 値は旧サイト https://family-hall.com/kashiwa/ の computed style を PC1440 / SP390 で実測したもの。
 * 写真ギャラリー・基本情報・設備は式場ページの hall.css を、プランカードは home.css を共用する。
 */

.ns-kas {
	overflow-x: clip;
}

.ns-kas__mv img {
	width: 100%;
	height: auto;
}

/* ------------------------------------------------------------------
 * 冒頭のひとこと
 * ------------------------------------------------------------------ */

.ns-kas__msg {
	padding: 40px 0 0;
}

.ns-kas__msgtxt {
	color: var(--fh-navy);
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
}

/* 旧サイトの黄色マーカー(本文の強調) */
.ns-kas__yellow {
	color: var(--fh-red);
	font-size: 36px;
	line-height: 1;
	background-image: linear-gradient(transparent 50%, #ffff00 50%);
}

.ns-kas__yellow--big {
	font-size: 40px;
	line-height: 1.4;
}

.ns-kas__note {
	display: inline-block;
	width: 100%;
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	text-align: right;
}

/* ------------------------------------------------------------------
 * 電話バナーと 3 バナー(ページ内に 3 回出る)
 * ------------------------------------------------------------------ */

.ns-kas__cta {
	padding: 40px 0;
}

.ns-kas__ctacatch {
	position: relative;
	margin-bottom: 20px;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}

.ns-kas__ctawrap {
	position: relative;
}

.ns-kas__slash {
	position: absolute;
	top: -3px;
	left: -29px;
	width: 4px;
	height: 40px;
	background: var(--fh-navy);
	transform: rotate(-40deg);
}

.ns-kas__slash--r {
	right: -29px;
	left: auto;
	transform: rotate(40deg);
}

.ns-kas__telbnr {
	max-width: 1100px;
	margin: 0 auto 15px;
}

.ns-kas__telbnr:last-child {
	margin-bottom: 0;
}

.ns-kas__telbnr img {
	width: 100%;
	height: auto;
}

.ns-kas__bnrs {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 15px;
	max-width: 1100px;
	margin-inline: auto;
}

.ns-kas__bnrs a {
	width: calc((100% - 30px) / 3);
}

.ns-kas__bnrs img {
	width: 100%;
	height: auto;
}

/* 請求書例の PDF */

.ns-kas__pdfs {
	margin-bottom: 30px;
}

.ns-kas .ns-kas__pdfs ul {
	display: flex;
	justify-content: space-between;
	max-width: 1000px;
	margin-inline: auto;
	padding: 0;
	list-style: none;
}

.ns-kas__pdfs li {
	width: 480px;
	max-width: calc((100% - 20px) / 2);
}

.ns-kas__pdfs img {
	width: 100%;
	height: auto;
}

/* ------------------------------------------------------------------
 * 火葬待ちの課題と無制限無料サービス
 * ------------------------------------------------------------------ */

.ns-kas__issue {
	padding-bottom: 50px;
}

/* 旧は傍点のぶん 1 行目の上に余白が付いて PC 62 / SP 142 になる。
   sub1 では傍点が行の高さに効かないので、同じだけ内側の余白で確保する
   (文字の位置もブロックの高さも旧と一致する) */
.ns-kas__issuettl {
	margin-bottom: 15px;
	padding-top: 6px;
	font-size: 35px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.ns-kas__dots {
	text-emphasis: filled dot #cc4f41;
	-webkit-text-emphasis: filled dot #cc4f41;
}

.ns-kas__issuebox {
	max-width: 70%;
	margin: 0 auto 30px;
	padding: 30px;
	background: #ecedff;
	border: 1px solid #afafaf;
	border-radius: 5px;
	line-height: 1.7;
}

.ns-kas__arrow {
	position: relative;
	width: 0;
	height: 0;
	margin: 0 auto 30px;
	border-top: 75px solid var(--fh-navy);
	border-right: 150px solid transparent;
	border-left: 150px solid transparent;
}

.ns-kas__arrow span {
	position: absolute;
	top: -50px;
	right: -150px;
	left: -150px;
	color: #ffffff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.ns-kas__issue3 {
	text-align: center;
}

.ns-kas__issuettl2 {
	display: inline-block;
	margin-bottom: 30px;
	font-size: 37px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}

.ns-kas__pink {
	padding: 7px 5px;
	background: #e2004a;
	color: #ffffff;
}

.ns-kas__issuelead {
	line-height: 1.7;
	text-align: center;
}

.ns-kas__service {
	max-width: 830px;
	margin: 15px auto 0;
	background: #efefef;
	border: 1px solid #afafaf;
	border-radius: 5px;
	text-align: center;
}

.ns-kas__servicettl {
	padding: 10px 0;
	background: var(--fh-navy);
	border-radius: 5px 5px 0 0;
	color: #ffffff;
	font-family: var(--fh-sans);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.7;
	text-align: center;
}

.ns-kas__servicettl span {
	color: #f6ed0e;
}

.ns-kas .ns-kas__servicelist {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 30px;
}

.ns-kas__servicelist li {
	width: 244px;
	padding: 20px;
	background: #ffffff var(--ns-icon) no-repeat 50% -140px;
	border-radius: 5px;
}

/* 旧は 3 枚目「祭壇サービス」だけ 32px(1 行に収めるため)で、
   ブロックとして置いて上に 6px 空けている(行の高さが 35.2 → 41.2 になる) */
.ns-kas__servicelist li:nth-of-type(3) span {
	display: inline-block;
	margin-top: 6px;
	font-size: 32px;
}

.ns-kas__servicelist li p {
	padding-top: 84px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
}

.ns-kas__servicelist li span {
	color: #e2004a;
	font-size: 37px;
	font-weight: 700;
	line-height: 1.1;
	background-image: linear-gradient(transparent 50%, #ffff00 50%);
}

/* ------------------------------------------------------------------
 * おいはな会館
 * ------------------------------------------------------------------ */

.ns-kas__hall {
	padding: 60px 0 15px;
}

.ns-kas__hall .ns-hall__info {
	margin-bottom: 20px;
}

.ns-kas__hallhead {
	margin-bottom: 30px;
	text-align: center;
}

.ns-kas__hallsub {
	font-size: 18px;
	line-height: 1.7;
}

.ns-kas__hallttl {
	color: var(--fh-navy);
	font-family: var(--fh-serif);
	font-size: 33px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.ns-kas__hallinfo {
	margin: 30px 0;
	line-height: 1.7;
}

/* ------------------------------------------------------------------
 * よくある質問(旧サイトは開いたまま出す)
 * ------------------------------------------------------------------ */

.ns-kas__faq {
	display: flow-root;
	padding: 25px 0 0;
}

.ns-kas .ns-kas__faqlist {
	max-width: 1100px;
	margin-inline: auto;
}

.ns-kas__faqitem {
	margin-bottom: 20px;
}

/* 旧は最後の 1 件だけ下 60px */
.ns-kas__faqitem:last-child {
	margin-bottom: 60px;
}

.ns-kas__faqq {
	position: relative;
	padding: 20px 15px 20px 80px;
	background: var(--fh-navy);
	border-radius: 5px 5px 0 0;
	color: #ffffff;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.7;
}

.ns-kas__faqa {
	position: relative;
	padding: 20px 20px 20px 80px;
	border: 1px solid var(--fh-navy);
	border-radius: 0 0 5px 5px;
	font-weight: 500;
	line-height: 1.7;
}

.ns-kas__faqmark {
	position: absolute;
	top: 50%;
	left: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	background: #ffffff;
	border: 1px solid var(--fh-navy);
	border-radius: 50%;
	color: var(--fh-navy);
	font-family: var(--fh-num);
	font-size: 22px;
	font-weight: 600;
	line-height: 1;
}

.ns-kas__faqmark--a {
	top: 20px;
	margin-top: 0;
	border-color: var(--fh-red);
	color: var(--fh-red);
}

/* ------------------------------------------------------------------
 * 会社情報と地図
 * ------------------------------------------------------------------ */

.ns-kas__company {
	padding: 60px 0;
	background: url(../../img/common/bg01.png);
}

.ns-kas__company .ns-inner {
	display: flex;
	justify-content: space-between;
	gap: 40px;
}

.ns-kas__coinfo {
	width: 570px;
}

.ns-kas__coinfo img {
	max-width: 380px;
	height: auto;
}

.ns-kas__coname {
	margin-top: 30px;
	line-height: 1.7;
}

.ns-kas__coaddr {
	margin: 10px 0;
	line-height: 1.7;
}

.ns-kas__cotel {
	line-height: 1.7;
}

.ns-kas__cobtn {
	margin-top: 10px;
}

.ns-kas__cobtn a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 420px;
	min-height: 77px;
	padding: 10px 30px;
	background: var(--fh-navy);
	color: #ffffff;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
}

.ns-kas__cobtn .ns-ico-chev {
	position: absolute;
	top: 50%;
	right: 20px;
	margin-top: -8px;
}

.ns-kas__comap {
	flex: 1 1 0;
	min-width: 0;
}

.ns-kas__comap iframe {
	width: 100%;
	height: 300px;
	border: 0;
}

/* ------------------------------------------------------------------
 * SP(767px 以下)
 * ------------------------------------------------------------------ */

@media (max-width: 767px) {

	.ns-kas .ns-inner {
		width: min(1300px, 100% - 30px);
	}

	.ns-kas__mv .ns-inner {
		width: 100%;
	}

	.ns-kas__msg {
		padding-top: 20px;
	}

	.ns-kas__msgtxt {
		font-size: 20px;
		line-height: 1.4;
	}

	.ns-kas__yellow {
		font-size: 24px;
		line-height: 1.4;
	}

	.ns-kas__yellow--big {
		font-size: 35px;
	}

	.ns-kas__note {
		margin-top: 10px;
		font-size: 12px;
		line-height: 1.4;
	}

	.ns-kas__cta {
		padding: 20px 0;
	}

	.ns-kas__ctacatch {
		margin-bottom: 10px;
		font-size: 20px;
	}

	.ns-kas__ctawrap {
		display: block;
		font-size: 19px;
		line-height: 1.4;
	}

	.ns-kas__slash {
		top: 50%;
		left: 4px;
		height: 30px;
		margin-top: -15px;
	}

	.ns-kas__slash--r {
		right: 4px;
		left: auto;
	}

	.ns-kas__telbnr {
		margin-bottom: 7px;
	}

	.ns-kas__bnrs {
		gap: 5px;
	}

	.ns-kas__bnrs a {
		width: 100%;
	}

	.ns-kas .ns-kas__pdfs ul {
		flex-direction: column;
		gap: 15px;
	}

	.ns-kas__pdfs li {
		width: 100%;
		max-width: none;
	}

	.ns-kas__issuettl {
		padding-top: 9px;
		font-size: 30px;
	}

	.ns-kas__issuebox {
		max-width: 100%;
		padding: 15px;
	}

	.ns-kas__issuebox p,
	.ns-kas__issuelead {
		font-size: 13px;
	}

	.ns-kas__arrow {
		margin: 0 auto 30px;
	}

	.ns-kas__issuettl2 {
		font-size: 28px;
	}

	.ns-kas__service {
		max-width: 100%;
	}

	.ns-kas__servicettl {
		font-size: 17px;
	}

	.ns-kas__servicettl span {
		font-size: 30px;
	}

	.ns-kas .ns-kas__servicelist {
		padding: 30px 15px;
	}

	.ns-kas__servicelist li {
		width: 100%;
		margin-bottom: 15px;
	}

	/* 旧は最後の 1 枚だけ下余白が 0(付けるとリストの下端に足される) */
	.ns-kas__servicelist li:last-child {
		margin-bottom: 0;
	}

	.ns-kas__servicelist li p {
		padding-top: 109px;
	}

	.ns-kas__hallttl {
		font-size: 25px;
	}

	.ns-kas__hallinfo {
		font-size: 15px;
	}

	.ns-kas__faqq {
		padding: 15px 40px 15px 80px;
		font-size: 14px;
	}

	.ns-kas__company {
		padding: 30px 0 60px;
	}

	.ns-kas__company .ns-inner {
		flex-direction: column;
		gap: 30px;
	}

	.ns-kas__coinfo {
		width: 100%;
	}

	.ns-kas__coinfo img {
		width: 100%;
	}

	.ns-kas__cobtn a {
		max-width: none;
	}
}

@media (max-width: 767px) {
	/* 旧 .column_cremation_issue は SP では下 30px、よくある質問は上下 15px */
	.ns-kas__issue {
		padding-bottom: 30px;
	}

	.ns-kas__faq {
		padding: 15px 0;
	}

	.ns-kas__hall {
		padding: 30px 0 0;
	}
}

/* 旧 /kashiwa/ はフッターの上の空きが PC 60px・SP 100px(他ページは 20px) */
.page-template-template-kashiwa .ns-foot {
	margin-top: 60px;
}

@media (max-width: 767px) {
	.page-template-template-kashiwa .ns-foot {
		margin-top: 100px;
	}
}
