/* anchor2
========================================================================*/

.pbMainArea.pink .anchor ul {
  background-color: #c6e2ff;
  justify-content: space-evenly;
  max-width: 100%;
}
.pbMainArea.pink .anchor a {
  color: #83474a;
}
.pbMainArea.pink .anchor.fixed {
  position: fixed;
  display: block;
  top: 68px;
  width: 100%;
  z-index: 100;
}
.pbMainArea.pink .anchor.fixed ul {
  background-color: rgb(220 235 250 / 60%);
}
.pbMainArea.pink .anchor ul .fixed-show {
  display: none;
}
.pbMainArea.pink .anchor.fixed ul .fixed-show {
  display: block;
}

@media screen and (max-width: 767px) {
  .pbMainArea.pink .anchor {
    background-color: #c6e2ff;
    padding: 12px;
  }
  .pbMainArea.pink .anchor ul {
    display: flex;
    justify-content: space-between;
    padding: 0;
    width: 100%;
    background-color: unset;
    gap: 2px;
    box-shadow: 0 0 6px rgb(0 0 0 / 16%);
    border-radius: 5px;
  }
  .pbMainArea.pink .anchor li {
    width: calc(50% - 1px);
    text-align: center;
    margin: 0;
    background-color: #fff;
    line-height: 1.3;
    flex-grow: 1;
  }
 .pbMainArea.pink .anchor li:nth-child(2) {
    border-radius: 5px 0 0 0;
  }
 .pbMainArea.pink .anchor li:nth-child(3) {
    border-radius: 0 5px 0 0;
  }
 .pbMainArea.pink .anchor li:nth-last-child(2) {
    border-radius: 0 0 0 5px;
  }
 .pbMainArea.pink .anchor li:last-child {
    border-radius: 0 0 5px 0;
  }
  .pbMainArea.pink .anchor a {
    font-size: 87.5%;
    position: relative;
    display: block;
    padding: 13px 20px 13px 10px;
    height: 100%;
    font-weight: bold;
  transition: none;
  }
  .pbMainArea.pink .anchor a:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 9px;
    margin: auto;
    width: 5px;
    height: 5px;
    border-right: 2px solid #aaaaaa;
    border-bottom: 2px solid #aaaaaa;
    transform: rotate(45deg);
    transition: all .3s;
  }
  .pbMainArea.pink .anchor.fixed {
    top: 0;
    bottom: auto;
    padding: 8px;
    background-color: rgb(220 235 250 / 60%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .pbMainArea.pink .anchor.fixed ul {
    display: flex;
    background-color: unset;
    margin: 0px;
    width: 100%;
    backdrop-filter: none;
  }
 .pbMainArea.pink .anchor.fixed li {
    width: calc(100%/3 - 2px);
  }
 .pbMainArea.pink .anchor.fixed li:nth-child(2) {
    border-radius: 5px 0 0 0;
  }
 .pbMainArea.pink .anchor.fixed li:nth-child(3) {
    border-radius: 0;
  }
 .pbMainArea.pink .anchor.fixed li:nth-child(4) {
    border-radius: 0 5px 0 0;
  }
 .pbMainArea.pink .anchor.fixed li:nth-last-child(3) {
    border-radius: 0 0 0 5px;
  }
 .pbMainArea.pink .anchor.fixed li:nth-last-child(2) {
    border-radius: 0;
  }
 .pbMainArea.pink .anchor.fixed li:last-child {
    border-radius: 0 0 5px 0;
  }
  .pbMainArea.pink .anchor.fixed a {
    font-size: 70%;
    padding: 10px 15px 10px 8px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pbMainArea.pink .anchor.fixed a:after {
    width: 4px;
    height: 4px;
    right: 8px;
  }
  .pbAnchor a {
    padding-top: 80px;
    margin-top: -80px;
    display: block;
  }
}



/* 1. 通常時（PC版）の配色 */
.pbMainArea.pink .anchor ul {
  background-color: #e0f2f7 !important; /* 清潔感のある薄いブルー */
  justify-content: space-evenly;
  max-width: 100%;
}

/* 2. 文字色の変更（全デバイス共通） */
.pbMainArea.pink .anchor a {
  color: #333333 !important; /* ダークグレー */
}

/* 3. 固定時（スクロールして上部に張り付いた時）の配色 */
.pbMainArea.pink .anchor.fixed ul {
  /* 薄いブルーを少し透けさせた状態（不透明度80%） */
  background-color: rgb(224 242 247 / 80%) !important;
}

/* 4. スマホ版（767px以下）の微調整 */
@media screen and (max-width: 767px) {
  /* スマホ版のメニュー外枠（土台）の色 */
  .pbMainArea.pink .anchor {
    background-color: #b3e5f2 !important; /* 少し濃いめの水色（アクセント） */
  }

  /* 固定された時の背景（すりガラス効果との組み合わせ） */
  .pbMainArea.pink .anchor.fixed {
    background-color: rgb(224 242 247 / 70%) !important;
  }
}
