.elementor-26 .elementor-element.elementor-element-75d630d{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-487daf0 *//* ====== たねのとなり：ヘッダー専用（衝突回避のためID/プレフィックス付） ====== */

/* タップ時の青ハイライト/青枠を完全に無効化（iOS/Android/PC） */
#tnn-header * { -webkit-tap-highlight-color: rgba(0,0,0,0); }
#tnn-header *:focus { outline: none !important; box-shadow: none !important; }

/* メニュー行（PC表示） */
#tnn-header .tnn-menu {
  display:flex; gap:16px; align-items:center;
}
#tnn-header .tnn-menu a {
  color:#222 !important; font-weight:700; text-decoration:none !important;
  padding:8px 10px; border-radius:8px; transition:opacity .15s ease;
}
#tnn-header .tnn-menu a:hover,
#tnn-header .tnn-menu a:active,
#tnn-header .tnn-menu a:focus,
#tnn-header .tnn-menu a:visited { color:#222 !important; text-decoration:none !important; }
#tnn-header .tnn-menu a[aria-current="page"] { background:#f7f3ee; }

/* ボタン体裁（お問い合わせ） */
#tnn-header .tnn-btn {
  background:#1f4b43; color:#fff !important; border-radius:999px; padding:10px 14px;
}

/* ハンバーガー（モバイル表示でのみ出す） */
#tnn-header .tnn-hamburger { display:none; }
#tnn-header .tnn-hamburger svg { stroke:#222 !important; }
#tnn-header .tnn-hamburger:active svg { transform:scale(.92); }

/* モバイル時の展開メニュー */
@media (max-width:980px){
  #tnn-header .tnn-hamburger { display:block; }
  #tnn-header .tnn-menu {
    position:absolute; top:100%; left:0; right:0;
    background:#fff; border-top:1px solid #ddd;
    display:flex; flex-direction:column; gap:0; padding:12px 0;
  }
  /* hidden 属性で完全に閉じる → 開いた時はJSで hidden を外す */
  #tnn-header .tnn-menu[hidden] { display:none !important; }
  #tnn-header .tnn-menu a { padding:12px 16px; border-radius:0; }
  #tnn-header .tnn-menu a:hover { opacity:.85; }
}

/* 予防：テーマやプラグインが青系visited色を強制しても上書き */
#tnn-header a:link,
#tnn-header a:visited,
#tnn-header a:hover,
#tnn-header a:active,
#tnn-header a:focus { color:#222 !important; }
#tnn-header .tnn-btn:link,
#tnn-header .tnn-btn:visited,
#tnn-header .tnn-btn:hover,
#tnn-header .tnn-btn:active,
#tnn-header .tnn-btn:focus { color:#fff !important; }/* End custom CSS */