/**
 * [CRE][219662]
 * [hoang_thien][2026-10-01]
 */
:root {
  --bg: #ffffff;
  --ink: #222222;
  --accent: #2A4359;
  --accent-sub: #8B8B8B;

  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Inter", sans-serif;

  --nav-color-off: #8B8B8B;
  --nav-color-on: #2A4359;
  --nav-bg: rgba(255, 255, 255, 0.8);
  --nav-blur: 5px;
  --nav-badge-bg: #E10D0C;
  --nav-badge-color: #ffffff;

  --nav-gap: clamp(16px, 32vw - 104px, 24px);
  --nav-pad-x: 24px;
  --nav-pad-y: 6px;
}


/* ==========================================================================
Component - Bottom Navigation (SP only)
========================================================================== */
.c-bottomnav-wrap {
  position: fixed;
  left: 50%;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  /* transform: translateX(-50%); */
  translate: -50% 0;
  z-index: 98;
  width: max-content;
  max-width: calc(100vw - 50px);
  -webkit-tap-highlight-color: initial;
}

.c-bottomnav {
  transform-origin: center bottom;
  transform: scale(1);
  transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
  border-radius: 999px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(var(--nav-blur));
  backdrop-filter: blur(var(--nav-blur));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin-bottom: 0px !important;
}

.c-bottomnav.is-shrink {
  transform: scale(0.85);
}

.c-bottomnav-wrap a {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  outline: unset;
  text-decoration: none;
}

.c-bottomnav-wrap :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.c-bottomnav__list {
  display: flex;
  align-items: flex-start;
  gap: var(--nav-gap);
  margin: 0;
  padding: var(--nav-pad-y) var(--nav-pad-x);
  list-style: none;
}

.c-bottomnav__item {
  flex: none;
}

.c-bottomnav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.c-bottomnav__icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.c-bottomnav__icon-img {
  position: absolute;
  inset: 0;
  width: 24px;
  height: 24px;
  transition: opacity 0.25s ease;
}

.c-bottomnav__icon-img--on {
  opacity: 0;
}

.c-bottomnav__link.is-active .c-bottomnav__icon-img--off {
  opacity: 0;
}

.c-bottomnav__link.is-active .c-bottomnav__icon-img--on {
  opacity: 1;
}

.c-bottomnav__label {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--nav-color-off);
  transition: color 0.25s ease;
}

.c-bottomnav__link.is-active .c-bottomnav__label {
  color: var(--nav-color-on);
  font-weight: 700;
}

.c-bottomnav__badge {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--nav-badge-bg);
  color: var(--nav-badge-color);
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.c-bottomnav__badge[hidden] {
  display: none;
}
.hide_sp{
  display: none;
}

.anchor-top {
    bottom: var(--anchor-offset) !important;
}

.anchor-bottom {
    top: var(--anchor-offset) !important;
}

.anchor-left {
    right: var(--anchor-offset) !important;
}

.anchor-right {
    left: var(--anchor-offset) !important;
}

@media (min-width: 768px) {
  .c-bottomnav-wrap {
    display: none;
  }
  .hide_sp{
    display: -ms-flexbox;
    display: flex;
  }
  .hide_pc{
    display: none;
  }
}
@media (max-width: 767px){
  #page-content-wrapper{
    word-break: break-all;
  }
}