@charset "UTF-8";

/* ==========================================================

  BLD Real Estate Animate Styles

========================================================== */
/* ライン
--------------------------------------------------*/
.line {
  position: absolute;
  background-color: var(--primary);
  z-index: -2;
}

.line--left,
.line--right {
  overflow: hidden;
  top: 0;
  width: 2px;
  height: 100%;
  transform: scaleX(0.5);
}

.line--left {
  left: 0;
  transform-origin: left center;
  -webkit-clip-path: inset(0% -100% 100% -100%);
  clip-path: inset(0% -100% 100% -100%);
}

.line--right {
  right: 0;
  transform-origin: right center;
  -webkit-clip-path: inset(100% -100% 0% -100%);
  clip-path: inset(100% -100% 0% -100%);
}

.line__shine {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 1.25rem 0.625rem #fff;
  width: 2rem;
  height: 2rem;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, -50%);
}

.line--left .line__shine,
.line--right .line__shine {
  left: 50%;
  top: 0;
}

.line--beside-left .line__shine,
.line--beside-right .line__shine {
  top: 50%;
  left: 0;
}

.line--beside-left,
.line--beside-right {
  overflow: hidden;
  left: 0;
  width: 100vw;
  height: 1px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.line--beside-left {
  -webkit-clip-path: inset(-100% 100% -100% 0%);
  clip-path: inset(-100% 100% -100% 0%);
}

.line--beside-right {
  -webkit-clip-path: inset(-100% 0% -100% 100%);
  clip-path: inset(-100% 0% -100% 100%);
}

/* スクロールフェードイン
--------------------------------------------------*/
.js .js-fade-in,
.js .js-fade-in-lines>span {
  opacity: 0;
}

.js .js-check-in .looking__check {
  opacity: 0;
}

.js .js-values-in .value__text {
  opacity: 0;
}

/* タブ切替（Business / Recruit）
--------------------------------------------------*/
@keyframes case-panel-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.case__panel.is-in {
  animation: case-panel-in 0.8s var(--ease-out-cubic);
}
