html, body
{height:100%;}

::-webkit-scrollbar {
    width:7px;
  height:3px;
}

::-webkit-scrollbar-track {
    background:#f1f1f1; 
}
 
::-webkit-scrollbar-thumb {
    background:#888; 
  border-radius:20px;
}

::-webkit-scrollbar-thumb:hover {
    background:#555; 
}



/*animation*/
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x))
{position:relative; opacity: 0; transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);}

.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(1)
{animation-delay:0.5s; -webkit-animation-delay:0.5s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(2)
{animation-delay:0.55s; -webkit-animation-delay:0.55s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(3)
{animation-delay:0.6s; -webkit-animation-delay:0.6;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(4)
{animation-delay:0.65s; -webkit-animation-delay:0.65s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(5)
{animation-delay:0.7s; -webkit-animation-delay:0.7s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(6)
{animation-delay:0.75s; -webkit-animation-delay:0.75s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(7)
{animation-delay:0.8s; -webkit-animation-delay:0.8s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(8)
{animation-delay:0.85s; -webkit-animation-delay:0.85s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(9)
{animation-delay:0.9s; -webkit-animation-delay:0.9s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(10)
{animation-delay:0.95s; -webkit-animation-delay:0.95s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(11)
{animation-delay:1s; -webkit-animation-delay:1s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(12)
{animation-delay:1.05s; -webkit-animation-delay:1.05s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(13)
{animation-delay:1.055s; -webkit-animation-delay:1.055s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(14)
{animation-delay:1.06s; -webkit-animation-delay:1.06s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(15)
{animation-delay:1.065s; -webkit-animation-delay:1.065s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(16)
{animation-delay:1.07s; -webkit-animation-delay:1.07s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(17)
{animation-delay:1.075s; -webkit-animation-delay:1.075s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(18)
{animation-delay:1.08s; -webkit-animation-delay:1.08s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(19)
{animation-delay:1.085s; -webkit-animation-delay:1.085s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(20)
{animation-delay:1.09s; -webkit-animation-delay:1.09s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(21)
{animation-delay:1.1s; -webkit-animation-delay:1.1s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(22)
{animation-delay:1.11s; -webkit-animation-delay:1.1s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(23)
{animation-delay:1.12s; -webkit-animation-delay:1.1s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(24)
{animation-delay:1.13s; -webkit-animation-delay:1.1s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(25)
{animation-delay:1.14s; -webkit-animation-delay:1.1s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(26)
{animation-delay:1.15s; -webkit-animation-delay:1.1s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(27)
{animation-delay:1.16s; -webkit-animation-delay:1.1s;}
.wordSplit :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)):nth-child(28)
{animation-delay:1.17s; -webkit-animation-delay:1.1s;}

.animated :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x))
{animation: slideLeft 1s forwards;}


@keyframes slideLeft {
  from {
    opacity: 0;
    left: 60px;
  } 
  to {
    opacity: 1;
    left: 0;
  }
}


.picEffect
{width: 100%; overflow: hidden; position: relative; opacity: 1 !important; visibility: visible !important;}

.picEffectD
{width: 100%; height: 100%; position: absolute; bottom: 0; right: 0; background: #fff; transition: 1.2s cubic-bezier(.4,.47,.17,.98); z-index: 1;}

.animated.picEffect .picEffectD
{width: 0;}

.picEffect img
{transform: scale(1.5); transition: 1.2s cubic-bezier(.4,.47,.17,.98);}

.animated.picEffect img
{transform: scale(1);}



.revealBx
{width: 100%; height: 100%; position: absolute; top: 0; left: 0;}

.reveal_in
{width: 100%; height: 100%;}

.animated .reveal_in
{
  width:100%; 
  position:relative;
  transform:scaleX(0);
  transform-origin:left;
  animation:reveal 0.5s ease-in-out forwards;
  animation-delay:0.4s;
}

.animated .reveal_in:after
{
  content:"";
  width:100%;
  height:100%;
  position:absolute; top:0; left:0;
  background: linear-gradient(114deg,rgba(39,132,249,0),rgba(177, 108, 68, 0.6) 30%,rgba(179, 81, 25, 0.7) 80%,rgba(52,85,252,0) 110%);
  z-index:1;
  animation:reveal 0.5s reverse forwards;
  animation-delay:1s;
  transform-origin:right;
}

@keyframes reveal
{
  0%
  {
    transform:scaleX(0);
  }
  
  100%
  {
    transform:scaleX(1);
  }
}
@-webkit-keyframes sonarEffect {
  0%
  {
    transform:scaleX(0);
  }
  
  100%
  {
    transform:scaleX(1);
  }
}
@-moz-keyframes sonarEffect {
  0%
  {
    transform:scaleX(0);
  }
  
  100%
  {
    transform:scaleX(1);
  }
}




.fadeUp
{transform: translate3d(0px, 100px, 0px) scale3d(1, 1, 1) rotateX(16deg) rotateY(16deg) rotateZ(0deg) skew(0deg, 0deg); opacity: 0; transition: 1s cubic-bezier(.4,.47,.17,.98); transition-delay: 0.5s; -webkit-transition-delay: 0.5s;}

.fadeUp.animated 
{transform:initial; opacity: 1;}


@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}


@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 30%, 0);
    transform: translate3d(0, 30%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 30%, 0);
    transform: translate3d(0, 30%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -30%, 0);
    transform: translate3d(0, -30%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -30%, 0);
    transform: translate3d(0, -30%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}

@-webkit-keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translateX(40px);
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translateX(40px);
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}

@-webkit-keyframes fadeInLeft {
  from {
     opacity: 0;
    -webkit-transform: translateX(-40px);
    transform: translateX(-40px);
  }

  to {
     opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
     opacity: 0;
    -webkit-transform: translateX(-40px);
    transform: translateX(-40px);
  }

  to {
     opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
}


@-webkit-keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(1.2);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(1.2);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.zoomIn {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}



/* toggle menu style */
.clear-menu-btn
{position:relative; z-index:999; top:5px;}

.clear-menu-btn {
  
  width:30px;
  height:30px;
  z-index:999999;
  -webkit-transition:.4s; -moz-transition:.4s; -khtml-transition:.4s; -o-transition:.4s;
}

.clear-menu-btn .menu_tglbtn_checkbox {
  filter: alpha(opacity=0);
  opacity: 0;
  width: 100%;
  height: 100%;
}

.clear-menu-btn .menu_tglbtn_checkbox:hover { cursor: pointer; }

.clear-menu-btn .menu_tglbtn_checkbox_check ~ .top, .clear-menu-btn .menu_tglbtn_checkbox_check ~ .bottom { top:47%; }

.clear-menu-btn .menu_tglbtn_checkbox_check ~ .top {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.clear-menu-btn .menu_tglbtn_checkbox_check ~ .bottom {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.clear-menu-btn .menu_tglbtn_checkbox_check ~ .middle {
  filter: alpha(opacity=0);
  opacity: 0;
}

.clear-menu-btn .menu_tglbtn_checkbox_check ~ .circle {
  filter: alpha(opacity=100);
  opacity: 0;
}

.clear-menu-btn :is(span:where(:not(.ax)),:is(div,span,p):where(.span-x)) {
  position: absolute;
  display: block;
  width:40%;
  height:2px;
  background-color: #fff;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  z-index: -1;
  left:25px;
  top:0;
  border-radius: 60px;
}

.clear-menu-btn .top { top: 33px; }

.clear-menu-btn .middle { top: 42px; }

.clear-menu-btn .bottom { top: 51px;}

.clearmenubtn_active .bottom
{width:40%;}

.clear-menu-btn .circle {
  display: block;
  position:absolute;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  filter: alpha(opacity=0);
  opacity: 0;
  width:28px;
  height:16px;
  background-color: transparent;
  border-radius: 50%;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  z-index: -1;
  left:14px;
  top:10px;
}



/*silk slider start*/
.slick-slider
{
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.slick-list
{
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.slick-list:focus
{outline: none;}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}
.slick-slider .slick-track,
.slick-slider .slick-list
{
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.slick-track
{
  position: relative;
  top: 0;
  left: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.slick-track:before,
.slick-track:after
{display: table; content: '';}
.slick-track:after
{clear: both;}
.slick-loading .slick-track
{visibility: hidden;}
.slick-slide
{
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}
[dir='rtl'] .slick-slide
{float: right;}
.slick-slide img
{display: block;}
.slick-slide.slick-loading img
{display: none;}
.slick-slide.dragging img
{pointer-events: none;}
.slick-initialized .slick-slide
{display: block;padding: 0 15px 0 15px;}
.slick-loading .slick-slide
{visibility: hidden;}
.slick-vertical .slick-slide
{display: block; height: auto;border: 1px solid transparent;}
.slick-arrow.slick-hidden 
{display: none;}
.slick-prev,
.slick-next
{
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    width: 57px;
    height: 6px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    border: none;
    outline: none;
    z-index: 99;
    overflow: hidden;
}

.slick-prev.slick-disabled,
.slick-next.slick-disabled
{opacity: 0; visibility: hidden;}

.slick-prev
{left: -50px; background: url(../images/arrowLeft.png) no-repeat; background-size: 59px;}

.slick-prev:before
{content: ""; width: 25px; height: 100%; position: absolute; top: 0;
    right: -100%; background: url(../images/grayBg.png) repeat #fff; -webkit-transition:.4s; -moz-transition:.4s; -khtml-transition:.4s; -o-transition:.4s; transition:.4s;}

.slick-prev:hover:before
{-webkit-animation: shine .75s; animation: shine .75s;}

@-webkit-keyframes shine { 100% {right: 100%; }}
@keyframes shine {100% { right: 100%; }}

.slick-next
{right:-50px; background: url(../images/arrowRight.png) no-repeat; background-size: 59px;}

.slick-next:before
{content: ""; width: 25px; height: 100%; position: absolute; top: 0;
    left: -100%; background: url(../images/grayBg.png) repeat #fff; -webkit-transition:.4s; -moz-transition:.4s; -khtml-transition:.4s; -o-transition:.4s; transition:.4s;}

.slick-next:hover:before
{-webkit-animation: shineN .75s; animation: shineN .75s;}

@-webkit-keyframes shineN { 100% {left: 100%; }}
@keyframes shineN {100% { left: 100%; }}

.slick-dotted.slick-slider
{margin-bottom: 0;}
.slick-dots
{
    position: absolute;
    bottom: -60px;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
.slick-dots li
{
    position: relative;
    display: inline-block;
    width: 9px;
    height: 9px;
    margin: 0 17px;
    padding: 0;
    cursor: pointer;
}
.slick-dots li button
{
  font-size: 0;
  line-height: 0;
  display: block;
  width: 8px;
  height: 8px;
  cursor: pointer;
  color: transparent;
  outline: none;
  position: relative;
  background: none !important;
}

.slick-dots li button:before
{content: ""; width: 8px; height: 8px; border: 1px solid #1a1a1a; border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: .4s cubic-bezier(.4,.47,.17,.98);}

.slick-dots li button:after
{content: ""; width: 40px; height: 40px; border: 1px solid #ddd; border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: .4s cubic-bezier(.4,.47,.17,.98); opacity: 0;}

.slick-dots li.slick-active button:before
{background: #1a1a1a !important; border: 1px solid #1a1a1a;}

.slick-dots li.slick-active button:after
{border-color: #1a1a1a; opacity: 1;}

/* ===== ページネーション全体を中央揃え ===== */
.modula-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/* ページリンクを囲むコンテナを整える */
.modula-links-wrapper {
    display: flex;
    gap: 10px; /* ボタン間の間隔 */
}

/* ===== ページネーションボタンのデザイン ===== */
.modula-links-wrapper .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    border: 2px solid #3d2b1f; /* 枠線の色 */
    color: #3d2b1f; /* 文字色 */
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    min-width: 40px; /* ボタン幅を統一 */
}

/* ===== アクティブな（現在の）ページのデザイン ===== */
.modula-links-wrapper .current {
    background-color: #3d2b1f; /* 現在のページの背景色 */
    color: #fff;
}

/* 通常のページリンク */
.modula-links-wrapper a.page-numbers {
    background-color: transparent;
}

/* ===== ホバー時のスタイル ===== */
.modula-links-wrapper a.page-numbers:hover {
    background-color: #3d2b1f;
    color: #fff;
}

/* ===== 「«」「»」を「Prev」「Next」に変更 ===== */
.modula-links-wrapper .prev::before {
    content: "Prev"; /* 「Prev」のみ表示 */
    font-style: italic;
    font-weight: bold;
    font-size: 18px;
    color: #3d2b1f;
}

/* 「«」を非表示にする */
.modula-links-wrapper .prev {
    font-size: 0; /* 元の「«」を非表示 */
    min-width: 60px;
    text-align: center;
}

/* 「»」を「Next」に変更 */
.modula-links-wrapper .next::before {
    content: "Next"; /* 「Next」のみ表示 */
    font-style: italic;
    font-weight: bold;
    font-size: 18px;
    color: #3d2b1f;
}

/* 「»」を非表示にする */
.modula-links-wrapper .next {
    font-size: 0; /* 元の「»」を非表示 */
    min-width: 60px;
    text-align: center;
}