@charset "UTF-8";

:root {
  --navy: #244d60;
  --teal: #397c7b;
  --pale: #f2f7f6;
  --line: #d9e4e3;
  --text: #273638;
  --muted: #667779;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #f7f9f9;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
}

.container {
  width: min(100% - 32px, 820px);
  margin-inline: auto;
}

.site-header {
  padding: 36px 0 32px;
  color: var(--white);
  background: linear-gradient(135deg, #244d60, #397c7b);
  text-align: center;
}

.clinic-label {
  margin: 0 0 5px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  opacity: 0.92;
}

.site-header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.intro {
  padding: 20px 0 8px;
  text-align: center;
}

.intro p {
  margin: 0;
  color: var(--muted);
}

.panel {
  margin: 18px 0;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 5px 18px rgb(30 65 70 / 5%);
}

.panel h2 {
  margin: 0 0 20px;
  padding-left: 13px;
  border-left: 4px solid var(--teal);
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.4;
}

.table-wrap {
  overflow-x: auto;
}

.hours-table {
  width: 100%;
  min-width: 490px;
  border-collapse: collapse;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.hours-table th,
.hours-table td {
  padding: 12px 8px;
  border: 1px solid var(--line);
}

.hours-table thead th {
  color: var(--navy);
  background: var(--pale);
  font-weight: 700;
}

.hours-table tbody th {
  text-align: left;
  white-space: nowrap;
  font-weight: 600;
}

.hours-table td {
  color: var(--teal);
  font-size: 1.05rem;
  font-weight: 700;
}

.hours-table td.closed {
  color: #9a5550;
  background: #fbf3f2;
}

.notice {
  margin: 18px 0 0;
  color: #6b5550;
  font-size: 0.92rem;
  padding-left: 1em;
  text-indent: -1em;
}

.contact-panel {
  text-align: center;
}

.contact-panel h2 {
  text-align: left;
}

.phone-number {
  margin: 0;
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.phone-number a {
  color: var(--teal);
  text-decoration: none;
}

.phone-number a:hover,
.phone-number a:focus-visible {
  text-decoration: underline;
}

.small-note {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.address {
  margin: 0 0 20px;
  font-size: 1.05rem;
}

.postal-code {
  display: inline-block;
  margin-bottom: 4px;
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.map-link:hover,
.map-link:focus-visible {
  background: var(--navy);
}

.site-footer {
  margin-top: 34px;
  padding: 22px 0;
  color: #eaf1f1;
  background: var(--navy);
  text-align: center;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 540px) {
  .site-header {
    padding: 28px 0 25px;
  }

  .container {
    width: min(100% - 22px, 820px);
  }

  .panel {
    margin: 12px 0;
    padding: 18px 14px;
    border-radius: 11px;
  }

  .panel h2 {
    margin-bottom: 16px;
    font-size: 1.2rem;
  }

  .hours-table th,
  .hours-table td {
    padding: 10px 7px;
    font-size: 0.9rem;
  }

  .notice {
    font-size: 0.86rem;
  }
}
