/* ==========================================================
   渡辺内科クリニック — style.css
   ========================================================== */

/* ----------------------------------------------------------
   1. CSS カスタムプロパティ
   ---------------------------------------------------------- */
:root {
  --color-primary: #2d8a4e;
  --color-primary-dark: #1a3a2a;
  --color-primary-medium: #2d6044;
  --color-accent: #4caf50;
  --color-bg-light: #f5fbf7;
  --color-bg-medium: #ebf6ef;
  --color-bg-header: #f2f6f3;
  --color-bg-secondary-nav: #e8eeea;
  --color-border: #cde6d6;
  --color-border-light: #deeee5;
  --color-text: #333;
  --color-text-light: #666;
  --hero-gradient: linear-gradient(165deg, #3d7a5a 0%, #1e4535 100%);
  --font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "Yu Gothic", sans-serif;
  --container-max: 1100px;
  --header-height-primary: 76px;
  --header-height-secondary: 39px;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* ----------------------------------------------------------
   2. リセット & ベース
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 0.9375rem; /* 15px */
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg-medium);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

address {
  font-style: normal;
}

/* ----------------------------------------------------------
   3. ユーティリティ: container / btn / section-label
   ---------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-family);
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  box-shadow: 0 4px 12px rgba(45,138,78,0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.btn-access {
  background: var(--color-primary);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-access:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.btn-block {
  display: flex;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.section {
  padding: 64px 0;
}

.section-light {
  background: var(--color-bg-light);
}

.section-medium {
  background: var(--color-bg-medium);
}

.section-dark {
  background: var(--color-primary-dark);
  color: #fff;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--color-text-light);
  margin-bottom: 40px;
  font-size: 0.875rem;
}

/* ----------------------------------------------------------
   4. ヘッダー
   ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 1段目 */
.header-primary {
  background: var(--color-bg-header);
  height: var(--header-height-primary);
  border-bottom: 1px solid var(--color-border-light);
}

.header-primary-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* ロゴ */
.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--color-primary-dark);
}

.site-logo:hover {
  color: var(--color-primary-dark);
  text-decoration: none;
}

/* アイコンコンテナ: 白い丸角カード + shadow (Figma準拠) */
.logo-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 7px 10.7px;
}

/* 高さ26px のアイコン枠 (Figma: Icon wrapper) */
.logo-icon-inner {
  width: 18.57px;
  height: 26px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* アイコン本体 */
.logo-icon-img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 18.57px;
  height: 17.13px;
  transform: translateY(-50%);
  display: block;
}

/* フッター用: 背景が暗いので白カードを少し透過に */
.logo-icon-wrap--footer {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-org {
  font-size: 0.625rem;
  color: #666;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.logo-name {
  font-size: 1.1875rem;
  font-weight: 800;
  color: #1a3a2a;
  letter-spacing: 0.04em;
  line-height: 1.0;
}

/* メインナビ */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  white-space: nowrap;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover,
.nav-item.is-active > .nav-link {
  background: var(--color-bg-medium);
  color: var(--color-primary);
}

.nav-arrow {
  font-size: 0.625rem;
  transition: transform 0.2s;
}

.nav-item.has-dropdown:hover > .nav-link .nav-arrow,
.nav-item.has-dropdown.is-open > .nav-link .nav-arrow {
  transform: rotate(180deg);
}

/* ドロップダウン */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 200;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 0.8125rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-light);
  transition: background 0.15s;
}

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

.dropdown-item:hover,
.dropdown-item.is-current {
  background: var(--color-bg-light);
  color: var(--color-primary);
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 2段目（サブナビ） */
.header-secondary {
  background: var(--color-bg-secondary-nav);
  height: var(--header-height-secondary);
  border-bottom: 1px solid var(--color-border);
}

.header-secondary-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.secondary-nav-list {
  display: flex;
  align-items: center;
  height: 100%;
}

.secondary-nav-item {
  border-right: 1px solid var(--color-border);
}

.secondary-nav-item:first-child {
  border-left: 1px solid var(--color-border);
}

.secondary-nav-link {
  display: block;
  padding: 0 14px;
  height: var(--header-height-secondary);
  line-height: var(--header-height-secondary);
  font-size: 0.75rem;
  color: var(--color-primary-dark);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.secondary-nav-link:hover,
.secondary-nav-link.is-current {
  background: var(--color-border-light);
  color: var(--color-primary);
}

/* 診療ステータス */
.clinic-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  white-space: nowrap;
}

.clinic-hours {
  font-size: 0.6875rem;
  color: var(--color-text-light);
  margin-left: 8px;
  white-space: nowrap;
}

.clinic-status.is-open {
  background: #dcfce7;
  color: #166534;
}

.clinic-status.is-closed {
  background: #fee2e2;
  color: #991b1b;
}

/* モバイルメニュー */
.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--color-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-menu.is-open {
  max-height: 600px;
}

.mobile-nav-list {
  padding: 8px 0;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  text-align: left;
}

.mobile-dropdown {
  background: var(--color-bg-medium);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.mobile-dropdown.is-open {
  max-height: 300px;
}

.mobile-dropdown-item {
  display: block;
  padding: 10px 32px;
  font-size: 0.8125rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-light);
}

.mobile-dropdown-item:hover {
  color: var(--color-primary);
}

.mobile-access {
  border-bottom: none;
  padding: 12px 20px;
}

/* ----------------------------------------------------------
   5. ヒーロー
   ---------------------------------------------------------- */
.hero {
  background: var(--hero-gradient);
  padding: 80px 0;
  color: #fff;
  overflow: hidden;
}

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

.hero-content .section-label {
  color: rgba(255,255,255,0.9);
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  color: #fff;
}

.hero-title span {
  display: block;
}

.hero-description {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  max-width: 284px;
  margin-left: auto;
  background: rgba(255,255,255,0.1);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ----------------------------------------------------------
   6. インフォバー
   ---------------------------------------------------------- */
.info-bar {
  background: var(--color-primary-medium);
  padding: 24px 0;
  color: #fff;
}

.info-bar-inner {
  display: flex;
  gap: 0;
}

.info-bar-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  color: #fff;
  transition: opacity 0.2s;
}

.info-bar-item:hover {
  opacity: 0.85;
}

.info-bar-item:first-child {
  padding-left: 0;
}

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

.info-bar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.9);
  font-size: 1.25rem;
}

.info-bar-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}

.info-bar-value {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
}

.info-bar-value a {
  color: #fff;
}

.info-bar-value a:hover {
  color: rgba(255,255,255,0.8);
}

/* ----------------------------------------------------------
   7. About セクション（クリニックのご案内）
   ---------------------------------------------------------- */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.about-table th,
.about-table td {
  padding: 10px 14px;
  border: none;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.about-table th {
  background: none;
  color: #666;
  font-weight: 700;
  width: 34%;
  white-space: nowrap;
}

.hours-card {
  background: #fff;
  border: 1.5px solid #cde6d6;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.hours-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.875rem;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 600;
  color: var(--color-text);
  min-width: 100px;
}

.hours-time {
  color: var(--color-primary-dark);
}

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

.hours-sub {
  display: block;
  font-size: 0.6875rem;
  color: #777;
  margin-top: 2px;
}

.hours-closed-text {
  color: #c0392b;
  font-weight: 600;
}

@media (max-width: 480px) {
  .hours-time-pm {
    display: block;
  }
}

/* ----------------------------------------------------------
   8. Services セクション（ご利用案内）
   ---------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.services-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.service-card {
  background: #fff;
  border: 1.5px solid #cde6d6;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: var(--color-text);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  color: var(--color-text);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e8f5ec 0%, #c8ecd2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-primary);
  font-size: 1.25rem;
}

.service-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.service-card-description {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-card-link:hover {
  color: var(--color-primary-dark);
}

/* ----------------------------------------------------------
   9. News セクション（お知らせ）
   ---------------------------------------------------------- */
.news-list {
  background: #fff;
  border: 1.5px solid #cde6d6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border-light);
  transition: background 0.15s;
  color: var(--color-text);
  text-decoration: none;
}

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

.news-item:hover {
  background: var(--color-bg-light);
}

.news-date {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  white-space: nowrap;
  flex-shrink: 0;
}

.news-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  background: #e8f5ec;
  color: var(--color-primary);
}

.news-badge[data-cat="予防接種"] { background: #eff6ff; color: #3b82f6; }
.news-badge[data-cat="休診情報"] { background: #fef3e2; color: #d97706; }
.news-badge[data-cat="お知らせ"] { background: #e8f5ec; color: #2d8a4e; }

.news-title {
  font-size: 0.875rem;
  color: var(--color-text);
  flex: 1;
}

.news-title a {
  color: var(--color-text);
}

.news-title a:hover {
  color: var(--color-primary);
}

.news-arrow {
  color: var(--color-primary);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.news-more {
  text-align: right;
  margin-top: 16px;
}

/* ----------------------------------------------------------
   10. ページヘッダー（内部ページ）
   ---------------------------------------------------------- */
.page-header {
  background: var(--hero-gradient);
  padding: 48px 0 36px;
  color: #fff;
}

.page-header .section-label {
  color: rgba(255,255,255,0.9);
}

.page-header-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 0.8125rem;
  flex-wrap: wrap;
}

.breadcrumb-item {
  color: rgba(255,255,255,0.9);
}

.breadcrumb-item a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
}

.breadcrumb-item a:hover {
  color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  margin: 0 8px;
  color: rgba(255,255,255,0.7);
}

.breadcrumb-item.is-current {
  color: #fff;
}

/* ----------------------------------------------------------
   11. single/list コンテンツ（.prose スコープ）
   ---------------------------------------------------------- */
.prose {
  max-width: 800px;
  line-height: 1.85;
}

.prose h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  padding: 12px 20px;
  background: var(--color-bg-medium);
  border-left: 4px solid var(--color-primary);
  margin: 2em 0 1em;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  padding: 8px 0 8px;
  border-bottom: 2px solid var(--color-border);
  margin: 1.8em 0 0.8em;
}

.prose h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 1.5em 0 0.6em;
}

.prose p {
  margin-bottom: 1em;
}

.prose ul, .prose ol {
  margin: 0.8em 0 0.8em 1.5em;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 4px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.875rem;
}

.prose table th,
.prose table td {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  vertical-align: top;
}

.prose table th {
  background: var(--color-bg-medium);
  font-weight: 600;
}

.prose img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 1em 0;
}

.prose figure {
  margin: 1.5em 0;
}

.prose figure.center {
  text-align: center;
}

.prose figure.center img {
  margin: 0 auto;
}

/* post-list (list.html) */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.post-list-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text);
  text-decoration: none;
  transition: background 0.15s;
}

.post-list-item:hover {
  background: var(--color-bg-light);
  color: var(--color-text);
}

.post-list-thumb {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
  border: 1px solid var(--color-border-light);
}

.post-list-body {
  flex: 1;
  min-width: 0;
}

@media (max-width: 480px) {
  .post-list-thumb {
    width: 80px;
    height: 56px;
  }
}

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

.post-list-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.post-list-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 6px;
  padding: 0;
  background: none;
  border: none;
  color: var(--color-text);
}

.post-list-title a {
  color: var(--color-text);
}

.post-list-title a:hover {
  color: var(--color-primary);
}

.post-list-summary {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

/* ----------------------------------------------------------
   12. フッター
   ---------------------------------------------------------- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.85);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 48px 20px;
}

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

.footer-logo .logo-icon {
  background: rgba(255,255,255,0.15);
}

.footer-logo .logo-org,
.footer-logo .logo-name {
  color: rgba(255,255,255,0.9);
}

.footer-logo .logo-name {
  color: #fff;
}

.footer-address {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
}

.footer-right {
  text-align: right;
}

.footer-tel-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}

.footer-tel {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-tel:hover {
  color: rgba(255,255,255,0.85);
}

.footer-hours {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  text-align: right;
}

.footer-hours strong {
  color: rgba(255,255,255,0.9);
}

.footer-bottom {
  background: rgba(0,0,0,0.2);
  text-align: center;
  padding: 14px 20px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

/* ----------------------------------------------------------
   13. モバイルレスポンシブ
   ---------------------------------------------------------- */
/* タブレット: サブナビを2段折り返し、ステータスは右端 */
@media (min-width: 769px) and (max-width: 1100px) {
  .header-secondary {
    height: auto;
  }

  .header-secondary-inner {
    align-items: center;
    height: auto;
    padding: 4px 0;
  }

  .secondary-nav-list {
    flex-wrap: wrap;
    height: auto;
    flex: 1;
  }

  .secondary-nav-link {
    height: 30px;
    line-height: 30px;
  }
}

@media (max-width: 768px) {
  /* ヘッダー */
  :root {
    --header-height-primary: 58px;
  }

  /* サブナビ非表示、診療ステータスのみ */
  .secondary-nav {
    display: none;
  }

  .header-secondary-inner {
    justify-content: flex-end;
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  /* ヒーロー */
  .hero {
    padding: 48px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-image {
    order: -1;
    margin-left: 0;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  /* インフォバー */
  .info-bar-inner {
    flex-direction: column;
    gap: 16px;
  }

  .info-bar-item {
    padding: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 14px;
  }

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

  /* About */
  .about-inner {
    grid-template-columns: 1fr;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* News */
  .news-item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .news-title {
    flex-basis: 100%;
  }

  /* ページヘッダー */
  .page-header-title {
    font-size: 1.4rem;
  }

  /* フッター */
  .footer-inner {
    flex-direction: column;
    gap: 28px;
    padding: 36px 20px;
  }

  .footer-right {
    text-align: left;
  }

  .footer-hours {
    text-align: left;
  }

  /* セクション */
  .section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

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

/* ----------------------------------------------------------
   14. 診療案内グリッド
   ---------------------------------------------------------- */
.medical-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .medical-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .medical-grid .service-card-description {
    display: none;
  }
}

/* ----------------------------------------------------------
   15. フッター電話ボタン（モバイル）
   ---------------------------------------------------------- */
.footer-tel-btn {
  display: none;
}

@media (max-width: 768px) {
  .footer-tel-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #2d8a4e;
    border-radius: 14px;
    padding: 16px 20px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 16px;
  }

  .footer-tel-btn:hover {
    background: #1a5e34;
    color: #fff;
  }

  .footer-tel-btn .footer-tel-icon {
    font-size: 1.25rem;
  }

  .footer-tel-btn .footer-tel-text {
    display: flex;
    flex-direction: column;
  }

  .footer-tel-btn .footer-tel-label-sm {
    font-size: 0.6875rem;
    color: rgba(255,255,255,0.75);
  }

  .footer-tel-btn .footer-tel-num {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  /* PC用電話表示はモバイルで隠す */
  .footer-tel-pc {
    display: none;
  }
}

/* ----------------------------------------------------------
   16. コンテンツページカード
   ---------------------------------------------------------- */
.highlight-card {
  background: linear-gradient(135deg, #e8f5ec, #d0ecda);
  border: 1px solid #b8dcc5;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .highlight-card {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .highlight-card img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

.info-card {
  background: #fff;
  border: 1px solid #cde6d6;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.warn-card {
  background: #fff8ec;
  border: 1px solid #f5d87a;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}

.step-card {
  background: #fff;
  border: 1px solid #cde6d6;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-label {
  color: var(--color-primary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.step-icon {
  background: linear-gradient(180deg, #e0f2e9, #c5e8d4);
  border-radius: 16px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 1.25rem;
}

.feature-tag {
  background: #f5fbf7;
  border: 1px solid #cde6d6;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.844rem;
  display: inline-block;
  margin: 4px;
}

.reservation-badge {
  background: #f5fbf7;
  border: 1px solid #cde6d6;
  border-radius: 50px;
  text-align: center;
  padding: 10px 20px;
  color: #2d8a4e;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 12px;
}

/* ----------------------------------------------------------
   17. 診療ページ (medical-content / 2カラム / 予防接種)
   ---------------------------------------------------------- */

/* フルwidth prose（max-width なし） */
.medical-content {
  line-height: 1.85;
}

.medical-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  padding: 12px 20px;
  background: var(--color-bg-medium);
  border-left: 4px solid var(--color-primary);
  margin: 2em 0 1em;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.medical-content p {
  margin-bottom: 1em;
}

/* 診療ページ箇条書きリスト */
.medical-list {
  list-style: disc;
  padding-left: 1.4em;
  margin: 0.8em 0;
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--color-text);
}

.medical-list li {
  margin-bottom: 4px;
}

/* 2カラムレイアウト */
.content-page-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* 右カラム診療時間カード */
.page-hours-card {
  background: #fff;
  border: 1.5px solid #cde6d6;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.page-hours-card-label {
  color: var(--color-primary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 1.54px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.page-hours-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #deeee5;
}

.page-hours-row:last-child {
  border-bottom: none;
}

.page-hours-day {
  font-size: 0.844rem;
  font-weight: 600;
  color: #333;
}

.page-hours-time {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #1a3a2a;
  text-align: right;
}

.page-hours-sub {
  font-size: 0.6875rem;
  color: #777;
  display: block;
  margin-top: 2px;
}

.page-hours-closed {
  color: #c0392b;
  font-weight: 700;
}

/* 疾患リストタグ（フルwidth行） */
.disease-tag {
  background: #f5fbf7;
  border: 1px solid #cde6d6;
  border-radius: 10px;
  padding: 11px 17px;
  font-size: 0.844rem;
  display: block;
  margin-bottom: 8px;
  color: #333;
}

/* 予防接種 警告バナー */
.vaccine-notice {
  background: #fff8e6;
  border: 1.5px solid #f6d28d;
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #92400e;
  font-size: 0.844rem;
  font-weight: 600;
  margin-bottom: 28px;
}

/* 予防接種カードグリッド */
.vaccination-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ワクチンカード */
.vaccine-card {
  background: #fff;
  border: 1.5px solid #cde6d6;
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vaccine-card--pending {
  background: #fafffe;
  border-style: dashed;
}

.vaccine-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f5ec, #c8ecd2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d8a4e;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.vaccine-name {
  font-size: 0.875rem;
  font-weight: 800;
  color: #1a3a2a;
}

.vaccine-badge {
  background: #f5fbf7;
  border: 1px solid #b8dcc5;
  border-radius: 100px;
  padding: 3px 9px;
  font-size: 0.625rem;
  font-weight: 600;
  color: #2d8a4e;
  display: inline-block;
  align-self: flex-start;
}

.vaccine-badge--pending {
  background: #fff8e6;
  border-color: #f6d28d;
  color: #92400e;
}

@media (max-width: 768px) {
  .content-page-grid {
    grid-template-columns: 1fr;
  }

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

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

/* ----------------------------------------------------------
   18. ドクター紹介カードグリッド
   ---------------------------------------------------------- */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.doctor-card {
  background: #fff;
  border: 1.5px solid #cde6d6;
  border-radius: 20px;
  padding: 41.5px;
}

.doctor-photo {
  width: 160px;
  height: 180px;
  border-radius: 80px;
  border: 3px solid #cde6d6;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  object-fit: cover;
  display: block;
  margin: 0 auto 20px;
}

.doctor-badge {
  display: inline-block;
  background: rgba(45,138,78,0.1);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #2d8a4e;
  margin-bottom: 12px;
}

.doctor-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a3a2a;
  margin-bottom: 20px;
}

.doctor-divider {
  border: none;
  border-top: 1px solid #deeee5;
  margin: 20px 0;
}

.doctor-section-label {
  font-size: 0.656rem;
  font-weight: 700;
  color: #2d8a4e;
  letter-spacing: 1.26px;
  text-transform: uppercase;
  margin-bottom: 8px;
  margin-top: 16px;
}

.doctor-section-content {
  font-size: 0.875rem;
  color: #444;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .doctor-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------
   19. 内視鏡検査カードグリッド
   ---------------------------------------------------------- */
.endoscopy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.endoscopy-card {
  background: #fff;
  border: 1.5px solid #cde6d6;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.endoscopy-card img {
  border-radius: 8px;
  border: 1px solid #cde6d6;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* 胃カメラ: 小サイズ中央寄せサムネイル */
.endoscopy-card--gastro img {
  width: 160px;
  height: 120px;
}

/* 経鼻内視鏡: 縦長大サイズ */
.endoscopy-card--nasal img {
  width: 100%;
  max-width: 340px;
}

.endoscopy-card-title {
  font-size: 1.1875rem;
  font-weight: 800;
  color: #1a3a2a;
}

.endoscopy-card-desc {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.75;
}

.endoscopy-procedure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f5fbf7;
  border: 1px solid #cde6d6;
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2d8a4e;
  align-self: flex-start;
}

@media (max-width: 768px) {
  .endoscopy-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------
   20. アクセスページ
   ---------------------------------------------------------- */
.access-address {
  font-size: 0.9375rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 24px;
}

.access-transport-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.access-transport-card {
  background: #fff;
  border: 1.5px solid #cde6d6;
  border-radius: 12px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.access-transport-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8f5ec 0%, #c8ecd2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 1rem;
}

.access-transport-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #2d8a4e;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.access-transport-text {
  font-size: 0.875rem;
  color: #333;
  line-height: 1.6;
}

.access-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ----------------------------------------------------------
   21. FAQカードリスト
   ---------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border: 1.5px solid #cde6d6;
  border-radius: 16px;
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 28px;
  background: #fff;
}

.faq-badge-q {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: #2d8a4e;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}

.faq-q-text {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a3a2a;
  line-height: 1.6;
  padding-top: 4px;
}

.faq-a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 21px 28px;
  background: #f5fbf7;
  border-top: 1px solid #deeee5;
}

.faq-badge-a {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: #e8f5ec;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #2d8a4e;
}

.faq-a-text {
  font-size: 0.875rem;
  color: #444;
  line-height: 1.75;
  padding-top: 4px;
}
