.fixed-element {
  position: fixed;
  display: inline-block;
  z-index: 10;
}

.fixed-btn {
  background-color: var(--red);
  color: var(--white);
}

.fixed-btn:hover {
  background-color: #c9004f;
}

.fixed-person {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: min(50%, 400px);
  min-width: 280px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  overflow: hidden;
}

.fixed-person .title {
  display: block;
  padding: 5% 2.5%;
  color: var(--color_hc);
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.fixed-person .title:hover {
  background-color: var(--color_lc);
}

.fixed-person .title .pre {
  display: block;
  font-size: clamp(10px, 1.5vw, 12px);
  line-height: clamp(10px, 1.5vw, 12px);
  margin-bottom: 5px;
}

.fixed-person .title .name {
  display: block;
  font-size: clamp(18px, 3vw, 24px);
  line-height: clamp(18px, 3vw, 24px);
  font-weight: bold;
}

.fixed-person .infos {
  position: relative;
  display: none;
}

.fixed-person .infos::after {
  content: "";
  background: linear-gradient(0deg, var(--overlay-bg) 0%, rgba(42, 42, 42, 0) 100%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.fixed-person .infos .visual {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.fixed-person .infos .visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fixed-person .infos .contactoptions {
  position: absolute;
  display: flex;
  justify-content: center;
  gap: 1em;
  left: 50%;
  transform: translate(-50%, 0);
  transition: opacity 0.1s ease-in-out;
  z-index: 2;
}

.fixed-person .infos .contactoptions li {
  opacity: 0;
  transform: translate(0, 20px);
  background-color: var(--color_hc);
  border-radius: var(--border-radius);
  transition: background-color 0.2s ease-in-out;
}

.fixed-person .infos .contactoptions li:hover {
  background-color: var(--color_link);
}

.fixed-person .infos .contactoptions li a {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  box-sizing: border-box;
}

.fixed-person .infos .contactoptions li a svg {
  display: block;
  width: auto;
  height: 100%;
  fill: var(--color_lc);
  transition: fill 0.2s ease-in-out;
}

.fixed-person:not(.visible) .contactoptions {
  opacity: 0;
}

@media (min-width: 801px) {
  .fixed-btn {
    font-size: 18px;
    line-height: 18px;
  }
  .fixed-btn.bottom {
    padding: 15px 30px;
  }
  .fixed-btn:not(.bottom).center {
    padding: 30px 15px;
  }
}
@media (max-width: 800px) and (min-width: 481px) {
  .fixed-btn:not(.bottom).center {
    padding: 30px 8px;
  }
}
@media (min-width: 481px) {
  .fixed-btn.bottom {
    bottom: 20px;
    min-width: 150px;
    text-align: center;
    border-radius: var(--border-radius);
  }
  .fixed-btn.bottom.left {
    left: 20px;
  }
  .fixed-btn.bottom.right {
    right: 20px;
  }
  .fixed-btn.bottom.center {
    left: 50%;
    transform: translate(-50%, 0);
  }
  .fixed-btn:not(.bottom).center {
    top: 50%;
    writing-mode: vertical-lr;
    min-height: 100px;
    text-align: center;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
  }
  .fixed-btn:not(.bottom).center.left {
    left: 0;
    transform: translate(0, -50%);
  }
  .fixed-btn:not(.bottom).center.right {
    right: 0;
    transform: translate(0, -50%) rotate(-180deg);
    writing-mode: vertical-rl;
  }
  .fixed-person .infos .contactoptions {
    bottom: 20px;
  }
  .fixed-person .infos .contactoptions li a {
    width: 7vw;
    padding: 30%;
    max-width: 55px;
    min-width: 35px;
  }
}
@media (max-width: 480px) {
  .fixed-btn {
    padding: 8px 20px;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
    min-width: 150px;
    border-radius: var(--border-radius);
  }
  .fixed-person .infos .contactoptions {
    bottom: 10px;
  }
  .fixed-person .infos .contactoptions li {
    border-radius: 2vw;
  }
  .fixed-person .infos .contactoptions li a {
    width: 35px;
    padding: 10px;
  }
}