/* Shared responsive adjustments for /mkn/ (2026-10). HTML remains Shift_JIS. */
html { -webkit-text-size-adjust:100%; }
body { overflow-wrap:break-word; }
.mkn-mobile-only {display:none;}
@media screen and (max-width:767px) {
  html, body {max-width:100%; overflow-x:clip;}
  body {margin:8px; font-size:16px; line-height:1.6;}
  body > center, center {max-width:100%;}
  .mkn-responsive-table {max-width:100%!important; width:100%!important; table-layout:auto;}
  .mkn-responsive-table:not(.mkn-data-table) tr {height:auto!important;}
  .mkn-responsive-table:not(.mkn-data-table) td,
  .mkn-responsive-table:not(.mkn-data-table) th {max-width:100%; box-sizing:border-box; overflow-wrap:anywhere; white-space:normal!important;}
  .mkn-stack, .mkn-stack > tbody, .mkn-stack > tbody > tr {display:block!important; width:100%!important;}
  .mkn-stack > tbody > tr > td, .mkn-stack > tbody > tr > th {display:block!important; width:100%!important; height:auto!important; box-sizing:border-box; padding:10px!important; text-align:left;}
  .mkn-stack > tbody > tr > td[bgcolor], .mkn-stack > tbody > tr > th[bgcolor] {text-align:center;}
  .mkn-responsive-table img, img {max-width:100%;height:auto;}
  .mkn-responsive-table iframe {max-width:100%;width:100%;}
  hr[width] {width:100%; max-width:100%;}
  .mkn-page-title h1 {font-size:clamp(21px,5.5vw,28px);line-height:1.3;}
  .mkn-prose td, .mkn-prose th, .mkn-prose p {text-align:left;}
  .mkn-prose ul, .mkn-prose ol {margin:8px 0; padding-left:1.5em;}
  .mkn-footer {font-size:13px;}
  .mkn-footer > tbody > tr > td {text-align:left!important; padding:7px!important;}
  .mkn-footer a {overflow-wrap:anywhere;}
  .mkn-portrait > tbody > tr > td {text-align:left!important;}
  .mkn-portrait > tbody > tr > td[align='middle'] {text-align:center!important;}
  .mkn-scroll {max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;}
  .mkn-data-table {width:max-content!important;min-width:790px!important;max-width:none!important;table-layout:auto;}
  .mkn-data-table td, .mkn-data-table th {white-space:nowrap;vertical-align:top;padding:5px;}
  .mkn-data-table td span {white-space:normal;}
  .mkn-catalog-original {display:none!important;}
  .mkn-mobile-only.mkn-catalog-mobile {display:block!important;max-width:100%;}
  .mkn-catalog-mobile .mkn-category {background:#add8ed;padding:12px 10px;font-weight:bold;margin:24px 0 12px;}
  .mkn-catalog-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  .mkn-catalog-card {border:1px solid #e3e3e3;padding:8px;text-align:center;min-width:0;}
  .mkn-catalog-name {background:#fcd7a1;padding:9px 5px;min-height:48px;display:flex;align-items:center;justify-content:center;}
  .mkn-catalog-card img {display:block;max-width:100%;height:auto;margin:10px auto;}
  .mkn-map iframe {max-width:100%;width:100%!important;height:310px!important;}
  .mkn-form [data-mrc-webform], .mkn-form iframe {max-width:100%;}
  .mkn-form [data-mrc-webform] {min-width:0;}
  .mkn-responsive-table h2,.mkn-responsive-table h3 {line-height:1.35;}
  .mkn-nav {line-height:2;}
  .mkn-mobile-note {font-size:13px;color:#555;text-align:left;margin:8px 0;}
}
@media screen and (max-width:380px) {
 .mkn-catalog-grid {grid-template-columns:minmax(0,1fr);}
}
