/* Clayson mobile presentation. Brand tokens belong to main.css.
 * Consolidated 2026-11-03; declaration order preserves the existing cascade. */
.mobile-dock, .mobile-table-hint { display: none; }
.drawer:not(.is-open) { visibility: hidden; }
.drawer.is-open { visibility: visible; }
@media (max-width: 767px) {
  :root { --pad: 18px; --hdr-h: 64px; }
  html { scroll-padding-top: 84px; }
  body { font-size: 15px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); line-height: 1.75; }
  .topbar { display: none; }
  .header { background: var(--white); border-bottom: 1px solid var(--line); }
  .header__in { height: 64px; }
  .logo img { max-width: 142px; height: auto; max-height: 38px; }
  .burger { width: 44px; height: 44px; }
  .mobile-dock { position: fixed; bottom: 0px; left: 0px; right: 0px; z-index: 800; display: grid; gap: 2px; align-items: center; background: var(--white); border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); box-shadow: rgba(0, 41, 31, 0.03) 0px -4px 24px; }
  .mobile-dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 50px; gap: 3px; font-size: 11px; color: var(--ink-2); border-radius: 8px; }
  .mobile-dock svg { width: 21px; height: 21px; }
  .mobile-dock a[aria-current] { color: var(--brand); background: var(--mist); }
  .totop { bottom: calc(94px + env(safe-area-inset-bottom)); right: 16px; width: 40px; height: 40px; }
  .drawer { padding: 24px 22px calc(24px + env(safe-area-inset-bottom)); background: var(--mist); }
  .drawer__head { margin-bottom: 20px; }
  .drawer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .drawer__nav a { background: white; display: flex; align-items: flex-start; flex-direction: column; gap: 8px; padding: 18px 16px; font-size: 17px; border: 1px solid var(--line); border-radius: 10px; }
  .drawer__nav a span { font-size: 10px; color: var(--ink-3); }
  .drawer__close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: white; }
  .hero { height: 440px; background: var(--mist); }
  .hero__slide--light .hero__img { height: 100%; top: 0px; bottom: 0px; object-position: 70% center; transform: none; }
  .hero__slide--light .hero__veil { background: linear-gradient(rgba(244, 248, 245, 0.86) 0%, rgba(244, 248, 245, 0.72) 32%, rgba(244, 248, 245, 0.32) 50%, transparent 70%); }
  .hero__in { align-items: flex-start; padding: 28px 0px 0px; }
  .hero__eyebrow { font-size: 12px; margin-bottom: 12px; letter-spacing: 0.12em; }
  .hero__title { font-size: 31px; line-height: 1.3; font-weight: 650; margin-bottom: 10px; }
  .hero__sub { font-size: 14px; line-height: 1.75; margin-top: 10px; max-width: 310px; }
  .hero__nav { bottom: 7px; gap: 0px; }
  .hero__dot { width: 24px; height: 44px; }
  .hero .carousel-arrow { top: 50%; bottom: auto; transform: translateY(-50%); width: 44px; height: 44px; }
  .sec-head { align-items: center; gap: 8px; }
  .sec-head__cn { font-size: 22px; letter-spacing: 0px; }
  .sec-head__en { display: none; }
  .sec-head__more { font-size: 12px; min-height: 44px; display: flex; align-items: center; }
  .pgrid, .pgrid--3, .pgrid--2 { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
  .pcard { min-width: 0px; border-radius: 10px; border: 1px solid var(--line); box-shadow: none; }
  .pcard__media { aspect-ratio: 4 / 3; height: auto; }
  .pcard__media img { width: 100%; height: 100%; object-fit: contain; }
  .pcard__title { overflow-wrap: anywhere; }
  .pcard__en { font-size: 9px; letter-spacing: 0.04em; margin-top: 5px; }
  .page-home .pcard__desc { display: none; }
  .pbanner, .pbanner.pbanner--product, .pbanner.pbanner--article { height: auto; min-height: 180px; background: var(--mist); align-items: center; }
  .pbanner img { object-position: center center !important; }
  .pbanner__in { padding: 28px 0px; }
  .pbanner__en { font-size: 10px; margin-bottom: 8px; letter-spacing: 0.15em; }
  .pbanner__t { font-size: 26px; line-height: 1.4; max-width: 72%; }
  .pbanner__d { font-size: 13px; line-height: 1.8; max-width: 70%; margin-top: 10px; }
  .pbanner .crumb { margin-bottom: 12px; flex-wrap: wrap; }
  .playout { gap: 18px; }
  .pside { position: sticky; top: 64px; z-index: 20; background: white; padding: 10px 0px; border-bottom: 1px solid var(--line); }
  .pside__h { display: none; }
  .pside__list { flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
  .pside__a { flex: 0 0 auto; white-space: nowrap; font-size: 13px; min-height: 44px; border-radius: 8px; padding: 10px 14px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; gap: 4px; }
  .tab { font-size: 13px; padding: 12px; min-height: 44px; }
  .split { gap: 24px; }
  #productDetail .split { display: flex; flex-direction: column; }
  #productDetail .split > * { width: 100%; min-width: 0px; }
  #productDetail .split__media { order: 0; }
  #productDetail h1, #productDetail h2 { line-height: 1.5; font-size: 23px !important; }
  #productDetail .pgrid { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
  .product-thumb { min-width: 64px; min-height: 48px; }
  .mobile-table-hint { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; margin: 18px 0px 10px; color: var(--brand); }
  .mobile-table-hint span { font-size: 11px; font-weight: 400; color: var(--ink-2); }
  table.spec { font-size: 13px; }
  table.spec th, table.spec td { padding: 12px; }
  table.spec tr > :first-child { position: sticky; left: 0px; background: var(--mist); z-index: 1; box-shadow: rgba(0, 41, 31, 0.04) 2px 0px 4px; }
  .table-wrap:has(.ctable) { border: 0px; overflow: visible; }
  table.ctable, table.ctable tbody { display: block; width: 100%; min-width: 0px; }
  table.ctable thead { display: none; }
  table.ctable tr { grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: white; }
  table.ctable td { display: block; border: 0px; min-width: 0px; overflow-wrap: anywhere; }
  table.ctable td::before { content: attr(data-label); font-size: 11px; color: var(--ink-3); font-weight: 400; margin-bottom: 3px; }
  table.ctable td.n { display: none; }
  table.ctable td:nth-child(2) { grid-column: 1 / -1; font-weight: 600; color: var(--brand); }
  table.ctable td:nth-child(2)::before { display: none; }
  table.ctable td.note { grid-column: 1 / -1; }
  table.ctable td.note:empty { display: none; }
  table.ctable td[colspan] { grid-column: 1 / -1; }
  .filters { gap: 12px; align-items: flex-start; }
  .filters__g { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 4px; }
  .fchip { flex-shrink: 0; min-height: 44px; padding: 9px 13px; }
  .filters__count { font-size: 12px; }
  .ind-row { display: flex; overflow-x: auto; gap: 12px; padding-bottom: 10px; scroll-snap-type: x; }
  .ind { flex: 0 0 42%; scroll-snap-align: start; }
  .rich p, .article__body p { font-size: 15px; line-height: 1.95; }
  .article__t { font-size: 25px; line-height: 1.5; }
  .article__lead { font-size: 15px; padding: 16px; border-radius: 8px; }
  .footer__desc { font-size: 13px; line-height: 1.9; }
  .footer__en { font-size: 10px; }
  .footer__h { font-size: 14px; margin-bottom: 12px; }
  .footer__links a { font-size: 12px; min-height: 36px; display: flex; align-items: center; }
  .footer__bar { text-align: left; }
  a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
  .rv { opacity: 1; transform: none; }
}
@media (max-width: 360px) {
  .hero__title { font-size: 28px; }
  .pcard__body { padding: 10px; }
  .pcard__title { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
}
@media (max-width: 767px) {
  .playout { grid-template-columns: minmax(0px, 1fr); }
  .playout > * { min-width: 0px; }
  .playout .pside { display: none; }
  #productTabs { position: sticky; top: 64px; z-index: 20; background: white; padding-top: 8px; }
  .footer__ct .footer__address, .footer__ct .footer__address span { white-space: normal; min-width: 0px; overflow-wrap: anywhere; }
  .footer__address { align-items: flex-start; }
  .footer__address svg { flex-shrink: 0; }
}
@media (max-width: 767px) {
  .footer__en { white-space: normal; overflow-wrap: anywhere; }
  .ind__en { white-space: normal; overflow-wrap: anywhere; }
}
#productDetail > .crumb { flex-wrap: nowrap; white-space: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 4px; scrollbar-width: thin; }
#productDetail > .crumb > * { flex-shrink: 0; }
@media (max-width: 767px) {
  .contact-summary { gap: 0px; border-top: 1px solid var(--line); }
  .contact-summary__card { display: grid; grid-template-columns: 28px minmax(0px, 1fr); gap: 3px 16px; align-content: center; min-height: 88px; padding: 18px 0px; border-top: 0px; border-right: 0px; border-left: 0px; border-image: none; border-bottom: 1px solid var(--line); border-radius: 0px; text-align: left; }
  .contact-summary__icon { grid-area: 1 / 1 / 3; align-self: center; width: 28px; height: 28px; margin: 0px; background: none; border-radius: 0px; }
  .contact-summary__icon svg { width: 23px; height: 23px; }
  .contact-summary__card h2 { grid-column: 2; font-size: 12px; font-weight: 400; line-height: 1.5; color: var(--ink-3); margin: 0px; }
  .contact-summary__card p { grid-column: 2; font-size: 14px; font-weight: 600; line-height: 1.7; color: var(--ink); margin: 0px; overflow-wrap: anywhere; }
  .contact-summary__card a { display: inline-flex; align-items: center; min-height: 28px; color: var(--ink); }
  .contact-summary__card:first-child p { font-size: 16px; font-family: var(--f-num); }
}
@media (max-width: 767px) {
  .mobile-dock { grid-template-columns: repeat(4, minmax(0px, 1fr)); }
  .page-cases .stats__in { border-radius: 8px; }
  .page-cases .stats__i { display: flex; min-width: 0px; }
  .page-cases .stats__i:last-child { border-bottom: 0px; }
  .page-cases .stats__i em { display: none; }
  .page-cases .stats__i > span { color: var(--ink-2); }
}
@media (max-width: 767px) {
  table.ctable tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 14px; margin-bottom: 8px; border-radius: 8px; }
  table.ctable td { font-size: 11px; line-height: 1.7; padding: 0px; }
  table.ctable td::before { display: none; }
  table.ctable td:nth-child(2) { flex: 0 0 100%; font-size: 14px; line-height: 1.6; margin-bottom: 3px; }
  table.ctable td.note { font-size: 11px; line-height: 1.7; color: var(--ink-3); }
  table.ctable .pill { font-size: 11px; padding: 0px 5px; }
  table.ctable td[colspan] { flex: 0 0 100%; }
}
@media (max-width: 767px) {
  .footer { padding-top: 22px; }
  .footer__grid { display: flex; flex-direction: column; }
  .footer__grid > div:not(.footer__brand):not(.footer__contact) { display: none; }
  .footer__brand { padding: 0px; border: 0px; }
  .footer__desc, .footer__en { display: none; }
  .footer__contact .footer__h { display: none; }
  .footer__logo { margin-bottom: 0px; max-width: 140px; }
  .footer__ct { gap: 10px; }
  .footer__ct a, .footer__ct span { font-size: 12px; line-height: 1.8; }
}
@media (max-width: 767px) {
  .footer__grid { padding-bottom: 12px; gap: 12px; }
  .footer__bar { margin-top: 0px; padding: 10px 0px 12px; white-space: nowrap; overflow-x: auto; scrollbar-width: thin; font-size: 9px; line-height: 1.6; }
  .footer__bar > span { white-space: nowrap; display: block; width: max-content; min-width: 100%; }
}
@media (max-width: 767px) {
  .page-cases .stats__in { grid-template-columns: repeat(6, minmax(0px, 1fr)); }
  .page-cases .stats__i { grid-column: span 2; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 12px 5px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); text-align: center; }
  .page-cases .stats__i:nth-child(3) { border-right: 0px; }
  .page-cases .stats__i:nth-child(n+4) { grid-column: span 3; border-bottom: 0px; }
  .page-cases .stats__i:last-child { grid-column: span 3; border-right: 0px; }
  .page-cases .stats__i > span { order: 0; font-size: 11px; line-height: 1.5; white-space: nowrap; }
  .page-cases .stats__i b { font-size: 22px; gap: 3px; }
  .page-cases .stats__i b i { font-size: 10px; }
}
@media (max-width: 767px) {
  #homeNews .nitem { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 16px 0px; }
  #homeNews .nitem > div:not(.nitem__date) { order: 0; }
  #homeNews .nitem__date { order: 1; display: flex; align-items: baseline; gap: 0px; text-align: left; font-size: 11px; color: var(--ink-3); }
  #homeNews .nitem__date b { order: 2; font-size: 11px; font-weight: 400; line-height: 1.5; color: var(--ink-3); }
  #homeNews .nitem__date b::before { content: "."; }
  #homeNews .nitem__date span { order: 1; font-size: 11px; line-height: 1.5; letter-spacing: 0px; margin: 0px; color: var(--ink-3); }
  #homeNews .nitem__d { display: none; }
  #homeNews .nitem__t { font-size: 16px; line-height: 1.7; }
}
@media (max-width: 767px) {
  .project-card__body { display: grid; grid-template-columns: max-content minmax(0px, 1fr); align-content: start; align-items: baseline; gap: 5px 9px; padding: 12px 14px; }
  .project-card__category { margin: 0px; font-size: 11px; line-height: 1.6; letter-spacing: 0px; }
  .project-card__title { margin: 0px; min-width: 0px; font-size: 14px; line-height: 1.6; white-space: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .project-card__desc { margin: 0px; font-size: 12px; line-height: 1.6; white-space: nowrap; overflow-x: auto; scrollbar-width: thin; }
}
@media (max-width: 767px) {
  .project-card__title { grid-area: 1 / 1 / auto / -1; }
  .project-card__category { grid-area: 2 / 1; }
  .project-card__desc { grid-area: 2 / 2; min-width: 0px; }
}
.drawer-backdrop { display: none; position: fixed; inset: 0px; z-index: 940; background: rgba(0, 35, 26, 0.36); }
.drawer-backdrop.is-open { display: block; }
@media (max-width: 1024px) {
  .drawer { inset: 0px 0px auto; padding: 0px; background: var(--white); border: 0px; border-radius: 0px 0px 18px 18px; max-height: calc(100dvh - 28px); transform: translateY(-105%); transition: transform .25s var(--ease); }
  .drawer.is-open { transform: translateY(0px); }
  .drawer__head { min-height: 64px; padding: 10px 20px; margin: 0px; border-bottom: 1px solid var(--line); }
  .drawer__head img { height: auto; width: 132px; }
  .drawer__close { width: 44px; height: 44px; border: 0px; border-radius: 0px; background: transparent; font-size: 28px; }
  .drawer__nav { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 4px 12px; padding: 12px 20px 22px; }
  .drawer__nav a { display: flex; flex-direction: row; align-items: center; min-height: 48px; padding: 12px; border: 0px; border-radius: 6px; background: transparent; font-size: 14px; line-height: 1.6; }
  .drawer__nav a span { display: none; }
  .drawer__nav a[aria-current="page"] { background: rgb(238, 246, 234); color: var(--brand); }
  .drawer__foot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .drawer { transition: none; }
}
@media (max-width: 767px) {
  :root { --section-space: 20px; --section-space-tight: 18px; --section-head-gap: 14px; }
  .sec-head { margin-bottom: 14px; }
  .sec-head__more { margin-bottom: 0px; }
  .split, .home-about { gap: 18px; }
  .home-about__metrics { margin-top: 16px; padding: 16px; gap: 16px 12px; }
  .home-about .about-words, .home-about__action { margin-top: 16px; }
  .contact-network { margin-top: 20px; }
  .article__lead { margin-bottom: 20px; }
  .article__foot { margin-top: 24px; padding-top: 16px; gap: 12px; }
  .rich h3 { margin-top: 22px; margin-bottom: 10px; }
  .tabs { margin-bottom: 16px; }
  #productDetail > .crumb { margin-bottom: 18px !important; }
  #productDetail .tagrow { margin-top: 16px !important; }
  #productDetail .split ul { margin-top: 16px !important; padding-top: 14px !important; }
}
@media (max-width: 767px) {
  .ind__en { display: none; }
}
@media (max-width: 767px) {
  .pcard__en, .ind__en, .sec-head__en, .pbanner__en, .adv__en, .svc__en, .footer__en, .quote-line { display: none; }
}
@media (max-width: 767px) {
  .pgrid, .pgrid--3, .pgrid--2 { gap: 8px; }
  #productGrid { margin-left: -6px; margin-right: -6px; }
  #productGrid .pcard__media, .pcard__media { aspect-ratio: 4 / 3; }
  .pcard__body { padding: 8px; }
  .pcard__title { font-size: 13px; line-height: 1.45; }
  .pcard__desc { font-size: 11px; line-height: 1.55; margin-top: 4px; }
}
@media (max-width: 767px) {
  .pbanner img { width: 100%; left: 0px; right: 0px; }
  .pbanner::after, .pbanner.pbanner--service-precision::after, .pbanner.pbanner--service-veil::after { background: linear-gradient(90deg, rgba(244, 248, 245, 0.83) 0%, rgba(244, 248, 245, 0.7) 35%, rgba(244, 248, 245, 0.38) 55%, rgba(244, 248, 245, 0) 82%); }
}
@media (max-width: 767px) {
  .num-list li { padding-left: 34px; padding-bottom: 18px; margin-left: 14px; list-style: none; }
  .num-list h4 { font-size: 16px; line-height: 1.5; margin-bottom: 4px; }
  .num-list p { font-size: 14px; line-height: 1.8; margin: 0px; }
  .num-list li::before { top: 0px; width: 28px; height: 28px; left: -14px; font-size: 11px; }
}
@media (max-width: 767px) {
  .service-promises { display: grid; grid-template-columns: minmax(0px, 1fr); gap: 0px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
  .service-promises .card { display: grid; align-items: start; border-top: 0px; border-right: 0px; border-left: 0px; border-image: none; border-bottom: 1px solid var(--line); border-radius: 0px; box-shadow: none; transform: none; }
  .service-promises .card:last-child { border-bottom: 0px; }
  .service-promises .h3 { letter-spacing: 0px; color: var(--brand); font-weight: 600; margin: 0px; border-left: 2px solid var(--accent); }
  .service-promises .small { color: var(--ink-2); margin: 0px !important; }
  .service-promises .quote-line { display: none; }
}
@media (min-width: 361px) and (max-width: 767px) {
  .service-promises .card { grid-template-columns: 108px minmax(0px, 1fr); gap: 12px; }
  .service-promises .h3 { font-size: 14px; white-space: nowrap; }
}
@media (max-width: 360px) {
  .service-promises .h3 { white-space: nowrap; }
}
@media (max-width: 360px) {
  .service-promises .card { grid-template-columns: 86px minmax(0px, 1fr); gap: 7px; padding: 12px 10px; }
  .service-promises .h3 { font-size: 12px; }
}
@media (max-width: 767px) {
  .service-promises .card { grid-template-columns: minmax(0px, 1fr); gap: 6px; padding: 13px 14px; }
  .service-promises .h3 { font-size: 14px; line-height: 1.5; padding-left: 8px; white-space: normal; }
  .service-promises .small { font-size: 12px; line-height: 1.8; }
}
@media (max-width: 767px) {
  .section:has(img[src$="service-network-map.jpg"]) .h2 { font-size: 21px; line-height: 1.5; margin-bottom: 12px !important; }
  .section:has(img[src$="service-network-map.jpg"]) .body { font-size: 14px; line-height: 1.85; }
  .section:has(img[src$="service-network-map.jpg"]) .body + div { margin-top: 16px !important; }
  .section:has(img[src$="service-network-map.jpg"]) .body + div > div { padding: 12px 10px !important; }
  .section:has(img[src$="service-network-map.jpg"]) .body + div b { font-size: 16px !important; }
  .section:has(img[src$="service-network-map.jpg"]) .body + div .small { font-size: 12px; line-height: 1.6; }
  .section:has(img[src$="service-network-map.jpg"]) .container > div { gap: 20px !important; }
}
.footer__company { display: none; }
@media (max-width: 767px) {
  .footer__company { display: block; color: var(--brand); }
}
@media (max-width: 767px) {
  .footer__brand { display: flex; align-items: center; min-width: 0px; }
  .footer__brand .footer__logo { height: auto; flex-shrink: 0; margin: 0px; }
  .footer__company { margin: 0px; white-space: nowrap; line-height: 1.5; }
}
@media (max-width: 767px) {
  .footer__brand { gap: 8px; }
  .footer__brand .footer__logo { width: 82px; max-width: 24%; }
  .footer__company { font-weight: 600; letter-spacing: -0.2px; }
}
@media (max-width: 360px) {
  .footer__brand .footer__logo { width: 64px; }
  .footer__company { font-size: 12px; letter-spacing: -0.3px; }
}
@media (max-width: 767px) {
  .footer__company { font-size: 15px; }
}
