/* Responsive compatibility layer. Existing desktop styles remain in place. */
img, video, canvas, svg { max-width:100%; }
.hm-navigation { display:none; }
.hm-table-region { max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; overscroll-behavior-inline:contain; }
.hm-table-region:focus-visible { outline:3px solid #197e87; outline-offset:2px; }
.hm-table-hint { display:none; }
@media screen and (max-width:800px) {
 html { -webkit-text-size-adjust:100%; text-size-adjust:100%; scroll-padding-top:1rem; }
 body { margin:0!important; padding:12px!important; box-sizing:border-box; width:auto!important; min-width:0!important; max-width:100%!important; font-family:Meiryo,'Hiragino Kaku Gothic ProN',sans-serif!important; font-size:16px!important; line-height:1.8!important; overflow-wrap:anywhere; }
 *, *::before, *::after { box-sizing:border-box; }
 p,div,section,article,ul,ol,dl,blockquote,form,fieldset,pre { max-width:100%!important; min-width:0!important; }
 p,div,td,th,li,span,font { line-height:1.8!important; }
 font, .Class1,.Class2,.Class3,.Class4,.class1,.class2,.class3,.class4 { font-size:inherit!important; }
 h1 { font-size:1.7rem!important; line-height:1.4!important; }
 h2 { font-size:1.4rem!important; line-height:1.5!important; }
 h3 { font-size:1.15rem!important; }
 p { margin:0 0 1.1em!important; }
 a { text-underline-offset:3px; }
 a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline:3px solid #197e87; outline-offset:3px; }
 img { height:auto!important; max-width:100%!important; }
 input:not([type=checkbox]):not([type=radio]):not([type=image]), select, textarea, button { max-width:100%; font-size:16px!important; min-height:40px; }
 pre { white-space:pre-wrap!important; }
 iframe,object,embed { max-width:100%!important; }
 .hm-navigation { display:block; width:100%; margin:0 0 18px; padding:10px 14px; background:#f0f8f7; border:1px solid #badbd7; border-radius:8px; color:#193d42; order:-1000000!important; text-align:left!important; font-size:16px!important; }
 .hm-navigation>a { color:#165762; font-weight:bold; text-decoration:none; }
 .hm-navigation details { margin-top:5px; }
 .hm-navigation summary { cursor:pointer; padding:5px 0; min-height:40px; }
 .hm-navigation ul { display:grid; grid-template-columns:1fr 1fr; gap:5px 12px; margin:6px 0 0!important; padding:0; list-style:none; }
 .hm-navigation li a { display:block; padding:8px 0; color:#165762; }
 .hm-flow-group { display:flex!important; flex-direction:column!important; align-items:stretch!important; height:auto!important; }
 .hm-positioned { position:static!important; inset:auto!important; float:none!important; transform:none!important; width:auto!important; min-width:0!important; max-width:100%!important; height:auto!important; margin:0 0 14px!important; }
 .hm-empty-layer,.hm-decoration,.hm-spacing { display:none!important; }
 .hm-fixed-box, #wrapper,#page,#content,#sidebar,#menu,#header,#footer,#main,.page-wrap { width:auto!important; min-width:0!important; max-width:100%!important; height:auto!important; float:none!important; margin-left:0!important; margin-right:0!important; padding-left:8px!important; padding-right:8px!important; }
 .hm-layout-table { display:block!important; width:100%!important; height:auto!important; table-layout:auto!important; }
 .hm-layout-table>tbody,.hm-layout-table>thead,.hm-layout-table>tfoot { display:block!important; width:100%!important; }
 .hm-layout-table>tbody>tr,.hm-layout-table>thead>tr,.hm-layout-table>tfoot>tr,.hm-layout-table>tr { display:block!important; width:100%!important; height:auto!important; }
 .hm-layout-table>tbody>tr>td,.hm-layout-table>tbody>tr>th,.hm-layout-table>tr>td,.hm-layout-table>tr>th { display:block!important; width:100%!important; height:auto!important; min-width:0!important; padding:8px 6px!important; }
 .hm-data-table { width:auto!important; min-width:max(100%,var(--hm-table-min,0px)); max-width:none!important; height:auto!important; table-layout:auto!important; font-size:15px!important; }
 .hm-data-table td,.hm-data-table th { height:auto!important; padding:6px!important; font-size:inherit!important; white-space:normal!important; }
 .hm-data-table [width] { min-width:0; }
 .hm-table-hint { display:block; font-size:13px; margin:6px 0; color:#555; }
 .hm-table-region { width:100%!important; }
 .hm-nav-links a { display:inline-block; padding:6px 3px; }
 .hm-mobile-break { display:none; }
 .layout-table>tbody { display:grid!important; grid-template-columns:64px minmax(0,1fr); }
 .layout-table>tbody>tr { display:contents!important; }
 .layout-table>tbody>tr>td { width:auto!important; min-width:0; }
 .layout-table .header-logo-cell { grid-column:1; }
 .layout-table .header-title-cell { grid-column:2; align-self:center; }
 .layout-table .nav-cell,.layout-table .left-col,.layout-table .center-col,.layout-table .right-col,.layout-table .footer-cell { grid-column:1 / -1; }
 .layout-table .center-col { grid-row:3; }
 .layout-table .left-col { grid-row:4; }
 .layout-table .right-col { grid-row:5; }
 .layout-table .footer-cell { grid-row:6; font-size:14px!important; }
 .layout-table .main-photo { width:min(100%,480px); }
 .hm-frame-layout { display:grid; grid-template-columns:1fr; gap:12px; }
 .hm-frame-layout iframe { width:100%; height:65vh; border:1px solid #ddd; }
}
@media screen and (min-width:801px) { .hm-frame-layout { display:grid; grid-template-columns:18% 82%; } .hm-frame-layout iframe { width:100%; height:95vh; border:0; } }
