@keyframes neon {
  from {
    text-shadow:
      0 0 6px rgba(202, 228, 225, 0.92),
      0 0 30px rgba(202, 228, 225, 0.34),
      0 0 12px rgba(241, 89, 34, 0.52),
      0 0 21px rgba(241, 89, 34, 0.92),
      0 0 34px rgba(241, 89, 34, 0.78),
      0 0 54px rgba(241, 89, 34, 0.92);
  }

  to {
    text-shadow:
      0 0 6px rgba(202, 228, 225, 0.98),
      0 0 30px rgba(202, 228, 225, 0.42),
      0 0 12px rgba(241, 89, 34, 0.58),
      0 0 22px rgba(241, 89, 34, 0.84),
      0 0 38px rgba(241, 89, 34, 0.88),
      0 0 60px rgba(241, 89, 34, 1);
  }
}

img.shadow {
  box-shadow: 10px 20px 20px rgba(0, 0, 0, 0.3) !important;
}

.image-mask{
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  min-height: 280px;
}

.image-mask div.mask {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: white;
  border-radius: 16px;
}

.flip-mask:hover .image-mask div.mask, 
.image-mask:hover div.mask {
  background-color: rgba(241, 89, 34, 0.8);
}

.image-mask .mask-show {
  display: none;
}

.flip-mask:hover .image-mask .mask-show,.image-mask:hover .mask-show {
  display: initial;
}



.ripple-circle {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 150px;
  width: 150px;
  border-radius: 100%;
  background: #003a7f;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
  transition: all .5s ease-in-out;
}
.ripple-circle.medium{
  height: 140px;
  width: 140px;
}
.ripple-circle.smaller{
  height: 120px;
  width: 120px;
}
.ripple-circle:hover {
  transform: scale(1.1);
}

.ripple-circle>div {
  position: relative;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  line-height:70%;
  height: 100%;
  width:100%;
  border-radius: 100%;
  z-index:10;
  background: #003a7f;
  color: #fff;
}
.ripple-circle .odometer {
  font-size: 60px;
}
.ripple-circle>div>span{
  font-size: 14px;
}
.ripple-circle.medium div, .ripple-circle.medium .odometer{
  font-size: 30px;
}
.ripple-circle.medium>div>span{
  font-size: 14px;
}
.ripple-circle.smaller div, .ripple-circle.smaller .odometer{
  font-size: 28px;
}
.ripple-circle.smaller>div>span{
  font-size: 14px;
}
.ripple-circle::after {
  opacity: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 0;
  bottom: 0;
  content: "　";
  height: 100%;
  width: 100%;
  border: 1px solid rgba(0, 58, 127, 0.2);
  border-radius: 100%;
  -webkit-animation-name: ripple;
          animation-name: ripple;
  -webkit-animation-duration: 3s;
          animation-duration: 3s;
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-timing-function: cubic-bezier(0.65, 0, 0.34, 1);
          animation-timing-function: cubic-bezier(0.65, 0, 0.34, 1);
  z-index: 1;
}
.ripple-circle::before {
  opacity: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 0;
  bottom: 0;
  content: "　";
  height: 100%;
  width: 100%;
  border: 8px solid rgba(0, 58, 127, 0.4);
  border-radius: 100%;
  -webkit-animation-name: ripple;
          animation-name: ripple;
  -webkit-animation-duration: 3s;
          animation-duration: 3s;
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-timing-function: cubic-bezier(0.65, 0, 0.34, 1);
          animation-timing-function: cubic-bezier(0.65, 0, 0.34, 1);
  z-index: 1;
}

@-webkit-keyframes ripple {
  from {
    opacity: 1;
    transform: scale3d(0.75, 0.75, 1);
  }
  to {
    opacity: 0;
    transform: scale3d(1.5, 1.5, 1);
  }
}

@keyframes ripple {
  from {
    opacity: 1;
    transform: scale3d(0.75, 0.75, 1);
  }
  to {
    opacity: 0;
    transform: scale3d(1.5, 1.5, 1);
  }
}

.animated-ball{
  border-radius: 50%;
}
.animated-ball img{
  border-radius: 50%;
  -webkit-animation-name: scaled;
          animation-name: scaled;
  -webkit-animation-duration: 15s;
          animation-duration: 15s;
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
}

.animated-ball.reverse img{
  border-radius: 50%;
  -webkit-animation-name: scaled-reverse;
          animation-name: scaled-reverse;
  -webkit-animation-duration: 15s;
          animation-duration: 15s;
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
}


.animated-image-ball {
  -webkit-animation-name: animated-image-ball;
          animation-name: animated-image-ball;
  -webkit-animation-duration: 15s;
          animation-duration: 15s;
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
}
.animated-image-ball-2 {
  -webkit-animation-name: animated-image-ball-2;
          animation-name: animated-image-ball-2;
  -webkit-animation-duration: 8s;
          animation-duration: 8s;
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
}

.animated-ball.slow img, 
.animated-image-ball.slow,
.animated-image-ball-2.slow{
  -webkit-animation-duration: 12s;
          animation-duration: 12s;
}
.animated-ball.fast img,
.animated-image-ball.fast,
.animated-image-ball-2.fast{
  -webkit-animation-duration: 8s;
          animation-duration: 8s;
}
.animated-ball.fastest img,
.animated-image-ball.fastest,
.animated-image-ball-2.fastest{
  -webkit-animation-duration: 6s;
          animation-duration: 6s;
}

@keyframes scaled {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(0.8);
  }
}
@-webkit-keyframes scaled {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(0.8);
  }
}
@keyframes scaled-reverse {
  0% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1.2);
  }
}

@-webkit-keyframes scaled-reverse {
  0% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1.2);
  }
}



@-webkit-keyframes animated-image-ball {
  0% {
    filter: blur(0);
  }
  50% {
    filter: blur(10px);
  }
  100% {
    filter: blur(0);
  }
}
@keyframes animated-image-ball {
  0% {
    filter: blur(0);
  }
  50% {
    filter: blur(10px);
  }
  100% {
    filter: blur(0);
  }
}


@-webkit-keyframes animated-image-ball-2 {
  0% {
    filter: blur(5px);
  }
  50% {
    filter: blur(0);
  }
  100% {
    filter: blur(5px);
  }
}
@keyframes animated-image-ball-2 {
  0% {
    filter: blur(5px);
  }
  50% {
    filter: blur(0);
  }
  100% {
    filter: blur(5px);
  }
}

.rotate {
  -webkit-animation: rotate 10s linear infinite;
  -moz-animation: rotate 10s linear infinite;
  -ms-animation: rotate 10s linear infinite;
  -o-animation: rotate 10s linear infinite;
  animation: rotate 10s linear infinite;
}
.rotate.reverse {
  -webkit-animation: rotate-reverse 10s linear infinite;
  -moz-animation: rotate-reverse 10s linear infinite;
  -ms-animation: rotate-reverse 10s linear infinite;
  -o-animation: rotate-reverse 10s linear infinite;
  animation: rotate-reverse 10s linear infinite;
}

@keyframes rotate {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes rotate {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotate-reverse {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(-360deg);
    -o-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}
@-webkit-keyframes rotate-reverse {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(-360deg);
    -o-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}

.circle__box {
  width: 100%;
  height: 100%;
  position: relative;
}

.circle__wrapper {
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  overflow: hidden;
}

.circle__wrapper--right {
  right: 0;
}

.circle__wrapper--left {
  left: 0;
}

.circle__whole {
  width: 200%;
  height: 100%;
  border: 1px solid transparent;
  border-radius: 50%;
  position: absolute;
  top: 0;
  transform: rotate(-135deg);
}

.circle__right {
  border-top: 1px solid #f15922;
  border-right: 1px solid #f15922;
  right: 1px;
}

.circle__right.animated {
  animation: circleRight 2s linear forwards;
}

.circle__left {
  border-bottom: 1px solid #f15922;
  border-left: 1px solid #f15922;
  left: 1px;
}
.circle__left.animated {
  animation: circleLeft 2s linear forwards;
}


@keyframes circleRight {
  0% {
    transform: rotate(-135deg);
  }
  50%,
  100% {
    transform: rotate(45deg);
  }
}

@keyframes circleLeft {
  0%,
  50% {
    transform: rotate(-135deg);
  }
  100% {
    -webkit-transform: rotate(45deg);
  }
}

@keyframes neon-box {
  from {
    box-shadow:
      0 0 6px rgba(240, 190, 172, 0.92),
      0 0 30px rgba(240, 190, 172, 0.34),
      0 0 12px rgba(241, 89, 34, 0.52),
      0 0 21px rgba(241, 89, 34, 0.92),
      0 0 34px rgba(241, 89, 34, 0.78),
      0 0 54px rgba(241, 89, 34, 0.92);
  }

  to {
    box-shadow:
      0 0 6px rgba(240, 190, 172, 0.98),
      0 0 30px rgba(240, 190, 172, 0.42),
      0 0 12px rgba(241, 89, 34, 0.58),
      0 0 22px rgba(241, 89, 34, 0.84),
      0 0 38px rgba(241, 89, 34, 0.88),
      0 0 60px rgba(241, 89, 34, 1);
  }
}
.neon-card {
  box-shadow: none;
}
/* .neon-card:hover {
  background-color: #fff;
  animation: neon-box 2s linear forwards;
} */

.neon-card:hover .underline::after {
  width: 100%;
}