/*
Theme Name: withオンラインクリニック
Description: オンライン診療サイト用WordPressテーマ
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Nunito:wght@700;800&display=swap');

:root {
  --bg-sky: #e8f7f9;
  --bg-sky-2: #d4f1f5;
  --brand-sky: #44bdcf;
  --brand-cyan: #6dd0dc;
  --brand-primary: #44bdcf;
  --brand-deep: #3a9fb1;
  --text: #2b3b45;
  --muted: #6c7b85;
  --line: #06C755;
  --accent: #ff8a3a;
  --chip: #f0fbfd;
  --card: #ffffff;
  --shadow: 0 10px 24px rgba(25, 75, 95, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f6feff 0%, var(--bg-sky) 28%, #fff 70%);
  line-height: 1.75;
}

/* Mobile break utility */
.mobile-br {
  display: none;
}

/* Utilities */
.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.center {
  text-align: center;
}

.small {
  font-size: 0.95rem;
  color: var(--muted);
}

.tiny {
  font-size: 0.82rem;
  color: #8aa1ad;
}

.stack-xl {
  display: grid;
  gap: 40px;
  margin-block: 36px 72px;
}

.narrow {
  max-width: 860px;
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(1.2) blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
}

.logo {
  text-decoration: none;
}

.logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--brand-primary);
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 18px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--brand-primary);
}

.nav .btn {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: var(--text);
}

/* Buttons */
.btn {
  --pad-x: 18px;
  --pad-y: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
  border: 0;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(180deg, var(--brand-primary), var(--brand-deep));
  color: #fff;
  box-shadow: 0 6px 18px rgba(68, 189, 207, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: saturate(1.1);
}

.btn-outline {
  background: #fff;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}

.btn-outline:hover {
  background: var(--chip);
}

.btn-white {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}

.btn-white:hover {
  transform: translateY(-1px);
}

.btn-line {
  background: linear-gradient(180deg, #15d161, var(--line));
  color: #fff;
  box-shadow: 0 6px 16px rgba(6, 199, 85, 0.25);
}

.btn-line:hover {
  filter: brightness(1.05);
}

.btn.lg {
  --pad-y: 14px;
  --pad-x: 22px;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(1200px 240px at 40% 0%, #f3feff 0%, var(--bg-sky-2) 60%, #e6f6f8 100%);
  overflow: hidden;
  border-bottom: 1px solid #d8f2f6;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2px;
  padding: 48px 0 36px;
  align-items: center;
}

.eyebrow {
  color: #2b5566;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.hero h1 {
  font-family: 'Nunito', 'Noto Sans JP', sans-serif;
  font-weight: 900;
  line-height: 1.5;
  font-size: clamp(28px, 3.6vw, 44px);
  color: #214957;
  margin: 8px 0;
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: start;
}

.hero-text {
  grid-column: 1;
  grid-row: 3;
}

.hero-highlight {
  color: #ff8a3a;
}

.hero .sub {
  color: #4e6b77;
  margin: 0 0 18px;
}

.hero-illust {
  grid-column: 2;
  grid-row: 1 / 5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  grid-column: 1;
  grid-row: 4;
}

/* Page title / breadcrumb */
.page-title {
  padding: 26px 0 10px;
  background: #e9f8fa;
}

.breadcrumb {
  font-size: 0.9rem;
  color: #6c8a98;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-title h2 {
  font-size: 1.8rem;
  text-align: center;
  margin: 8px 0 16px;
  font-weight: 700;
}

.seg-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--chip);
  color: #1d4e5e;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #c9edf2;
  transition: background 0.2s ease;
}

.chip:hover {
  background: #e0f4f7;
}

.chip-outline {
  background: #fff;
}

.clinic-intro {
  text-align: center;
  color: var(--text);
}

.clinic-intro p {
  margin: 4px 0;
}

.clinic-intro-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 20px 0;
  flex-wrap: wrap;
}

.intro-card {
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  min-width: 200px;
  flex: 1;
  max-width: 280px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.intro-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.intro-card.self-pay {
  border: 2px solid #ff6b6b;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
  color: #d63031;
}

.intro-card.insurance {
  border: 2px solid var(--brand-primary);
  background: linear-gradient(135deg, #f0fbfd 0%, #d4f1f5 100%);
  color: var(--brand-primary);
}

.intro-card h3 {
  margin: 8px 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.intro-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.8;
}

.support-text {
  font-size: 1.1rem;
  color: var(--brand-primary);
  margin-top: 16px;
}

/* Cards */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.card-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  border-bottom: 1px dashed #e7f0f4;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f0fbff;
  display: grid;
  place-items: center;
  border: 1px solid #c9edf2;
  color: var(--brand-primary);
}

.head-copy h3 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
}

.self-pay-section .head-copy h3 {
  color: #ff8a3a;
}

.insurance-section .head-copy h3 {
  color: var(--brand-primary);
}

.head-copy .note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.head-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.menu-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 4px 0 8px;
}

.medicine-list {
  background: #f8fdff;
  border: 1px solid #e2f0f5;
  border-radius: 8px;
  padding: 8px;
  margin: 8px 0;
  font-size: 0.85rem;
}

.medicine-list p {
  margin: 2px 0;
  color: var(--text);
}

.menu-note {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: normal;
}

/* Service Card Sections */
.medical-services {
  display: grid;
  gap: 32px;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.self-pay-section {
  border-left: 6px solid #ff8a3a;
  background: #ffffff;
}

.self-pay-section .avatar {
  background: linear-gradient(135deg, #ff8a3a, #e67e22);
  color: white;
  border: none;
}

.insurance-section {
  border-left: 6px solid var(--brand-primary);
}

.insurance-section .avatar {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-deep));
  color: white;
  border: none;
}

.featured-service {
  background: linear-gradient(135deg, #fff8f0 0%, #ffede0 100%);
  border: 2px solid #ffb366;
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
}

.featured-title {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff8a3a, #e67e22);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 20px;
  text-align: center;
}

.featured-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.symptoms-section h4,
.medicine-section h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #34495e;
  margin: 0 0 12px;
}

.symptoms-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.symptoms-list li {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 8px 12px;
  margin: 6px 0;
  font-size: 0.9rem;
}

.medicine-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.medicine-list span {
  background: #fff3e6;
  color: #d35400;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Other Services Grid */
.other-services {
  margin: 32px 0;
}

.section-subtitle {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 20px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-item {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.service-header h5 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--brand-primary);
  position: relative;
}

.service-header h5::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 40px;
  height: 3px;
  background: #ff8a3a;
}

.insurance-tag-wrapper {
  margin: 8px 0;
}

.insurance-tag {
  background: var(--brand-primary);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.service-details {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.service-details li {
  font-size: 0.85rem;
  color: #6c757d;
  margin: 4px 0;
}

.section-header {
  background: rgba(255, 248, 240, 0.9);
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 20px;
  border: 2px solid rgba(255, 138, 58, 0.3);
}

.insurance-section .section-header {
  border-color: rgba(68, 189, 207, 0.3);
  background: rgba(240, 251, 253, 0.9);
}

.section-header h3 {
  font-size: 1.5rem;
  margin: 0 0 8px;
  font-weight: 700;
}

.self-pay-section .section-header h3 {
  color: #ff8a3a;
}

.insurance-section .section-header h3 {
  color: var(--brand-primary);
}

/* Menu Grid Improvements */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.menu {
  background: white;
  border: 2px solid #e6f2f6;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.menu:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.self-pay-section .menu {
  border-color: rgba(255, 138, 58, 0.4);
  background: linear-gradient(135deg, #fff8f0 0%, #ffede0 100%);
}

.insurance-section .menu {
  border-color: rgba(68, 189, 207, 0.3);
}

/* Insurance Menu Grid */
.insurance-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.insurance-menu {
  background: white;
  border: 2px solid rgba(68, 189, 207, 0.3);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.insurance-menu:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.diabetes-menu {
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
  border-color: var(--brand-primary);
  text-align: center;
}

.diabetes-menu .menu-icon {
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.symptoms-list {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
}

.symptoms-list p {
  margin: 8px 0;
  padding: 8px 0;
  border-bottom: 1px dashed #e0e0e0;
}

.symptoms-list p:last-child {
  border-bottom: none;
}

/* Insurance Fee Notice */
.insurance-fee-notice {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 16px 0;
  font-weight: 600;
  color: #856404;
}

/* Restrictions Section */
.restrictions-section {
  background: #fff5f5;
  border: 2px solid #ffcdd2;
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}

.restrictions-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #d32f2f;
}

.restrictions-header h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.restriction-items {
  display: grid;
  gap: 12px;
}

.restriction-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: white;
  padding: 12px;
  border-radius: 8px;
  border-left: 4px solid #f44336;
}

.restriction-icon {
  color: #f44336;
  font-weight: 900;
  font-size: 1.2rem;
  min-width: 20px;
}

.restriction-item strong {
  color: #d32f2f;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

.restriction-item p {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Required Documents */
.required-documents {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}

.required-documents h4 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.document-item {
  background: white;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.document-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.document-item.required {
  border: 2px solid var(--brand-primary);
  background: linear-gradient(135deg, #f0fbfd 0%, #e6f7f9 100%);
}

.document-item.optional {
  border: 2px solid #ff9800;
  background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
}

.document-item svg {
  color: var(--brand-primary);
  margin-bottom: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.document-item.optional svg {
  color: #ff9800;
}

.document-item h5 {
  margin: 8px 0 4px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.document-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.optional-note {
  font-size: 0.75rem !important;
  color: #ff9800 !important;
  font-weight: 600;
  text-align: center;
}

.document-image {
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
}

.document-image img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Medical Information Sections */
.medical-info {
  background: #f9fcff;
  border: 1px solid #e2f0f5;
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  font-size: 0.85rem;
}

.medical-section {
  margin-bottom: 20px;
}

.medical-section:last-child {
  margin-bottom: 0;
}

.medical-section h5 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 700;
}

.medical-item {
  margin-bottom: 12px;
}

.medical-item:last-child {
  margin-bottom: 0;
}

.medical-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.85rem;
}

.medical-item p {
  margin: 0;
  color: #5d7986;
  line-height: 1.6;
}

.tag {
  background: #f4fbfe;
  border: 1px solid #c9edf2;
  color: #2e5b69;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s ease;
}

.tag.active,
.tag:hover {
  background: var(--brand-primary);
  color: white;
  border-color: var(--brand-primary);
}

.insurance-menu {
  background: #f0fbfd;
  border-color: #ffffff;
}

/* Service menu grid */
.menu-title {
  margin: 0 0 16px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--brand-primary);
  position: relative;
}

.menu-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 40px;
  height: 3px;
  background: #e74c3c;
}

.insurance-section .menu-title::after {
  background: var(--brand-primary);
}

/* 糖尿病診療のサブセクション */
.diabetes-subsection {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #dee2e6;
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
}

.subsection-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.subsection-header svg {
  color: var(--brand-primary);
}

.subsection-header h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
}

.menu ul {
  margin: 0 0 10px 1em;
  padding: 0;
  color: #526f7b;
  line-height: 1.7;
}

.menu-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #c9edf2;
  text-decoration: none;
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.menu-link:hover {
  background: var(--chip);
  border-color: var(--brand-primary);
}

.disclaimer {
  font-size: 0.84rem;
  color: #6b8793;
  background: #f7fcff;
  border: 1px dashed #c9edf2;
  padding: 12px;
  border-radius: 12px;
  margin-top: 14px;
}

.card-foot {
  padding-top: 16px;
  display: flex;
  justify-content: center;
}

/* Fees */
.fee-card {
  padding: 18px;
}

.fee-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.fee {
  border: 1px solid #e6f2f6;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.fee-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.fee-head .num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff5ee;
  color: #fd7e2e;
  font-weight: 900;
  box-shadow: inset 0 0 0 2px #ffd7bf;
}

.fee h4 {
  margin: 0;
  font-size: 1rem;
}

.fee p {
  margin: 0.4em 0 0.2em;
  font-weight: 700;
  color: #294b57;
}

.fee-note {
  font-size: 0.85rem;
  color: #6f8792;
}

.fee-attn ul {
  margin: 0;
  padding-left: 1.2em;
  color: #6f8792;
}

.fee-attn li {
  margin: 0.25em 0;
}

/* About */
.about {
  background: linear-gradient(180deg, #f6fdff 0%, #ecf9fd 100%);
  padding: 48px 0;
}

.section-title {
  font-size: 1.5rem;
  text-align: center;
  margin: 0 0 12px;
}

h2.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 16px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 24px;
}

.feature {
  background: #fff;
  border: 1px solid #e5f2f7;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}

.feature-number {
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--brand-primary);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
}

.feature-icon {
  color: var(--brand-primary);
  margin-bottom: 10px;
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature h4 {
  margin: 0.2em 0 0.5em;
}

.feature-section-title {
  font-size: 1.3rem;
  margin: 24px 0 16px;
  font-weight: 700;
  color: var(--brand-primary);
}

.feature p {
  color: #5d7986;
  margin: 0;
}

/* Flow */
.flow {
  padding: 48px 0;
}

.flow-steps {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.flow-steps li {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5f2f7;
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow);
}

.step-icon {
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.flow-steps h4 {
  margin: 0.5em 0;
}

.flow-steps p {
  color: #5d7986;
  margin: 0;
}

.step-image {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}

.step-image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* FAQ */
.faq {
  background: #f4fbfe;
  padding: 48px 0;
}

.accordion {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.acc-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.acc-head {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #c9edf2;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.acc-head:hover {
  background: #f8fdff;
}

.acc-head.active {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: none;
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
  background: #fff;
  border: 1px solid #e2f0f5;
  border-top: none;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.acc-content {
  overflow: hidden;
}

.acc-panel.open {
  grid-template-rows: 1fr;
}

.acc-panel.open .acc-content {
  padding: 12px 16px;
}

.acc-panel p {
  margin: 0;
  color: #5d7986;
}

/* Contact */
.contact {
  background: linear-gradient(180deg, var(--brand-primary) 0%, var(--brand-deep) 100%);
  padding: 38px 0;
}

.contact-inner {
  display: grid;
  place-items: center;
}

.contact-box {
  background: var(--brand-deep);
  color: #eaffff;
  border-radius: 20px;
  padding: 24px;
  width: min(820px, 94%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.contact-box h4 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Footer */
.site-footer {
  background: #0b3541;
  color: #cfe7ef;
  padding: 26px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 16px;
}

.logo.small .logo-text {
  color: #cfe7ef;
  font-size: 1rem;
}

.clinic-info {
  font-size: 0.9rem;
  color: #a8c5d1;
  margin: 8px 0;
  line-height: 1.5;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.foot-links ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 16px;
  flex-wrap: wrap;
}

.foot-links a {
  color: #cfe7ef;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.foot-links a:hover {
  color: white;
}

.social-links {
  margin-top: 12px;
}

.social-links p {
  font-size: 0.85rem;
  color: #a8c5d1;
  margin: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  /* スマホでの表示順序を指定 */
  .hero h1 {
    order: 1;
    margin: 8px auto;
  }

  .hero-illust {
    order: 2;
    margin: 0;
  }

  .hero-text {
    order: 3;
    margin: 0;
  }

  .cta-row {
    order: 4;
    justify-content: center;
    margin-top: 24px;
  }

  /* Featured content をスマホで縦並びに */
  .featured-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 既存の他のスタイル */
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-row {
    grid-template-columns: 1fr 1fr;
  }

  .flow-steps {
    grid-template-columns: 1fr 1fr;
  }

  .fee-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {

  /* スマホでの改行を表示 */
  .mobile-br {
    display: block;
  }

  /* サービスグリッドを2列に */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .service-item {
    padding: 12px;
  }

  .service-header h5 {
    font-size: 1.1rem;
  }

  /* 保険も可タグの配置調整 */
  .insurance-tag-wrapper {
    margin: 4px 0;
  }

  .insurance-tag {
    font-size: 0.7rem;
    padding: 3px 6px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 12px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    min-width: 200px;
  }

  .nav.nav-open {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .seg-cta {
    flex-wrap: wrap;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .flow-steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .contact-box {
    padding: 18px;
  }

  .contact-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-inner {
    padding: 32px 0 24px;
  }

  .hero h1 {
    font-size: clamp(24px, 6vw, 32px);
  }

  /* スマホでインシュランスメニューを1列に */
  .insurance-menu-grid {
    grid-template-columns: 1fr;
  }

  /* スマホでドキュメントグリッドを調整 */
  .document-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* スマホでカードのパディング調整 */
  .card {
    padding: 14px;
  }

  .featured-service {
    padding: 16px;
  }

  /* スマホでボタンのサイズ調整 */
  .btn.lg {
    --pad-y: 12px;
    --pad-x: 18px;
    font-size: 1rem;
  }

  /* スマホでのテキストサイズ調整 */
  .featured-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 1.4rem;
  }

  /* スマホでの薬リストの調整 */
  .medicine-list span {
    padding: 4px 8px;
    font-size: 0.8rem;
  }
}

/* ヘッダーナビゲーション用CSS - 既存CSSに追加してください */

/* ナビゲーションメニューの基本スタイル */
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 24px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-link:hover {
  color: var(--brand-primary);
  background: rgba(68, 189, 207, 0.05);
}

.nav-link svg {
  transition: transform 0.2s ease;
}

/* ドロップダウンメニュー */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  min-width: 200px;
  z-index: 1000;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  border: 1px solid #e8f4f8;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: white;
  border: 1px solid #e8f4f8;
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
}

.dropdown-link {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 0;
}

.dropdown-link:hover {
  background: #f8fdff;
  color: var(--brand-primary);
  padding-left: 24px;
}

/* ドロップダウンが開いている状態 */
.has-dropdown:hover .nav-link svg {
  transform: rotate(180deg);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e8f4f8;
  }

  .nav.nav-open {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-bottom: 16px;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid #f0f8ff;
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-link {
    padding: 16px 0;
    justify-content: space-between;
    font-size: 1.1rem;
  }

  /* スマホでのドロップダウン */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-left: 20px;
    background: #f8fdff;
    border-radius: 8px;
    margin-top: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown-open .dropdown-menu {
    max-height: 200px;
    display: block;
    opacity: 1;
    transform: none;
  }

  .dropdown-open .nav-link svg {
    transform: rotate(180deg);
  }

  .dropdown-link {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(68, 189, 207, 0.1);
  }

  .dropdown-link:last-child {
    border-bottom: none;
  }

  .dropdown-link:hover {
    padding-left: 20px;
  }

  .nav .btn {
    margin: 0;
    align-self: center;
  }

  .nav-toggle {
    display: block;
  }
}

/* デスクトップでのナビトグル非表示 */
@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex !important;
  }
}

/* アクティブ状態 */
.nav-item.current-menu-item .nav-link,
.nav-item.current_page_item .nav-link {
  color: var(--brand-primary);
  background: rgba(68, 189, 207, 0.1);
}

/* ホバー効果の改善 */
.has-dropdown .nav-link {
  position: relative;
}

.has-dropdown .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: all 0.2s ease;
  transform: translateX(-50%);
}

.has-dropdown:hover .nav-link::after {
  width: 100%;
}

/* ヘッダーロゴ画像のスタイル - 既存CSSに追加または置き換え */

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(1.2) blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  /* 画像ロゴに合わせて少し増加 */
  min-height: 70px;
  /* 最小高さを設定 */
}

/* ロゴ画像のスタイル */
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo-image {
  height: 45px;
  /* 基本の高さ */
  width: auto;
  /* 横長画像の比率を保持 */
  max-width: 250px;
  /* 最大幅を制限 */
  object-fit: contain;
  /* 画像比率を保持 */
  transition: all 0.2s ease;
}

/* フッターの小さいロゴ用 */
.logo.small {
  margin-bottom: 8px;
}

.logo.small .logo-image {
  height: 32px;
  max-width: 180px;
  filter: brightness(0.9);
  /* フッターでは少し暗めに */
}

/* レスポンシブ対応 */
@media (max-width: 960px) {
  .header-inner {
    padding: 10px 0;
    min-height: 60px;
    gap: 12px;
    /* 間隔を調整 */
  }

  .logo-image {
    height: 35px;
    max-width: 180px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 8px 0;
    min-height: 55px;
    gap: 10px;
    justify-content: space-between;
    /* スマホでは両端配置 */
  }

  .logo {
    flex-shrink: 0;
    /* ロゴの縮小を防ぐ */
  }

  .logo-image {
    height: 30px;
    max-width: 160px;
  }

  .logo.small .logo-image {
    height: 25px;
    max-width: 140px;
  }

  /* ナビゲーショントグルボタンのサイズ調整 */
  .nav-toggle {
    padding: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .nav-toggle svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 6px 0;
    min-height: 50px;
    gap: 8px;
  }

  .logo-image {
    height: 26px;
    max-width: 140px;
  }

  .logo.small .logo-image {
    height: 22px;
    max-width: 120px;
  }

  .nav-toggle {
    padding: 6px;
    width: 40px;
    height: 40px;
  }

  .nav-toggle svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 375px) {
  .header-inner {
    padding: 5px 0;
    min-height: 48px;
  }

  .logo-image {
    height: 24px;
    max-width: 120px;
  }

  .logo.small .logo-image {
    height: 20px;
    max-width: 100px;
  }
}

/* ヘッダーが固定されている時の調整 */
.site-header.scrolled .logo-image {
  height: 40px;
  /* スクロール時は少し小さく */
}

/* 高解像度ディスプレイ対応 */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .logo-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* ダークモード対応（必要に応じて） */
@media (prefers-color-scheme: dark) {
  .logo-image {
    filter: brightness(1.1);
  }
}

/* ロゴのローディング状態 */
.logo-image[src=""] {
  visibility: hidden;
}

.logo-image:not([src=""]) {
  animation: logoFadeIn 0.3s ease-in-out;
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* アクセシビリティ - フォーカス状態 */
.logo:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.logo:focus .logo-image {
  transform: scale(1.02);
}

/* プリント用スタイル */
@media print {
  .logo-image {
    height: 30px;
    max-width: 150px;
  }
}

/* ヘッダーロゴ画像のスタイル - 既存CSSに追加または置き換え */

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(1.2) blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  /* 画像ロゴに合わせて少し増加 */
  min-height: 70px;
  /* 最小高さを設定 */
}

/* ロゴ画像のスタイル */
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo-image {
  height: 45px;
  /* 基本の高さ */
  width: auto;
  /* 横長画像の比率を保持 */
  max-width: 250px;
  /* 最大幅を制限 */
  object-fit: contain;
  /* 画像比率を保持 */
  transition: all 0.2s ease;
}

/* フッターの小さいロゴ用 */
.logo.small {
  margin-bottom: 8px;
}

.logo.small .logo-image {
  height: 32px;
  max-width: 180px;
  filter: brightness(0.9);
  /* フッターでは少し暗めに */
}

/* レスポンシブ対応 */
@media (max-width: 960px) {
  .header-inner {
    padding: 10px 0;
    min-height: 60px;
    gap: 12px;
    /* 間隔を調整 */
  }

  .logo-image {
    height: 35px;
    max-width: 180px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 8px 0;
    min-height: 55px;
    gap: 10px;
    justify-content: space-between;
    /* スマホでは両端配置 */
  }

  .logo {
    flex-shrink: 0;
    /* ロゴの縮小を防ぐ */
  }

  .logo-image {
    height: 30px;
    max-width: 160px;
  }

  .logo.small .logo-image {
    height: 25px;
    max-width: 140px;
  }

  /* ナビゲーショントグルボタンのサイズ調整 */
  .nav-toggle {
    padding: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .nav-toggle svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 6px 0;
    min-height: 50px;
    gap: 8px;
  }

  .logo-image {
    height: 26px;
    max-width: 140px;
  }

  .logo.small .logo-image {
    height: 22px;
    max-width: 120px;
  }

  .nav-toggle {
    padding: 6px;
    width: 40px;
    height: 40px;
  }

  .nav-toggle svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 375px) {
  .header-inner {
    padding: 5px 0;
    min-height: 48px;
  }

  .logo-image {
    height: 24px;
    max-width: 120px;
  }

  .logo.small .logo-image {
    height: 20px;
    max-width: 100px;
  }
}

/* ヘッダーが固定されている時の調整 */
.site-header.scrolled .logo-image {
  height: 40px;
  /* スクロール時は少し小さく */
}

/* 高解像度ディスプレイ対応 */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .logo-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* ダークモード対応（必要に応じて） */
@media (prefers-color-scheme: dark) {
  .logo-image {
    filter: brightness(1.1);
  }
}

/* ロゴのローディング状態 */
.logo-image[src=""] {
  visibility: hidden;
}

.logo-image:not([src=""]) {
  animation: logoFadeIn 0.3s ease-in-out;
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* アクセシビリティ - フォーカス状態 */
.logo:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.logo:focus .logo-image {
  transform: scale(1.02);
}

/* プリント用スタイル */
@media print {
  .logo-image {
    height: 30px;
    max-width: 150px;
  }
}

/* Clinic Overview Section */
.clinic-overview {
  background: linear-gradient(135deg, #f8fdff 0%, #ecf9fd 100%);
  padding: 48px 0;
  border-bottom: 1px solid #d8f2f6;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.overview-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(68, 189, 207, 0.2);
  transition: all 0.3s ease;
}

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.overview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8f4f8;
}

.overview-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-deep));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overview-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  padding: 8px 0;
  border-bottom: 1px dashed #e8f4f8;
}

.info-item:last-child {
  border-bottom: none;
}

.info-icon {
  width: 24px;
  height: 24px;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.info-content {
  flex: 1;
}

.info-label {
  font-weight: 700;
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.info-value {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  background: #f8fdff;
  padding: 8px 12px;
  border-radius: 8px;
  margin-top: 8px;
}

.day {
  font-weight: 600;
  color: var(--text);
}

.time {
  font-weight: 500;
  color: var(--brand-primary);
}

.closed {
  color: #e74c3c;
  font-weight: 600;
}

/* Doctor Introduction Section */
.doctor-intro {
  padding: 48px 0;
  background: white;
}

.doctor-card {
  background: linear-gradient(135deg, #fff 0%, #f8fdff 100%);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(68, 189, 207, 0.1);
  max-width: 1000px;
  margin: 0 auto;
}

.doctor-header {
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid #e8f4f8;
}

.doctor-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-deep));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(68, 189, 207, 0.3);
}

.doctor-info h3 {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.doctor-subtitle {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.doctor-basic-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.info-badge {
  background: rgba(68, 189, 207, 0.1);
  color: var(--brand-primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.doctor-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.experience-section,
.qualifications-section {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8f4f8;
}

.section-icon {
  width: 32px;
  height: 32px;
  color: var(--brand-primary);
}

.section-header h4 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.experience-item {
  margin: 12px 0;
  padding: 12px;
  background: #ffffff;
  border-radius: 8px;
  border-left: 4px solid var(--brand-primary);
}

.experience-year {
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 0.9rem;
}

.experience-title {
  font-weight: 600;
  color: var(--text);
  margin: 4px 0;
}

.experience-details {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.qualifications-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.qualifications-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed #e8f4f8;
}

.qualifications-list li:last-child {
  border-bottom: none;
}

.cert-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.doctor-message {
  grid-column: 1 / -1;
  margin-top: 32px;
  background: linear-gradient(135deg, #fff8f0 0%, #ffede0 100%);
  border: 2px solid #ffb366;
  border-radius: 16px;
  padding: 24px;
}

.message-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.message-header h4 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.message-content {
  line-height: 1.8;
  color: var(--text);
}

.message-content p {
  margin: 16px 0;
}

.message-content strong {
  color: var(--accent);
  font-weight: 700;
}

/* Responsive Styles */
@media (max-width: 960px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .doctor-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .doctor-header {
    text-align: center;
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .overview-card {
    padding: 18px;
  }

  .doctor-card {
    padding: 20px;
  }

  .doctor-image {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }

  .doctor-info h3 {
    font-size: 1.5rem;
  }
}

/* Doctor Introduction Section - Simplified */
.doctor-intro {
  padding: 48px 0;
  background: #f8fdff;
}

.doctor-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  max-width: 800px;
  margin: 0 auto;
}

.doctor-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8f4f8;
}

.doctor-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.doctor-info h3 {
  margin: 0 0 8px;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

.doctor-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.doctor-basic-info {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.info-badge {
  background: #f0f8ff;
  color: var(--brand-primary);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Single column layout for content */
.doctor-content {
  display: grid;
  gap: 32px;
}

.experience-section,
.qualifications-section {
  background: #f8fdff;
  border-radius: 8px;
  padding: 20px;
}

.section-header h4 {
  margin: 0 0 16px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.experience-item {
  margin: 12px 0;
  padding: 12px;
  border-bottom: 1px dashed #e0e0e0;
}

.experience-item:last-child {
  border-bottom: none;
}

.experience-year {
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 0.9rem;
}

.experience-title {
  font-weight: 600;
  color: var(--text);
  margin: 4px 0 2px;
}

.experience-details {
  font-size: 0.85rem;
  color: var(--muted);
}

.qualifications-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.qualifications-list li {
  padding: 6px 0;
  border-bottom: 1px dashed #e0e0e0;
  font-size: 0.9rem;
  color: var(--text);
}

.qualifications-list li:last-child {
  border-bottom: none;
}

/* Simplified message section */
.doctor-message {
  margin-top: 32px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
}

.message-header h4 {
  margin: 0 0 16px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.message-content {
  line-height: 1.7;
  color: var(--text);
  font-size: 0.95rem;
}

.message-content p {
  margin: 12px 0;
}

.message-content strong {
  color: var(--brand-primary);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 720px) {
  .doctor-card {
    padding: 20px;
  }

  .doctor-image {
    width: 80px;
    height: 80px;
    font-size: 1.3rem;
  }

  .doctor-info h3 {
    font-size: 1.5rem;
  }

  .experience-section,
  .qualifications-section {
    padding: 16px;
  }

  .doctor-message {
    padding: 20px;
  }
}

/* グループクリニック案内のスタイル */
.group-clinic-notice {
  background: linear-gradient(135deg, #e8f5f8 0%, #d4f1f5 100%);
  border: 2px solid #44bdcf;
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
  text-align: center;
}

.group-clinic-notice h4 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #44bdcf;
}

.group-clinic-notice p {
  margin: 0 0 16px;
  color: #2b3b45;
  font-size: 1rem;
  line-height: 1.6;
}

.group-clinic-notice strong {
  color: #44bdcf;
  font-weight: 700;
}

.group-clinic-notice .btn {
  margin-top: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 720px) {
  .group-clinic-notice {
    padding: 18px;
  }

  .group-clinic-notice h4 {
    font-size: 1.1rem;
  }

  .group-clinic-notice p {
    font-size: 0.9rem;
  }
}