/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 3 version
*/

@charset "UTF-8";

/*
========================================
　assets/css/topSearchBar/md.css
  [PC]検索バー用CSS
  min-width: 751px
========================================
*/

/* -----------------
  topSearchBar
----------------- */
.topSearchBarHeading {
    display: none;
}

.topSearchBarCount {
    font-size: 14px;
    color: #333;
    padding: 10px 0 0;
    margin-bottom: 10px;
}

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

.topSearchBarCard {
    display: none;
}

.topSearchBarCardArrow {
    display: none;
}

.topSearchBarCardLabel {
    display: none;
}

.topSearchBarCards {
    display: contents;
}

.topSearchBarSearchRow {
    display: contents;
}

.topSearchBarModalOverlay {
    display: none !important;
}

.topSearchBarModal {
    display: none !important;
}

.topSearchBarBtnText {
    display: inline;
}

.topSearchBar {
    background: linear-gradient(135deg, #fef5f0 0%, #fff0e8 100%);
    border: 1px solid #f5d5c8;
    border-radius: 16px;
    padding: 28px 32px;
    max-width: 960px;
    margin: 30px auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: 0 4px 20px rgba(249, 116, 71, 0.08);
    box-shadow: 0 4px 20px rgba(249, 116, 71, 0.08);
}

.topSearchBarInner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
}

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

.topSearchBarSelect > i:first-child {
    position: absolute;
    left: 14px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #F97447;
    font-size: 14px;
    pointer-events: none;
    z-index: 2;
}

.topSearchBarTrigger {
    width: 100%;
    height: 48px;
    padding: 0 36px 0 38px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    color: #999;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-user-select: none;
    user-select: none;
    -webkit-transition: border-color 0.2s, box-shadow 0.2s;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.topSearchBarTrigger.has-value {
    color: #333;
    font-weight: 500;
}

.topSearchBarTrigger:hover {
    border-color: #F9A07A;
    -webkit-box-shadow: 0 0 0 3px rgba(249, 116, 71, 0.08);
    box-shadow: 0 0 0 3px rgba(249, 116, 71, 0.08);
}

.topSearchBarSelect.is-open .topSearchBarTrigger {
    border-color: #F97447;
    -webkit-box-shadow: 0 0 0 3px rgba(249, 116, 71, 0.12);
    box-shadow: 0 0 0 3px rgba(249, 116, 71, 0.12);
}

.topSearchBarArrow {
    position: absolute;
    right: 14px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 11px;
    color: #999;
    pointer-events: none;
    -webkit-transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
}

.topSearchBarSelect.is-open .topSearchBarArrow {
    -webkit-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg);
    color: #F97447;
}

.topSearchBarDropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    min-width: 180px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    -webkit-box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 280px;
    overflow-y: auto;
    padding: 4px 0;
}

.topSearchBarSelect.is-open .topSearchBarDropdown {
    display: block;
}

.topSearchBarDropdownItem {
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    -webkit-transition: background 0.1s;
    transition: background 0.1s;
}

.topSearchBarDropdownItem:hover {
    background: #f5f5f5;
}

.topSearchBarDropdownItem.is-selected {
    background: #FFF5F0;
    color: #F97447;
    font-weight: 600;
    position: relative;
}


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

.topSearchBarFreeword input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 14px;
    color: #333;
    border: 1px solid #e0e0e0;
    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.12);
    box-shadow: 0 0 0 3px rgba(249, 116, 71, 0.12);
}

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

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

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

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

.topSearchBarBtn {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    height: 48px;
    padding: 0 28px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(180deg, #6cc96c 0%, #4fad4f 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    -webkit-box-shadow: 0 2px 8px rgba(92, 184, 92, 0.3);
    box-shadow: 0 2px 8px rgba(92, 184, 92, 0.3);
    -webkit-transition: transform 0.15s ease, box-shadow 0.15s ease;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.topSearchBarBtn:hover {
    -webkit-box-shadow: 0 4px 12px rgba(92, 184, 92, 0.4);
    box-shadow: 0 4px 12px rgba(92, 184, 92, 0.4);
}

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