@charset "UTF-8";

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


/**
 * 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 + #main.search_center_wrap {
  width: calc(100% - var(--search-content-gap) * 2 - var(--search-side-width) * 2);
}
@media (max-width: 959.98px) {
  #main.search_center_wrap {
    width: 100%;
  }
  .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 {
    width: 100%;
  }
}


/**
 * search left side
**/
#side.search_left_wrap {
  order: 1;
  max-width: none;
  width: var(--search-side-width);
  padding: 16px 0 0;
  margin-bottom: 16px;
  position: relative;
}
.search_left_banner {
  display: none;
  padding: 32px 0 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;
    pointer-events: none;
  }
  #side.search_left_wrap.active[data-search-items] {
    opacity: 1;
    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 {
  order: 3;
  max-width: none;
  width: var(--search-side-width);
  padding: 16px 0 0;
  margin-bottom: 16px;
  position: relative;
}
@media (max-width: 959.98px) {
  .search_right_wrap {
    display: none;
    width: auto;
  }
}


/**
 * search_form
**/
.search_form {
  border-radius: 4px;
  border: solid 1px var(--site-c-main-hue);
  box-shadow: var(--site-btn-shadow);
  background: #fff;
  color: var(--font-c);
  padding: 0;
  margin: 0;
  overflow: hidden;
}

/**
 * search_item
**/
.search_item {
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  padding: 0;
  margin: 0 0 16px;
  overflow: hidden;
  position: relative;
}
.search_item_head {
  background: var(--site-c-main-hue);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  font-feature-settings: 'palt';
  line-height: 1.4;
  text-align: center;
  padding: 8px 12px;
  margin: 0;
}
@media (max-width: 767.98px) {
  .search_item_head {
    font-size: 11px;
    padding: 8px 12px;
  }
}

.search_item_head .step_number {
  display: none;
}

.search_item_head[data-accordion-head]+* {
  position: relative;
  padding-bottom: 48px;
  height: 130px;
  /* NOTE: JSでアニメーションを行うためOFF */
  /*transition: all 0.6s ease;*/
  transition: none;
}
.search_item_head[data-accordion-head]+*::after {
  content: "";
    pointer-events: none;
    display: block;
    left: 0;
    right: 0;
    bottom: 0px;
    height: 44px;
    position: absolute;
    z-index: 2;
    box-shadow: 0 44px 0px rgb(255 255 255) inset;
}
.search_item_head.active[data-accordion-head]+*::after {
  box-shadow: 0 0 0 0 white inset;
}

/* 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: solid 1px var(--site-c-main-light);
  background: var(--site-c-main-light);
  color: var(--site-c-main);
  width: calc( 100% - 16px * 2 );
  height: 28px;
  font-size: 16px;
  position: absolute;
  top: auto;
  right: auto;
  bottom: 8px;
  left: 50%;
  z-index: 1000;
  transform: translate(-50%,0);
  cursor: pointer;
  transition: all 0.5s ease;
}
.search_item_open::before {
  content: "\f3d0";
  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;
  transition: inherit;
}
.search_item_open:focus,
.search_item_open:hover {
  opacity: 1;
}
.search_item_open.active {
  border: var(--site-c-main-hue);
  background: var(--site-c-main-hue);
  color: #fff;
}
.search_item_open.active::before {
  transform: rotateX(180deg);
}

/* search_item_area */
.search_item_area_btn {
  padding: 12px;
  text-align: center;
}

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


/* checkbox_list li.checkbox_list__ttl */
.checkbox_list__ttl {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  background: var(--site-bg-c-sub);
  font-size: 13px;
  font-weight: 700;
  gap: 1ex;
  padding: 2px 8px;
}
*+.checkbox_list__ttl {
  margin-top: 4px;
}

/* checkbox_list */
.checkbox_list_area {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
  padding: 0 12px 12px;
}
@media (max-width: 767.98px) {
  .checkbox_list_area {
    padding: 0 12px 12px;
  }
}
/* if search box is right side */
@media (min-width: 768px) {
  .checkbox_list_area > li {
    width: 33.33%;
  }
}
@media (min-width: 960px) {
  .checkbox_list_area > li {
    width: 33.33%;
  }
}
@media (min-width: 1200px) {
  .checkbox_list_area > li {
    width: 33.33%;
  }
}

.checkbox_list_area > li input {
  display: none;
  float: left;
  margin-top: 6px;
}

.checkbox_list_area > li a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: var(--site-c-gray);
  font-size: 13px;
  padding: 4px 0;
  position: relative;
}
.checkbox_list_area > li a::before {
  content: '\f3d3';
  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;
  margin: 0 1ex 0 0;
  transform: translate(0,0) scale(1);
}

/* 路線検索の２階層目（路線や駅の選択の画面のとき） */
.checkbox_list_area:has([type="radio"]) > li,
.checkbox_list_area:has([type="checkbox"]) > li {
  width: 100%;
}
.checkbox_list_area> li [type="radio"],
.checkbox_list_area> li [type="checkbox"] {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  border: solid 1px var(--site-c-main);
  color: var(--site-c-main);
  width: 1em;
  height: 1em;
  margin: 0 1ex 0 0;
  transform: translate(0,6.666%);
  order: -1;
}
.checkbox_list_area:has([type="radio"]) > li label,
.checkbox_list_area:has([type="checkbox"]) > li label {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: var(--site-c-gray);
  font-size: 12px;
  padding: 4px 0;
  position: relative;
}
.checkbox_list_area:has([type="radio"]) > li a::before,
.checkbox_list_area:has([type="checkbox"]) > li a::before {
  display: none;
}

@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 {
    padding: 12px 12px 0;
    font-size: 12px;
    color: var(--site-c-gray);
    width: 100%;
  }
}
@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: 12px 12px;
  }
  .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 {
    font-size: 12px;
    padding: 8px 0 8px;
    margin-right: 16px;
  }
}

/* NOTE: 本来非表示ですが使用している箇所があるので、これはパッチ目的です。 */
.checkbox_list > li input {
  border-radius: 2px;
  border: solid 1px var(--site-c-main);
  color: var(--site-c-main);
  width: 1em;
  height: 1em;
  margin: 0 1ex 0 0;
  transform: translate(0,6.666%);
  order: -1;
}

/* search_item word_search */
.search_item .word_search_wrap {
  font-size: 13px;
  width: 100%;
  padding: 12px 12px 0;
}
.search_item .word_search {
  font-size: 13px;
  width: 100%;
}
.search_item [type="search"],
.search_item [type="text"] {
  border-radius: 2px;
  border: solid 1px var(--site-input-border-c);
  font-size: inherit;
  width: 100%;
  height: 40px;
  padding: 8px;
}

/* search_item button */
.search_item_submit {
  text-align: center;
  width: 100%;
  padding: 0 12px 16px;
}
.search_item_submit .btn {
  font-size: 13px;
  max-width: none;
  height: 40px;
}
.search_item_submit .btn+.btn {
  margin-top: 12px;
}



.search_change_view {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
}
.search_change_view__title {
  font-size: 14px;
  font-weight: 400;
}
.search_change_view__selection {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 12px;
  font-weight: 400;
  gap: 16px;
  flex: initial;
}
.search_change_view__selection .select {
  font-size: inherit;
  font-weight: inherit;
}
.search_change_view__selection .select select {
  height: 30px;
  line-height: 28px;
}

/**
 * 検索項目
**/
.option {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  padding: 0;
  position: relative;
  cursor: pointer;
}
.option [type="checkbox"],
.option [type="radio"] {
  position: absolute;
  opacity: 0;
}
.option_status {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  border: solid 1px var(--site-c-main);
  color: var(--site-c-main);
  border: solid 1px var(--font-c);
  color: var(--font-c);
  width: 1em;
  height: 1em;
  margin: 0 1ex 0 0;
  transform: translate(0,6.666%);
  order: -1;
}
.option_status::before {
  content: '';
  display: block;
  opacity: 0;
  transition: opacity 0.2s ease;
}
/* .option_status checkbox */
.option:has([type="checkbox"]) .option_status {
  border-radius: 2px;
}
.option:has([type="checkbox"]) .option_status::before {
  content: "\f3fd";
  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;
  transform: translate(2%,0) scale(1.75);
}
/* .option_status radio */
.option:has([type="radio"]) .option_status {
  border-radius: 50%;
}
.option:has([type="radio"]) .option_status::before {
  content: '';
  display: block;
  border-radius: 50%;
  background: var(--site-c-main-hue);
  width: 0.4em;
  height: 0.4em;
}

/* hover,focus style */
.option:hover .option_status::before {
  opacity: 1;
  filter: brightness(1.5);
}
/* checked style */
.option:has(:checked) .option_status::before {
  opacity: 1;
}


/**
 * レンジ
 * NOTE: 他のUIやhtmlと組み合わせることが出来ません。また !importantの記述不可
**/
.range_search_wrap {
  --site-input-height: 40px;
  --range-btn-height: 20px;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: stretch;
  padding: 20px 12px 0;
  gap: 18px 6px;
}
.range_search__range {
  width: calc( 100% - 20px );
  height: var(--range-btn-height);
  margin-inline: auto;
  position: relative;
  cursor: pointer;
}
.range_search__range::after {
  content: '';
  display: block;
  background: var(--site-c-main-light);
  width: 100%;
  height: 6px;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  transform: translate(0,-50%);
}
/* NOTE: .range_search__range_bar はJS出力 */
/* NOTE: right, left プロパティはJSで変更されます */
.range_search__range_bar {
  display: block;
  width: auto;
  height: 100%;
  position: absolute;
  top: 50%;
  right: 0;
  bottom: auto;
  left: 0;
  z-index: 5;
  transform: translate(0,-50%);
  pointer-events: none;
}
.range_search__range_bar::after {
  content: '';
  display: block;
  border-radius: 6px;
  background: var(--site-c-main-hue);
  width: 100%;
  height: 6px;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  transform: translate(0,-50%);
}
/* NOTE: .range_search__range_button はJS出力 */
/* NOTE: .range_search__range_button は .range_search__range_barの中に配置されます */
.range_search__range_button {
  display: block;
  border-radius: 50%;
  border: solid 1px var(--site-c-main-hue);
  background: #fff;
  width: var(--range-btn-height);
  height: var(--range-btn-height);
  position: absolute;
  top: 0;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 10;
  transition: border 0.2s ease, background 0.2s ease;
}
.range_search__range_button.is--active {
  border: solid 1px var(--site-c-main-hue);
  background: var(--site-c-main-hue);
}
.range_search__range_button[data-range-ui-button="left"] {
  /* NOTE: 変更やプロパティの追加不可 */
  left: 0;
  transform: translate(-50%,0);
}
.range_search__range_button[data-range-ui-button="right"] {
  /* NOTE: 変更やプロパティの追加不可 */
  left: 100%;
  transform: translate(-50%,0);
}

.range_search__select {
  font-size: 14px;
  flex: 1 1;
}
.range_search__select>select {
  font-size: inherit;
  height: var(--site-input-height);
  line-height: calc( var(--site-input-height) - 2px );
}
.range_search__select>select>option {
  font-size: inherit;
}
.range_search__select>select>option {
}
.range_search__select>select>option:disabled {
  color: #ccc;
}


/**
 * フローティングメニュー
**/
#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: 14px 14px;
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
  transition: background-color 0.4s ease, color 0.2s ease;
}

#search_f_menu.active {
  background: #000000;
  color: #ffffff;
}

@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: 3em;
  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 {
  border-radius: 4px;
  background: var(--site-c-main-light);
  color: var(--font-c);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 16px;
  padding: 12px 16px;
  position: relative;
  overflow: hidden;
}
.search_center_wrap__title::before {
  content: '';
  display: block;
  border-left: solid 2px var(--site-c-main);
  position: absolute;
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  z-index: 1;
}
@media (max-width: 767.98px) {
  .search_center_wrap__title {
    font-size: 12px;
  }
}

.search_center_wrap__lead {
  color: var(--font-c);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 8px;
  padding: 0;
}
.search_center_wrap__func .search_center_wrap__lead {
  margin-bottom: 0;
}
.search_center_wrap__lead b {
  color: var(--site-c-main);
  font-size: 20px;
  font-weight: inherit;
}
@media (max-width: 767.98px) {
  .search_center_wrap__lead {
    font-size: 16px;
    text-align: center;
  }
  .search_center_wrap__lead b {
    font-size: 20px;
  }
}

