@charset "UTF-8";
/* CSS Document */

/*//////// ここから ////////*/

.block--key-visual-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.bx-wrapper,
.bx-viewport {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
}

.block--key-visual.bx-wrapper {
  position: relative;
}
.block--key-visual .mainSlide {
  z-index: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  list-style: none;
}
.block--key-visual .mainSlide li {
  width: 100% !important;
  height: 100%;
}
.block--key-visual .mainSlide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mainSlide li {
  position: absolute;
}

.clockWrap {
  position: absolute;
  bottom: calc(205px * 0.6);
  left: 30px;
  width: calc((100% - 300px) / 4.2);
  padding-top: 20%;
  z-index: 12;
  transform: scale(0.8);
}

.clockWrap a {
  display: block;
  transition: opacity 0.3s ease 0;
}
.clockWrap a:hover {
  opacity: 0.85;
}

.clockWrap::before {
  position: absolute;
  top: 65%;
  transform: translate(-50%, -50%);
  left: 50%;
  content: "";
  display: block;
  width: 110%;
  height: 140%;
  background: rgba(0, 0, 0, 0.55);
  filter: blur(43px);
  border-radius: 50%;
}

.clockWrap div {
  position: absolute;
  line-height: 0;
}
.clockWrap div img {
  width: 100%;
}
.clockWrap .clock {
  top: 11.4%;
  left: 19.5%;
  width: 58.9%;
  z-index: 5;
}
.clockWrap .clockHand {
  top: 44%;
  left: 31.8%;
  width: 35%;
  z-index: 6;
  transform-origin: center center;
  animation: ch 3.3s linear forwards;
}

/* count4 */
.clockWrap.count4 .clockHand {
  animation: ch_04 3.3s linear forwards;
}

/* count3 */
.clockWrap.count3 .clockHand {
  animation: ch_03 3.3s linear forwards;
}

/* count2 */
.clockWrap.count2 .clockHand {
  animation: ch_02 3.3s linear forwards;
}
/* count1 */
.clockWrap.count1 .clockHand {
  animation: ch_01 3.3s linear forwards;
}
/* count0 */
.clockWrap.count0 .clockHand {
  animation: ch_00 3.3s linear forwards;
}

.clockWrap .gear01 {
  top: 17.4%;
  left: 45.4%;
  width: 54.5%;
  animation: rtt 3.3s linear forwards;
  z-index: 3;
}
.clockWrap .gear02 {
  top: 38.4%;
  left: 5.6%;
  width: 51.4%;
  animation: rtt_r 3.3s linear forwards;
  z-index: 4;
}

.clockWrap .num00 {
  top: 0.1%;
  left: 27.1%;
  width: 6.4%;
  z-index: 5;
  opacity: 0;
  animation: fl2 0.4s ease-out 0.55s forwards;
}
.clockWrap .num01 {
  top: 44%;
  left: 82.8%;
  width: 3.9%;
  z-index: 5;
  opacity: 0;
  animation: fl2 0.4s ease-out 1.1s forwards;
}
.clockWrap .num02 {
  top: 39.2%;
  left: 9.2%;
  width: 5%;
  z-index: 5;
  opacity: 0;
  animation: fl2 0.4s ease-out 1.65s forwards;
}
.clockWrap .num03 {
  top: 79.5%;
  left: 64.4%;
  width: 4.5%;
  z-index: 5;
  opacity: 0;
  animation: fl2 0.4s ease-out 2.2s forwards;
}
.clockWrap .num04 {
  top: 6.4%;
  left: 64%;
  width: 4%;
  z-index: 5;
  opacity: 0;
  animation: fl2 0.4s ease-out 2.75s forwards;
}
.clockWrap .num05 {
  top: 76%;
  left: 21.6%;
  width: 9.2%;
  z-index: 5;
  opacity: 0;
  animation: fl2 0.4s ease-out 3.3s forwards;
}

.flash01 {
  top: 64%;
  left: 18%;
  width: 24%;
  line-height: 0;
  z-index: 4;
  opacity: 0;

  animation: fl1 0.8s ease-out 3.3s forwards;
}
.flash02 {
  top: 70%;
  left: 17%;
  width: 18%;
  line-height: 0;
  z-index: 4;
  opacity: 0;

  animation: fl2 0.6s ease-out 3.5s forwards;
}

.year {
  font-family: "Times New Roman", Times, "serif";
  font-size: 56px;
  letter-spacing: 0.06em;
  position: absolute;
  bottom: -1.2em;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 5;
  color: #fff;
  background: -webkit-linear-gradient(90deg, #774715, #d4a659);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-font-smoothing: antialiased;
}

.year .txtS {
  font-size: 42px;
}

/* count4 */
.clockWrap.count4 .num03 {
  top: 79.5%;
  left: 64.4%;
  width: 4.5%;
  z-index: 5;
  opacity: 0;
  animation: fl2 0.4s ease-out 2.2s forwards;
}
.clockWrap.count4 .num04 {
  top: -1.6%;
  left: 64%;
  width: 9%;
  z-index: 5;
  opacity: 0;
  animation: fl2 0.4s ease-out 2.75s forwards;
}

.clockWrap.count4 .flash01 {
  top: -8%;
  left: 52%;
  width: 24%;
  line-height: 0;
  z-index: 4;
  opacity: 0;
  animation: fl1 0.8s ease-out 3.3s forwards;
}
.clockWrap.count4 .flash02 {
  top: 2%;
  left: 59%;
  width: 18%;
  line-height: 0;
  z-index: 4;
  opacity: 0;
  animation: fl2 0.6s ease-out 3.5s forwards;
}

/* count3 */
.clockWrap.count3 .num03 {
  top: 79.5%;
  left: 64.4%;
  width: 8%;
  z-index: 5;
  opacity: 0;
  animation: fl2 0.4s ease-out 2.2s forwards;
}
.clockWrap.count3 .num04 {
  top: 4%;
  left: 65%;
  width: 5.4%;
  z-index: 5;
  opacity: 0;
  animation: fl2 0.4s ease-out 2.75s forwards;
}
.clockWrap.count3 .flash01 {
  top: 66%;
  left: 60%;
  width: 24%;
  line-height: 0;
  z-index: 4;
  opacity: 0;
  animation: fl1 0.8s ease-out 3.3s forwards;
}
.clockWrap.count3 .flash02 {
  top: 75%;
  left: 61%;
  width: 18%;
  line-height: 0;
  z-index: 4;
  opacity: 0;
  animation: fl2 0.6s ease-out 3.5s forwards;
}

/* count2 */
.clockWrap.count2 .num03 {
  top: 79.5%;
  left: 64.4%;
  width: 4.8%;
  z-index: 5;
  opacity: 0;
  animation: fl2 0.4s ease-out 2.2s forwards;
}
.clockWrap.count2 .num04 {
  top: 4%;
  left: 65%;
  width: 5.4%;
  z-index: 5;
  opacity: 0;
  animation: fl2 0.4s ease-out 2.75s forwards;
}
.clockWrap.count2 .flash01 {
  top: 26%;
  left: 2%;
  width: 24%;
  line-height: 0;
  z-index: 4;
  opacity: 0;
  animation: fl1 0.8s ease-out 3.3s forwards;
}
.clockWrap.count2 .flash02 {
  top: 28%;
  left: 1%;
  width: 18%;
  line-height: 0;
  z-index: 4;
  opacity: 0;
  animation: fl2 0.6s ease-out 3.5s forwards;
}

/* count1 */
.clockWrap.count1 .num03 {
  top: 79.5%;
  left: 64.4%;
  width: 4.8%;
  z-index: 5;
  opacity: 0;
  animation: fl2 0.4s ease-out 2.2s forwards;
}
.clockWrap.count1 .num04 {
  top: 4%;
  left: 65%;
  width: 5.4%;
  z-index: 5;
  opacity: 0;
  animation: fl2 0.4s ease-out 2.75s forwards;
}
.clockWrap.count1 .flash01 {
  top: 26%;
  left: 80%;
  width: 24%;
  line-height: 0;
  z-index: 4;
  opacity: 0;
  animation: fl1 0.8s ease-out 3.3s forwards;
}
.clockWrap.count1 .flash02 {
  top: 30%;
  left: 79%;
  width: 18%;
  line-height: 0;
  z-index: 4;
  opacity: 0;
  animation: fl2 0.6s ease-out 3.5s forwards;
}

/* count0 */
.clockWrap.count0 .num03 {
  top: 79.5%;
  left: 64.4%;
  width: 4.8%;
  z-index: 5;
  opacity: 0;
  animation: fl2 0.4s ease-out 2.2s forwards;
}
.clockWrap.count0 .num04 {
  top: 4%;
  left: 65%;
  width: 5.4%;
  z-index: 5;
  opacity: 0;
  animation: fl2 0.4s ease-out 2.75s forwards;
}
.clockWrap.count0 .flash01 {
  top: -14%;
  left: 21%;
  width: 24%;
  line-height: 0;
  z-index: 4;
  opacity: 0;
  animation: fl1 0.8s ease-out 3.3s forwards;
}
.clockWrap.count0 .flash02 {
  top: -14%;
  left: 19%;
  width: 18%;
  line-height: 0;
  z-index: 4;
  opacity: 0;
  animation: fl2 0.6s ease-out 3.5s forwards;
}

@keyframes rtt {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(260deg);
  }
}
@keyframes rtt_r {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-860deg);
  }
}
@keyframes ch {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-3660deg);
  }
}

/* count4 */
@keyframes ch_04 {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-3840deg);
  }
}
/* count3 */
@keyframes ch_03 {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-3720deg);
  }
}
/* count2 */
@keyframes ch_02 {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-3600deg);
  }
}
/* count1 */
@keyframes ch_01 {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-3780deg);
  }
}
/* count0 */
@keyframes ch_00 {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-3905deg);
  }
}

@keyframes fl1 {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  50% {
    opacity: 0.8;
    transform: scale(2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fl2 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 960px) {
  .block--key-visual-wrap::before {
    bottom: -1%;
    left: 0%;
    width: 50%;
    height: 50%;
  }

  .bx-wrapper,
  .bx-viewport {
    width: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  .bx-viewport > .bx-viewport {
    height: 100% !important;
  }
  .bx-wrapper {
    z-index: 1;
  }
  .mainSlide {
    position: relative;
  }

  .mainSlide li img {
    background-size: cover !important;
  }

  .clockWrap {
    left: 2%;
    bottom: 45vh;
    transform: scale(1);
    position: absolute;
    width: 37.5%;
    padding-top: 34%;
  }

  .year {
    font-size: 7.8vw;
    bottom: -1em;
  }
  .year .txtS {
    font-size: 5.2vw;
  }
}

/* 画面縦狭いとき */
@media (max-height: 500px) {
  .clockWrap {
    bottom: 57vh;
  }
}
@media (min-height: 501px) and (max-height: 750px) {
  .clockWrap {
    bottom: 38vh;
  }
}

@media (min-height: 751px) and (max-height: 900px) {
  .clockWrap {
    bottom: 35vh;
  }
}
