/* Fixes for mobile slideshow + menu layering */
.bx-wrapper .bx-viewport { height: auto !important; }
.menu { z-index: 9999 !important; }
.menu-btn { z-index: 10000 !important; }

/* Mobile slider sizing */
.slide_wrap img{max-width:100%;height:auto;display:block;}
.slide_all{overflow:hidden;}
@media (max-width: 768px){
  .slide_all, .slide_wrap{height:auto !important;}
  .slide_body.spView .slide img{width:100%;height:auto;}
}

/* PC slider normalize (Wayback/bxSlider captured inline styles) */
.bx-viewport{height:auto !important;}
.slide_body{transform: translate3d(0px,0px,0px) !important; width:100% !important;}
.slide_body .slide{float:none !important; width:auto !important;}
.slide_body .slide img{max-width:100%; height:auto; display:block;}

/* Slider controls + sizing */
.slide_all{position:relative;}
.bx-wrapper{margin:0 auto;}
.bx-viewport{height:auto !important;}
.tk-slider-controls{position:absolute;left:0;right:0;bottom:10px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;pointer-events:none;z-index:10;}
.tk-slider-controls .tk-prev,.tk-slider-controls .tk-next{pointer-events:auto;border:0;border-radius:999px;width:38px;height:38px;line-height:38px;font-size:26px;background:rgba(0,0,0,.35);color:#fff;cursor:pointer;}
.tk-slider-controls .tk-pager{pointer-events:auto;display:flex;gap:8px;align-items:center;justify-content:center;flex:1;}
.tk-slider-controls .tk-dot{border:0;width:10px;height:10px;border-radius:999px;background:rgba(255,255,255,.55);cursor:pointer;}
.tk-slider-controls .tk-dot.is-active{background:rgba(255,255,255,.95);}
@media (max-width: 768px){
  .tk-slider-controls{bottom:6px;padding:0 10px;}
  .tk-slider-controls .tk-prev,.tk-slider-controls .tk-next{width:34px;height:34px;line-height:34px;font-size:24px;}
}
/* Prevent giant images */
.slide_wrap img{width:100%;height:auto;max-height:70vh;object-fit:cover;}

.mainvisual img {
  width: 100%;
  height: auto;
  display: block;
}