/* ekit2-child responsive.css — 1100px 未満だけ（1100 以上は旧 PC 表示を忠実に）
   旧テーマは body min-width 1100px・#container 1020px・#header／#nvCo 1040px の固定幅＝境目は 1100px */
@media (max-width: 1099px) {
	html { -webkit-text-size-adjust: 100%; }
	body { min-width: 0 !important; background-image: none !important; padding-bottom: 66px; }
	#wrapper { overflow-x: clip; }

	/* 上部の追随バー（ロゴ・電話・メニュー） */
	#ek2-mbar { position: sticky; top: 0; z-index: 900; display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 10px; border-bottom: 3px solid var(--ek2-orange); background: #fff; box-sizing: border-box; }
	.ek2-m-logo { display: block; flex: 1 1 auto; min-width: 0; }
	.ek2-m-logo img { display: block; width: 168px; max-width: 100%; height: auto; }
	.ek2-m-tel { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 48px; border-radius: 8px; background: var(--ek2-orange); color: #fff; font-size: 10px; font-weight: bold; text-decoration: none; }
	.ek2-m-tel svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; }
	#ek2-hamburger { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 8px; background: #333; cursor: pointer; }
	#ek2-hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
	.ek2-drawer-open #ek2-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.ek2-drawer-open #ek2-hamburger span:nth-child(2) { opacity: 0; }
	.ek2-drawer-open #ek2-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

	/* ドロワー */
	/* 閉じている間は display:none（画面外へずらす方式だと横スクロールが生まれるため） */
	#ek2-drawer { position: fixed; top: 60px; right: 0; bottom: 0; z-index: 899; display: none; width: min(86vw, 340px); overflow-y: auto; background: #fff; box-shadow: -4px 0 16px rgba(0,0,0,.15); }
	.ek2-drawer-open #ek2-drawer { display: block; animation: ek2SlideIn .2s ease; }
	@keyframes ek2SlideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
	#ek2-drawer ul { margin: 0; padding: 6px 0; list-style: none; }
	#ek2-drawer li { border-bottom: 1px solid var(--ek2-line); }
	#ek2-drawer li a { display: flex; align-items: center; min-height: 48px; padding: 0 18px; color: var(--ek2-text); font-size: 15px; text-decoration: none; }
	#ek2-drawer li a::before { content: "›"; margin-right: 8px; color: var(--ek2-orange); }
	.ek2-drawer-tel { display: block; margin: 16px; padding: 12px; border-radius: 8px; background: var(--ek2-orange); color: #fff; font-size: 17px; font-weight: bold; text-align: center; text-decoration: none; }
	.ek2-drawer-tel small { display: block; margin-top: 2px; font-size: 11px; font-weight: normal; }
	#ek2-drawer-mask { position: fixed; inset: 60px 0 0 0; z-index: 898; display: block; background: rgba(0,0,0,.35); }
	#ek2-drawer-mask[hidden] { display: none; }

	/* PC のヘッダー・画像タブは隠す（追随バーに置き換え） */
	#header, #nvCo { display: none; }
	#hdrSd { width: auto; margin: 0; }

	/* TOP */
	.ek2-slider { margin-bottom: 30px; }
	.ek2-dots { bottom: -24px; }
	.ek2-arrow { opacity: 1; width: 34px; height: 34px; margin-top: -17px; line-height: 34px; font-size: 15px; }
	.ek2-abana { padding: 0 10px; }

	/* 本文の枠 */
	#container { width: auto; margin: 0; padding: 0 12px; box-sizing: border-box; }
	#main { float: none; width: auto; margin: 0; display: block; }
	#main h2, #main .heading h2.title { width: auto; height: auto; margin: 14px 0 10px; padding: 9px 14px; border-radius: 4px; background: linear-gradient(90deg, var(--ek2-orange), #2E7BD6); color: #fff; font-size: 18px; line-height: 1.4; }
	#main .heading h2.title span { display: block; padding: 0; background: none; color: #fff; }
	#main .heading { width: auto; height: auto; background: none; }
	#main .ek2-card-title { border: 0 !important; }
	#main h3, #main h4 { padding: 0 0 6px 10px; border-left: 4px solid var(--ek2-orange); border-bottom: 1px solid #BFD3EE; background: none; font-size: 16px; letter-spacing: 0; line-height: 1.5; }
	#main p { line-height: 1.75; }
	.ek2-content img, #main img { max-width: 100%; height: auto; }
	#main a { overflow-wrap: anywhere; }
	.ek2-content table { display: block; max-width: 100%; overflow-x: auto; }
	.ek2-content iframe, .ek2-content video { max-width: 100%; }
	.ek2-content [style*="width"] { max-width: 100% !important; box-sizing: border-box; }
	/* 旧 CSS の幅固定の箱・表（.box 708px・.outlineTb 710px・.outlinePhoto* 720〜729px 等）を画面幅に */
	#main .box, #main [class*="outline"], #main .box .tbTb, #main .box .pt dl, #main .priceTb { width: auto !important; max-width: 100%; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box; }
	#main .box .pt dl { float: none; }
	#main table { width: 100% !important; }
	#main .box table { display: table; }
	#main * { max-width: 100%; }
	.ek2-content [style*="float"] { float: none !important; }
	.ek2-content .alignleft, .ek2-content .alignright { float: none; display: block; margin: 0 auto 10px; }
	#date { padding: 6px 0 8px; }
	.pageTop { margin: 20px 0; }

	/* 施工事例の一覧 */
	.ek2-grid, .ek2-grid-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	/* 左サイドのウィジェット＝本文の下へ */
	#sidebar { float: none; width: auto; margin: 20px 0 0; }
	#sidebar img { max-width: 100%; height: auto; }
	#sidebar .widget { margin-bottom: 16px; }
	#sidebar h3 { width: auto; background-size: cover; }
	#sidebar #text-4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	#sidebar #text-4 a, #sidebar #text-4 img { display: block; width: 100%; }
	#sidebar li a { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; }
	.whats-new-item { font-size: 14px; }
	.whats-new-date { display: block; color: #555; font-size: 13px; }
	.ek2-asof { font-size: 13px; }
	#main .post .dateLabel, #main .dateLabel { font-size: 13px; }

	/* フォーム（iOS の拡大防止＝16px） */
	input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea, select { max-width: 100%; font-size: 16px; box-sizing: border-box; }
	.wpcf7 table, .wpcf7 tbody, .wpcf7 tr, .wpcf7 th, .wpcf7 td { display: block; width: auto !important; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box; }
	.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea { width: 100%; }
	.wpcf7 input[type="submit"] { width: 100%; min-height: 48px; white-space: normal; }
	.grecaptcha-badge { visibility: hidden; }

	/* フッター */
	.ek2-ftr-inner { grid-template-columns: 1fr; padding: 24px 16px 18px; }
	.ek2-ftr-nav ul { columns: 2; column-gap: 18px; }
	.ek2-ftr-nav li { margin-bottom: 0; }
	.ek2-ftr-nav a { display: inline-flex; align-items: center; min-height: 40px; }

	/* 固定 5 枠（オーバーレイ・本文末は body の padding-bottom で逃がす） */
	#ek2-sp-footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: grid; grid-template-columns: repeat(5, 1fr); height: 62px; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #C9D8EE; background: rgba(255,255,255,.99); box-shadow: 0 -2px 8px rgba(0,0,0,.08); }
	#ek2-sp-footer a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #333; font-size: 10.5px; text-decoration: none; }
	#ek2-sp-footer svg { width: 22px; height: 22px; fill: none; stroke: var(--ek2-orange-d); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
	#ek2-sp-footer a.ek2-tel { background: var(--ek2-orange); color: #fff; font-weight: bold; }
	#ek2-sp-footer a.ek2-tel svg { stroke: #fff; }
	/* スマホの文字は 13px 以上（/kenpin の基準） */
	.ek2-m-tel { font-size: 13px; }
	#ek2-sp-footer a { font-size: 13px; letter-spacing: -.02em; }
	#main .ek2-card-title, .ek2-card-title { font-size: 15px !important; }
	.ek2-card-date, .ek2-card-more { font-size: 13px; }
	#main .ek2-card-excerpt, .ek2-card-excerpt { font-size: 13px !important; }
	.ek2-bc { font-size: 13px; }
	.ek2-ftr-info address, .ek2-ftr-nav li, .ek2-recaptcha { font-size: 13px; }
}

@media (max-width: 600px) {
	.ek2-grid, .ek2-grid-search { grid-template-columns: 1fr; }
	.ek2-card { flex-direction: row; }
	.ek2-card-thumb { flex: 0 0 38%; aspect-ratio: 3 / 2; }
	.ek2-card-body { padding: 8px 10px; }
	.ek2-ftr-nav ul { columns: 1; }
}
