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

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

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

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

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

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

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

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

/* 画像の拡大表示 */
.ek2-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; }
.ek2-zoom img { max-width: 100%; max-height: 100%; box-shadow: 0 6px 30px rgba(0,0,0,.5); }
.ek2-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 指定はそのまま・縦の隙間対策） */
.ek2-content img, #sidebar img { vertical-align: bottom; }

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

/* ---------- e-kit.info 固有 ---------- */
/* TOP の帯画像（easing-slider 4408 と同じ 1 枚・最大 1600×240） */
.ek2-hero { max-width: 1600px; margin: 0 auto; }
.ek2-hero img { display: block; width: 100%; height: auto; }
/* キャンペーン情報（[showwhatsnew] と同じリスト） */
.whats-new-list { margin: 0 0 20px 10px; padding: 0; list-style: none; }
.whats-new-item { margin: 0 0 4px; font-size: 12px; line-height: 1.6; }
.whats-new-date { margin-right: 8px; color: #333; }
.whats-new-link { color: var(--ek2-orange-d); }
/* 記事末の「○○時点での情報です」 */
.ek2-asof { margin: 20px 0 0; color: #444; font-size: 12px; }
.ek2-asof a { color: var(--ek2-orange-d); }
/* 左サイドの「スマートフォン専用・タップしてお電話」画像（PC にも出ていた）＝出さない（関谷さんレビューで確認） */
#sidebar #text-3 { display: none; }
