/*!
page > top > textEffect
------------------------------
*/

/* Web designerテキスト */
.animate-title,
.tween-animate-title {
  position: absolute;
  opacity: 0;
  z-index: 2;
}

.animate-title.inview,
.tween-animate-title.inview {
  opacity: 1;
}
.animate-title.inview .char,
.tween-animate-title.inview .char {
  display: inline-block;
}
.animate-title .char,
.tween-animate-title .char {
  opacity: 0;
}

.animate-title.inview .char {
  animation-name: kf-animate-chars;
  animation-duration: 5.2s;
  animation-timing-function: cubic-bezier(0.39, 1.57, 0.58, 1);
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: both;
}
.animate-title.inview .char:nth-child(1) {
  animation-delay: 0.4s;
}
.animate-title.inview .char:nth-child(2) {
  animation-delay: 0.8s;
}
.animate-title.inview .char:nth-child(3) {
  animation-delay: 1.2s;
}
.animate-title.inview .char:nth-child(4) {
  animation-delay: 1.6s;
}
.animate-title.inview .char:nth-child(5) {
  animation-delay: 2s;
}
.animate-title.inview .char:nth-child(6) {
  animation-delay: 2.4s;
}
.animate-title.inview .char:nth-child(7) {
  animation-delay: 2.8s;
}
.animate-title.inview .char:nth-child(8) {
  animation-delay: 3.2s;
}
.animate-title.inview .char:nth-child(9) {
  animation-delay: 3.6s;
}
.animate-title.inview .char:nth-child(10) {
  animation-delay: 4s;
}
.animate-title.inview .char:nth-child(11) {
  animation-delay: 4.4s;
}
.animate-title.inview .char:nth-child(12) {
  animation-delay: 4.8s;
}
.animate-title.inview .char:nth-child(13) {
  animation-delay: 5.2s;
}

@keyframes kf-animate-chars {
  0% {
    opacity: 0;
    transform: translateY(-50%);
    color: var(--color-font-primary);
  }
  40% {
    opacity: 1;
    transform: translateY(0);
    color: var(--color-bg-primary-extra-light);
  }
  60% {
    opacity: 1;
    transform: translateY(0);
    -webkit-text-stroke: 2px var(--color-font-gold);
    text-stroke: 1px var(--color-font-gold);
    color: rgba(0, 0, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    -webkit-text-stroke: 1px var(--color-font-gold);
    text-stroke: 2px var(--color-font-gold);
    color: var(--color-font-gold);
  }
}

/*!
page > top > top-kv > SVG
------------------------------
*/
#Ange_svg {
  width: 50%;
}

@media screen and (min-width: 1280px) {
  #Ange_svg {
    width: 100%;
  }
}
#base path {
  fill: #ae9b52; /* 塗りの色 */
}
#mask path {
  fill: none; /* 塗りの色 */
  stroke: #fff; /* 線の色 */
  stroke-width: 40px; /* 線幅 */
  stroke-linecap: round; /* 線端の形状 */
  stroke-linejoin: round; /* 角の形状 */
}

/*!
page > top > arrow scroll
------------------------------
*/
@media screen and (min-width: 768px) {
  .top-kv-scroll {
    position: absolute;
    left: 50%;
    bottom: 6%;
    height: 68px;
    width: 22px;
    z-index: 2;
    overflow: hidden;
  }
}

@media screen and (min-width: 1280px) {
  .top-kv-scroll {
    position: absolute;
    left: 50%;
    bottom: 5%;
  }
}

.top-downarrow {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 6px;
  animation-name: kf-arrow-anime;
  animation-iteration-count: infinite;
  animation-duration: 2s;
  animation-timing-function: linear;
}

.top-scrolltext {
  position: absolute;
  transform: rotate(90deg);
  color: rgba(255, 255, 255, 0.7);
  top: 11px;
  left: -8px;
  font-size: 1.2em;
}

@keyframes kf-arrow-anime {
  0%,
  50%,
  100% {
    transform: translateY(-10%);
  }
  30% {
    transform: none;
  }
}

/* sideway arrow */
.sidewayarrow {
  position: relative;
  display: inline-block;
  color: #333;
  text-decoration: none;
  outline: none;
}

/* 矢印と下線の形状 */
.sidewayarrow::before {
  content: '';
  position: absolute;
  bottom: 50%;
  left: 92%;
  width: 5%;
  height: 1px;
  background: #333;
  transition: all 0.3s;
}

.sidewayarrow::after {
  content: '';
  position: absolute;
  bottom: 53%;
  right: 2.8%;
  /*矢印の形状*/
  width: 2%;
  height: 1px;
  background: #333;
  transform: rotate(35deg);
  transition: all 0.3s;
}

.sidewayarrow:hover::before {
  left: 91%;
}

.sidewayarrow:hover::after {
  right: 3.8%;
}

@media screen and (min-width: 768px) {
  .sidewayarrow::before {
    bottom: 50%;
    left: 95%;
    width: 3%;
    height: 1px;
  }

  .sidewayarrow::after {
    bottom: 52%;
    right: 1.85%;
    width: 1%;
    height: 1px;
  }

  .sidewayarrow:hover::before {
    left: 94%;
  }

  .sidewayarrow:hover::after {
    right: 2.85%;
  }
}

/*!
Scroll fade in
------------------------------
*/
.Section {
  visibility: hidden;
  transition: all 0.8s;
  transform: translateY(100px);
  opacity: 0;
}

.SectionIsActive {
  visibility: visible;
  transform: translateY(0);
  opacity: 1;
}

/*!
Pagetop button
------------------------------
*/
.return_top {
  background-color: var(--color-bg-base);
  color: var(--color-bg-black);
  text-decoration: none;
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 40px;
  height: 40px;
  border: solid thin;
  border-radius: 50%;
  display: grid;
  justify-content: center;
  align-content: center;
  transform: rotate(-90deg);
  transition: 0.4s;
  opacity: 0;
  visibility: hidden;
}

.return_top.active {
  opacity: 1;
  visibility: visible;
}
