/*
 Theme Name:   WPResidence Child Theme
 Theme URI:    https://themeforest.net/item/wp-residence-real-estate-wordpress-theme/7896392
 Description:  WPResidence child theme
 Author:       WpEstate
 Author URI:   http://wpestate.org
 Template:     wpresidence
 Version:      5.6.21
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/
:root {
  --wp-estate-paragraph-font-family: "Open Sans", "Noto Sans JP", sans-serif;
  --wp-estate-h1-font-family: "Open Sans", "Noto Sans JP", sans-serif;
  --bs-font-sans-serif: "Noto Sans JP", sans-serif;
  --wp-estate-main-color: #00A7DB;
  --wp-estate-font-color: #242424;
  --wp-estate-background-color: #F8F8F8;
  --wp-estate-background-color-option: #F8F8F8 !important;
  /* --wp-estate-cssbox-shadow-option: 0px 3px 10px rgba(0,0,0,.16); */
  --wp-estate-cssbox-shadow-elementor-option: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
}

@media (min-width: 1250px) {
  :root {
    --wp-estate-border-radius-corner-option: 4px !important;
  }
}

body {
  font-family: var(--Primary-JP) !important;
}
a:focus {
  color: initial;
}
a:hover {
  color: #00A7DB;
}
@media (min-width: 1200px) {
  body.home #all_wrapper .content_wrapper {
    padding-top: 110px;
  }
}

/* Utility classes */
.hvr-op80 {
  transition: opacity 0.2s ease-in-out;
}
.hvr-op80:hover {
  opacity: 0.8;
}

/* CTAバーのお問い合わせボタンをモックに合わせてテキストの隣に配置する(フッター内の全ページ共通コンポーネント) */
.elementor-element-7b27c08 {
  justify-content: flex-start !important;
}
/* メニューセクション */
.wpresidence-navigation-menu .menu-main-menu-container ul li ul, .wpresidence-navigation-menu .menu-mega-menu-updated-container ul li ul {
  -webkit-box-shadow: 0px 3px 6px 0 rgba(0,0,0,.16);
  box-shadow: 0px 3px 6px 0 rgba(0,0,0,.16);
  width: initial;
}
body.admin-bar .wpresidence_wrapper_for_header_type4 .header_wrapper_inside_type_4 {
  border-right: 1px solid #D5D5D5;
}
.mobilex-menu ul.sub-menu li.menu-item  {
  border-bottom: 1px solid #fff;
}

/* トップ検索セクション */
.elementor-element-1eabf89 .adv-search-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
}
.elementor-element-1eabf89 .adv-search-header:before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 29px;
  background: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3C/svg%3E") no-repeat center / contain;
}
.comment-form #submit {
  font-size: 13px;
  line-height: initial;
  margin-bottom: initial;
  padding: 9px 0;
  text-transform: initial;
}
.wpestate_item_list_sh::after {
  font-family: "Font Awesome 6 Pro";
  content: "\f061";
  font-size: 1rem;
  margin-left: 0.85rem;
  position: absolute;
}
.wpestate_item_list_sh {
  background: transparent !important;
  color: #242424 !important;
  border: 1px solid #242424 !important;
  border-radius: 30px !important;
  padding: 11px 50px 12px 40px !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  box-shadow: none !important;
  line-height: 1.4 !important;
  transition: all ease-in-out .2s;
}
.wpestate_item_list_sh:hover {
  opacity: .6;
}
.listinglink-wrapper_sh_listings {
  margin-top: 50px;
}

.elementor-31726 .elementor-element.elementor-element-5b78936 .property_listing:hover {
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}

.wpresidence_half_search_type_2.p-2 {
  height: 111px;
  display: flex;
  align-items: center;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.16);
}
body.half_map_body #adv-search-1 {
  position: sticky;
  top: 0;
  z-index: 40;
}
@media (min-width: 1600px) {
  body.half_map_body #adv-search-1 {
    position: absolute;
    top: -111px;
    z-index: 99999;
    width: calc(100% - 520px) !important;
    box-shadow: inherit;
    transition: all .75s ease-in-out;
  }
  body.half_map_body #adv-search-1.sticked {
    position: sticky;
    top: 0;
    width: 100% !important;
  }
}
/* ===== Responsive fixes (page-wide) - widget 9fcad5b ===== */
.elementor-element-9fcad5b {
  display: none !important;
  min-height: 0 !important;
}

/* --- Tile grid (RENT/BUY/SELL/LEASE) 08fac2f --- */
@media (max-width: 1024px) {
.elementor-element-08fac2f {
  justify-content: flex-start !important;
  row-gap: 32px !important;
  column-gap: 40px !important;
}
}

@media (max-width: 767px) {
.elementor-element-08fac2f {
  flex-direction: column !important;
  align-items: flex-start !important;
}
.elementor-element-08fac2f > .e-con-inner {
  flex-direction: column !important;
}
}

/* Hide WPResidence floating compare tray on tablet/mobile to prevent horizontal overflow */
@media (max-width: 1024px) {
.prop-compare {
  display: none !important;
}
}

/* STARTS company intro + NY area guide cards: stack vertically on mobile */
@media (max-width: 767px) {
.elementor-element-1aa21e5 {
  flex-direction: column !important;
}
.elementor-element-1aa21e5 > .e-con-inner {
  flex-direction: column !important;
}
}

/* Tab section (駐在員の方へ / サービスアパートメント / 物件購入をご検討の方へ) content rows: stack text+image vertically on mobile */
@media (max-width: 767px) {
.elementor-element-0d1a464, .elementor-element-c9daa49, .elementor-element-2ef1849 {
  flex-direction: column !important;
}
.elementor-element-0d1a464 > .e-con-inner, .elementor-element-c9daa49 > .e-con-inner, .elementor-element-2ef1849 > .e-con-inner {
  flex-direction: column !important;
}
.elementor-element-0d1a464 > *, .elementor-element-c9daa49 > *, .elementor-element-2ef1849 > * {
  width: 100% !important;
  flex-basis: auto !important;
}
.elementor-element-0d1a464 img, .elementor-element-c9daa49 img, .elementor-element-2ef1849 img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
}
}

/* Tile grid groups (借りる/買う/売る/貸す): each group must fill full row width on mobile so inner icon columns have room and don't wrap character-by-character */
@media (max-width: 767px) {
.elementor-element-fff5c87, .elementor-element-12b6e99, .elementor-element-5957eef {
  width: 100% !important;
  flex: 0 0 100% !important;
}
}

/* トップレンタル物件セクション */
.elementor-element-864bd2c, .elementor-element-df67150, .elementor-element-e336a9c {
  display: none !important;
  min-height: 0 !important;
}
.elementor-element-5b78936 .control_tax_sh {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 16px 8px !important;
  margin: 0 !important;
  min-width: 168px !important;
  text-align: center !important;
  font-size: 15px !important;
  color: #AFAFAF !important;
  border-bottom: 2px solid #D5D5D5 !important;
  font-weight: 500 !important;
}
.elementor-element-5b78936 .control_tax_sh i.fa-star, .elementor-element-5b78936 .control_tax_sh svg {
  display: none !important;
}
.elementor-element-5b78936 .control_tax_sh:hover {
  background: transparent !important;
  color: #00A7DB !important;
}
.elementor-element-5b78936 .control_tax_sh.tax_active {
  color: #242424 !important;
  border-bottom: 4px solid #00A7DB !important;
}
.elementor-element-5b78936 .listinglink-wrapper_sh_listings .wpresidence_button.wpestate_item_list_sh {
  background: transparent !important;
  color: #242424 !important;
  border: 1px solid #242424 !important;
  border-radius: 30px !important;
  padding: 11px 50px 12px 40px !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  box-shadow: none !important;
  line-height: 1.4 !important;
  transition: all ease-in-out .2s;
}
.elementor-element-5b78936 .listinglink-wrapper_sh_listings .wpresidence_button.wpestate_item_list_sh:hover {
  opacity: .6;
}
.elementor-element-5b78936 .listinglink-wrapper_sh_listings .wpresidence_button.wpestate_item_list_sh::after {
  font-family: "Font Awesome 6 Pro";
  content: "\f061";
  font-size: 1rem;
  margin-left: 0.85rem;
  position: absolute;
}
@media (max-width: 767px) {
  .elementor-element.elementor-element-5b78936 .items_shortcode_wrapper_grid {
    padding: 3px;
  }
  .elementor-element-5b78936 .control_tax_wrapper {
    left: auto !important;
    top: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }
  .elementor-element-5b78936 .control_tax_sh {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
}
/* トップ購入物件セクション */
.property_listing .property-unit-information-wrapper .listing_unit_price_wrapper, .property_listing .property-unit-information-wrapper .h4, .property_listing .property-unit-information-wrapper h4 {
  font-family: "Open Sans", "Noto Sans JP", Sans-serif;
  font-weight: 700;
}
.property_listing .property-unit-information-wrapper .listing_unit_price_wrapper {
  color: #004B8D;
  line-height: 18px;
}
.property_listing .property-unit-information-wrapper .h4, .property_listing .property-unit-information-wrapper h4 {
  color: #242424;
  font-size: 17px;
}
.property_listing .property-unit-information-wrapper .listing_details {
  font-size: 13px;
}
.property_listing_details_v2 > div, .property_listing_details_v2 > span {
  font-family: "Open Sans", "Noto Sans JP", Sans-serif;
  color: #242424;
  font-size: 14px;
  font-weight: 600;
}
.featured_div {
  background-color: #00A7DB;
  border-radius: 4px;
  padding: 0 5px 1px;
  font-weight: 500;
  float: none;
  margin-bottom: initial;
  max-width: initial;
  position: initial;
  display: inline-flex;
}
.wpestate_grid_view_wrapper .listinglink-wrapper_sh_listings {
  margin-top: 30px;
}
.property_listing {
  border: none;
}
.property_listing .action_tag_wrapper {
  background-color: #00A7DB;
  border-radius: 4px;
  padding: 0 5px 1px;
  font-weight: 500;
  float: none;
  margin-bottom: initial;
  position: initial;
  display: inline-flex;
}
.items_shortcode_wrapper_grid {
  overflow: hidden;
}
.elementor-element-90487c2, .elementor-element-df67150, .elementor-element-e336a9c, .elementor-element-864bd2c {
  display: none !important;
  min-height: 0 !important;
}
.elementor-element-41d4028 .control_tax_sh {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 16px 8px !important;
  margin: 0 !important;
  min-width: 160px !important;
  text-align: center !important;
  font-size: 15px !important;
  color: #AFAFAF !important;
  border-bottom: 2px solid #555555 !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}
.elementor-element-41d4028 .control_tax_sh:hover {
  background: transparent !important;
  color: #FFFFFF !important;
}
.elementor-element-41d4028 .control_tax_sh.tax_active {
  color: #FFFFFF !important;
  border-bottom: 4px solid #00A7DB !important;
  background: transparent !important;
}
.elementor-element-41d4028 .listinglink-wrapper_sh_listings .wpestate_item_list_sh {
  background: transparent !important;
  color: #FFFFFF !important;
  border: 1px solid #FFFFFF !important;
  border-radius: 30px !important;
  padding: 11px 50px 12px 40px !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  box-shadow: none !important;
  line-height: 1.4 !important;
  transition: all ease-in-out .2s;
}
.elementor-element-41d4028 .listinglink-wrapper_sh_listings .wpestate_item_list_sh:hover {
  opacity: .6;
}
.elementor-element-41d4028 .listinglink-wrapper_sh_listings .wpestate_item_list_sh::after {
  font-family: "Font Awesome 6 Pro";
  content: "\f061";
  font-size: 1rem;
  margin-left: 0.85rem;
  position: absolute;
}
@media (min-width: 768px) {
  .property_listing {
    max-width: 386px;
  }
  .items_shortcode_wrapper_grid {
    min-height: 535px;
  }
}
@media (max-width: 767px) {
  .elementor-element.elementor-element-41d4028 .items_shortcode_wrapper_grid {
    padding: 3px;
  }
  .elementor-element-41d4028 .control_tax_wrapper {
    left: auto !important;
    top: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }
  .elementor-element-41d4028 .control_tax_sh {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
}
.property_listing_details_v2 {
column-gap: 20px;
}
.property_location {
border-top: 1px solid #e6e6e6;
}
.share_list {
border: 1px solid #e6e6e6;
}

/* トップブログセクション */
.blog4v .sny_meta_flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #242424;
  font-size: 14px;
  padding-bottom: 2px;
  border-bottom: 1px solid #707070;
}
.blog4v .sny_meta_date {
  font-family: "Open Sans", sans-serif;
  text-align: left;
  color: #242424;
}
.blog4v .sny_meta_category {
  text-align: right;
  color: #242424;
}
.wpestate_column_content .blog4v .property_listing_blog .blog_unit_image img,
.elementor-widget-container .blog4v .property_listing_blog .blog_unit_image img {
  height: 100%;
  /* width: auto; */
}
.wpestate_column_content .blog4v .property_listing_blog .blog_unit_image,
.elementor-widget-container .blog4v .property_listing_blog .blog_unit_image {
  margin-bottom: 26px;
  aspect-ratio: 76/51;
}
.elementor-widget-container .blog4v .property_listing_blog .listing_details.the_grid_view {
  min-height: 72px;
}
.blog4v .sny_blog_readmore {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 400;
  color: #242424;
  text-decoration: none;
}
.blog4v .sny_blog_readmore span {
  margin-left: 4px;
  transition: margin-left 0.15s ease;
}
.blog4v .sny_blog_readmore:hover {
  color: #00A7DB;
}
.blog4v .sny_blog_readmore:hover span {
  margin-left: 7px;
}
.slider_container .shortcode_slider_wrapper {
  margin: 50px auto 0;
}
.sny_news_list_link, .sny_news_more_btn {
  position: relative;
  background-color: initial;
  display: inline-flex;
  align-items: center;
  padding: 11px 50px 12px 40px;
  border: 1.5px solid #242424;
  border-radius: 30px;
  text-decoration: none;
  color: #242424;
  font-size: 16px;
  transition: .2s ease;
}
.sny_news_list_link:hover,
.sny_news_more_btn:hover {
  background-color: #242424;
  color: #fff;
  opacity: 0.7;
}
.sny_news_list_link::after,
.sny_news_more_btn::after {
  font-family: "Font Awesome 6 Pro";
  content: "\f061";
  font-size: 1rem;
  margin-left: 0.85rem;
  position: absolute;
  right: 1.5rem;
}
.sny_news_more_wrap {
    text-align: center;
    margin: 40px auto 60px;
}
.sny_news_more_btn {
  display: none;
}
 .blog4v .property_listing_blog h4 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
 }
 .blog4v .property_listing_blog .listing_details.the_grid_view {
  font-size: 15px;
  font-weight: 400;
}
.sny_news_tabs_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.sny_news_tab {
  display: inline-block;
  padding: 5px 24px;
  border-radius: 8px;
  border: 1px solid #ababab;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sny_news_tab:hover {
  border-color: #00A7DB;
}
.sny_news_tab.sny_news_tab_active {
  background: #00A7DB;
  border-color: #00A7DB;
  color: #ffffff;
}
.listing_wrapper.blog4v {
margin-bottom: 40px;
}
.wpestate_column_content .entry-title.title_prop {
/* font-size: 40px; */
font-weight: 500;
margin-bottom: 50px;
}
.arrow_class_sideways button.slick-next.slick-arrow, .arrow_class_sideways button.slick-prev.slick-arrow, .slider_container button.slick-next.slick-arrow, .slider_container button.slick-prev.slick-arrow {
border-radius: 4px;
/* height: 48px;
width: 48px; */
}
.arrow_class_sideways button.slick-next.slick-arrow::before, .arrow_class_sideways button.slick-prev.slick-arrow::before, .slider_container button.slick-next.slick-arrow::before, .slider_container button.slick-prev.slick-arrow::before {
font-size: 20px;
}
.arrow_class_sideways button.slick-prev.slick-arrow::before, .slider_container button.slick-prev.slick-arrow::before {
content: "\f104";
}
.arrow_class_sideways button.slick-next.slick-arrow::before, .slider_container button.slick-next.slick-arrow::before {
content: "\f105";
}

/* 物件情報 */
.entry-title.title_prop.half_results {
  font-weight: 700;
}
.property_listing .property-unit-information-wrapper .wpresidence_card_composer_wrapper_align_left h4 {
  font-size: 18px;
  font-weight: 600;
}
.listing_wrapper .property_listing:hover, .property_listing:hover {
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}
.tag-wrapper {
padding: 10px 15px 0 !important;
text-align: right;
}
.status-wrapper {
display: inline-flex;
gap: 10px;
margin-left: 10px;
position: initial;
}
@media (min-width: 1250.98px) and (max-width: 1650px) {
  .listing_wrapper.col-md-12 .listing-unit-img-wrapper {
    max-width: 48% !important;
  }
}
@media (min-width: 768.98px) and (max-width: 1250px) {
  .listing_wrapper.col-md-12 .listing-unit-img-wrapper img {
    height: auto;
    width: 100%;
    max-width: initial;
    aspect-ratio: initial;
  }
  .listing_wrapper.col-md-12 .listing-unit-img-wrapper {
    border-bottom-left-radius: 0px;
    border-top-right-radius: 8px;
  }
  .listing_wrapper.col-md-12 > .property_listing .carousel-inner {
    max-width: initial;
    width: 108%;
  }
}
@media (min-width: 768px) {
#google_map_prop_list_wrapper.col-md-6 {
  width: 48%;
}
#google_map_prop_list_sidebar.col-md-6 {
  width: 52%;
  padding: 1rem 1.5rem 1rem 1rem;
}
}
@media (min-width: 1025px) {
.bottom-articles .slick-dots {
  display: none;
}
}
@media (max-width: 575px) { 
  .listing_wrapper.col-md-12 .listing-unit-img-wrapper {
    border-bottom-left-radius: 0px;
    border-top-right-radius: 8px;
  }
}
/* 物件詳細 */
.property-panel .accordion-header .accordion-button,
.property-panel .panel-title {
  font-size: 16px;
  font-weight: bold;
}
.wpestate_property_carousel .carousel-indicators.carousel-indicators-classic {
  height: auto;
}
.overview_element.overview_element_type3 {
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.elementor-widget .single-overview-section, .property-page-overview-details-wrapper {
  justify-content: space-evenly !important;
}
.single-content p {
  margin-bottom: 16px;
}
.front_plan_row {
  background-color: #f6f6f6;
  padding: 15px 20px;
}
.single-estate_property .listing_detail {
  padding: 0 15px 15px 0;
}
.single-estate_property .listing_detail strong {
  font-weight: 700;
  margin-right: 5px;
}
.single_property_labels .property_title_label {
  padding: 0px 7px 3px;
  border-radius: 4px;
  line-height: 1.4;
}
.accordion.property-panel .acc_google_maps {
/* background-color: #6ac17e;*/
background-color: #00A7DB;
font-size: 14px;
line-height: 1.4;
padding: 2px 8px 4px;
border-radius: 4px;
font-weight: 500;
transition: opacity 0.3s ease;
}
.accordion.property-panel .acc_google_maps:hover {
  opacity: 0.7;
}
/* エリア案内(property_area)ページで、ヘッダーのパンくずと重複するArea Template内のTerm Breadcrumbsウィジェットを非表示にする */
.elementor-element-1c7bdb2 {
  display: none !important;
}
/* Property detail page: contact form section heading (matches XD mock) */
.single-estate_property #show_contact {
  display: block !important;
  font-size: 18px;
  font-weight: 700;
  color: #242424;
  margin: 0 0 20px 0;
}
.single-estate_property .wpestate_single_agent_details_header_wrapper {
  display: block !important;
}
body.single-estate_property .wpresidence-content-container-wrapper {
  width: 100% !important;
  max-width: 1570px !important;
}
/* SNY: /news/ page (blog_list template) had much wider left/right margins
   than the property detail page. Match the same 1570px max-width so the
   content column lines up with the property detail page's margin width. */
body.page-template-blog_list .wpresidence_page_content_wrapper {
  width: 100% !important;
  max-width: 1570px !important;
}
/* SNY: /news/ page content area had a light gray background (from the
   theme's content background color option). Make it white on this page. */
body.page-template-blog_list .wpresidence_page_content_wrapper {
  background-color: #fff !important;
}
/* SNY: Blog single post detail pages (e.g. /sample-article/) had much wider
   left/right margins than /news/ and the property detail page. Match the
   same 1570px max-width so the margins line up across all three. */
body.single-post .wpresidence-content-container-wrapper {
  width: 100% !important;
  max-width: 1570px !important;
}
/* SNY: Blog single post detail pages had the same light gray content
   background as /news/ originally did. Make it white to match. */
body.single-post .wpresidence-content-container-wrapper {
  background-color: #fff !important;
}
/* SNY: Blog category archive pages (e.g. /category/ny-real-estate/) had the
   same wide left/right margins as /news/ originally did. Match the same
   1570px max-width so the margins line up with /news/. */
body.category .wpresidence_page_content_wrapper {
  width: 100% !important;
  max-width: 1570px !important;
}
/* SNY: Category archive pages had the same light gray content background
   as /news/ originally did. Make it white to match. */
body.category .wpresidence_page_content_wrapper {
  background-color: #fff !important;
}
/* Property detail page: Short Description (excerpt) panel - match the white
   background of the adjacent 物件説明 panel, and remove the chevron-up icon
   that is only meant for collapsible accordion sections. */
.wpestate_property_short_description.property-panel {
  background-color: #ffffff;
  padding: 30px;
}
.wpestate_property_short_description .panel-body {
  padding: 0 !important;
}
.wpestate_property_short_description .panel-title::after {
  content: '' !important;
  display: none !important;
}
/* Area-guide left sidebar submenu: the top-level ニューヨークエリア/ニュージャージーエリア
   accordion headers should read as plain black bold text by default (per
   the Adobe XD mock), and only switch to the white-on-blue "active"
   treatment when the user is actually on that top-level area page itself
   (/new-york-area/ or /new-jersey-area/, i.e. li.current-menu-item on this
   exact item). Previously the blue highlight also fired for
   current-menu-ancestor/current-menu-parent, which made it turn blue on
   every neighborhood subpage (e.g. /property_area/chelsea/) even though
   the neighborhood item below it is now the one showing the active state
   (see the sny-accordion-item.current-menu-item rule added separately for
   individual neighborhoods). */
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li.nav-ico-area ul.sub-menu > li.sny-accordion-item > a.menu-item-link {
  /* Restores the readable default text color/transparent background,
       overriding a theme rule (li:hover > a { color:#fff }) that otherwise
       turns this header white whenever a nested neighborhood link inside
       it is hovered (hovering a descendant also matches li:hover on this
       ancestor, even though this header's own link isn't the thing being
       pointed at). */
  color: rgb(34, 34, 34) !important;
  background-color: transparent !important;
  font-weight: 700 !important;
  transition: none !important;
  transform: none !important;
}
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li.nav-ico-area ul.sub-menu > li.sny-accordion-item > a.menu-item-link:hover, .wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li.nav-ico-area ul.sub-menu > li.sny-accordion-item.current-menu-item > a.menu-item-link {
  color: #ffffff !important;
  background-color: rgb(42, 169, 219) !important;
  transition: none !important;
  transform: none !important;
}
/* The theme's own generic submenu hover effect nudges the link 10px to the
   right on hover (transform: matrix(1,0,0,1,10,0) from a rule matching
   "ul li ul li:hover > a"). That rule also fires via :hover ancestor-
   bubbling when a nested neighborhood link is hovered, not just on a
   direct hover of the area header itself. Cancel it in both cases above
   so ニューヨークエリア/ニュージャージーエリア never shift position.

   Also remove the small custom open/close triangle icon
   (.sny-area-toggle-icon, added in an earlier task) next to the area
   name; it is no longer wanted and duplicated the theme's own arrow. */
.sny-area-toggle-icon {
  display: none !important;
}
/* The parent theme hides ALL left-menu flyout submenus whenever the
   footer (#Footer_V1) is hovered anywhere within it:
     body:has(#Footer_V1:hover) .wpresidence-navigation-menu ul.sub-menu { display: none !important; }
   The CTA banner ("ニューヨーク物件にご興味のある方は...") lives inside
   that same footer wrapper, so hovering it (or anything below it) made
   the persistently-open エリア案内/目的別サービス/English flyout vanish
   entirely, even though sny_permanent_submenu_script() keeps forcing it
   open via opacity/visibility/etc. That script never forced the
   `display` property itself, so the parent's display:none always won.
   Re-assert display:block for exactly the flyouts that are meant to stay
   permanently open, with higher selector specificity so this wins over
   the parent rule regardless of load order. The flyout's own fixed
   height keeps it from ever actually overlapping the footer, so there is
   no visual downside to keeping it visible here. */
body:has(#Footer_V1:hover) .wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li.nav-ico-area ul.sub-menu, body:has(#Footer_V1:hover) .wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li.nav-ico-service ul.sub-menu, body:has(#Footer_V1:hover) .wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li.nav-ico-flag ul.sub-menu {
  display: block !important;
}
/* Update 5.6.12: the エリア案内 header (li.nav-ico-area) also contains a
   NESTED ul.sub-menu per neighborhood group (ニューヨークエリア/
   ニュージャージーエリア accordions). The parent theme's hide rule above
   matches ul.sub-menu at ANY depth (plain descendant selector), so the
   5.6.11 fix (using a direct-child ">" selector) only kept the outer
   list open and still let the nested neighborhood links collapse when
   hovering the CTA/footer. Switched ">" to a descendant selector so both
   the outer and nested sub-menus are covered. */
/* On every page load, the header logo starts out in its raw HTML
   position: as the FIRST child inside .header_wrapper_inside_type_4,
   which is the fixed left icon sidebar itself. A wp_footer script
   (sny_move_logo_to_topbar) waits for DOMContentLoaded and then moves
   (insertBefore) that same logo element into .right-top-widet in the top
   bar. Since that move happens after the browser's first paint, the logo
   visibly flashes at the top of the sidebar for a moment before jumping
   to its real destination. Hide it at its original, in-sidebar position
   only; once sny_move_logo_to_topbar relocates it out of
   .header_wrapper_inside_type_4, this rule no longer applies and it
   displays normally in the top bar with no flash. */
.header_wrapper_inside_type_4 > .logo.exclude-rtl {
  display: none !important;
}
/* 物件詳細ページ上部の「$xxx per sqft」(1平方フィートあたりの価格)表示は
   不要なため非表示にする。$100,000等の通常価格(price_area内の別要素)には
   影響しない。 */
.second_price_area {
  display: none !important;
}
/* SNY 2026-08: 上記のCSSのみによる対策(:hoverセレクタで他項目ホバー中は
   Englishサブメニューをdisplay:noneにする)は撤去。目的別サービス/エリア案内を
   クリックで開いた後もこのCSSが単純な:hover判定で反応し、Englishサブメニューを
   問答無用でdisplay:noneにしてしまい、クリックモードのJS側(sny_permanent_submenu_script
   のshowPermanent/anyOtherPanelOpenViaClick)が正しく制御していても、CSSの
   !important指定が勝ってサブメニューが消えて見える不具合の直接の原因になっていた。
   現在はfunctions.php側のJSが、実際に他の項目のサブメニューが表示中(クリックまたは
   ホバーモードのopenThis()経由)かどうかをinline styleで判定し、必要な場合だけ
   Englishサブメニューのz-indexを下げる方式に統一されているため、このCSSは不要かつ
   有害(単純ホバーだけで消してしまう)なので削除した。 */
/* トップページ「おすすめの購入物件」見出しがElementorコンテナのjustify-content:center設定により
   中央寄せになっていた不具合。Adobe XDモックおよび「おすすめのレンタル物件」見出しに合わせ、
   左寄せに変更する。 */
.elementor-31726 .elementor-element.elementor-element-1999797 {
  --justify-content: flex-start !important;
  --align-items: flex-start !important;
}
/* SNY: エリア案内タクソノミーページ(/property_area/)の物件カードで、 share/compareアイコン(.listing_actions)がカード左側に表示されてしまう不具合を修正。 .property_locationがdisplay:flexだが子要素が.listing_actionsのみのため、 space-betweenが効かずカード左端に寄っていた。他ページと同様、右寄せにする。 */ 
.tax-property_area .listing_actions {
  margin-left: auto !important;
}
/* SNY: トップページの物件カード(おすすめ物件など)で、
   share/compareアイコン(.listing_actions)がカード左側に表示されてしまう不具合を修正。
   .property_locationがdisplay:flexだが子要素が.listing_actionsのみの場合、
   space-betweenが効かずカード左端に寄っていた。他ページと同様、右寄せにする。 */
.home .listing_actions {
  margin-left: auto !important;
}
/* SNY: 検索結果ページ(/property-list/)の物件カードで、
   share/compareアイコン(.listing_actions)がカード左側に表示されてしまう不具合を修正。
   .property_locationがdisplay:flexだが子要素が.listing_actionsのみの場合、
   space-betweenが効かずカード左端に寄っていた。他ページと同様、右寄せにする。 */
.page-template-advanced_search_results .listing_actions {
  margin-left: auto !important;
}
/* SNY: /featured-properties/ ページの物件カードで、
   share/compareアイコン(.listing_actions)が上記と同じ原因(.property_locationの子要素が
   .listing_actionsのみのためspace-betweenが効かない)でカード左側に寄っていたのを、
   他ページと同様カード右端に寄せる。 */
body.page-id-35846 .listing_actions {
  margin-left: auto !important;
}
/* SNY: property_areaアーカイブページ(例: /property_area/upper-west/)の物件カードで、
   share/compareアイコン(.listing_actions)が上記と同じ原因(.property_locationの子要素が
   .listing_actionsのみのためspace-betweenが効かない)でカード左側に寄っていたのを、
   他ページと同様カード右端に寄せる。 */
body.tax-property_area .listing_actions {
  margin-left: auto !important;
}
/* SNY: 物件詳細ページ(例: /property/mima1-bedroom-type/)下部の「類似物件」カードで、
   share/compareアイコン(.listing_actions)が上記と同じ原因(.property_locationの子要素が
   .listing_actionsのみのためspace-betweenが効かない)でカード左側に寄っていたのを、
   他ページと同様カード右端に寄せる。single-estate_propertyは物件詳細ページ全般に付く
   bodyクラスなので、個別ページIDではなくこちらでまとめて対応する。 */
body.single-estate_property .listing_actions {
  margin-left: auto !important;
}
/* SNY: property_areaアーカイブページの物件一覧で、ページング(ページネーション)を
   一時的に非表示にする。後で再表示する可能性があるため、要素の削除ではなく
   display:noneでの非表示にとどめる。 */
body.tax-property_area .pagination.pagination_ajax {
  display: none !important;
}
/* SNY: ブログ記事のコメント欄で、下記3つの文字列を非表示にする。
   1. 「Logged in as ...。 Edit your profile。 Log out?」(ログイン中の管理者/投稿者に
      表示される行)
   2. 「Required fields are marked *」(必須項目の案内文。ログイン中はp.logged-in-as
      の中にネストされ、非ログイン時はp.comment-notes内の.required-field-message
      として出るため、クラス単体で指定して両方のケースをカバーする)
   3. 「One thought on "記事名"」(コメント数見出し。コメント投稿フォーム自体の見出し
      h3.comment-reply-titleは残したいので、#comments の直下の h3 のみを対象にする)
   あとで再表示したくなった場合は、このブロックを削除するかコメントアウトすれば
   元の表示に戻る。 */
p.logged-in-as, .required-field-message, #comments > h3 {
  display: none !important;
}
/* SNY: ブログ記事の投稿ページで、カテゴリーが「Uncategorized」の場合のみ、
   メタ情報内のカテゴリーアイコン+文字(.meta-element)を非表示にする。
   ブログ一覧カード側のカテゴリー表示(sny_meta_category)も同様にUncategorized
   の場合は非表示にしているため(既存対応済)、単体記事ページのメタ行でも
   同じ挙動に統一する。Uncategorized以外のカテゴリー(NY生活情報など)の
   メタ要素はこのセレクタに一致しないため、通常通り表示され続ける。 */
.meta-element:has(a[href="https://startsnewyork.kinsta.cloud/category/uncategorized/"]) {
  display: none !important;
}

@media (min-width: 992px) {
  body.post-template-default #primary {
    width: initial;
  }
}
body.post-template-default #primary { /*, .wpestate_column_content */
  width: initial;
}
.wpestate_sidebar_sticky {
  top: 20px;
}
body.archive .search_wrapper {
  margin-bottom: 10px;
}
body.archive div.wpresidence_page_content_wrapper {
  background-color: initial !important;
}
.property_listing_blog .blog_unit_image {
  aspect-ratio: 525 / 340;
}
/* img.size-full, img.size-large, img.wp-post-image {
  object-position: center center;
  object-fit: cover;
  position: absolute;
}
img.size-full, img.size-large, img.wp-post-image {
  max-width: 100%;
  width: 100%;
  height: 100%;
} */
/* SNY: カテゴリーアーカイブページ(例: /category/uncategorized/ など、すべての
   カテゴリーページ共通)では、Advanced Search欄と右サイドバーを常に非表示に
   する。WordPressがカテゴリーアーカイブに自動付与するbody.categoryクラスを
   使って範囲を絞っているため、単体記事ページや他のアーカイブには影響しない。
   サイドバーを消した分、メインコンテンツ列(col-lg-8)を全幅に広げる。 */
body.category .search_wrapper {
  display: none !important;
}
body.category .widget-area-sidebar {
  display: none !important;
}
body.category .wpresidence_page_content_wrapper > .col-lg-8 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}
/* SNY: /property-list/ など、コアのwp-includes/css/dist/block-library/style.min.css
   が読み込まれないカスタムテンプレートのページでは、パンくず(.wp-block-breadcrumbs)が
   横並びにならず「Home」「ページ名」が縦に積み重なって崩れて見える不具合があった。
   原因はブロックエディタの標準CSS(ol/liをdisplay:flexにする等)が読み込まれていない
   ことなので、そのルールをそのままこちらにも記述し、どのページでも同じ見た目になる
   ようにする。 */
.wp-block-breadcrumbs {
  box-sizing: border-box;
}
.wp-block-breadcrumbs ol {
  flex-wrap: wrap;
  list-style: none;
}
.wp-block-breadcrumbs li, .wp-block-breadcrumbs ol {
  align-items: center;
  display: flex;
  margin: 0;
  padding: 0;
}
.wp-block-breadcrumbs li:not(:last-child):after {
  content: var(--separator, "/") / "";
  margin: 0 .5em;
  opacity: .7;
}
.wp-block-breadcrumbs span {
  color: inherit;
}
/* SNY: /property-list/ (half_map_body) のソート(並び替え)ドロップダウンから
   「Newest Edited」「Oldest Edited」を一時的に非表示にする。
   将来的に再度表示する可能性があるため、選択肢自体は削除せずCSSで隠すだけに
   とどめている。再表示したい場合はこのルールを削除すればよい。
   data-value="11" が Newest Edited、"12" が Oldest Edited に対応する
   (WPResidenceコアのソートドロップダウンの内部値)。 */
body.half_map_body ul.dropdown-menu.filter_menu li[data-value="11"], body.half_map_body ul.dropdown-menu.filter_menu li[data-value="12"] {
  display: none !important;
}
/* SNY: /property-list/ の見出しをJS(functions.php内のwp_footerフック)で
   「物件情報 (35)」から「35 件の物件」へ書き換えているが、そのJSが実行される
   までのごく短い間、元の「物件情報 (35)」が一瞬表示されてしまう(ちらつき)。
   これを防ぐため、書き換え完了の目印である .half_results クラスが付くまでは
   見出しを非表示にしておき、JSがテキストを直してクラスを付けた瞬間に表示する。 */
body.half_map_body.page-id-37666 h1.entry-title.title_prop:not(.half_results) {
  visibility: hidden;
}
/* SNY: 物件詳細ページ(/property/xxx/)のパンくずをJS(functions.php内の
   wp_footerフック)で「Home / Properties / カテゴリー名 / 物件名」から
   「Home / 物件情報 / 物件名」へ書き換えているが、そのJSが実行されるまでの
   ごく短い間、書き換え前のパンくずが一瞬表示されてしまう(ちらつき)。
   これを防ぐため、書き換え完了の目印である .sny_fixed クラスが付くまでは
   パンくずを非表示にしておき、JSが書き換えてクラスを付けた瞬間に表示する。 */
body.single-estate_property .wp-block-breadcrumbs:not(.sny_fixed) {
  visibility: hidden;
}
/* SNY: マップのマーカーは、通常時が赤いピン(家アイコン、css-images/single.png、
   44x48px)、右の物件一覧にマウスオーバーした際にフォーカスされるマーカーが
   灰色の丸(css-images/hover.png、66x72px)で、後者だけ一回り大きく表示されて
   いた。灰色マーカーの画像サイズを赤ピンと同じ44x48pxに揃える。 */
img[src*="css-images/hover.png"] {
  width: 44px !important;
  height: 48px !important;
}
/* SNY: /property-list/ で物件カードにマウスオーバーした際、マップ上に表示される
   物件情報ポップアップ(価格・間取り等)が、グレーのホバーマーカー(アイコン)に
   重なって隠してしまっていた。ポップアップ全体を上方向にずらし、マーカーの
   真上に隙間ができる位置に表示することで、マーカーが隠れないようにする。 */
body.half_map_body .mybox {
  transform: translateY(-30px) !important;
}
/* SNY: マップのマーカーにマウスオーバーした際に表示される物件情報ポップアップにも、
   物件一覧の他のカードと同様に価格(Price)本体は表示しない方針を適用する。ただし
   他のカードと同様、価格の代わりに入力されている「After Price Label」(価格帯や
   参考価格などの補足テキスト、.infocurクラスの2つ目の要素)は表示を維持したい。
   価格本体は.infocurで囲まれていない素のテキストノードのため、要素をCSSで直接
   非表示にはできない。そこでfont-size:0で親要素の文字をすべて見えなくし、
   After Price Labelのspanだけfont-sizeを元に戻すことで、価格本体だけを隠す。 */
/* SNY (2026-11-13): 物件一覧カードで価格が表示される方針に変わったため、
   /property-list/ のマップポップアップでも価格を表示する。以下の非表示ルールは無効化。
body.half_map_body .mybox .prop_pricex {
  font-size: 0 !important;
}
body.half_map_body .mybox .prop_pricex .infocur:not(.infocur_first) {
  font-size: 14px !important;
}
*/
/* SNY: 物件詳細ページ(/property/xxx/)内のマップにも同じ構造の物件情報ポップアップ
   (.mybox .prop_pricex)が表示される。/property-list/ と同様に、価格本体は表示せず
   After Price Label(参考価格などの補足テキスト、.infocurクラスの2つ目の要素)だけ
   表示を維持する。 */
/* SNY (2026-11-13): /property-list/ と同様、物件詳細ページのマップポップアップでも価格を表示する。
   以下の非表示ルールは無効化。
body.single-estate_property .mybox .prop_pricex {
  font-size: 0 !important;
}
body.single-estate_property .mybox .prop_pricex .infocur:not(.infocur_first) {
  font-size: 14px !important;
}
*/
/* SNY: 物件カードの価格を非表示にした際、代わりに表示され続けるAfter Price Label
   (.price_labelスパン)の文字サイズが、テーマのカードレイアウト(property_unit_type3/
   type5、スライダー等)ごとに元のPriceよりも小さく設定されていた。レイアウトごとに
   個別の値を指定する代わりに font-size: inherit を指定し、Price本体が入っていた
   親要素(.listing_unit_price_wrapper等)の文字サイズをそのまま引き継ぐようにすることで、
   どのカードレイアウトでも自動的にPriceと同じ大きさになるようにする。 */
.price_label {
  font-size: inherit !important;
}
/* SNY: 物件詳細ページの物件情報テーブルに表示される「価格下限」「価格上限」
   (property_price_min / property_price_max)の項目は非表示にしたい。
   compare-listingsページにも同名クラスの行が存在するため、single-estate_property
   の物件詳細ページに限定して非表示にする。 */
body.single-estate_property .listing_detail.property_price_min, body.single-estate_property .listing_detail.property_price_max {
  display: none !important;
}
/* SNY: /property_area/upper-east/ 等のエリア詳細ページで、左サイドバー(注入された
   デスクトップ用メニュークローン)の「エリア案内」→「ニューヨークエリア」等の
   サブメニューを開くと、親カテゴリの項目(例:ニューヨークエリア。li.sny-accordion-item
   .current-menu-parent)だけが常に青くハイライトされ、実際に閲覧中の個別エリア
   (例:アッパー・イースト。孫階層のli.current-menu-item)には色が付かず、
   どのエリアを見ているのか分かりにくい問題があった。上記の親項目用ルールと同じ
   配色(白文字+青背景)を、現在地の個別エリア項目にも適用する。 */
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li.nav-ico-area ul.sub-menu li.sny-accordion-item ul.sub-menu > li.current-menu-item > a.menu-item-link {
  color: rgb(255, 255, 255) !important;
  background-color: rgb(42, 169, 219) !important;
  transition: none !important;
  transform: none !important;
}
/* SNY: property_areaアーカイブページ(例: /property_area/upper-west/)の物件カードでも、
   他ページ(for-expatriates/buy-property/トップページ等)と同様にPrice本体は表示せず、
   After Price Label(.price_labelスパン、例:「per month」)だけ表示を維持する。
   このページの物件カードはテーマ標準のTerm_List_Propertiesウィジェットで出力されており、
   他ページと違いPHPテンプレート側で価格出力を省略できないため、マップ情報ポップアップ
   (.mybox .prop_pricex)と同じ手法(親をfont-size:0にして、.price_labelだけ元のサイズに
   戻す)で価格の数字だけを見えなくする。 */
body.tax-property_area .listing_unit_price_wrapper {
  font-size: 0 !important;
}
body.tax-property_area .listing_unit_price_wrapper .price_label {
  font-size: 17px !important;
}
/* SNY: /new-york-area/ の各エリアカードにある「このエリアの物件を見る →」リンクを
   モック(Adobe XD)のデザインに合わせて改修する。テキストを「もっと詳しく →」に変更し、
   単なるテキストリンクではなく、細い枠線のピル型(全角丸)ボタンの見た目にする。 */
a.ny-area-list-item-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border: 1px solid #d5d5d5;
  border-radius: 999px;
  background-color: #fff;
  color: #333333;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
a.ny-area-list-item-link:hover {
  background-color: #f5f5f5;
  border-color: #b5b5b5;
  color: #333333;
  text-decoration: none;
}
a.ny-area-list-item-link .ny-area-list-item-link-arrow {
  font-size: 12px;
}
/* SNY: /new-york-area/ ページのモバイル表示時、ニューヨークエリア地図(SVG)は
   画面幅に対して見づらく縦スペースも大きく取るため非表示にする。地図を含む
   .ny-area-map-wrap のみが対象で、隣接する説明文・エリアカード一覧(.ny-area-list)
   には影響しない。 */
@media (max-width: 767px) {
  .ny-area-map-wrap {
    display: none !important;
  }
}
/* Coder Additions */
/* Elementor's base-desktop.css is not loaded on property_area archives, so mirror its footer defaults. */
.wpestate_elementor_footer_custom .elementor .e-div-block-base {
  min-width: 30px;
  padding: 10px;
  display: block;
}
.wpestate_elementor_footer_custom .elementor .e-flexbox-base {
  padding: 10px;
  display: flex;
  flex-direction: row;
}
#Footer_V1 .menu-big-ft .elementor-icon-list-text {
  color: #00a7db !important;
}
div.icon-w-titles h3.elementor-icon-box-title a {
  margin-left: -1.7rem;
  font-size: 11px !important;
}
/* SNY: /compare-listings/ ページの比較項目一覧から、下記項目の行を非表示にする。
   Lot Size, Rooms, Energy Index, Energy Class, Diagnostic Date,
   Primary Energy Consumption, Final Energy,
   Garage Size, Available from, Basement, External Construction,
   Exterior Material, Roofing, Structure Type, Floors No,
   Size, Property ID
   各行は .compare_item に固有クラス(例: .property_lot_size)が付いているため、
   それぞれを個別に非表示にする。 */
body.page-template-compare_listings .compare_item.property_lot_size, body.page-template-compare_listings .compare_item.property_rooms, body.page-template-compare_listings .compare_item.energy_index, body.page-template-compare_listings .compare_item.energy_class, body.page-template-compare_listings .compare_item.diagnostic_date, body.page-template-compare_listings .compare_item.primary_energy_consumption, body.page-template-compare_listings .compare_item.final_energy, body.page-template-compare_listings .compare_item.property-garage-size, body.page-template-compare_listings .compare_item.property-date, body.page-template-compare_listings .compare_item.property-basement, body.page-template-compare_listings .compare_item.property-external-construction, body.page-template-compare_listings .compare_item.exterior-material, body.page-template-compare_listings .compare_item.property-roofing, body.page-template-compare_listings .compare_item.structure-type, body.page-template-compare_listings .compare_item.stories-number, body.page-template-compare_listings .compare_item.property_size, body.page-template-compare_listings .compare_item.property_id {
  display: none !important;
}
/* Migrate From Theme Custom CSS */
.header_wrapper_inside_type_4 {
  width: 180px !important;
  padding: 12px !important;
}
.wpresidence_wrapper_for_header_4_colum {
  margin-left: 180px !important;
}
.wpresidence-navigation-menu a.menu-item-link {
  padding: 0 8px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}
.header_wrapper_inside_type_4 .logo img {
  max-width: 100% !important;
  height: auto !important;
}
/* Submenu (Mokuteki-betsu Service etc.): slide in from the left, Material Design 3 style motion */
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul li ul {
  left: 100% !important;
  top: 0px !important;
  transform: translateX(-28px) !important;
  transition: opacity .2s cubic-bezier(.3, 0, .8, .15), transform .2s cubic-bezier(.3, 0, .8, .15), visibility 0s linear .2s !important;
}
.wpresidence_wrapper_for_header_type4 .header_wrapper_inside_type_4 .wpresidence-navigation-menu .menu-mega-menu-updated-container ul li:hover > ul {
  transform: translateX(0) !important;
  transition: opacity .35s cubic-bezier(.05, .7, .1, 1), transform .35s cubic-bezier(.05, .7, .1, 1), visibility 0s linear 0s !important;
}
/* ============================================================
   Phase 3: icon rail + mockup-matched visual style for the
   left global sidebar menu (nav-ico-* classes set via
   Appearance > Menus > CSS Classes on each top-level item)
   ============================================================ */
/* Narrow the rail to match mockup proportions */
.header_wrapper_inside_type_4 {
  width: 100px !important;
  padding: 12px 0 !important;
}
.wpresidence_wrapper_for_header_4_colum {
  margin-left: 100px !important;
}
/* Top-level items: icon above label, like the mockup */
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li {
  height: auto !important;
}
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > a.menu-item-link {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  text-align: center !important;
  padding: 14px 4px !important;
  line-height: 1.3 !important;
  font-size: 12px !important;
  white-space: normal !important;
}
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > a.menu-item-link:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 19px;
  display: block;
}
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > a.menu-item-link:after {
  content: none !important;
}
.menu-item.nav-ico-home > a.menu-item-link::before {
  content: "\f015";
}
.menu-item.nav-ico-building > a.menu-item-link::before {
  content: "\f1ad";
}
.menu-item.nav-ico-service > a.menu-item-link::before {
  content: "\f562";
}
.menu-item.nav-ico-area > a.menu-item-link::before {
  content: "\f3c5";
}
.menu-item.nav-ico-info > a.menu-item-link::before {
  content: "\f05a";
}
.menu-item.nav-ico-company > a.menu-item-link::before {
  content: "\f1ad";
}
.menu-item.nav-ico-contact > a.menu-item-link::before {
  content: "\f0e0";
}
.menu-item.nav-ico-flag > a.menu-item-link::before {
  content: "\f024";
}
.wpresidence-navigation-menu .menu-main-menu-container > ul:not([class*="wpestate_submenu_icon"]) > li.menu-item-has-children > a::after, .wpresidence-navigation-menu .menu-mega-menu-updated-container > ul:not([class*="wpestate_submenu_icon"]) > li.menu-item-has-children > a::after {
  background-color: initial !important;
  height: initial !important;
  margin-left: initial !important;
  -webkit-mask-image: initial !important;
  mask-image: initial !important;
  width: initial !important;
}
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li.menu-item.nav-ico-service > a.menu-item-link::after, .wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li.menu-item.nav-ico-area > a.menu-item-link::after, .wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li.menu-item.nav-ico-flag > a.menu-item-link::after {
  position: absolute;
  right: 0;
  bottom: 13px;
  content: "\f105" !important;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px !important;
  color: #242424;
}
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li.menu-item.nav-ico-service > a.menu-item-link::after {
  bottom: 22px;
}
.menu-item.nav-ico-home > a.menu-item-link, .menu-item.nav-ico-building > a.menu-item-link, .menu-item.nav-ico-service > a.menu-item-link, .menu-item.nav-ico-area > a.menu-item-link, .menu-item.nav-ico-info > a.menu-item-link, .menu-item.nav-ico-company > a.menu-item-link, .menu-item.nav-ico-contact > a.menu-item-link, .menu-item.nav-ico-flag > a.menu-item-link {
  position: relative;
  font-family: var(--Primary-JP);
  font-size: 13px;
  font-weight: 700;
  transition: all ease-in-out .3s;
}
.menu-item.nav-ico-home > a.menu-item-link::before {
  content: " " !important;
  background: url("images/icon_home.svg") top center no-repeat !important;
  width: 31.5px;
  height: 28px;
}
.menu-item.nav-ico-building > a.menu-item-link::before {
  content: " " !important;
  background: url("images/icon_property.svg") top center no-repeat !important;
  width: 33.5px;
  height: 25.4px;
}
.menu-item.nav-ico-service > a.menu-item-link::before {
  content: " " !important;
  background: url("images/icon_service.svg") top center no-repeat !important;
  width: 39px;
  height: 31px;
}
.menu-item.nav-ico-area > a.menu-item-link::before {
  content: " " !important;
  background: url("images/icon_area.svg") top center no-repeat !important;
  width: 32px;
  height: 40px;
}
.menu-item.nav-ico-info > a.menu-item-link::before {
  content: " " !important;
  background: url("images/icon_ny_info.svg") top center no-repeat !important;
  width: 26.9px;
  height: 28px;
}
.menu-item.nav-ico-company > a.menu-item-link::before {
  content: " " !important;
  background: url("images/icon_about.svg") top center no-repeat !important;
  width: 25.5px;
  height: 25px;
}
.menu-item.nav-ico-contact > a.menu-item-link::before {
  content: " " !important;
  background: url("images/icon_contact.svg") top center no-repeat !important;
  width: 35.5px;
  height: 29px;
}
.menu-item.nav-ico-flag > a.menu-item-link::before {
  content: " " !important;
  background: url("images/icon_flag_en.svg") top center no-repeat !important;
  width: 25.5px;
  height: 25.5px;
}
.wpresidence-navigation-menu ul li.current-menu-ancestor > a[class*="menu"], .wpresidence-navigation-menu ul li.current-menu-item > a[class*="menu"], .wpresidence-navigation-menu ul li.current-menu-parent > a[class*="menu"], .wpresidence-navigation-menu .menu-mega-menu-updated-container ul li:hover > a, .wpresidence-navigation-menu .menu-mega-menu-updated-container ul li:hover > a::before {
  color: #00A7DB !important;
}
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul li > a::before {
  transition: all ease-in-out .3s;
}
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul li:hover > a::before {
  opacity: .65 !important;
}
/* Level 2 flyout panel: mockup-style rows */
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > ul.sub-menu {
  padding: 10px !important;
}
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > ul.sub-menu > li > a.menu-item-link {
  border-radius: 20px;
  padding: 11px 16px !important;
  margin: 2px 0;
  transition: all ease-in-out .3s !important;
}
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > ul.sub-menu > li > a.menu-item-link:hover {
  background-color: #F2F2F2 !important;
}
/* Level 2 items that expand a level-3 accordion get a chevron */
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > ul.sub-menu > li.sny-accordion-item > a.menu-item-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > ul.sub-menu > li.sny-accordion-item > a.menu-item-link:after {
  content: "\f078" !important;
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  font-size: 11px !important;
  margin-left: 8px !important;
  transition: transform .25s !important;
}
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > ul.sub-menu > li.sny-accordion-item[data-sny-expanded="1"] > a.menu-item-link:after {
  transform: rotate(180deg) !important;
  transition: none !important;
  /* SNY: 以前は常時付与されたままの .sny-area-expanded クラスを見ていたため、
     開閉状態に関わらずシェブロンが常に上向き(展開済み表示)になっていた。
     実際の開閉状態を持つ data-sny-expanded="1" 属性を見るように修正。
     さらに、基本ルール側のtransition指定が残っていると、他スクリプトの
     再描画処理と衝突してこの矢印だけtransformが反映されないままになる
     現象が確認されたため、この状態では明示的にtransitionを無効化した。 */
}
/* Level 3 accordion child rows */
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > ul.sub-menu li ul.sub-menu > li > a.menu-item-link {
  font-family: var(--Primary-JP);
  padding: 9px 14px 9px 26px !important;
  font-size: 13px !important;
  border-radius: 20px;
}
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > ul.sub-menu li ul.sub-menu > li > a.menu-item-link:hover {
  background-color: #00A7DB !important;
  color: #F2F2f2 !important;
  border-radius: 20px !important;
}
/* ============================================================
   Phase 3 fix: submenu is a full-height sliding board
   (fills the screen's vertical height like the icon rail,
   instead of a small content-sized popup)
   ============================================================ */
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > ul.sub-menu {
  position: fixed !important;
  top: 0 !important;
  left: 100px !important;
  height: 100vh !important;
  overflow-y: auto !important;
  padding: 16px 10px !important;
  box-sizing: border-box !important;
}
/* ============================================================
   Phase 3 fix: mouseover color should match the mock's
   highlight pill (same cyan as the current/expanded state)
   ============================================================ */
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li:not(.nav-ico-flag) > ul.sub-menu > li.current-menu-item > a.menu-item-link, .wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > ul.sub-menu > li > a.menu-item-link:hover, .wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > ul.sub-menu li ul.sub-menu > li > a.menu-item-link:hover {
  background-color: #00A7DB !important;
  color: #fff !important;
}
/* ============================================================
   Phase 3 fix: panel background should be light gray (not
   white), and level-3 current-page item should use the same
   rounded cyan pill as level-2 (overriding the theme's own
   full-width current-item highlight)
   ============================================================ */
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > ul.sub-menu, .wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > ul.sub-menu li ul.sub-menu {
  background-color: #f2f2f2 !important;
}
/* ============================================================
   Phase 3 fix: guarantee only the actually-hovered top-level
   item's panel can ever be visible/clickable, with no
   dependency on JS timing or transition-delay race conditions
   ============================================================ */
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li:not(:hover) > ul.sub-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: none !important;
}
/* ============================================================
   Phase 3 fix: the actively-hovered item's panel must always
   paint above any other (fading) panel, so clicks never get
   intercepted by a leftover panel underneath
   ============================================================ */
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > ul.sub-menu {
  z-index: 20 !important;
}
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li:hover > ul.sub-menu {
  z-index: 999 !important;
}
.wpresidence_wrapper_for_header_type4 .header_wrapper_inside_type_4 {
  background-color: #F2F2F2 !important;
  z-index: 9999 !important;
  padding: 1rem 0.5rem 1rem 0.45rem !important;
}
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > ul.sub-menu > li:hover {
  background-color: transparent !important;
}
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li > ul.sub-menu li ul.sub-menu > li:hover {
  background-color: transparent !important;
}
.wpresidence-navigation-menu .menu-mega-menu-updated-container ul li ul li {
  padding: initial !important;
}
.wpresidence-navigation-menu .menu-header-6-secondary-container ul li ul li, .wpresidence-navigation-menu .menu-main-menu-container ul li ul li, .wpresidence-navigation-menu .menu-mega-menu-updated-container ul li ul li {
  padding: initial !important;
}
.wpresidence-navigation-menu .menu-header-6-secondary-container ul li ul li:hover > a, .wpresidence-navigation-menu .menu-header-6-secondary-container ul li ul li:hover > a:active, .wpresidence-navigation-menu .menu-header-6-secondary-container ul li ul li:hover > a:focus, .wpresidence-navigation-menu .menu-main-menu-container ul li ul li:hover > a, .wpresidence-navigation-menu .menu-main-menu-container ul li ul li:hover > a:active, .wpresidence-navigation-menu .menu-main-menu-container ul li ul li:hover > a:focus, .wpresidence-navigation-menu .menu-mega-menu-updated-container ul li ul li:hover > a, .wpresidence-navigation-menu .menu-mega-menu-updated-container ul li ul li:hover > a:active, .wpresidence-navigation-menu .menu-mega-menu-updated-container ul li ul li:hover > a:focus {
  -webkit-transform: initial !important;
  -ms-transform: initial !important;
  transform: initial !important;
  -moz-transition: all .3s ease !important;
  -ms-transition: all .3s ease !important;
  -webkit-transition: all .3s ease !important;
  transition: all .3s ease !important;
  border-radius: 20px !important;
}
.mobile_header {
  background-color: #FFF;
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
}
.mobile_header i {
  color: #00A7DB !important;
  font-size: 25px !important;
  margin: 22px;
}
.mobile_header .mobile-logo img {
  right: initial;
}
.mobile_header .mobile-trigger, .mobile_header .mobile-trigger-user {
  float: none;
  right: 0;
}
.mobilex-menu .sub-menu a {
padding-left: 70px;
font-weight: 700;
}
#mobilewrapper_links .mobilex-menu > li::after {
border-bottom: 1px solid #CDD6DD !important;
}
.mobilemenu-close i, .mobilemenu-close-user i {
  font-size: 25px;
  padding: 0px 0 0 8px;
}

/* New York Rental Guide etc: top bar breadcrumb layout fix */
.wp-block-breadcrumbs li {
  width: auto !important;
  margin-bottom: 0 !important;
}
.wp-block-breadcrumbs ol {
  flex-wrap: nowrap !important;
}
.top_bar_wrapper .top_bar {
  color: #242424 !important;
  height: auto !important;
  line-height: 1.42 !important;
}
/* Unify top bar background with content area, and let it grow to fit the logo + notice text so it doesn't clip/overlap the header below */
.right-top-widet .logo img {
  margin: 30px auto;
  max-height: 51px;
  max-width: 153px;
}
.top_bar_wrapper {
  background-color: #f7f7f7 !important;
  height: auto !important;
  min-height: 80px !important;
  overflow: visible !important;
}
/* Logo moved into top bar, next to right-side notice links */
.right-top-widet {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}
.right-top-widet .logo.exclude-rtl {
  margin-right: 0.5rem;
}
/* Half-map (search results / property list) pages keep their original
   horizontal header at the PHP level (see functions.php,
   sny_inject_sidebar_on_half_map_pages for why). This hides that native
   horizontal header on desktop and makes room for the JS-injected clone
   of the real left sidebar. */
body.half_map_body .master_header.d-none.d-xl-block {
  display: none !important;
}
/* SNY: 以前は .top_bar_wrapper と .wpresidence_main_wrapper_class の両方に
   padding-left:100px を指定していたが、.top_bar_wrapper は
   .wpresidence_main_wrapper_class の子要素であるため、左余白が二重に
   適用され、パンくず(Home / Search Results Page)だけが本文(検索フィルターや
   物件一覧)より約100px余分に右へずれて見える不具合の原因になっていた。
   .wpresidence_main_wrapper_class側の指定だけで左メニュー分の余白は
   十分確保できるため、.top_bar_wrapper側の指定は削除し、他ページと
   同じ見た目(パンくずは本文と同じ左端 + 通常のトップバー内余白のみ)に揃える。 */
body.half_map_body .wpresidence_main_wrapper_class {
  padding-left: 100px !important;
}
/* SNY: 上記の padding-left:100px は、/property-list/ (half_map_body) のデスクトップ表示で
   JS注入される左サイドバーのクローン(.header_wrapper_inside_type_4、d-none d-xl-flexで
   1200px未満では非表示になる)のためのスペース確保。しかしこのpadding-left自体には
   メディアクエリが無く、1200px未満でサイドバーが消えた後も余白だけが残ってしまい、
   スマートフォン等の狭い画面で本文全体が右に約100pxずれて左に大きな空白ができる
   不具合の原因になっていた。サイドバーが非表示になるのと同じ1200px未満の範囲で
   padding-leftを0に戻す。 */
@media (max-width: 1199.98px) {
  body.half_map_body .wpresidence_main_wrapper_class {
    padding-left: 0 !important;
  }
}
/* Sticky search filter bar + sticky map on the half-map search
   results page. The map column already had position:sticky from
   the theme, but its parent's overflow:hidden (wpestate_overlfow)
   was blocking that; removing it here lets the map stick while
   scrolling. The search filter row is made sticky too, sitting
   above the map (JS keeps the map's top offset in sync with this
   row's height, see functions.php). */
body.half_map_body .wpresidence_half_map_version_2 {
  overflow: visible !important;
}

/* SNY: On mobile, the sticky search-filter bar above pins itself to the
   top of the screen while scrolling, which the user asked to remove for
   small screens only (desktop keeps the sticky behavior). */
@media (max-width: 767px) {
  body.half_map_body #adv-search-1 {
    position: static;
    height: auto;
  }
}

/* SNY: id="adv-search-1" が外側の検索ウィジェット全体のラッパーと、内側の検索ボックス
   (エリア・物件タイプ等のドロップダウンを含む部分)の両方に付与されていたため、上記の
   スティッキー用CSS(box-shadow, position:sticky, z-index等)が内側ボックスにも二重適用され、
   ページ読み込み直後の一瞬だけ影が表示されてから消えるちらつき(FOUC)が発生していた。
   内側ボックスに対してCSSの詳細度で直接打ち消すことで、JS実行を待たずに最初から
   正しい見た目にする(内側ボックス側のidは別途JSで adv-search-1-box に変更済み)。 */
body.half_map_body .wpresidence_half_search_type_2 #adv-search-1 {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
    box-shadow: none !important;
}
/* Footer template (post 31704): the theme's fixed left icon sidebar
 *    (.header_wrapper_inside_type_4, position:fixed, z-index:99) stays
 *    visible over the whole page including the footer, so its hover
 *    flyout submenus were rendering on top of the footer's own link
 *    columns (e.g. blocking clicks on "" etc). Raising the
 *    footer wrapper above that z-index makes the footer render on top
 *    instead, so the flyout is hidden behind it and footer links stay
 *    clickable. */
#Footer_V1 {
  position: relative !important;
  z-index: 100 !important;
}
/* Follow-up fix: #Footer_V1's own z-index above was not enough because
 *    its ancestor .wpresidence_wrapper_for_header_4_colum (the site's main
 *    content wrapper, position:relative, z-index:90) already establishes a
 *    stacking context that traps it. The left nav's hover flyout submenus
 *    render as position:fixed with z-index:999 (see theme JS), which beats
 *    that wrapper's z-index:90 regardless of any z-index set inside it.
 *    Raising the wrapper itself above 999 lets the whole page content
 *    (including the footer) stack above the flyouts everywhere on the
 *    site, so footer links stay clickable under a hovered nav flyout. */
.wpresidence_wrapper_for_header_4_colum {
  position: relative !important;
  z-index: 1000 !important;
}
.left-top-widet .xoxo {
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
}
.property_title_label {
  background-color: #00A7DB;
  padding: 0 5px 1px;
}
.property_title_label a {
  font-size: 11px;
  font-weight: 500;
  transition: all ease-in-out .3s;
}
.single_property_labels .property_title_label a:hover {
  opacity: 0.7;
  color: #FFF;
}
.entry-title.entry-prop {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #242424;
}
.top_bar_wrapper .top_bar .wp-block-breadcrumbs a {
  color: #00A7DB;
  font-size: 11px;
}
.top_bar_wrapper .top_bar .wp-block-breadcrumbs span[aria-current="page"] {
  color: #b5b5b5;
  font-size: 11px;
}
.wp-block-breadcrumbs li:not(:last-child)::after {
  opacity: .3;
}
.wpresidence_property_page_title_area .price_area .price_label {
  font-size: 46px;
  color: #242424;
  font-weight: 700;
}
.wpresidence_property_page_title_area .price_area {
  width: 100%;
  max-width: initial;
  text-align: initial;
}
.wpresidence_property_page_title_area .prop_social {
  position: absolute;
  right: 1.5rem;
}
/* Back to Top Button */
.backtop.islive {
  background-color: #00A7DB !important;
  border-radius: 0 !important;
  border: 1px solid #707070;
  height: 70px;
  width: 70px;
  opacity: 0.65 !important;
  transition: all ease-in-out .3s;
}
.fa-chevron-up::before {
  color: #FFF;
  font-size: 30px;
}
.backtop.islive:hover {
  opacity: 1 !important;
}
.no_results {
  color: #707070;
}

/* Single Estate Property Listing Detail */
.single-estate_property .listing_detail i.fa-square-check {
  min-height: initial;
  color: #00A7DB;
  font-size: 17px;
}

#property_similar_listings .property_listing.property_card_default {
  box-shadow: 1px 3px 16px 0px rgba(0,0,0,.06);
}

#property_similar_listings .property_listing.property_card_default:hover {
  box-shadow: 0px 3px 6px 0px rgba(0,0,0,.2);
}

.wpestate_single_agent_details_header_wrapper h4#show_contact {
  margin-bottom: 1rem;
}

.agent_contanct_form_sidebar .wpcf7-form-control {
  font-size: 15px;
  font-weight: 500;
  color: #858585;
  padding: 6px 2.2%;
  border-radius: 4px;
}
.agent_contanct_form_sidebar .wpcf7-form input[type="submit"] {
background-color: #00A7DB !important;
border-radius: 4px !important;
transition: all ease-in-out .3s;
}
.agent_contanct_form_sidebar .wpcf7-form input[type="submit"]:hover {
  opacity: 0.75;
}

/* ReCaptcha Badge Styling */
div.grecaptcha-badge {
  left: 0px !important;
  width: 70px !important;
  z-index:999;
  transition: all ease-in-out .5s;
}
div.grecaptcha-badge:hover {
   width: 256px !important;
}

.cf7s-btn.cf7s-btn-clear {
  padding-top: 9px;
  padding-bottom: 9px;
}
.sny-footer-contact {
  display: inline-block;
  position: fixed;
  z-index: 10;
  right: 15px;
  bottom: 10px;
  transition: all ease-in-out .3s;
}
.sny-footer-contact.islive {
  right: 96px;
}
.sny-footer-contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  border-radius: 40px;
  background: #004B8D;
  color: #fff !important;
  height: 70px;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 500;
  padding: 2rem 1.75rem 2.1rem 2rem;
  border: 1px solid #707070;
  text-decoration: none;
  transition: all ease-in-out .3s;
}
.sny-footer-contact-button::before {
  content: '\f0e0';
  font-family:"Font Awesome 6 Pro";
  font-weight: 700;
  font-size: clamp(20px, 1.75vw, 24px);
  margin-right: .5rem;
  padding-top: 2px;
}
.sny-footer-contact-button::after {
  content: '\f061';
  font-family:"Font Awesome 6 Pro";
  font-size: clamp(16px, 1.5vw, 18px);
  margin-left: .5rem;
  padding-top: 2px;
  transition: all ease-in-out .3s;
}
.sny-footer-contact-button:hover {
  opacity: 0.92;
  background: #00A7DB;
}
.sny-footer-contact-button:hover::before {
  animation: sny-contact-icon-rotate 2s ease-in-out infinite;
}
@keyframes sny-contact-icon-rotate {
  from { transform: perspective(400px) rotateY(0deg); }
  to { transform: perspective(400px) rotateY(360deg); }
}
.sny-footer-contact-button:focus::before,
.sny-footer-contact-button:active::before {
  content: '\f2b6';
  font-weight: 300;
  animation: none;
}
.sny-footer-contact-button:focus::after,
.sny-footer-contact-button:active::after {
  transform: translateX(5px);
}

.mobile_agent_area_wrapper {
  z-index: -1 !important;
  display: none !important;
}
/* iOS Safari の電話番号自動リンク(色上書き)対策 */
#Footer_V1 .elementor-icon-box-content a[href^="tel"],
#Footer_V1 .elementor-icon-box-content a[x-apple-data-detectors],
#Footer_V1 .elementor-icon-box-content a[x-apple-data-detectors]:hover {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF;
  text-decoration: inherit !important;
}

@media screen and (max-width: 576px) {
  .sny-footer-contact-button {
    height: 50px;
    font-weight: 700;
    padding: 28px 40px 30px;
  }
  .sny-footer-contact,
  .sny-footer-contact.islive {
    right: 10px;
    bottom: 14px;
  }
.sny-footer-contact-button::after {
    font-weight: 400;
    padding-top: 1px;
  }
  .backtop, .contact-box {
    bottom: 85px;
  }
}

/* Property full-width sliders use fixed heights in the parent theme; keep their hero frame 4:3. */
.single-estate_property .wpestate_full_width_slider_wrapper[class*="wpestate_sny_property_slider_4_3"] .wpestate_property_slider_v3,
.single-estate_property .wpestate_full_width_slider_wrapper[class*="wpestate_sny_property_slider_4_3"] #carousel-property-page-header,
.single-estate_property .wpestate_full_width_slider_wrapper[class*="wpestate_sny_property_slider_4_3"] #carousel-property-page-header .carousel-item > .propery_listing_main_image {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 3;
}

/* SNY: エリアページ イメージギャラリー(term_gallery)の画像下にALTを説明文として表示
   PHP側: residence-elementor/widgets/category_widgets/term-gallery.php で .sny-term-gallery-caption を出力
   ALTが空の画像はキャプションを出さず、従来どおりの表示 */
body .elementor-widget-term_gallery .elementor_wpresidece_grid .elementor_residence_grid:has(> .sny-term-gallery-caption) {
    height: auto !important;
    flex-direction: column;
    flex-wrap: nowrap;
    row-gap: 0;
}
body .elementor-widget-term_gallery .elementor_wpresidece_grid .elementor_residence_grid:has(> .sny-term-gallery-caption) > a {
    display: block;
    width: 100%;
    height: 330px !important; /* Elementorウィジェットの高さ設定(330px)と合わせる */
    flex: 0 0 auto;
}
.elementor-widget-term_gallery .sny-term-gallery-caption {
    margin: 6px 4px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    text-align: left;
}
