/* Shared bottom action: one definition for every content page. */
body.has-site-dock {
  padding-bottom: 0 !important;
}
body.has-site-dock > footer {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
}
.site-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 95;
  box-sizing: border-box;
  width: 220px;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 0 0 env(safe-area-inset-bottom, 0px);
  background: #06c755;
  border: 0;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -2px 12px rgba(23, 32, 31, .12);
}
.site-dock .site-dock-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  min-height: 48px;
  padding: 10px 20px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: #fff;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.site-dock:hover { background: #05b550; }
.site-dock-link:focus-visible { outline: 3px solid #17201f; outline-offset: 3px; }

/* All four detailed duration explanations use the same text and heading flow. */
body #treatment-time { max-width: 800px; }
body #treatment-time > #duration-title {
  margin: 0 0 28px;
  color: #20251f;
  font-family: 'Shippori Mincho', 'Yu Mincho', serif;
  font-size: clamp(25px, 2.8vw, 34px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .025em;
  text-align: left;
}
body #treatment-time p {
  margin: 0;
  color: #20251f;
  font-size: 17px;
  line-height: 2.05;
  letter-spacing: .015em;
}
body #treatment-time p + p { margin-top: 20px; }
body #treatment-time strong { font-weight: 600; }
body #treatment-time > .s-duration-photo {
  width: 100%;
  margin: 28px 0;
}
body #treatment-time > .s-duration-photo img {
  display: block;
  width: 100%;
  height: auto;
}
@media print {
  .site-dock { display: none; }
  body.has-site-dock > footer { padding-bottom: 20px !important; }
}
