/* かこがわ不動産：旧サイトのCSSに足す分だけ（WordPressのスクリプトが担っていた表示の代わり） */

/* トップ写真のスライドショー */
.kf-slideshow { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.kf-slideshow__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; }
.kf-slideshow__slide.is-active { opacity: 1; }
.kf-slideshow.is-kenburns .kf-slideshow__slide.is-active { animation: kf-kenburns 6s linear forwards; }
@keyframes kf-kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
[data-settings*="background_slideshow_gallery"] > *:not(.kf-slideshow) { position: relative; z-index: 1; }

/* NEWS帯 */
.premium-post-ticker__post-wrapper.is-hidden { display: none !important; }
.premium-post-ticker__outer-wrapper { visibility: visible !important; opacity: 1 !important; }
.premium-post-ticker__posts-wrapper { display: flex; align-items: center; min-width: 0; overflow: hidden; }
.premium-post-ticker__post-wrapper { display: flex; align-items: center; gap: 1em; min-width: 0; }
.premium-post-ticker__post-wrapper > div:first-child { min-width: 0; }
.premium-post-ticker__post-title, .premium-post-ticker__post-date { white-space: nowrap; }
.premium-post-ticker__post-title { overflow: hidden; text-overflow: ellipsis; }

/* 一覧カード：WordPressのスクリプトで並べていたグリッドの代わり */
.premium-blog-even { display: flex; flex-wrap: wrap; }
.premium-blog-even .premium-blog-post-outer-container { width: 33.33%; }
@media (max-width: 1024px) { .premium-blog-even .premium-blog-post-outer-container { width: 50%; } }
@media (max-width: 767px) { .premium-blog-even .premium-blog-post-outer-container { width: 100%; } }
.premium-blog-post-outer-container.is-filtered { display: none !important; }
.premium-blog-thumbnail-container img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.premium-blog-post-time { font-size: 14px; color: #777; }

/* 物件情報 → アットホーム */
.kf-athome { width: 100%; text-align: center; padding: 32px 16px; }
.kf-athome__lead { margin: 0 0 20px; line-height: 1.9; color: #2f2d2c; }
.kf-athome__btn { display: inline-flex; align-items: center; gap: .6em; padding: 16px 32px; background: #2f2d2c; color: #fff !important; font-family: "Noto Sans JP", sans-serif; font-weight: 500; letter-spacing: .05em; border-radius: 4px; text-decoration: none; transition: opacity .2s; }
.kf-athome__btn:hover { opacity: .8; }
.kf-sp { display: none; }
@media (max-width: 767px) { .kf-sp { display: inline; } }

/* 施工事例の写真の拡大表示 */
.kf-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; }
.kf-lightbox[hidden] { display: none; }
.kf-lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.kf-lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; padding: 12px; }
.kf-lightbox__close { top: 12px; right: 16px; }
.kf-lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.kf-lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }

/* 本文（microCMSのリッチテキスト） */
.kf-body { line-height: 1.9; margin-top: 24px; }
.kf-body img { max-width: 100%; height: auto; }
.kf-body h2 { font-size: 22px; margin: 1.6em 0 .6em; }
.kf-body h3 { font-size: 18px; margin: 1.4em 0 .5em; }
.kf-body a { text-decoration: underline; }

/* お知らせの詳細 */
.kf-article { max-width: 860px; margin: 0 auto; padding: 48px 16px 80px; color: #333; }
.kf-crumbs { font-size: 13px; color: #888; margin-bottom: 32px; }
.kf-crumbs a { color: #888; }
.kf-article__date { color: #94c7de; font-family: Prompt, sans-serif; margin: 0 0 8px; }
.kf-article__title { font-family: "Noto Sans JP", sans-serif; font-size: 28px; font-weight: 600; color: #2f2d2c; line-height: 1.5; margin: 0 0 24px; padding-bottom: 16px; border-bottom: 1px solid #ddd; }
.kf-article__img { width: 100%; height: auto; margin-bottom: 8px; }
.kf-article__back { margin-top: 48px; text-align: center; }
.kf-article__back a { display: inline-block; padding: 14px 32px; border: 1px solid #2f2d2c; color: #2f2d2c; text-decoration: none; }
@media (max-width: 767px) { .kf-article { padding-top: 32px; } .kf-article__title { font-size: 22px; } }

/* お問い合わせフォーム */
.kf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.kf-label { display: inline-block; }
.kf-privacy { font-size: 14px; }
.kf-privacy a { text-decoration: underline; }
.wpcf7-response-output { margin: 16px 0 0; padding: 0; border: 0; }
.wpcf7-response-output.is-ok, .wpcf7-response-output.is-ng { padding: 14px 16px; border: 2px solid; }
.wpcf7-response-output.is-ok { border-color: #46b450; }
.wpcf7-response-output.is-ng { border-color: #dc3232; }
.wpcf7-submit[disabled] { opacity: .6; cursor: wait; }

/* スマホメニューの中身 */
.kf-spnav { padding: 8px 8px 32px; font-family: "Noto Sans JP", sans-serif; }
.kf-spnav ul { list-style: none; margin: 0 0 28px; padding: 0; }
.kf-spnav li a { display: block; padding: 16px 4px; border-bottom: 1px solid #e5e5e5; color: #2f2d2c; font-size: 16px; font-weight: 500; text-decoration: none; }
.kf-spnav__cta { display: block; text-align: center; padding: 16px; background: #2f2d2c; color: #fff !important; border-radius: 4px; text-decoration: none; font-weight: 500; }
.kf-spnav__tel { display: block; text-align: center; margin-top: 16px; padding: 14px; border: 1px solid #2f2d2c; color: #2f2d2c; border-radius: 4px; text-decoration: none; }
.kf-spnav__note { margin: 14px 0 0; font-size: 13px; color: #777; text-align: center; }

/* 下層ページ：固定ヘッダーの下に本文（パンくず）が潜り込まないよう、ヘッダーの高さぶん下げる。
   高さは site.js が実測して --kf-header-h に入れる（読み込み前は目安の値） */
:root { --kf-header-h: 104px; }
body:not(.home) #content { padding-top: var(--kf-header-h); }

/* 外部サイト（アットホーム）へのリンクのアイコン */
.kf-ext { display: inline-flex; vertical-align: -0.12em; margin-left: .35em; }
.kf-ext svg { width: 1.05em; height: 1.05em; }
.eael-simple-menu a.kf-ext-link { display: inline-flex; align-items: center; }

/* プライバシーポリシー内の「サイトのご利用について」 */
/* 規約ページ（プライバシーポリシー・サイトのご利用について）：長文が読みやすい字間・行間に */
.elementor-element.kf-legal { letter-spacing: .04em !important; line-height: 1.95 !important; }
.kf-legal p { margin: 0 0 1em; }
.kf-legal h2, .kf-legal h3 { font-family: "Noto Sans JP", sans-serif; color: #2f2d2c; letter-spacing: .04em; line-height: 1.5; }
.kf-legal h3 { font-size: 19px; font-weight: 600; margin: 2.4em 0 .8em; padding-left: .75em; border-left: 4px solid #94c7de; }
.kf-legal ol, .kf-legal ul { margin: 0 0 1em; padding-left: 1.6em; }
.kf-legal li { margin-bottom: .35em; }
.kf-legal a { text-decoration: underline; }
.kf-legal .kf-terms-title { font-size: 24px; font-weight: 600; margin: 3.5em 0 0; padding-top: 1.6em; border-top: 1px solid #ddd; scroll-margin-top: calc(var(--kf-header-h) + 16px); }
@media (max-width: 767px) { .kf-legal h3 { font-size: 17px; } .kf-legal .kf-terms-title { font-size: 21px; } }

/* 電話番号のリンク（見た目は元の文字のまま。スマホでタップすると発信） */
a.kf-tel, a.kf-tel:hover, a.kf-tel:visited { color: inherit !important; text-decoration: none; }
@media (hover: none) { a.kf-tel { text-decoration: underline; text-underline-offset: 3px; } }
/* 見出しを画面には出さず、検索・読み上げにだけ伝える */
.kf-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* メニュー・フッターのCSSが svg を塗りつぶすため、外部リンクのアイコンは線だけで描くよう固定する */
.kf-ext svg, .kf-ext svg * { fill: none !important; stroke: currentColor !important; stroke-width: 1.6px !important; }

/* リンクの色：テーマ初期のピンク（#c36）をやめ、サイトの文字色＋下線にそろえる */
a { color: #2f2d2c; }
a:hover, a:active { color: #2f2d2c; opacity: .75; }
.kf-privacy a, .kf-body a, .kf-legal a { color: #2f2d2c; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #94c7de; text-decoration-thickness: 2px; }

/* お知らせ一覧 */
.kf-newslist { list-style: none; margin: 0 auto; padding: 0; width: 100%; max-width: 960px; border-top: 1px solid #e3e3e3; }
.kf-newslist__item { border-bottom: 1px solid #e3e3e3; }
.kf-newslist__link { display: flex; align-items: center; gap: 32px; padding: 26px 8px; color: #2f2d2c !important; text-decoration: none; transition: background-color .2s; }
.kf-newslist__link:hover { background: #f5f9fb; opacity: 1; }
.kf-newslist__date { flex: none; font-family: Prompt, sans-serif; font-size: 15px; letter-spacing: .08em; color: #94c7de; }
.kf-newslist__title { flex: 1; font-family: "Noto Sans JP", sans-serif; font-size: 16px; line-height: 1.7; letter-spacing: .05em; }
.kf-newslist__arrow { flex: none; display: inline-flex; color: #94c7de; transition: transform .2s; }
.kf-newslist__link:hover .kf-newslist__arrow { transform: translateX(4px); }
.kf-newslist__empty { text-align: center; color: #777; }
@media (max-width: 767px) {
  .kf-newslist__link { flex-wrap: wrap; gap: 4px 12px; padding: 18px 4px; }
  .kf-newslist__date { width: 100%; font-size: 13px; }
  .kf-newslist__title { font-size: 15px; }
}

/* お問い合わせ：同意欄を整える */
.kf-privacy label { display: inline-flex; align-items: center; gap: 10px; font-weight: 400; cursor: pointer; }
.kf-privacy input[type=checkbox] { width: 20px; height: 20px; margin: 0; accent-color: #2f2d2c; flex: none; }
/* フッターの規約リンクだけは元のデザインどおり細い下線を残す */
.elementor-element-f662d04 a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* 施工事例のカテゴリー（旧サイトの見た目に合わせた小さな丸枠） */
.premium-blog-cats-container { margin-bottom: 10px; }
.premium-blog-cats-container .post-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.kf-cat { display: inline-block; font-family: "Noto Sans JP", sans-serif; font-size: 13px; line-height: 1.5; letter-spacing: .05em; padding: 3px 12px; border: 1px solid #94c7de; border-radius: 100px; color: #94c7de; background: #fff; }

/* パンくずをヘッダーのすぐ下（10px）に。旧サイトはヘッダーの裏に潜る前提で上に70pxの余白を取っていた */
body:not(.home) #content > .elementor > .e-con:first-child > .e-con-inner { padding-top: 10px !important; }
.kf-article { padding-top: 10px !important; }
.kf-crumbs { margin-bottom: 40px; }

/* 施工事例の詳細：カテゴリーを一覧と同じ丸枠に、面積などの行頭の「・」を消す */
.jkit-post-terms .term-list { display: inline-block; font-family: "Noto Sans JP", sans-serif; font-size: 13px !important; line-height: 1.5; letter-spacing: .05em; padding: 3px 12px !important; border: 1px solid #94c7de !important; border-radius: 100px !important; color: #94c7de !important; background: #fff !important; }
ul.property-meta { list-style: none !important; margin: 0; padding: 0 !important; }
ul.property-meta li { list-style: none !important; margin-bottom: 4px; }

/* 写真の拡大表示のボタン：押したとき・選んだときも背景を付けない（旧テーマのボタン色を打ち消す） */
.kf-lightbox button, .kf-lightbox button:hover, .kf-lightbox button:focus { background: none !important; border: 0 !important; color: #fff !important; box-shadow: none; }
.kf-lightbox button:focus-visible { outline: 2px solid #94c7de; outline-offset: 2px; }
.kf-lightbox button:hover { opacity: .7; }
/* お問い合わせの送信ボタン：押したときもサイトの黒のまま */
.wpcf7-submit:hover, .wpcf7-submit:focus { background-color: #2f2d2c !important; color: #fff !important; opacity: .85; }

/* ===== 施工事例の詳細（写真ギャラリー型） ===== */
.kf-case { max-width: 1200px; margin: 0 auto; padding: 10px 24px 96px; color: #2f2d2c; font-family: "Noto Sans JP", sans-serif; }
.kf-case .kf-crumbs { margin-bottom: 28px; }
.kf-case__top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.kf-gallery { min-width: 0; }
.kf-gallery__main { position: relative; border-radius: 6px; overflow: hidden; background: #f3f3f3; }
.kf-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; outline: none; }
.kf-gallery__track::-webkit-scrollbar { display: none; }
.kf-gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 3; }
.kf-gallery__slide a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.kf-gallery__slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.kf-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: rgba(255,255,255,.92) !important; color: #2f2d2c !important; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.12); cursor: pointer; transition: opacity .2s; }
.kf-gallery__nav:hover { opacity: .8; }
.kf-gallery__nav:focus-visible { outline: 2px solid #94c7de; outline-offset: 2px; }
.kf-gallery__nav[disabled] { opacity: 0; pointer-events: none; }
.kf-gallery__nav--prev { left: 12px; }
.kf-gallery__nav--next { right: 12px; }
.kf-gallery__count { position: absolute; right: 12px; bottom: 12px; padding: 2px 12px; border-radius: 100px; background: rgba(47,45,44,.75); color: #fff; font-family: Prompt, sans-serif; font-size: 13px; letter-spacing: .08em; }
.kf-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.kf-gallery__thumb { flex: 0 0 88px; aspect-ratio: 4 / 3; padding: 0 !important; border: 2px solid transparent !important; border-radius: 4px !important; background: #f3f3f3 !important; overflow: hidden; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.kf-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kf-gallery__thumb:hover { opacity: .9; }
.kf-gallery__thumb.is-active { opacity: 1; border-color: #94c7de !important; }
.kf-case__info { position: sticky; top: calc(var(--kf-header-h) + 24px); }
.kf-case__title { font-size: 28px; font-weight: 600; line-height: 1.5; letter-spacing: .04em; margin: 14px 0 24px; color: #2f2d2c; }
.kf-case__spec { margin: 0 0 28px; border-top: 1px solid #e3e3e3; }
.kf-case__spec > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 14px 4px; border-bottom: 1px solid #e3e3e3; font-size: 15px; line-height: 1.7; }
.kf-case__spec dt { color: #94c7de; font-weight: 500; }
.kf-case__spec dd { margin: 0; }
.kf-case__cta { display: block; text-align: center; padding: 16px; background: #2f2d2c; color: #fff !important; border-radius: 4px; font-weight: 500; letter-spacing: .05em; text-decoration: none; transition: opacity .2s; }
.kf-case__cta:hover { opacity: .85; }
.kf-case__tel { margin: 16px 0 0; text-align: center; font-size: 14px; line-height: 1.8; }
.kf-case__tel a { font-family: Prompt, sans-serif; font-size: 18px; }
.kf-case__tel small { color: #777; font-size: 12px; }
.kf-case__h2 { font-size: 22px; font-weight: 600; letter-spacing: .05em; margin: 0 0 20px; padding-left: .75em; border-left: 4px solid #94c7de; color: #2f2d2c; }
.kf-case__body { margin-top: 72px; max-width: 820px; line-height: 2; letter-spacing: .04em; }
.kf-case__more { margin-top: 80px; }
.kf-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kf-card { display: flex; flex-direction: column; gap: 10px; color: #2f2d2c !important; text-decoration: none; }
.kf-card__img { display: block; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: #f3f3f3; margin-bottom: 4px; }
.kf-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.kf-card:hover .kf-card__img img { transform: scale(1.04); }
.kf-card .kf-cat { align-self: flex-start; }
.kf-card__title { font-weight: 600; line-height: 1.6; }
.kf-case__back { margin-top: 64px; text-align: center; }
.kf-case__back a { display: inline-block; padding: 14px 32px; border: 1px solid #2f2d2c; color: #2f2d2c; text-decoration: none; border-radius: 4px; }
@media (max-width: 900px) {
  .kf-case__top { grid-template-columns: 1fr; gap: 28px; }
  .kf-case__info { position: static; }
  .kf-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .kf-case { padding: 10px 16px 64px; }
  .kf-gallery__main { margin: 0 -16px; border-radius: 0; }
  .kf-gallery__nav { display: none; }
  .kf-gallery__thumb { flex-basis: 64px; }
  .kf-case__title { font-size: 22px; }
  .kf-cards { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* カテゴリーのタグ：どこでも同じ見た目（枠は1本だけ） */
.kf-cat { display: inline-block !important; font-family: "Noto Sans JP", sans-serif !important; font-size: 13px !important; font-weight: 500; line-height: 1.5 !important; letter-spacing: .05em; padding: 3px 12px !important; border: 1px solid #94c7de !important; border-radius: 100px !important; color: #94c7de !important; background: #fff !important; }

/* トップのNEWS帯：旧サイトはスライダー部品の幅で横いっぱいに広がっていた。広い画面でも残りの幅を埋める */
.elementor-element-7ee5234 > .elementor-element-9a53bc3 { flex: 1 1 auto; min-width: 0; }
.elementor-element-9a53bc3 .premium-post-ticker__posts-wrapper { flex: 1 1 auto; min-width: 0; }
/* 見出しが入りきらないとき（スマホなど）は途中で切らずに「…」で終える。日付は縮めない */
.premium-post-ticker__post-wrapper > div:first-child { min-width: 0; }
.premium-post-ticker__post-wrapper > div:last-child { flex-shrink: 0; }
.premium-post-ticker__post-title { text-overflow: ellipsis; }
.premium-post-ticker__post-title a { display: inline; }

/* フッターのプラポリ等：元テンプレートが外枠にも下線を付けていて二重になるので、外枠の下線は消してリンクの1本だけにする */
.elementor-element-f662d04, .elementor-element-f662d04 p, .elementor-element-f662d04 .elementor-widget-container { text-decoration: none !important; }

/* お問い合わせフォーム：ラジオの丸と文字の縦位置をそろえる */
.wpcf7-radio { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 10px; }
.wpcf7-radio .wpcf7-list-item { margin: 0 !important; }
.wpcf7-radio .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; line-height: 1.5; }
.wpcf7-radio input[type=radio] { margin: 0 !important; flex: none; position: static !important; top: auto !important; vertical-align: middle; }

/* お問い合わせバナー（四角に切り出した画像） */
.kf-contact-banner__link { display: block; border-radius: 12px; overflow: hidden; transition: opacity .2s; }
.kf-contact-banner__link:hover { opacity: .85; }
.kf-contact-banner { display: block; width: 100%; height: auto; }

/* お知らせ一覧のページ切り替え */
.kf-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 48px auto 0; font-family: Prompt, "Noto Sans JP", sans-serif; }
.kf-pager__list { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.kf-pager__num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e3e3e3; color: #2f2d2c !important; text-decoration: none; font-size: 15px; transition: border-color .2s, background-color .2s; }
a.kf-pager__num:hover { border-color: #94c7de; background: #f5f9fb; opacity: 1; }
.kf-pager__num.is-current { background: #94c7de; border-color: #94c7de; color: #fff !important; }
.kf-pager__gap { width: 24px; text-align: center; color: #999; line-height: 44px; }
.kf-pager__step { display: inline-flex; align-items: center; gap: 4px; padding: 0 8px; height: 44px; color: #2f2d2c !important; text-decoration: none; font-size: 14px; }
.kf-pager__step.is-disabled { color: #ccc !important; }
@media (max-width: 767px) { .kf-pager { gap: 4px; } .kf-pager__list { gap: 6px; } .kf-pager__num { width: 38px; height: 38px; font-size: 14px; } .kf-pager__step span { display: none; } }

/* お知らせの詳細 */
.kf-article__head { margin-bottom: 32px; }
.kf-article__date { font-size: 15px; letter-spacing: .08em; }
.kf-article__eyecatch { margin: 0 0 40px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #f3f3f3; }
.kf-article__eyecatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kf-article__body { font-size: 16px; line-height: 2; letter-spacing: .04em; color: #333; margin-top: 0; }
.kf-article__body > * + * { margin-top: 1.2em; }
.kf-article__body p { margin: 0; }
.kf-article__body h2 { font-size: 20px; font-weight: 600; color: #2f2d2c; margin: 2.2em 0 .8em; padding-left: 14px; border-left: 4px solid #94c7de; line-height: 1.5; }
.kf-article__body h3 { font-size: 17px; font-weight: 600; margin: 1.8em 0 .6em; }
.kf-article__body ul, .kf-article__body ol { padding-left: 1.4em; }
.kf-article__body li + li { margin-top: .3em; }
.kf-article__body ul li::marker { color: #94c7de; }
.kf-article__body table { width: 100%; border-collapse: collapse; font-size: 15px; border-top: 1px solid #e3e3e3; }
.kf-article__body th, .kf-article__body td { padding: 14px 16px; border-bottom: 1px solid #e3e3e3; text-align: left; vertical-align: top; line-height: 1.8; }
.kf-article__body th { width: 26%; background: #f5f9fb; font-weight: 600; color: #2f2d2c; white-space: nowrap; }
.kf-article__body figure { margin: 2em 0; }
.kf-article__body figure img { border-radius: 10px; display: block; width: 100%; }
.kf-article__cta { margin-top: 64px; padding: 32px 24px; background: #f5f9fb; border-radius: 12px; text-align: center; }
.kf-article__cta p { margin: 0 0 20px; font-size: 15px; }
.kf-article__cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.kf-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 200px; padding: 14px 28px; border: 1px solid #2f2d2c; border-radius: 8px; color: #2f2d2c !important; background: #fff; text-decoration: none; font-weight: 600; letter-spacing: .05em; transition: opacity .2s; }
.kf-btn--dark { background: #2f2d2c; color: #fff !important; }
.kf-btn:hover { opacity: .8; }
.kf-neighbors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.kf-neighbors__item { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid #e3e3e3; border-radius: 10px; color: #2f2d2c !important; text-decoration: none; transition: border-color .2s; }
a.kf-neighbors__item:hover { border-color: #94c7de; opacity: 1; }
.kf-neighbors__item.is-newer { text-align: right; }
.kf-neighbors__item.is-empty { border: 0; }
.kf-neighbors__label { font-size: 12px; letter-spacing: .1em; color: #94c7de; }
.kf-neighbors__title { font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kf-article__back a { border-radius: 8px; }
@media (max-width: 767px) {
  .kf-article__body { font-size: 15px; }
  .kf-article__body th { width: 30%; white-space: normal; padding: 12px; }
  .kf-article__body td { padding: 12px; }
  .kf-neighbors { grid-template-columns: 1fr; gap: 10px; }
  .kf-neighbors__item.is-newer { text-align: left; }
  .kf-neighbors__item.is-empty { display: none; }
  .kf-btn { min-width: 0; width: 100%; }
}


/* 会社紹介の「01 PRICE 費用」など番号付き見出しの下線：装飾が多いので消す */
.elementor-element-533bcfb, .elementor-element-273c498, .elementor-element-be873b2 { display: none !important; }

/* トップのInstagramプレビュー（リール2本＋フィード1本。飾りで、押すとInstagramへ） */
.elementor-element-5d2edf2 { justify-content: center; }
.kf-ig { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; align-items: center; width: 100%; max-width: 640px; margin: 0 auto; }
.kf-ig__card { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 24px rgba(47,45,44,.10); color: #2f2d2c !important; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.kf-ig__card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(47,45,44,.16); opacity: 1; }
.kf-ig__head { display: flex; align-items: center; gap: 7px; padding: 8px 10px; }
.kf-ig__avatar { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.kf-ig__name { flex: 1; min-width: 0; font-family: Prompt, sans-serif; font-size: 11px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kf-ig__type { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.kf-ig__media { position: relative; background: #eee; overflow: hidden; }
.kf-ig__card.is-reel .kf-ig__media { aspect-ratio: 9 / 16; }
.kf-ig__card.is-feed .kf-ig__media { aspect-ratio: 1 / 1; }
.kf-ig__media video, .kf-ig__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.kf-ig__media img { opacity: 0; transition: opacity .6s; }
.kf-ig__media img.is-active { opacity: 1; }
.kf-ig__dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 4px; }
.kf-ig__dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.55); transition: background .3s; }
.kf-ig__dots i.is-active { background: #fff; }
.kf-ig__foot { display: flex; gap: 12px; padding: 9px 10px 4px; }
.kf-ig__foot svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kf-ig__card.is-reel .kf-ig__foot { padding-bottom: 10px; }
.kf-ig__caption { margin: 0; padding: 2px 10px 12px; font-size: 11px; line-height: 1.6; color: #444; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kf-ig__caption b { font-family: Prompt, sans-serif; font-weight: 500; margin-right: 4px; }
@media (max-width: 1024px) { .kf-ig { max-width: 560px; gap: 12px; } }
@media (max-width: 767px) {
  .kf-ig { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 16px 16px; margin: 0 -16px; max-width: none; width: calc(100% + 32px); align-items: center; scrollbar-width: none; }
  .kf-ig::-webkit-scrollbar { display: none; }
  .kf-ig__card { flex: 0 0 56%; scroll-snap-align: center; }
  .kf-ig__card.is-feed { flex-basis: 66%; order: -1; }
}
@media (prefers-reduced-motion: reduce) { .kf-ig__card, .kf-ig__media img { transition: none; } }
/* Instagramプレビューを大きく：右の空きまで広げ、上下の余白を詰める（PC・タブレット） */
@media (min-width: 768px) {
  .elementor-element-a1d17b3 > .e-con-inner { padding-top: 40px !important; padding-bottom: 40px !important; }
  .elementor-element-a1d17b3 .elementor-element-5d2edf2 { flex: 1 1 0; min-width: 0; }
  .kf-ig { max-width: 780px; gap: 18px; margin-right: 0; }
  .kf-ig__head { padding: 10px 12px; }
  .kf-ig__avatar { width: 26px; height: 26px; }
  .kf-ig__name { font-size: 12px; }
  .kf-ig__caption { font-size: 12px; padding: 2px 12px 14px; }
  .kf-ig__foot { padding: 10px 12px 6px; }
  .kf-ig__foot svg { width: 20px; height: 20px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .elementor-element-a1d17b3 > .e-con-inner { padding-left: 24px !important; padding-right: 24px !important; gap: 24px; }
}
/* Instagram欄の左側（見出し＋フォローボタン）をカードの高さに対して縦中央に */
@media (min-width: 768px) {
  .elementor-element-a1d17b3 .elementor-element-6a22728 { align-self: center; }
}

/* トップの物件情報：家の写真を背景にしたバナー（ボタンはバナーの中へ移したので、元のボタンは隠す） */
.elementor-element-bbcb57e { width: 100%; }
.elementor-element-cc0ca71 .elementor-element-41cfdca { display: none !important; }
.kf-lineup { position: relative; width: 100%; max-width: 1140px; margin: 0 auto; min-height: 400px; border-radius: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.kf-lineup__bg, .kf-lineup__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.kf-lineup__bg img { object-fit: cover; display: block; }
.kf-lineup::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,28,27,.35), rgba(30,28,27,.55)); }
.kf-lineup__body { position: relative; z-index: 1; padding: 48px 24px; color: #fff; }
.kf-lineup__catch { margin: 0 0 12px; font-family: "Noto Sans JP", sans-serif; font-size: 28px; font-weight: 600; letter-spacing: .08em; line-height: 1.5; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.kf-lineup__lead { margin: 0 0 28px; font-size: 15px; line-height: 1.9; letter-spacing: .04em; color: rgba(255,255,255,.92); }
.kf-lineup__btn { display: inline-flex; align-items: center; gap: .6em; padding: 16px 36px; background: #fff; color: #2f2d2c !important; font-family: "Noto Sans JP", sans-serif; font-weight: 600; letter-spacing: .05em; border-radius: 8px; text-decoration: none; transition: transform .2s, box-shadow .2s; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.kf-lineup__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.2); opacity: 1; }
@media (max-width: 767px) {
  .kf-lineup { min-height: 420px; border-radius: 12px; }
  .kf-lineup__body { padding: 40px 20px; }
  .kf-lineup__catch { font-size: 21px; }
  .kf-lineup__lead { font-size: 14px; }
  .kf-lineup__btn { width: 100%; justify-content: center; padding: 15px 20px; }
}
@media (max-width: 767px) { .kf-lineup { width: calc(100% - 32px); } }

/* お知らせが0件のとき：トップのNEWS帯（白い帯ごと）を出さない */
.elementor-element-7de164c:has([data-kf-no-news]) { display: none !important; }

/* 施工事例カード：カテゴリーのタグとタイトルの間を詰める（タグの下10px＋タイトルの上28pxが重なっていた） */
.premium-blog-cats-container { margin-bottom: 12px !important; }
.premium-blog-cats-container + .premium-blog-entry-title { margin-top: 0 !important; }
/* トップの「施工事例」見出しとカードの間を広げる */
.home .premium-blog-wrap { margin-top: 24px; }
/* トップの「CASE 施工事例」見出しを、ほかのセクションと同じ中央寄せに */
.elementor-element-3b9829f .kf-eyebrow, .elementor-element-3b9829f .kf-eyebrow-title,
.elementor-element-3b9829f .kf-eyebrow .elementor-heading-title, .elementor-element-3b9829f .kf-eyebrow-title .elementor-heading-title { text-align: center !important; }
