@charset "UTF-8";
/**
 * SCSS Mixins
 *
 * 利用例:
 * @use 'mixin' as m;
 *
 * .example {
 *   font-size: 14px;
 *   @include m.mq('pc') {
 *     font-size: 18px;
 *   }
 * }
 */
/* =========================================================
   追従 店舗検索メニュー  .p-salon-search
   緑: #009245
   ========================================================= */
.p-salon-search {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
  font-family: "Noto Sans JP", sans-serif;
}

/* ---- ヘッダー（緑・クリックで開閉） ---- */
.p-salon-search__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  height: 55px;
  padding: 0 14px;
  background: #009245;
  color: #fff;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.p-salon-search__head-ja {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1;
  font-family: "Noto Serif JP", serif;
}

.p-salon-search__head-en {
  font-family: "EB Garamond", serif;
  font-size: 15px;
  letter-spacing: 0.25em;
  line-height: 1;
}

.p-salon-search__head-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* 閉じている時は矢印を上向きに */
.p-salon-search:not(.is-open) .p-salon-search__head-icon {
  transform: rotate(180deg);
}

/* ---- 本体（開閉アニメーション：grid-template-rows で滑らかに） ---- */
.p-salon-search__body {
  display: grid;
  grid-template-rows: 1fr;
  overflow: hidden;
  transition: grid-template-rows 0.4s ease;
}

.p-salon-search:not(.is-open) .p-salon-search__body {
  grid-template-rows: 0fr;
}

.p-salon-search__body-inner {
  min-height: 0;
  max-height: 80vh;
  overflow-y: auto;
}

/* padding は折りたたみ対象(body-inner)に持たせず内側へ。
   padding があるとトラックが 0 まで縮まず余白が漏れるため */
.p-salon-search__body-content {
  padding: 8px 22px 22px;
}
@media screen and (min-width: 768px) {
  .p-salon-search__body-content {
    padding: 22px 34px 22px;
  }
}

/* 閉じている間は内側のスクロールを無効化してクリッピングを優先 */
.p-salon-search:not(.is-open) .p-salon-search__body-inner {
  overflow: hidden;
}

/* ---- アコーディオン（ブランド / メニュー） ---- */
.p-salon-search__acc {
  border-bottom: 1px solid #e2ded8;
}

.p-salon-search__acc-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 4px;
  background: none;
  border: none;
  cursor: pointer;
  color: #4a4a4a;
}

.p-salon-search__acc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  color: #8a8a8a;
}

.p-salon-search__acc-ttl {
  font-size: 17px;
  letter-spacing: 0.12em;
  font-family: "Noto Serif JP", serif;
}

.p-salon-search__acc-arrow {
  position: relative;
  width: 16px;
  height: 16px;
  margin-left: auto;
  transition: transform 0.3s ease;
}

.p-salon-search__acc-arrow::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 11px;
  height: 11px;
  border-right: 1.5px solid #6a6a6a;
  border-bottom: 1.5px solid #6a6a6a;
  transform: rotate(45deg);
}

.p-salon-search__acc.is-expanded .p-salon-search__acc-arrow {
  transform: rotate(180deg);
}

.p-salon-search__acc-body {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.4s ease;
}

.p-salon-search__acc.is-expanded .p-salon-search__acc-body {
  grid-template-rows: 1fr;
}

/* grid 行アニメーションのため直下要素は overflow を隠す */
.p-salon-search__acc-body > * {
  min-height: 0;
  overflow: hidden;
}

/* ---- ブランドロゴ ---- */
.p-salon-search__brands {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 10px 6px 26px;
  list-style: none;
}

.p-salon-search__brands-item {
  flex: 1 1 0;
  text-align: center;
}

.p-salon-search__brands-link {
  display: block;
}

.p-salon-search__brands-link img {
  width: auto;
  max-width: 100%;
  max-height: 47px;
  margin: 0 auto;
  -o-object-fit: contain;
  object-fit: contain;
}

/* ---- メニュー項目 ---- */
.p-salon-search__menus {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 6px 6px 22px;
  list-style: none;
}

.p-salon-search__menus-item {
  flex: 1 1 40%;
}

.p-salon-search__menus-link {
  display: block;
  padding: 12px 10px;
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #4a4a4a;
  background: #f3f1ee;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.p-salon-search__menus-link:hover {
  background: #e7e3dd;
}

/* ---- フリーワード検索 ---- */
.p-salon-search__form {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-top: 22px;
}

.p-salon-search__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 18px;
  height: 55px;
  font-size: 16px;
  color: #4a4a4a;
  background: #ededeb;
  border: none;
  border-radius: 2px;
}

.p-salon-search__input::-moz-placeholder {
  color: #b3b0aa;
}

.p-salon-search__input::placeholder {
  color: #b3b0aa;
}

.p-salon-search__submit {
  flex-shrink: 0;
  width: 96px;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: #c98a9c;
  cursor: pointer;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, rgb(144, 195, 160) 0%, rgb(137, 122, 182) 50%, rgb(239, 178, 127) 100%) border-box;
  border: 2px solid transparent;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}

.p-salon-search__submit:hover {
  opacity: 0.8;
}

/* ---- 店舗一覧へ ---- */
.p-salon-search__more {
  margin-top: 18px;
}

.p-salon-search__more-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  font-size: 18px;
  letter-spacing: 0.18em;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  background: #009245;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}

.p-salon-search__more-link:hover {
  opacity: 0.9;
}

/* =========================================================
   PC：右下フローティング（追従）
   ========================================================= */
@media screen and (min-width: 768px) {
  .p-salon-search {
    left: auto;
    right: 64px;
    bottom: 0px;
    width: 360px;
    max-width: 360px;
    margin: 0;
    overflow: hidden;
  }
  .p-salon-search__head {
    padding: 0 43px;
    height: 80px;
  }
  .p-salon-search__body-inner {
    max-height: 70vh;
  }
  .p-salon-search__head-ja {
    font-size: 25px;
  }
  .p-salon-search__acc-ttl {
    font-size: 19px;
  }
}
/*# sourceMappingURL=salon-search.css.map */