/*
Theme Name:shibuya-kanzeikai
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;
  --animation-time-infinate: infinite;
}

html{
  scroll-padding-top: 150px;
  body{overflow-x: hidden;}
}
/*Tab widget*/
.custom-tabs .e-n-tabs-heading{
background-color: #E6E6F0;
padding: 5px;
border-radius: 100px;
width: fit-content;
margin: 0 auto;
}

.archive-categories-list{
  list-style-type: none;
  display: flex;
  flex-wrap:wrap;
  margin: 0;
  padding: 0;
  li{
    width: 150px;
    text-align:center;
    background-color:#e6e6f0;
    padding:10px;
    border-radius:60px;
    margin:5px 5px;
    a{
      display:block;
      color:#000000;
    }
  }
}

.e-search-input-wrapper{
  margin: 0;
  padding: 0;
  height: 40px;
}
.e-search-submit{
  width: 40px !important;
  height: 40px !important;
  align-items: center;
  position: absolute;
  right: 0px;
  i{text-align: center;
    padding:0;
    margin:0;
  }
}

/*終了いたしました非表示*/
div.終了いたしました{
  display:none;
}

/*フォントサイズ変更ボタン*/
#fontsize-switcher{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  button{
    padding: 10px;
    margin:5px;
    color:#fff;
    font-weight:bold;
    border:none;
    background-color:#000000;
    &#fss_small{font-size: 12px;}
    &#fss_medium{font-size: 16px;}
    &#fss_large{font-size: 20px;}
  }
}

form[name="new_member"]{
  b{
   color:#000000;
   fontsize:18px;
 }
 hr{
   background-color:#000000;
 }
}

/*animation 無限ループ*/
.infinate{animation-iteration-count:var(--animation-time-infinate) !important;}

/*グラデテキスト*/
.gradient_text_pink h2{
background: linear-gradient(90deg, rgba(149,0,255,1) 0%, rgba(255,23,90,1) 48%, rgba(255,121,162,1) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
color:inherit !important;
}

.gradient_text_yellow h2{
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;
}

.gradient_text_blue h5{
background: linear-gradient(144deg, rgba(var(--accent-1-c), 1) 4%, rgba(var(--accent-2-c), 1) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
color:inherit !important;
}
/*スクロール矢印*/
.scroll_down{
display: inline-block;
  position: absolute;
  right: 40px;
  bottom: 0;
  z-index: 2;
  padding: 10px 10px 110px;
  overflow: hidden;
  color: #000000;
  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;
}

.scroll_down:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 100px;
  background: #000000;
  animation: sdl 2s cubic-bezier(1, 0, 0, 1) var(--animation-time-infinate);
}
@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 h2{
  position: relative;
  display: inline-block;
}

/*ボーダーデザイン*/
.border-ani: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: -webkit-transform 0.3s cubic-bezier(0.37, 0.16, 0.12, 1);
  transition: transform 0.3s cubic-bezier(0.37, 0.16, 0.12, 1);
  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);
}

.border-ani: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: -webkit-transform 0.3s cubic-bezier(0.37, 0.16, 0.12, 1);
    transition: transform 0.3s cubic-bezier(0.37, 0.16, 0.12, 1);
    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);
}

/*ボーダーデザインホバー時*/

.border-ani:hover:before{
transform:scaleX(1);
transform-origin:left top;
transition:transform 0.3s cubic-bezier(0.37, 0.16, 0.12, 1);
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);
}
.border-ani:hover:after{
transform:scaleX(1);
transform-origin:left top;
transition:transform 0.3s cubic-bezier(0.37, 0.16, 0.12, 1);
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
}

/************
矢印リンク
**************/
/*※アイコンに設置*/
.arrow-link .elementor-icon:hover {
    animation: arrow-right 0.5s ease-in-out;
}

/*記事LOOPに設置*/
.arrow-before{
  position: relative;
}
.arrow-before:after{
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  color:#000000;
  z-index:2;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30px;
  height: 30px;
  font-weight:bold;
}

.arrow-before: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(var(--accent-1-c), 0.99);
    }
    &:hover::before {
      transform-origin: left top;
      transform: scale(1, 1);
    }
    .elementor-button-text{
      z-index: 99;
    }
    .elementor-button-icon{
      z-index: 99;
    }
  }
  &.two-row-txt-button{
    .elementor-button-icon{
      font-size: 20px;
    }
  }
  &.secound-color{
    a:before{
      background-color: rgba(255, 255, 255, 1);
    }
  }
}


/* アニメーションの定義 */
@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;
  }
}


/**********************
フロートボックス
**********************/


/* .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;
}





/**********************
マーカーを引く
**********************/
.marker {
  /* マーカーを引く
  rgba(255, 153, 0,0.5) の部分はマーカーの色を指定しています。
　実装される際は、お好きな色、透明度をお入れ下さい。 */
  background:linear-gradient(transparent 50%, rgba(var(--accent-2-c), 1) 50%); /* マーカーを引く */
  /* インライン属性を指定する */
  display: inline;
  /* 背景の繰り返しを停止 */
  background-repeat: no-repeat;
  /* マーカーの横方向を0にして縮める */
  background-size: 0% 100%;
  /* マーカーが引かれる速度を指定 */
  transition:background-size 1.5s;
}
/* マーカーが引かれる際に付与するクラス */
.marker.anime_on {
  /* 横方向を100%にして、マーカーを引く */
  background-size: 100% 100%;
}

.mask-bg{
  h2{
    color: transparent !important;
    display: inline-block;
    font-size: 36px;
    font-weight: bold;
    overflow: hidden;
    position: relative;
    transition: color 0ms 450ms;
    &:after{
      background: rgba(255,255,255,1);
      bottom: 0;
      content: '';
      display: block;
      left: 0;
      position: absolute;
      right: 0;
      top: 0;
      transform: translate(0, 100%);
      border-radius:10px;
    }
  }
  span{
    color: rgba(var(--accent-1-c), 0) !important;
    transition: color 0ms 450ms;
  }
  &.anime_on{
    h2 {
      color: initial !important;
      &:after{
        animation: mask-bg 1.2s cubic-bezier(0.8, 0, 0.170, 1);  border-radius:10px;
      }
    }
    span{color: rgba(var(--accent-1-c), 1) !important;}
  }
}

@keyframes mask-bg {
  0% {
    transform: translate(-99%,0);
    background: rgba(245,245,245,1);
  }
  40%, 60% {
    transform: translate(0, 0%);
    background: rgba(251,251,251,0.99);
  }
  100% {
    transform: translate(100%,0);
  }
}




/* カレンダーを固定レイアウトに */
#wp-calendar {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
}

/* セル幅：7分割、セル高さ：120px（必要に応じて調整） */
#wp-calendar th,
#wp-calendar td {
  width: calc(100% / 7);
  height: 120px;
  vertical-align: top;
  border: 1px solid #E6E6F0;
  padding: 4px;
  box-sizing: border-box;
  background-color: #ffffff;
}

/* 日付部分 */
#wp-calendar td .day-number {
  font-size:11px;
  text-align:center;
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
  &.calendar_today{
    background-color: #0b57d0;
    color: #ffffff;
    border-radius: 10px;
  }
}

/* イベントリンク */
#wp-calendar td.event-day a {
  display: block;
  background-color: #ffe4e1;
  font-size: 11px;
  text-decoration: none;
  margin-bottom: 2px;
  border-radius:10px;
  padding:0 5px;
  color: #000;  /* お好みで色を変更 */
}
.pagenation_calendar{
  display: flex;
  justify-content: space-between;
  height:60px;
  .prev,.next{
    display: flex;
    justify-content:center;
    align-items:center;
    background-color:#E6E6F0;
    width:40px;height:40px;
    border-radius:100px;
    a{color:#000000;font-size: 30px;}
  }
  .caption{
    font-size: 30px;
    color:#000;
    border-radius:10px

  }
}

#wp-calendar th{
  height: 10px;
  background-color: #ffffff;
}

table#wp-calendar tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th{
  background-color:#ffffff;
}

/*radio色変え*/
.elementor-field-group-field_8dcda0d label{color:red !important;}
