/* Only touch-tablet modes set by tablet-layout-20260913.js. */
html[data-tablet-layout="desktop"] body > .header {
  zoom: var(--tablet-ui-zoom);
  width: var(--tablet-screen-width) !important;
  left: 0 !important;
}
html[data-tablet-layout="desktop"] body > .header,
html[data-tablet-layout="desktop"] body > .header .header-inner {
  height: 72px !important;
  min-height: 72px !important;
}
html[data-tablet-layout="desktop"] body > .header .header-inner {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  left: auto !important;
  margin: 0 !important;
  padding: 0 24px !important;
  justify-content: space-between !important;
}
html[data-tablet-layout="desktop"] body > .header .logo img { height: 40px !important; }
html[data-tablet-layout="desktop"].nav-drawer-ready body > .header .nav { display: none !important; }
html[data-tablet-layout="desktop"].nav-drawer-ready body > .header .header-menu-toggle {
  display: inline-flex !important;
  width: 54px !important;
  height: 54px !important;
  flex: 0 0 54px !important;
  padding: 7px 8px 5px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #112e56;
  background: #fff;
  border: 1px solid #bfd4e8;
  border-radius: 0;
  cursor: pointer;
}
html[data-tablet-layout="desktop"] .header-menu-toggle-lines { display: flex; width: 24px; flex-direction: column; gap: 5px; }
html[data-tablet-layout="desktop"] .header-menu-toggle-lines span { display: block; width: 100%; height: 2px; background: currentColor; }
html[data-tablet-layout="desktop"] .header-menu-toggle-label { font: 700 9px/1 "Oswald",sans-serif; letter-spacing: .12em; }
html[data-tablet-layout="desktop"] .site-nav-drawer-layer {
  zoom: var(--tablet-ui-zoom);
  width: var(--tablet-screen-width);
  height: var(--tablet-screen-height);
  inset: 0 auto auto 0;
}
html[data-tablet-layout="desktop"] .site-nav-drawer { height: 100%; width: min(560px, calc(var(--tablet-screen-width) * .94)); }
html[data-tablet-layout="desktop"] body .header .global-ear-tabs {
  width: var(--tablet-screen-width) !important;
}
html[data-tablet-layout="desktop"] body {
  padding-bottom: calc(72px / var(--tablet-scale)) !important;
}
/* Forms stay at device width, without reducing text or controls. */
html[data-tablet-layout="form"] body.subpage {
  position: static !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  left: auto !important;
  padding-bottom: 0 !important;
}
html[data-tablet-layout="form"] body .header.header-min,
html[data-tablet-layout="form"] body .header.header-min .header-inner {
  height: 72px !important;
  min-height: 72px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  left: 0 !important;
}
html[data-tablet-layout="form"] body .header.header-min .logo img { height: 40px !important; }
html[data-tablet-layout="form"] body .container { width: calc(100% - 48px) !important; max-width: 760px !important; margin-inline: auto !important; }
html[data-tablet-layout="form"] .contact-sec { padding: 42px 0 72px !important; }
html[data-tablet-layout="form"] .contact-2col { grid-template-columns: minmax(0,1fr) !important; gap: 34px !important; }
html[data-tablet-layout="form"] .contact-left { position: static !important; }
html[data-tablet-layout="form"] .contact-left .lead { max-width: none !important; }
html[data-tablet-layout="form"] .contact-h1 { font-size: 32px !important; }
html[data-tablet-layout="form"] .contact-card { padding: 32px !important; }
html[data-tablet-layout="form"] .contact-tel-block,
html[data-tablet-layout="form"] .shiryo-cover { max-width: 560px; }
html[data-tablet-layout="form"] .form-row input:not([type="radio"]):not([type="checkbox"]),
html[data-tablet-layout="form"] .form-row textarea,
html[data-tablet-layout="form"] .form-row select { font-size: 16px !important; min-height: 52px !important; width: 100%; box-sizing: border-box; }
html[data-tablet-layout="form"] .form-row > label { font-size: 16px !important; }
html[data-tablet-layout="form"] .form-intro p { font-size: 15px !important; }
html[data-tablet-layout="form"] .thanks-card { width: 100%; max-width: 760px; box-sizing: border-box; }
