/* ── アクセス&診療時間（2カラム） ── */
.access-hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.access-map-wrap {
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  border: 1px solid var(--border);
}
.access-map-wrap iframe { display: block; width: 100%; height: 360px; border: 0; }
@media (max-width: 968px) {
  .access-map-wrap iframe { height: 280px; }
  .access-hours-grid { grid-template-columns: 1fr; }
}
.access-info, .hours-info {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0 32px 28px;
  overflow: hidden;
}
.access-info h3, .hours-info h3 {
  font-size: var(--fs-base);
  color: var(--primary-dark);
  margin: 0 -32px 24px;
  padding: 14px 16px;
  background: var(--primary-pale);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-align: center;
}
.access-info dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px 16px;
  font-size: var(--fs-base);
  width: fit-content;
  margin: 0 auto;
}
.access-info dt { color: var(--text-light); font-weight: 700; }
.access-info dd { margin: 0; color: var(--text); }
.hours-info-table { width: 100%; border-collapse: collapse; font-size: var(--fs-base); }
.hours-info-table th, .hours-info-table td { padding: 10px 6px; text-align: center; border-bottom: 1px solid var(--border); }
.hours-info-table thead th { color: var(--text-light); font-weight: 600; font-size: var(--fs-base); }
.hours-info-table tbody th { text-align: left; font-weight: 700; color: var(--text); white-space: nowrap; padding-left: 0; padding-right: 12px; }
.hours-info-table tbody th br { display: none; }
.hours-info-table .h-ok { color: var(--primary); font-weight: 700; }
.hours-info-table .h-off { color: var(--text-muted); }
.hours-note-mini { margin-top: 14px; font-size: var(--fs-sm); color: var(--text-light); line-height: 1.7; }
@media (max-width: 768px) {
  .access-info { padding-left: 16px; padding-right: 16px; }
  .access-info dl { grid-template-columns: max-content 1fr; gap: 10px 16px; }
  .hours-info { padding: 0 16px 20px; }
  .hours-info h3 { margin-bottom: 16px; }
  .hours-info-table { font-size: var(--fs-base); table-layout: auto; border-collapse: collapse; }
  .hours-info-table th,
  .hours-info-table td { padding: 8px 5px; border-bottom: 0; }
  .hours-info-table thead { border-bottom: 1px solid var(--border); }
  .hours-info-table tbody tr { border-bottom: 1px solid var(--border); }
  .hours-info-table thead th { color: var(--text-light); font-weight: 500; font-size: var(--fs-base); }
  .hours-info-table tbody th { text-align: left; color: var(--text); white-space: nowrap; padding-left: 2px; padding-right: 0; font-weight: 500; font-size: var(--fs-base); line-height: 1.25; }
  .hours-info-table tbody th br { display: inline; }
}

.payment-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-card);
}
.payment-group {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 76px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.payment-group:first-of-type { padding-top: 0; }
.payment-group:last-of-type { padding-bottom: 0; border-bottom: 0; }
.payment-group h4 {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
}
.payment-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}
.pay-tile {
  width: 72px; height: 50px;
  background: white;
  border: 1px solid #E0E0E0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card-soft);
  overflow: hidden;
  flex-shrink: 0;
  padding: 6px;
}
.pay-tile img,
.pay-tile svg { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.payment-note {
  font-size: var(--fs-sm);
  color: var(--text-light);
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}
@media (max-width: 768px) {
  .payment-wrap { padding: 24px 20px; }
  .payment-group { grid-template-columns: 1fr; gap: 12px; padding: 14px 0; }
}
.greeting-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.greeting-photo {
  text-align: center;
}
.greeting-photo img {
  width: 240px; height: 320px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 28px var(--shadow);
  display: block;
  margin: 0 auto;
}
.greeting-photo-name {
  margin-top: 14px;
  font-weight: 700;
  color: var(--text);
}
.greeting-photo-title {
  font-size: var(--fs-sm);
  color: var(--primary);
  background: var(--primary-light);
  display: inline-block;
  padding: 2px 12px;
  border-radius: 20px;
  margin-top: 5px;
}
.greeting-body h3 {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 18px;
  line-height: 1.6;
}
.greeting-body p {
  font-size: var(--fs-base);
  color: var(--text);
  line-height: 2;
  margin-bottom: 16px;
}
.greeting-sig {
  text-align: right;
  font-size: var(--fs-sm);
  color: var(--text-light);
  margin-top: 24px;
}
.greeting-sig strong {
  display: block;
  font-size: var(--fs-md);
  color: var(--text);
  margin-top: 4px;
}
.covid-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 2px 16px var(--shadow);
}
.covid-box h3 {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.covid-box h3 svg {
  width: 22px; height: 22px;
  fill: var(--primary);
}
.covid-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.covid-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--text);
}
.covid-item-icon {
  width: 28px; height: 28px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.covid-item-icon svg {
  width: 16px; height: 16px;
  fill: var(--primary);
}
@media (max-width: 768px) {
  .greeting-wrap { grid-template-columns: 1fr; }
  .greeting-photo { display: flex; align-items: center; gap: 20px; text-align: left; }
  .greeting-photo img { width: 160px; height: 200px; flex-shrink: 0; }
  .greeting-photo-info { display: flex; flex-direction: column; gap: 4px; align-items: center; }
  .covid-list { grid-template-columns: 1fr; }
}

/* ── クリニックの特徴: 6項目 交互配置（main の index.html から流用） ── */
.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 56px;
}
.feature-row {
  display: grid;
  grid-template-columns: 55fr 45fr; /* 文章:写真 = 55:45 */
  gap: 64px;
  align-items: center;
}
.feature-row.reverse {
  grid-template-columns: 45fr 55fr; /* 画像が左に来るため逆比に */
}
.feature-image { width: 100%; }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-image { order: 1; }
.feature-text { padding: 0 8px; }
.feature-text h3 {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
}
.feature-text strong {
  font-weight: 500;
  background: linear-gradient(transparent 60%, rgba(255, 200, 150, .5) 60%);
  padding: 0 2px;
}
.feature-image {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,.08);
  background: var(--primary-light);
}
.feature-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .feature-rows { gap: 56px; margin-top: 36px; max-width: 100%; margin-left: 0; margin-right: 0; }
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feature-row .feature-text,
  .feature-row.reverse .feature-text { order: 1; padding: 0; }
  .feature-row .feature-image,
  .feature-row.reverse .feature-image {
    order: 2;
    width: 100%;
  }
  .feature-num { font-size: var(--fs-xl); }
  /* .feature-text h3 はグローバル h3 mobile=1.25rem を継承 */
}

/* index.htmlの特徴カードから #feature-NN にジャンプした時、sticky ヘッダーで上端が隠れないよう offset */
.feature-row { scroll-margin-top: 110px; }
@media (max-width: 900px) {
  .feature-row { scroll-margin-top: 80px; }
}
