/* ===================================
   アイランド内科クリニック - 共通スタイルシート
   islandcl.jp サブページ用
   =================================== */

/* --- CSS変数（カラートークン・フォント） --- */
:root {
  --primary: #0070a6;
  --primary-dark: #005f74;
  --primary-light: #e6f4ff;
  --primary-lighter: #ecf7ff;
  --accent: #e75c3a;
  --text-dark: #00243a;
  --text-body: #344b5b;
  --text-light: #5d7587;
  --text-muted: #89a2b5;
  --bg-white: #ffffff;
  --bg-light: #f8fafb;
  --bg-section: #f0f7fc;
  --border-color: #cde1f0;
  --border-light: #e6f0f7;
  --shadow-sm: 0 1px 3px rgba(0, 112, 166, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 112, 166, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 112, 166, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
  --font-en: 'Montserrat', sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
}

/* --- リセット --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  line-height: 1.4;
  font-weight: 600;
}

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

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

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

ul,
ol {
  list-style: none;
}

/* --- レイアウト --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* --- ヘッダー --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.site-logo img {
  height: 48px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-logo svg {
  width: 36px;
  height: 36px;
}

.site-logo .logo-sub {
  font-family: var(--font-en);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-transform: uppercase;
  display: block;
  font-weight: 500;
}

/* ナビゲーション */
.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 0;
  }
}

.main-nav>a,
.main-nav>.nav-dropdown>.nav-dropdown-trigger {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  color: var(--text-body);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.main-nav>a:hover,
.main-nav>a.active,
.main-nav>.nav-dropdown:hover>.nav-dropdown-trigger {
  background: var(--primary-light);
  color: var(--primary);
}

/* ドロップダウンメニュー */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
}

.nav-dropdown-trigger::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.2s ease;
  margin-top: 1px;
}

.nav-dropdown:hover .nav-dropdown-trigger::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 200px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 150;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  color: var(--text-body);
  font-weight: 500;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 1.5rem;
}

.nav-dropdown-menu a .dropdown-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* モバイルナビ アコーディオン */
.mobile-nav-section-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin: 1rem 0 0.5rem 0;
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mobile-nav-section-title::before {
  content: '';
  width: 3px;
  height: 1em;
  background: var(--primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-tel {
  display: none;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

@media (min-width: 768px) {
  .header-tel {
    display: flex;
  }
}

.btn-reserve {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-reserve:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* モバイルメニュー */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-dark);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.5);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 80%;
  max-width: 360px;
  background: #fff;
  padding: 1.5rem;
  overflow-y: auto;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

.mobile-nav-panel a {
  display: block;
  padding: 0.8rem 0;
  font-size: 1rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
}

/* --- ページヒーロー --- */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.page-hero .section-en {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.page-hero h1 {
  font-size: 1.75rem;
  color: #fff;
  font-weight: 600;
}

@media (min-width: 768px) {
  .page-hero {
    padding: 4rem 0 3rem;
  }

  .page-hero h1 {
    font-size: 2.25rem;
  }
}

/* --- パンくずリスト --- */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb span {
  margin: 0 0.4rem;
}

/* --- セクション --- */
.section {
  padding: 3rem 0;
}

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

.section-title-block {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-en-label {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.section-heading {
  font-size: 1.5rem;
  color: var(--text-dark);
}

@media (min-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .section-heading {
    font-size: 1.75rem;
  }
}

/* --- コンテンツカード --- */
.content-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.content-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.content-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.content-card h3 .icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.content-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-body);
}

.content-card ul {
  margin-top: 0.75rem;
}

.content-card ul li {
  padding: 0.3rem 0 0.3rem 1.2rem;
  position: relative;
  font-size: 0.9rem;
}

.content-card ul li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.5rem;
  top: 0.65rem;
}

/* --- 料金テーブル --- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.price-table th,
.price-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.price-table thead th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
}

.price-table thead th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
}

.price-table thead th:last-child {
  border-radius: 0 var(--radius-sm) 0 0;
}

.price-table tbody tr:hover {
  background: var(--primary-lighter);
}

.price-table .price {
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--primary);
}

/* --- グリッド --- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- ボタン --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

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

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

.btn-accent:hover {
  background: #d44f2f;
  color: #fff;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* --- インフォボックス --- */
.info-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}

.info-box h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.info-box p {
  font-size: 0.85rem;
  line-height: 1.7;
}

.warning-box {
  background: #fff5f5;
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}

.warning-box p {
  font-size: 0.85rem;
  color: #8b3a2a;
}

/* --- フッター --- */
.site-footer {
  background: linear-gradient(135deg, #00243a, #001828);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-info p {
  font-size: 0.8rem;
  line-height: 1.8;
}

.footer-nav h4 {
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
}

.footer-nav a {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- お問い合わせフォーム --- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-group label .required {
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.4rem;
  font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 112, 166, 0.15);
  outline: none;
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.form-error {
  color: var(--accent);
  font-size: 0.78rem;
  margin-top: 0.3rem;
  display: none;
}

.form-group.has-error .form-input,
.form-group.has-error .form-textarea,
.form-group.has-error .form-select {
  border-color: var(--accent);
}

.form-group.has-error .form-error {
  display: block;
}

/* --- CTA（行動喚起）セクション --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.cta-section p {
  opacity: 0.85;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

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

.btn-white:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* --- 診療時間テーブル --- */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.85rem;
}

.schedule-table th,
.schedule-table td {
  padding: 0.6rem 0.5rem;
  border: 1px solid var(--border-color);
}

.schedule-table thead th {
  background: var(--primary);
  color: #fff;
  font-weight: 500;
}

.schedule-table tbody th {
  background: var(--primary-light);
  color: var(--text-dark);
  font-weight: 500;
}

.schedule-table .circle {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.schedule-table .dash {
  color: var(--text-muted);
}

/* --- 送信完了メッセージ --- */
.success-message {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
}

.success-message.show {
  display: block;
}

.success-message .icon-check {
  width: 64px;
  height: 64px;
  background: #e6f9ec;
  color: #2e7d42;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.success-message h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.success-message p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* --- アニメーション --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- リスト系 --- */
.check-list li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  font-size: 0.9rem;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* --- アコーディオン風 --- */
.accordion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--primary-lighter);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-sans);
  transition: background 0.2s;
}

.accordion-header:hover {
  background: var(--primary-light);
}

.accordion-header .arrow {
  transition: transform 0.3s;
  font-size: 0.8rem;
  color: var(--primary);
}

.accordion-item.open .accordion-header .arrow {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.open .accordion-body {
  padding: 1rem 1.25rem;
  max-height: 2000px;
}

/* --- バッジ --- */
.badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary);
}

.badge-accent {
  background: #fff1ee;
  color: var(--accent);
}

.badge-green {
  background: #e6f9ec;
  color: #2e7d42;
}

/* --- プライバシーポリシーリンク --- */
.privacy-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.privacy-note a {
  text-decoration: underline;
}

/* --- ユーティリティ --- */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.fw-bold {
  font-weight: 700;
}

.hidden {
  display: none;
}

/* ===================================
   トップページ専用スタイル定義
   =================================== */

/* --- トップヒーロー --- */
.top-hero {
  background: linear-gradient(135deg, #e6f7ff 0%, #ffffff 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.top-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(230, 244, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.top-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .top-hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.top-hero-content {
  flex: 1;
  max-width: 600px;
}

.top-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-lighter);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.top-hero-title {
  font-size: 2.5rem;
  color: var(--primary-dark);
  font-family: var(--font-serif);
  line-height: 1.3;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .top-hero-title {
    font-size: 3.5rem;
  }
}

.top-hero-subtitle {
  font-family: var(--font-en);
  font-size: 1rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.top-hero-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 2.5rem;
}

.top-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-hero-primary {
  background: var(--primary);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 112, 166, 0.2);
}

.btn-hero-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 112, 166, 0.3);
}

.btn-hero-outline {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-hero-outline:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.top-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hero-tag .dot.green {
  background: #2e7d42;
}

.hero-tag .dot.blue {
  background: var(--primary);
}

.top-hero-image-wrap {
  flex: 1;
  position: relative;
}

.top-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.top-hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.top-hero-card {
  position: absolute;
  bottom: -1rem;
  right: -1.5rem;
  background: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.top-hero-card .icon {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.top-hero-card .text {
  font-size: 0.85rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--text-dark);
}

.top-hero-card .highlight {
  color: var(--primary);
  font-size: 1.1rem;
}

/* --- トップ診療案内カード --- */
.top-services {
  padding: 5rem 0;
  background: #f8fafb;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  color: var(--text-body);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.service-card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-lighter);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.service-card .en {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: block;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.service-tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* --- クリニックの特徴 --- */
.features-section {
  padding: 5rem 0;
  background: #fff;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
}

.feature-num {
  width: 56px;
  height: 56px;
  background: var(--primary-lighter);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-item.accent .feature-num {
  background: #fff1ee;
  color: var(--accent);
}

.feature-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

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

/* --- フローティングアクション --- */
.floating-actions {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 54px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.floating-btn.orange {
  background: var(--accent);
}

.floating-btn.blue {
  background: var(--primary);
}

.floating-btn .icon {
  margin-right: 8px;
  font-size: 1.2rem;
}

.floating-btn .text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.floating-btn .small-text {
  font-size: 0.65rem;
  display: block;
  font-weight: 400;
  margin-bottom: 2px;
}

@media (max-width: 767px) {
  .floating-actions {
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row;
    gap: 0;
  }

  .floating-btn {
    flex: 1;
    border-radius: 0;
    width: auto;
    height: 60px;
  }
}

/* --- お知らせ・コラム用スタイル --- */
.news-ticker {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 0;
}

.news-ticker-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.news-ticker-label {
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.news-ticker-list {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.9rem;
}

.news-ticker-list a {
  color: var(--text-body);
}

.news-ticker-list .date {
  color: var(--text-muted);
  margin-right: 1rem;
  font-family: var(--font-en);
}

.news-ticker-more {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
}

/* お知らせ一覧 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-item {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
  .news-item {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}

.news-item-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .news-item-meta {
    margin-bottom: 0;
    width: 180px;
  }
}

.news-item-date {
  font-family: var(--font-en);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.news-item-category {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 4px;
}

.news-item-title {
  font-weight: 600;
  color: var(--text-dark);
  flex-grow: 1;
}

/* コラム一覧 */
.column-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .column-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .column-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.column-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.column-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.column-card-image {
  aspect-ratio: 16 / 9;
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}

.column-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.column-card-content {
  padding: 1.5rem;
}

.column-card-date {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
}

.column-card-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.column-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}