@charset "UTF-8";

/**
 * 
 * search content
 * NOTE: 他の検索部品を全て内包します。内包したセレクタでは、この部品の変数を使用するため必須です。
 * NOTE: [id="content"]タグへこのクラスを付与して使用します。
 * 
**/
.search_content {
  --search-content-gap: 40px;
  --search-side-width: 280px;
}


/**
 * search main
**/
/* 2カラムの時 */
#main.search_center_wrap {
  order: 2;
  width: calc(100% - var(--search-content-gap) * 1 - var(--search-side-width) * 1);
  padding-top: 16px;
}
/* 3カラムの時 — search_right_wrapはdisplay:noneのため2カラム幅を維持 */
.search_right_wrap + #main.search_center_wrap,
.search_content:has(.search_right_wrap) #main.search_center_wrap {
  width: calc(100% - var(--search-content-gap) * 1 - var(--search-side-width) * 1);
}
@media (max-width: 959.98px) {
  #main.search_center_wrap {
    width: 100%;
  }
  .search_right_wrap + #main.search_center_wrap,
  .search_content:has(.search_right_wrap) #main.search_center_wrap {
    width: 100%;
  }
}
@media (max-width: 767.98px) {
  #main.search_center_wrap {
    width: 100%;
  }
  .search_right_wrap + #main.search_center_wrap,
  .search_content:has(.search_right_wrap) #main.search_center_wrap {
    width: 100%;
  }
}


/**
 * search left side
**/
#side.search_left_wrap {
  order: 1;
  max-width: none;
  width: var(--search-side-width);
  padding: 0;
  margin-bottom: 16px;
  position: relative;
}
.search_left_banner {
  display: none !important;
  padding: 0;
}
@media (max-width: 959.98px) {
  #side.search_left_wrap {
    width: 100%;
  }
  .search_left_banner {
    display: none;
  }
  /* htmlから data-search-items を外すと通常バージョン */
  #side.search_left_wrap[data-search-items] {
    background: #fff;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 3000;
    width: auto;
    height: auto;
    padding: 16px 16px;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    transition: opacity 0.8s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  #side.search_left_wrap.active[data-search-items] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  /* 元のsubmitを消す */
  #side.search_left_wrap[data-search-items] .search_item_submit {
    display: none;
  }
  #side.search_left_wrap[data-search-items] .word_search .search-field {
    width: 100%;
  }
  #side.search_left_wrap[data-search-items] .word_search .search-submit {
    display: none;
  }
}

/**
 * search right side
**/
.search_right_wrap {
  display: none;
}
@media (max-width: 959.98px) {
  .search_right_wrap {
    display: none;
    width: auto;
  }
}


/**
 * search_form
 * NOTE: formタグを .search_itemのラッパーにしたい時にformタグへ付与してください。※使用しない場合もあります。
**/
.search_form {
  background: #F0F9FF;
  border-radius: 5px;
  padding: 20px 15px;
}


/**
 * search_item
**/
.search_item {
  background-color: #fff;
  border: solid 1px #BAE6FE;
  border-radius: 5px;
  box-shadow: none;
  padding: 0;
  margin: 0 0 10px;
  overflow: hidden;
  position: relative;
}

.search_item_head {
  background-color: transparent;
  color: #314158;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  line-height: 50px;
  padding: 0 15px;
  margin: 0;
}

.search_item_head .step_number {
  display: none;
}

@media (max-width: 767.98px) {
  .search_item_head {
    font-size: 12px;
    line-height: 40px;
    letter-spacing: 0.1ex;
    padding: 0 12px;
  }
}
.search_item_head[data-accordion-head]+* {
  position: relative;
  padding: 0;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.search_item_head.active[data-accordion-head]+* {
  height: auto;
  padding-bottom: 12px;
  overflow: visible;
}

.search_item_head[data-accordion-head]+*::after {
  display: none;
}

.search_item_head.active[data-accordion-head] + *::after {
  display: none;
}

/* accordion open button sytle */
/* not use default button */
.search_item_head[data-accordion-head]::after,
.search_item_head.accordion_head::after {
  display: none;
}

/* open button (appended by js) */
.search_item_open {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  border-radius: 0;
  border: none;
  background: transparent;
  color: #314158;
  width: 50px;
  height: 50px;
  font-size: 14px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: auto;
  z-index: 1000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search_item_open::before {
  content: '';
  display: block;
  border-top: 1px solid #314158;
  border-right: 1px solid #314158;
  width: 8px;
  height: 8px;
  transform: rotate(135deg);
  transition: transform 0.3s ease;
}

.search_item_open:focus,
.search_item_open:hover {
  opacity: 1;
}

.search_item_open.active {
  border: none;
  background: transparent;
  color: #314158;
}

.search_item_open.active::before {
  transform: rotate(-45deg);
}

/* search_item_area */
.search_item_area_btn {
  display: none;
}

.search_item_area_btn .btn {
  max-width: 200px;
  height: 40px;
  margin: 0;
}

/* checkbox_list */
.checkbox_list_area {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px 0;
  padding: 0 16px 16px;
}
@media (max-width: 767.98px) {
  .checkbox_list_area {
    padding: 0 16px 16px;
  }
}

.checkbox_list_area > li [type="radio"],
.checkbox_list_area > li [type="checkbox"] {
  position: absolute;
  opacity: 0;
}

.checkbox_list_area > li a {
  display: block;
  color: var(--site-c-gray);
  font-size: 13px;
  line-height: 1.4;
  padding: 0 0 0 0.75em;
  position: relative;
}
.checkbox_list_area > li a::after {
  content: "\f3d3";
  display: block;
  font-family: "Ionicons";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--site-c-main);
  font-size: inherit;
  line-height: inherit;
  position: absolute;
  left: 0;
  top: calc( ( 1lh - 1em ) * 0.5 );
  z-index: 1;
}


@media (min-width: 768px) {
  .checkbox_list {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    padding: 0 0 12px;
  }
  .checkbox_list > li {
    color: var(--site-c-gray);
    font-size: 13px;
    width: 100%;
    padding: 12px 12px 0;
  }
}
@media (min-width: 960px) {
  .checkbox_list > li {
    width: 100%;
  }
}
@media (min-width: 1200px) {
  .checkbox_list > li {
    width: 100%;
  }
}
.checkbox_list > li ul {
  padding: 0 0 0 16px;
}

@media (max-width: 767.98px) {
  .checkbox_list {
    padding: 14px 14px;
  }
  .checkbox_list > li {
    margin-bottom: 8px;
  }
  .checkbox_list > li ul {
    padding: 0 0 8px 20px;
  }
  /* checkbox_list_area */
  .checkbox_list_area > li input {
    margin-top: 14px;
    margin-right: 8px;
  }
  .checkbox_list_area > li a {
    padding: 8px 0 8px 12px;
    margin-right: 16px;
    font-size: 12px;
  }
  .checkbox_list_area > li a::after {
    content: "";
    top: 50%;
    left: 0;
    width: 0.25em;
    height: 0.25em;
    color: var(--site-c-gray);
    font-size: 1em;
    font-weight: 700;
    line-height: 1.2em;
    display: block;
    position: absolute;
    border-top: 2px solid var(--site-c-main);
    border-right: 2px solid var(--site-c-main);
    border-bottom: 2px solid transparent;
    border-left: 2px solid transparent;
    transform: translate(0, -50%) rotate(45deg);
  }
}
/* search_item word_search — キーワード入力欄をデザインに合わせてシンプル化 */
.search_item:has(.word_search_wrap) .search_item_head {
  display: none;
}
.search_item:has(.word_search_wrap) {
  overflow: visible;
}
.search_item .word_search_wrap {
  padding: 5px 12px;
}

.search_item .word_search {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  gap: 0;
}
.search_item .word_search .search-submit {
  display: none;
}
.search_item .word_search .search-field {
  width: 100%;
  border-radius: 5px;
}

/* search_item button */
.search_item_submit {
  text-align: center;
  padding: 15px 0 0;
}

.search_item_submit .btn {
  max-width: 100%;
  width: 100%;
  height: 50px;
  border-radius: 5px;
  background: var(--site-c-main);
  border: 1px solid var(--site-c-main);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.search_center_wrap .title02 {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4em;
  overflow: hidden;
  padding: 32px 0 0;
  margin: 0 0 8px;
  color: var(--site-c-main);
}

.search_center_wrap .title02 span {
  float: right;
  font-size: 11px;
  font-weight: 100;
  color: var(--site-c-gray);
}

.search_center_wrap .title02 span b {
  font-size: 18px;
  font-weight: 700;
  color: var(--site-c-main);
  padding-right: 3px;
}

@media (max-width: 767.98px) {
  .search_center_wrap .title02 {
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
    text-align: center;
    position: relative;
    overflow: visible;
    padding: 16px;
    margin: 0 0 8px;
  }
  .search_center_wrap .title02 span {
    padding-top: 8px;
    float: none;
    display: block;
  }
  .search_center_wrap .title02 span b {
    font-size: 16px;
  }
}
.search_center_wrap .column_detail_main {
  font-size: 12px;
  line-height: 28px;
  margin-bottom: 32px;
}

@media (max-width: 767.98px) {
  .search_center_wrap .column_detail_main {
    font-size: 12px;
    line-height: 28px;
    margin: 0 0 8px;
  }
}
.search_change_view {
  max-width: 550px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search_change_view div p {
  background-color: var(--site-c-black);
  color: #fff;
  height: 32px;
  line-height: 32px;
  font-size: 14px;
  font-weight: 600;
  padding: 0 12px;
  margin: 0 0 12px;
}

@media (max-width: 1300.98px) {
  .search_change_view div p {
    height: auto;
    font-size: 12px;
    padding: 3px 8px;
  }
}
@media (max-width: 767.98px) {
  .search_change_view div p {
    background: #fff;
    color: var(--font-c);
    text-align: left;
    margin: 0;
    padding: 0 0 8px;
    font-weight: 700;
  }
}

/**
 * 検索項目
**/
.option {
  display: block;
  font-size: inherit;
  line-height: 1;
  padding: 0 0 0 1.5em;
  position: relative;
  cursor: pointer;
}
.option [type="radio"],
.option [type="checkbox"] {
  position: absolute;
  opacity: 0;
}
.option_status {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  border: solid 2px var(--site-border-c);
  width: 1em;
  height: 1em;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transform: translate(0,0);
}
.option:has(:checked) .option_status {
  border: solid 2px var(--site-border-c);
}
.option_status::after {
  content: "\f122";
  display: block;
  font-family: "Ionicons";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-rendering: auto;
  line-height: 1;
  color: var(--site-c-main-hue);
  transform: translate(1px,-1px) scale(1.2);
  transform-origin: left center;
  opacity: 0;
  transition: inherit;
}
.option:has(:checked) .option_status::after {
  opacity: 1;
}


/**
* フローティングメニュー
**/
#search_f_menu {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  padding: 10px 10px;
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
  transition: background-color 0.4s ease, color 0.2s ease;
	display: none !important
}

#search_f_menu.active {
  background: #fdef5d;
  color: var(--font-c);
}

@media (min-width: 960px) {
  #search_f_menu {
    display: none;
  }
}
#search_f_menu .text_parts {
  color: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.1ex;
  text-align: left;
  width: calc(100% - 88px);
  padding: 0 28px 0 0;
  margin: 0;
  transition: width 0.4s ease;
}

#search_f_menu.active .text_parts {
  width: calc(100% - 146px);
}

#search_f_menu .box_btn {
  width: 88px;
  padding: 0;
  margin: 0;
  position: relative;
  transition: width 0.4s ease;
}

#search_f_menu.active .box_btn {
  width: 146px;
}

#search_f_menu .btn_change {
  display: block;
  border-radius: 5px;
  border: solid 1px;
  background: transparent;
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1ex;
  position: relative;
  width: 88px;
  height: 44px;
  margin: 0 0 0 auto;
  transition: opacity 0.4s ease;
}

/* style */
#search_f_menu .btn_change[data-search-results-cancel],
#search_f_menu .btn_change[data-search-results-submit] {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
}

#search_f_menu .btn_change[data-search-results-cancel] {
  width: 44px;
  right: 92px;
  font-size: 16px;
}

#search_f_menu .btn_change[data-search-results-submit] {
  right: 0;
}

/* transition */
#search_f_menu .btn_change[data-search-results-change] {
  opacity: 1;
}

#search_f_menu .btn_change[data-search-results-cancel] {
  opacity: 0;
  pointer-events: none;
}

#search_f_menu .btn_change[data-search-results-submit] {
  opacity: 0;
  pointer-events: none;
}

#search_f_menu.active .btn_change[data-search-results-change] {
  opacity: 0;
  pointer-events: none;
}

#search_f_menu.active .btn_change[data-search-results-cancel] {
  opacity: 1;
  pointer-events: auto;
}

#search_f_menu.active .btn_change[data-search-results-submit] {
  opacity: 1;
  pointer-events: auto;
}




/**
 * 中央カラム
 * NOTE: タイトルなどの一覧以外の部品
**/
.search_center_wrap__func {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0 0 16px;
}
.search_center_wrap__func>*:first-child {
  margin-left: 0;
  margin-right: auto;
}

.search_center_wrap__title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 16px;
  padding: 0;
}
@media (max-width: 767.98px) {
  .search_center_wrap__title {
    font-size: 12px;
  }
}

.search_center_wrap__lead {
  font-size: 14px;
  line-height: 1;
  margin: 0 0 15px;
  padding: 0;
  color: #314158;
}
.search_center_wrap__func .search_center_wrap__lead {
  margin-bottom: 0;
}
.search_center_wrap__lead b {
  color: var(--site-c-main);
  font-size: 30px;
  font-weight: 700;
}
@media (max-width: 767.98px) {
  .search_center_wrap__lead {
    font-size: 14px;
    text-align: center;
  }
  .search_center_wrap__lead b {
    font-size: 30px;
  }
}


/**
 * サイドバー見出し
**/
.search_side_head {
  font-size: 18px;
  font-weight: 700;
  color: var(--site-c-main);
  margin-bottom: 15px;
}

/**
 * 条件クリアリンク
**/
.search_side_clear {
  text-align: center;
  margin-top: 15px;
}
.search_side_clear a {
  font-size: 14px;
  color: #62748C;
  text-decoration: underline;
}

/**
 * 物件選定の相談ボタン
**/
.search_side_consult {
  margin-top: 20px;
}
.search_side_consult a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  height: 50px;
  border-radius: 5px;
  background: #091645;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.search_side_consult a:hover {
  background: #44bdf2;
}
.search_side_consult .consult_icon {
  width: 20px;
  height: 20px;
}
.search_side_consult .consult_icon img {
  width: 100%;
  height: auto;
}
