/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 08 2023 | 08:43:43 */
/* ヘッダ ----------------------------------- */
/* ポジション +++++++++ */
#masthead:not(.fixed).theme1Header {
  /* margin-top: -100px; テストページのみ */
}
#masthead.theme1Header .main-header-container {
  padding: 16px 0 12px;
}
#masthead.theme1Header .es-container {
  max-width: none;
  padding: 0 1%;
}
/* ロゴ +++++++++ */
#masthead.theme1Header .site-logo-img .custom-logo {
  width: 233px;
}
#masthead:not(.fixed).theme1Header .site-logo-img .custom-logo {
  width: 350px;
}
/* 電話番号 +++++++++ */
.theme1Header .header_free_content strong.header_phone {
  margin: 0 0 5px;
  color: #0e9b90;
  font-size: 30px;
}
/* 営業時間 +++++++++ */
.theme1Header .header_free_content {
  text-align: right;
}
.theme1Header .header_free_content .header_free_text {
  font-size: 12px;
  line-height: 1;
}
/* お気に入り +++++++++ */
.theme1Header .header_links .header_links__favorite a:not(.menu-toggle) {
  color: #de3c5b;
}


/* PC ----------------------------------- */
@media (min-width : 481px) {
  /* ナビ領域 +++++++++ */
  #masthead:not(.fixed).theme1Header .es-main-header-bar-alignment {
    position: relative;
    height: 0;
  }
  /* ナビ部分 +++++++++ */
  #masthead:not(.fixed).theme1Header .es-main-header-bar-alignment .main-header-bar-navigation {
    position: absolute;
    top: 30px;
    right: 0;
    left: 0;
    width: 94%;
    max-width: 1140px;
    height: 66px;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.12);
    background-color: #fff;
  }
  /* ナビ高さ +++++++++ */
  #masthead:not(.fixed).theme1Header .es-main-header-bar-alignment .main-header-bar-navigation > nav {
    height: 66px;
    max-height: 66px;
    line-height: 66px;
  }
  /* ナビリンク +++++++++ */
  .theme1Header .es-main-header-bar-alignment .main-header-menu > .menu-item > a {
    color: #0e9b90;
    font-size: 16px;
  }
  /* ナビhover +++++++++ */
  #masthead:not(.fixed).theme1Header .main-header-menu > .menu-item > a:hover,
  #masthead:not(.fixed).theme1Header .main-header-menu > #nav_more:hover > a,
  #masthead:not(.fixed).theme1Header .main-header-menu > .unclickable.menu-item:hover > a {
    background-color: #fff !important;
    color: #0e9b90 !important;
    text-decoration: underline !important;
  }
  /* スクロールされた時の挙動 +++++++++ */
  #masthead.fixed.theme1Header {
    box-shadow: 0 0 0 transparent;
  }

  #masthead.fixed.theme1Header .main-header-bar {
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  #masthead.fixed.theme1Header.main-header-container {
    padding: 15px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  #masthead.fixed.theme1Header .es-main-header-bar-alignment .main-header-bar-navigation > nav {
    height: 35px;
    min-height: 35px;
  }
  #masthead.fixed.theme1Header .main-header-bar-navigation .main-header-menu a {
    color: #0e9b90;
    font-weight: bold;
  }

  #masthead.fixed.theme1Header #nav_more:hover > ul.sub-menu {
    z-index: 100;
    width: 523px;
    margin-top: 0;
    padding: 0 0 0 24px;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0,0,0,0.12);
  }
  #masthead.fixed.theme1Header #nav_more:hover > ul.sub-menu > li {
    display: inline-block;
    padding: 12px 0;
  }
  #masthead.fixed.theme1Header #nav_more:hover > ul.sub-menu > li > a {
    line-height: 1.5;
  }

  /* サブメニュー +++++++++ */
  #masthead .theme1Header_submenu {
    display: block;
    position: absolute;
	  top: 184px;
	  bottom: auto;
    right: 0;
    left: 0;
    width: 91%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 52px 55px 40px;
    border-right: 2px solid #13b7aa;
    border-bottom: 2px solid #13b7aa;
    border-left: 2px solid #13b7aa;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.1);
    background-color: #e0fafa;
    text-align: left;
  }

  #masthead.fixed .theme1Header_submenu {
    position: relative;
    top: -7px;
  }
  #masthead.fixed .theme1Header_submenu#head_search_sub {
  }
  #masthead.fixed .theme1Header_submenu#head_about_sub {
    position: relative;
    border-radius: 10px;
  }

  /* 上の領域 */
  #masthead.fixed .theme1Header_submenu::before {
    display: block;
    position: absolute;
    top: -20px;
    right: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 50px;
    margin: 0 auto;
    background-color: transparent;
    content: "";
  }

  #masthead .theme1Header_submenu.-about {
    padding: 52px 45px 40px;
  }

  .theme1Header_sub_title {
    margin: 0 0 40px;
    font-weight: bold;
    font-size: 24px;
    line-height: 24px;
  }

  ul.theme1Header_submenu_list {
    display: block;
    list-style: none;
    font-size: 0;
  }

  ul.theme1Header_submenu_list.-search {
    width: 100%;
    margin: 0 auto;
  }

  ul.theme1Header_submenu_list.-about {
    width: 50%;
    margin: 0;
  }

  ul.theme1Header_submenu_list > li {
    display: inline-block;
    overflow: hidden;
    border-radius: 10px;
    background: url(https://baibai.re-ws.jp/wp-content/uploads/sites/189/2021/01/theme1_header_icon_search_arrow_pc.png) bottom 11px right 10px / 15px auto no-repeat, linear-gradient(to bottom, #0e9b90 104px, #fff 104px);
    transition: opacity 0.3s;
  }
  ul.theme1Header_submenu_list > li:hover {
    opacity: 0.7;
  }

  ul.theme1Header_submenu_list.-search > li {
    width: calc((100% - 90px) / 4);
  }

  ul.theme1Header_submenu_list.-about > li {
    width: calc((100% - 30px) / 2);
  }

  ul.theme1Header_submenu_list > li:nth-child(1),
  ul.theme1Header_submenu_list.-search > li:nth-child(2),
  ul.theme1Header_submenu_list.-search > li:nth-child(3) {
    margin-right: 30px;
  }

  a.theme1Header_sub {
    display: block;
    width: 100%;
    height: 140px;
    padding: 116px 0 0 15px;
    color: #0e9b90;
    font-weight: bold;
    font-size: 14px;
    line-height: 14px;
  }

  a.theme1Header_sub.-buy {
    background: url(https://baibai.re-ws.jp/wp-content/uploads/sites/189/2021/01/theme1_header_icon_search_buy_pc.png) top 22px center / 67px auto no-repeat;
  }
  a.theme1Header_sub.-area {
    background: url(https://baibai.re-ws.jp/wp-content/uploads/sites/189/2021/01/theme1_header_icon_search_area_pc.png) top 19px center / 96px auto no-repeat;
  }
  a.theme1Header_sub.-line {
    background: url(https://baibai.re-ws.jp/wp-content/uploads/sites/189/2021/01/theme1_header_icon_search_line_pc.png) top 19.5px center / 46.5px auto no-repeat;
  }
  a.theme1Header_sub.-map {
    background: url(https://baibai.re-ws.jp/wp-content/uploads/sites/189/2021/01/theme1_header_icon_search_map_pc.png) top 21.5px center / 65px auto no-repeat;
  }

  a.theme1Header_sub.-greeting {
    background: url(https://baibai.re-ws.jp/wp-content/uploads/sites/189/2021/01/theme1_header_icon_about_greeting_pc.png) top center / 100% auto no-repeat, url(https://baibai.re-ws.jp/wp-content/uploads/sites/189/2021/01/theme1_header_icon_search_arrow_pc.png) bottom 11px right 10px / 15px auto no-repeat, #fff;
  }

  a.theme1Header_sub.-company {
    background: url(https://baibai.re-ws.jp/wp-content/uploads/sites/189/2021/01/theme1_header_icon_about_company_pc.png) top center / 100% auto no-repeat, url(https://baibai.re-ws.jp/wp-content/uploads/sites/189/2021/01/theme1_header_icon_search_arrow_pc.png) bottom 11px right 10px / 15px auto no-repeat, #fff;
  }

  /* まさひろ不動産について */
  table.theme1Header_about {
    position: absolute;
    top: 180px;
    right: 0;
    width: 40%;
    /* margin: 40px 0; */
    border: 0;
  }

  table.theme1Header_about tr {
    border: 0;
  }

  table.theme1Header_about td {
    padding: 0;
    border: 0;
    line-height: 2;
    vertical-align: top;
  }

  table.theme1Header_about td:nth-child(1) {
    /* width: 11.5%; */
    width: 30%;
    border-right: 1px dotted #b7b7b7;
  }
  table.theme1Header_about td:nth-child(2) {
    /* width: 22.5%; */
    width: 70%;
    padding-left: 20px;
  }
  /*
  table.theme1Header_about td:nth-child(3) {
    width: 11.5%;
    border-right: 1px dotted #b7b7b7;
  }
  table.theme1Header_about td:nth-child(4) {
    padding-left: 2%;
  }
  */

  table.theme1Header_about td a {
    display: inline-block;
    padding-right: 22px;
    background: url(https://baibai.re-ws.jp/wp-content/uploads/sites/189/2021/01/theme1_header_icon_search_arrow_pc.png) center right / 15px auto no-repeat;
    color: #0e9b90;
    font-weight: bold;
    font-size: 16px;
    transition: opacity 0.3s;
  }
  table.theme1Header_about td a:hover {
    opacity: 0.5;
  }

  table.theme1Header_about td .theme1Header_about_title {
    color: #2f3434;
    display: inline-block;
    padding-right: 22px;
    background: url(https://baibai.re-ws.jp/wp-content/uploads/sites/189/2021/01/theme1_header_icon_search_arrow_pc.png) center right / 15px auto no-repeat;
    font-weight: bold;
    font-size: 16px;
  }

  .theme1Header_notice {
    line-height: 1.5;
  }

  .theme1Header_notice_link {
    display: inline-block;
    margin: 40px 0 0;
    padding-right: 19px;
    background: url(https://baibai.re-ws.jp/wp-content/uploads/sites/189/2021/01/theme1_header_icon_about_arrow_pc.png) top 7px right / 12px auto no-repeat;
    color: #2f3434;
    font-size: 14px;
    transition: opacity 0.3s;
  }

  .theme1Header_notice_link:hover {
    opacity: 0.5;
  }

  .theme1Header_notice_link.-first {
    margin: 0 80px 0 0;
  }

  /* 上から乗せるリンク */
  ul.theme1Header_submenu_link_list {
    list-style: none;
    position: fixed;
    top: 51px;
    right: 115px;
    z-index: 120;
    width: 523px;
    margin: 0;
    margin-top: 0;
    padding: 0 0 0 24px;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0,0,0,0.12);
    background: #fff;
    font-size: 0;
  }

  ul.theme1Header_submenu_link_list > li {
    display: inline-block;
    padding: 12px 0;
  }

  ul.theme1Header_submenu_link_list > li > a {
    display: block;
    padding: 0.9em 1em;
    color: #0e9b90;
    font-weight: bold;
    font-size: 0.875rem;
    line-height: 1.5;
  }

  ul.theme1Header_submenu_link_list > li > a:active {
    background: #fff;
    color: #0e9b90;
  }

  ul.theme1Header_submenu_link_list > li > a:hover {
    background-color: #f0f0f0;
  }

  #masthead.fixed ul.theme1Header_submenu_link_list {
    display: block;
  }
  #masthead:not(.fixed) ul.theme1Header_submenu_link_list {
    display: none;
  }
}




/* SP ----------------------------------- */
@media (max-width : 480px) {
  /* ポジション +++++++++ */
  #masthead:not(.fixed).theme1Header {
    /* margin-top: -58px; テストページのみ */
  }

  .theme1Header::after {
    display: block;
    position: absolute;
    top: 0;
    right: -50%;
    left: -50%;
    z-index: -10;
    width: 200%;
    height: 100%;
    margin: 0 auto;
    background-color: #fff;
    content: "";
  }

  body.admin-bar #masthead.fixed.theme1Header .main-header-bar .main-header-bar-navigation {
    /*    top: 335px; */
    height: 100vh;
  }

  #masthead.theme1Header .main-header-bar-wrap {
    width: calc(100vw - 20px);
    border: 0;
  }

  #masthead.theme1Header .main-header-container {
    padding: 5px 0 0;
  }
  #masthead.theme1Header .es-container {
    max-width: none;
    padding: 0 1%;
  }
  /* ロゴ +++++++++ */
  #masthead.theme1Header .site-logo-img .custom-logo {
    width: 172.5px;
  }
  #masthead:not(.fixed).theme1Header .site-logo-img .custom-logo {
    width: 172.5px;
  }

  #masthead.theme1Header .header_links .main-header-menu-toggle {
    color: #0e9b90;
  }

  /* ナビ +++++++++ */
  #masthead.theme1Header .main-header-bar-navigation,
  #masthead.theme1Header .es-footer-overlay,
  #masthead.theme1Header .entry-content h2::after,
  #masthead.theme1Header .acf-block-preview .es-list-wrapper h2::after,
  #masthead.theme1Header .form_wrap h2::after,
  #masthead.theme1Header .flexslider.es_slider .flex-control-nav li a.flex-active {
    width: 100vw;
    background: #0e9b90;
  }

  #masthead.theme1Header .main-header-bar .main-header-bar-navigation {
    position: fixed !important;
  }

  #masthead.theme1Header .main-header-bar .main-header-bar-navigation .menu-item > a {
    font-weight: bold;
  }

  #masthead.theme1Header .main-header-bar .main-header-bar-navigation::before {
    content: "";
  }

  #masthead.theme1Header .main-header-bar .main-header-bar-navigation .close_switch {
    background: url(https://baibai.re-ws.jp/wp-content/uploads/sites/189/2021/01/theme1_header_icon_menu_x_sp.png) right 20px center / 21.5px auto no-repeat;
  }

  #masthead.theme1Header .main-header-bar .main-header-bar-navigation .main-navigation li > a::after {
    width: 15px;
    height: 15px;
    background: url(https://baibai.re-ws.jp/wp-content/uploads/sites/189/2021/01/theme1_header_icon_menu_arrow_1_sp.png) center center / 100% auto no-repeat;
    content: "";
  }

  #masthead.theme1Header .main-header-bar .main-header-bar-navigation .main-navigation li.menu-item-has-children > a::after {
    top: calc(50% - 4px);
    width: 12px;
    height: 7.5px;
    background: url(https://baibai.re-ws.jp/wp-content/uploads/sites/189/2021/01/theme1_header_icon_menu_arrow_down_sp.png) center center / 100% auto no-repeat;
    content: "";
  }

  /* ナビ サブメニュー +++++++++ */
  #masthead.theme1Header .main-navigation .sub-menu li a {
    border-bottom: 1px solid #b7b7b7;
    background: #e0fafa;
  }

  #masthead.theme1Header .main-header-bar .main-header-bar-navigation .main-navigation .sub-menu li a {
    padding: 10px 50px 10px 30px;
    color: #0e9b90;
  }

  #masthead.theme1Header .main-header-bar .main-header-bar-navigation .main-navigation .sub-menu li a::after {
    background: url(https://baibai.re-ws.jp/wp-content/uploads/sites/189/2021/01/theme1_header_icon_menu_arrow_2_sp.png) center center / 100% auto no-repeat;
  }
}