/* Main-site navigation and the mobile home-page galleries */
.ch-nav-expand, .ch-slide-controls[hidden], .ch-hero-view[hidden], .ch-hero-spec[hidden] { display:none !important; }
body .Bnr.ch-ad-dismissed,
body.ch-menu-visible :is(#sideArea,.Bnr),
body.ch-reserve-visible :is(#sideArea,.Bnr) { display:none !important; pointer-events:none !important; }
body.ch-menu-visible, body.ch-reserve-visible { overflow:hidden !important; }
.yoyaku-slide-nav[aria-hidden="true"] { visibility:hidden; }
.ch-reserve-visible .yoyaku-slide { z-index:100010 !important; }
.ch-reserve-visible .yoyaku-slide .overlay.open { position:fixed; inset:0; width:100%; height:100%; }
body.ch-compact-nav #header :focus-visible, .ch-reserve-head :focus-visible,
.ch-slide-controls :focus-visible, .ch-hero-view:focus-visible { outline:3px solid #1784bf !important; outline-offset:-3px; }
@media (max-width:769px), (orientation:landscape) and (max-width:1024px) and (max-height:600px) {
  body.ch-compact-nav #header {
    position:fixed !important; inset:0 0 auto !important; display:flex !important; align-items:center;
    box-sizing:border-box; width:100% !important; height:60px !important; padding:0 !important;
    margin:0 !important; z-index:10000 !important; background:#fff !important; transform:none !important;
  }
  body.ch-compact-nav #header .logo,
  body.ch-compact-nav.open #header .logo {
    display:flex !important; align-items:center; position:static !important; inset:auto !important;
    width:auto !important; max-width:calc(100% - 134px); height:60px; padding:0 !important; margin:0 !important;
    z-index:2 !important;
  }
  body.ch-compact-nav #header .logo a, body.ch-compact-nav.open #header .logo a {
    display:flex !important; align-items:center; position:static !important; width:auto !important;
    max-width:100%; height:100%; padding:0 10px 0 clamp(12px,4vw,24px) !important; margin:0 !important;
  }
  body.ch-compact-nav #header .logo a img, body.ch-compact-nav.open #header .logo a img {
    width:clamp(108px,42vw,175px) !important; max-width:100% !important; height:auto;
    filter:brightness(0) !important; opacity:1 !important; margin:0 !important;
  }
  body.ch-compact-nav #navBtnOpen,body.ch-compact-nav #spyoyaku_btn {
    display:grid !important; place-items:center; position:absolute !important; top:0 !important; bottom:auto;
    box-sizing:border-box; width:58px !important; height:60px !important; margin:0 !important;
    padding:0 !important; z-index:5 !important; cursor:pointer;
  }
  body.ch-compact-nav #navBtnOpen { right:72px !important; background:#262626 !important; }
  body.ch-compact-nav #navBtnOpen:has(+ :not(#spyoyaku_btn)), body.ch-compact-nav #navBtnOpen:last-child { right:0 !important; }
  body.ch-compact-nav #navBtnOpen .header_sp_nav { display:grid; align-content:center; gap:5px; width:22px; height:30px; }
  body.ch-compact-nav #navBtnOpen .nav_line { display:block !important; width:22px !important; height:2px !important; background:#fff !important; margin:0 !important; transform:none !important; }
  body.ch-compact-nav.open #navBtnOpen .nav_line1 { transform:translateY(7px) rotate(45deg) !important; }
  body.ch-compact-nav.open #navBtnOpen .nav_line2 { opacity:0; }
  body.ch-compact-nav.open #navBtnOpen .nav_line3 { transform:translateY(-7px) rotate(-45deg) !important; }
  body.ch-compact-nav #spyoyaku_btn { right:0 !important; width:72px !important; }
  body.ch-compact-nav #spyoyaku_btn a,body.ch-compact-nav #spNav #srBtn {
    background:#ad350d !important; color:#fff !important; font-size:14px !important; font-weight:650;
    line-height:1.4 !important; letter-spacing:0 !important; text-indent:0;
  }
  body.ch-compact-nav #spyoyaku_btn a { width:100%; height:100%; display:grid; place-items:center; }
  body.ch-compact-nav #header #spNav {
    position:fixed !important; inset:60px 0 0 !important; z-index:1; display:none !important; flex:none;
    width:100% !important; max-width:none !important; height:calc(100vh - 60px) !important;
    height:calc(100dvh - 60px) !important; box-sizing:border-box; padding:8px 16px max(20px,env(safe-area-inset-bottom)) !important;
    background:#222 !important; opacity:1 !important; visibility:visible !important; transform:none !important;
    overflow:auto !important; overscroll-behavior:contain; text-align:left; line-height:1.5; transition:none;
  }
  body.ch-compact-nav.ch-menu-visible #header #spNav { display:block !important; }
  body.ch-compact-nav #header #spNav > .h_nav {
    position:static !important; display:flex !important; flex-flow:column nowrap; width:min(100%,650px) !important;
    margin:0 auto !important; padding:0 !important; height:auto !important;
  }
  body.ch-compact-nav #header #spNav .h_nav > li {
    display:block !important; position:relative; width:100% !important; height:auto !important;
    border-bottom:1px solid #565656; margin:0; padding:0; list-style:none;
  }
  body.ch-compact-nav #header #spNav .h_nav > li.linkBtn { order:-1; margin-bottom:6px; }
  body.ch-compact-nav #header #spNav .h_nav > li::after { display:none !important; }
  body.ch-compact-nav #header #spNav .h_nav > li > a {
    display:flex !important; align-items:center; box-sizing:border-box; width:calc(100% - 48px);
    min-height:46px; font-size:15px !important; line-height:1.45 !important; padding:6px 12px !important; margin:0 !important;
    color:white !important; letter-spacing:.01em; text-align:left;
  }
  body.ch-compact-nav #header #spNav .ch-nav-expand {
    position:absolute; top:0; right:0; display:grid !important; place-items:center;
    width:46px; height:46px; min-height:0; font:20px/1 sans-serif; border:0; border-radius:0;
    color:white; background:transparent; padding:0; cursor:pointer;
  }
  body.ch-compact-nav #spNav .ch-nav-expand[aria-expanded="true"] { transform:rotate(180deg); }
  body.ch-compact-nav #header #spNav .h_nav .sub-menu {
    position:static !important; display:none !important; visibility:visible !important; opacity:1 !important;
    width:100% !important; max-width:none; height:auto !important; max-height:none; margin:0;
    padding:0 4px 8px !important; transform:none !important; background:#323232 !important;
    box-shadow:none; box-sizing:border-box; pointer-events:auto;
  }
  body.ch-compact-nav #header #spNav .h_nav .sub-menu.active {
    display:grid !important; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));
  }
  body.ch-compact-nav #header #spNav .sub-menu li { width:auto !important; padding:0; }
  body.ch-compact-nav #header #spNav .sub-menu li a {
    display:flex !important; align-items:center; box-sizing:border-box; min-height:44px;
    width:auto !important; margin:0 !important; padding:6px 12px !important; overflow:visible !important;
    color:#fff !important; white-space:normal !important; font-size:14px !important; line-height:1.6 !important;
    border:0 !important; text-align:left;
  }
  body.ch-compact-nav #header #spNav .social { display:flex; gap:12px; align-items:center; justify-content:center; margin:12px 0; }
  body.ch-compact-nav #header #spNav .social a { display:grid; place-items:center; min-width:44px; min-height:44px; }
  body.ch-compact-nav #header #spNav .h_nav #srBtn { display:grid !important; place-items:center; width:100%; min-height:46px; }
  body.ch-compact-nav #sideArea {
    position:fixed !important; inset:auto 0 0 !important; box-sizing:border-box;
    width:100% !important; height:auto !important; margin:0 !important;
    padding:0 0 env(safe-area-inset-bottom) !important; background:#94300d; z-index:9000;
  }
  body.ch-compact-nav #sideArea ul { display:flex !important; flex-flow:row nowrap !important; gap:1px; width:100% !important; padding:0 !important; margin:0 !important; }
  body.ch-compact-nav #sideArea li { display:block !important; flex:1 1 0; width:auto !important; padding:0 !important; margin:0 !important; }
  body.ch-compact-nav #sideArea li.pc { display:none !important; }
  body.ch-compact-nav #sideArea li a {
    display:grid !important; place-items:center; width:100% !important; min-height:48px; box-sizing:border-box;
    writing-mode:horizontal-tb !important; padding:4px 1px !important; height:auto !important; white-space:normal;
    color:white !important; background:#ad350d !important; font-size:clamp(13px,3.6vw,14px); font-weight:600;
    line-height:1.35; text-align:center; letter-spacing:0;
  }
  body.ch-compact-nav #sideArea li.event a { background:#272727 !important; }
  body.ch-compact-nav .Bnr .Bnr__img { position:fixed; width:clamp(124px,40vw,180px); bottom:calc(54px + env(safe-area-inset-bottom)); left:4px; }
  body.ch-compact-nav .Bnr .Bnr__img__inner { width:100% !important; }
  body.ch-compact-nav .Bnr .Bnr__img__inner img { width:100% !important; height:auto; }
  body.ch-compact-nav .Bnr .Bnr__img p.close { position:absolute; inset:auto auto 0 100% !important; width:44px !important; height:44px; margin:0; }
  body.ch-compact-nav .Bnr .Bnr__img p.close a { display:grid; place-items:center; box-sizing:border-box; width:44px; height:44px; background:#fff; color:#222; border:1px solid #565656; border-radius:50%; }
  body.ch-compact-nav .Bnr .Bnr__img p.close a::before { content:"×"; font:26px/1 sans-serif; }
  body.ch-compact-nav .Bnr .Bnr__img p.close i { display:none; }
  body.ch-compact-nav .yoyaku-slide-nav { padding-top:0; overscroll-behavior:contain; scroll-padding-top:72px; }
  body .ch-reserve-head {
    position:sticky; top:0; z-index:4; display:flex; align-items:center; justify-content:space-between;
    gap:8px; min-height:58px; padding:3px 0; margin:0; background:#e5e5e5;
  }
  body .ch-reserve-head h2 { font-size:clamp(17px,4.8vw,23px); margin:0 !important; line-height:1.35; color:#222; }
  body .yoyaku-slide .ch-reserve-head .yoyakuslide-menu-close {
    position:relative !important; inset:auto !important; z-index:1; display:grid; place-items:center;
    flex:0 0 44px; width:44px; height:44px; transform:none; background:white; color:#222;
    border:1px solid #777; border-radius:50%; margin:0; padding:0;
  }
  body .yoyaku-slide .ch-reserve-head .yoyakuslide-menu-close span { display:none; }
  body .yoyaku-slide .ch-reserve-head .yoyakuslide-menu-close::after { content:"×"; font:29px/1 sans-serif; }
  body.home #newsArea li { white-space:normal !important; text-overflow:clip; height:auto; }
  body.home #newsArea a { display:block; min-height:44px; line-height:1.55; padding:7px 0; box-sizing:border-box; }
  body.home #newsArea .text { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; white-space:normal; line-height:1.55; font-size:15px; }
  body.home #newsArea .text strong { display:block; font-size:13px; line-height:1.55; }
  body.home .ch-slide-controls {
    display:flex; align-items:center; justify-content:center; gap:14px; margin:5px auto 8px; color:#252525;
    font:600 14px/1.4 system-ui,sans-serif; text-align:center; letter-spacing:0;
  }
  body.home .ch-slide-controls button, body.home .ch-hero-view {
    display:grid; place-items:center; box-sizing:border-box; width:44px; height:44px; min-width:44px;
    padding:0; margin:0; color:#292929; background:#fff; border:1px solid #777; border-radius:50%; font:25px/1 system-ui,sans-serif;
  }
  body.home .ch-slide-controls button:disabled { opacity:.4; }
  body.home .ch-slide-controls span { min-width:43px; }
  body.home .ch-hero-view { width:auto; padding:0 15px; border-radius:4px; font:600 14px/1.3 system-ui,sans-serif; margin:0 auto 8px; }
  body.home .ch-hero-text-active { position:absolute !important; width:100% !important; visibility:hidden; pointer-events:none !important; }
  body.home .ch-hero-spec { box-sizing:border-box; padding:18px clamp(14px,5vw,32px); background:#272a27; color:#fff; }
  body.home .ch-hero-spec a { display:block; color:#fff; text-decoration:none; }
  body.home .ch-hero-spec strong { color:white; font-size:23px; line-height:1.4; }
  body.home .ch-hero-spec :is(p,dt,dd) { color:#fff; margin:0; font-size:15px; line-height:1.6; letter-spacing:0; }
  body.home .ch-hero-spec p { margin:.5em 0; }
  body.home .ch-hero-spec dl { display:grid; grid-template-columns:minmax(78px,.8fr) minmax(0,1.5fr); gap:5px 10px; margin:12px 0; padding:9px 0; border-block:1px solid #8a8a82; }
  body.home .ch-hero-spec dt { font-weight:700; }
  body.home .elementor-button[href="/category/event/"] { color:#a83209 !important; border-color:#a83209 !important; }
}
