@charset "utf-8";
/*
 * 受領CSS（renewal.css）は無改変のまま、こちらで決めた微調整だけをここに置く。
 * 井上さんの原稿から意図的に変えた箇所は必ずここに書き、理由と日付を残す。
 * 読み込み: functions/renewal.php（renewal.css の後）
 */

/* --------------------------------------------------------------
 * 1) ページトップへ戻る「↑」ボタンが、スマホだと下の画像に紛れて見えない
 *    2026-09-05 社長指摘「ボタンがわかんねえんだよスマホの時は」
 *    → 位置は原稿のまま（重なるのはOK）。**ボタン自体をはっきり見せる**:
 *      背景を不透明の黒、矢印を白、白フチ＋影で、どんな画像の上でも視認できるようにする
 * -------------------------------------------------------------- */
@media (max-width: 767px) {
	.page-top-button {
		background-color: #111 !important;
		border: 2px solid #fff !important;
		box-shadow: 0 3px 12px rgba(0, 0, 0, .45) !important;
		opacity: 1 !important;
	}

	.page-top-button,
	.page-top-button * {
		color: #fff !important;
		fill: #fff !important;
		stroke: #fff !important;
	}
}

/* --------------------------------------------------------------
 * 2) ハンバーガー → ✕（開いている間はバツ印になる）
 *    2026-09-05 社長指示「ハンバーガーメニューをバッテンにして、アニメーションもつけて」
 *    原稿は2本線が動かないまま。線を上下に振り分け → 開いたら中央で交差させる。
 *    マークアップは変更せず（span 2本のまま）CSSだけで動かす。
 * -------------------------------------------------------------- */
.menu-button {
	position: relative;
}

.menu-button span {
	transition: transform .28s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
	transform-origin: center;
	will-change: transform;
}

/* 閉じている時は原稿のまま（2本線・flex gap 8px）。開いた時だけ、
   2本を「ボタンの中央」に重ねてから回す＝交点が中心に来る（gap の半分＝4px を打ち消す） */
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* --------------------------------------------------------------
 * 3) ドロワーメニュー本体を「ふわっと」開く
 *    2026-09-05 社長指示「押したときパッと開いてる。少しアニメーション入れてふわっと出して」
 *    原稿は display:none ⇄ flex の切替だけで、出入りの動きが無い。
 *    display は切り替えたまま、開いた瞬間にフェード＋わずかに下から持ち上げる。
 *    中の項目も少しずつ遅れて出す（上から順に）。
 * -------------------------------------------------------------- */
@media (max-width: 1050px) {
	.main-nav.is-open {
		animation: banzi-drawer-in .3s cubic-bezier(.22, .61, .36, 1) both;
	}

	/* 中の項目＝上から順に遅れて出す（10項目まで。以降は最後のタイミングで出る） */
	.main-nav.is-open > * {
		animation: banzi-drawer-item .32s cubic-bezier(.22, .61, .36, 1) both;
	}
	.main-nav.is-open > *:nth-child(1)  { animation-delay: .04s }
	.main-nav.is-open > *:nth-child(2)  { animation-delay: .07s }
	.main-nav.is-open > *:nth-child(3)  { animation-delay: .10s }
	.main-nav.is-open > *:nth-child(4)  { animation-delay: .13s }
	.main-nav.is-open > *:nth-child(5)  { animation-delay: .16s }
	.main-nav.is-open > *:nth-child(6)  { animation-delay: .19s }
	.main-nav.is-open > *:nth-child(7)  { animation-delay: .22s }
	.main-nav.is-open > *:nth-child(8)  { animation-delay: .25s }
	.main-nav.is-open > *:nth-child(9)  { animation-delay: .28s }
	.main-nav.is-open > *:nth-child(n+10) { animation-delay: .31s }
}

/* 閉じる時も同じ速さで、ふわっと消える（JS が .is-closing を付けている間だけ表示を保つ） */
@media (max-width: 1050px) {
	.main-nav.is-open.is-closing {
		animation: banzi-drawer-out .24s cubic-bezier(.4, 0, 1, 1) both;
		pointer-events: none;
	}

	/* 閉じる時は項目の遅延を出さない（全体でひとつの動きにする） */
	.main-nav.is-open.is-closing > * {
		animation: none;
		opacity: 1;
		transform: none;
	}
}

@keyframes banzi-drawer-in {
	from { opacity: 0; transform: translateY(-8px) }
	to   { opacity: 1; transform: none }
}

@keyframes banzi-drawer-out {
	from { opacity: 1; transform: none }
	to   { opacity: 0; transform: translateY(-8px) }
}

@keyframes banzi-drawer-item {
	from { opacity: 0; transform: translateY(6px) }
	to   { opacity: 1; transform: none }
}

/* 動きを減らす設定の人には出さない（OSのアクセシビリティ設定を尊重） */
@media (prefers-reduced-motion: reduce) {
	.main-nav.is-open,
	.main-nav.is-open > *,
	.menu-button span {
		animation: none !important;
		transition: none !important;
	}
}

/* --------------------------------------------------------------
 * 4) 法人・一般の「おすすめ製品」を、PCでも横スライドにする
 *    2026-09-07 社長決定「これスライドでやった方がいいな」（8/28議事録「項目追加で横に流れる」）
 *    原稿はPCで 6列（法人）／4列（一般）の折り返しグリッド。枚数が増えた時に下段へ折り返さず、
 *    TOPの動画レールと同じ横送り（← / MORE→ ボタン＋注記）にする。
 *    - 枚数が原稿どおり（6枚／4枚）なら見た目は変わらない。ボタンと注記は溢れた時だけ JS が出す（.is-overflow）
 *    - スマホ（620px以下）は原稿がもともと横スライドなので触らない
 *    マークアップ: tpl-renewal-professional.php / tpl-renewal-general.php、動き: js/renewal/renewal.js
 * -------------------------------------------------------------- */
/* ボタンと注記は既定で消す（スマホでは出さない。PCで溢れた時だけ下の .is-overflow で出す） */
.rnw-rail-controls,
.rnw-rail-note {
	display: none;
}

@media (min-width: 621px) {
	.pro-products .pro-product-grid,
	.general-products .general-product-grid {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-ms-overflow-style: none;
		/* hover で 6px 浮くカード（法人）が上で切れないよう、その分の余白を内側に持つ */
		padding-top: 8px;
		margin-top: -8px;
	}

	.pro-products .pro-product-grid::-webkit-scrollbar,
	.general-products .general-product-grid::-webkit-scrollbar {
		display: none;
	}

	/* カード幅＝原稿のグリッドと同じ（法人 6列・gap 8px／一般 4列・gap 10px） */
	.pro-products .pro-product-grid > * {
		flex: 0 0 calc((100% - 8px * 5) / 6);
		min-width: 0;
		scroll-snap-align: start;
	}

	.general-products .general-product-grid > * {
		flex: 0 0 calc((100% - 10px * 3) / 4);
		min-width: 0;
		scroll-snap-align: start;
	}

	/* ← / MORE→ ボタン（TOPの .case-rail-controls と同じ見た目。白地なので hover の縁だけ黒） */
	.rnw-rail-wrap {
		position: relative;
	}

	.rnw-rail-controls,
	.rnw-rail-note {
		display: none;
	}

	[data-rnw-rail].is-overflow .rnw-rail-controls {
		display: flex;
		gap: 4px;
		position: absolute;
		top: calc(50% - 24px);
		right: 0;
		z-index: 4;
	}

	.rnw-rail-controls button {
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
		color: #fff;
		cursor: pointer;
		background: #141719db;
		border: 1px solid #ffffffa6;
		border-radius: 0;
		width: 48px;
		height: 48px;
		padding: 0;
		font: inherit;
		line-height: 1;
		transition: background .25s, color .25s, transform .25s, border-color .25s;
	}

	.rnw-rail-controls button:hover {
		color: #111;
		background: #fff;
		border-color: #111;
		transform: translateX(2px);
	}

	.rnw-rail-controls .rnw-rail-next {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 10px;
		width: 82px;
	}

	.rnw-rail-next span {
		letter-spacing: .14em;
		font-size: 8px;
	}

	/* 注記「横にスライドして、ほかの製品を見る」（TOPの .rail-note と同じ） */
	[data-rnw-rail].is-overflow .rnw-rail-note {
		display: flex;
		align-items: center;
		gap: 20px;
		margin: 30px 0 0;
		color: #8c9195;
		letter-spacing: .14em;
		font-size: 9px;
	}

	.rnw-rail-note i {
		background: #5e6265;
		width: 220px;
		height: 1px;
	}
}

/* 中間幅は原稿の列数（法人 3列・一般 2列）に合わせる。ボタンはTOPと同じく「MORE→」だけ */
@media (min-width: 621px) and (max-width: 980px) {
	.pro-products .pro-product-grid > a {
		flex-basis: calc((100% - 8px * 2) / 3);
	}

	.general-products .general-product-grid > a {
		flex-basis: calc((100% - 10px) / 2);
	}
}

@media (min-width: 621px) and (max-width: 850px) {
	.rnw-rail-controls button:first-child {
		display: none;
	}

	.rnw-rail-controls .rnw-rail-next {
		width: 56px;
		height: 56px;
	}

	.rnw-rail-next span {
		display: none;
	}
}

/* ========================================================================== */
/* カードの「動画を見る」（2026-10-13 井上様 依頼4）                            */
/* 受領データ 02_画面ソース/app/globals.css からそのまま持ってきた分            */
/* ========================================================================== */
.product-card-with-video {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid #dce0e2;
	background: #fff;
}
.product-card-with-video > a:not(.product-video-link) {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px;
	min-height: 390px;
	border: 0;
}
.product-card-with-video > a:not(.product-video-link) > b {
	margin-top: auto;
	padding-top: 20px;
	font-size: 12px;
}
.product-video-link {
	display: flex !important;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	padding: 14px 22px !important;
	min-height: 46px !important;
	border: 0 !important;
	border-top: 1px solid #e0e3e4 !important;
	color: #bc1b30 !important;
	background: #f7f8f8 !important;
	font-size: 12px !important;
	font-weight: 700 !important;
}
.product-video-link > b {
	margin: 0 0 0 auto !important;
	padding: 0 !important;
	font-size: 13px !important;
}
.product-video-link > span {
	margin: 0 !important;
	color: inherit !important;
	font-size: 16px !important;
	font-weight: 400 !important;
}
.product-card-with-video .pickup-product-card {
	background: #fff;
	color: #191b1d;
}
.recommend-with-video {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.recommend-with-video .general-rust-product {
	margin-bottom: 0;
	border-radius: 6px 6px 0 0;
}
.recommend-with-video .product-video-link {
	border: 1px solid #ddd !important;
	border-top: 0 !important;
	max-width: 760px;
	border-radius: 0 0 6px 6px;
}
:where(.product-card-with-video) strong { line-break: strict; text-wrap: balance; }

@media (max-width: 620px) {
	.general-product-grid > .product-card-with-video {
		flex: 0 0 78vw;
		scroll-snap-align: start;
	}
	.product-card-with-video > a:not(.product-video-link) { padding: 18px; }
	.product-card-with-video .pickup-product-card { min-height: 330px !important; }
	.guide-products > .product-card-with-video {
		flex: 0 0 78vw;
		scroll-snap-align: start;
	}
}
@media (max-width: 720px) {
	.general-rust-products > .recommend-with-video {
		flex: 0 0 88%;
		scroll-snap-align: start;
	}
}

/* ========================================================================== */
/* 資料一覧（/downloads/）と独自工法（/methods/）＝2026-10-13 井上様 依頼1・5   */
/* 受領データ 02_画面ソース/app/globals.css から該当クラスだけ抜き出した分       */
/* ========================================================================== */
.case-breadcrumb{max-width:1360px;margin:auto;padding:23px 48px;color:#717679;font-size:12px;display:flex;gap:14px}
.case-breadcrumb a:hover{color:var(--red)}
/* Case archive: field navigation and readable, photo-led rows. */
.case-title-band{background:#171b1e;color:#fff;padding:44px max(48px,calc((100vw - 1264px)/2));display:flex;align-items:center;justify-content:space-between;gap:40px;border-bottom:5px solid #d3122a}
.case-title-band>div{border-left:5px solid #e62439;padding-left:26px}
.case-title-band>div>p{margin:0 0 10px;color:#ee5c6b;font-size:12px;font-weight:800;letter-spacing:.18em}
.case-title-band h1{font-size:56px;line-height:1.15;margin:0;font-weight:750;letter-spacing:.04em}
.case-title-lead{font-size:16px;line-height:1.9;color:#d0d4d6;margin:0}
.case-title-lead span{display:block}
.download-title-break{display:none}
.download-library,.method-library{max-width:1280px;margin:auto;padding:48px 6vw 80px}
.download-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:50px}
.download-choices>a{display:flex;flex-direction:column;gap:12px;padding:28px;background:#f4f5f5;border-left:4px solid var(--red)}
.download-choices small,.download-product small,.method-card small{font-size:10px;font-weight:700;letter-spacing:.12em;color:#c51f31}
.download-choices strong{font-size:25px}
.download-choices span{font-size:13px;color:#5b6368}
.download-choices b{float:right}
.download-group{margin-top:55px}
.download-group>header{border-bottom:2px solid #222b30;margin-bottom:22px;padding-bottom:16px}
.download-group h2{font-size:26px;margin:0 0 12px;line-height:1.5}
.download-group header p{font-size:14px;color:#626b70;margin:0}
.download-product{display:grid;grid-template-columns:140px minmax(0,1fr) auto;align-items:center;gap:24px;border-bottom:1px solid #dce0e2;padding:22px 0}
.download-product img{width:140px;height:150px;object-fit:contain}
.download-product h3{font-size:24px;margin:10px 0}
.download-product p{font-size:14px;line-height:1.8;color:#626b70;margin:0}
.download-product>a,.download-more{display:inline-flex;gap:24px;align-items:center;border-bottom:1px solid #c51f31;padding:13px 0;font-size:13px;font-weight:700;color:#c51f31}
.download-more{margin-top:25px}
.download-method-link{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:55px;padding:28px;background:#1b2023;color:#fff}
.download-method-link span{font-size:13px;color:#c3c9cd}
.download-method-link strong{font-size:20px}
.download-method-link b{margin-left:22px}
.method-card{border:1px solid #dce0e2;display:flex;flex-direction:column;min-width:0}
.method-card>img{width:100%;height:230px;object-fit:contain;background:#f4f5f5;padding:20px}
.method-card>div{padding:24px;flex:1;display:flex;flex-direction:column}
.method-card h2{font-size:22px;line-height:1.5;margin:14px 0 25px}
.method-card>div>span{margin-top:auto;display:flex;justify-content:space-between;font-size:13px;font-weight:700;color:#c51f31}
:where(.general-rust-steps,.guide-steps,.download-choices,.download-product,.product-card-with-video) strong{line-break:strict;text-wrap:balance}
:where(.general-rust-intro,.general-rust-detail,.guide-introduction,.case-entry-copy,.product-copy,.download-product)>div{min-width:0}

/* 資料一覧のページ送り（SDS段・カタログ段それぞれ10枚ずつ）
   このページ限定。共通CSSには触れていない */
.download-group .download-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin: 28px 0 4px;
}
.download-group .download-pagination a,
.download-group .download-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #c5cbd0;
	background: #fff;
	color: #171b1e;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}
.download-group .download-pagination a:hover {
	border-color: #bc1b30;
	color: #bc1b30;
}
.download-group .download-pagination .download-page-current {
	border-color: #bc1b30;
	background: #bc1b30;
	color: #fff;
}
@media (max-width: 620px) {
	.download-group .download-pagination { gap: 6px; }
	.download-group .download-pagination a,
	.download-group .download-pagination span {
		min-width: 36px;
		height: 36px;
		padding: 0 9px;
		font-size: 12px;
	}
}

/* ヘッダーの「SDS・カタログダウンロード」ボタン
   文字数が増えたぶん幅を広げ、狭い画面では他の要素を詰める。
   受領CSS（02_画面ソース/app/globals.css）の指定をそのまま持ってきた分 */
.header-actions .newsletter-button {
	width: 190px;
	min-width: 190px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 10px;
}
@media (min-width: 1051px) and (max-width: 1400px) {
	/* ボタンが広がったぶん、キャッチコピーを隠して隙間を詰める */
	.header-tagline { display: none; }
	.header-primary { gap: 12px; padding-left: 3vw; padding-right: 3vw; }
	.header-primary .brand { flex-shrink: 0; }
	.header-actions { gap: 12px; }
	.main-nav { gap: 12px; font-size: 11px; }
	.main-nav > .site-search { min-width: 120px; max-width: 150px; flex: 1; }
	.main-nav > a, .main-nav > details { flex-shrink: 0; }
	.site-search input { width: 100%; }
}

/* 独自工法の一覧（/methods/）＝受領CSSから抜け落ちていた分
   PCは横3列・スマホは1列。受領CSS（02_画面ソース/app/globals.css）の指定どおり */
.method-library {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
@media (max-width: 620px) {
	.method-library { grid-template-columns: 1fr; }
	.method-library ~ * { min-width: 0; }
	.download-library, .method-library { padding: 30px 7vw 50px; }
	.method-card > img { height: 240px; }
	.method-card h2 { font-size: 21px; }
	.case-title-band:has(+ .method-library) h1 { font-size: 30px; line-height: 1.5; }
}
■ WP側に無い指定: 25件
  [@media(max-width:620px)] .case-breadcrumb
      padding:18px 6vw;font-size:11px
  [@media(max-width:1100px) and (min-width:701px)] .case-title-band
      padding-left:5vw;padding-right:5vw
  [@media(max-width:700px)] .case-title-band
      display:block;padding:28px 6vw 30px
  [@media(max-width:700px)] .case-title-band>div
      padding-left:18px;border-left-width:4px
  [@media(max-width:700px)] .case-title-band h1
      font-size:40px
  [@media(max-width:700px)] .case-title-band>div>p
      font-size:10px;margin-bottom:8px
  [@media(max-width:700px)] .case-title-lead
      font-size:13px;margin-top:20px;line-height:1.8;padding-left:22px
  [全幅] .sds-form-fields select
      width:100%;min-height:48px;background:#fff;border:1px solid #c5cbd0;padding:12px;font:inherit
  [@media(max-width:620px)] .download-title-break
      display:block
  [@media(max-width:620px)] .case-title-band:has(.download-title-break) h1
      font-size:30px;line-height:1.5;overflow-wrap:anywhere
  [@media(max-width:620px)] .download-choices
      gap:12px;margin-bottom:30px
  [@media(max-width:620px)] .download-choices>a
      padding:18px 12px;gap:9px
  [@media(max-width:620px)] .download-choices strong
      font-size:18px
  [@media(max-width:620px)] .download-choices small
      font-size:8px;letter-spacing:0
  [@media(max-width:620px)] .download-choices span
      font-size:11px;line-height:1.7
  [@media(max-width:620px)] .download-group
      margin-top:35px
  [@media(max-width:620px)] .download-group h2
      font-size:22px
  [@media(max-width:620px)] .download-product
      grid-template-columns:100px minmax(0,1fr);gap:16px
  [@media(max-width:620px)] .download-product img
      width:100px;height:120px
  [@media(max-width:620px)] .download-product h3
      font-size:20px
  [@media(max-width:620px)] .download-product p
      font-size:13px
  [@media(max-width:620px)] .download-product>a
      grid-column:1/-1;justify-content:space-between
  [@media(max-width:620px)] .download-method-link
      flex-direction:column;align-items:flex-start;padding:22px
  [@media(max-width:620px)] .download-choices span
      font-size:11px;text-wrap:balance
  [@media(max-width:620px)] .pro-product-grid>.product-card-with-video
      flex:0 0 78vw;scroll-snap-align:start

■ 中身が違う指定: 6件
  [全幅] .newsletter-button
      井上様: padding:12px 15px;border:1px solid #52755a;color:#355a3d;font-size:11px;font-weight:700;white-space:nowrap;transition:background .
      WP   : color:#355a3d;white-space:nowrap;border:1pxsolid#52755a;padding:12px15px;font-size:11px;font-weight:700;transition:background.25s,
  [全幅] .newsletter-button:hover
      井上様: background:#477c53;border-color:#477c53;color:#fff
      WP   : color:#fff;background:#477c53;border-color:#477c53
  [全幅] .header-actions>.contact-button,.header-actions>.newsletter-button,.header-actions>.shop-button
      井上様: width:138px;height:48px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;text-align:center
      WP   : text-align:center;justify-content:center;align-items:center;width:138px;height:48px;padding:010px;display:inline-flex
  [全幅] .header-actions .newsletter-button
      井上様: font-size:11px;padding:13px 15px;white-space:nowrap
      WP   : width:190px;min-width:190px;display:flex;align-items:center;justify-content:center;padding:12px10px
  [全幅] .product-card-with-video
      井上様: min-width:0;display:flex;flex-direction:column;border:1px solid #dce0e2;background:#fff
      WP   : display:flex;flex-direction:column
  [全幅] .recommend-with-video
      井上様: min-width:0
      WP   : display:flex;flex-direction:column;min-width:0

/* 受領CSS（02_画面ソース/app/globals.css）から抜け落ちていた分を全数で補う
   突き合わせの道具＝scratchpad の css_audit.py。スマホ幅の指定が中心 */
@media(max-width:1100px) and (min-width:701px) {
	.case-title-band { padding-left:5vw;padding-right:5vw }
}
@media(max-width:620px) {
	.case-breadcrumb { padding:18px 6vw;font-size:11px }
	.download-title-break { display:block }
	.case-title-band:has(.download-title-break) h1 { font-size:30px;line-height:1.5;overflow-wrap:anywhere }
	.download-choices { gap:12px;margin-bottom:30px }
	.download-choices>a { padding:18px 12px;gap:9px }
	.download-choices strong { font-size:18px }
	.download-choices small { font-size:8px;letter-spacing:0 }
	.download-choices span { font-size:11px;line-height:1.7 }
	.download-group { margin-top:35px }
	.download-group h2 { font-size:22px }
	.download-product { grid-template-columns:100px minmax(0,1fr);gap:16px }
	.download-product img { width:100px;height:120px }
	.download-product h3 { font-size:20px }
	.download-product p { font-size:13px }
	.download-product>a { grid-column:1/-1;justify-content:space-between }
	.download-method-link { flex-direction:column;align-items:flex-start;padding:22px }
	.download-choices span { font-size:11px;text-wrap:balance }
	.pro-product-grid>.product-card-with-video { flex:0 0 78vw;scroll-snap-align:start }
}
@media(max-width:700px) {
	.case-title-band { display:block;padding:28px 6vw 30px }
	.case-title-band>div { padding-left:18px;border-left-width:4px }
	.case-title-band h1 { font-size:40px }
	.case-title-band>div>p { font-size:10px;margin-bottom:8px }
	.case-title-lead { font-size:13px;margin-top:20px;line-height:1.8;padding-left:22px }
}
.sds-form-fields select { width:100%;min-height:48px;background:#fff;border:1px solid #c5cbd0;padding:12px;font:inherit }
@media (max-width: 1100px) and (min-width: 701px) {
	.case-title-band { padding-left: 5vw; padding-right: 5vw; }
}

/* ===== フッターの作り直し（OFFICIAL SNS・アイコン・余白） ===== */
.site-footer { color:#fff;background:#111315;padding:75px 7vw 25px }
.footer-top { justify-content:space-between;gap:80px;display:flex }
.footer-brand p { color:#9da1a4;font-size:13px }
.footer-links { grid-template-columns:repeat(3,180px);gap:60px;display:grid }
.footer-links div { flex-direction:column;gap:14px;display:flex }
.footer-links b { margin-bottom:8px;font-size:12px }
.footer-links a { color:#9da1a4;font-size:11px }
.footer-bottom { color:#777d81;border-top:1px solid #303336;justify-content:space-between;margin-top:70px;padding-top:25px;font-size:9px;display:flex }
.footer-brand img { width:205px;padding:0 }
.footer-social a { color:#fff;border:1px solid #373b3e;align-items:center;gap:9px;min-width:96px;height:38px;padding:0 12px;font-size:16px;transition:all .25s;display:flex }
.footer-social a:hover { border-color:var(--red);background:var(--red) }
.footer-social span { color:#aeb3b6;font-size:10px }
.footer-social a:hover span { color:#fff }
.footer-social i { font-size:21px;font-style:normal }
.footer-pending { color:#6f7478;font-size:11px }
.footer-brand { flex:0 0 390px }
.footer-brand img { background:0 0;width:min(100%,360px);padding:0 }
.footer-address { margin-top:34px }
.footer-address p { color:#f0f1f2;margin:0 0 11px;font-size:17px;line-height:1.45 }
.footer-social { gap:18px;margin-top:28px;display:flex }
.footer-social a { color:#fff;background:0 0;border:0;place-items:center;width:42px;min-width:0;height:42px;padding:0;transition:color .25s,transform .25s;display:grid }
.footer-social a:hover { color:var(--red);background:0 0;border-color:#0000;transform:translateY(-2px) }
.footer-social b { font-size:31px;font-weight:500;line-height:1 }
.footer-social a:first-child b { font-family:Arial,sans-serif;font-weight:700 }
.footer-social a:last-child b { border:2px solid;border-radius:7px;place-items:center;width:37px;height:27px;padding-left:2px;font-size:18px;display:grid }
.footer-bottom { justify-content:flex-end }
.site-footer { padding-top:60px;padding-bottom:24px }
.site-footer .footer-brand { flex-basis:350px;max-width:100% }
.site-footer .footer-brand img { background:0 0;width:252px;max-width:100%;padding:0 }
.site-footer .footer-address { margin-top:20px }
.site-footer .footer-address p { margin:0 0 5px;font-size:13px;line-height:1.75 }
.site-footer .footer-postal { flex-wrap:wrap;gap:0 10px;display:flex }
.site-footer .footer-social-label { letter-spacing:.15em;color:#b8bdbf;margin:22px 0 10px;font-size:10px;font-weight:700 }
.site-footer .footer-social { gap:10px;margin-top:0 }
.site-footer .footer-social a { color:#151719;background:#fff;border-radius:50%;place-items:center;width:40px;min-width:40px;height:40px;padding:10px;display:grid }
.site-footer .footer-social a:hover { color:#bb1626;background:#e3e5e5;transform:translateY(-2px) }
.footer-social svg { fill:currentColor;width:20px;height:20px }
.footer-social svg[fill=none] { fill:none }
.site-footer .footer-bottom { margin-top:40px;padding-top:20px }
.footer-social a:focus-visible { outline-offset:4px;outline:3px solid #d3122a }
.site-footer .footer-brand .social-icon { object-fit:contain;filter:brightness(0);width:20px;height:20px;padding:0 }
.site-footer .footer-brand img[src$=social-youtube\.svg] { filter:none }
@media (max-width:1050px) {
	.footer-links { gap:30px }
	.footer-brand { flex-basis:320px }
	.footer-brand img { width:300px }
	.footer-links { grid-template-columns:repeat(3,minmax(130px,1fr)) }
}
@media (max-width:620px) {
	.contact-lead>span,.footer-postal>span { white-space:nowrap;display:block }
	.footer-postal span { white-space:nowrap;display:block }
	.site-footer .footer-brand img { width:min(72vw,280px) }
	.site-footer { padding-top:42px;padding-bottom:20px }
	.site-footer .footer-brand img { width:196px }
	.site-footer .footer-address { margin-top:16px }
	.site-footer .footer-address p { font-size:12px }
	.site-footer .footer-bottom { margin-top:28px }
	.site-footer .footer-social-label { margin-top:18px }
	.site-footer .footer-social a { width:44px;height:44px }
}
@media (max-width:720px) {
	.footer-top { display:block }
	.footer-links { grid-template-columns:1fr 1fr;margin-top:60px }
	.footer-bottom { line-height:1.8;display:block }
	.site-footer { padding:52px 7vw 22px }
	.footer-links { gap:28px 18px;margin-top:42px }
	.footer-bottom { margin-top:48px }
	.footer-links { grid-template-columns:repeat(2,minmax(0,1fr)) }
	.footer-brand { width:100%;max-width:390px }
	.footer-brand img { width:min(86vw,330px) }
	.footer-address { margin-top:28px }
	.footer-address p { font-size:15px }
	.footer-social { margin-top:22px }
	.footer-bottom { justify-content:flex-start }
	.footer-links { grid-template-columns:repeat(2,minmax(0,1fr)) }
}
@media (prefers-reduced-motion:reduce) {
	.footer-social a { transition:none }
}

/* メインビジュアルの見出しの読点を詰める */
.hero-comma { letter-spacing:-.32em;white-space:normal;margin-right:.08em;display:inline }

/* ===== 法人トップ：用途から探す/施工箇所の入口・用途ページの案内 ===== */
.hero-choice-links { flex-wrap:wrap;gap:12px;margin-top:30px;display:flex }
.hero-choice-links a { color:#191b1d;background:#ffffffed;border:1px solid #aeb8bc;justify-content:space-between;align-items:center;gap:24px;min-height:52px;padding:14px 20px;font-size:14px;font-weight:700;display:flex }
.hero-choice-links a:hover { border-color:var(--red);color:var(--red) }
:is(.hero-choice-links a:focus-visible,.choice-rail-controls button:focus-visible) { outline:3px solid var(--red);outline-offset:3px }
.legacy-uses-link { text-align:right;color:#565c60;margin:-15px 0 25px;font-size:13px }
.legacy-uses-link a { border-bottom:1px solid #b6bdc0;gap:24px;padding:10px 0;display:inline-flex }
.hero-choice-links a b { color:inherit }
.professional-page .legacy-uses-link { border:1px solid #d9d5ce;border-left:5px solid var(--red);text-align:left;color:#191b1d;background:#fff;justify-content:space-between;align-items:center;gap:24px;margin:0 0 28px;padding:26px 30px;display:flex }
.professional-page .legacy-uses-link h4 { margin:0 0 8px;font-size:24px;font-weight:800;line-height:1.4 }
.professional-page .legacy-uses-link p { color:#606568;margin:0;font-size:14px;line-height:1.7 }
.professional-page .legacy-uses-link a { background:var(--red);color:#fff;border:0;flex-shrink:0;justify-content:space-between;align-items:center;gap:28px;min-height:64px;padding:14px 24px;font-size:16px;font-weight:700;display:flex }
.professional-page .legacy-uses-link a small { margin-top:4px;font-size:11px;font-weight:400;display:block }
.professional-page .legacy-uses-link a b { font-size:24px }
.professional-page .legacy-uses-link a:hover { background:#ad1023 }
.professional-page .legacy-uses-link a:focus-visible { outline-offset:4px;outline:3px solid #191b1d }
@media (max-width:620px) {
	.hero-choice-links { grid-template-columns:1fr;gap:10px;margin-top:22px;display:grid }
	.hero-choice-links a { min-height:48px;padding:12px 16px;font-size:13px }
	.legacy-uses-link { text-align:left;margin-top:-8px;line-height:1.6 }
}
@media (max-width:720px) {
	.professional-page .legacy-uses-link { flex-direction:column;align-items:stretch;gap:18px;padding:22px 18px }
	.professional-page .legacy-uses-link h4 { font-size:22px }
	.professional-page .legacy-uses-link p { font-size:13px }
	.professional-page .legacy-uses-link a { width:100%;padding:14px 18px }
}

/* ===== 横に流して選ぶカード列 ===== */
.choice-rail { min-width:0 }
.choice-rail-controls { display:none }
.copy-unit { display:inline-block }
@media (max-width:620px) {
	.choice-rail-controls { align-items:center;gap:8px;margin-top:10px;display:flex }
	.choice-rail-controls span { color:#72787b;margin-right:auto;font-size:11px }
	.choice-rail-controls button { cursor:pointer;background:#fff;border:1px solid #d0d4d5;width:44px;height:44px;font-size:18px }
	.general-contact h2>.copy-unit { display:block }
}
@media (min-width:621px) {
	.choice-rail [data-rail-copy="0"],.choice-rail [data-rail-copy="2"] { display:none }
}

/* ===== このような場所・もののお手入れに（用途のタグ） ===== */
.use-tags { margin-top:24px }
.use-tags>small { color:#c51f31;font-size:11px;font-weight:700 }
.use-tags ul { flex-wrap:wrap;gap:7px;margin:10px 0 0;padding:0;list-style:none;display:flex }
.use-tags li { background:#f0f1f0;border:1px solid #e0e2e1;border-radius:5px;padding:6px 10px;font-size:13px;font-weight:700;line-height:1.4 }
@media (max-width:620px) {
	.use-tags { margin-top:20px }
	.use-tags li { padding:6px 9px;font-size:12px }
}

/* ===== メインビジュアル1枚目：サビの写真を左側だけ濃く重ねる ===== */
@media (min-width:621px) {
	.hero-original-rust { background-size:cover;background-position:50%;position:absolute;inset:0;-webkit-mask-image:linear-gradient(90deg,#000 0% 34%,#000000d9 39%,#00000059 44%,#0000 48%);mask-image:linear-gradient(90deg,#000 0% 34%,#000000d9 39%,#00000059 44%,#0000 48%) }
}
@media (max-width:620px) {
	.hero-original-rust { display:none }
}
#other .general-rust-intro h3 .other-heading-line { white-space:nowrap;display:block }

/* ===== TOP：施工分野から探すのアイコン ===== */
.field-icon { color:#e33144;flex-shrink:0;width:32px;height:32px }
.case-categories a { flex-wrap:wrap;align-content:center;gap:9px;padding:20px 14px;font-size:13px }
.case-categories a>span { display:none }
.case-categories a:hover .field-icon { color:#fff }
@media (max-width:850px) {
	.case-categories { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 7vw 38px;padding:0;display:grid;overflow:visible }
	.case-categories a { min-width:0;min-height:85px;padding:15px 12px;font-size:13px }
	.field-icon { width:28px;height:28px }
}
@media (min-width:1051px) and (max-width:1400px) {
	.case-categories a { font-size:12px }
	.field-icon { width:26px;height:26px }
}

/* ===== メインビジュアル1枚目：下地は塗装鋼板、左半分にサビ、右に商品を重ねる ===== */
@media (min-width:621px) {
	.home-page .hero-media.slide-1 { background-position:50%;background-size:cover;background-image:url(../../img/renewal/hero-matte-painted-steel.png)!important }
	.hero-original-rust { background:url(../../img/renewal/hero-rust-products.png) 50%/cover;position:absolute;inset:0;-webkit-mask-image:linear-gradient(90deg,#000 0% 34%,#000000d9 39%,#00000059 44%,#0000 48%);mask-image:linear-gradient(90deg,#000 0% 34%,#000000d9 39%,#00000059 44%,#0000 48%) }
	.home-page .hero-media.slide-1:before { content:"";z-index:1;filter:drop-shadow(0 12px 12px #0003);background:url(../../img/renewal/sabikiller-pro-transparent.png) 50%/contain no-repeat;width:34%;height:80%;position:absolute;top:10%;right:6% }
}
@media (max-width:720px) {
	.hero-media.slide-1 { background-position:top;background-image:url(../../img/renewal/hero-rust.jpg)!important }
	.hero-media.slide-1:before { content:"";z-index:1;filter:drop-shadow(0 12px 16px #00000047);pointer-events:none;background:url(../../img/renewal/sabikiller-pro-transparent.png) bottom/contain no-repeat;width:min(60vw,240px);height:420px;position:absolute;top:-72px;right:2vw }
}

/* ===== CONTACT／SUPPORT欄の文字の大きさと余白 ===== */
.contact-section { padding-top:80px;padding-bottom:80px }
.contact-section h2 { letter-spacing:0;font-size:clamp(32px,3.5vw,48px);line-height:1.4 }
:where(main,.general-page,.professional-page,.case-page,.contact-section) :is(h1,h2,h3,h4,p,dd) { line-break:strict;text-wrap:balance!important }
@media (max-width:620px) {
	.case-page .contact-section h2 { font-size:30px;line-height:1.4 }
	.case-page .contact-lead { font-size:14px;line-height:1.8 }
	.contact-section { padding:55px 7vw }
	.contact-section h2,.case-page .contact-section h2 { font-size:28px;line-height:1.5 }
	.general-rust-intro h3 br,.general-rust-detail h3 br,.contact-section h2 br { display:none }
}


/* 取り扱いホームセンター一覧が空の間、FIRST TIME GUIDE を2枚にする（2026-10-14）
   データが入れば class が付かず、受領どおりの3列に戻る */
.general-help > div.general-help-2 {
	grid-template-columns: repeat(2, 1fr);
}
