/* sticky journal */
.sticky-journal {
  position: fixed;
  top: calc(var(--vh, 1vh) * 50);
  right: 0;
  z-index: 15;
  transition: var(--t-ease) var(--ease2);
}

.sticky-journal.hide {
  opacity: 0;
  right: -4rem;
  pointer-events: none;
}
.sticky-journal-link {
  display: flex;
  align-items: center;
}
.journal-holder {
  position: relative;
}
.journal-holder i::after,
.journal-holder i::before {
  transition: 0.5s var(--ease3);
}
.journal-holder i::after {
  content: "\e909";
  position: absolute;
  transform: translateY(110%) translateX(-110%);
}
.journal-holder i {
  position: absolute;
  bottom: 2.5rem;
  color: #970c27;
  right: 2.1rem;
  font-size: 1.8rem;
  display: flex;
  overflow: hidden;
}
.sticky-journal-link:hover .journal-holder i::after {
  transform: translateY(0%) translateX(0%);
}
.sticky-journal-link:hover .journal-holder i::before {
  transform: translateY(-110%) translateX(110%);
}
[data-bg] {
  background-repeat: no-repeat;
  background-size: contain;
}
.journal-holder__shape {
  background-image: url(../../../img/portfolio/journal.webp);
  width: 8.3rem;
  height: 1.4rem;
  background-position: right;
}
.journal-rotate__shape {
  background-image: url(../../../img/portfolio/rotate.svg);
  width: 3.8rem;
  height: 14.6rem;
  background-position: right;
  -webkit-filter: drop-shadow(0px 6px 14px #ffffff7d);
  filter: drop-shadow(0px 6px 14px #ffffff7d);
}
.journal-rotate__shape.rotate {
  -webkit-animation: ro 0.8s var(--ease2) 1;
  animation: ro 0.8s var(--ease2) 1;
}
@-webkit-keyframes ro {
  100% {
    transform: rotate(-360deg);
  }
}
@keyframes ro {
  100% {
    transform: rotate(-360deg);
  }
}
.journal-rotate__heart {
  position: absolute;
  width: 2.6rem;
  height: 2.6rem;
  background-color: var(--c-primary);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.journal-rotate__heart .icon {
  fill: var(--c-white);
  width: 1.3rem;
  height: 1.3rem;
}
.journal-rotate {
  margin-right: -2.3rem;
  position: relative;
}

.journal-rotate__number {
  position: absolute;
  min-width: 2.2rem;
  height: 2.2rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: calc(99% - 3.2rem);
  background-color: #fff;
  font-family: var(--ff-en);
  font-size: 1.1rem;
  left: 51%;
  transform: translateX(-50%);
  padding: 2px;
  transition: var(--t-ease) var(--ease2);
}
.rotate + .journal-rotate__number {
  transition: 0s;
  opacity: 0;
}
.journal-titleimg {
  background-image: url(../../../img/portfolio/title-journal.svg);
  width: 7rem;
  height: 7rem;
}
/**************************/
/* 576px */
/**************************/

@media (min-width: 36em) {
  .sticky-journal {
    top: calc(var(--vh, 1vh) * 93 - 11rem);
  }
}
