/* Shared mobile layout for every static page using the common site shell. */
@media (max-width: 720px) {
  body.has-mobile-action-bar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.has-mobile-action-bar.is-footer-visible { padding-bottom: 0; }
  body:not(.has-mobile-action-bar) { padding-bottom: 0; }
  .header-inner { min-height: 64px; }
  .brand img { width: 142px; }
  .site-nav { top: 64px; }
  .hero { padding-top: 20px; }
  .section, #service { padding-block: 56px; }
  .service-switcher { margin-bottom: 18px; }
  .service-switcher-label { display: none; }

  .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick-grid div {
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 16px 6px;
    border-right: 1px solid rgba(255,255,255,.14);
    border-bottom: 0;
  }
  .quick-grid div:last-child { border-right: 0; }
  .quick-grid strong, .quick-grid span { justify-content: center; text-align: center; }
  .quick-grid strong { min-height: 38px; font-size: 12px; }
  .quick-grid strong b { font-size: clamp(23px, 7vw, 32px); }
  .quick-grid span { font-size: 10px; }

  .back-to-top {
    right: 14px;
    bottom: calc(76px + env(safe-area-inset-bottom));
  }
  body.is-footer-visible .mobile-action-bar {
    visibility: hidden;
    pointer-events: none;
    transform: translateY(110%);
  }
  body.is-footer-visible .back-to-top {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .site-footer { padding-top: 38px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-section {
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .footer-section summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #efc15b;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    list-style: none;
  }
  .footer-section summary::-webkit-details-marker { display: none; }
  .footer-section summary::after {
    color: rgba(255,255,255,.72);
    content: "+";
    font-size: 18px;
  }
  .footer-section[open] summary::after { content: "−"; }
  .footer-section nav {
    gap: 0;
    padding-bottom: 10px;
  }
  .footer-section nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
  }
  .footer-section nav[aria-label="当店について"] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }

  .hero-visual {
    width: min(72%, 320px);
    min-height: 280px;
  }
}

@media (min-width: 721px) {
  .footer-section > summary { display: none; }
  .footer-section > nav { display: flex !important; }
}

@media (max-width: 360px) {
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-grid div:first-child {
    grid-column: 1 / -1;
    min-height: 72px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }
  .quick-grid div:first-child strong { min-height: 0; }
  .quick-grid div:nth-child(2) { border-right: 1px solid rgba(255,255,255,.14); }
  .quick-grid strong { font-size: 11px; }
  .quick-grid strong b { font-size: 25px; }
  .quick-grid span { font-size: 9px; }
}
