/* ekit-child enhance.css — 全幅共通の上層（旧 CSS は無改変・ここで足す／上書きする）
   色：オレンジ #FE6300（見出し帯）・濃いオレンジ #C24E00（文字リンク）・黄 #FFD400（帯）・本文 #111 */
:root {
	--ekit-orange: #FE6300;
	--ekit-orange-d: #C24E00;
	--ekit-yellow: #FFD400;
	--ekit-text: #111;
	--ekit-line: #E6E1D6;
}

/* PC ではスマホ部品を出さない */
#ekit-mbar, #ekit-drawer, #ekit-drawer-mask, #ekit-sp-footer { display: none; }

/* ---------- TOP スライダー（MetaSlider id=551 と同寸：最大 1100×350・下にドット） ---------- */
.ekit-hero { max-width: 1100px; margin: 0 auto; }
.ekit-slider { position: relative; max-width: 1100px; margin: 0 auto 40px; }
.ekit-slides { position: relative; margin: 0; padding: 0; list-style: none; aspect-ratio: 1100 / 350; overflow: hidden; }
.ekit-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.ekit-slide.is-active { opacity: 1; z-index: 1; }
.ekit-slide img { display: block; width: 100%; height: auto; }
.ekit-arrow { position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font-size: 18px; line-height: 40px; cursor: pointer; opacity: 0; transition: opacity .3s; }
.ekit-slider:hover .ekit-arrow, .ekit-arrow:focus-visible { opacity: 1; }
.ekit-prev { left: 10px; }
.ekit-next { right: 10px; }
.ekit-dots { position: absolute; left: 0; right: 0; bottom: -30px; margin: 0; padding: 0; list-style: none; text-align: center; }
.ekit-dots li { display: inline-block; margin: 0 4px; }
.ekit-dots button { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.25); cursor: pointer; }
.ekit-dots button.is-active { background: rgba(0,0,0,.7); }
.ekit-abana { margin: 0; text-align: center; }
.ekit-abana img { max-width: 100%; height: auto; vertical-align: bottom; }

/* ---------- 施工事例の一覧（均等グリッド・旧 #main h3 の乗っ取りを打ち消す） ---------- */
.ekit-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 12px; margin: 14px 0 10px; }
.ekit-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--ekit-line); border-radius: 9px; box-shadow: 0 2px 6px rgba(0,0,0,.06); transition: border-color .2s, transform .2s, box-shadow .2s; }
.ekit-card:hover { border-color: #F2B27A; transform: translateY(-3px); box-shadow: 0 6px 14px rgba(0,0,0,.1); }
.ekit-card-thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #F4F1EA; }
.ekit-card-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ekit-card-thumb.is-noimg { display: flex; align-items: center; justify-content: center; }
.ekit-card-ph { color: #8a8170; font-size: 12px; }
.ekit-card-body { display: flex; flex: 1; flex-direction: column; padding: 8px 9px 10px; }
#main .ekit-card-title, .ekit-card-title { clear: none !important; margin: 0 0 4px !important; padding: 0 !important; background: none !important; color: var(--ekit-text) !important; font-size: 13.5px !important; font-weight: bold !important; letter-spacing: 0 !important; line-height: 1.45 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ekit-card-title a { color: inherit; text-decoration: none; }
.ekit-card-title a:hover { color: var(--ekit-orange-d); text-decoration: underline; }
.ekit-card-date { display: block; margin-bottom: 4px; color: #6b6355; font-size: 11.5px; }
#main .ekit-card-excerpt, .ekit-card-excerpt { margin: 0 0 6px !important; padding: 0 !important; color: #333 !important; font-size: 12px !important; line-height: 1.6 !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ekit-card-more { margin-top: auto; color: var(--ekit-orange-d); font-size: 12px; text-decoration: none; }
.ekit-card-more::after { content: " ›"; }
.ekit-card-more:hover { text-decoration: underline; }
.ekit-more-box { margin: 18px 0 24px; text-align: center; }
.ekit-more { min-width: 200px; min-height: 44px; padding: 10px 24px; border: 0; border-radius: 22px; background: var(--ekit-orange); color: #fff; font-size: 14px; font-weight: bold; cursor: pointer; }
.ekit-more:hover { background: #E35700; }
.ekit-more.is-loading { opacity: .7; cursor: wait; }

/* ---------- パンくず（タイトル帯の下・文字は 4.5:1 以上） ---------- */
.ekit-bc { margin: -4px 0 12px; font-size: 12px; }
.ekit-bc ol { display: flex; flex-wrap: wrap; margin: 0 !important; padding: 0; list-style: none; }
#main .ekit-bc li { margin: 0; color: #444; }
.ekit-bc li + li::before { content: "›"; margin: 0 6px; color: #888; }
.ekit-bc a { color: var(--ekit-orange-d); text-decoration: underline; }

/* ---------- 記事ページ ---------- */
.ekit-postnav { display: flex; justify-content: space-between; gap: 12px; margin: 30px 0 10px; }
.ekit-postnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid var(--ekit-line); border-radius: 6px; color: var(--ekit-text); text-decoration: none; }
.ekit-postnav a:hover { border-color: var(--ekit-orange); color: var(--ekit-orange-d); }
.ekit-back { margin: 10px 0 30px; text-align: center; }
.ekit-back a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 22px; background: #FFF4E8; color: var(--ekit-orange-d); font-weight: bold; text-decoration: none; }
.ekit-pager { display: flex; justify-content: space-between; margin: 24px 0; }
.ekit-pager a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; color: var(--ekit-orange-d); }
.ekit-empty { margin: 20px 0; line-height: 1.8; }
.ekit-404 ul { margin: 10px 0 0 20px; }

/* 検索 */
.ekit-search { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 16px; }
.ekit-search label { width: 100%; font-weight: bold; }
.ekit-search input { flex: 1; min-width: 0; min-height: 40px; padding: 6px 10px; border: 1px solid #bbb; border-radius: 4px; font-size: 16px; }
.ekit-search button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 4px; background: var(--ekit-orange); color: #fff; font-size: 15px; cursor: pointer; }
.ekit-grid-search { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* [scroller] の置き換え（高さ固定のスクロール枠） */
.ekit-scrollbox { max-height: 300px; margin: 10px 0 20px; padding: 12px 14px; overflow: auto; border: 1px solid #ccc; background: #fff; line-height: 1.7; }
.ekit-scrollbox p { margin: 0 0 8px; }

/* 画像の拡大表示 */
.ekit-zoom { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.8); cursor: zoom-out; }
.ekit-zoom img { max-width: 100%; max-height: 100%; box-shadow: 0 6px 30px rgba(0,0,0,.5); }
.ekit-zoom-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; font-size: 24px; line-height: 44px; cursor: pointer; }

/* 本文の画像（旧の float 指定はそのまま・縦の隙間対策） */
.ekit-content img, #sidebar img { vertical-align: bottom; }

/* ---------- フッター（焼き込み画像をやめて DOM＋CSS で） ---------- */
#ekit-footer { clear: both; margin-top: 30px; background: linear-gradient(#FFFFFF, #FFF8DC 70%, #FFF1B8); color: var(--ekit-text); }
.ekit-ftr-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 48px; max-width: 1080px; margin: 0 auto; padding: 30px 20px 26px; box-sizing: border-box; }
.ekit-ftr-logo { display: inline-block; padding: 12px 14px; border: 1px solid var(--ekit-line); border-radius: 8px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.ekit-ftr-logo img { display: block; max-width: 100%; height: auto; }
.ekit-ftr-info address { margin-top: 12px; font-size: 12.5px; font-style: normal; line-height: 1.8; }
.ekit-ftr-info address a { color: inherit; }
.ekit-ftr-nav ul { margin: 0; padding: 0; list-style: none; columns: 3; column-gap: 28px; }
.ekit-ftr-nav li { margin: 0 0 8px; break-inside: avoid; font-size: 13px; text-wrap: balance; }
.ekit-ftr-nav li::before { content: "›"; margin-right: 6px; color: var(--ekit-orange); }
.ekit-ftr-nav a { color: var(--ekit-text); text-decoration: none; }
.ekit-ftr-nav a:hover { color: var(--ekit-orange-d); text-decoration: underline; }
.ekit-recaptcha { max-width: 1080px; margin: 0 auto; padding: 0 20px 12px; box-sizing: border-box; color: #555; font-size: 11px; }
.ekit-recaptcha a { color: inherit; }
.ekit-copy { margin: 0; padding: 10px 20px; border-top: 4px solid var(--ekit-yellow); background: var(--ekit-orange); color: #fff; font-size: 13px; text-align: center; }
