/* ================================
    PC 体裁（デフォルト）
================================ */

/* 共通 */
.bottom-nav,
.bottom-nav * {
  box-sizing: border-box;
}

/* nav 内の要素を横並びにする */
.bottom-nav__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.s .bottom-nav__row {
  display: block;
}

/* ================================
    画面下部固定ナビゲーション
================================ */

/* SNS アイコン側（左） */
.sns-btn {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  max-width: 248px;
  width: 100%;
}
.sns-btn li a img {
  width: 28px;
  height: 28px;
}

/* PC：画面下部中央寄せ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: #ffffff;
  border-radius: 30px 30px 0 0;
  padding: 0 30px;
  box-shadow: 0 -8px 24px 0 #0132742e;
  z-index: 99999;
}
/* SP：画面下フル幅 */
.s .bottom-nav {
  padding-left: 8px;
  padding-right: 8px;
}
/* 白いタブ本体（PC） */
.bottom-nav__list {
  margin: 0 auto;
  padding: 16px 0px 8px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 480px;
  width: 100%;
}
/* 白タブ本体（SP） */
.s .bottom-nav__list {
  max-width: 330px;
  padding: 12px 0px 6px;
}
/* アイテム */
.bottom-nav__item {
  text-align: center;
  width: 120px;
}

/* ボタン */
.bottom-nav__button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  padding: 0;
  margin: 0;
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
}
/* アイコン画像サイズ（PC） */
.bottom-nav__icon img {
  width: 28px;
  height: auto;
}
/* アイコン画像サイズ（SP） */
.s .bottom-nav__icon img {
  width: 20px;
  height: auto;
}
/* ラベル（PC） */
.bottom-nav__label {
  display: block;
  font-size: 16px;
  line-height: 1.4;
  color: #0c72be;
}
/* ラベル（SP） */
.s .bottom-nav__label {
  font-size: 13px;
}
/* ================================
    Active（中央の「さがす」）
================================ */

.bottom-nav__item--active {
  position: relative;
}

.bottom-nav__item--active .bottom-nav__button {
  position: relative;
  margin-top: -18px;
}

/* アクティブ時：丸い青背景（PC） */
.bottom-nav__item--active .bottom-nav__button::before {
  content: '';
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #27c5ff 10%, #006ed6 50%);
  box-shadow: 0 4px 8px rgba(0, 80, 180, 0.35);
  z-index: -1;
}
/* アクティブ時：丸い青背景（SP） */
.s .bottom-nav__item--active .bottom-nav__button::before {
  top: -18%;
  width: 80px;
  height: 80px;
  background: linear-gradient(to bottom, #27c5ff 10%, #006ed6 55%);
}
/* アクティブ時の文字 */
.bottom-nav__item--active .bottom-nav__label {
  color: #ffffff;
}
