html { scroll-behavior: smooth; }
.floating-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 110;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid #2f6379;
  border-radius: 50%;
  background: #fff;
  color: #2f6379;
  box-shadow: 0 6px 22px rgba(37, 52, 59, .16);
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.floating-top svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.floating-top:hover { background: #2f6379; color: #fff; }
.floating-top:focus-visible { outline: 3px solid #80cce8; outline-offset: 4px; }
.mobile-contact-bar { display: none; }
@media (max-width: 760px) {
  :root { --mobile-contact-height: 68px; }
  body.has-fixed-contact { padding-bottom: calc(var(--mobile-contact-height) + env(safe-area-inset-bottom, 0px)); }
  .floating-top {
    width: 48px;
    height: 48px;
    right: 15px;
    bottom: calc(var(--mobile-contact-height) + env(safe-area-inset-bottom, 0px) + 14px);
  }
  .floating-top svg { width: 23px; height: 23px; }
  .mobile-contact-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 115;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    height: calc(var(--mobile-contact-height) + env(safe-area-inset-bottom, 0px));
    padding: 11px 15px calc(11px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #dce6ea;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(37, 52, 59, .08);
  }
  .mobile-contact-bar .mobile-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    margin: 0;
    padding: 0 8px;
    border: 1px solid #2f6379;
    border-radius: 5px;
    background: #fff;
    color: #2f6379;
    font: 700 max(var(--text-floor, 16px), 12px)/1.5 "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
    text-decoration: none;
  }
  .mobile-contact-bar svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-contact-bar .mobile-inquiry { border-color: #2f6379; background: #2f6379; color: #fff; }
  .mobile-contact-bar .mobile-inquiry:hover { background: #28566a; }
  .mobile-contact-bar .mobile-call:disabled { border-color: #b5c5cd; background: #f4f7f8; color: #60727b; cursor: default; }
  .mobile-contact-bar .mobile-action:focus-visible { outline: 3px solid #80cce8; outline-offset: 3px; }
  
}
@media (max-width: 360px) {
  .mobile-contact-bar { padding-left: 12px; padding-right: 12px; gap: 8px; }
  .mobile-contact-bar .mobile-action { font-size: max(var(--text-floor, 16px), 11px); gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .floating-top { transition: none; }
}
