/*
 * 生そば・冷凍そばページ リニューアル部分
 * 配置先: bl-themes/shinyo-f/css/namasoba-renewal.css
 */

/* メインビジュアル：パンフレットに合わせた黒背景・白文字 */
body.namasoba #about .mainimg {
	aspect-ratio: auto;
	overflow: visible;
}

body.namasoba #about .mainimg img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center;
}

body.namasoba #about .mainwrap {
	position: relative;
	overflow: hidden;
}

body.namasoba #about .nr-hero-copy {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 1903 / 475;
	overflow: hidden;
	color: #fff;
	background: #0b0b0c;
}

body.namasoba #about .nr-hero-copy__background {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
}

body.namasoba #about .nr-hero-copy__content {
	position: relative;
	z-index: 1;
	display: flex;
	height: 100%;
	padding: 3.5% 7%;
	flex-direction: column;
	justify-content: center;
}

body.namasoba #about .nr-hero-copy h2 {
	position: relative;
	top: auto;
	width: auto;
	max-width: none;
	margin: 0 0 .65em;
	padding: 0;
	color: #fff;
	background: transparent;
	font-size: clamp(28px, 3.1vw, 44px);
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: .08em;
}

body.namasoba #about .nr-hero-lead {
	position: relative;
	margin: 0;
	font-size: clamp(12px, 1.15vw, 16px);
	line-height: 1.85;
	letter-spacing: .03em;
}

body.namasoba #about .nr-hero-lead span {
	display: block;
}

#namasoba-renewal {
	--nr-ink: #26231f;
	--nr-gold: #8d7a48;
	--nr-line: #9a8b64;
	--nr-paper: #f4eddf;
	--nr-white: #fff;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	color: var(--nr-ink);
	background: var(--nr-paper);
	font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 16px;
	line-height: 1.9;
	-webkit-font-smoothing: antialiased;
}

#namasoba-renewal *,
#namasoba-renewal *::before,
#namasoba-renewal *::after {
	box-sizing: border-box;
}

#namasoba-renewal img {
	display: block;
	width: 100%;
	height: auto;
}

#namasoba-renewal h2,
#namasoba-renewal h3,
#namasoba-renewal p {
	margin-top: 0;
}

#namasoba-renewal .nr-container {
	width: min(1200px, calc(100% - 80px));
	margin-right: auto;
	margin-left: auto;
}

/* カスタマイズ */
#namasoba-renewal .nr-customize {
	padding: 72px 0 38px;
}

#namasoba-renewal .nr-customize__panel {
	padding: 0 52px 34px;
	background: var(--nr-white);
}

#namasoba-renewal .nr-section-title {
	margin-bottom: 34px;
	color: var(--nr-gold);
	font-size: clamp(24px, 2.6vw, 38px);
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: .08em;
	text-align: center;
	transform: translateY(-.62em);
}

#namasoba-renewal .nr-customize__grid,
#namasoba-renewal .nr-products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 46px 7%;
}

#namasoba-renewal .nr-choice__visual {
	display: grid;
	grid-template-columns: minmax(150px, 42%) 1fr;
	align-items: center;
	gap: 28px;
	min-height: 210px;
}

#namasoba-renewal .nr-choice__image {
	height: 190px;
	object-fit: contain;
}

#namasoba-renewal .nr-choice__eyebrow {
	margin-bottom: 8px;
	font-size: clamp(18px, 1.7vw, 25px);
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: .08em;
}

#namasoba-renewal .nr-choice__keyword {
	display: inline-flex;
	margin-bottom: 0;
	border: 1px solid var(--nr-line);
	font-size: clamp(28px, 3vw, 43px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: .12em;
}

#namasoba-renewal .nr-choice__keyword span {
	padding: .22em .24em .28em .36em;
}

#namasoba-renewal .nr-choice__keyword span + span {
	border-left: 1px solid var(--nr-line);
}

#namasoba-renewal .nr-choice__description {
	margin-bottom: 0;
	font-size: 15px;
	line-height: 2;
}

#namasoba-renewal .nr-customize__note {
	margin: 32px 0 0;
	padding: 14px 28px;
	border: 1px solid var(--nr-line);
	color: #74643d;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: .03em;
}

/* 生そば・冷凍そば */
#namasoba-renewal .nr-products {
	padding-top: 36px;
	padding-bottom: 62px;
}

#namasoba-renewal .nr-product__heading {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 18px;
	margin-bottom: 6px;
}

#namasoba-renewal .nr-product__heading::after {
	content: "";
	height: 1px;
	background: var(--nr-line);
}

#namasoba-renewal .nr-product__title-wrap {
	position: relative;
	display: grid;
	min-width: 135px;
	min-height: 72px;
	place-items: center;
}

#namasoba-renewal .nr-product__title-mark {
	position: absolute;
	z-index: 0;
	top: 50%;
	left: 50%;
	width: 118px;
	height: 82px;
	object-fit: contain;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

#namasoba-renewal .nr-product__title {
	position: relative;
	z-index: 1;
	margin-bottom: 0;
	font-size: clamp(25px, 2.35vw, 34px);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: .05em;
}

#namasoba-renewal .nr-product__lead {
	margin-bottom: 22px;
	font-size: 15px;
	font-weight: 500;
}

#namasoba-renewal .nr-product__photo {
	width: 100%;
	aspect-ratio: 2 / 1;
	object-fit: cover;
}

#namasoba-renewal .nr-product__description {
	margin: 24px 0 0;
	font-size: 14px;
	line-height: 1.9;
}

/* 導入メリット */
#namasoba-renewal .nr-merits {
	padding-top: 22px;
	padding-bottom: 72px;
}

#namasoba-renewal .nr-merits__title {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 24px;
	margin-bottom: 42px;
	font-size: clamp(27px, 3.15vw, 44px);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: .07em;
}

#namasoba-renewal .nr-merits__title::after {
	content: "";
	height: 1px;
	background: var(--nr-line);
}

#namasoba-renewal .nr-merits__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

#namasoba-renewal .nr-merit {
	position: relative;
	min-width: 0;
	padding: 0 28px;
	text-align: center;
}

#namasoba-renewal .nr-merit + .nr-merit {
	border-left: 1px solid rgba(141, 122, 72, .42);
}

#namasoba-renewal .nr-merit::before {
	content: "";
	position: absolute;
	z-index: 0;
	top: -8px;
	left: 50%;
	width: 190px;
	height: 140px;
	background: url("../images/page/namasoba/fude2.svg") center / contain no-repeat;
	transform: translateX(-50%);
	pointer-events: none;
}

#namasoba-renewal .nr-merit > * {
	position: relative;
	z-index: 1;
}

#namasoba-renewal .nr-merit__label {
	margin-bottom: 16px;
	color: var(--nr-gold);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	white-space: nowrap;
}

#namasoba-renewal .nr-merit__number {
	display: inline-grid;
	width: 22px;
	height: 22px;
	margin-left: 3px;
	place-items: center;
	border-radius: 50%;
	color: #fff;
	background: var(--nr-gold);
	font-size: 13px;
	line-height: 1;
}

#namasoba-renewal .nr-merit__title {
	min-height: 3.2em;
	margin-bottom: 20px;
	font-size: clamp(18px, 1.75vw, 25px);
	font-weight: 600;
	line-height: 1.6;
}

#namasoba-renewal .nr-merit__description {
	margin-bottom: 0;
	font-size: 13px;
	line-height: 1.9;
	text-align: left;
}

#namasoba-renewal .nsobaclm{
	display: flex;
	gap: 30px;
	align-items: center;
}
#namasoba-renewal .nsobaclm .img{
	width: 100px;
	flex-shrink: 0;
}

@media (max-width: 960px) {
	#namasoba-renewal .nr-container {
		width: min(760px, calc(100% - 48px));
	}

	#namasoba-renewal .nr-customize__panel {
		padding-right: 34px;
		padding-left: 34px;
	}

	#namasoba-renewal .nr-customize__grid,
	#namasoba-renewal .nr-products {
		gap: 42px;
	}

	#namasoba-renewal .nr-choice__visual {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	#namasoba-renewal .nr-choice__image {
		width: 180px;
		height: 150px;
		margin-right: auto;
		margin-left: auto;
	}

	#namasoba-renewal .nr-choice__copy {
		text-align: center;
	}

	#namasoba-renewal .nr-merits__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 48px 0;
	}

	#namasoba-renewal .nr-merit:nth-child(3) {
		border-left: 0;
	}
}

@media (max-width: 640px) {
	body.namasoba #about .nr-hero-copy {
		min-height: 190px;
		aspect-ratio: auto;
	}

	body.namasoba #about .nr-hero-copy__background {
		object-position: 42% center;
	}

	body.namasoba #about .nr-hero-copy__content {
		padding: 20px 24px;
	}

	body.namasoba #about .nr-hero-copy h2 {
		margin-bottom: .55em;
		font-size: clamp(23px, 7vw, 30px);
		line-height: 1.5;
	}

	body.namasoba #about .nr-hero-lead {
		font-size: 11px;
		line-height: 1.7;
	}

	#namasoba-renewal .nr-container {
		width: min(520px, calc(100% - 32px));
	}

	#namasoba-renewal .nr-customize {
		padding-top: 54px;
	}

	#namasoba-renewal .nr-customize__panel {
		padding: 0 20px 26px;
	}

	#namasoba-renewal .nr-section-title {
		margin-bottom: 12px;
		font-size: 22px;
		letter-spacing: .04em;
	}

	#namasoba-renewal .nr-customize__grid,
	#namasoba-renewal .nr-products,
	#namasoba-renewal .nr-merits__grid {
		grid-template-columns: 1fr;
	}

	#namasoba-renewal .nr-choice + .nr-choice {
		padding-top: 36px;
		border-top: 1px solid rgba(141, 122, 72, .35);
	}

	#namasoba-renewal .nr-choice__visual {
		grid-template-columns: 120px 1fr;
	}

	#namasoba-renewal .nr-choice__image {
		width: 120px;
		height: 120px;
	}

	#namasoba-renewal .nr-choice__copy {
		text-align: left;
	}

	#namasoba-renewal .nr-choice__description,
	#namasoba-renewal .nr-customize__note {
		font-size: 14px;
	}

	#namasoba-renewal .nr-customize__note {
		padding: 14px 16px;
	}

	#namasoba-renewal .nr-products {
		padding-bottom: 50px;
	}

	#namasoba-renewal .nr-product__title-wrap {
		min-width: 120px;
	}

	#namasoba-renewal .nr-product__title-mark {
		width: 105px;
	}

	#namasoba-renewal .nr-merits__title {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-bottom: 34px;
		font-size: 27px;
	}

	#namasoba-renewal .nr-merits__title::after {
		width: 72px;
	}

	#namasoba-renewal .nr-merits__grid {
		gap: 0;
	}

	#namasoba-renewal .nr-merit {
		padding: 34px 4px 38px;
	}

	#namasoba-renewal .nr-merit + .nr-merit,
	#namasoba-renewal .nr-merit:nth-child(3) {
		border-top: 1px solid rgba(141, 122, 72, .42);
		border-left: 0;
	}

	#namasoba-renewal .nr-merit__title {
		min-height: 0;
	}
}
