/*
Theme Name:hello-child
Template:hello-elementor
Version:1.0
*/
/* 無効化用のスタイル */
.blendmode-reset.elementor-absolute{z-index: inherit !important;}

html.no-animation *,
html.no-animation *::before,
html.no-animation *::after {
  /* アニメーションを完全にオフ */
  animation: none !important;
  /* トランジションもオフ */
  transition: none !important;
}

:root {
  --normal-c: 0,0,0;
  --accent-1-c: 2, 56, 156;
  --accent-2-c: 25, 108, 233;
  --accent-3-c: 239, 246, 255;
  --animation-time-infinate: infinite;
}

/***********************
基本機能
***********************/
html{
  overflow-x: hidden;
  scroll-padding-top: 150px;
  body{overflow-x: hidden;}
}
/*animation 無限ループ*/
.infinate{animation-iteration-count:infinite !important;}


/***********************
テキストの装飾
***********************/
.gradient_text_pink{
  h2,h3,h4,h5,span{
  background: linear-gradient(64deg,rgba(224, 0, 142, 0.83) 0%, rgba(92, 38, 255, 0.86) 99%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color:inherit !important;
  }
}
.gradient_text_yellow{
  h2,h3,h4,h5,span{
  background: linear-gradient(90deg,rgba(240, 145, 5, 1) 0%, rgba(217, 96, 9, 1) 99%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color:inherit !important;
  }
}

/*スクロールテキスト*/
.scroll-text h3{
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: scroll-left 60s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
/***********************
ギミック関連
***********************/
/*スクロール矢印*/
.scroll_down{
  display: inline-block;
  position: absolute;
  right: 40px;
  bottom: 0;
  z-index: 2;
  padding: 10px 10px 110px;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-family: 'Josefin Sans', sans-serif;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-lr;
  &:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 100px;
    background: #fff;
    animation: sdl 2s cubic-bezier(1, 0, 0, 1) infinite;
  }
}

@keyframes sdl {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  35% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  35.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  70%, 100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/************
アニメーションボーダー
*******************/
.border-ani{
  &:hover{
    &:before{
      transform:scaleX(1);
      transform-origin:left top;
      transition:transform 0.3s cubic-bezier(0.37, 0.16, 0.12, 1),-webkit-transform 0.3s cubic-bezier(0.37, 0.16, 0.12, 1);
    }
    &:after{
      transform:scaleX(1);
      transform-origin:left top;
      transition:transform 0.3s cubic-bezier(0.37, 0.16, 0.12, 1),-webkit-transform 0.3s cubic-bezier(0.37, 0.16, 0.12, 1);
      transition-delay:0.35s
    }
  }
  &:before {
    /*ボーダーデザイン*/
    width: 100%;
    content: "";
    display: block;
    bottom: 0;left: 0;position: absolute;
    background: #E4E4E4;
    height: 1px;
    z-index: 1;
    transform: scaleX(0);
    transform-origin: right top;
    transition: transform 0.3s cubic-bezier(0.37, 0.16, 0.12, 1),-webkit-transform 0.3s cubic-bezier(0.37, 0.16, 0.12, 1);
  }
  &:after {
      width: 100%;
      content: "";
      display: block;
      bottom: 0;
      left: 0;
      position: absolute;
      background: #000000;
      height: 1px;
      z-index: 1;
      transform: scaleX(0);
      transform-origin: right top;
      transition:transform 0.3s cubic-bezier(0.37, 0.16, 0.12, 1),-webkit-transform 0.3s cubic-bezier(0.37, 0.16, 0.12, 1);
  }
  &
  h2{
    position: relative;
    display: inline-block;
  }
}



/************
矢印リンク
************/

/*アイコンに設置*/
.arrow-link .elementor-icon:hover {
    animation: arrow-right 0.5s ease-in-out;
}

/*記事LOOPに設置*/
.arrow-before{
  position: relative;
  &:after{
    content: url(https://tcu.lppage.net/wp-content/uploads/2025/07/Arrow2.png);
    color:#000000;
    z-index:2;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30px;
    height: 30px;
    font-weight:bold;
  }
  &:hover{
    &:after{
    animation: arrow-right 0.5s ease-in-out;
    }
  }
}


@keyframes arrow-right {
0% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
50% {
    opacity: 0;
    transform: translate3d(10px, 0, 0);
}
50.1% {
    opacity: 0;
    transform: translate3d(-10px, 0, 0);
}
100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

}

/***********
スライドボタン
***********/
/* ボタン */
.slide-btn a{
  position: relative;
  overflow: hidden;
  transition: ease 0.2s;
  z-index: 1;
  &:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
    transform: scale(0, 1);
    transform-origin: right top;
    background-color: rgba(255,255,255,0.2);
  }
  &:hover{
    &:before {
      transform-origin: left top;
      transform: scale(1, 1);
    }
  }
}


/*円形ホバーボタン*/

.circle-button {
  div.elementor-widget-container{
    position: relative;
    /*width: 320px !important;
    height: 60px !important;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid #000;*/
    text-decoration: none;
    overflow: hidden;
    background: transparent;
    transition: color 0.3s ease;
    display: flex;justify-content: center;align-items: center;
    margin: 0 auto;
    &:before {
      content: '';
      position: absolute;
      width: 400px;
      height: 400px;
      background: #000;
      border-radius: 100%;
      top: -100%;
      left: 20%;
      transform: translate(0, 0) rotate(-25deg);
      transform-origin: left bottom;
      transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
      z-index: 0;
    }
    span {
      position: relative;
      z-index: 1;
      transition: color 0.3s ease 0.3s;
      color:#fff !important;
      display: block;
      width:100%;
      a{
        display: block;
      }
    }
    &:hover{
      &:before {
        transform: translate(40%, -20%) rotate(20deg);
      }
      span {
        color: #000 !important;
      }
    }
  }
}



/**********************
フロートボックス
**********************/


/* .floating_box に適用するスタイル */
.floating_box {
  /* アニメーションを付与*/
  animation: floatFade 10s ease-in-out var(--animation-time-infinate);
  opacity: 0;
}

/* 1番目 */
.floating_box:nth-of-type(1) {
  animation-delay: 0s;
}
/* 2番目 */
.floating_box:nth-of-type(2) {
  animation-delay: 1s;
}
/* 3番目 */
.floating_box:nth-of-type(3) {
  animation-delay: 2s;
}
/* 4番目 */
.floating_box:nth-of-type(4) {
  animation-delay: 3s;
}

/* アニメーションの定義 */
@keyframes floatFade {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  25% {
    transform: translateY(-10px);
    opacity: 1;
  }
  50% {
    transform: translateY(-15px);
    opacity: 1;
  }
  75% {
    transform: translateY(-10px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}
/**********************
背景マスク‐白
**********************/

.ani-mask {
  position: relative;
  display: inline-block;
}

.ani-mask:after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 100%;
  background: #fff;
  z-index: 2;
  transform: skewX(-20deg) translateX(0%);
  transform-origin: left;
  animation: slideMaskSkew .8s ease forwards;
}


@keyframes slideMaskSkew {
  0% {
    transform: skewX(-20deg) translateX(0%);
  }
  100% {
    transform: skewX(-20deg) translateX(120%);
  }
}
