@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Noto+Serif+JP:wght@500;600&display=swap");

:root {
  --text: #3a3634;
  --text-muted: #6b6560;
  --accent: #5eb4c8;
  --accent-deep: #3d8fa8;
  --accent-soft: #e8f4f8;
  --accent-line: #b8dce8;
  --bg: #fafcfd;
  --card: #ffffff;
  --shadow: 0 8px 32px rgba(61, 143, 168, 0.08);
  --radius: 12px;
}

body.page-hakuaikai {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.75;
  background: var(--bg);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

.page-hakuaikai a {
  color: var(--accent-deep);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}
.page-hakuaikai a:hover {
  color: var(--accent);
}

.page-hakuaikai .wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* --- header --- */
.hk-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 220, 232, 0.45);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.hk-header .brand {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--text);
}
.hk-header .brand-sub {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  margin-top: 4px;
}

/* --- merger notice (top) --- */
.hk-merger-notice {
  margin: 0 0 32px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--accent-line);
  border-left: 4px solid var(--accent-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hk-merger-notice__title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.65rem;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
}
.hk-merger-notice__body {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.9;
  color: var(--text);
}
.hk-merger-notice__body strong {
  font-weight: 600;
  color: var(--text);
}

/* --- hero --- */
.hk-hero {
  position: relative;
  padding: 56px 0 64px;
  overflow: hidden;
}
.hk-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      165deg,
      #e5f4f9 0%,
      #f5fafc 38%,
      #ffffff 72%
    ),
    radial-gradient(ellipse 80% 50% at 15% 20%, rgba(94, 180, 200, 0.12), transparent 55%);
  z-index: -1;
}
.hk-hero .en-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--accent-deep);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hk-hero h1 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.06em;
  margin: 0 0 20px;
  color: var(--text);
}
.hk-hero .lead {
  font-size: 1.5rem;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 640px;
  margin: 0;
}
.hk-hero .lead strong {
  color: var(--accent-deep);
  font-weight: 600;
}

/* --- sections --- */
.hk-section {
  padding: 48px 0 56px;
}
.hk-section.alt {
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg) 100%);
}
.hk-section-head {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--accent-line);
  position: relative;
}
.hk-section-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 72px;
  height: 2px;
  background: var(--accent-deep);
}
.hk-section-head .en {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent-deep);
  display: block;
  margin-bottom: 8px;
}
.hk-section-head h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 2.2rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.06em;
}

.hk-intro {
  font-size: 1.45rem;
  color: var(--text-muted);
  line-height: 1.95;
  margin: 0 0 20px;
}
.hk-intro a {
  font-weight: 600;
}

/* --- clinic cards --- */
.hk-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .hk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hk-block-title {
  grid-column: 1 / -1;
  font-family: "Noto Serif JP", serif;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  margin: 8px 0 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--accent-line);
}
.hk-block-title:first-child {
  margin-top: 0;
}
.hk-block-title__sub {
  display: inline;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-muted);
}
.hk-block-note {
  grid-column: 1 / -1;
  font-size: 1.3rem;
  color: var(--text-muted);
  margin: -6px 0 8px;
  line-height: 1.65;
}

.hk-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(184, 220, 232, 0.55);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.hk-card:hover {
  box-shadow: 0 12px 40px rgba(61, 143, 168, 0.12);
  border-color: rgba(94, 180, 200, 0.45);
}
.hk-card h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.65rem;
  font-weight: 600;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--accent-line);
  color: var(--text);
  letter-spacing: 0.04em;
}
.hk-card .addr {
  font-size: 1.35rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin: 0 0 14px;
  flex: 1;
}
.hk-card .tel {
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 12px;
}
.hk-card .tel a {
  color: var(--accent-deep);
}
.hk-card .link-ext {
  font-size: 1.3rem;
  font-weight: 600;
}
.hk-card .link-ext a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hk-card .link-ext a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.75;
}

.hk-note {
  margin-top: 28px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  font-size: 1.35rem;
  color: var(--text-muted);
}

/* --- footer --- */
.hk-footer {
  margin-top: 24px;
  padding: 36px 0 28px;
  background: linear-gradient(180deg, #eef6f9 0%, #e2eff4 100%);
  border-top: 1px solid var(--accent-line);
  text-align: center;
}
.hk-footer .org {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
}
.hk-footer .official {
  font-size: 1.35rem;
  margin: 0 0 16px;
}
.hk-footer address {
  font-style: normal;
  font-size: 1.2rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

@media (max-width: 639px) {
  .hk-hero {
    padding: 40px 0 48px;
  }
  .hk-section {
    padding: 36px 0 44px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
