/* Tenpodo WordPress theme: mobile-only enhancements. No desktop style changes. */
.tp-mobile-toggle,.tp-mobile-nav{display:none}
@media screen and (max-width:767px){
  html,body{max-width:100%;overflow-x:hidden}
  body{margin:0!important;min-width:0!important}
  #container,#contents,#wrap,#main{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;float:none!important;margin-left:0!important;margin-right:0!important}
  #container{padding:0!important}
  #contents,#wrap{padding:0!important}
  #main{padding:16px!important;box-sizing:border-box!important}
  #main img,#main video,#main iframe{max-width:100%!important;height:auto}
  #main table{max-width:100%;display:block;overflow-x:auto}
  #main input:not([type=checkbox]):not([type=radio]):not([type=hidden]),#main select,#main textarea{max-width:100%;box-sizing:border-box}
  #sub{display:none!important}
  #header{width:100%!important;max-width:100%!important;height:auto!important;min-height:100px!important;box-sizing:border-box!important;position:relative;padding:10px 60px 12px 10px!important;background-size:cover!important}
  #header .logo{position:static!important;margin:0!important;max-width:100%}
  #header .logo img{max-width:190px!important;height:auto!important}
  #header .addr{display:block!important;position:static!important;top:auto!important;text-indent:0!important;font-size:11px!important;margin:4px 0!important}
  #header h1{font-size:11px!important;line-height:1.4!important;max-width:100%!important;overflow-wrap:anywhere}
  #header .header_btn,#header .header_btn2,#header .header_btn_line,#header .header_btn_fb,#header .header_btn_insta{display:none!important}
  #footer_cont,#footer_cont_IN{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;padding-left:0.5em;padding-right:0.5em;}
  #footer_cont img{max-width:100%;height:auto}
  #footer_cont ul{max-width:100%;box-sizing:border-box}
  #main .mailform{width:100%!important}
  #main .mailform tr,#main .mailform th,#main .mailform td{display:block!important;width:100%!important;box-sizing:border-box}
  #main .mailform th{padding-bottom:5px!important}
  #main .mailform td{padding-bottom:15px!important}
  .tp-mobile-toggle{display:flex;position:fixed;top:12px;right:12px;width:46px;height:46px;z-index:100002;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:0;border-radius:5px;color:#fff;background:#594a30;box-shadow:0 1px 5px #0004;cursor:pointer}
  .tp-mobile-toggle span{display:block;background:currentColor;width:23px;height:2px}
  .tp-mobile-toggle:focus-visible,.tp-mobile-nav a:focus-visible{outline:3px solid #e6a526;outline-offset:2px}
  .tp-mobile-nav{display:block;position:fixed;top:0;bottom:0;right:0;width:min(82vw,340px);z-index:100001;background:#fff;box-shadow:-4px 0 16px #0003;transform:translateX(110%);transition:transform .22s ease;overflow-y:auto;padding:65px 0 20px;box-sizing:border-box;visibility:hidden}
  .tp-mobile-nav.is-open{transform:translateX(0);visibility:visible}
  .tp-mobile-nav .tp-mobile-menu-title{padding:10px 18px;color:#5d5037;font-weight:700;font-size:15px}
  .tp-mobile-nav a{display:block;padding:14px 20px;color:#272727;text-decoration:none;border-bottom:1px solid #e2e2e2;font-size:16px;line-height:1.45}
  .tp-mobile-nav a:hover{background:#f4f1e9}
  .tp-mobile-backdrop{display:none;position:fixed;inset:0;background:#0008;z-index:100000}
  .tp-mobile-backdrop.is-open{display:block}
  body.tp-mobile-menu-open{overflow:hidden!important}
}
@media (prefers-reduced-motion:reduce){.tp-mobile-nav{transition:none}}

/* Blog-specific responsive adjustments. Affects only blog templates. */
@media screen and (max-width:767px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  #container,#container #contents,#container #wrap,#container #main.tp-blog-main{
    display:block!important;float:none!important;position:relative!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    height:auto!important;margin-left:0!important;margin-right:0!important;
    box-sizing:border-box!important;
  }
  #container #contents,#container #wrap{padding:0!important}
  #container #main.tp-blog-main{
    padding:15px 16px 30px!important;overflow-wrap:anywhere;
    font-size:16px!important;line-height:1.75!important;
    background:transparent;
  }
  #main.tp-blog-main .tp-blog-heading{margin:0 0 20px!important;padding:0!important}
  #main.tp-blog-main .tp-blog-heading img{display:block!important;width:100%!important;max-width:645px!important;height:auto!important}
  #main.tp-blog-main h2{font-size:19px!important;line-height:1.45!important;margin:20px 0 8px!important;padding:0 0 8px!important;overflow-wrap:anywhere}
  #main.tp-blog-main h2 font{font-size:inherit!important}
  #main.tp-blog-main p,#main.tp-blog-main li{line-height:1.75!important;overflow-wrap:anywhere}
  #main.tp-blog-main img,#main.tp-blog-main video,#main.tp-blog-main iframe,
  #main.tp-blog-main .wp-caption,#main.tp-blog-main figure{max-width:100%!important;height:auto!important;box-sizing:border-box!important}
  #main.tp-blog-main .alignleft,#main.tp-blog-main .alignright{float:none!important;display:block!important;margin:12px auto!important}
  #main.tp-blog-main table{display:block;max-width:100%;overflow-x:auto}
  #main.tp-blog-main pre{white-space:pre-wrap;overflow-wrap:anywhere}
  #main.tp-blog-main .wp-pagenavi{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:20px 0}
  #main.tp-blog-main .wp-pagenavi a,#main.tp-blog-main .wp-pagenavi span{display:inline-block;padding:7px 10px;min-width:32px;text-align:center}
  #footer_cont_IN .fot_cont01 li{float:none!important;max-width:100%!important}
  #footer_cont_IN .footer_menu,#footer_cont_IN .footer_menu02{display:none!important}
}
/* Tenpodo shared WordPress mobile navigation: left-align consistently. */
/* Append to the END of the existing css/tenpodo-mobile.css. */
@media screen and (max-width: 767px) {
  body nav.tp-mobile-nav,
  body nav#tp-mobile-nav {
    text-align: left !important;
    direction: ltr !important;
  }

  body nav.tp-mobile-nav .tp-mobile-menu-title,
  body nav#tp-mobile-nav .tp-mobile-menu-title {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 12px 18px !important;
    text-align: left !important;
    text-indent: 0 !important;
    float: none !important;
  }

  body nav.tp-mobile-nav a,
  body nav#tp-mobile-nav a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 13px 18px !important;
    text-align: left !important;
    text-indent: 0 !important;
    float: none !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
}
