/* RCE Fixed Navigation */
.rce-fixed-nav {
    position: fixed;
    top: 9.2rem;
    left: 23rem;
    right: 0;
    z-index: 7;
    background-color: #FFFFFF;
    box-shadow: 0.1rem 0.1rem 0.6rem 0 rgba(0, 0, 0, 0.08);
    border-radius: 10rem;
    max-width: 110rem;
    width: calc(100% - 23rem - 4rem);
    margin: 0 auto;
    transition: top 0.3s ease;
    @media only screen and (max-width: 767px) {
      position: relative;
      top: 0;
      left: 0;
      width: calc(100% - 2rem);
      margin-top: -8rem;
      border-radius: 0.6rem;
      margin-bottom: -14.7rem;
      z-index: 0;
    }
}

.rce-fixed-nav.scrolled {
    top: 2.2rem;
}


.rce-fixed-nav_inner {
    margin: 0 auto;
    padding: 0.5rem 0.5rem 0.5rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    @media only screen and (max-width: 767px) {
      flex-direction: column;
      gap: 0;
      padding: 0;
    }
}

.rce-fixed-nav_list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    @media only screen and (max-width: 767px) {
      gap: 0;
    }
}

.rce-fixed-nav_item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-radius: 10rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    @media only screen and (max-width: 767px) {
      border-radius: 0;
      border-bottom: 0.1rem solid #E3EDF2;
      width: 50%;
      padding: 1.5rem 1rem 1.5rem 1.5rem;
      justify-content: space-between;
    }
}

.rce-fixed-nav_item:nth-child(even) {
  @media only screen and (max-width: 767px) {
    border-left: 0.1rem solid #E3EDF2;
  }
}

.rce-fixed-nav_item:hover .rce-fixed-nav_arrow img {
    transform: translateY(0.2rem);
    transition: transform 0.3s ease;
}

.rce-fixed-nav_item.active {
    background-color: #377DCD;
}

.rce-fixed-nav_item.active .rce-fixed-nav_text {
    color: #FFFFFF;
}

.rce-fixed-nav_item.active .rce-fixed-nav_arrow {
    background-color: #FFFFFF;
}

.rce-fixed-nav_item.active .rce-fixed-nav_arrow img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

.rce-fixed-nav_text {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    color: #000000;
}

.rce-fixed-nav_arrow {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rce-fixed-nav_arrow img {
    width: 2rem;
    height: 2rem;
    transition: transform 0.3s ease;
}

.rce-fixed-nav_buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    @media only screen and (max-width: 767px) {
      padding: 1rem;
    }
}

.rce-fixed-nav_btn {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border: 0.2rem solid #377DCD;
    border-radius: 10rem;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 14rem;
    height: 5rem;
    padding-right: 1rem;
    padding-left: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    @media only screen and (max-width: 767px) {
      width: 16.5rem;
      height: 4rem;
      padding-left: 1.8rem;
    }
}

.rce-fixed-nav_btn:hover {
    background-color: #377DCD;
}

.rce-fixed-nav_btn:hover .rce-fixed-nav_btn_text {
    color: #FFFFFF;
}

.rce-fixed-nav_btn:hover .rce-fixed-nav_btn_text span {
    color: #FFFFFF;
}

.rce-fixed-nav_btn:hover .rce-fixed-nav_btn_arrow {
    background-color: #FFFFFF;
}

.rce-fixed-nav_btn:hover .rce-fixed-nav_btn_arrow img:first-child {
    opacity: 0;
    transform: translate(-50%, -50%);
}

.rce-fixed-nav_btn:hover .rce-fixed-nav_btn_arrow img:last-child {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.rce-fixed-nav_btn_text {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #000000;
    transition: color 0.3s ease;
    @media only screen and (max-width: 767px) {
      font-size: 1.5rem;
      font-weight: 600;
    }
}

.rce-fixed-nav_btn_text span {
    color: #377DCD;
    transition: color 0.3s ease;
}

.rce-fixed-nav_btn_arrow {
    width: 3rem;
    height: 3rem;
    background-color: #377DCD;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
    @media only screen and (max-width: 767px) {
      width: 2rem;
      height: 2rem;
    }
}

.rce-fixed-nav_btn_arrow img {
    width: 3rem;
    height: 3rem;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.rce-fixed-nav_btn_arrow img:first-child {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.rce-fixed-nav_btn_arrow img:last-child {
    opacity: 0;
    transform: translate(-50%, -50%);
}