/*
Theme Name: den-net-lite
Theme URI: https://den-net.com/
Description: 電ねっとグループ 自己完結テーマ（Elementor / Elementor Pro を置換）。オリジナルの描画を vendor 化した CSS / フォントで再現。
Author: CRESCOM
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: den-net-lite
*/

/* skip link (screen-reader) */
.skip-link.screen-reader-text{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link.screen-reader-text:focus{left:6px;top:6px;width:auto;height:auto;padding:8px 16px;background:#fff;color:#111;z-index:100001;border-radius:4px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---- ハンバーガー popup（Elementor Pro popup #449 をJSで代替・本番挙動を再現） ---- *
 * 本番モバイル(post-449 @media max-width:767px): オーバーレイ透明・パネル白・幅75vw・
 * 右下寄せ(flex-end)・右からスライドイン(fadeInRight 0.8s)。
 * popup.min.css の [data-elementor-type="popup"]:not(.elementor-edit-area){display:none}
 * が同一詳細度で後勝ちするため、開状態は !important で確実に上書きする。            */
.elementor-location-popup{position:fixed;inset:0;z-index:100000;display:none;background:transparent;pointer-events:none}
.elementor-location-popup.dnl-open{display:flex !important;justify-content:flex-end;align-items:stretch}
.elementor-location-popup > .elementor-element{width:75vw;max-width:400px;height:100vh;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:auto}
.elementor-location-popup.dnl-open > .elementor-element{animation:dnlSlideInRight .8s ease}
/* 閉じ: 本番同様 0.8s で右へスライドアウト＋フェードアウトしてから消す（JSが .dnl-closing 付与） */
.elementor-location-popup.dnl-open.dnl-closing > .elementor-element{animation:dnlSlideOutRight .8s cubic-bezier(.75,0,.75,.9) forwards}
@keyframes dnlSlideInRight{from{transform:translate3d(100%,0,0);opacity:0}to{transform:translate3d(0,0,0);opacity:1}}
@keyframes dnlSlideOutRight{from{transform:translate3d(0,0,0);opacity:1}to{transform:translate3d(100%,0,0);opacity:0}}
@media(min-width:768px){
  .elementor-location-popup.dnl-open{justify-content:center;align-items:center}
  .elementor-location-popup > .elementor-element{width:100vw;max-width:100vw}
  .elementor-location-popup.dnl-open > .elementor-element{animation:dnlFade .8s ease}
  .elementor-location-popup.dnl-open.dnl-closing > .elementor-element{animation:dnlFadeOut .8s cubic-bezier(.75,0,.75,.9) forwards}
}
@keyframes dnlFade{from{opacity:0}to{opacity:1}}
@keyframes dnlFadeOut{from{opacity:1}to{opacity:0}}
body.dnl-noscroll{overflow:hidden}

/* entrance animation base（Elementorランタイム非使用時の初期非表示） */
.elementor-invisible{visibility:hidden}
.animated{visibility:visible}

/* pana archive card 余白（Elementor gen CSS 補完） */
.elementor-posts--skin-classic .elementor-post__title{margin:0}
