/**
 * pages.css — 固定ページ 6 本（サービス・取扱商品・茶房 贔・アクセス・三島家具について・お問い合わせ）と予備のページ。
 *
 * 数値の出どころ：design.json の XD 座標（「サービス」「取扱商品」「茶房 贔」「アクセス」「三島家具について」「お問い合わせ」と SP の同名画面）。
 * 文字の箱の上端の求め方は components.css の冒頭と同じ。ただし XD の文字の枠が「autoHeight」「area」（幅の決まった文字）の時、
 * design.json の y は 1 行目のベースラインではなく枠の上端（XD の書き出し画像で 1 行目の字の上端＝y＋0〜1px を実測・2026-09-28）。
 * その時は「ベースライン＝y＋0.88×文字サイズ」として同じ式に入れる（上端＝y − 行間/2 ＋ 0.4475×文字サイズ）。
 *   当たる文字：サービスの説明文・茶房 贔の題と紹介文・三島家具についての紹介文・お問い合わせの冒頭文（PC・SP とも）。
 * 幅の切替は layout.css と同じ 3 本（1100〜1545 は PC の値のまま縮む／768〜1099／≤767）。
 *
 * @package sf-style
 */

/* ───────── 共通 ───────── */
.sf-sp-only {
	display: none;
}

.sf-page__body figure {
	margin: 0;
}

.sf-page__body .sf-ph-fig .sf-ph {
	height: 100%;
}

/* ───────── サービス（XD「サービス」） ───────── */
.sf-page--service {
	padding-bottom: calc(160px * var(--k)); /* 最後のボタン下端 4222 → フッター 4382 */
}

.sf-page--service .sf-page__body {
	margin-top: calc(76.165px * var(--k)); /* 題の箱の下端 245.835 → 写真 322 */
}

.sf-page--service .sf-svc + .sf-svc {
	margin-top: calc(80px * var(--k)); /* ボタン下端 1227 → 次の写真 1307 */
}

.sf-svc__photos {
	display: grid;
	grid-template-columns: minmax(0, 972fr) minmax(0, 464fr);
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: calc(30px * var(--k));
	aspect-ratio: 1466 / 562; /* 972＋30＋464 × 266＋30＋266 */
}

.sf-svc__photos > * {
	min-height: 0;
	margin: 0;
	overflow: hidden;
}

.sf-svc__photos > :first-child {
	grid-row: 1 / 3;
}

.sf-svc__photos img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sf-page--service .sf-svc h2 {
	margin-top: calc(38.3625px * var(--k)); /* 写真下端 884 → 見出しの箱 922.3625（35px・ベースライン 955） */
	font-size: calc(35px * var(--k));
	line-height: 1;
}

.sf-page--service .sf-svc p {
	max-width: calc(878px * var(--k));
	margin-top: calc(31.6875px * var(--k)); /* 見出しの箱の下端 957.3625 → 説明文の箱 989.05（v4-2 C01：実測の基線が XD より 1.1 上） */
	font-size: var(--fs-20);
	line-height: calc(40px * var(--k));
}

.sf-page--service .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: calc(16px * var(--k));
	margin-top: calc(29.95px * var(--k)); /* 説明文の下端 1149.05 → ボタン 1179（C01 の +1.1 を戻す） */
}

.sf-page--service .wp-block-button {
	margin: 0;
}

.sf-page--service .wp-block-button.is-line {
	margin-left: calc(8px * var(--k)); /* 問い合わせる 227＋156 → LINE 407（間 24） */
}

.sf-page--service .wp-block-button__link {
	display: block;
	align-content: normal; /* v4-2 C03：WP core の .wp-block-button__link{align-content:center} が固定高 48px の中で文字を縦中央へ寄せる（実測 +7.5） */
	box-sizing: border-box;
	height: calc(48px * var(--k));
	padding: calc(13.415px * var(--k)) calc(23.2px * var(--k)) 0; /* 文字 x251（枠の外側 227＋枠 0.8＋23.2）・ベースライン 1210 */
	border: 0.8px solid var(--c-navy);
	border-radius: calc(8px * var(--k));
	background: none;
	color: var(--c-black);
	font-family: var(--ff-medium);
	font-weight: var(--fw-medium);
	font-size: var(--fs-18);
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
}

/* v4-2 C04：3 区画目「施工事例を見る」は代替書体で 174.4px（XD 170.8）。右の余白 3.6 を詰め、次の「問い合わせる」を XD の x413.8 に。v4-3 C-32：SP は縦積みで不要なので PC だけに限定 */
@media (min-width: 768px) {
	.sf-page--service .sf-page__body > .sf-svc:nth-child(4) .wp-block-button:first-child .wp-block-button__link {
		padding-right: calc(19.6px * var(--k));
	}
}

.sf-page--service .wp-block-button.is-line .wp-block-button__link {
	border-color: var(--c-line-green);
	color: var(--c-line-green);
}

/* ───────── 取扱商品（XD「取扱商品」） ───────── */
.sf-page--products {
	padding-bottom: calc(248.38px * var(--k)); /* 2 段目の名前の下端 926.62 → フッター 1175 */
}

.sf-products {
	display: grid;
	/* 枡 201 が x257・558・845・1161・1462（間 100・86・115・100、左右 30） */
	grid-template-columns: minmax(0, 30fr) calc(201px * var(--k)) minmax(0, 100fr) calc(201px * var(--k)) minmax(0, 86fr) calc(201px * var(--k)) minmax(0, 115fr) calc(201px * var(--k)) minmax(0, 100fr) calc(201px * var(--k)) minmax(0, 30fr);
	row-gap: calc(92.38px * var(--k)); /* 1 段目の名前の下端 580.62 → 2 段目の枡 673 */
	margin-top: calc(87.165px * var(--k)); /* 題の箱の下端 245.835 → 枡 333 */
}

.sf-products__item:nth-child(5n+1) {
	grid-column: 2;
}

.sf-products__item:nth-child(5n+2) {
	grid-column: 4;
}

.sf-products__item:nth-child(5n+3) {
	grid-column: 6;
}

.sf-products__item:nth-child(5n+4) {
	grid-column: 8;
}

.sf-products__item:nth-child(5n+5) {
	grid-column: 10;
}

.sf-products__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.sf-products__box {
	position: relative;
	display: block;
	width: calc(201px * var(--k));
	height: calc(201px * var(--k));
}

.sf-products__img {
	position: absolute;
	left: calc(var(--x) * var(--k));
	top: calc(var(--y) * var(--k));
	width: calc(var(--w) * var(--k));
	height: calc(var(--h) * var(--k));
	max-width: none;
	object-fit: contain;
}

/* 7周目 A16：位置の表（page-products.php sf_products_boxes）に無い商品の既定。雑貨・食品と同じ大きさで枡の中央（PC 201 枡に 151 角） */
.sf-products__box.is-fit .sf-products__img {
	left: calc(25px * var(--k));
	top: calc(25px * var(--k));
	width: calc(151px * var(--k));
	height: calc(151px * var(--k));
}

.sf-products__label {
	display: block; /* v4 D1：flex では基線が測れない。block＋中央寄せで見た目は同じ */
	text-align: center;
	margin: calc(22.62px * var(--k)) calc(-20px * var(--k)) 0; /* 枡の下端 534 → 名前の箱 556.62（24px・ベースライン 579） */
	font-size: var(--fs-24);
	line-height: 1;
	/* 7周目 A15：11 字以上の名前は箱（枡＋左右 20px＝PC 241px・SP 162px）で折り返す。10 商品（最長 8 字）は 1 行のまま */
	white-space: normal;
	overflow-wrap: anywhere;
}

/* XD：2 段目の 7〜10 件目の名前はベースライン 925（6 件目のラグ・ファブリックだけ 919） */
.sf-products__item:nth-child(n+7) .sf-products__label {
	margin: calc(28.62px * var(--k)) calc(-20px * var(--k)) 0; /* v4 D3 */
}

/* ───────── 茶房 贔（XD「茶房 贔」） ───────── */
.sf-page--sabo {
	padding-bottom: calc(255px * var(--k)); /* 下の写真の下端 6364 → フッター 6619 */
}

.sf-sabo__hero {
	position: relative;
	margin-top: calc(31px * var(--k)); /* ヘッダー下端 123 → 写真 154 */
	aspect-ratio: 1466 / 715;
	overflow: hidden;
}

.sf-sabo__hero-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sf-sabo__logo {
	position: absolute;
	left: 8.752%; /* ロゴの枠 x355.3・y421.5・幅 164.7 ÷ 写真 1466×715 */
	top: 37.413%;
	width: 11.235%;
	height: auto;
}

.sf-page--sabo .sf-page-title {
	margin-top: calc(87.795px * var(--k)); /* 写真下端 869 → 題の箱 956.795（autoHeight・y959・42px） */
	font-family: var(--ff-regular);
	font-weight: var(--fw-regular);
}

.sf-page--sabo .sf-page__body {
	margin-top: calc(62.255px * var(--k)); /* 題の箱の下端 998.795 → 紹介文の箱 1061.05（v4-2 C05：基線 −1.1 を戻す） */
}

.sf-page--sabo .sf-page__body p {
	font-size: var(--fs-20);
	line-height: calc(34px * var(--k)); /* XD の書き出し画像で行の間隔 34 を実測 */
}

.sf-page--sabo .sf-page__body p + p {
	margin-top: calc(24px * var(--k)); /* 空行＝段落の間 58 − 34 */
}

.sf-page--sabo .sf-page__body img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sf-page--sabo .sf-page__body p + .sf-sabo__menu {
	margin-top: calc(150.95px * var(--k)); /* 紹介文の下端 1347.05 → メニュー 1498（C05 の +1.1 を戻す） */
}

.sf-sabo__menu {
	aspect-ratio: 1466 / 2073;
}

.sf-sabo__menu + .sf-sabo__menu {
	margin-top: calc(-21px * var(--k)); /* XD：hiiki_2（1498＋2073＝3571）に hiiki_1（3550）が 21 重なる */
	aspect-ratio: 1466 / 2074;
}

.sf-sabo__photo {
	aspect-ratio: 1466 / 713;
}

.sf-sabo__menu + .sf-sabo__photo {
	margin-top: calc(27px * var(--k)); /* hiiki_1 下端 5624 → hiiki2 5651 */
}

/* ───────── アクセス（XD「アクセス」） ───────── */
.sf-page--access {
	padding-bottom: calc(254px * var(--k)); /* 最後の地図の下端 4261 → フッター 4515 */
}

.sf-access {
	margin-top: calc(76.165px * var(--k)); /* 題の箱の下端 245.835 → 写真 322 */
}

.sf-access__store + .sf-access__store {
	margin-top: calc(102.3125px * var(--k)); /* 文面の下端 1236.6875 → 次の写真 1339 */
}

/* v4-2 C07：XD「アクセス」は 2〜4 店目だけ写真の下端 → 本文が 73.3625（1 店目 79.3625）。v4-3 C-31：SP の 40.025 に勝っていたので PC だけに限定 */
@media (min-width: 768px) {
	.sf-access__store + .sf-access__store .sf-access__body {
		margin-top: calc(73.3625px * var(--k));
	}
}

.sf-access__photos {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 324fr) minmax(0, 738fr) minmax(0, 324fr);
	column-gap: calc(40px * var(--k));
	aspect-ratio: 1466 / 521;
}

.sf-access__photo {
	min-width: 0;
	overflow: hidden;
}

.sf-access__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sf-access__bar {
	position: absolute;
	top: 47.3129%; /* 線 y568.5〜596.5（写真 322〜843 の中ほど） */
	width: 1px;
	height: calc(28px * var(--k));
	background: var(--c-line);
}

.sf-access__bar--l {
	left: 23.8404%; /* 線の中心 x577（幅 1）− 227 ÷ 1466 */
}

.sf-access__bar--r {
	left: 76.1719%; /* 線の中心 x1344.2 */
}

/*
 * 2026-10-29 写真 4 枚のカルーセル（access-slide.js）。大きさ・比率は 3 枚のまま。
 * 4 枚とも真ん中の写真と同じ大きさで横一列に並べ、帯ごと横に送る。左右の細い所＝前後の写真の端（箱の外は切る）。
 * PC：324（前の写真の端）＋40＋738（今）＋40＋324（次の写真の端）＝1466。SP：真ん中 308×218、間 17、左右は画面の端からのぞく。
 */
.sf-access__photos.js-access-slide {
	--gap: calc(40px * var(--k));
	--slide: calc((100% - calc(80px * var(--k))) * 738 / 1386);
	--start: calc((100% - calc(80px * var(--k))) * 324 / 1386 + calc(40px * var(--k)));
	display: block;
	overflow: hidden;
	overflow: clip;
	touch-action: pan-y pinch-zoom;
}

.sf-access__track {
	display: flex;
	gap: var(--gap);
	width: 100%;
	height: 100%;
	transform: translateX(calc(var(--start) - var(--i, 1) * (var(--slide) + var(--gap)) + var(--dx, 0px)));
	transition: transform 0.5s ease; /* 2026-11-06 style-actus.com/shop/（slick speed 500・ease）と同じ */
}

.sf-access__slide {
	flex: none;
	width: var(--slide);
	height: 100%;
	overflow: hidden;
}

.sf-access__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	user-select: none;
	-webkit-user-drag: none;
}

/* JS が動かない時：最後の写真を先頭へ回し、今までの 3 枚（添付 1・アイキャッチ・添付 2）の並びで止めて見せる */
.js-access-slide:not(.is-ready) .sf-access__slide:last-child {
	order: -1;
}

.js-access-slide.is-ready .sf-access__slide.is-side {
	cursor: pointer;
}

.js-access-slide.is-drag .sf-access__track,
.js-access-slide.is-jump .sf-access__track {
	transition: none;
}

/* 枠の縦線は写真の間（止まっている時）に立つ。送る途中・引いている間は写真の上に重なるので消す */
.js-access-slide .sf-access__bar {
	transition: opacity .2s;
}

.js-access-slide.is-moving .sf-access__bar,
.js-access-slide.is-drag .sf-access__bar {
	opacity: 0;
}

.sf-access__nav {
	position: absolute;
	top: 50%;
	z-index: 1;
	display: grid;
	place-items: center;
	width: calc(48px * var(--k));
	height: calc(48px * var(--k));
	margin-top: calc(-24px * var(--k));
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 1px calc(4px * var(--k)) rgba(0, 0, 0, 0.18);
	color: var(--c-navy);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.sf-access__nav:hover {
	background: var(--c-white);
}

.sf-access__nav:focus-visible {
	outline: 2px solid var(--c-navy);
	outline-offset: 2px;
}

.sf-access__nav[hidden],
.sf-access__dots[hidden] {
	display: none;
}

.sf-access__nav span {
	width: calc(10px * var(--k));
	height: calc(10px * var(--k));
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}

.sf-access__nav--prev span {
	transform: translateX(2px) rotate(-135deg);
}

.sf-access__nav--next span {
	transform: translateX(-2px) rotate(45deg);
}

.sf-access__nav--prev {
	left: calc(11.0505% - calc(24px * var(--k))); /* 左の写真の中心 x162 ÷ 1466 */
}

.sf-access__nav--next {
	left: calc(88.9495% - calc(24px * var(--k))); /* 右の写真の中心 x1304 ÷ 1466 */
}

.sf-access__dots {
	position: absolute;
	bottom: calc(14px * var(--k));
	left: 50%;
	z-index: 1;
	display: flex;
	gap: 2px;
	transform: translateX(-50%);
}

.sf-access__dot {
	display: grid;
	place-items: center;
	width: calc(24px * var(--k));
	height: calc(24px * var(--k));
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.sf-access__dot::before {
	content: "";
	width: calc(8px * var(--k));
	height: calc(8px * var(--k));
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 1px calc(4px * var(--k)) rgba(0, 0, 0, 0.35); /* 明るい写真の上でも見えるように */
}

.sf-access__dot[aria-current="true"]::before {
	background: var(--c-white);
}

.sf-access__dot:focus-visible {
	outline: 2px solid var(--c-white);
	outline-offset: -2px;
}

/* 2026-11-06「動きを減らす」の端末でも 1 枚ずつ流す（お手本と同じ。前はここで動きを止めていた） */

.sf-access__body {
	display: grid;
	grid-template-columns: minmax(0, 877fr) minmax(0, 589fr);
	align-items: start;
	margin-top: calc(79.3625px * var(--k)); /* 写真下端 843 → 店名の箱 922.3625（35px・ベースライン 955） */
}

.sf-access__name {
	font-size: calc(35px * var(--k));
	line-height: 1;
}

.sf-access__info {
	margin-top: calc(44.325px * var(--k)); /* 店名の箱の下端 957.3625 → 文面の箱 1001.6875（25px・行間 47・ベースライン 1036） */
	font-size: calc(25px * var(--k));
	line-height: calc(47px * var(--k));
}

.sf-access__info .sf-shop__line {
	display: block;
}

.sf-access__map {
	margin-top: 1.6375px; /* 地図 924（店名の箱の上端 922.3625 から） */
	aspect-ratio: 589 / 304;
	background: var(--c-ph);
}

.sf-access__iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.sf-access__map-ph {
	height: 100%;
	padding-top: calc(142.215px * var(--k)); /* 地図 924 → 文字の箱 1066.215（18px・ベースライン 1083） */
	color: var(--c-white);
	font-family: var(--ff-medium);
	font-weight: var(--fw-medium);
	font-size: var(--fs-18);
	line-height: 1;
	text-align: center;
}

/* ───────── 三島家具について（XD「三島家具について」） ───────── */
.sf-page--about {
	padding-bottom: calc(203.055px * var(--k)); /* 3 段目の名前の下端 3603.945 → フッター 3807 */
}

.sf-about__hero {
	margin-top: calc(72.165px * var(--k)); /* 題の箱の下端 245.835 → 写真 318 */
	aspect-ratio: 1466 / 560;
	overflow: hidden;
}

.sf-about__hero img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sf-about__h,
.sf-page--about .sf-page__body h2 {
	font-size: calc(35px * var(--k));
	line-height: 1;
}

.sf-about__news {
	display: flex;
	align-items: flex-start;
}

.sf-about__news-h {
	flex: none;
	width: calc(412px * var(--k)); /* x227 → 一覧 x639 */
	margin-top: calc(81.3625px * var(--k)); /* 写真下端 878 → 見出しの箱 959.3625（ベースライン 992） */
}

.sf-about__news-body {
	flex: 1 1 auto;
	min-width: 0;
	margin-top: calc(85.485px * var(--k)); /* 写真下端 878 → 日付の箱 963.485（22px・ベースライン 984） */
}

.sf-about__news-item {
	display: flex;
	align-items: flex-start;
	width: calc(820.1px * var(--k)); /* 線 x612.5〜1432.6 */
	margin-left: calc(-26.5px * var(--k));
	padding: 0 0 calc(25.315px * var(--k)) calc(26.5px * var(--k)); /* 文字の下端 985.485 → 線 1010.8 */
	border-bottom: 1px solid var(--c-black);
}

/* 5周目 C：1100〜1545 で会社案内のお知らせ行を本文の枠に収める（margin-left −26.5 の分を足す。1546 以上は 820.1 のまま） */
@media (min-width: 825px) and (max-width: 1159px) {
	.sf-about__news-item {
		max-width: calc(100% + calc(26.5px * var(--k)));
	}
}

.sf-about__news-item + .sf-about__news-item {
	margin-top: calc(23.685px * var(--k)); /* 線の下端 1011.8 → 次の日付の箱 1035.485 */
}

/* v4-5 W-7→v4-6 W-7b：実データの日付は 10 字（YYYY.MM.DD）。stg の Web フォント（Google Fonts の Noto Serif JP 300）で測った字幅は PC 22px＝111.19px（箱 104）・SP 20px＝101.08px（箱 96）で末尾の字が縦線にかかる（XD の見本は 9 字「2025.0.00」。手元の OTF の hmtx 108.59／98.72 とは 2.4% 違う）。箱・縦線・題の x は XD のまま、字だけ横 0.92（PC 102.29→線まで 1.7・SP 92.99→3.0）。21・22 の MAIL（C17 0.89）と同じ型 */
.sf-about__news-date {
	flex: none;
	width: calc(104px * var(--k)); /* 日付 x639 → 縦線 x743 */
	font-size: var(--fs-22);
	line-height: 1;
	white-space: nowrap;
	transform: scaleX(0.92);
	transform-origin: 0 50%;
}

.sf-about__news-title {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	margin-left: calc(16px * var(--k)); /* 縦線 x743 → 題 x759 */
	color: inherit;
	font-size: var(--fs-22);
	line-height: 1;
	text-decoration: none;
}

.sf-about__news-title::before {
	content: "";
	position: absolute;
	left: calc(-16px * var(--k));
	top: calc(-2.485px * var(--k)); /* 縦線 y961・高さ 28 */
	width: 1px;
	height: calc(28px * var(--k));
	background: var(--c-black);
}

.sf-about__more {
	display: inline-block;
	margin-top: calc(21.9px * var(--k)); /* 3 本目の線の下端 1155.8 → 文字の箱 1177.715（18px・ベースライン 1194.5） */
	color: inherit;
	font-size: var(--fs-18);
	line-height: 1;
	text-decoration: none;
}

.sf-page--about .sf-page__body {
	margin-top: calc(120.3475px * var(--k)); /* もっと見るの下端 1195.715 → ストアコンセプトの箱 1316.0625（v4-2 C09：実測 +6.3） */
}

.sf-about__catch {
	margin-top: calc(64px * var(--k)); /* 見出しの箱の下端 1357.3625 → 1421.3625（35px・ベースライン 1454） */
	font-size: calc(35px * var(--k));
	line-height: 1;
}

.sf-about__text {
	margin-top: calc(25.5875px * var(--k)); /* 1456.3625 → 紹介文の箱 1481.95（autoHeight・y1493） */
	font-size: var(--fs-20);
	line-height: calc(40px * var(--k));
}

.sf-about__company {
	margin-top: calc(109.4125px * var(--k)); /* 紹介文の下端 1641.95 → 企業情報の箱 1751.3625 */
}

.sf-about__company-in {
	display: grid;
	grid-template-columns: minmax(0, 623fr) minmax(0, 781fr);
	column-gap: calc(62px * var(--k)); /* 写真 227＋623 → 右の列 x912 */
	align-items: start;
	margin-top: calc(65.6375px * var(--k)); /* 見出しの箱の下端 1786.3625 → 写真 1852 */
}

.sf-about__photo {
	aspect-ratio: 623 / 913;
	overflow: hidden;
}

.sf-about__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sf-about__info {
	margin-top: -1.11px; /* 会社概要の箱 1850.89（写真 1852 より 1.11 上） */
}

.sf-page--about .sf-about__info h3 {
	padding-bottom: calc(32.71px * var(--k)); /* 文字の下端 1878.89 → 線 1911.6 */
	border-bottom: 0.8px solid var(--c-black);
	font-size: var(--fs-28);
	line-height: 1;
}

.sf-page--about .sf-about__info h3 ~ h3 {
	margin-top: calc(102.54px * var(--k)); /* 会社概要の下端 2100.35 → 事業内容の箱 2202.89 */
}

.sf-about__dl {
	display: grid;
	grid-template-columns: calc(132px * var(--k)) minmax(0, 1fr); /* 項目 x912 → 中身 x1044 */
	margin-top: calc(19.95px * var(--k)); /* 線の下端 1912.4 → 1932.35（20px・行間 42・ベースライン 1962） */
}

.sf-about__dl p,
.sf-about__list {
	font-size: var(--fs-20);
	line-height: calc(42px * var(--k));
}

.sf-about__list {
	margin-top: calc(19.95px * var(--k));
}

.sf-about__recruit {
	margin-top: calc(64.65px * var(--k)); /* 事業内容の下端 2620.35 → 枠 2685 */
}

.sf-about__recruit a {
	position: relative;
	display: block;
	width: calc(400px * var(--k));
	max-width: 100%;
	height: calc(80px * var(--k));
	border: 1px solid var(--c-line);
	background: var(--c-white);
	color: var(--c-line);
	text-decoration: none;
}

.sf-about__recruit strong {
	position: absolute;
	left: calc(38px * var(--k)); /* 文字 x951 − 枠 912 − 枠線 1 */
	top: calc(23.89px * var(--k)); /* 28px・ベースライン 2736 */
	font-weight: inherit;
	font-size: var(--fs-28);
	line-height: 1;
	white-space: nowrap;
}

.sf-about__recruit em {
	position: absolute;
	left: calc(190px * var(--k)); /* 文字 x1103 */
	top: calc(29.35px * var(--k)); /* 20px・ベースライン 2734 */
	font-style: normal;
	font-size: var(--fs-20);
	line-height: 1;
	white-space: nowrap;
}

.sf-about__business {
	margin-top: calc(118.3625px * var(--k)); /* 枠の下端 2765 → 事業形態の箱 2883.3625 */
}

.sf-about__biz {
	display: grid;
	grid-template-columns: minmax(0, 400fr) minmax(0, 520fr) minmax(0, 400fr);
	--sf-biz-gap: calc(73px * var(--k)); /* 2026-11-10 中段センターの寄せ幅にも使う */
	column-gap: var(--sf-biz-gap);
	row-gap: calc(77.055px * var(--k)); /* 1 段目の名前の下端 3177.945 → 2 段目の枠 3255 */
	margin-top: calc(110.6375px * var(--k)); /* 見出しの箱の下端 2918.3625 → 枠 3029 */
}

.sf-about__biz > figure {
	display: grid;
	grid-template-rows: calc(120px * var(--k)) auto;
	justify-items: center;
	align-items: center;
	margin: 0;
}

.sf-about__biz img {
	width: auto;
	max-width: 100%;
	height: auto;
}

.sf-about__biz > figure figcaption {
	align-self: start;
	margin: calc(14.945px * var(--k)) 0 0; /* 枠の下端 3149 → 名前の箱 3163.945（14px・ベースライン 3177） */
	font-size: var(--fs-14);
	line-height: 1;
	text-align: center;
	white-space: nowrap;
}

.sf-about__biz > :nth-child(1) img { width: calc(200px * var(--k)); }
/* 2026-11-09 先方：ACTUS+STYLE を消し ACTUS UTSUNOMIYA だけに（画像 178px 幅に切った。前と同じ縮尺 347.8/413） */
.sf-about__biz > :nth-child(2) img { width: calc(150px * var(--k)); }
.sf-about__biz > :nth-child(3) img { width: calc(277px * var(--k)); }
/* 2026-11-10 先方（吉村さん）：STYLE For Professionals を 2 段組みのロゴに（376×185 の画像）。見本の 1 段目 STYLE との比 213/228 × 200 */
.sf-about__biz > :nth-child(4) img { width: calc(188px * var(--k)); }
.sf-about__biz > :nth-child(5) img { width: calc(266.5px * var(--k)); }
.sf-about__biz > :nth-child(6) img { width: calc(236px * var(--k)); }
.sf-about__biz > :nth-child(7) img { width: calc(452px * var(--k)); }
.sf-about__biz > :nth-child(8) img { width: calc(318px * var(--k)); }

/* XD：2 段目は 2 件だけ。6 件目から 3 段目 */
.sf-about__biz > :nth-child(6) {
	grid-column: 1;
}

/* 2026-11-10 先方（吉村さん）：中段の 2 件（法人向け・hiiki）を真ん中に寄せる。
   2 件の間隔は 1 段目の 1 列目・2 列目と同じのまま、まとめて右へ（3 列目の半分＋列の間の半分）。
   寄せ幅 = 400fr 列×230/400 = 520fr 列×230/520。left の % は各自の列の幅 */
.sf-about__biz > :nth-child(4),
.sf-about__biz > :nth-child(5) {
	position: relative;
}
.sf-about__biz > :nth-child(4) { left: calc(57.5% + var(--sf-biz-gap) / 2); }
.sf-about__biz > :nth-child(5) { left: calc(230% / 5.2 + var(--sf-biz-gap) / 2); }

/* XD：2 段目の名前の下端 3403.945 → 3 段目の枠 3455（間 51.055） */
.sf-about__biz > :nth-child(n+6) {
	margin-top: calc(-26px * var(--k));
}

/* ───────── お問い合わせ（XD「お問い合わせ」） ───────── */
.sf-page--contact {
	padding-bottom: calc(160px * var(--k)); /* 送信の下端 2412 → フッター 2572 */
}

.sf-page--contact .sf-page__body > p:first-child {
	margin-top: calc(47.215px * var(--k)); /* 題の箱の下端 245.835 → 冒頭文の箱 293.05（v4-2 C10：基線 −1.1 を戻す） */
	font-size: var(--fs-20);
	line-height: calc(40px * var(--k));
}

.sf-form {
	margin-top: calc(70.975px * var(--k)); /* 冒頭文の下端 453.05 → 問い合わせ先の箱 524.025（C10 の +1.1 を戻す） */
}

.sf-form__row {
	padding-bottom: calc(38.025px * var(--k)); /* 入力欄の下端 952 → 次の項目名の箱 990.025 */
}

.sf-form__row--to {
	height: calc(332px * var(--k)); /* XD：問い合わせ先の項目名 524.025 → お名前 856.025 の間は空き（§8 回答待ち） */
	padding-bottom: 0;
}

.sf-form__row--subject {
	height: calc(339px * var(--k)); /* XD：件名 1124.025 → 添付ファイル 1463.025 の間は空き（§8 回答待ち） */
	padding-bottom: 0;
}

.sf-form__row--body {
	padding-bottom: 0;
}

.sf-form__label {
	display: flex;
	align-items: baseline;
	font-size: var(--fs-30);
	line-height: 1;
}

.sf-form__req {
	position: relative;
	top: 1px; /* 項目名のベースライン 884 に対して ※必須 885 */
	margin-left: calc(16px * var(--k)); /* お名前 x227＋90 → ※必須 x333。v4-3 C-34：v4-2 C12 は当て先違い（広いのはメールアドレス行だけ）。共通は 16 に戻しメール行は下の C-34b */
	color: var(--c-required);
	font-size: var(--fs-14);
	line-height: 1;
}

/* v4-3 C-34b：メールアドレス行だけ項目名が代替書体で 2.5 広い。行の入力欄の型で当てる（一致 1）。v4-5 W-2：「メールアドレス」30px のカタカナは Chromium だけ詰め（kern）が効き 208.5、WebKit は 210。両方で詰めを切って 210 にそろえ、空きを 12（227＋210＋12＝449＝XD）。SP は C-38c（6px・後に書かれ同じ詳細度）が勝つので変わらない */
.sf-form__row:has(input[type="email"]) .sf-form__req {
	margin-left: calc(12px * var(--k));
}

@media (min-width: 768px) {
	.sf-form__row:has(input[type="email"]) .sf-form__label {
		font-kerning: none;
	}
}

.sf-form .wpcf7-form-control-wrap {
	display: block;
	margin-top: calc(22.975px * var(--k)); /* 項目名の下端 886.025 → 入力欄 909 */
}

.sf-form__files .wpcf7-form-control-wrap + .wpcf7-form-control-wrap {
	margin-top: calc(18px * var(--k)); /* 1559 → 1577 */
}

.sf-form input[type="text"],
.sf-form input[type="email"],
.sf-form input[type="tel"],
.sf-form textarea {
	display: block;
	box-sizing: border-box;
	width: calc(973px * var(--k));
	max-width: 100%;
	height: calc(43px * var(--k));
	margin: 0;
	padding: 0 calc(16px * var(--k));
	border: 0.8px solid var(--c-line);
	border-radius: calc(8px * var(--k));
	background: var(--c-white);
	color: var(--c-black);
	font-family: var(--ff-light);
	font-weight: var(--fw-light);
	font-size: var(--fs-20);
	line-height: 1;
}

.sf-form textarea {
	height: calc(534px * var(--k));
	padding: calc(12px * var(--k)) calc(16px * var(--k));
	line-height: calc(40px * var(--k));
	resize: vertical;
}

.sf-form input[type="file"] {
	display: block;
	width: calc(171px * var(--k));
	height: calc(43px * var(--k));
	color: transparent;
	font-size: var(--fs-14);
}

.sf-form input[type="file"]::file-selector-button {
	box-sizing: border-box;
	width: calc(171px * var(--k));
	height: calc(43px * var(--k));
	margin: 0;
	padding: calc(13.145px * var(--k)) 0 0; /* 14px・ベースライン 1543（枠 1516） */
	border: 0.8px solid var(--c-line);
	border-radius: calc(8px * var(--k));
	background: var(--c-white);
	color: var(--c-black);
	font-family: var(--ff-light);
	font-weight: var(--fw-light);
	font-size: var(--fs-14);
	line-height: 1;
	text-align: center;
	vertical-align: top;
}

.sf-form .wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
	gap: calc(16px * var(--k)) calc(40px * var(--k));
	font-size: var(--fs-20);
	line-height: 1;
}

.sf-form .wpcf7-list-item {
	margin: 0;
}

/* v4-5 W-9：未選択のラジオが WebKit では薄い灰でほぼ見えない（round8_webkit §7）。OS の描き方をやめ、Chromium の UA と同じ箱（13px・margin 3px 3px 0 5px）で両エンジン同じ形に。線は --c-line・選択は --c-navy の輪と点（XD にラジオの色の指定は無い。XD の径 17.5 を写すのは行の高さが変わるので別表 N7） */
.sf-form .wpcf7-list-item input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	box-sizing: border-box;
	width: calc(13px * var(--k));
	height: calc(13px * var(--k));
	margin: calc(3px * var(--k)) calc(3px * var(--k)) 0 calc(5px * var(--k));
	padding: 0;
	border: 1px solid var(--c-line);
	border-radius: 50%;
	background: var(--c-white);
}

.sf-form .wpcf7-list-item input[type="radio"]:checked {
	border-color: var(--c-navy);
	background: radial-gradient(circle, var(--c-navy) calc(3px * var(--k)), var(--c-white) calc(3.5px * var(--k)));
}

.sf-form__submit {
	margin-top: calc(63px * var(--k)); /* 本文の欄の下端 2306 → 送信 2369 */
}

.sf-form__submit button,
.sf-form__submit input[type="submit"] {
	display: block;
	box-sizing: border-box;
	width: calc(79px * var(--k));
	height: calc(43px * var(--k));
	margin: 0;
	padding: calc(9.35px * var(--k)) 0 0; /* 20px・ベースライン 2397（枠 2369） */
	border: 0;
	border-radius: calc(8px * var(--k));
	background: var(--c-navy);
	color: var(--c-white);
	font-family: var(--ff-medium);
	font-weight: var(--fw-medium);
	font-size: var(--fs-20);
	line-height: 1;
	letter-spacing: 0.2em;
	text-indent: 0.2em; /* 字間の分だけ右へ（XD は中央揃え・x267＝枠の中心） */
	text-align: center;
	cursor: pointer;
}

/* v4-2 C13：<button> は UA が中身を縦中央へ寄せる（実測 基線 top+34.1、padding だけなら 28.0）。文字の箱だけ上げる */
.sf-form__submit button > .sf-xd {
	position: relative;
	top: calc(-6.1px * var(--k));
	left: -1.5px; /* v4-3 C-36：送信 の中心 x が +1.5（round6 前半 11） */
}

.sf-form .wpcf7-spinner {
	display: none;
}

/* ───────── 予備のページ（XD に画面は無い。記事ページ・一覧の値を使う） ───────── */
.sf-page--default,
.sf-page--index,
.sf-page--search,
.sf-page--404 {
	padding-bottom: calc(160px * var(--k));
}

.sf-page--default .sf-page__body {
	margin-top: calc(71.5px * var(--k));
}

.sf-page__list {
	margin-top: calc(71.5px * var(--k));
}

.sf-page__item {
	display: flex;
	gap: calc(20px * var(--k));
	padding: calc(20px * var(--k)) 0;
	border-bottom: 1px solid var(--c-line);
	font-size: var(--fs-20);
	line-height: var(--lh-20);
}

.sf-page__date {
	flex: none;
	font-family: var(--ff-latin);
	font-weight: var(--fw-latin);
}

.sf-page__link {
	color: inherit;
}

.sf-page__empty,
.sf-page__back {
	margin-top: calc(71.5px * var(--k));
	font-size: var(--fs-20);
	line-height: var(--lh-20);
}

.sf-page__back {
	margin-top: calc(20px * var(--k));
}

.sf-page__back a {
	text-decoration: underline;
}

/* ───────── 768〜1099：XD に無い幅。横に並びきらない物を縦に積む（数値は PC の XD のまま） ───────── */
@media (max-width: 824px) {
	.sf-products {
		grid-template-columns: repeat(2, calc(201px * var(--k)));
		justify-content: space-evenly;
	}

	.sf-products__item:nth-child(n) {
		grid-column: auto;
	}

	.sf-about__news {
		display: block;
	}

	.sf-about__news-h {
		width: auto;
	}

	.sf-about__news-item {
		width: auto;
		margin-left: 0;
		padding-left: 0;
	}

	.sf-about__company-in {
		grid-template-columns: minmax(0, 1fr);
		row-gap: calc(60px * var(--k));
	}

	.sf-about__photo {
		max-width: calc(623px * var(--k));
	}

	.sf-about__biz {
		--sf-biz-gap: calc(24px * var(--k));
	}
}

/* v4-2 C15：768〜1099 で span.wpcf7-radio が 3 列に 4 個（格子の半端）。4 個は 2 列で割り切れる。gap は PC の 16px 40px を継ぐ。
   ※指示書は max-width:1099px の中に置く指定だが、そこでは SP（≤767）にも当たり SP_お問い合わせの並びが変わるため 768 以上に限った */
@media (min-width: 768px) and (max-width: 824px) {
	.sf-form .wpcf7-radio {
		display: grid;
		grid-template-columns: repeat(2, max-content);
	}
}

/* ───────── SP（≤767：SP_サービス／SP_取扱商品／SP_茶房 贔／SP_アクセス／SP_三島家具について／SP_お問い合わせ） ───────── */
@media (max-width: 767px) {
	.sf-sp-only {
		display: inline;
	}

	.sf-pc-only,
	.sf-br-pc {
		display: none;
	}

	/* サービス */
	.sf-page--service {
		padding-bottom: 150px; /* 最後のボタン下端 3411 → フッター 3561 */
	}

	.sf-page--service .sf-page-title,
	.sf-page--access .sf-page-title {
		font-size: 34px;
		margin-top: 38.295px; /* ヘッダー下端 65 → 題の箱 103.295（34px・ベースライン 135） */
	}

	.sf-page--service .sf-page__body {
		margin-top: 41.705px; /* 題の箱の下端 137.295 → 写真 179 */
	}

	.sf-page--service .sf-svc + .sf-svc {
		margin-top: 40px; /* ボタン下端 923 → 次の写真 963 */
	}

	.sf-svc__photos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto auto;
		column-gap: 6.5px; /* 184.5＋6.5＋184 */
		row-gap: 8.2px; /* 395.8 → 404 */
		margin-inline: calc(-1 * var(--gutter));
		aspect-ratio: auto;
	}

	.sf-svc__photos > :first-child {
		grid-row: auto;
		grid-column: 1 / -1;
		aspect-ratio: 375 / 216.8;
	}

	.sf-svc__photos > :not(:first-child) {
		aspect-ratio: 184.25 / 105;
	}

	.sf-page--service .sf-svc h2 {
		margin-top: 30.62px; /* 写真下端 509 → 見出しの箱 539.62（24px・ベースライン 562） */
		font-size: var(--fs-24);
	}

	.sf-page--service .sf-svc p {
		max-width: none;
		margin-top: 18.54px; /* 見出しの箱の下端 563.62 → 説明文の箱 582.16（autoHeight・y589） */
		font-size: var(--fs-16);
		line-height: 28px;
	}

	/* v4-3 C-39：2〜4 区画目の説明文の基線が XD より 0.94・0.98・1.03 上（h2 の箱 22px の切り上げ）。箱を動かさず文字だけ 1 下げる */
	.sf-page--service .sf-page__body > .sf-svc:nth-child(n+2) > p {
		position: relative;
		top: 1px;
	}

	.sf-page--service .wp-block-buttons {
		flex-direction: column;
		align-items: center;
		margin-top: 26.84px; /* 説明文の下端 → ボタン（2〜4 件目の XD。1 件目だけ 18.84） */
	}

	/* v4-2 C16：1 区画目だけ説明文の下端 → ボタン 18.84（XD SP_サービス 825）。2〜4 区画は 26.84 */
	.sf-page--service .sf-page__body > .sf-svc:first-child .wp-block-buttons {
		margin-top: 18.84px;
	}

	.sf-page--service .wp-block-button.is-line {
		margin-left: 0;
	}

	/* v4-5 W-1b-5：枠 0.8px（L99）は DPR2 で C 1px・W 0.5px。SP は 1px に */
	.sf-page--service .wp-block-button__link {
		width: 180px;
		height: 41px;
		padding: 12.145px 0 0; /* 14px・ベースライン 851（枠 825） */
		border-width: 1px;
		font-size: var(--fs-14);
		text-align: center;
	}

	/* v4-5 W-5：「LINEでお問い合わせ」は中央寄せで始点が C −0.9／W −1.5（WebKit は始点の置き方が違う）。枠の左に 1px 足して中心を +0.5（border-box なので幅 180 は不変）→ C −0.4／W −0.5 */
	.sf-page--service .wp-block-button.is-line .wp-block-button__link {
		padding-left: 1px;
	}

	.sf-page--service .wp-block-button + .wp-block-button .wp-block-button__link {
		padding-top: 11.145px; /* 2 本目：ベースライン 907（枠 882） */
	}

	.sf-page--service .wp-block-button:not(.is-line) + .wp-block-button:not(.is-line) .wp-block-button__link {
		border-color: var(--c-black); /* SP の 3・4 件目の 2 本目は枠 #000000 */
	}

	/* 取扱商品 */
	.sf-page--products {
		padding-bottom: 133.92px; /* 5 段目の名前の下端 986.08 → フッター 1120 */
	}

	.sf-page--products .sf-page-title {
		margin-left: -5px; /* 題 x20（本文の枠 x25） */
	}

	.sf-products {
		grid-template-columns: 122px 122px;
		justify-content: start;
		column-gap: 42px; /* x44＋122 → x208 */
		row-gap: 23.92px; /* 名前の下端 310.08 → 次の枡 334 */
		margin-top: 27.975px; /* 題の箱の下端 137.025 → 枡 165 */
		padding-left: 19px; /* 枡 x44 */
	}

	.sf-products__box {
		width: 122px;
		height: 121px;
	}

	.sf-products__img {
		left: var(--xs);
		top: var(--ys);
		width: var(--ws);
		height: var(--hs);
	}

	/* 7周目 A16：表に無い商品の既定（SP 122×121 枡に 86 角） */
	.sf-products__box.is-fit .sf-products__img {
		left: 18px;
		top: 18px;
		width: 86px;
		height: 86px;
	}

	.sf-products__label,
	.sf-products__item:nth-child(n+7) .sf-products__label {
		margin: 8.08px -20px 0; /* v4 D2。枡の下端 286 → 名前の箱 294.08（16px・ベースライン 309） */
		font-size: var(--fs-16);
	}

	/* 茶房 贔 */
	.sf-page--sabo {
		padding-bottom: 150px; /* 下の写真の下端 2161.5 → フッター 2311.5 */
	}

	.sf-sabo__hero {
		margin-top: 40px; /* ヘッダー下端 65 → 写真 105 */
		aspect-ratio: 325 / 158;
	}

	.sf-page--sabo .sf-page-title {
		margin-top: 58.425px; /* 写真下端 263 → 題の箱 321.425（autoHeight・y323・30px） */
	}

	.sf-page--sabo .sf-page__body {
		margin-top: 47.735px; /* 題の箱の下端 351.425 → 紹介文の箱 399.16（y406・行間 28） */
	}

	.sf-page--sabo .sf-page__body p {
		font-size: var(--fs-16);
		line-height: 28px;
	}

	.sf-page--sabo .sf-page__body p + p {
		margin-top: 28px; /* SP は空行 1 行＝28 */
	}

	.sf-page--sabo .sf-page__body p + .sf-sabo__menu {
		margin-top: 76.84px; /* 紹介文の下端 847.16 → メニュー 924 */
	}

	.sf-sabo__menu,
	.sf-sabo__menu + .sf-sabo__menu {
		aspect-ratio: 325 / 459.6;
	}

	.sf-sabo__menu + .sf-sabo__menu {
		margin-top: 80px; /* 1383.6 → 1463.6 */
	}

	.sf-sabo__photo {
		aspect-ratio: 325 / 158.2;
	}

	.sf-sabo__menu + .sf-sabo__photo {
		margin-top: 80.1px; /* 1923.2 → 2003.3 */
	}

	/* アクセス */
	.sf-page--access {
		padding-bottom: 150.3px; /* 最後の地図の下端 3346.7 → フッター 3497 */
	}

	.sf-access {
		margin-top: 41.705px; /* 題の箱の下端 137.295 → 写真 179 */
	}

	.sf-access__store + .sf-access__store {
		margin-top: 120.3px; /* 地図の下端 890.7 → 次の写真 1011 */
	}

	.sf-access__photos {
		display: flex;
		justify-content: center;
		gap: 17px; /* 135＋17＋308＋17＋135（x−118・34・359） */
		height: 218px;
		margin-inline: calc(-1 * var(--gutter));
		overflow: hidden;
		overflow: clip; /* 中の写真へ移る操作（ページ内検索など）で列が横に送られないように */
		aspect-ratio: auto;
	}

	.sf-access__photo {
		flex: none;
		width: 135px;
		height: 218px;
	}

	.sf-access__photo--c {
		width: 308px;
	}

	.sf-access__bar {
		top: 103.1px; /* 線 y282.1（写真 179） */
		height: 11.7px;
	}

	.sf-access__bar--l {
		left: 27.6px; /* 線の中心 x28.1 */
	}

	.sf-access__bar--r {
		left: auto;
		right: 26.1px; /* 線の中心 x348.4（右端 375 から 26.6） */
	}

	/* 2026-10-29 スライドのボタンは真ん中の写真（幅 308・画面の中央）の左右の端に重ねる（左右の写真は端が少しのぞくだけのため） */
	.sf-access__photos.js-access-slide {
		--gap: 17px;
		--slide: 308px;
		--start: calc((100% - 308px) / 2);
		display: block;
	}

	.sf-access__nav {
		width: 36px;
		height: 36px;
		margin-top: -18px;
	}

	.sf-access__nav--prev {
		left: calc(50% - 146px);
	}

	.sf-access__nav--next {
		left: calc(50% + 110px);
	}

	.sf-access__dots {
		bottom: 6px;
	}

	.sf-access__body {
		display: block;
		margin-top: 40.025px; /* 写真下端 397 → 店名の箱 437.025（30px・ベースライン 465） */
	}

	.sf-access__name {
		font-size: var(--fs-30);
	}

	/* v4-3 C-33：高崎店の店名は代替書体で「BLUE MOMENT 高崎」が 297.6px（XD は 1 行）。「店」だけ 2 行目に落ちて以降が +30。1 行に保ち右の余白 25 に 2.6 はみ出す（v4 K3 宇都宮の住所と同型） */
	.sf-access__store:nth-of-type(3) .sf-access__name {
		white-space: nowrap;
	}

	/* v4-3 C-43：XD「SP_アクセス」の茶房の文面（〒・住所・TEL）は字間 −0.42px。写す（吸収ではない） */
	.sf-access__store:nth-of-type(4) .sf-access__info {
		letter-spacing: -0.42px;
	}

	.sf-access__info {
		margin-top: 27.8925px; /* 店名の箱の下端 467.025 → 文面の箱 494.9175（21px・行間 40・ベースライン 524） */
		font-size: var(--fs-21);
		line-height: 40px;
	}

	/* v4-4 R4-1：OPEN と CLOSE の間（components.css の .sf-sp3 0.75em）は本文 21px で 15.75px になり、OPEN 行 313.22px と合わせて箱 325 を超え「水」が落ちる（round7 21 の +40／+80 連鎖 42 件）。入る最大 11.78px の内側で 0.5em（10.5px）。SP のアクセスだけ（他画面は XD の空き 3 つどおり 0.75em のまま） */
	.sf-access__info .sf-sp3 {
		width: 0.5em;
	}

	/* v4-2 C17：宇都宮店の MAIL は代替書体で 364px（枠 325）。1 行に保ち、横だけ 0.89 に縮める（.sf-shop__line は display:block） */
	.sf-access__store:nth-of-type(2) .sf-access__info .sf-shop__line--mail {
		white-space: nowrap;
		transform: scaleX(0.89);
		transform-origin: 0 50%;
	}

	/* v4 K3：MAIL 行が 325px で折返し 1 行多い。XD は 4 店とも同じ行数 */
	.sf-access__info .sf-shop__line--mail {
		letter-spacing: -0.035em;
	}

	/* v4 K3：XD「SP_アクセス」の宇都宮店の文面は字間 −0.04em（住所・MAIL が 1 行に収まる） */
	.sf-access__store:nth-of-type(2) .sf-access__info,
	.sf-access__store:nth-of-type(2) .sf-access__info .sf-shop__line--mail {
		letter-spacing: -0.04em;
	}

	/* v4 K3：宇都宮店の住所は代替書体で 334px（XD は 1 行・枠 325）。右の余白 25px に 9px はみ出して 1 行に保つ */
	.sf-access__store:nth-of-type(2) .sf-shop__line--addr {
		white-space: nowrap;
	}

	.sf-access__map {
		margin-top: 28.0825px; /* 文面の下端 694.9175 → 地図 723 */
		aspect-ratio: 325 / 167.7;
	}

	.sf-access__map-ph {
		padding-top: 74.945px; /* 地図 723 → 文字の箱 797.945（14px・ベースライン 811） */
		font-size: var(--fs-14);
	}

	/* 三島家具について */
	.sf-page--about {
		padding-bottom: 140.56px; /* 最後の名前の下端 3222.44 → フッター 3363 */
	}

	.sf-about__hero {
		margin-top: 38.975px; /* 題の箱の下端 137.025 → 写真 176 */
		aspect-ratio: 325 / 404;
	}

	.sf-about__h,
	.sf-page--about .sf-page__body h2 {
		font-size: var(--fs-26);
	}

	.sf-about__news-h {
		margin-top: 32.755px; /* 写真下端 580 → 見出しの箱 612.755（26px・ベースライン 637） */
	}

	.sf-about__news-body {
		margin-top: 36.595px; /* 見出しの箱の下端 638.755 → 題の箱 675.35（20px・行間 28・ベースライン 698） */
	}

	/* v4-5 W-1b-1：下線 0.8px は DPR2 で C 1px・W 0.5px。SP は 1px に（22 の W−C −0.6〜−2.7 が消える） */
	.sf-about__news-item {
		padding-bottom: 14.55px; /* 題の下端 703.35 → 線 717.9 */
		border-bottom-width: 1px;
	}

	/* XD の 2 件目は題が 2 行（PRIVACY POLICY ⏎ について）で、線までが 11.95 */
	.sf-about__news-item:nth-child(2) {
		padding-bottom: 11.95px;
	}

	.sf-about__news-item + .sf-about__news-item {
		margin-top: 10.65px; /* 線の下端 718.7 → 次の題の箱 729.35 */
	}

	.sf-about__news-date {
		width: 96px; /* 日付 x25 → 縦線 x121 */
		margin-top: 5px; /* 日付の箱 680.35（20px・ベースライン 699） */
		font-size: var(--fs-20);
	}

	.sf-about__news-title {
		margin-left: 17px; /* 縦線 x121 → 題 x138 */
		font-size: var(--fs-20);
		line-height: 28px;
	}

	.sf-about__news-title::before {
		left: -17px;
		top: 4.65px; /* 縦線 y680（題の箱 675.35） */
		bottom: 2.35px; /* 1 行＝高さ 21 */
		height: auto;
	}

	.sf-about__more {
		margin-top: 18.68px; /* 線の下端 852.1 → 文字の箱 870.78（16px・ベースライン 885.7） */
		font-size: var(--fs-16);
	}

	.sf-page--about .sf-page__body {
		margin-top: 76.275px; /* もっと見るの下端 886.78 → ストアコンセプトの箱 963.055（v4-2 C19：実測 +6.7） */
	}

	.sf-about__catch {
		margin-top: 34px; /* 見出しの箱の下端 995.755 → 1029.755（26px・行間 38・ベースライン 1060） */
		font-size: var(--fs-26);
		line-height: 38px;
	}

	.sf-about__text {
		margin-top: 20.405px; /* 1105.755 → 紹介文の箱 1126.16（area・y1133） */
		font-size: var(--fs-16);
		line-height: 28px;
	}

	.sf-about__company {
		margin-top: 120.595px; /* 紹介文の下端 1462.16 → 企業情報の箱 1582.755 */
	}

	.sf-about__company-in {
		display: block;
		margin-top: 41.245px; /* 見出しの箱の下端 1608.755 → 写真 1650 */
	}

	.sf-about__photo {
		max-width: none;
		aspect-ratio: 325 / 404;
	}

	.sf-about__info {
		margin-top: 31.35px; /* 写真下端 2054 → 会社概要の箱 2085.35（20px・ベースライン 2104） */
	}

	/* v4-5 W-1b-2：下線 0.8px（L513）は DPR2 で C 1px・W 0.5px。SP は 1px に（try の border-width:1px と同じ結果。上・左・右は style none で幅 0 のまま） */
	.sf-page--about .sf-about__info h3 {
		padding-bottom: 24.25px; /* 文字の下端 2105.35 → 線 2129.6 */
		font-size: var(--fs-20);
		border-bottom-width: 1px;
	}

	.sf-page--about .sf-about__info h3 ~ h3 {
		margin-top: 26.27px; /* 会社概要の下端 2259.08 → 事業内容の箱 2285.35 */
	}

	.sf-about__dl {
		grid-template-columns: 113px minmax(0, 1fr); /* 項目 x25 → 中身 x138 */
		margin-top: 16.68px; /* 線の下端 2130.4 → 2147.08（16px・行間 28・ベースライン 2168） */
	}

	.sf-about__dl p,
	.sf-about__list {
		font-size: var(--fs-16);
		line-height: 28px;
	}

	/* v4-2 C20：「群馬県伊勢崎市日乃出町399-1」が代替書体で 1 行余る（5 行・XD 4 行）。字間で 1 行に */
	.sf-about__dd {
		letter-spacing: -0.5px;
	}

	.sf-about__list {
		margin-top: 16.68px;
	}

	.sf-about__recruit {
		margin-top: 34.92px; /* 事業内容の下端 2599.08 → 枠 2634 */
	}

	.sf-about__recruit a {
		width: auto;
		height: 64px;
		color: var(--c-black);
	}

	.sf-about__recruit strong {
		left: 31px; /* 文字 x57 − 枠 25 − 枠線 1 */
		top: 17.62px; /* 24px・ベースライン 2675 */
		font-size: var(--fs-24);
	}

	.sf-about__recruit em {
		left: 157px; /* 文字 x183 */
		top: 23.08px; /* 16px・ベースライン 2673 */
		font-size: var(--fs-16);
	}

	.sf-about__business {
		margin-top: 78.755px; /* 枠の下端 2698 → 事業形態の箱 2776.755 */
	}

	.sf-about__biz {
		grid-template-columns: 180px 180px;
		column-gap: 2.5px; /* 枠 x7.5 と x190 */
		row-gap: 34.16px; /* 3 段目の名前の下端 3118.74 → 4 段目の枠 3152.9 */
		margin-top: 41.245px; /* 見出しの箱の下端 2802.755 → 枠 2844 */
		margin-inline: -17.5px; /* 枠 x7.5（本文の枠 x25） */
	}

	.sf-about__biz > figure {
		grid-template-rows: 54px auto;
	}

	.sf-about__biz > figure figcaption {
		margin-top: 6.54px; /* 枠の下端 2898 → 名前の箱 2904.54（8px・ベースライン 2912） */
		font-size: 8px;
	}

	/* SP の並び：(1,2) (4,5) (6,7) (3,8) */
	.sf-about__biz > :nth-child(1) { order: 1; }
	.sf-about__biz > :nth-child(2) { order: 2; }
	.sf-about__biz > :nth-child(3) { order: 7; }
	.sf-about__biz > :nth-child(4) { order: 3; }
	.sf-about__biz > :nth-child(5) { order: 4; }
	.sf-about__biz > :nth-child(6) { order: 5; }
	.sf-about__biz > :nth-child(7) { order: 6; }
	.sf-about__biz > :nth-child(8) { order: 8; }

	.sf-about__biz > :nth-child(6),
	.sf-about__biz > :nth-child(n+6) {
		grid-column: auto;
		margin-top: 0;
	}

	/* XD：1 段目の名前の下端 → 2 段目の枠は 39.36（他の段は 34.16） */
	.sf-about__biz > :nth-child(4),
	.sf-about__biz > :nth-child(5) {
		margin-top: 3.6px; /* v4-2 C21：2 段目の名前の基線が XD より 1.6 下 */
		left: 0; /* 2026-11-10 PC の中段センター寄せは SP（2 列）では使わない */
	}

	/* v4-2 C22：3 段目 −2.7・4 段目 +1（XD の段間の揺れ） */
	.sf-about__biz > :nth-child(6),
	.sf-about__biz > :nth-child(7) {
		margin-top: -2.7px;
	}

	/* v4-3 C-42：XD の 2 段目右「日本茶カフェ」だけ名前の基線が 3025.95（左のコーヒーとおやつ 3018.25）。7.7 下げて他の 7 つと同じ差にそろえる（一律 +55.6 は別表） */
	.sf-about__biz > :nth-child(5) figcaption {
		position: relative;
		top: 7.7px;
	}

	.sf-about__biz > :nth-child(3),
	.sf-about__biz > :nth-child(8) {
		margin-top: 1px;
	}

	/* SP の写真の大きさ（PC の実寸 × 0.45。2 と 7 は × 0.346、5 は × 0.4615） */
	.sf-about__biz > :nth-child(1) img { width: 90px; }
	.sf-about__biz > :nth-child(2) img { width: 51.9px; } /* 2026-11-09 ACTUS UTSUNOMIYA だけ（前と同じ縮尺 120.4/413） */
	.sf-about__biz > :nth-child(3) img { width: 124.7px; }
	.sf-about__biz > :nth-child(4) img { width: 84.6px; } /* 2026-11-10 2 段組みのロゴ：PC 188 × 0.45 */
	.sf-about__biz > :nth-child(5) img { width: 123px; }
	.sf-about__biz > :nth-child(6) img { width: 106.2px; }
	.sf-about__biz > :nth-child(7) img { width: 156.5px; }
	.sf-about__biz > :nth-child(8) img { width: 143.1px; }

	/* お問い合わせ */
	/* v4-5 W-4：フッター全行が C −0.9〜−1.0（許容の端）で W は基線の丸めで −1.1〜−1.2。1 足して真ん中へ（C 0.0〜+0.1・W −0.1〜−0.2） */
	.sf-page--contact {
		padding-bottom: 121px; /* 送信の下端 2111 → フッター 2231（+1 は W-4） */
	}

	.sf-page--contact .sf-page-title {
		letter-spacing: -0.03em;
	}

	.sf-page--contact .sf-page__body > p:first-child {
		margin-top: 34.24px; /* 題の箱の下端 137.025 → 冒頭文の箱 171.265（autoHeight・y179・14px・行間 28） */
		font-size: var(--fs-14);
		line-height: 28px;
		letter-spacing: -0.04em;
		min-height: 224px; /* v4 K9：XD は冒頭文 8 行（224px）前提。本文は変えない */
	}

	.sf-form {
		margin-top: 44.085px; /* 冒頭文の下端 395.265 → 問い合わせ先の箱 439.35（20px・ベースライン 458） */
	}

	.sf-form__row {
		padding-bottom: 31.35px; /* 入力欄の下端 824 → 次の項目名の箱 855.35 */
	}

	.sf-form__row--to {
		height: 307px; /* 439.35 → お名前 746.35 */
		padding-bottom: 0;
	}

	.sf-form__row--subject {
		height: 314px; /* 964.35 → 添付ファイル 1278.35 */
		padding-bottom: 0;
	}

	.sf-form__row--body {
		padding-bottom: 0;
	}

	.sf-form__label {
		font-size: var(--fs-20);
	}

	.sf-form__req {
		top: -1px; /* 項目名のベースライン 765 に対して ※必須 764 */
		margin-left: 8px; /* お名前 x25＋60 → ※必須 x93。v4-3 C-38：v4-2 C23 は当て先違い。共通は 8 に戻しメール行は下の C-38c */
	}

	/* v4-3 C-38c：メールアドレス行だけ 2 広い（PC の C-34b と同じ型） */
	.sf-form__row:has(input[type="email"]) .sf-form__req {
		margin-left: 6px;
	}

	.sf-form .wpcf7-form-control-wrap {
		margin-top: 14.65px; /* 項目名の下端 766.35 → 入力欄 781 */
	}

	.sf-form__files .wpcf7-form-control-wrap + .wpcf7-form-control-wrap {
		margin-top: 12px; /* 1349 → 1361 */
	}

	.sf-form input[type="text"],
	.sf-form input[type="email"],
	.sf-form input[type="tel"],
	.sf-form textarea {
		width: 100%;
		font-size: var(--fs-16);
	}

	/* v4-5 W-1b-3：枠 0.8px（L702）は DPR2 で C 1px・W 0.5px。SP は 1px に */
	.sf-form textarea {
		height: 534px;
		line-height: 28px;
		border-width: 1px;
	}

	.sf-form input[type="file"],
	.sf-form input[type="file"]::file-selector-button {
		width: 144px;
		height: 36px;
		font-size: var(--fs-12);
	}

	/* v4-5 W-1b-4：枠 0.8px（L733）は DPR2 で C 1px・W 0.5px。SP は 1px に（C の箱は変わらない） */
	.sf-form input[type="file"]::file-selector-button {
		padding-top: 12.01px; /* 12px・ベースライン 1337（枠 1313）− 枠線 0.8 */
		border-width: 1px;
	}

	.sf-form .wpcf7-radio {
		gap: 12px 24px;
		font-size: var(--fs-16);
	}

	.sf-form__submit {
		margin-top: 29px; /* 本文の欄の下端 2046 → 送信 2075 */
	}

	.sf-form__submit button,
	.sf-form__submit input[type="submit"] {
		width: 66px;
		height: 36px;
		padding-top: 9.08px; /* 16px・ベースライン 2099（枠 2075） */
		font-size: var(--fs-16);
	}

	.sf-form__submit button > .sf-xd {
		top: -3.5px; /* v4-2 C24 */
		left: -1.6px; /* v4-3 C-38b：送信 の中心 x 59.6（XD 58） */
	}

	/* v4-2 C25：layout.css の .sf-drawer__shop span／.sf-drawer__kw span（子孫）が data-xd の入れ子 .sf-xd にも当たり、left/top が 3 重（実測 x277.1＝197＋26.7×3・x111.1＝25＋28.7×3）。入れ子は流れに戻す */
	.sf-drawer__shop .sf-xd,
	.sf-drawer__kw .sf-xd {
		position: static;
	}
}

/* 予備の一覧（index・search）の頁送り：お知らせ一覧と同じ 92px */
.sf-page--index .sf-pager,
.sf-page--search .sf-pager {
	margin-top: calc(92px * var(--k));
}

/* ═══════ 一覧・記事（B・XD 差分直し 2 周目 2026-09-29）。components.css より後に読まれるので同点でも勝つ ═══════ */
/* 2-1（お知らせ一覧 札なしカードの題・冒頭 −7）は入れない：日付は .sf-ncard__meta の中にあり、札なしで meta の高さが 39.7825→32.7825（−7）になるので題・冒頭は既に −7 付いてきている。実装記録 v4 2周目 B ※1 */
@media (min-width: 768px) {

	/* 2-3 読み物一覧：フッター 3669.9 → XD 3672.65（+2.7。ページ送りは合っているので下だけ伸ばす） */
	.sf-list--reading {
		padding-bottom: calc(112.7px * var(--k));
	}

	/* 2-4 記事 右欄「人気記事」：列指定の無い grid が nowrap の題で 1234px に広がり PC で +563 はみ出す（その他検査） */
	.sf-side--article .sf-side__cards {
		grid-template-columns: minmax(0, 1fr);
	}

	/* 2-5 記事 右欄バナーの文字 LINE・メルマガ：中心 1470.8 → XD 1469（−1.8。箱は動かさず字だけ） */
	.sf-side--article .sf-banner--2 .sf-banner__label,
	.sf-side--article .sf-banner--3 .sf-banner__label {
		transform: translateX(-1.8px);
	}
}

/* 2-6 企画展「特集記事を読む」：見た目を 1px も変えず当たり判定だけ 44px に（PC 149×41・SP 125×34。B 票 2-6 の B 分） */
.sf-exh__btn {
	position: relative;
}

.sf-exh__btn::after {
	content: "";
	position: absolute;
	inset: min(0px, calc(50% - calc(22px * var(--k))));
}

@media (max-width: 767px) {
	/* 2-7 SP お知らせ一覧 企画展の店名：XD は 1 行「三島家具 伊勢崎本店」。sf-br-sp の改行を右欄では効かせない（2 行目の 24px が下の 35 件へ累積していた） */
	.sf-side--archive .sf-exh__shop .sf-br-sp {
		display: none;
	}

	/* 2-8 SP 店舗タブ：flex:none の 90px × 本数が 375 を超えた時は横スクロール（はみ出し +95 の止め。本数自体は 2-10 で 3 本に） */
	.sf-tabs--sp {
		overflow-x: auto;
		scrollbar-width: none;
	}

	.sf-tabs--sp::-webkit-scrollbar {
		display: none;
	}
}

/* ═══════ 一覧・記事（B・XD 差分直し 3 周目 2026-09-29） ═══════ */
/* 3-1 お知らせ一覧 右欄の店舗 2 枡目の店名だけ +1.8：XD 自体が 2 枡目の店名だけ 1 下（店名→〒 34 vs 33）。PC 2467.2→2469・SP 4048.2→4050。箱は動かさず字だけ。PC・SP 共通なので media の外 */
.sf-list--news .sf-side--archive .sf-shops__grid--side .sf-shop:nth-child(2) .sf-shop__name {
	position: relative;
	top: 1.8px;
}

/* ═══════ 検索（7周目 A8・XD に画面は無い。入力欄と押す物はお問い合わせと同じ値） ═══════ */
.sf-search {
	display: flex;
	gap: calc(16px * var(--k));
	margin-top: calc(71.5px * var(--k)); /* 題の下端 → 検索窓。.sf-page__list と同じ */
}

.sf-search__input {
	display: block;
	box-sizing: border-box;
	flex: 1 1 auto;
	min-width: 0;
	max-width: calc(973px * var(--k));
	height: calc(43px * var(--k));
	margin: 0;
	padding: 0 calc(16px * var(--k));
	border: 0.8px solid var(--c-line);
	border-radius: calc(8px * var(--k));
	background: var(--c-white);
	color: var(--c-black);
	font-family: var(--ff-light);
	font-weight: var(--fw-light);
	font-size: var(--fs-20);
	line-height: 1;
	-webkit-appearance: none;
	appearance: none;
}

.sf-search__btn {
	display: block;
	box-sizing: border-box;
	flex: none;
	width: calc(79px * var(--k));
	height: calc(43px * var(--k));
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: calc(8px * var(--k));
	background: var(--c-navy);
	color: var(--c-white);
	font-family: var(--ff-medium);
	font-weight: var(--fw-medium);
	font-size: var(--fs-20);
	line-height: 1;
	letter-spacing: 0.2em;
	text-indent: 0.2em;
	text-align: center;
	cursor: pointer;
}

.sf-search + .sf-page__list,
.sf-search + .sf-page__empty {
	margin-top: calc(40px * var(--k)); /* 検索窓の下端 → 一覧・案内文 */
}

@media (max-width: 767px) {
	.sf-search {
		gap: 12px;
		margin-top: 40px;
	}

	.sf-search__input {
		height: 36px;
		border-width: 1px;
		font-size: var(--fs-16);
	}

	.sf-search__btn {
		width: 66px;
		height: 36px;
		font-size: var(--fs-16);
	}

	.sf-search + .sf-page__list,
	.sf-search + .sf-page__empty {
		margin-top: 30px;
	}
}

/* ── 直し：825〜1159px（元の 1100〜1545px）で両端の商品名の箱が外側の列（825px で約 11px）より左右へ出て、825px 前後で画面の外へ 4px はみ出す（元の 1100px 前後も同じ）。名前の箱の左右の張り出しを 20px→10px（× 倍率）にする。名前は最長 8 字で 1 行のまま・中央寄せなので見た目は変わらない ── */
@media (min-width: 825px) and (max-width: 1159px) {
	.sf-products__item:nth-child(n) .sf-products__label {
		margin-inline: calc(-10px * var(--k));
	}
}
/* ── 直しここまで ── */

/* ── 2026-11-04 吉村さん依頼「問い合わせのマージンはこれに合わせて」（XD お問い合わせ PC 1920・SP 375 を受領）。
   XD の項目の間は「欄の下端 → 次の項目名」が PC 42px（×k）・SP 31.35px で全項目同じ。問い合わせ先・件名の大きな空きは XD では選択肢の枠（高さ 241px）が占める所で、
   今のフォームはラジオと入力欄なので空白になっていた。枠の形に変えるまでは、他の項目と同じ間隔にそろえる ── */
/* PC・タブレット：固定高さ（332px・339px ×k）を外し、他の行と同じ下の空き 38.025px ×k に */
.sf-form__row--to,
.sf-form__row--subject {
	height: auto;
	padding-bottom: calc(38.025px * var(--k));
}

/* SP：冒頭文は XD どおり 8 行の高さ（224px）のまま。問い合わせ先・件名だけ詰める */
@media (max-width: 767px) {
	/* 問い合わせ先・件名：固定高さ（307px・314px）を外し、他の行と同じ下の空き 31.35px に */
	.sf-form__row--to,
	.sf-form__row--subject {
		height: auto;
		padding-bottom: 31.35px;
	}

	/* 問い合わせ先のラジオ：幅で 1 行 2 個になったり 1 個になったりする不揃いをやめ、1 列 4 行に（縦の間隔 12px は継ぐ）。minmax(0, …) で 320 幅でも列が親からはみ出さない */
	.sf-form .wpcf7-radio {
		display: grid;
		grid-template-columns: minmax(0, max-content);
	}
}
/* ── 2026-11-04 お問い合わせの XD 合わせ ここまで ── */

/* ───────── 2026-11-05 ボタンの中の文字を見た目で真ん中に（吉村さん「ボタン内でズレている文字をサイト内全て」） ─────────
   これまでは XD の基線に合わせて「上の余白」で文字の位置を決めていたため、書体・幅・ブラウザで上下左右にずれていた。
   箱の大きさ（幅・高さ・枠・角丸・色）は 1px も変えず、中身だけを箱の真ん中に置く。
   対象：Google MAP・特集記事を読む（.sf-btn-line）／店舗の札（.sf-badge）／ページ番号（.sf-pager__num）／
         サービスのボタン／送信／ファイルを選択／検索／オンラインショップ（PC ヘッダー・SP メニュー）／採用情報の枠。
   下線だけのタブ（.sf-tabs__tab）と検索の入力欄は箱のボタンではないので対象外。 */
.sf-btn-line,
.sf-badge,
.sf-pager__num,
.sf-pager__item.is-current .sf-pager__num,
.sf-page--service .wp-block-button__link,
.sf-form__submit button,
.sf-form__submit input[type="submit"],
.sf-search__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 0 !important; /* 部品・幅ごとに上の余白で文字を下げる指定が 20 か所以上あり、どれより後でも効かせるため */
	padding-bottom: 0 !important;
	text-align: center;
}

.sf-btn-line {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* サービスの「施工事例を見る」は右の余白だけ 19.6（左 23.2）で文字が左へ 1.8 寄っていた。幅はそのままで左右を同じに */
@media (min-width: 768px) {
	.sf-page--service .sf-page__body > .sf-svc:nth-child(4) .wp-block-button:first-child .wp-block-button__link {
		padding-left: calc(21.4px * var(--k));
		padding-right: calc(21.4px * var(--k));
	}
}

/* 中の文字の位置合わせ用の入れ子（.sf-xd）のずらしを流れに戻す */
.sf-btn-line .sf-xd,
.sf-badge .sf-xd,
.sf-pager__num .sf-xd,
.sf-page--service .wp-block-button__link .sf-xd,
.sf-form__submit button > .sf-xd,
.sf-search__btn .sf-xd {
	position: static;
	top: auto;
	left: auto;
	transform: none;
}

.sf-form input[type="file"]::file-selector-button {
	padding: 0;
	text-align: center;
}

/* PC ヘッダーの「オンラインショップ」：アイコンと文字を 1 組にして真ん中へ（間 8.2・元の配置の間隔） */
.sf-btn-shop {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: calc(8.2px * var(--k));
}

.sf-btn-shop__icon,
.sf-btn-shop__label {
	position: static;
	flex: none;
}

/* SP メニューの「オンラインショップ」 */
.sf-drawer__shop {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: calc(3.4px * var(--k));
}

.sf-drawer__shop img,
.sf-drawer__shop > span {
	position: static;
	flex: none;
}

/* 三島家具について「RECRUIT -採用情報はこちら-」の枠：2 つの文字を 1 組にして真ん中へ */
.sf-about__recruit a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: calc(14px * var(--k));
}

.sf-about__recruit strong,
.sf-about__recruit em {
	position: static;
}

@media (max-width: 767px) {
	.sf-page--service .wp-block-button.is-line .wp-block-button__link {
		padding-left: 0;
	}

	.sf-form input[type="file"]::file-selector-button {
		padding: 0;
	}
}

/* 右欄（記事・一覧）の Google MAP：箱の幅が文字の幅と同じで、文字が枠に付いて見えた（はみ出し）。
   文字の幅＋左右 0.7em の余白にし、元の幅より狭くはしない（左の位置はそのまま・右へだけ広がる） */
.sf-shops__grid--side .sf-shop__map {
	width: max-content !important;
	min-width: calc(92px * var(--k));
	padding-left: 0.7em !important;
	padding-right: 0.7em !important;
}

.sf-side--article .sf-shops__grid--side .sf-shop__map {
	min-width: calc(79px * var(--k));
}

@media (max-width: 767px) {
	.sf-shops__grid--side .sf-shop__map,
	.sf-side--article .sf-shops__grid--side .sf-shop__map {
		min-width: 92px;
	}
}

/* 見た目の上下合わせ（tests/tune.py で上の余白を 0〜0.24em 振って測り、いちばん真ん中に近い値を採った）。
   Chrome は文字を 1px 単位で置くので、箱の真ん中から 0.5px 以内に入る値を選ぶ。札・サービスのボタン・PC のページ番号は 0 のまま */
@media (min-width: 768px) {
	/* 特集記事を読む：しずか明朝の和文は字が上に見える */
	.sf-exh__btn {
		padding-top: 0.12em !important;
	}

	/* サービスのボタン（しずか明朝 13.5px）：字が約 1px 上に見える */
	.sf-page--service .wp-block-button__link {
		padding-top: 0.08em !important;
	}

	/* 3つ目の段（納品事例・法人）は箱の上端が 0.69px の位置で、1.08px では字が 1px 下がらない。1.4〜2.3px で真ん中に来るのでその間 */
	.sf-page--service .sf-page__body > .sf-svc:nth-child(3) .wp-block-button .wp-block-button__link {
		padding-top: 1.8px !important;
	}

	/* トップの店舗カードの Google MAP（大文字 MAP の高さで見る） */
	.sf-shops__grid--top .sf-shop__map {
		padding-top: 0.08em !important;
	}
}

/* 「次のページ」の › は ::before の線の絵。PC は絵が箱の真ん中より 0.9px 右に見えていたので、その分だけ左へ（SP は真ん中） */
@media (min-width: 768px) {
	.sf-pager__item.is-next .sf-pager__num::before {
		left: calc(19.8px * var(--k) - 0.9px);
	}
}

/* サービスの「納品事例を見る」「施工事例を見る」は字の形（終わりの「る」）で墨が約 1px 左に見える。
   左の余白を 1px 足して右を 1px 減らす（幅は変わらない）。スマホは幅 180 固定なので左に 2px */
@media (min-width: 768px) {
	.sf-page--service .sf-page__body > .sf-svc:nth-child(3) .wp-block-button:first-child .wp-block-button__link {
		padding-left: calc(23.2px * var(--k) + 1px);
		padding-right: calc(23.2px * var(--k) - 1px);
	}

	.sf-page--service .sf-page__body > .sf-svc:nth-child(4) .wp-block-button:first-child .wp-block-button__link {
		padding-left: calc(21.4px * var(--k) + 1px);
		padding-right: calc(21.4px * var(--k) - 1px);
	}
}

@media (max-width: 767px) {
	/* スマホのページ番号（adobe-garamond-pro 16px）は数字が上に見える */
	.sf-pager__num,
	.sf-pager__item.is-current .sf-pager__num {
		padding-top: 0.16em !important;
	}

	.sf-page--service .sf-page__body > .sf-svc:nth-child(3) .wp-block-button:first-child .wp-block-button__link,
	.sf-page--service .sf-page__body > .sf-svc:nth-child(4) .wp-block-button:first-child .wp-block-button__link {
		padding-left: 2px;
	}

	/* スマホの右欄（一覧）の Google MAP */
	.sf-shops__grid--side .sf-shop__map {
		padding-top: 0.08em !important;
	}
}

/* ── 2026-11-05 吉村さん依頼「記事ページの修正」（指示書_20261105_記事ページの修正） ── */
/* ① 記事の画像を元の大きさより引き伸ばさない。LINE「友だち追加」（元 232px）や中サイズの写真（300px）まで列の幅 717px に伸びていた。
      列より大きい写真は今まで通り列の幅に収まる。編集画面で大きさを指定した画像（style の幅）はその指定のまま */
.sf-article__body img {
	width: auto;
	max-width: 100%;
}

.sf-article__body img.aligncenter,
.sf-article__body .aligncenter > img {
	margin-left: auto;
	margin-right: auto;
}

/* 1つの段落に小さい写真が2枚以上ある時は、元のサイトと同じく横に並べる（収まらなければ折り返す） */
.sf-article__body p > img:not(:only-child) {
	display: inline-block;
	margin: 0 8px 8px 0;
	vertical-align: top;
}

/* ② 取り込み記事の吹き出し（旧サイトの speech-bubble）：顔写真が列の幅いっぱい（600〜700px）に出ていた。顔は丸く小さく左、言葉は右の吹き出しに */
.sf-article__body .sb-subtype-a,
.sf-article__body .sb-subtype-b {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin: 24px 0;
}

.sf-article__body .sb-subtype-b {
	flex-direction: row-reverse;
}

.sf-article__body .sb-subtype-a > p:empty,
.sf-article__body .sb-subtype-b > p:empty,
.sf-article__body .sb-speaker > p:empty,
.sf-article__body .sb-content > p:empty {
	display: none;
}

.sf-article__body .sb-speaker {
	flex: 0 0 72px;
	text-align: center;
}

.sf-article__body .sb-speaker img.sb-icon {
	width: 72px;
	height: 72px;
	margin: 0 auto;
	border-radius: 50%;
	object-fit: cover;
}

.sf-article__body .sb-name {
	margin-top: 4px;
	font-size: 11px;
	line-height: 1.4;
}

.sf-article__body .sb-content {
	flex: 1 1 auto;
	min-width: 0;
}

.sf-article__body .sb-speech-bubble {
	padding: 12px 16px;
	border-radius: 8px;
	background: var(--c-face);
}

@media (max-width: 767px) {
	.sf-article__body .sb-speaker {
		flex-basis: 56px;
	}

	.sf-article__body .sb-speaker img.sb-icon {
		width: 56px;
		height: 56px;
	}

	.sf-article__body .sb-subtype-a,
	.sf-article__body .sb-subtype-b {
		gap: 12px;
	}
}

/* ③ 記事ページ右欄の人気記事（PC）：説明文が線から離れて次の記事の写真に近かった（線→文字 約36px・文字→次の写真 約22px）。
      v4 B5 の 18.7 下げを外し、線→文字を題名→線の空き（約13px）とそろえる。カードの高さと並びは変えないので、文字→次の記事の写真が約22pxから約45pxに広がる */
@media (min-width: 768px) {
	.sf-side--article .sf-rcard--side .sf-rcard__excerpt {
		top: 0;
		margin-top: 3px;
		margin-bottom: 9px; /* 元の上の空き 12px（16×k）から減らした分を下へ回し、カードの高さ＝下の帯・店舗の位置を変えない */
	}
}
/* ── 2026-11-05 記事ページの修正 ここまで ── */

/* ── 2026-11-05 吉村さん依頼「sp版の修正」（PDF 10 項目）＋「スマホ修正の追加」（写真 1 枚）（指示書_20261105_SP版の修正）。SP（≤767）だけ・PC は変えない ── */
@media (max-width: 767px) {
	/* ① ヘッダーの高さ 65 → 60px。中のロゴ・アイコンは上下の真ん中を保つよう 2.5px 上げる。メニューを開いた時の頭も同じ高さに */
	:root {
		--h-header: 60px;
	}

	.sf-header__in > .sf-header__logo,
	.sf-drawer__head .sf-header__logo {
		top: 17.3px;
	}

	.sf-drawer__head {
		height: 60px;
	}

	.sf-drawer__shop {
		top: 17.5px;
	}

	.sf-drawer__close {
		top: 23.7px;
	}

	/* ⑪ 右のアイコン 3 つ：画面幅 375 の配置のまま左からの位置で決めていたので、390 では右に 41px 空いていた。三本線の右端を画面の右端から 24px にし、虫めがね・カートは三本線との間をそのまま保って右から並べる */
	.sf-header__sp .sf-header__sp-icon:nth-child(1) { top: 17.6px; right: 117.9px; left: auto; }
	.sf-header__sp .sf-header__sp-icon:nth-child(2) { top: 12.5px; right: 68.8px; left: auto; }
	.sf-header__sp .sf-burger { top: 19.75px; right: 24px; left: auto; }

	/* ② トップ：ヘッダーと写真（動画）の間の 40px をなくす */
	.sf-hero {
		margin-top: 0;
	}

	/* ③ トップ：「お知らせ」の見出しを下のタブ・カードの左端にそろえる（18px 右に寄っていた） */
	.sf-news__title {
		margin-left: 0;
	}

	/* ⑤ 読み物一覧：カードの説明文を 2 行 → 3 行（カンプどおり） */
	.sf-list__cards--reading .sf-rcard__excerpt {
		min-height: 60px;
		-webkit-line-clamp: 3;
	}

	/* ⑥ 三島家具について：事業形態のロゴの下の文字を 110%（8 → 8.8px） */
	.sf-about__biz > figure figcaption {
		font-size: 8.8px;
	}

	/* ⑦ 三島家具について：会社概要の表の下 → 「事業内容」の見出しを 32px（今 26.27px） */
	.sf-page--about .sf-about__info h3 ~ h3 {
		margin-top: 32px;
	}

	/* ⑧ キーワード検索：「キーワードを入れて「検索」を押してください。」（22 字）を 1 行に。幅 340px に入る大きさ（390 幅で約 15px）にし、20px を超えない */
	.sf-page--search .sf-page__empty {
		font-size: min(var(--fs-20), calc((100vw - 50px) / 22.5));
		white-space: nowrap;
	}

	/* ⑨ サービス：サービスとサービスの間（ボタンの下 → 次の写真）を 40 → 48px */
	.sf-page--service .sf-svc + .sf-svc {
		margin-top: 48px;
	}

	/* ⑩ お知らせ一覧：題が 1 行で切れ、「2026.10.25 ｜INFORMATION」が枠の外へ出ていた。
	      札と日付は入る時は 1 段・入らない時は日付を次の段の左端から。題 3 行・本文 3 行（カンプどおり）。カードの高さは中身に合わせ、横の 2 枚でそろえる */
	.sf-list__cards--news .sf-ncard__link {
		display: flex;
		flex-direction: column;
		height: 100%;
	}

	.sf-list__cards--news .sf-ncard__img {
		flex: none;
	}

	.sf-list__cards--news .sf-ncard__body {
		flex: 1 0 auto;
		height: auto;
		padding: 10px 8px 12px;
	}

	.sf-list__cards--news .sf-ncard__meta {
		flex-wrap: wrap;
		row-gap: 2px;
		margin-left: -10px; /* 段の頭の子にも左 10px が付くので、その分だけ外へ出して左端をそろえる */
	}

	.sf-list__cards--news .sf-ncard__meta > *,
	.sf-list__cards--news .sf-ncard__date,
	.sf-list__cards--news .sf-ncard__date:first-child {
		margin-left: 10px;
	}

	.sf-list__cards--news .sf-ncard__title {
		display: -webkit-box;
		margin-top: 6px;
		line-height: 20px;
		white-space: normal;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
	}

	.sf-list__cards--news .sf-ncard__excerpt {
		margin-top: 4px;
	}

	/* 幅 320 などでカードが狭く「2026.10.25 ｜INFORMATION」が 1 段に入らない時だけ、「｜」の前で折り返して枠の中に収める */
	.sf-list__cards--news .sf-ncard__date {
		max-width: 100%;
		white-space: normal;
	}

	/* ④ メニューの「カテゴリー」：開いている間は「カテゴリー」の行だけ残して矢印を上向きに。もう一度押すと閉じる（動きは menu.js） */
	.sf-drawer__list > .sf-drawer__item[hidden] {
		display: none;
	}

	.sf-drawer.is-cat .js-drawer-cat .sf-chev {
		transform: rotate(180deg);
	}
}
/* ── 2026-11-05 SP版の修正 ここまで ── */

/* ── 2026-11-06 追加修正（吉村さん PDF「三島家具修正_1106」）ここから ── */

/* ① お知らせ一覧：店舗とカテゴリーの選ぶ欄を 2 つ並べる（各 200・間 24）。題の枠は 654.5 − 224 ＝ 430.5 */
.sf-list--news .sf-filters {
	display: flex;
	flex: none;
	gap: calc(24px * var(--k));
}

@media (min-width: 768px) {
	.sf-list--news .sf-list__head .sf-page-title {
		width: calc(430.5px * var(--k));
	}
}

/* 見本の「▼」：選ぶ欄の右端に小さい下向きの三角 */
.sf-list--news .sf-select__label {
	position: relative;
	padding-right: calc(24px * var(--k));
}

.sf-list--news .sf-select__label::after {
	content: "";
	position: absolute;
	top: calc(31.4px * var(--k)); /* 文字の真ん中の高さ */
	right: calc(6px * var(--k));
	border-style: solid;
	border-width: calc(6px * var(--k)) calc(4px * var(--k)) 0;
	border-color: currentColor transparent transparent;
}

@media (min-width: 768px) and (max-width: 1159px) {
	.sf-list--news .sf-list__head .sf-page-title {
		width: min(calc(430.5px * var(--k)), calc(100% - calc(418px * var(--k))));
	}
}

@media (max-width: 767px) {
	.sf-list--news .sf-filters {
		gap: 15px;
		margin-top: 16px;
	}

	.sf-list--news .sf-select {
		display: block;
		flex: 1 1 0;
		width: auto;
		min-width: 0;
		margin-top: 0;
	}

	.sf-list--news .sf-select__label {
		overflow: hidden;
		padding: 10px 22px 8px 4px;
		font-size: var(--fs-16);
		text-overflow: ellipsis;
	}

	.sf-list--news .sf-select__label::after {
		top: 50%;
		right: 6px;
		border-width: 6px 4px 0;
		margin-top: -2px;
	}
}

/* ④ アクセスの写真送り：白い丸と影をやめ、写真と写真の間の白い所に細い灰色の「‹ ›」だけを置く（PDF の見本） */
.sf-access__nav {
	width: calc(24px * var(--k));
	height: calc(48px * var(--k));
	margin-top: calc(-24px * var(--k));
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.sf-access__nav:hover {
	background: transparent;
}

.sf-access__nav span,
.sf-access__nav--prev span,
.sf-access__nav--next span {
	width: calc(9px * var(--k));
	height: calc(18px * var(--k));
	border: 0;
	background: center / contain no-repeat;
	transform: none;
}

.sf-access__nav--prev span {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 18'%3E%3Cpolyline points='8,1 1,9 8,17' fill='none' stroke='%23999' stroke-width='1'/%3E%3C/svg%3E");
}

.sf-access__nav--next span {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 18'%3E%3Cpolyline points='1,1 8,9 1,17' fill='none' stroke='%23999' stroke-width='1'/%3E%3C/svg%3E");
}

.sf-access__nav--prev:hover span {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 18'%3E%3Cpolyline points='8,1 1,9 8,17' fill='none' stroke='%23555' stroke-width='1'/%3E%3C/svg%3E");
}

.sf-access__nav--next:hover span {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 18'%3E%3Cpolyline points='1,1 8,9 1,17' fill='none' stroke='%23555' stroke-width='1'/%3E%3C/svg%3E");
}

/* 写真の間の細い縦線は、同じ場所に「‹ ›」を置くのでやめる（写真送りのある所だけ） */
.js-access-slide .sf-access__bar {
	display: none;
}

/* 間（--gap）の真ん中に置く：前＝今の写真の左端 − 間の半分、次＝右端 ＋ 間の半分 */
.sf-access__nav--prev {
	left: calc(var(--start) - var(--gap) / 2 - calc(12px * var(--k)));
}

.sf-access__nav--next {
	left: calc(var(--start) + var(--slide) + var(--gap) / 2 - calc(12px * var(--k)));
}

@media (max-width: 767px) {
	.sf-access__nav {
		width: 17px;
		height: 36px;
		margin-top: -18px;
	}

	.sf-access__nav span,
	.sf-access__nav--prev span,
	.sf-access__nav--next span {
		width: 7px;
		height: 14px;
	}

	.sf-access__nav--prev {
		left: calc((100% - 308px) / 2 - 17px);
	}

	.sf-access__nav--next {
		left: calc((100% + 308px) / 2);
	}
}

/* ⑥ 問い合わせ先：TEL が入って長くなったので、PC は 2 列 2 段にそろえる（3 個＋1 個の半端をやめる）。1099 以下は 1 列 4 段（長い名前がはみ出さない） */
@media (min-width: 768px) {
	.sf-form .wpcf7-radio {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, max-content));
	}
}

@media (min-width: 768px) and (max-width: 1099px) {
	.sf-form .wpcf7-radio {
		grid-template-columns: minmax(0, max-content);
	}
}

/* ⑤ ヘッダーのカテゴリーを開いた時の灰色の帯を不透明度 90%（#f2f2f2 → 90%） */
.sf-mega__panel {
	background: rgba(242, 242, 242, 0.9);
}
/* ── 2026-11-06 追加修正 ここまで ── */

/* ── 2026-11-06 吉村さん依頼「spの修正です。」（PDF 6 項目）（指示書_20261106_SPの修正） ── */

/* ⑤ オリジナル家具を PC のトップにも出す（SP と同じ 3 点）。並びは上の読み物と同じ 3 列・同じ写真の高さ 314・同じ列の間 66、名前は読み物の題名と同じ大きさ */
@media (min-width: 768px) {
	.sf-original {
		display: block;
	}

	.sf-original .sf-heading {
		margin-top: calc(84.835px * var(--k));
		text-align: center; /* PC の見出しは読み物・サービスと同じく真ん中（SP は左のまま） */
	}

	.sf-original__list {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: calc(66px * var(--k));
		margin-top: calc(46.165px * var(--k));
	}

	.sf-original__item .sf-ph,
	.sf-original__item img {
		height: calc(314px * var(--k));
	}

	/* 依頼12⑨ 写真の下は画像どおりの説明文（例「自由度の高いシリーズ「SELECT(セレクト)」」）になったので、字は読み物の説明文と同じ 15px（1440 の時）。1 行に収まる */
	.sf-original__name {
		margin-top: calc(21.89px * var(--k));
		font-size: calc(20px * var(--k));
		line-height: 1;
	}
}

/* 依頼12⑨ タブレットの幅（768〜1023）は 3 列が細く（800 で 194px）説明文が 2 行になるので、行の間を 1.5 にして重ならないようにする。
   1 行目の字の頭の位置は今と同じにする（行の間で増えた上半分 0.25em だけ上の余白を減らす） */
@media (min-width: 768px) and (max-width: 1023px) {
	.sf-original__name {
		margin-top: calc(21.89px * var(--k) - 0.25em);
		line-height: 1.5;
	}
}

/* 依頼12⑨ SP：説明文が長くなったので 22px の詰めた字（名前だけの時の大きさ）から 14px・字間ふつうへ。375 幅でも 1 行に収まる */
@media (max-width: 767px) {
	.sf-original__name {
		font-size: 14px;
		line-height: 1.4;
		letter-spacing: normal;
	}
}

@media (max-width: 767px) {
	/* ① トップの写真（動画）の右下の一時停止ボタンを見えなくする。キーボードで移った時だけ出す（動画を止める手段を残す） */
	.sf-hero__toggle:not(:focus-visible) {
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		opacity: 0;
	}

	/* ② メニューの × を三本線と同じ箱（右から 24px・上から 19.75px・24.5 × 19.6）に置く。× の中心が三本線の中心と重なる */
	.sf-drawer__close {
		top: 19.75px;
		right: 24px;
		left: auto;
		width: 24.5px;
		height: 19.6px;
	}

	/* ③ 読み物（トップ・一覧）：題名の下の線を 0.3px、紹介文を 3 行（3 × 20px）。
	   線の太さを 1px 未満で書くと Chromium は 1px に、WebKit は端末の 1 点に丸めて端末ごとに太さが変わる（上の v4-5 W-1a-1 と同じ理由）。
	   線を 1px の帯にして縦を 0.3 倍に縮めて描く（どの端末でも 0.3px で描き、細さは画面の細かさなりに出る）。箱の高さは前と同じ（余白 10.805 ＋ 線 1 → 余白 11.805） */
	.sf-reading__grid .sf-rcard__title,
	.sf-list__cards--reading .sf-rcard__title {
		position: relative;
		padding-bottom: 11.805px;
		border-bottom-width: 0;
	}

	.sf-reading__grid .sf-rcard__title::after,
	.sf-list__cards--reading .sf-rcard__title::after {
		content: "";
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		height: 1px;
		background: var(--c-line);
		transform: scaleY(0.3);
		transform-origin: 0 100%;
	}

	.sf-reading__grid .sf-rcard__excerpt,
	.sf-list__cards--reading .sf-rcard__excerpt {
		min-height: 60px;
		-webkit-line-clamp: 3;
	}

	/* ④ 店名の札の文字を 0.5px 上へ（札の大きさ・位置は変えない）。札は上下の真ん中に文字を置く形（上の 11-05 の真ん中ぞろえ）なので、下の余白を 1px にすると文字の中心が 0.5px 上がる。
	   札には入れ子（.sf-xd）のある物と無い物（お知らせの 2 件目から）があり、入れ子をずらすと無い物が動かないので札の側で決める */
	.sf-badge {
		padding-bottom: 1px !important; /* 真ん中ぞろえの指定（上の padding-bottom: 0 !important）より後で効かせるため */
	}

	/* ⑥ 記事・一覧の下の店舗の箱：高さ 242px の決め打ちで中身（店名・住所 5 行・Google MAP）が入り切らず、ボタンが灰色の箱の下にはみ出していた。高さを中身に合わせ（最低 242px）、下にも上と同じ 21.35px の余白 */
	.sf-side--article .sf-shops__grid--side .sf-shop__body,
	.sf-side--archive .sf-shops__grid--side .sf-shop__body {
		height: auto;
		min-height: 242px;
		padding-bottom: 21.35px;
	}

	.sf-side--article .sf-shops__grid--side .sf-shop__map,
	.sf-side--archive .sf-shops__grid--side .sf-shop__map {
		margin-top: 20px;
	}
}

/* ② メニューの開け閉め：開くと三本線の上下の線が真ん中へ寄ってから回って × になり、真ん中の線は消える。画面はふわっと出る（0.3 秒）。閉じる時は逆 */
.sf-drawer__close::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 1.5px;
	margin: -0.75px 0 0 -50%;
	background: var(--c-navy);
	opacity: 0;
	pointer-events: none;
}

@keyframes sf-drawer-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes sf-drawer-out {
	from { opacity: 1; }
	to { opacity: 0; }
}

@keyframes sf-x-mid-in {
	0% { opacity: 1; }
	45%, 100% { opacity: 0; }
}

@keyframes sf-x-mid-out {
	0%, 55% { opacity: 0; }
	100% { opacity: 1; }
}

@media (max-width: 767px) {
	@keyframes sf-x-1-in {
		0% { transform: translateY(-9.05px) rotate(0) scale(0.787, 0.75); background-color: var(--c-navy); }
		45% { transform: translateY(0) rotate(0) scale(0.787, 0.75); }
		100% { transform: translateY(0) rotate(27.97deg) scale(1, 1); background-color: var(--c-black); }
	}

	@keyframes sf-x-2-in {
		0% { transform: translateY(9.05px) rotate(0) scale(0.787, 0.75); background-color: var(--c-navy); }
		45% { transform: translateY(0) rotate(0) scale(0.787, 0.75); }
		100% { transform: translateY(0) rotate(-27.97deg) scale(1, 1); background-color: var(--c-black); }
	}

	@keyframes sf-x-1-out {
		0% { transform: translateY(0) rotate(27.97deg) scale(1, 1); background-color: var(--c-black); }
		55% { transform: translateY(0) rotate(0) scale(0.787, 0.75); }
		100% { transform: translateY(-9.05px) rotate(0) scale(0.787, 0.75); background-color: var(--c-navy); }
	}

	@keyframes sf-x-2-out {
		0% { transform: translateY(0) rotate(-27.97deg) scale(1, 1); background-color: var(--c-black); }
		55% { transform: translateY(0) rotate(0) scale(0.787, 0.75); }
		100% { transform: translateY(9.05px) rotate(0) scale(0.787, 0.75); background-color: var(--c-navy); }
	}

	.sf-drawer:not([hidden]) {
		animation: sf-drawer-in 0.3s ease-out both;
	}

	.sf-drawer.is-closing {
		animation: sf-drawer-out 0.3s ease-in both;
	}

	.sf-drawer:not([hidden]) .sf-drawer__close span:nth-child(1) {
		animation: sf-x-1-in 0.45s cubic-bezier(0.45, 0, 0.25, 1) both;
	}

	.sf-drawer:not([hidden]) .sf-drawer__close span:nth-child(2) {
		animation: sf-x-2-in 0.45s cubic-bezier(0.45, 0, 0.25, 1) both;
	}

	.sf-drawer:not([hidden]) .sf-drawer__close::before {
		animation: sf-x-mid-in 0.45s cubic-bezier(0.45, 0, 0.25, 1) both;
	}

	.sf-drawer.is-closing .sf-drawer__close span:nth-child(1) {
		animation-name: sf-x-1-out;
		animation-duration: 0.3s;
	}

	.sf-drawer.is-closing .sf-drawer__close span:nth-child(2) {
		animation-name: sf-x-2-out;
		animation-duration: 0.3s;
	}

	.sf-drawer.is-closing .sf-drawer__close::before {
		animation-name: sf-x-mid-out;
		animation-duration: 0.3s;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sf-drawer,
	.sf-drawer .sf-drawer__close span,
	.sf-drawer .sf-drawer__close::before {
		animation: none !important; /* 動きを減らす設定の人には、開け閉めの動きを全部止める（どの幅の指定より後でも効かせるため） */
	}
}
/* ⑦ 追加依頼（2026-11-06「カテゴリー」は sp/pc ともに削除）：メニューの項目を外すと、PC の項目の幅（layout.css の nth-child）が 1 つずつずれて
   「三島家具について」と「お問い合わせ」が重なる。カテゴリーが無い時だけ、残りの 8 項目に元の自分の幅を当て直す（お知らせ＝カテゴリーのあった x438.8 から並ぶ）
   2026-11-07 吉村さん「ヘッダーメニューの各マージンを8pxずつ広げて。」：1〜7 番目の幅に 8px を足し、7 つの間をそれぞれ 8px 広げる */
.sf-gnav__list:not(:has(.has-mega)) > .sf-gnav__item:nth-child(1) { width: calc(100px * var(--k) + 8px); } /* お知らせ */
.sf-gnav__list:not(:has(.has-mega)) > .sf-gnav__item:nth-child(2) { width: calc(83px * var(--k) + 8px); }  /* 読み物 */
.sf-gnav__list:not(:has(.has-mega)) > .sf-gnav__item:nth-child(3) { width: calc(100px * var(--k) + 8px); } /* サービス */
.sf-gnav__list:not(:has(.has-mega)) > .sf-gnav__item:nth-child(4) { width: calc(100px * var(--k) + 8px); } /* 取扱商品 */
.sf-gnav__list:not(:has(.has-mega)) > .sf-gnav__item:nth-child(5) { width: calc(89px * var(--k) + 8px); }  /* 茶房 贔 */
.sf-gnav__list:not(:has(.has-mega)) > .sf-gnav__item:nth-child(6) { width: calc(99px * var(--k) + 8px); }  /* アクセス */
.sf-gnav__list:not(:has(.has-mega)) > .sf-gnav__item:nth-child(7) { width: calc(168px * var(--k) + 8px); } /* 三島家具について */
.sf-gnav__list:not(:has(.has-mega)) > .sf-gnav__item:nth-child(8) { width: auto; }                    /* お問い合わせ */

/* ⑧ 追加依頼（2026-11-06「企画展部分が3件以上になった場合にスクロールできる状態に」・先方「PC版では縦に、SP版では横にスクロール」）
   exhibitions.php が 3 件以上の時だけ .sf-exh--many を付ける。2 件までは今と 1px も変わらない */
@media (min-width: 768px) {
	/* PC：2 件（557.07×2＋間 56.89＝1171）＋間 56.89＋3 件目の頭 80（店名と写真の上の端）だけ見せ、残りは中で縦にスクロール */
	.sf-exh--many .sf-exh__list {
		max-height: calc(1308px * var(--k));
		overflow-y: auto;
		padding-bottom: 6px; /* 一番下まで送った時、最後のボタンの下の線が端数で 2px 切れないように */
		scrollbar-width: thin;
		scrollbar-color: #a1bab6 transparent;
	}
}

@media (max-width: 767px) {
	/* SP：横に並べて横スクロール。箱を画面の端（左右 25px）まで広げ、3 件目の端を右にのぞかせる。1 件ずつ止まる */
	.sf-exh--many .sf-exh__list {
		display: grid;
		grid-template-columns: none;
		grid-auto-flow: column;
		overflow-x: auto;
		overflow-y: hidden; /* 縦には動かさない（ボタンの行の高さで 5px 縦にも動いてしまうため） */
		/* 2026-11-10 先方（吉村さん）：SP で見出しの下が詰まっていた。上の余白は 0 で消さず、元の指定（トップ 26.825・お知らせ 30.595）のままにする */
		margin-inline: -25px;
		margin-bottom: -4px;
		padding: 0 25px 4px; /* ボタンの枠が下で切れないように 4px 足し、外の余白で戻す（見た目の位置は同じ） */
		scroll-padding: 0 25px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.sf-exh--many .sf-exh__item {
		scroll-snap-align: start;
	}

	/* トップ：今の 2 列と同じ幅（(340−9)/2＝165.5）・間 9 のまま */
	.sf-exh--top.sf-exh--many .sf-exh__list {
		grid-auto-columns: calc((100% - 9px) / 2);
		column-gap: 9px;
	}

	/* お知らせ一覧の下：1 件が 85%（289）で、次の 1 件の頭をのぞかせる。間 20 */
	.sf-exh--side.sf-exh--many .sf-exh__list {
		grid-auto-columns: 85%;
		column-gap: 20px;
	}

	.sf-exh--side.sf-exh--many .sf-exh__item + .sf-exh__item {
		margin-top: 0;
	}
}

/* キーボードで一覧に移った時の枠（3 件以上の時だけ一覧が Tab で選べる） */
.sf-exh--many .sf-exh__list:focus-visible {
	outline: 2px solid #3c3c3c;
	outline-offset: 4px;
}
/* ── 2026-11-06 SPの修正 ここまで ── */

/* ── 2026-11-10 SPトップ3点（吉村さん cmwaa0s2400jhofrxrnue79ok「sp版 TOPの修正」） ── */
@media (max-width: 767px) {
	/* ① サービス名と店名を 1 つ大きく（14→15px）。2026-11-09 に「サービス名を店名と同じ大きさ」にしたので両方そろえて上げる。行間 18px はそのまま */
	.sf-services__label,
	.sf-shops__grid--top .sf-shop__name {
		font-size: 15px;
	}

	/* ② お知らせの店舗の切り替え：5 本を同じ幅にし、文字を下線の真ん中へ。
	   「モラージュ菖蒲」だけ文字（74px）が箱（64.8px）より広く、左端から始まって右へ 9.5px はみ出していた。真ん中ぞろえにして左右へ同じだけ出す。
	   幅 360 などで箱が縮む時も 5 本が同じ幅で縮むように（min-width: 0） */
	.sf-news .sf-tabs__tab {
		display: flex;
		justify-content: center;
		min-width: 0;
	}

	/* ③ お知らせの店名の札：文字が上に寄っていた（iPhone の表示で上 10・下 12）。11-06 の「0.5px 上へ」（下の余白 1px）を 0.5px に戻し、上下を同じにする（iPhone の表示で 11・11） */
	.sf-badge {
		padding-bottom: 0.5px !important;
	}
}
/* ── 2026-11-10 SPトップ3点 ここまで ── */

/* ── 2026-11-10 お知らせの店舗切替を横幅いっぱいに（吉村さん cmwad8e7y01f0ofrx69czrrpj「お知らせの店舗カテゴリを、横幅いっぱいに均等にして。」） ── */
@media (max-width: 767px) {
	/* 5 本は 64.8px 固定で、幅 390 では右端の手前 15px で止まっていた。固定幅をやめて 5 本で横幅を等分する（間 9px はそのまま）。
	   幅 390 で 1 本 67.8px・右端が下の記事一覧の右端（383）とそろう。幅 360 は今と同じ 61.8px */
	.sf-news .sf-tabs__tab {
		flex: 1 1 0;
		width: auto;
	}
}
/* ── 2026-11-10 お知らせの店舗切替 ここまで ── */

/* ── 2026-11-10 トップの店舗カードの死にアキを詰める（吉村さん cmwad8e7y01f0ofrx69czrrpj 追加「死にアキを詰める。」） ── */
@media (max-width: 767px) {
	/* 本文の箱が高さ 239px 固定・MAP ボタンが下から 16px に固定で、CLOSE の行とボタンの間が店ごとに 29〜65px 空いていた。
	   箱の高さを中身に合わせ、ボタンを最後の行の 16px 下に置く。同じ段の 2 枚はカードの高さがそろい、ボタンの位置も高い方にそろう。
	   ボタンの左の位置（本文の箱の左から 52px）・下の 16px・大きさは今と同じ */
	.sf-shops__grid--top .sf-shop {
		display: flex;
		flex-direction: column;
	}

	.sf-shops__grid--top .sf-shop__body {
		flex: 1 0 auto;
		display: flex;
		flex-direction: column;
		height: auto;
		padding-bottom: 16px;
	}

	.sf-shops__grid--top .sf-shop__info {
		margin-bottom: 16px;
	}

	.sf-shops__grid--top .sf-shop__map,
	.sf-shops__grid--top .sf-shop--id45 .sf-shop__map {
		position: relative;
		bottom: auto;
		left: auto;
		flex: none;
		margin: auto 0 0 44px;
	}
}
/* ── 2026-11-10 トップの店舗カードの死にアキ ここまで ── */

/* ── 2026-11-10 お問い合わせの選択欄の文字の上が切れる（吉村さん cmwad8e7y01f0ofrx69czrrpj 追加「店舗選択後に、文字上端が切れる」） ── */
/* components.css の .sf-form select は line-height: 1（行の高さ＝文字の大きさ）。Safari の選択欄は文字をその行の高さで切るので、
   明朝・Garamond の上の出っ張り（【 や 宇 の点）が切れていた。行の高さを書体の本来の高さに戻す（箱の高さ 43・文字の大きさ・位置の真ん中はそのまま）。PC・SP とも */
.sf-form select {
	line-height: normal;
}
/* ── 2026-11-10 お問い合わせの選択欄 ここまで ── */

/* ── 2026-11-13 先方9項目（野澤様 11/13 14:29。修正指示書_A_9項目） ── */
/* 項1：フッター 1 列目の「お知らせ」「アクセス」に「モラージュ菖蒲店」を 1 つずつ足したぶんだけ箱を伸ばす。
   格子とロゴ帯の間（PC 44.8px・SP 63.8px）とロゴ帯の下の間は、足す前と同じ値のまま。
   PC（4 列＝825px 以上）：2 段目が 1 行増える＝行の高さ 142/3。SP：1 段目と 3 段目が 1 行ずつ＝35px × 2。SP の取扱商品：32.55px × 2。
   768〜824px は layout.css で height: auto なので足さない */
@media (min-width: 825px) {
	.sf-footer__in {
		height: calc((731px + 142px / 3) * var(--k));
	}
}

@media (max-width: 767px) {
	.sf-footer__in {
		height: 1145px;
	}

	.page-slug-products .sf-footer__in {
		height: 1140.1px;
	}
}

/* 項2：お知らせの店舗の切り替え。「モラージュ菖蒲店」「オンラインショップ」が同じ幅の箱に入らないので、箱を〈文字の幅＋残りを 5 本で等分〉にする。
   並び全体の幅（PC 637 × k）・間・行の高さ・字の大きさ（PC 15px・SP 375px 以上 12px）は今のまま。
   374px 以下だけ字を画面の幅に合わせて下げる（360px で 11.52px・320px で 10.24px。先方「収まらない場合、フォントサイズは小さくしてよい」） */
@media (min-width: 768px) {
	.sf-news .sf-tabs {
		flex: none;
		width: calc(637px * var(--k));
	}

	.sf-news .sf-tabs__tab {
		flex: 1 1 auto;
		width: auto;
	}
}

@media (max-width: 767px) {
	.sf-news .sf-tabs__tab {
		flex: 1 1 auto;
	}
}

@media (max-width: 374px) {
	.sf-news .sf-tabs__tab {
		font-size: 3.2vw;
	}
}

/* 項3：企画展の店名「三島家具／モラージュ菖蒲店」。359px 以下は列（320px で 130.5px）に入らず 3 行になるので、字だけ 20→16px に下げて 2 行に保つ（行の高さ 29px はそのまま） */
@media (max-width: 359px) {
	.sf-exh--top .sf-exh__shop {
		font-size: 16px;
	}
}

/* 項5：SP の「新築・リノベーション」を 1 行に（template-parts/services.php の改行を外した）。書体が読めなかった時も折り返さない。
   359px 以下は列（320px で 130.5px）に入るよう、この 1 つだけ字を 15→13px に */
@media (max-width: 767px) {
	.sf-services__item:nth-child(4) .sf-services__label {
		white-space: nowrap;
	}
}

@media (max-width: 359px) {
	.sf-services__item:nth-child(4) .sf-services__label {
		font-size: 13px;
	}
}

/* 項8：茶房 贔のメニュー画像（新 1500 × 1907）。箱の縦横比を画像に合わせる（上下が切れない）。2 枚の間（PC −21 × k・SP 80px）はそのまま */
.sf-sabo__menu,
.sf-sabo__menu + .sf-sabo__menu {
	aspect-ratio: 1500 / 1907;
}
/* ── 2026-11-13 先方9項目 ここまで ── */

/* ── 2026-11-14 段6：茶房 贔（ID 44）の OPEN／CLOSE の行。項6 で字が長くなり「CLOSE｜火・水・土・日」「(L.O.｜16:30)」「土・｜日」と意味の途中で割れた。
   inc/template-tags.php sf_store_lines() が包んだかたまり（OPEN 12:00～17:00／(L.O. 16:30)＋空き／CLOSE 火・水・土・日）の中だけ折り返さない。
   字の大きさ・行の高さ・空き（sf-sp3）・箱の幅は変えない。他の店の行には当てない ── */
.sf-shop__line--id44 .sf-shop__oc {
	white-space: nowrap;
}
/* ── 段6 ここまで ── */

/* 2026-11-17 本人指示：ギフトは一時非表示。G-1の5列・高さ調整を保管し、従来の4列へ戻す。 */
@media not all {
/* ── 2026-11-16 G-1：サービスに「ギフト」を追加（野澤様 11/15 11:32「PC表示では現在の4カラムを5カラムに変更」。修正指示書_G1） ── */
/* トップのサービス欄：824.02px 以上を 4 → 5 列（列の間 41 × k はそのまま）。境目を 824.02px にしたのは、2 列の規則（max-width: 824px）との間に
   小数の幅（824.5px など・拡大率 125% で出る）の隙間を作らないため。824.01px だと Chromium が 824px と同じに丸め、824px ちょうどで 2 列と 5 列の両方が当たる。824.02px は 824px で偽・824.5px で真（2026-11-16 実測）。
   写真の高さ：1220px 以上は 270 × k のまま（下の店舗欄の位置を動かさない）。824.02〜1219px は列が細くなるぶん、5 列の形 195.3 : 202.5 を保って下げる。
   式：5 列の列幅＝(100vw − 左右の余白 120px − 列の間 30.75px × 4) ÷ 5＝(100vw − 243px) ÷ 5。写真の高さ＝列幅 × 202.5 ÷ 195.3＝(100vw − 243px) × 0.20737。
   名前の字：1235px 以上は 26 × k のまま。それ未満は列幅 ÷ 10（全角 10 字「新築・リノベーション」が 1 行）。100vw は縦のスクロールバーを含むので、
   バーの幅 17px ぶんを先に引く（243 ＋ 17 ＝ 260）。下限 12px（824.02〜859px）。
   4 番目「新築・リノベーション」だけ字間 −0.07em（SP の XD と同じ値）。10 字 × 0.93 ＝ 9.3 字ぶんの幅になり、列との余りが 7% できる（下限 12px の幅でも列に収まる）。
   2 番目「家具の修理」の左 −16.6 × k（components.css）は XD の 4 列の中心ずれ。5 列には XD の値が無いので列の中心に置く。
   824px 以下（2 列）と SP には足さない＝今の並びのまま、5 個目は 3 段目の左 */
@media (min-width: 824.02px) {
	.sf-services__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.sf-services__item .sf-ph,
	.sf-services__item img {
		height: min(calc(270px * var(--k)), calc((100vw - 243px) * 0.20737));
	}

	.sf-services__label {
		font-size: max(12px, min(var(--fs-26), calc((100vw - 260px) / 50)));
		white-space: nowrap;
	}

	.sf-services__item:nth-child(2) .sf-services__label {
		left: 0;
	}

	.sf-services__item:nth-child(4) .sf-services__label {
		letter-spacing: -0.07em;
	}
}

/* フッター 3 列目「サービス」の子が 4 → 5 行（ギフト）。項1（2026-11-13）と同じ形で 1 行ぶんだけ箱を伸ばす。
   格子とロゴ帯の間（PC 44.8px・SP 63.8px）とロゴ帯の下の間は、足す前と同じ値のまま。
   824.02px 以上：＋142/3 × k（計 731＋284/3）。SP：＋35px（計 1180px）。SP の取扱商品：＋32.55px（計 1172.65px）。768〜824px は height: auto なので足さない */
@media (min-width: 824.02px) {
	.sf-footer__in {
		height: calc((731px + 284px / 3) * var(--k));
	}
}

@media (max-width: 767px) {
	.sf-footer__in {
		height: 1180px;
	}

	.page-slug-products .sf-footer__in {
		height: 1172.65px;
	}
}
/* ── G-1 ここまで ── */
}

/* 再掲時はこの非表示と上の @media not all を解除する。内容・画像・リンクは保持。 */
.sf-services__item:has(a[href$="#gift"]),
.sf-footer__list > li:has(a[href$="#gift"]),
#gift {
	display: none !important;
}


/* 2026-11-18 PC店舗札：和文の字形を枠の中央へ。SPの既存位置は保持。 */
@media (min-width: 768px) {
	.sf-badge {
		padding-top: 0.25em !important;
	}
}
