﻿/* about.css — クリニック概要ページ固有スタイル (guide.css パターンに統一) */

/* ---- Hero ---- */
.ab-hero { position: relative; overflow: hidden; }
.ab-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 120% at 50% -20%, var(--primary-soft) 0%, transparent 60%),
    linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
}
.ab-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(color-mix(in oklab, var(--primary) 20%, transparent) 1px, transparent 1.4px);
  background-size: 26px 26px; opacity: 0.3;
  mask-image: radial-gradient(80% 100% at 50% 0%, #000 0%, transparent 65%);
}
.ab-hero-inner {
  position: relative; text-align: center;
  padding-block: clamp(48px, 6vw, 88px);
}
.ab-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--primary-deep);
}
.ab-hero-eyebrow::before {
  content: ""; width: 20px; height: 2px;
  background: var(--primary); display: inline-block;
}
.ab-hero-title {
  font-size: clamp(40px, 6vw, 68px); letter-spacing: 0.06em;
  margin-top: 14px; color: var(--ink);
}
.ab-hero-lead {
  margin-top: 18px; font-size: clamp(16px, 1.5vw, 20px);
  color: var(--ink-soft); line-height: 1.6;
  max-width: 50ch; margin-inline: auto;
}

/* ---- JumpNav ---- */
.ab-jumpnav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: 20px;
}
.ab-jumpnav-inner {
  display: flex; gap: 12px; flex-wrap: wrap;
  max-width: var(--maxw); margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}
.ab-jumplink {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 14px; letter-spacing: 0.04em;
  padding: 12px 22px; border-radius: var(--r-pill);
  background: var(--primary-soft); color: var(--primary-deep);
  border: 1.5px solid color-mix(in oklab, var(--primary) 24%, transparent);
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
  text-decoration: none;
}
.ab-jumplink:hover {
  background: var(--primary); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -6px color-mix(in oklab, var(--primary) 60%, black);
}
.ab-jumplink svg { flex: none; }

/* ---- Section Banner ---- */
.ab-sec-banner {
  background: linear-gradient(135deg, var(--primary-deep), color-mix(in oklab, var(--primary) 86%, black));
  padding: clamp(22px, 3vw, 34px) 0;
  scroll-margin-top: 78px;
  position: relative; overflow: hidden;
}
.ab-sec-banner::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1.6px);
  background-size: 24px 24px;
  mask-image: radial-gradient(80% 120% at 100% 0%, #000, transparent 60%);
  pointer-events: none;
}
.ab-sec-banner-inner {
  display: flex; align-items: center; gap: 18px;
  position: relative;
}
.ab-sec-banner-icon {
  width: 56px; height: 56px; flex: none; display: grid; place-items: center;
  border-radius: var(--r-md); background: rgba(255,255,255,0.18); color: #fff;
}
.ab-sec-banner-en {
  display: block; font-size: 15px; font-weight: 700;
  letter-spacing: 0.16em; color: rgba(255,255,255,0.72);
  text-transform: uppercase; margin-bottom: 4px;
}
.ab-sec-banner-title {
  font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700; color: #fff; letter-spacing: 0.06em; margin: 0; line-height: 1.2;
}

/* ---- Sections ---- */
.ab-section { padding-block: var(--pad-section); }
.ab-section-alt { background: var(--surface-2); padding-block: var(--pad-section); }

/* ---- Overview ---- */
.ab-overview-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 68px); align-items: center;
}
.ab-profile-table { width: 100%; border-collapse: collapse; }
.ab-profile-table tr { border-bottom: 1px solid var(--line); }
.ab-profile-table tr:first-child { border-top: 1px solid var(--line); }
.ab-profile-table th {
  width: 8em; padding: 16px 0; font-weight: 700; font-size: 20px;
  color: var(--ink-soft); vertical-align: top; white-space: nowrap;
}
.ab-profile-table td { padding: 16px 0 16px 20px; font-size: 14px; line-height: 1.6; }

.ab-photo {
  aspect-ratio: 4/3; border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); border: 6px solid var(--surface);
  overflow: hidden;
}
.ab-photo > image-slot { display: block; width: 100%; height: 100%; }

/* ---- Staff Numbers ---- */
.ab-total-band {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff; border-radius: var(--r-md); padding: 26px 36px;
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 32px;
}
.ab-total-num { font-size: 38px; font-weight: 900; line-height: 1; }
.ab-total-unit { font-size: 14px; font-weight: 700; }
.ab-total-note { font-size: 16px; opacity: .8; margin-left: auto; line-height: 1.4; }

.ab-staff-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 52px; }
.ab-staff-card {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--r-md); padding: 22px 16px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.ab-staff-count { font-size: 20px; font-weight: 900; color: var(--primary-deep); line-height: 1.1; display: block; }
.ab-staff-label { font-size: 15px; color: var(--ink-soft); margin-top: 7px; display: block; line-height: 1.4; }

/* ---- Team Grid ---- */
.ab-team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.ab-team-card {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.ab-team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ab-team-photo { aspect-ratio: 4/3; background: var(--surface-2); }
.ab-team-photo > image-slot { display: block; width: 100%; height: 100%; }
.ab-team-body { padding: 20px 22px 24px; }
.ab-team-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--primary-soft); color: var(--primary-deep); margin-bottom: 12px;
}
.ab-team-titles h3 { font-size: 15px; font-weight: 800; margin: 0; }
.ab-team-titles small { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--ink-soft); }
.ab-team-desc { font-size: 16px; color: var(--ink-soft); margin-top: 10px; line-height: 1.65; }
.ab-team-link {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 12px;
  font-size: 14px; font-weight: 700;
  color: var(--primary-deep);
  text-decoration: none;
  border-bottom: 1.5px solid var(--primary-soft);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.ab-team-link:hover { color: var(--primary); border-color: var(--primary); }

/* ---- Doctor Messages ---- */
.ab-doctors { display: flex; flex-direction: column; gap: 72px; }
.ab-doctor { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.ab-doctor.reverse { grid-template-columns: 1fr 260px; }
.ab-doctor.reverse .ab-doctor-photo-col { order: 2; }
.ab-doctor.reverse .ab-doctor-body { order: 1; }
.ab-doctor-photo {
  aspect-ratio: 3/4; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-md); border: 6px solid var(--surface);
}
.ab-doctor-photo > image-slot { display: block; width: 100%; height: 100%; }
.ab-doctor-role {
  display: inline-block; font-size: 13px; font-weight: 700;
  letter-spacing: .1em; color: var(--primary-deep);
  border: 1.5px solid var(--primary); border-radius: 4px;
  padding: 3px 12px; margin-bottom: 12px;
}
.ab-doctor-name { font-size: 22px; font-weight: 900; margin: 0 0 4px; font-family: var(--font-display); }
.ab-doctor-en { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--ink-soft); display: block; margin-bottom: 6px; }
.ab-doctor-spec { font-size: 17px; color: var(--ink-soft); margin-bottom: 24px; }
.ab-doctor-msg-title {
  font-size: 16px; font-weight: 800; margin-bottom: 18px;
  border-left: 4px solid var(--primary); padding-left: 14px;
  font-family: var(--font-display); line-height: 1.4;
}
.ab-doctor-msg p { font-size: 18px; color: var(--ink-soft); line-height: 1.9; margin-bottom: 16px; }
.ab-doctor-sig { font-size: 14px; color: var(--ink-faint); text-align: right; margin-top: 12px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .ab-team-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .ab-overview-grid { grid-template-columns: 1fr; }
  .ab-staff-grid { grid-template-columns: repeat(2,1fr); }
  .ab-doctor, .ab-doctor.reverse { grid-template-columns: 1fr; }
  .ab-doctor.reverse .ab-doctor-photo-col,
  .ab-doctor.reverse .ab-doctor-body { order: unset; }
}
@media (max-width: 540px) {
  .ab-team-grid { grid-template-columns: 1fr; }
}
