/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 3 version
*/

@charset "UTF-8";

/*
========================================
　assets/css/topSearchBar/xs.css
  [SP]検索バー用CSS
  max-width: 750px
========================================
*/

/* -----------------
  topSearchBar
----------------- */
.topSearchBar {
  background: #fff;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

.topSearchBarHeading {
  background: #F97447;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  padding: 10px 14px;
  margin: 0 10px;
  border-radius: 8px 8px 0 0;
}

.topSearchBarCount {
  font-size: 13px;
  color: #333;
  padding: 10px 16px 0;
  margin: 0 10px;
  background: #f0f4f8;
  border-left: 1px solid #d6e2ed;
  border-right: 1px solid #d6e2ed;
}

.topSearchBarCountNum {
  font-size: 22px;
  font-weight: bold;
  color: #e05050;
}

.topSearchBarInner {
  background: #f0f4f8;
  margin: 0 10px;
  padding: 10px 14px 14px;
  border-left: 1px solid #d6e2ed;
  border-right: 1px solid #d6e2ed;
  border-bottom: 1px solid #d6e2ed;
  border-radius: 0 0 8px 8px;
}

.topSearchBarCards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.topSearchBarSearchRow {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
}

.topSearchBarSelect {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0%;
  flex: 1 1 0%;
  min-width: 0;
  text-align: center;
}

.topSearchBarSelect > i:first-child {
  display: none;
}

.topSearchBarCard {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 10px 6px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  cursor: pointer;
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  -webkit-transition: border-color 0.15s, box-shadow 0.15s;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.topSearchBarCard:active {
  border-color: #F97447;
  -webkit-box-shadow: 0 1px 8px rgba(249, 116, 71, 0.15);
  box-shadow: 0 1px 8px rgba(249, 116, 71, 0.15);
}

.topSearchBarCardLabel {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  margin-top: 2px;
}

.topSearchBarCardValue {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 10px;
  color: #F97447;
  font-weight: 600;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topSearchBarCardValue:empty {
  display: none;
}

.topSearchBarIcon {
  width: 38px;
  height: 38px;
  border: 2px solid #F97447;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff 0%, #fff5f0 100%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.topSearchBarIcon i {
  color: #F97447;
  font-size: 15px;
}

.topSearchBarCardArrow {
  color: #F97447;
  font-size: 10px;
  margin-left: 4px;
}

.topSearchBarTrigger {
  display: none;
}

.topSearchBarTrigger.has-value {
  display: none;
}

.topSearchBarSelect.is-open .topSearchBarTrigger {
  display: none;
}

.topSearchBarArrow {
  display: none !important;
  width: 0;
  height: 0;
  overflow: hidden;
}

.topSearchBarDropdown {
  display: none;
}

.topSearchBarFreeword {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0%;
  flex: 1 1 0%;
  min-width: 0;
}

.topSearchBarFreeword input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-size: 14px;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  outline: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: border-color 0.2s, box-shadow 0.2s;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.topSearchBarFreeword input:focus {
  border-color: #F97447;
  -webkit-box-shadow: 0 0 0 3px rgba(249, 116, 71, 0.1);
  box-shadow: 0 0 0 3px rgba(249, 116, 71, 0.1);
}

.topSearchBarFreeword input::-webkit-input-placeholder {
  color: #aaa;
}

.topSearchBarFreeword input::placeholder {
  color: #aaa;
}

.topSearchBarBtn {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 44px;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  font-size: 0;
  color: #fff;
  background: linear-gradient(180deg, #6cc96c 0%, #4fad4f 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0;
  -webkit-box-shadow: 0 2px 6px rgba(92, 184, 92, 0.3);
  box-shadow: 0 2px 6px rgba(92, 184, 92, 0.3);
}

.topSearchBarBtn:active {
  -webkit-box-shadow: 0 1px 3px rgba(92, 184, 92, 0.2);
  box-shadow: 0 1px 3px rgba(92, 184, 92, 0.2);
}

.topSearchBarBtnText {
  display: none;
}

.topSearchBarBtn i {
  font-size: 18px;
}

/* Modal */
.topSearchBarModalOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}

.topSearchBarModalOverlay.is-active {
  display: block;
}

.topSearchBarModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  z-index: 9999;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.topSearchBarModal.is-active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.topSearchBarModalHeader {
  background: #F97447;
  color: #fff;
  padding: 14px 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}

.topSearchBarModalTitle {
  font-size: 16px;
  font-weight: bold;
}

.topSearchBarModalClose {
  background: rgba(255,255,255,0.25);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
}

.topSearchBarModalBody {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
}

.topSearchBarModalItem {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.topSearchBarModalItem:last-child {
  border-bottom: none;
}

.topSearchBarModalCheckbox {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 12px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}

.topSearchBarModalItem.is-selected .topSearchBarModalCheckbox::after {
  content: "";
  display: block;
  position: absolute;
  top: 2px;
  left: 8px;
  width: 14px;
  height: 20px;
  border-bottom: 5px solid #F97447;
  border-right: 5px solid #F97447;
  border-radius: 2px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.topSearchBarModalFooter {
  background: #2a2a2a;
  padding: 12px 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}

.topSearchBarModalOther {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0%;
  flex: 1 1 0%;
  background: #fff;
  color: #F97447;
  border: 2px solid #F97447;
  border-radius: 8px;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
}

.topSearchBarModalOther:active {
  background: #FFF5F0;
}

.topSearchBarModalSubmit {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0%;
  flex: 1 1 0%;
  background: linear-gradient(180deg, #6cc96c 0%, #4fad4f 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  -webkit-box-shadow: 0 2px 6px rgba(92, 184, 92, 0.3);
  box-shadow: 0 2px 6px rgba(92, 184, 92, 0.3);
}

.topSearchBarModalSubmit:active {
  -webkit-box-shadow: 0 1px 3px rgba(92, 184, 92, 0.2);
  box-shadow: 0 1px 3px rgba(92, 184, 92, 0.2);
}

/* Region Modal */
.topSearchBarModalRegion {
  border-bottom: 1px solid #eee;
}

.topSearchBarModalRegionHeader {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 14px 16px;
  background: #f7f7f7;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.topSearchBarModalRegionName {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

.topSearchBarModalRegionCount {
  font-size: 12px;
  color: #888;
  margin-left: 6px;
}

.topSearchBarModalRegionArrow {
  margin-left: auto;
  font-size: 16px;
  color: #999;
  -webkit-transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
  line-height: 1;
}

.topSearchBarModalRegionHeader.is-open .topSearchBarModalRegionArrow {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.topSearchBarModalRegionBody {
  display: none;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 8px 12px 12px;
}

.topSearchBarModalRegionBody.is-open {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.topSearchBarModalRegionItem {
  width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 10px 6px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.topSearchBarModalRegionItem .topSearchBarModalCheckbox {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 8px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}

.topSearchBarModalRegionItem.is-selected .topSearchBarModalCheckbox::after {
  content: "";
  display: block;
  position: absolute;
  top: 2px;
  left: 8px;
  width: 14px;
  height: 20px;
  border-bottom: 5px solid #F97447;
  border-right: 5px solid #F97447;
  border-radius: 2px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
