/* =========================================================
   Axis Side
   PC outer navigation
   Hero縦書き踏襲 / PC専用
========================================================= */

/* =========================================================
   Side Area
========================================================= */

.l-axis__side {
  position: relative;
  z-index: 5;

  display: flex;
  align-items: flex-start;
  justify-content: center;

  min-width: 180px;
  height: 100%;
  padding-top: 25vh;
  box-sizing: border-box;
}

/* =========================================================
   Side Background
   PHPで出力する .p-axis-sideBg のみを背景レイヤーにする
   ※ body / l-axis / l-axis__inner / l-axis__main には触らない
========================================================= */

.p-axis-sideBg {
  display: none;
}

@media screen and (min-width: 961px) {
  .p-axis-sideBg {
    display: block;

    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 0;

    width: calc((100vw - 560px) / 2);

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;

    pointer-events: none;
  }

  .p-axis-sideBg::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;
  }

  .p-axis-sideBg--left {
    left: 0;
    background-image: url("../../../site/assets/img/axis-bg-left-store.webp");
  }

  .p-axis-sideBg--right {
    right: 0;
    background-image: url("../../../site/assets/img/axis-bg-right-yakitori.webp");
  }

  .p-axis-sideBg--left::after {
    background:
      linear-gradient(
        90deg,
        rgba(3, 6, 12, 0.34) 0%,
        rgba(3, 6, 12, 0.16) 45%,
        rgba(3, 6, 12, 0.48) 100%
      );
  }

  .p-axis-sideBg--right::after {
    background:
      linear-gradient(
        90deg,
        rgba(3, 6, 12, 0.48) 0%,
        rgba(3, 6, 12, 0.16) 55%,
        rgba(3, 6, 12, 0.34) 100%
      );
  }
}

/* =========================================================
   Side Nav
========================================================= */

.p-axis-sideNav {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;
}

.p-axis-sideNav__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;

  margin: 0;
  padding: 0;

  list-style: none;
}

/* =========================================================
   Link
   Heroの縦書き感を踏襲
========================================================= */

.p-axis-sideNav__link {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  writing-mode: vertical-rl;
  text-orientation: upright;

  min-height: 7.5em;
  padding: 18px 8px;

  border: 1px solid rgba(224, 185, 110, 0.32);

  background:
    linear-gradient(
      180deg,
      rgba(4, 8, 16, 0.38),
      rgba(4, 8, 16, 0.62)
    );

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);

  color: rgba(255, 255, 255, 0.92);

  font-family: "YujiBokuCatch", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.16em;

  text-decoration: none;

  text-shadow:
    0 1px 6px rgba(0, 0, 0, 0.82),
    0 0 18px rgba(0, 0, 0, 0.52);

  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    text-shadow 0.25s ease,
    transform 0.25s ease;
}

/* 金の細線 */
.p-axis-sideNav__link::before {
  content: "";

  position: absolute;
  top: 50%;
  right: -10px;

  width: 1px;
  height: 72%;

  background: linear-gradient(
    to bottom,
    rgba(194, 143, 75, 0),
    rgba(224, 185, 110, 0.92),
    rgba(194, 143, 75, 0)
  );

  transform: translateY(-50%);
  opacity: 0.76;
}

.p-axis-sideNav__link:hover {
  border-color: rgba(224, 185, 110, 0.56);

  background:
    linear-gradient(
      180deg,
      rgba(31, 47, 83, 0.42),
      rgba(4, 8, 16, 0.68)
    );

  color: rgba(224, 185, 110, 0.98);

  text-shadow:
    0 1px 8px rgba(0, 0, 0, 0.9),
    0 0 18px rgba(194, 143, 75, 0.42);

  transform: translateY(-3px);
}

/* =========================================================
   Left / Right
========================================================= */

.l-axis__side--left .p-axis-sideNav__list {
  transform: translateX(-6px);
}

.l-axis__side--right .p-axis-sideNav__list {
  transform: translateX(6px);
}

.l-axis__side--right .p-axis-sideNav__link::before {
  right: auto;
  left: -10px;
}

/* =========================================================
   SP
   SPではAxis内だけで完結
========================================================= */

@media screen and (max-width: 960px) {
  .l-axis__side {
    display: none;
    padding-top: 0;
  }

  .p-axis-sideBg {
    display: none;
  }
}
