/*
Theme Name:hello-child
Template:hello-elementor
Version:1.0
*/
/* 無効化用のスタイル */
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;
  --gradient-c: linear-gradient(90deg,rgba(30, 105, 205, 1) 0%, rgba(255, 33, 181, 1) 99%);
  --gradient-c2: linear-gradient(144deg, rgba(255,123,28,1) 4%, rgba(255,236,0,1) 100%);
  --animation-time-infinate: infinite;
}

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

/*header‐スクロールしたら表示*/
.scroll-header {
  display: flex !important;
  overflow: hidden;
  height: 0;
  padding: 0;
  opacity: 0;
}
.scroll-header.open {
  height:auto;
  opacity: 1;
}

/***********************
テキストの装飾
***********************/
.gradient_text_pink{
  h1,h2,h3,h4,h5,span{
  background: var(--gradient-c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color:inherit !important;
  }
}
.gradient_text_yellow{
  h2,h3,h4,h5,span{
  background: linear-gradient(144deg, rgba(255,123,28,1) 4%, rgba(255,236,0,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color:inherit !important;
  opacity: 0.3
  }
}
.gradient_text_yellow_nonalpha{
  h2,h3,h4,h5,span{
  background: linear-gradient(144deg, rgba(255,123,28,1) 4%, rgba(255,236,0,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color:inherit !important;
  }
}
/* カスタムプロパティを time 型として宣言 */
@property --scroll-speed {
  syntax: '<time>';
  inherits: true;
  initial-value: 60s; /* デフォルトは60秒 */
}

/* 基本スタイル */
.scroll-text {
  h1,h2,h3,h4,h5,div,span{
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left var(--scroll-speed) linear infinite;
    transition: --scroll-speed 0.5s ease; /* クラス変更時に滑らかに速度切替 */
  }
}

/* 速度クラス */
.scroll-text.slow   { --scroll-speed: 120s; } /* ゆっくり */
.scroll-text.normal { --scroll-speed: 60s; } /* 普通 */
.scroll-text.fast   { --scroll-speed: 30s; } /* 速い */

@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: #ffffff;
  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: #ffffff;
    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: 5px;
    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: linear-gradient(90deg,rgba(255, 138, 36, 1) 0%, rgba(255, 219, 110, 1) 50%, rgba(255, 149, 135, 1) 100%);
      height: 5px;
      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,h3,h4{
    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: "→";
    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;
  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;
  }
  &:hover{
    &:before {
      transform: translate(40%, -20%) rotate(20deg);
    }
    span {
      color: #000 !important;
    }
  }
}

/*Custom-style*/
.circle-button {
  &.tida-hp-color{
    div.elementor-widget-container{
      border: 0px solid #000;
      background: #ffffff;
      &:before {
        background: var(--gradient-c);
      }
    }
  }
}
/*Custom-style*/
.circle-button {
  &.usmiru-hp-color{
    div.elementor-widget-container{
      border: 0px solid #000;
      background: #45ACE7;
      &:before {
        background: #45ACE7;
      }
    }
  }
}

.swiper-slide-image{
  filter: brightness(0%);
}

/*メニューテキストグラデ*/
.elementor-widget-nav-menu li a{

  &.elementor-item-active,&:hover {
    background: var(--gradient-c2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    transition: all 0.3s ease;
  }
}


/*MOUSE*/
body{
  cursor: url(https://tida.lppage.net/wp-content/uploads/2025/07/smm.png) 5 5, default !important;
}
/* マウスストーカー */
    #stkr{
      position: fixed;
      top: 0px;
      left: 0px;
      width: 25px;
      height: 25px;
      border:none;
      background: linear-gradient(0deg,rgba(255, 138, 36, 0.2) 0%, rgba(255, 219, 110, 0.2) 50%, rgba(255, 149, 135, 0.2) 100%);
      border-radius: 5%;
      transition: 0.2s;
      transition-timing-function: ease-out;
      pointer-events: none;
      z-index: 9999;
    }
@media only screen and (max-width: 767px){
    #stkr{display: none;}
}
/*/MOUSE*/

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


/* .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%);
  }
}


/**********************
円形ボックス
**********************/


/* 角度用カスタムプロパティをアニメーション可能にする */
@property --orbit {
  syntax: '<angle>';
  inherits: true;
  initial-value: 0deg;
}

/* 全体のラッパ（中央画像と8つの .circle_box を内包している要素） */
.ring {               /* クラス名は任意。外側のコンテナに付与してください */
  position: relative;
  --r: 200px;         /* 半径（必要に応じて調整） */
  --speed: 24s;       /* 1周の時間 */
  --orbit: 0deg;      /* 現在角度（アニメーションで変化） */
  animation: ring-spin var(--speed) linear infinite;
}

/* 時計回りに角度を 0 → 360deg へ */
@keyframes ring-spin {
  to { --orbit: 360deg; }
}

/* 既存の共通スタイルはそのままでOK（参考として再掲） */
.circle_box {
  position: absolute !important;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  border-radius: 10px !important;
  text-align: center;
  font-weight: bold;
  opacity: 1;
  /* ここから下を差し替え（transform を統一式に） */
  transform:
    translate(-50%, -50%)
    rotate(calc(var(--base) + var(--orbit)))   /* 配置角 + 周回角 */
    translate(var(--r))                        /* 半径で平行移動 */
    rotate(calc(-1 * (var(--base) + var(--orbit)))); /* 常に正立 */
}

/* 各BOXの配置角を変数として付与（元の角度を --base に） */
.ring-circle-1 { --base: 0deg; }
.ring-circle-2 { --base: 46deg; }
.ring-circle-3 { --base: 90deg; }
.ring-circle-4 { --base: 136deg; }
.ring-circle-5 { --base: 180deg; }
.ring-circle-6 { --base: 226deg; }
.ring-circle-7 { --base: 270deg; }
.ring-circle-8 { --base: 316deg; }

/* 低速・停止など：ユーザー配慮 */
@media (prefers-reduced-motion: reduce) {
  .ring { animation: none; }
  .circle_box {
    transform:
      translate(-50%, -50%)
      rotate(var(--base))
      translate(var(--r))
      rotate(calc(-1 * var(--base)));
  }
}




/**********************
円形グラデーション
**********************/

.circle-gradient {
  position: relative;
  height: 600px;
  overflow: hidden;
}

/* 放射状グラデーションを背景に持つ擬似要素 */
.circle-gradient:before {
  content:""!important;
  position: absolute;
  border-radius: 100%;
  border: 2px solid #02389C;
  background: radial-gradient(
    circle,
    /* 中心に近い色   */ #7EC3D4 0%, #7EC3D4 10%,
    /* 中間の色       */ #D6EBF1 10%, #D6EBF1 30%,
    /* 外側に近い色   */ #EFF7F9 30% ,#EFF7F9 60%,
    /* 外側          */ #ffffff 60%

  );
  /* 初期状態は少し縮小＆半透明 */
  /*transform: scale(0.7);
  transform-origin: center;
  opacity: 0.7;*/
  /* アニメーション設定
  animation: radialExpand 3s ease-in-out var(--animation-time-infinate) alternate;*/
}

/* スケールアップしながら不透明度も変化させる
@keyframes radialExpand {
  0% {
    transform: scale(0.7);
    opacity: 0.4;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
*/

.faq-accordion details summary span.e-n-accordion-item-title-header div:before{
  content:"Q";
  background-color:#004AAD ;
  color:#ffffff;
  border-radius: 100%;
  width:30px;
  height:30px;
  font-weight:bold;
  text-align: center;
  line-height: 30px;
  margin-right: 10px;
  display: inline-block;
}

.faq-accordion.usmiru-new details summary span.e-n-accordion-item-title-header div:before{
  content:"Q";
  background-color:#45ACE7 ;
  color:#ffffff;
  border-radius: 100%;
  width:30px;
  height:30px;
  font-weight:bold;
  text-align: center;
  line-height: 30px;
  margin-right: 10px;
  display: inline-block;
}

.faq-accordion details div[role="region"] p:before{
  content:"A";
  background-color:#ff841c;
  color:#ffffff;
  border-radius: 100%;
  width:30px;
  height:30px;
  display: inline-block;
  text-align: center;
  line-height: 30px;
  margin-right: 10px;
}
