/* SNAPSHOT: 2026-07-16-R1 / LIVE CSS + TOP FAQ LINK UI */

/* ================================
   こやなぎ内科・IBDクリニック
   mobile-first design system
================================ */

/* ---------- 基本設定 ---------- */

:root {
  --kc-navy: #07305f;
  --kc-navy-deep: #052447;
  --kc-teal: #009a9a;
  --kc-teal-dark: #007f86;
  --kc-teal-soft: #e7f7f5;
  --kc-mint: #f0fbf9;
  --kc-sand: #f7f0e4;
  --kc-sand-border: #e3d4bd;
  --kc-red: #c74747;
  --kc-red-soft: #fff2f1;
  --kc-text: #1f2d3d;
  --kc-muted: #64748b;
  --kc-line: #d9e3ea;
  --kc-bg: #ffffff;
  --kc-radius: 18px;
  --kc-shadow: 0 10px 30px rgba(7, 48, 95, 0.08);
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--kc-text);
  letter-spacing: 0.04em;
  line-height: 1.8;
  background: #ffffff;
}

body,
p,
li {
  font-size: 15px;
}

a {
  text-decoration: none;
}

.siteContent {
  padding-bottom: 76px;
}

/* ---------- 共通コンテナ ---------- */

.kc-section {
  padding: 64px 0;
}

.kc-section-compact {
  padding: 44px 0;
}

.kc-section-soft {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfb 100%);
}

.kc-section-sand {
  background: linear-gradient(180deg, #fbf7ef 0%, #ffffff 100%);
}

.kc-container {
  width: min(100% - 44px, 960px);
  margin-left: auto;
  margin-right: auto;
}

.kc-center {
  text-align: center;
}

.kc-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--kc-teal-soft);
  color: var(--kc-teal-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.kc-section-title {
  margin: 0 0 26px;
  color: var(--kc-navy);
  font-size: clamp(24px, 6.2vw, 34px);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  letter-spacing: 0.08em;
}

.kc-section-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: var(--kc-teal);
}

.kc-lead {
  max-width: 720px;
  margin: 0 auto 34px;
  color: var(--kc-muted);
  font-size: 15px;
  line-height: 1.95;
  text-align: center;
}

/* ---------- ボタン ---------- */

.wp-block-button.kc-btn-primary .wp-block-button__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--kc-teal) 0%, #00b0a5 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(0, 154, 154, 0.22);
}

.wp-block-button.kc-btn-secondary .wp-block-button__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1.5px solid var(--kc-teal);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--kc-teal-dark);
  font-weight: 800;
}

.wp-block-button.kc-btn-white .wp-block-button__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--kc-navy);
  font-weight: 800;
}

/* ---------- ヒーロー ---------- */

.kc-hero {
  position: relative;
  padding: 76px 0 70px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.88) 44%, rgba(255,255,255,0.34) 72%, rgba(255,255,255,0.05) 100%),
    linear-gradient(180deg, #f4fbfb 0%, #ffffff 100%);
}

.kc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(0,154,154,0.12), transparent 34%);
  pointer-events: none;
}

.kc-hero .kc-container {
  position: relative;
  z-index: 1;
}

.kc-hero-title {
  margin: 0 0 20px;
  color: var(--kc-navy);
  font-size: clamp(30px, 8.2vw, 46px);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: 0.08em;
}

.kc-hero-title em {
  color: var(--kc-teal-dark);
  font-style: normal;
}

.kc-hero-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  margin: 20px 0 0;
  border-radius: 999px;
  background: var(--kc-teal);
}

.kc-hero-text {
  max-width: 520px;
  margin: 0 0 28px;
  color: #27394d;
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
}

.kc-hero-buttons {
  display: grid;
  gap: 12px;
  max-width: 360px;
}

/* ---------- 案内帯 ---------- */

.kc-notice-band {
  padding: 18px 0;
  border-top: 1px solid var(--kc-sand-border);
  border-bottom: 1px solid var(--kc-sand-border);
  background: var(--kc-sand);
}

.kc-notice-inner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.kc-notice-icon {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #b9a889;
  border-radius: 50%;
  color: #8b7352;
  font-weight: 800;
}

.kc-notice-title {
  margin: 0 0 4px;
  color: #4b3a20;
  font-size: 17px;
  font-weight: 800;
}

.kc-notice-text {
  margin: 0;
  color: #5f513b;
  font-size: 13px;
  line-height: 1.8;
}

/* ---------- 特徴：囲いすぎない3項目 ---------- */

.kc-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 28px;
}

.kc-feature {
  padding: 4px 14px 8px;
  text-align: center;
}

.kc-feature + .kc-feature {
  border-left: 1px solid var(--kc-line);
}

.kc-feature-icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--kc-teal) 0%, var(--kc-teal-dark) 100%);
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0, 154, 154, 0.18);
}

.kc-feature-title {
  margin: 0 0 8px;
  color: var(--kc-navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.kc-feature-text {
  margin: 0;
  color: var(--kc-muted);
  font-size: 12px;
  line-height: 1.75;
}

/* ---------- 導線パネル ---------- */

.kc-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.kc-link-panel {
  position: relative;
  min-height: 210px;
  padding: 22px;
  overflow: hidden;
  border-radius: 12px;
  background: #f8fbfb;
  box-shadow: 0 10px 24px rgba(7, 48, 95, 0.08);
}

.kc-link-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.72) 100%);
  pointer-events: none;
}

.kc-link-panel h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--kc-teal-dark);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}

.kc-link-panel h3::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 10px;
  background: var(--kc-teal);
}

.kc-link-panel p {
  position: relative;
  z-index: 1;
  max-width: 190px;
  margin: 0;
  color: #31445a;
  font-size: 13px;
  line-height: 1.8;
}

.kc-circle-arrow {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 20px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--kc-teal);
  color: #ffffff;
  font-weight: 800;
}

/* ---------- 流れ ---------- */

.kc-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
  text-align: center;
}

.kc-step {
  position: relative;
  padding: 0 4px;
}

.kc-step-number {
  display: grid;
  width: 30px;
  height: 30px;
  margin: 0 auto 10px;
  place-items: center;
  border: 1px solid var(--kc-teal);
  border-radius: 50%;
  background: #ffffff;
  color: var(--kc-teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.kc-step-icon {
  color: var(--kc-teal-dark);
  font-size: 32px;
  line-height: 1;
}

.kc-step-title {
  margin: 10px 0 6px;
  color: var(--kc-navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.kc-step-text {
  margin: 0;
  color: var(--kc-muted);
  font-size: 11px;
  line-height: 1.7;
}

.kc-note {
  margin: 18px auto 0;
  color: var(--kc-muted);
  font-size: 12px;
  text-align: center;
}

/* ---------- FAQ ---------- */

.kc-faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.kc-faq-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--kc-line);
  background: rgba(255, 255, 255, 0.76);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.kc-faq-row:hover {
  background: #ffffff;
}

.kc-faq-row:focus-visible {
  outline: 3px solid rgba(0, 154, 154, 0.28);
  outline-offset: 3px;
}

.kc-faq-q {
  margin-right: 8px;
  color: var(--kc-teal-dark);
  font-weight: 900;
}

.kc-faq-text {
  margin: 0;
  color: var(--kc-navy);
  font-size: 14px;
  font-weight: 700;
}

.kc-faq-arrow {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--kc-teal-dark);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.kc-faq-row:hover .kc-faq-arrow,
.kc-faq-row:focus-visible .kc-faq-arrow {
  color: var(--kc-teal);
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .kc-faq-row,
  .kc-faq-arrow {
    transition: none;
  }
}

/* ---------- 濃紺CTA ---------- */

.kc-final-cta {
  padding: 42px 22px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 10%, rgba(0,154,154,0.32), transparent 35%),
    linear-gradient(135deg, var(--kc-navy-deep) 0%, var(--kc-navy) 100%);
  color: #ffffff;
  text-align: center;
}

.kc-final-cta h2,
.kc-final-cta h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.6;
}

.kc-final-cta p {
  margin: 0 0 24px;
  color: rgba(255,255,255,0.86);
  font-size: 14px;
}

/* ---------- 下部固定CTA ---------- */

.kc-sticky-cta {
  position: fixed;
  z-index: 999;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--kc-teal-dark), var(--kc-teal));
  box-shadow: 0 -8px 24px rgba(7, 48, 95, 0.18);
}

.kc-sticky-cta span {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.kc-sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--kc-navy);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* ---------- オンライン診療ページ用 ---------- */

.kc-page-hero {
  padding: 70px 0 74px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 48%, rgba(255,255,255,0.45) 76%, rgba(255,255,255,0.12) 100%),
    linear-gradient(180deg, #f5fbfb 0%, #ffffff 100%);
}

.kc-page-title {
  margin: 0 0 18px;
  color: var(--kc-navy);
  font-size: clamp(30px, 8vw, 44px);
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  letter-spacing: 0.1em;
}

.kc-page-title::after {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: var(--kc-teal);
}

.kc-page-lead {
  max-width: 640px;
  margin: 0 auto;
  color: #30455d;
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  text-align: center;
}

.kc-row-list {
  max-width: 720px;
  margin: 30px auto 0;
}

.kc-row-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--kc-line);
}

.kc-row-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: #eef6f6;
  color: var(--kc-teal-dark);
  font-size: 24px;
  font-weight: 800;
}

.kc-row-title {
  margin: 0 0 4px;
  color: var(--kc-navy);
  font-size: 16px;
  font-weight: 900;
}

.kc-row-text {
  margin: 0;
  color: var(--kc-muted);
  font-size: 13px;
  line-height: 1.75;
}

.kc-warning {
  padding: 34px 0;
  background: linear-gradient(90deg, #fff7f6 0%, #fffefe 100%);
}

.kc-warning-box {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.kc-warning-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--kc-red);
  border-radius: 50%;
  color: var(--kc-red);
  font-weight: 900;
}

.kc-warning-title {
  margin: 0 0 8px;
  color: var(--kc-red);
  font-size: 18px;
  font-weight: 900;
}

.kc-warning-text {
  margin: 0;
  color: #613434;
  font-size: 13px;
  line-height: 1.9;
}

.kc-prescription-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 28px;
  text-align: center;
}

.kc-prescription-item {
  padding: 8px 18px;
}

.kc-prescription-item + .kc-prescription-item {
  border-left: 1px solid var(--kc-line);
}

.kc-prescription-title {
  margin: 0 0 8px;
  color: var(--kc-navy);
  font-size: 14px;
  font-weight: 800;
}

.kc-prescription-days {
  margin: 0;
  color: var(--kc-teal-dark);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.4;
}

.kc-check-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.kc-check-item {
  text-align: center;
  color: var(--kc-navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
}

.kc-check-item::before {
  content: "✓";
  display: grid;
  width: 22px;
  height: 22px;
  margin: 0 auto 8px;
  place-items: center;
  border-radius: 50%;
  background: var(--kc-teal);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

/* ---------- スマホ微調整 ---------- */

@media (max-width: 600px) {
  .kc-container {
    width: min(100% - 32px, 960px);
  }

  .kc-section {
    padding: 56px 0;
  }

  .kc-hero {
    padding: 62px 0 56px;
  }

  .kc-hero-title {
    font-size: 30px;
  }

  .kc-hero-text {
    font-size: 14px;
  }

  .kc-features {
    grid-template-columns: repeat(3, 1fr);
  }

  .kc-feature {
    padding: 0 8px;
  }

  .kc-feature-icon {
    width: 58px;
    height: 58px;
    font-size: 20px;
  }

  .kc-feature-title {
    font-size: 13px;
  }

  .kc-feature-text {
    font-size: 10.5px;
  }

  .kc-panel-grid {
    grid-template-columns: 1fr;
  }

  .kc-flow {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .kc-step-icon {
    font-size: 28px;
  }

  .kc-step-title {
    font-size: 12px;
  }

  .kc-step-text {
    font-size: 10px;
  }

  .kc-prescription-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .kc-prescription-item + .kc-prescription-item {
    border-left: none;
    border-top: 1px solid var(--kc-line);
    padding-top: 18px;
  }

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

  .kc-sticky-cta {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .kc-sticky-cta span,
  .kc-sticky-cta a {
    text-align: center;
  }
}
/* ================================
   予約可能版の微調整
================================ */

.kc-reserve-note {
  padding: 20px 0;
  border-top: 1px solid var(--kc-sand-border);
  border-bottom: 1px solid var(--kc-sand-border);
  background: linear-gradient(90deg, #f8f1e6 0%, #fffaf2 100%);
}

.kc-reserve-note-title {
  margin: 0 0 4px;
  color: #4b3a20;
  font-size: 17px;
  font-weight: 900;
}

.kc-reserve-note-text {
  margin: 0;
  color: #5f513b;
  font-size: 13px;
  line-height: 1.8;
}

.kc-sticky-cta span {
  letter-spacing: 0.06em;
}

.kc-sticky-cta a {
  box-shadow: 0 6px 16px rgba(5, 36, 71, 0.18);
}
/* ================================
   ヒーロー：2個目のサブボタンを白背景に固定
================================ */

.kc-hero-buttons .kc-btn-secondary .wp-block-button__link,
.wp-block-button.kc-btn-secondary .wp-block-button__link,
.kc-btn-secondary .wp-block-button__link,
.wp-block-button__link.kc-btn-secondary {
  background: rgba(255, 255, 255, 0.94) !important;
  background-color: rgba(255, 255, 255, 0.94) !important;
  color: var(--kc-teal-dark) !important;
  border: 1.5px solid var(--kc-teal) !important;
  box-shadow: none !important;
}

/* ホバー時も青背景に戻らないようにする */
.kc-hero-buttons .kc-btn-secondary .wp-block-button__link:hover,
.wp-block-button.kc-btn-secondary .wp-block-button__link:hover,
.kc-btn-secondary .wp-block-button__link:hover,
.wp-block-button__link.kc-btn-secondary:hover {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: var(--kc-teal-dark) !important;
  border-color: var(--kc-teal) !important;
}
/* ================================
   ヒーローボタン幅の統一
================================ */

.kc-hero-buttons {
  width: min(100%, 320px);
}

.kc-hero-buttons .wp-block-button {
  width: 100%;
}

.kc-hero-buttons .wp-block-button__link {
  width: 100%;
  box-sizing: border-box;
}
/* ================================
   ヒーローボタンを左揃えに固定
================================ */

.kc-hero-buttons {
  width: min(100%, 320px) !important;
  max-width: 320px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  justify-content: flex-start !important;
  justify-items: stretch !important;
  align-items: stretch !important;
}

.kc-hero-buttons.is-content-justification-center,
.kc-hero-buttons.is-content-justification-right {
  justify-content: flex-start !important;
}

.kc-hero-buttons .wp-block-button {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.kc-hero-buttons .wp-block-button__link {
  width: 100% !important;
  box-sizing: border-box !important;
}
/* ================================
   ヒーロー背景画像
================================ */

.kc-hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.98) 0%,
      rgba(255,255,255,0.93) 42%,
      rgba(255,255,255,0.68) 62%,
      rgba(255,255,255,0.20) 100%
    ),
    url("https://koyanagi-ibd-clinic.com/wp-content/uploads/2026/07/koyanagi-hero-online-care.jpg") !important;
  background-size: cover, cover !important;
  background-position: center, center right !important;
  background-repeat: no-repeat, no-repeat !important;
}

/* 既存の淡い丸グラデーションは画像挿入後は弱める */
.kc-hero::before {
  display: none !important;
}
/* ================================
   スマホではヒーロー画像を淡くして文字優先
================================ */

@media (max-width: 600px) {
  .kc-hero {
    background-image:
      linear-gradient(
        180deg,
        rgba(255,255,255,0.96) 0%,
        rgba(255,255,255,0.94) 52%,
        rgba(255,255,255,0.86) 100%
      ),
      url("ここに同じ画像URLを入れる") !important;
    background-size: cover, cover !important;
    background-position: center, center right 28% !important;
  }
}
/* ================================
   診療予約について：ヒーロー直下案内帯
================================ */

.kc-reserve-note {
  padding: 18px 0;
  border-top: 1px solid var(--kc-sand-border);
  border-bottom: 1px solid var(--kc-sand-border);
  background: linear-gradient(90deg, #f8f1e6 0%, #fffaf2 100%);
}

.kc-reserve-note-inner {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
}

.kc-reserve-note-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #b9a889;
  border-radius: 999px;
  color: #8b7352;
  font-weight: 900;
  font-size: 15px;
}

.kc-reserve-note-title {
  margin: 0 0 3px;
  color: #4b3a20;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
}

.kc-reserve-note-text {
  margin: 0;
  color: #5f513b;
  font-size: 13px;
  line-height: 1.75;
}

.kc-reserve-note-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--kc-navy);
  border: 1px solid rgba(139, 115, 82, 0.28);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(75, 58, 32, 0.08);
}

@media (max-width: 600px) {
  .kc-reserve-note-inner {
    grid-template-columns: 34px 1fr;
  }

  .kc-reserve-note-link {
    grid-column: 2 / 3;
    justify-self: start;
    margin-top: 8px;
  }

  .kc-reserve-note-icon {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
}
/* ================================
   受診までの流れ
================================ */

.kc-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
  text-align: center;
}

.kc-step {
  position: relative;
  padding: 4px 8px;
}

.kc-step-number {
  display: grid;
  width: 30px;
  height: 30px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 50%;
  background: var(--kc-teal);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.kc-step-icon {
  color: var(--kc-teal-dark);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
}

.kc-step-title {
  margin: 0 0 8px;
  color: var(--kc-navy);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.5;
}

.kc-step-text {
  margin: 0;
  color: var(--kc-muted);
  font-size: 11px;
  line-height: 1.75;
}

.kc-note {
  margin: 22px auto 0;
  color: var(--kc-muted);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

@media (max-width: 600px) {
  .kc-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 14px;
  }

  .kc-step-title {
    font-size: 13px;
  }

  .kc-step-text {
    font-size: 11px;
  }
}
/* ================================
   Lightning側の見出し装飾を打ち消す
   kc-section-title 用
================================ */

.entry-content .kc-section-title,
.siteContent .kc-section-title,
.kc-section-title {
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  background: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  box-shadow: none !important;
}

.entry-content .kc-section-title::before,
.siteContent .kc-section-title::before,
.kc-section-title::before {
  content: none !important;
  display: none !important;
}

/* 自前の短い青緑ラインだけ残す */
.entry-content .kc-section-title::after,
.siteContent .kc-section-title::after,
.kc-section-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: var(--kc-teal);
}
/* ================================
   濃紺CTA内のテーマ見出し線を消す
================================ */

.kc-final-cta h2,
.kc-final-cta h3 {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.kc-final-cta h2::before,
.kc-final-cta h2::after,
.kc-final-cta h3::before,
.kc-final-cta h3::after {
  content: none !important;
  display: none !important;
}
/* ================================
   Lightning側の小見出し装飾を打ち消す
   kc-feature / kc-step / kc-panel 用
================================ */

.kc-feature-title,
.kc-step-title,
.kc-link-panel h3,
.kc-row-title,
.kc-prescription-title {
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.kc-feature-title::before,
.kc-feature-title::after,
.kc-step-title::before,
.kc-step-title::after,
.kc-link-panel h3::before,
.kc-link-panel h3::after,
.kc-row-title::before,
.kc-row-title::after,
.kc-prescription-title::before,
.kc-prescription-title::after {
  content: none !important;
  display: none !important;
}
/* 診療内容カード内の短いアクセントラインだけ復活 */
.kc-link-panel h3::after {
  content: "" !important;
  display: block !important;
  width: 34px !important;
  height: 3px !important;
  margin-top: 10px !important;
  border-radius: 999px !important;
  background: var(--kc-teal) !important;
}
/* ================================
   診療内容カード：見出し下ラインの余白調整
================================ */

.kc-link-panel h3 {
  margin-bottom: 22px !important;
}

.kc-link-panel h3::after {
  width: 34px !important;
  height: 3px !important;
  margin-top: 16px !important;
  border-radius: 999px !important;
  background: var(--kc-teal) !important;
}
/* ================================
   診療内容カード：リンク文字の下線を消して
   短いアクセントラインだけ表示
================================ */

/* カード全体と中の文字に付くリンク下線を消す */
.kc-link-panel,
.kc-link-panel:hover,
.kc-link-panel:focus,
.kc-link-panel h3,
.kc-link-panel h3:hover {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* テーマやブラウザ由来の下線を強制的に消す */
.kc-link-panel h3 a,
.kc-link-panel h3 a:hover,
.kc-link-panel h3 a:focus {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* 見出し本体 */
.kc-link-panel h3 {
  display: block !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  color: var(--kc-teal-dark) !important;
  line-height: 1.5 !important;
}

/* 自前の短い青緑ラインを、文字から離して表示 */
.kc-link-panel h3::after {
  content: "" !important;
  display: block !important;
  width: 34px !important;
  height: 3px !important;
  margin-top: 22px !important;
  border-radius: 999px !important;
  background: var(--kc-teal) !important;
}
/* ================================
   診療内容カード：タイトルとラインを独自制御
================================ */

.kc-link-panel .kc-panel-title {
  margin: 0;
  padding: 0;
  color: var(--kc-teal-dark);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
  text-decoration: none !important;
  border: none !important;
  box-shadow: none !important;
}

.kc-link-panel .kc-panel-title-line {
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 16px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--kc-teal);
}

/* 旧h3装飾が残っていても表示しない */
.kc-link-panel h3,
.kc-link-panel h3::before,
.kc-link-panel h3::after {
  display: none !important;
}
/* ================================
   スマホ表示：文字サイズ・改行調整
================================ */

@media (max-width: 600px) {

  .kc-hero {
    padding-top: 56px !important;
    padding-bottom: 58px !important;
  }

  .kc-hero-title {
    font-size: 30px !important;
    line-height: 1.48 !important;
    letter-spacing: 0.035em !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  .kc-hero-text {
    font-size: 15px !important;
    line-height: 2 !important;
    letter-spacing: 0.02em !important;
  }

  .kc-section {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }

  .kc-section-compact {
    padding-top: 44px !important;
    padding-bottom: 52px !important;
  }

  .kc-section-title {
    font-size: 27px !important;
    line-height: 1.45 !important;
    letter-spacing: 0.045em !important;
    word-break: keep-all !important;
  }

  .kc-lead {
    max-width: 92% !important;
    font-size: 15px !important;
    line-height: 2 !important;
    letter-spacing: 0.02em !important;
  }

  .kc-panel-title {
    font-size: 23px !important;
    line-height: 1.55 !important;
    letter-spacing: 0.03em !important;
    word-break: keep-all !important;
  }

  .kc-link-panel p {
    font-size: 15px !important;
    line-height: 2 !important;
  }

  .kc-faq-text {
    font-size: 16px !important;
    line-height: 1.75 !important;
    letter-spacing: 0.02em !important;
  }

  .kc-final-cta h2 {
    font-size: 25px !important;
    line-height: 1.55 !important;
  }

  .kc-final-cta p {
    font-size: 16px !important;
    line-height: 2 !important;
  }
}
/* ================================
   セクション小ラベル
================================ */

.kc-section-label {
  margin: 0 0 10px;
  color: var(--kc-teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-align: center;
  line-height: 1;
}

@media (max-width: 600px) {
  .kc-section-label {
    margin-bottom: 12px;
    font-size: 11px;
  }
}
/* ================================
   FAQ下リンク
================================ */

.kc-text-link-wrap {
  max-width: 760px !important;
  margin: 24px auto 0 !important;
  text-align: center !important;
}

.kc-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--kc-teal-dark) !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
}

@media (max-width: 600px) {
  .kc-text-link-wrap {
    margin-top: 22px !important;
  }

  .kc-text-link {
    font-size: 15px !important;
  }
}
/* ================================
   スマホ：受診フローのSTEP感を強める
================================ */

@media (max-width: 600px) {
  .kc-flow {
    gap: 30px 16px !important;
  }

  .kc-step-number {
    width: 34px !important;
    height: 34px !important;
    margin-bottom: 12px !important;
    font-size: 14px !important;
  }

  .kc-step-icon {
    font-size: 32px !important;
    margin-bottom: 12px !important;
  }

  .kc-step-title {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .kc-step-text {
    font-size: 12px !important;
    line-height: 1.85 !important;
  }
}
/* ================================
   スマホ：ヒーロー見出しの見切れ防止
================================ */

@media (max-width: 600px) {
  .kc-hero-title {
    font-size: 29px !important;
    line-height: 1.48 !important;
    letter-spacing: 0.01em !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    max-width: 100% !important;
  }

  .kc-hero-title::after {
    margin-top: 18px !important;
  }
}
/* ================================
   スマホ：当院の特徴 縦型レイアウト修正版
================================ */

@media (max-width: 600px) {
  .kc-features {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin-top: 34px !important;
  }

  .kc-feature {
    display: grid !important;
    grid-template-columns: 76px 1fr !important;
    column-gap: 18px !important;
    row-gap: 6px !important;
    align-items: start !important;
    padding: 22px 0 !important;
    text-align: left !important;
    border-left: none !important;
    border-bottom: 1px solid var(--kc-line) !important;
  }

  .kc-feature:last-child {
    border-bottom: none !important;
  }

  .kc-feature + .kc-feature {
    border-left: none !important;
  }

  .kc-feature-icon {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 3 !important;
    width: 64px !important;
    height: 64px !important;
    margin: 0 !important;
    font-size: 22px !important;
    align-self: start !important;
  }

  .kc-feature-title {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
    line-height: 1.45 !important;
    text-align: left !important;
    word-break: keep-all !important;
  }

  .kc-feature-text {
    grid-column: 2 / 3 !important;
    grid-row: 2 / 3 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
    text-align: left !important;
    word-break: normal !important;
  }
}
/* ================================
   診療内容カード：背景画像入り 最終版
================================ */

/* 以前の疑似要素オーバーレイを無効化 */
.kc-guide-card-online::before,
.kc-guide-card-ibd::before {
  content: none !important;
  display: none !important;
}

/* カードグリッド */
.kc-panel-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
  max-width: 1040px !important;
  margin: 34px auto 0 !important;
}

/* カード本体 */
.kc-link-panel {
  position: relative !important;
  display: block !important;
  min-height: 250px !important;
  padding: 30px 30px 78px !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  text-decoration: none !important;
  color: inherit !important;
background-image:
  linear-gradient(
    90deg,
    rgba(255,255,255,0.96) 0%,
    rgba(255,255,255,0.90) 38%,
    rgba(255,255,255,0.48) 58%,
    rgba(255,255,255,0.22) 76%,
    rgba(255,255,255,0.10) 100%
  ),
  var(--card-bg) !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
  box-shadow: 0 14px 34px rgba(7, 48, 95, 0.08) !important;
}

/* カード内タイトル */
.kc-link-panel .kc-panel-title {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--kc-teal-dark) !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.03em !important;
  text-decoration: none !important;
  border: none !important;
}

/* タイトル下ライン */
.kc-link-panel .kc-panel-title-line {
  display: block !important;
  width: 34px !important;
  height: 3px !important;
  margin-top: 14px !important;
  margin-bottom: 22px !important;
  border-radius: 999px !important;
  background: var(--kc-teal) !important;
}

/* カード本文 */
.kc-link-panel p {
  max-width: 58% !important;
  margin: 0 !important;
  color: #24364b !important;
  font-size: 13px !important;
  line-height: 1.9 !important;
  letter-spacing: 0.02em !important;
}

/* 丸矢印 */
.kc-circle-arrow {
  position: absolute !important;
  left: 30px !important;
  bottom: 28px !important;
  display: grid !important;
  width: 38px !important;
  height: 38px !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: var(--kc-teal) !important;
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  z-index: 2 !important;
}

/* スマホ */
@media (max-width: 600px) {
  .kc-panel-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-top: 34px !important;
  }

  .kc-link-panel {
    min-height: 320px !important;
    padding: 34px 28px 88px !important;
    border-radius: 20px !important;
background-image:
      linear-gradient(
        180deg,
        rgba(255,255,255,0.90) 0%,
        rgba(255,255,255,0.76) 34%,
        rgba(255,255,255,0.44) 64%,
        rgba(255,255,255,0.14) 100%
      ),
      var(--card-bg) !important;
    background-size: cover !important;
    background-position: center right !important;
  }

  .kc-link-panel .kc-panel-title {
    font-size: 24px !important;
    line-height: 1.45 !important;
    letter-spacing: 0.02em !important;
    word-break: keep-all !important;
  }

  .kc-link-panel .kc-panel-title-line {
    margin-top: 18px !important;
    margin-bottom: 26px !important;
  }

  .kc-link-panel p {
    max-width: 76% !important;
    font-size: 15px !important;
    line-height: 1.95 !important;
  }

  .kc-circle-arrow {
    left: 28px !important;
    bottom: 28px !important;
    width: 42px !important;
    height: 42px !important;
    font-size: 24px !important;
  }
}
/* ================================
   当院の特徴：画像アイコン化
================================ */

.kc-feature-icon-img {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: 96px !important;
  height: 96px !important;
  margin: 0 auto 18px !important;
}

.kc-feature-icon-img img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 50%;
}

/* スマホ表示 */
@media (max-width: 600px) {
  .kc-feature-icon-img {
    width: 76px !important;
    height: 76px !important;
    margin: 0 !important;
  }

  .kc-feature-icon-img img {
    width: 76px;
    height: 76px;
  }
}
/* ================================
   受診までの流れ：画像アイコン版
================================ */

.kc-flow-section .kc-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  max-width: 1040px;
  margin: 44px auto 0;
}

.kc-flow-section .kc-step {
  min-width: 0;
  padding: 0 8px;
  text-align: center;
}

/* STEP番号 */
.kc-flow-section .kc-step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #0EA5A8;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

/* 画像アイコンを入れる領域 */
.kc-flow-section .kc-step-icon-img {
  display: block !important;
  width: 88px !important;
  height: 88px !important;
  margin: 0 auto 18px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

/* アイコン画像 */
.kc-flow-section .kc-step-icon-img img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  border-radius: 50%;
}

/* 各STEPの見出し */
.kc-flow-section .kc-step-title {
  margin: 0 0 10px;
  color: var(--kc-navy, #07305f);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.55;
}

/* 各STEPの説明 */
.kc-flow-section .kc-step-text {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.85;
}

/* 注記 */
.kc-flow-section .kc-note {
  max-width: 1040px;
  margin: 34px auto 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

/* ================================
   スマホ表示
================================ */

@media (max-width: 600px) {

  .kc-flow-section .kc-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 18px;
    margin-top: 38px;
  }

  .kc-flow-section .kc-step {
    padding: 0 3px;
  }

  .kc-flow-section .kc-step-number {
    width: 32px;
    height: 32px;
    margin-bottom: 13px;
    font-size: 13px;
  }

  .kc-flow-section .kc-step-icon-img {
    width: 76px !important;
    height: 76px !important;
    margin-bottom: 15px !important;
  }

  .kc-flow-section .kc-step-title {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.5;
  }

  .kc-flow-section .kc-step-text {
    font-size: 13px;
    line-height: 1.8;
  }

  .kc-flow-section .kc-note {
    margin-top: 32px;
    padding: 0 4px;
    font-size: 12px;
    line-height: 1.8;
    text-align: left;
  }
}
/* =========================================================
   こやなぎ内科・IBDクリニック：下層ページ共通CSS
   対象：/online/ /ibd/ /faq/
   旧版の下層ページCSSがある場合は置換し、初回のみ追加CSS末尾へ貼り付けてください。
   REVISION: 2026-07-14-R2
   FIX: HERO-CTA / FEES / LIGHTNING-HEADINGS / FULL-BLEED
   ========================================================= */

/* ---------- Lightning標準ページタイトル：全ページ共通 ---------- */
.page-header {
  position: relative !important;
  min-height: 112px !important;
  overflow: hidden !important;
  border-bottom: 1px solid rgba(0, 154, 154, 0.12) !important;
  background:
    radial-gradient(circle at 88% 0%, rgba(0, 154, 154, 0.08), transparent 34%),
    linear-gradient(135deg, #f3fbfa 0%, #ffffff 72%) !important;
}

.page-header .page-header-inner {
  display: flex !important;
  min-height: 112px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-items: center !important;
  justify-content: center !important;
}

.page-header .page-header-title {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--kc-navy, #07305f) !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  text-align: center !important;
  letter-spacing: 0.08em !important;
  text-shadow: none !important;
}

.page-header .page-header-title::before {
  content: none !important;
  display: none !important;
}

.page-header .page-header-title::after {
  content: "" !important;
  display: block !important;
  width: 38px !important;
  height: 3px !important;
  margin: 13px auto 0 !important;
  border-radius: 999px !important;
  background: var(--kc-teal, #009a9a) !important;
}

/* ---------- Lightning本文領域との整合 ---------- */
body.post-name-online,
body.post-name-ibd,
body.post-name-faq {
  overflow-x: hidden;
}

body.post-name-online .site-body,
body.post-name-ibd .site-body,
body.post-name-faq .site-body {
  padding-top: 0 !important;
}

.kc-subpage {
  overflow: visible;
}

/* WordPressの固定幅コンテナから背景セクションだけを画面幅へ広げる */
.kc-subpage > section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* プレビューと同じ本文幅。トップページ側の共通コンテナには影響させない */
.kc-subpage .kc-container {
  width: min(calc(100% - 44px), 1040px);
}

/* Lightning Origin IIIのH2・H3装飾を下層ページ内だけ解除する */
.kc-subpage h2,
.kc-subpage h3 {
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.kc-subpage h2::before,
.kc-subpage h3::before,
.kc-subpage h3::after {
  content: none !important;
  display: none !important;
}

/* ---------- 下層ページ：導入 ---------- */

.kc-subhero {
  position: relative;
  padding: 84px 0 58px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5fbfb 0%, #ffffff 66%);
}

.kc-subhero::after {
  content: "";
  position: absolute;
  top: -210px;
  right: -170px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(0, 154, 154, 0.20);
  border-radius: 50%;
  box-shadow:
    0 0 0 72px rgba(0, 154, 154, 0.035),
    0 0 0 144px rgba(0, 154, 154, 0.025);
}

.kc-subhero .kc-container {
  position: relative;
  z-index: 1;
}

.kc-subhero-title {
  max-width: 850px;
  margin: 0 auto 28px;
  color: var(--kc-navy);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.075em;
}

.kc-subhero-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  margin: 22px auto 0;
  border-radius: 999px;
  background: var(--kc-teal);
}

.kc-subhero-lead {
  max-width: 760px;
  margin: 0 auto;
  color: #33475d;
  font-size: 16px;
  line-height: 2.15;
  text-align: center;
}

/* ---------- ヒーロー内：予約導線 ---------- */
.kc-subhero-action {
  margin-top: 32px;
  text-align: center;
}

.kc-subhero-action-note {
  margin: 11px 0 0;
  color: var(--kc-muted);
  font-size: 12px;
  line-height: 1.7;
}

/* ---------- 診療概要帯 ---------- */
.kc-facts {
  border-top: 1px solid var(--kc-sand-border);
  border-bottom: 1px solid var(--kc-sand-border);
  background: var(--kc-sand);
}

.kc-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.kc-facts-item {
  display: grid;
  min-height: 98px;
  padding: 21px 24px;
  align-content: center;
  text-align: center;
}

.kc-facts-item + .kc-facts-item {
  border-left: 1px solid var(--kc-sand-border);
}

.kc-facts-item small {
  color: #826f51;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.kc-facts-item strong {
  color: var(--kc-navy);
  font-size: 15px;
}

/* ---------- 3項目 ---------- */
.kc-sub-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.kc-sub-feature {
  padding: 8px 34px 10px;
  text-align: center;
}

.kc-sub-feature + .kc-sub-feature {
  border-left: 1px solid var(--kc-line);
}

.kc-sub-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--kc-teal);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.kc-sub-feature h3,
.kc-consult-card h3 {
  margin: 0 0 10px;
  color: var(--kc-navy);
  font-size: 18px;
  font-weight: 800;
}

.kc-sub-feature p,
.kc-consult-card p {
  margin: 0;
  color: var(--kc-muted);
  font-size: 13px;
  line-height: 1.9;
}

/* ---------- 適応・注意リスト ---------- */
.kc-split-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.kc-list-panel {
  padding: 30px 34px;
  border: 1px solid var(--kc-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--kc-shadow);
}

.kc-list-panel h3 {
  margin: 0 0 18px;
  color: var(--kc-navy);
  font-size: 17px;
  font-weight: 800;
}

.kc-list-mark {
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-right: 9px;
  place-items: center;
  border-radius: 50%;
  background: #eef4f5;
  color: var(--kc-navy);
}

.kc-list-panel-ok .kc-list-mark {
  background: var(--kc-teal);
  color: #ffffff;
}

.kc-list-panel ul,
.kc-role-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kc-list-panel li,
.kc-role-card li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-top: 1px solid #edf1f3;
  color: #3e5063;
  font-size: 14px;
}

.kc-list-panel li::before,
.kc-role-card li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kc-teal);
}

/* ---------- 緊急時注意 ---------- */
.kc-alert-section {
  padding: 38px 0;
  background: linear-gradient(90deg, var(--kc-red-soft) 0%, #ffffff 100%);
}

.kc-alert-box {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
  align-items: start;
}

.kc-alert-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1.5px solid var(--kc-red);
  border-radius: 50%;
  color: var(--kc-red);
  font-size: 19px;
  font-weight: 900;
}

.kc-alert-box h2 {
  margin: 0 0 10px;
  color: var(--kc-red);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.55;
}

.kc-alert-box p {
  margin: 0;
  color: #63383c;
  font-size: 13px;
  line-height: 2;
}

.kc-alert-neutral {
  padding: 30px;
  border: 1px solid var(--kc-line);
  border-radius: 18px;
  background: var(--kc-mint);
}

.kc-alert-neutral .kc-alert-mark {
  border-color: var(--kc-teal-dark);
  color: var(--kc-teal-dark);
}

.kc-alert-neutral h2 { color: var(--kc-navy); }
.kc-alert-neutral p { color: var(--kc-muted); }

/* ---------- 4ステップ ---------- */
.kc-sub-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kc-sub-step {
  position: relative;
  padding: 0 12px;
  text-align: center;
}

.kc-sub-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -17px;
  width: 34px;
  border-top: 1px dashed #9ccacc;
}

.kc-sub-step h3 {
  margin: 0 0 8px;
  color: var(--kc-navy);
  font-size: 17px;
  font-weight: 800;
}

.kc-sub-step p {
  margin: 0;
  color: var(--kc-muted);
  font-size: 12px;
  line-height: 1.85;
}

.kc-center-action {
  margin-top: 40px;
  text-align: center;
}

.kc-sub-button {
  display: inline-flex;
  min-width: 280px;
  min-height: 54px;
  padding: 0 26px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--kc-teal-dark), var(--kc-teal));
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 12px 26px rgba(0, 154, 154, 0.22);
}

/* ---------- 準備物 ---------- */
.kc-prep-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kc-prep-item {
  min-height: 170px;
  padding: 24px 18px;
  border: 1px solid var(--kc-sand-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.kc-prep-item span {
  display: block;
  margin-bottom: 11px;
  color: var(--kc-teal-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.kc-prep-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--kc-navy);
  font-size: 16px;
}

.kc-prep-item small {
  display: block;
  color: var(--kc-muted);
  font-size: 12px;
  line-height: 1.75;
}

.kc-note-box {
  max-width: 820px;
  margin: 28px auto 0;
  padding: 16px 20px;
  border-left: 3px solid var(--kc-teal);
  background: rgba(255, 255, 255, 0.82);
  color: var(--kc-muted);
  font-size: 12px;
  line-height: 1.85;
}

/* ---------- 処方日数 ---------- */
.kc-term-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.kc-term-card {
  padding: 28px;
  border-top: 4px solid var(--kc-teal);
  border-radius: 8px 8px 16px 16px;
  background: #ffffff;
  box-shadow: var(--kc-shadow);
}

.kc-term-card small {
  display: block;
  min-height: 48px;
  color: var(--kc-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}

.kc-term-card strong {
  display: block;
  margin: 8px 0 14px;
  color: var(--kc-teal-dark);
  font-size: 23px;
  font-weight: 900;
}

.kc-term-card p {
  margin: 0;
  color: var(--kc-muted);
  font-size: 12px;
  line-height: 1.8;
}

/* ---------- 2カラム方針 ---------- */
.kc-wide-note,
.kc-policy-row {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) 1.4fr;
  gap: 64px;
  align-items: start;
}

.kc-wide-note .kc-section-label,
.kc-policy-row .kc-section-label { text-align: left; }

.kc-wide-note h2,
.kc-policy-row h2 {
  margin: 0;
  color: var(--kc-navy);
  font-size: 28px;
  line-height: 1.5;
}

.kc-wide-note > p,
.kc-policy-text {
  margin: 0;
  color: var(--kc-muted);
  line-height: 2.1;
}

.kc-policy-text p:last-child { margin-bottom: 0; }

/* ---------- 受診費用 ---------- */
.kc-fee-section {
  padding: 50px 0;
  background: var(--kc-sand);
}

.kc-fee-card {
  display: grid;
  grid-template-columns: minmax(270px, 0.85fr) 1.4fr;
  gap: 44px;
  padding: 36px 40px;
  align-items: center;
  border: 1px solid var(--kc-sand-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(7, 48, 95, 0.05);
}

.kc-fee-intro .kc-section-label {
  margin-bottom: 10px;
  text-align: left;
}

.kc-fee-intro h2 {
  margin: 0 0 8px;
  color: var(--kc-navy);
  font-size: 24px;
  font-weight: 900;
}

.kc-fee-intro p {
  margin: 0;
  color: var(--kc-muted);
  font-size: 12px;
  line-height: 1.9;
}

.kc-fee-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}

.kc-fee-list > div {
  padding: 8px 20px;
  text-align: center;
}

.kc-fee-list > div + div {
  border-left: 1px solid var(--kc-sand-border);
}

.kc-fee-list dt {
  color: #74654e;
  font-size: 11px;
  font-weight: 800;
}

.kc-fee-list dd {
  margin: 3px 0 0;
  color: var(--kc-navy);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.kc-fee-list dd strong {
  margin-right: 2px;
  color: var(--kc-teal-dark);
  font-size: 25px;
  font-weight: 900;
}

.kc-fee-list dd span {
  margin-left: 2px;
  color: var(--kc-muted);
  font-size: 10px;
  font-weight: 700;
}

/* ---------- IBDページ ---------- */
.kc-disease-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.kc-disease-card {
  padding: 34px;
  border: 1px solid var(--kc-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--kc-shadow);
}

.kc-disease-card span,
.kc-role-card > span {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--kc-teal-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.kc-disease-card h3 {
  margin: 0 0 10px;
  color: var(--kc-navy);
  font-size: 22px;
}

.kc-disease-card p {
  margin: 0;
  color: var(--kc-muted);
  font-size: 13px;
  line-height: 1.9;
}

.kc-caption {
  margin: 23px auto 0;
  color: var(--kc-muted);
  font-size: 11px;
  text-align: center;
}

.kc-consult-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kc-consult-card {
  padding: 28px 20px;
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
  box-shadow: var(--kc-shadow);
}

.kc-record-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.kc-record-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 21px 0;
  border-bottom: 1px solid var(--kc-line);
}

.kc-record-item > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--kc-teal-soft);
  color: var(--kc-teal-dark);
  font-size: 12px;
  font-weight: 900;
}

.kc-record-item strong {
  color: var(--kc-navy);
  font-size: 17px;
}

.kc-record-item p {
  margin: 3px 0 0;
  color: var(--kc-muted);
  font-size: 13px;
}

.kc-role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.kc-role-card {
  padding: 32px 36px;
  border: 1px solid var(--kc-sand-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.kc-role-card h3 {
  margin: 0 0 18px;
  color: var(--kc-navy);
  font-size: 20px;
}

/* ---------- FAQ ---------- */
.kc-faq-groups {
  max-width: 860px;
  margin: 0 auto;
}

.kc-faq-group + .kc-faq-group { margin-top: 76px; }

.kc-faq-group > h2 {
  margin: 0 0 25px;
  color: var(--kc-navy);
  font-size: 27px;
  text-align: center;
}

.kc-accordion { border-top: 1px solid var(--kc-line); }

.kc-accordion details {
  border-bottom: 1px solid var(--kc-line);
  background: rgba(255, 255, 255, 0.78);
}

.kc-accordion summary {
  display: grid;
  grid-template-columns: 35px 1fr 30px;
  gap: 9px;
  align-items: center;
  padding: 21px 20px;
  color: var(--kc-navy);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.kc-accordion summary::-webkit-details-marker { display: none; }

.kc-accordion summary span,
.kc-answer > span {
  color: var(--kc-teal-dark);
  font-weight: 900;
}

.kc-accordion summary b {
  color: var(--kc-teal-dark);
  font-size: 20px;
  text-align: center;
  transition: transform 0.2s ease;
}

.kc-accordion details[open] summary b { transform: rotate(45deg); }

.kc-answer {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 9px;
  padding: 0 50px 22px 20px;
}

.kc-answer p {
  margin: 0;
  color: var(--kc-muted);
  font-size: 13px;
  line-height: 2;
}

/* ---------- 関連ページ ---------- */
.kc-section-title-small { font-size: 27px !important; }

.kc-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 800px;
  margin: 0 auto;
}

.kc-related-card {
  display: flex;
  min-height: 98px;
  padding: 22px 24px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--kc-line);
  border-radius: 14px;
  background: #ffffff;
  color: inherit !important;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(7, 48, 95, 0.05);
}

.kc-related-text {
  display: grid;
  gap: 4px;
}

.kc-related-text strong {
  color: var(--kc-navy);
  font-size: 16px;
}

.kc-related-text small {
  color: var(--kc-muted);
  font-size: 11px;
}

.kc-related-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--kc-teal);
  color: #ffffff;
  font-size: 21px;
}

/* 既存CTA内でも英字ラベルと通常リンクボタンを揃える */
.kc-final-cta .kc-section-label {
  margin-bottom: 14px;
  color: #7de0dd;
  font-size: 11px;
  letter-spacing: 0.22em;
}

.kc-final-cta .kc-sub-button {
  min-width: 280px;
  background: #ffffff;
  color: var(--kc-navy) !important;
  box-shadow: none;
}

/* ---------- スマホ ---------- */
@media (max-width: 600px) {
  .page-header,
  .page-header .page-header-inner {
    min-height: 86px !important;
  }

  .page-header .page-header-title {
    font-size: 24px !important;
    letter-spacing: 0.055em !important;
  }

  .page-header .page-header-title::after {
    width: 34px !important;
    margin-top: 10px !important;
  }

  .kc-subhero {
    padding-top: 60px;
    padding-bottom: 48px;
  }

  .kc-subhero-title {
    font-size: 30px;
    line-height: 1.55;
    letter-spacing: 0.025em;
  }

  .kc-subhero-title br { display: none; }

  .kc-subhero-lead {
    font-size: 14px;
    line-height: 2;
    text-align: left;
  }

  .kc-subhero-action {
    margin-top: 26px;
  }

  .kc-subhero-action-note {
    margin-top: 9px;
    font-size: 11px;
  }

  .kc-subhero::after { right: -300px; }

  .kc-facts-grid {
    grid-template-columns: 1fr;
    padding: 8px 0;
  }

  .kc-facts-item {
    grid-template-columns: 90px 1fr;
    min-height: auto;
    padding: 13px 0;
    align-items: center;
    text-align: left;
  }

  .kc-facts-item + .kc-facts-item {
    border-top: 1px solid var(--kc-sand-border);
    border-left: 0;
  }

  .kc-sub-feature-grid,
  .kc-consult-grid {
    grid-template-columns: 1fr;
  }

  .kc-sub-feature,
  .kc-consult-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 16px;
    padding: 22px 0;
    text-align: left;
  }

  .kc-sub-feature + .kc-sub-feature {
    border-top: 1px solid var(--kc-line);
    border-left: 0;
  }

  .kc-sub-feature .kc-sub-number,
  .kc-consult-card .kc-sub-number {
    grid-row: 1 / 3;
    margin: 0;
  }

  .kc-sub-feature h3,
  .kc-consult-card h3 {
    margin-bottom: 6px;
  }

  .kc-split-list,
  .kc-disease-grid,
  .kc-role-grid,
  .kc-related-grid {
    grid-template-columns: 1fr;
  }

  .kc-list-panel { padding: 25px 22px; }

  .kc-alert-box {
    grid-template-columns: 42px 1fr;
    gap: 13px;
  }

  .kc-alert-mark {
    width: 38px;
    height: 38px;
  }

  .kc-alert-box h2 { font-size: 18px; }

  .kc-sub-step-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 38px 16px;
  }

  .kc-sub-step { padding: 0 5px; }
  .kc-sub-step::after { display: none; }

  .kc-sub-button {
    width: 100%;
    min-width: 0;
  }

  .kc-final-cta .kc-sub-button {
    width: 100%;
    min-width: 0;
  }

  .kc-prep-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .kc-prep-item {
    min-height: 160px;
    padding: 22px 12px;
  }

  .kc-term-grid { grid-template-columns: 1fr; }
  .kc-term-card small { min-height: 0; }

  .kc-wide-note,
  .kc-policy-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .kc-wide-note .kc-section-label,
  .kc-policy-row .kc-section-label { text-align: center; }

  .kc-wide-note h2,
  .kc-policy-row h2 {
    font-size: 26px;
    text-align: center;
  }

  .kc-fee-section { padding: 38px 0; }

  .kc-fee-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 22px;
  }

  .kc-fee-intro .kc-section-label { text-align: center; }

  .kc-fee-intro h2 {
    font-size: 22px;
    text-align: center;
  }

  .kc-fee-intro p {
    font-size: 13px;
    text-align: left;
  }

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

  .kc-fee-list > div { padding: 10px 8px; }

  .kc-disease-card,
  .kc-role-card { padding: 27px 24px; }

  .kc-record-item {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .kc-record-item > span {
    width: 42px;
    height: 42px;
  }

  .kc-caption { text-align: left; }

  .kc-faq-group + .kc-faq-group { margin-top: 62px; }
  .kc-faq-group > h2 { font-size: 24px; }

  .kc-accordion summary {
    grid-template-columns: 31px 1fr 24px;
    padding: 19px 12px;
    font-size: 14px;
  }

  .kc-answer {
    grid-template-columns: 31px 1fr;
    padding: 0 12px 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kc-accordion summary b { transition: none; }
}
/* REVISION: 2026-07-16-R1 / こやなぎ内科・IBDクリニック 法務・掲示ページ */

:root {
  --kc-legal-navy: #17324d;
  --kc-legal-text: #33485b;
  --kc-legal-muted: #66788a;
  --kc-legal-teal: #0ea5a8;
  --kc-legal-teal-dark: #087f83;
  --kc-legal-pale: #eefafa;
  --kc-legal-pale-strong: #dff5f4;
  --kc-legal-line: #d9e5e8;
  --kc-legal-white: #ffffff;
  --kc-legal-alert: #fff8e8;
  --kc-legal-alert-line: #edb84c;
  --kc-legal-radius: 16px;
  --kc-legal-shadow: 0 14px 36px rgba(23, 50, 77, 0.08);
}

/* Lightningの固定幅・見出し装飾を、この2ページだけ調整 */
body:has(.kc-legal-page) .site-body {
  padding-top: 0;
}

body:has(.kc-legal-page) .site-body-container,
body:has(.kc-legal-page) .site-body .container,
body:has(.kc-legal-page) .main-section,
body:has(.kc-legal-page) .entry-body {
  max-width: none;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}

body:has(.kc-legal-page) .page-header {
  background: linear-gradient(135deg, #f2fbfb 0%, #e8f7f6 100%);
  color: var(--kc-legal-navy);
}

body:has(.kc-legal-page) .page-header-inner {
  min-height: 112px;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

body:has(.kc-legal-page) .page-header-title {
  color: var(--kc-legal-navy);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.kc-legal-page,
.kc-legal-page * {
  box-sizing: border-box;
}

.kc-legal-page {
  color: var(--kc-legal-text);
  background: var(--kc-legal-white);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.kc-legal-container {
  width: min(100% - 40px, 880px);
  margin: 0 auto;
  padding: 64px 0 72px;
  counter-reset: kc-legal-section;
}

.kc-legal-page h2,
.kc-legal-page h3,
.kc-legal-page p,
.kc-legal-page ul,
.kc-legal-page dl {
  margin-top: 0;
}

.kc-legal-page h2,
.kc-legal-page h3 {
  color: var(--kc-legal-navy);
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  text-shadow: none;
}

.kc-legal-page h2::before,
.kc-legal-page h2::after,
.kc-legal-page h3::before,
.kc-legal-page h3::after {
  content: none !important;
  display: none !important;
}

.kc-legal-page a {
  color: var(--kc-legal-teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.kc-legal-page a:hover,
.kc-legal-page a:focus-visible {
  color: var(--kc-legal-navy);
}

.kc-legal-page a:focus-visible {
  outline: 3px solid rgba(14, 165, 168, 0.3);
  outline-offset: 3px;
}

.kc-legal-intro {
  position: relative;
  margin-bottom: 56px;
  padding: 40px 44px;
  overflow: hidden;
  border: 1px solid #d6eeee;
  border-radius: var(--kc-legal-radius);
  background: linear-gradient(135deg, #f4fcfc 0%, #eaf8f7 100%);
}

.kc-legal-intro::after {
  position: absolute;
  top: -68px;
  right: -54px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(14, 165, 168, 0.08);
  content: "";
  pointer-events: none;
}

.kc-legal-eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  color: var(--kc-legal-teal-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.kc-legal-intro h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
  padding: 0 0 18px !important;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.45;
}

.kc-legal-intro h2::after {
  display: block !important;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: var(--kc-legal-teal);
  content: "" !important;
}

.kc-legal-intro > p:not(.kc-legal-eyebrow, .kc-legal-updated) {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-bottom: 0;
}

.kc-legal-updated {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  align-items: center;
  width: fit-content;
  margin: 22px 0 0;
  color: var(--kc-legal-muted);
  font-size: 13px;
  line-height: 1.5;
}

.kc-legal-updated span {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--kc-legal-white);
  color: var(--kc-legal-teal-dark);
  font-weight: 700;
}

.kc-legal-section {
  position: relative;
  margin: 0;
  padding: 48px 0;
  border-top: 1px solid var(--kc-legal-line);
  counter-increment: kc-legal-section;
}

.kc-legal-intro + .kc-legal-section {
  border-top: 0;
  padding-top: 0;
}

.kc-legal-section-number {
  margin-bottom: 8px;
  color: var(--kc-legal-teal);
  font-size: 0;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.kc-legal-section-number::before {
  content: counter(kc-legal-section, decimal-leading-zero);
  font-size: 12px;
}

.kc-legal-section > h2 {
  margin-bottom: 24px;
  padding: 0 !important;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.55;
}

.kc-legal-section > h3,
.kc-legal-alert h3 {
  margin: 30px 0 10px;
  padding: 0 !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}

.kc-legal-section > h2 + h3 {
  margin-top: 0;
}

.kc-legal-section p {
  margin-bottom: 18px;
}

.kc-legal-section p:last-child,
.kc-legal-section ul:last-child,
.kc-legal-section dl:last-child {
  margin-bottom: 0;
}

.kc-legal-section ul {
  margin-bottom: 22px;
  padding-left: 1.5em;
}

.kc-legal-section li + li {
  margin-top: 7px;
}

.kc-legal-definition-list {
  margin-bottom: 0;
  border-top: 1px solid var(--kc-legal-line);
}

.kc-legal-definition-list > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.28fr) 1fr;
  gap: 22px;
  padding: 17px 0;
  border-bottom: 1px solid var(--kc-legal-line);
}

.kc-legal-definition-list dt {
  color: var(--kc-legal-navy);
  font-weight: 700;
}

.kc-legal-definition-list dd {
  margin: 0;
}

.kc-legal-note {
  color: var(--kc-legal-muted);
  font-size: 14px;
  line-height: 1.8;
}

.kc-legal-external {
  display: inline-block;
  margin-left: 0.35em;
  font-size: 0.85em;
}

.kc-legal-callout,
.kc-legal-alert {
  margin: 28px 0 0;
  padding: 23px 26px;
  border-radius: 12px;
}

.kc-legal-callout {
  border-left: 4px solid var(--kc-legal-teal);
  background: var(--kc-legal-pale);
}

.kc-legal-alert {
  border: 1px solid #f1d496;
  border-left: 4px solid var(--kc-legal-alert-line);
  background: var(--kc-legal-alert);
}

.kc-legal-alert h3 {
  margin-top: 0;
}

.kc-legal-callout p:last-child,
.kc-legal-alert p:last-child {
  margin-bottom: 0;
}

.kc-legal-contact {
  margin-top: 8px;
  padding: 34px 36px;
  border: 1px solid #cde9e8;
  border-radius: var(--kc-legal-radius);
  background: var(--kc-legal-pale);
}

.kc-legal-contact .kc-legal-definition-list {
  border-top-color: #c7e2e1;
}

.kc-legal-contact .kc-legal-definition-list > div {
  border-bottom-color: #c7e2e1;
}

.kc-legal-status-list {
  display: grid;
  gap: 12px;
  padding: 0 !important;
  list-style: none;
}

.kc-legal-status-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 !important;
  padding: 14px 17px;
  border: 1px solid var(--kc-legal-line);
  border-radius: 10px;
  background: #fbfdfd;
  color: var(--kc-legal-navy);
  font-weight: 600;
}

.kc-legal-status-list span {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--kc-legal-pale-strong);
  color: var(--kc-legal-teal-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.kc-legal-facility-label {
  display: flex;
  gap: 12px;
  align-items: center;
  width: fit-content;
  margin-bottom: 20px !important;
  color: var(--kc-legal-navy);
  font-weight: 700;
}

.kc-legal-facility-label span {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--kc-legal-pale-strong);
  color: var(--kc-legal-teal-dark);
  font-size: 12px;
  line-height: 1.5;
}

.kc-legal-document-link {
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding: 24px 26px;
  border: 1px solid #cce7e6;
  border-radius: 12px;
  background: var(--kc-legal-pale);
}

.kc-legal-document-link p {
  margin-bottom: 0;
}

.kc-legal-document-link__title {
  color: var(--kc-legal-navy);
  font-weight: 700;
}

.kc-legal-document-link__note {
  color: var(--kc-legal-muted);
  font-size: 13px;
}

.kc-legal-document-link a {
  flex: 0 0 auto;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--kc-legal-teal);
  color: var(--kc-legal-white);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.kc-legal-document-link a:hover,
.kc-legal-document-link a:focus-visible {
  background: var(--kc-legal-teal-dark);
  color: var(--kc-legal-white);
}

.kc-legal-fee-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin: 28px 0 20px;
  padding: 26px 28px;
  border: 1px solid #cce7e6;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3fbfb 0%, #e8f7f6 100%);
}

.kc-legal-fee-card p {
  margin-bottom: 0;
}

.kc-legal-fee-card__label {
  color: var(--kc-legal-navy);
  font-weight: 700;
}

.kc-legal-fee-card__description {
  margin-top: 5px !important;
  color: var(--kc-legal-muted);
  font-size: 13px;
  line-height: 1.7;
}

.kc-legal-fee-card__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--kc-legal-navy);
  line-height: 1.3;
  white-space: nowrap;
}

.kc-legal-fee-card__price strong {
  color: var(--kc-legal-teal-dark);
  font-size: 30px;
  font-weight: 700;
}

.kc-legal-fee-card__price span {
  margin-top: 4px;
  color: var(--kc-legal-muted);
  font-size: 13px;
}

.kc-legal-document-footer {
  margin-top: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--kc-legal-line);
  color: var(--kc-legal-muted);
  font-size: 13px;
  line-height: 1.75;
  text-align: right;
}

.kc-legal-document-footer p {
  margin: 0;
}

[data-publication-status="pending"][hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  body:has(.kc-legal-page) .page-header-inner {
    min-height: 86px;
  }

  .kc-legal-page {
    font-size: 15px;
    line-height: 1.85;
  }

  .kc-legal-container {
    width: min(100% - 32px, 880px);
    padding: 40px 0 52px;
  }

  .kc-legal-intro {
    margin-bottom: 40px;
    padding: 30px 24px;
    border-radius: 13px;
  }

  .kc-legal-intro h2 {
    margin-bottom: 18px;
    padding-bottom: 15px !important;
    font-size: 25px;
  }

  .kc-legal-updated {
    gap: 9px;
    align-items: flex-start;
    flex-direction: column;
  }

  .kc-legal-section {
    padding: 38px 0;
  }

  .kc-legal-section > h2 {
    margin-bottom: 20px;
    font-size: 21px;
  }

  .kc-legal-definition-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .kc-legal-contact {
    padding: 28px 22px;
  }

  .kc-legal-document-link {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
  }

  .kc-legal-document-link a {
    width: 100%;
  }

  .kc-legal-fee-card {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 23px 22px;
  }

  .kc-legal-fee-card__price {
    align-items: flex-start;
  }

  .kc-legal-document-footer {
    text-align: left;
  }
}

@media print {
  body:has(.kc-legal-page) .site-header,
  body:has(.kc-legal-page) .page-header,
  body:has(.kc-legal-page) .breadcrumb,
  body:has(.kc-legal-page) .site-footer,
  body:has(.kc-legal-page) .vk-mobile-nav-menu-btn,
  body:has(.kc-legal-page) .veu_socialSet,
  body:has(.kc-legal-page) .vk_post_imgOuter {
    display: none !important;
  }

  .kc-legal-page {
    color: #000;
    font-size: 10.5pt;
    line-height: 1.65;
  }

  .kc-legal-container {
    width: 100%;
    padding: 0;
  }

  .kc-legal-intro,
  .kc-legal-callout,
  .kc-legal-alert,
  .kc-legal-contact,
  .kc-legal-document-link,
  .kc-legal-fee-card {
    box-shadow: none;
    background: #fff !important;
  }

  .kc-legal-intro {
    margin-bottom: 22pt;
    padding: 18pt;
    border-color: #777;
  }

  .kc-legal-section {
    break-inside: avoid;
    padding: 18pt 0;
    border-color: #aaa;
  }

  .kc-legal-section > h2,
  .kc-legal-section > h3 {
    color: #000;
  }

  .kc-legal-page a {
    color: #000;
    text-decoration: none;
  }

  .kc-legal-document-link a::after,
  .kc-legal-text-link::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    font-weight: 400;
  }
}
/* 880円・1項目表示用 */
.kc-fee-list.kc-fee-list--single {
  grid-template-columns: 1fr;
}

.kc-fee-list.kc-fee-list--single > div {
  padding-right: 8px;
  padding-left: 8px;
}
/* REVISION: 2026-07-17-R1 / CLINIC + DOCTOR PAGES */
/* 既存の「追加CSS」の末尾へ、そのまま追記してください。 */

/* ---------- Lightningとの整合：2ページ限定 ---------- */
body.post-name-clinic,
body.post-name-doctor {
  overflow-x: hidden;
}

body.post-name-clinic .site-body,
body.post-name-doctor .site-body {
  padding-top: 0 !important;
}

.kc-clinic-page,
.kc-doctor-page {
  --kc-page-reading: 820px;
}

.kc-clinic-page a:focus-visible,
.kc-doctor-page a:focus-visible {
  outline: 3px solid rgba(14, 165, 168, 0.34);
  outline-offset: 4px;
}

.kc-reading-width,
.kc-doctor-reading {
  max-width: var(--kc-page-reading);
}

.kc-prose,
.kc-doctor-message {
  color: #33475d;
  font-size: 15px;
  line-height: 2.1;
}

.kc-prose p,
.kc-doctor-message p {
  margin: 0;
}

.kc-prose p + p,
.kc-doctor-message p + p {
  margin-top: 1.35em;
}

.kc-clinic-page .kc-subhero-title,
.kc-doctor-page .kc-subhero-title {
  max-width: 900px;
}

/* ---------- クリニック案内 ---------- */
.kc-clinic-definition {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--kc-line);
  background: rgba(255, 255, 255, 0.76);
}

.kc-clinic-definition > div {
  display: grid;
  grid-template-columns: 210px 1fr;
  border-bottom: 1px solid var(--kc-line);
}

.kc-clinic-definition dt,
.kc-clinic-definition dd {
  margin: 0;
  padding: 18px 22px;
}

.kc-clinic-definition dt {
  display: flex;
  align-items: center;
  background: rgba(231, 247, 245, 0.62);
  color: var(--kc-navy);
  font-size: 13px;
  font-weight: 800;
}

.kc-clinic-definition dd {
  color: #33475d;
  font-size: 14px;
}

.kc-clinic-definition a,
.kc-clinic-text-link {
  color: var(--kc-teal-dark) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.kc-clinic-caption {
  max-width: 880px;
  margin: 16px auto 0;
  color: var(--kc-muted);
  font-size: 12px;
  line-height: 1.9;
}

.kc-clinic-hours-wrap {
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--kc-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(7, 48, 95, 0.06);
}

.kc-clinic-hours {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
}

.kc-clinic-hours th,
.kc-clinic-hours td {
  padding: 16px 22px;
  border: 0;
  border-bottom: 1px solid var(--kc-line);
  text-align: left;
}

.kc-clinic-hours thead th {
  background: var(--kc-navy);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.kc-clinic-hours tbody th {
  width: 58%;
  background: #f7fbfb;
  color: var(--kc-navy);
  font-size: 14px;
  font-weight: 800;
}

.kc-clinic-hours tbody td {
  color: #33475d;
  font-size: 14px;
  font-weight: 700;
}

.kc-clinic-hours tbody tr:last-child th,
.kc-clinic-hours tbody tr:last-child td {
  border-bottom: 0;
}

.kc-clinic-info-box {
  max-width: 720px;
  margin: 22px auto 0;
  padding: 20px 24px;
  border-left: 4px solid var(--kc-teal);
  border-radius: 0 12px 12px 0;
  background: var(--kc-teal-soft);
}

.kc-clinic-info-box strong {
  color: var(--kc-navy);
  font-size: 14px;
}

.kc-clinic-info-box p {
  margin: 4px 0 0;
  color: #44566a;
  font-size: 13px;
  line-height: 1.9;
}

.kc-clinic-guidance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.kc-clinic-guidance {
  min-height: 230px;
  padding: 30px 28px;
  border: 1px solid var(--kc-sand-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
}

.kc-clinic-guidance > span {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--kc-teal);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.kc-clinic-guidance h3 {
  margin: 0 0 10px;
  color: var(--kc-navy);
  font-size: 18px;
  font-weight: 800;
}

.kc-clinic-guidance p {
  margin: 0;
  color: var(--kc-muted);
  font-size: 13px;
  line-height: 1.9;
}

.kc-clinic-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.kc-clinic-bottom-card {
  padding: 34px 36px;
  border: 1px solid var(--kc-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--kc-shadow);
}

.kc-clinic-bottom-card .kc-section-label {
  text-align: left;
}

.kc-clinic-bottom-card h2 {
  margin: 0 0 14px;
  color: var(--kc-navy);
  font-size: 21px;
  font-weight: 800;
}

.kc-clinic-bottom-card h2::after {
  content: none !important;
  display: none !important;
}

.kc-clinic-bottom-card p,
.kc-clinic-bottom-card li {
  color: var(--kc-muted);
  font-size: 13px;
  line-height: 1.9;
}

.kc-clinic-bottom-card p {
  margin: 0 0 17px;
}

.kc-clinic-bottom-card ul {
  margin: 0 0 17px;
  padding-left: 1.35em;
}

.kc-clinic-text-link {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
}

/* ---------- 院長紹介 ---------- */
.kc-doctor-profile-section {
  padding-top: 72px;
  padding-bottom: 76px;
}

.kc-doctor-profile {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(390px, 1.22fr);
  gap: clamp(46px, 7vw, 82px);
  max-width: 930px;
  margin: 0 auto;
  align-items: center;
}

.kc-doctor-photo {
  position: relative;
  margin: 0;
}

.kc-doctor-photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: -18px;
  width: 78%;
  height: 72%;
  border-radius: 4px 4px 18px 4px;
  background: var(--kc-teal-soft);
}

.kc-doctor-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 4px 4px 18px 4px;
  background: #e5eff7;
  box-shadow: 0 18px 42px rgba(7, 48, 95, 0.13);
}

.kc-doctor-clinic-name {
  margin: 0 0 12px;
  color: var(--kc-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.kc-doctor-role {
  margin: 0;
  color: var(--kc-teal-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.kc-doctor-name {
  margin: 5px 0 20px;
  color: var(--kc-navy);
  font-size: clamp(33px, 4.5vw, 46px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.12em;
}

.kc-doctor-name::after {
  content: "" !important;
  display: block !important;
  width: 44px;
  height: 3px;
  margin: 17px 0 0;
  border-radius: 999px;
  background: var(--kc-teal);
}

.kc-doctor-name span {
  margin-left: 0.18em;
}

.kc-doctor-degree {
  margin-bottom: 24px;
}

.kc-doctor-degree strong,
.kc-doctor-degree small {
  display: block;
}

.kc-doctor-degree strong {
  color: #33475d;
  font-size: 15px;
}

.kc-doctor-degree small {
  margin-top: 4px;
  color: var(--kc-muted);
  font-size: 11px;
}

.kc-doctor-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kc-doctor-specialties span {
  padding: 7px 12px;
  border: 1px solid #cbe8e5;
  border-radius: 999px;
  background: #f7fcfb;
  color: var(--kc-teal-dark);
  font-size: 11px;
  font-weight: 800;
}

.kc-doctor-message-section {
  background:
    linear-gradient(180deg, rgba(240, 251, 249, 0.72) 0%, #ffffff 100%);
}

.kc-doctor-message {
  margin-top: 38px;
}

.kc-doctor-signature {
  margin-top: 42px !important;
  color: #44566a;
  text-align: right;
}

.kc-doctor-signature strong {
  color: var(--kc-navy);
}

.kc-doctor-message-action {
  margin-top: 48px;
}

.kc-doctor-timeline {
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.kc-doctor-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 28px;
  padding: 19px 0 19px 24px;
  border-bottom: 1px solid var(--kc-line);
}

.kc-doctor-timeline li::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 0;
  width: 8px;
  height: 8px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--kc-teal);
  box-shadow: 0 0 0 1px var(--kc-teal);
}

.kc-doctor-timeline time {
  color: var(--kc-teal-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.kc-doctor-timeline p {
  margin: 0;
  color: #33475d;
  font-size: 14px;
  line-height: 1.8;
}

.kc-doctor-qualifications {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 34px;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid var(--kc-sand-border);
  list-style: none;
}

.kc-doctor-qualifications li {
  position: relative;
  padding: 18px 12px 18px 24px;
  border-bottom: 1px solid var(--kc-sand-border);
  color: #58697a;
  font-size: 12px;
  line-height: 1.75;
}

.kc-doctor-qualifications li::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kc-teal);
}

.kc-doctor-qualifications strong {
  display: block;
  margin-top: 2px;
  color: var(--kc-navy);
  font-size: 14px;
}

/* ---------- 末尾CTA補助リンク ---------- */
.kc-clinic-final-section,
.kc-doctor-final-section {
  padding-top: 56px;
}

.kc-final-sub-link {
  margin-top: 17px;
}

.kc-final-sub-link a {
  color: rgba(255, 255, 255, 0.83) !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* ---------- タブレット・スマートフォン ---------- */
@media (max-width: 800px) {
  .kc-clinic-guidance-grid,
  .kc-clinic-bottom-grid {
    grid-template-columns: 1fr;
  }

  .kc-clinic-guidance {
    min-height: 0;
  }

  .kc-doctor-profile {
    grid-template-columns: minmax(250px, 0.82fr) minmax(300px, 1.18fr);
    gap: 38px;
  }

  .kc-doctor-qualifications {
    grid-template-columns: 1fr;
    max-width: 720px;
  }
}

@media (max-width: 600px) {
  .kc-clinic-page,
  .kc-doctor-page {
    --kc-page-reading: 100%;
  }

  .kc-prose,
  .kc-doctor-message {
    font-size: 14px;
    line-height: 2;
  }

  .kc-clinic-definition > div {
    grid-template-columns: 1fr;
  }

  .kc-clinic-definition dt,
  .kc-clinic-definition dd {
    padding: 12px 15px;
  }

  .kc-clinic-definition dt {
    padding-bottom: 6px;
    background: rgba(231, 247, 245, 0.72);
  }

  .kc-clinic-definition dd {
    padding-top: 9px;
    overflow-wrap: anywhere;
  }

  .kc-clinic-hours th,
  .kc-clinic-hours td {
    padding: 13px 12px;
  }

  .kc-clinic-hours tbody th {
    width: 64%;
    font-size: 12px;
  }

  .kc-clinic-hours tbody td {
    font-size: 12px;
    white-space: nowrap;
  }

  .kc-clinic-info-box {
    padding: 17px 18px;
  }

  .kc-clinic-guidance {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    padding: 23px 20px;
  }

  .kc-clinic-guidance > span {
    grid-row: 1 / 3;
    width: 40px;
    height: 40px;
    margin: 0;
  }

  .kc-clinic-guidance h3 {
    margin-top: 2px;
    font-size: 16px;
  }

  .kc-clinic-bottom-card {
    padding: 28px 24px;
  }

  .kc-doctor-profile-section {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .kc-doctor-profile {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 390px;
  }

  .kc-doctor-photo {
    width: min(100%, 330px);
    margin: 0 auto;
  }

  .kc-doctor-photo::before {
    right: -12px;
    bottom: -12px;
  }

  .kc-doctor-summary {
    text-align: left;
  }

  .kc-doctor-name {
    font-size: 34px;
  }

  .kc-doctor-timeline li {
    grid-template-columns: 70px 1fr;
    gap: 15px;
    padding-left: 19px;
  }

  .kc-doctor-timeline time {
    font-size: 12px;
  }

  .kc-doctor-timeline p {
    font-size: 13px;
  }

  .kc-doctor-qualifications li {
    padding-right: 4px;
  }

  .kc-doctor-signature {
    text-align: left;
  }

  .kc-clinic-final-section,
  .kc-doctor-final-section {
    padding-top: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kc-clinic-page *,
  .kc-doctor-page * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* REVISION: 2026-07-19-R1 / LIFESTYLE DISEASES PAGE */
/* 既存の追加CSS末尾に追記。共通のkc-subpageスタイルを利用します。 */

body.post-name-lifestyle {
  overflow-x: hidden;
}

body.post-name-lifestyle .site-body {
  padding-top: 0 !important;
}

.kc-lifestyle-page {
  --kc-lifestyle-reading: 840px;
}

.kc-lifestyle-page a:focus-visible {
  outline: 3px solid rgba(14, 165, 168, 0.34);
  outline-offset: 4px;
}

.kc-lifestyle-reading {
  max-width: var(--kc-lifestyle-reading);
}

.kc-lifestyle-prose {
  color: #33475d;
  font-size: 15px;
  line-height: 2.1;
}

.kc-lifestyle-prose p {
  margin: 0;
}

.kc-lifestyle-prose p + p {
  margin-top: 1.35em;
}

.kc-lifestyle-sign-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kc-lifestyle-sign {
  min-height: 250px;
  padding: 28px 24px;
  border: 1px solid var(--kc-line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(7, 48, 95, 0.055);
}

.kc-lifestyle-sign > span,
.kc-lifestyle-continuity-grid article > span {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--kc-teal);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.kc-lifestyle-sign h3,
.kc-lifestyle-continuity-grid h3 {
  margin: 0 0 10px;
  color: var(--kc-navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.kc-lifestyle-sign p,
.kc-lifestyle-continuity-grid p {
  margin: 0;
  color: var(--kc-muted);
  font-size: 13px;
  line-height: 1.9;
}

.kc-lifestyle-disease-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.kc-lifestyle-disease {
  padding: 32px 34px;
  border: 1px solid var(--kc-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--kc-shadow);
}

.kc-lifestyle-disease-wide {
  grid-column: 1 / -1;
  border-color: rgba(0, 154, 154, 0.25);
  background: linear-gradient(135deg, #f0fbf9 0%, #ffffff 72%);
}

.kc-lifestyle-disease > span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--kc-teal-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.kc-lifestyle-disease h3 {
  margin: 0 0 10px;
  color: var(--kc-navy);
  font-size: 22px;
  font-weight: 850;
}

.kc-lifestyle-disease p {
  margin: 0;
  color: var(--kc-muted);
  font-size: 13px;
  line-height: 1.95;
}

.kc-lifestyle-continuity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.kc-lifestyle-continuity-grid article {
  min-height: 250px;
  padding: 30px 28px;
  border: 1px solid var(--kc-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.kc-lifestyle-fee-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 50px 0;
  background: var(--kc-sand);
}

.kc-lifestyle-fee-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(230px, 0.75fr);
  gap: 38px;
  max-width: 880px;
  margin: 0 auto;
  padding: 34px 40px;
  align-items: center;
  border: 1px solid var(--kc-sand-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(7, 48, 95, 0.05);
}

.kc-lifestyle-fee-card .kc-section-label {
  margin-bottom: 8px;
  text-align: left;
}

.kc-lifestyle-fee-card h2 {
  margin: 0 0 8px;
  color: var(--kc-navy);
  font-size: 24px;
  font-weight: 900;
}

.kc-lifestyle-fee-card h2::after {
  content: none !important;
  display: none !important;
}

.kc-lifestyle-fee-card p:not(.kc-section-label, .kc-lifestyle-fee-price) {
  margin: 0;
  color: var(--kc-muted);
  font-size: 12px;
  line-height: 1.9;
}

.kc-lifestyle-fee-price {
  margin: 0;
  padding-left: 34px;
  border-left: 1px solid var(--kc-sand-border);
  text-align: center;
}

.kc-lifestyle-fee-price strong,
.kc-lifestyle-fee-price span {
  display: block;
}

.kc-lifestyle-fee-price strong {
  color: var(--kc-teal-dark);
  font-size: 38px;
  font-weight: 900;
  line-height: 1.3;
}

.kc-lifestyle-fee-price span {
  color: var(--kc-muted);
  font-size: 11px;
  font-weight: 700;
}

.kc-lifestyle-final-section {
  padding-top: 0;
}

.kc-lifestyle-review {
  margin: 18px 0 0;
  color: var(--kc-muted);
  font-size: 11px;
  text-align: center;
}

@media (max-width: 900px) {
  .kc-lifestyle-sign-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kc-lifestyle-sign {
    min-height: 220px;
  }
}

@media (max-width: 600px) {
  .kc-lifestyle-sign-grid,
  .kc-lifestyle-disease-grid,
  .kc-lifestyle-continuity-grid {
    grid-template-columns: 1fr;
  }

  .kc-lifestyle-sign,
  .kc-lifestyle-continuity-grid article {
    min-height: 0;
    padding: 26px 24px;
  }

  .kc-lifestyle-disease,
  .kc-lifestyle-disease-wide {
    grid-column: auto;
    padding: 28px 24px;
  }

  .kc-lifestyle-fee-section {
    padding: 38px 0;
  }

  .kc-lifestyle-fee-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 24px;
  }

  .kc-lifestyle-fee-card .kc-section-label,
  .kc-lifestyle-fee-card h2,
  .kc-lifestyle-fee-card p:not(.kc-section-label, .kc-lifestyle-fee-price) {
    text-align: center;
  }

  .kc-lifestyle-fee-price {
    padding: 22px 0 0;
    border-top: 1px solid var(--kc-sand-border);
    border-left: 0;
  }
}

@media print {
  .kc-lifestyle-page .kc-subhero-action,
  .kc-lifestyle-page .kc-final-cta .kc-sub-button {
    display: none !important;
  }

  .kc-lifestyle-sign,
  .kc-lifestyle-disease,
  .kc-lifestyle-continuity-grid article,
  .kc-lifestyle-fee-card {
    box-shadow: none !important;
  }
}
/* REVISION: 2026-07-19-R1 / GLOBAL HEADER + FOOTER */
/* 既存の追加CSS末尾に追記してください。 */

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky !important;
  z-index: 1900 !important;
  top: 0 !important;
  min-height: 68px;
  border-bottom: 1px solid rgba(7, 48, 95, 0.08);
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 4px 18px rgba(7, 48, 95, 0.045);
  backdrop-filter: blur(12px);
}

.admin-bar .site-header {
  top: 32px !important;
}

.site-header .site-header-container {
  min-height: 68px;
  align-items: center;
}

.site-header .site-header-logo {
  margin: 0 !important;
  padding: 10px 72px 10px 0 !important;
}

.site-header .site-header-logo a {
  color: #17324d !important;
  font-size: clamp(18px, 2.1vw, 24px) !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.site-header .global-nav {
  display: none !important;
}

body.device-pc .vk-mobile-nav-menu-btn,
body.device-mobile .vk-mobile-nav-menu-btn,
.vk-mobile-nav-menu-btn {
  position: fixed !important;
  display: block !important;
  top: 12px !important;
  right: max(18px, calc((100vw - 1140px) / 2)) !important;
  left: auto !important;
  z-index: 2100 !important;
  width: 44px !important;
  height: 44px !important;
  border: 1px solid rgba(7, 48, 95, 0.14) !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.98) !important;
  background-size: 24px 24px !important;
  box-shadow: 0 7px 20px rgba(7, 48, 95, 0.10);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

.vk-mobile-nav-menu-btn:hover,
.vk-mobile-nav-menu-btn:focus-visible {
  border-color: var(--kc-teal, #009a9a) !important;
  box-shadow: 0 8px 24px rgba(0, 154, 154, 0.18);
}

.vk-mobile-nav-menu-btn:focus-visible {
  outline: 3px solid rgba(0, 154, 154, 0.25);
  outline-offset: 3px;
}

.vk-mobile-nav-menu-btn.menu-open {
  transform: rotate(90deg);
}

.admin-bar .vk-mobile-nav-menu-btn {
  top: 44px !important;
}

body.device-pc .vk-mobile-nav,
body.device-mobile .vk-mobile-nav,
.vk-mobile-nav {
  position: fixed !important;
  z-index: 2000 !important;
  display: block !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  background: rgba(5, 36, 71, 0.42) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease !important;
}

.admin-bar .vk-mobile-nav {
  top: 32px !important;
  height: calc(100% - 32px) !important;
}

.vk-mobile-nav.vk-mobile-nav-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.vk-mobile-nav .vk-mobile-nav-menu-outer {
  width: min(88vw, 420px);
  height: 100%;
  margin: 0 0 0 auto !important;
  padding: 86px 38px 42px !important;
  overflow-y: auto;
  background: #ffffff;
  box-shadow: -18px 0 46px rgba(5, 36, 71, 0.16);
  transform: translateX(102%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.vk-mobile-nav.vk-mobile-nav-open .vk-mobile-nav-menu-outer {
  transform: translateX(0);
}

body.kc-site-menu-open {
  overflow: hidden;
}

.vk-mobile-nav nav > ul,
.vk-mobile-nav .widget_nav_menu ul.menu {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.vk-mobile-nav nav ul li,
.vk-mobile-nav .widget_nav_menu ul li {
  position: relative;
  margin: 0;
  border: 0 !important;
}

.vk-mobile-nav nav ul li a,
.vk-mobile-nav .widget_nav_menu ul li a {
  display: flex !important;
  min-height: 52px;
  padding: 14px 38px 14px 2px !important;
  align-items: center;
  border: 0 !important;
  border-bottom: 1px solid #e4ebee !important;
  color: #17324d !important;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.55;
}

.vk-mobile-nav nav ul li a::after,
.vk-mobile-nav .widget_nav_menu ul li a::after {
  content: "→";
  position: absolute;
  right: 7px;
  color: var(--kc-teal, #009a9a);
  font-size: 17px;
  font-weight: 500;
}

.vk-mobile-nav nav ul li a:hover,
.vk-mobile-nav nav ul li a:focus-visible,
.vk-mobile-nav .widget_nav_menu ul li a:hover,
.vk-mobile-nav .widget_nav_menu ul li a:focus-visible,
.vk-mobile-nav li.current-menu-item > a,
.vk-mobile-nav li.current_page_item > a {
  color: var(--kc-teal-dark, #007f86) !important;
  background: transparent !important;
}

.vk-mobile-nav nav ul li a:focus-visible,
.vk-mobile-nav .widget_nav_menu ul li a:focus-visible {
  outline: 2px solid rgba(0, 154, 154, 0.28);
  outline-offset: 2px;
}

.vk-mobile-nav li.kc-menu-reservation {
  margin-bottom: 30px !important;
}

.vk-mobile-nav li.kc-menu-reservation > a {
  justify-content: center;
  min-height: 54px;
  padding: 14px 42px 14px 24px !important;
  border: 0 !important;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--kc-teal-dark, #007f86), var(--kc-teal, #009a9a)) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 26px rgba(0, 154, 154, 0.22);
}

.vk-mobile-nav li.kc-menu-reservation > a::after {
  right: 22px;
  color: #ffffff;
}

.vk-mobile-nav li.kc-menu-group-start {
  margin-top: 32px !important;
}

.vk-mobile-nav li.kc-menu-group-start::before {
  display: block;
  margin-bottom: 5px;
  color: var(--kc-teal-dark, #007f86);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.vk-mobile-nav li.kc-menu-group-clinical::before {
  content: "診療案内";
}

.vk-mobile-nav li.kc-menu-group-about::before {
  content: "当院について";
}

.vk-mobile-nav li.kc-menu-group-support::before {
  content: "サポート";
}

/* ---------- フッター ---------- */
.site-footer {
  padding: 0 !important;
  background: #0b2942 !important;
  color: rgba(255, 255, 255, 0.82) !important;
}

.site-footer .footer-nav {
  display: none !important;
}

.site-footer .site-footer-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.kc-site-footer {
  width: 100%;
  padding: 64px 0 54px;
}

.kc-site-footer,
.kc-site-footer * {
  box-sizing: border-box;
}

.kc-site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: clamp(52px, 8vw, 100px);
  width: min(calc(100% - 48px), 1080px);
  margin: 0 auto;
}

.kc-site-footer h2,
.kc-site-footer p,
.kc-site-footer dl,
.kc-site-footer ul {
  margin-top: 0;
}

.kc-site-footer h2 {
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.kc-site-footer h2::before,
.kc-site-footer h2::after {
  content: none !important;
  display: none !important;
}

.kc-site-footer__clinic > h2 {
  margin-bottom: 6px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.55;
}

.kc-site-footer__department {
  margin-bottom: 26px;
  color: #7de0dd;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.kc-site-footer__hours {
  max-width: 520px;
  margin-bottom: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.kc-site-footer__hours > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.kc-site-footer__hours dt,
.kc-site-footer__hours dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

.kc-site-footer__hours dt {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 700;
}

.kc-site-footer__hours dd {
  color: rgba(255, 255, 255, 0.9);
}

.kc-site-footer__reservation {
  display: inline-flex;
  margin-bottom: 0;
  padding: 7px 15px;
  border: 1px solid rgba(125, 224, 221, 0.45);
  border-radius: 999px;
  color: #a6eeeb;
  font-size: 12px;
  font-weight: 800;
}

.kc-site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 12px 24px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none !important;
  transition: background-color .2s ease, color .2s ease;
}

.kc-site-footer__cta:hover,
.kc-site-footer__cta:focus-visible {
  background: #fff;
  color: #0b4b56 !important;
}

.kc-site-footer__cta:focus-visible {
  outline: 3px solid #f9d2d7;
  outline-offset: 3px;
}

.kc-site-footer__copyright {
  padding: 18px 24px;
  text-align: center;
}

.kc-site-footer__copyright p {
  margin: 0;
}

.kc-site-footer__navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}

.kc-site-footer__navigation h2 {
  margin-bottom: 13px;
  color: #7de0dd !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.kc-site-footer__navigation ul {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.kc-site-footer__navigation li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.kc-site-footer__navigation a {
  display: flex;
  min-height: 49px;
  padding: 12px 25px 12px 0;
  align-items: center;
  color: rgba(255, 255, 255, 0.87) !important;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
  text-decoration: none !important;
}

.kc-site-footer__navigation a::after {
  content: "→";
  margin-left: auto;
  color: #7de0dd;
}

.kc-site-footer__navigation a:hover,
.kc-site-footer__navigation a:focus-visible {
  color: #ffffff !important;
}

.kc-site-footer__navigation a:focus-visible {
  outline: 2px solid rgba(125, 224, 221, 0.7);
  outline-offset: 3px;
}

.site-footer .site-footer-copyright {
  padding: 18px 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(2, 22, 40, 0.32);
}

.site-footer .site-footer-copyright p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 10px !important;
  letter-spacing: 0.04em;
}

.site-footer .site-footer-copyright p:nth-child(n + 2) {
  display: none !important;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px !important;
  }

  .admin-bar .vk-mobile-nav-menu-btn {
    top: 58px !important;
  }

  .admin-bar .vk-mobile-nav {
    top: 46px !important;
    height: calc(100% - 46px) !important;
  }
}

@media (max-width: 767px) {
  .site-header,
  .site-header .site-header-container {
    min-height: 60px;
  }

  .site-header .site-header-logo {
    padding: 8px 62px 8px 0 !important;
  }

  .site-header .site-header-logo a {
    font-size: 17px !important;
    letter-spacing: 0.015em;
  }

  body.device-pc .vk-mobile-nav-menu-btn,
  body.device-mobile .vk-mobile-nav-menu-btn,
  .vk-mobile-nav-menu-btn {
    top: 9px !important;
    right: 13px !important;
    width: 42px !important;
    height: 42px !important;
  }

  .vk-mobile-nav .vk-mobile-nav-menu-outer {
    width: min(92vw, 390px);
    padding: 76px 25px 34px !important;
  }

  .kc-site-footer {
    padding: 50px 0 42px;
  }

  .kc-site-footer__inner {
    grid-template-columns: 1fr;
    gap: 42px;
    width: min(calc(100% - 40px), 560px);
  }

  .kc-site-footer__clinic > h2 {
    font-size: 20px;
  }

  .kc-site-footer__navigation {
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .kc-site-footer__navigation {
    grid-template-columns: 1fr;
  }

  .kc-site-footer__hours > div {
    grid-template-columns: 78px 1fr;
    gap: 13px;
  }
}

@media print {
  .vk-mobile-nav-menu-btn,
  .vk-mobile-nav,
  .kc-site-footer__navigation {
    display: none !important;
  }

  .site-header {
    position: static !important;
    box-shadow: none !important;
  }

  .site-footer {
    background: #ffffff !important;
    color: #000000 !important;
  }
}
/* 2026-07-19 ハンバーガーメニュー表示修正 */
body.device-pc .vk-mobile-nav.vk-mobile-nav-open,
body.device-mobile .vk-mobile-nav.vk-mobile-nav-open,
.vk-mobile-nav.vk-mobile-nav-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body.device-pc .vk-mobile-nav.vk-mobile-nav-open .vk-mobile-nav-menu-outer,
body.device-mobile .vk-mobile-nav.vk-mobile-nav-open .vk-mobile-nav-menu-outer,
.vk-mobile-nav.vk-mobile-nav-open .vk-mobile-nav-menu-outer {
  transform: translateX(0) !important;
}

/* REVISION: 2026-07-21-R3 / MOBILE READABILITY + FIXED HEADER + COMPACT MENU */

/* Long explanatory copy is easier to scan left-aligned. */
.kc-lead {
  text-align: left;
  text-wrap: pretty;
}

/* Keep the clinic header visible throughout the page. Fixed positioning is
   used because sticky positioning is not reliable with Lightning's wrappers. */
body {
  padding-top: 68px !important;
}

.site-header {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
}

.admin-bar .site-header {
  top: 32px !important;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px !important;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 60px !important;
  }

  /* Respect the deliberate break after the comma and prevent なが／ら. */
  .kc-online-page .kc-subhero-title {
    font-size: 27px !important;
    line-height: 1.48 !important;
    letter-spacing: 0.01em !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    text-wrap: balance;
  }

  .kc-online-page .kc-subhero-title br {
    display: block !important;
  }

  /* Compact navigation: keep the main CTA and all seven links within one
     ordinary smartphone viewport while retaining the outside tap target. */
  .vk-mobile-nav .vk-mobile-nav-menu-outer {
    width: min(94vw, 410px) !important;
    padding: 64px 22px 22px !important;
  }

  .vk-mobile-nav nav ul li a,
  .vk-mobile-nav .widget_nav_menu ul li a {
    min-height: 44px !important;
    padding: 9px 34px 9px 2px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  .vk-mobile-nav li.kc-menu-reservation {
    margin-bottom: 12px !important;
  }

  .vk-mobile-nav li.kc-menu-reservation > a {
    min-height: 48px !important;
    padding: 11px 40px 11px 20px !important;
    font-size: 15px !important;
  }

  .vk-mobile-nav li.kc-menu-group-start {
    margin-top: 14px !important;
  }

  .vk-mobile-nav li.kc-menu-group-start::before {
    margin-bottom: 2px !important;
    font-size: 9px !important;
  }
}

@media print {
  body {
    padding-top: 0 !important;
  }
}

/* REVISION: 2026-07-21-R4 / MOBILE LINE BREAK REFINEMENT */

@media (max-width: 767px) {
  /*
   * Use the available mobile width efficiently. The previous 92% width,
   * generous letter spacing and 15px type combined to split Japanese text
   * immediately before the end of a phrase.
   */
  .kc-subpage .kc-lead {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-wrap: pretty;
  }

  /* Keep every deliberate subhero break instead of allowing a third line. */
  .kc-subpage .kc-subhero-title {
    max-width: none !important;
    font-size: clamp(22px, 6.45vw, 26px) !important;
    line-height: 1.55 !important;
    letter-spacing: 0 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    text-wrap: balance;
  }

  .kc-subpage .kc-subhero-title br {
    display: block !important;
  }

  /* The longer doctor message needs a little more horizontal room. */
  .kc-doctor-page .kc-subhero .kc-container {
    width: min(100% - 28px, 960px) !important;
  }

  /* Improve scanning inside the narrow two-column appointment flow. */
  .kc-flow-section .kc-flow {
    gap: 34px 16px !important;
  }

  .kc-flow-section .kc-step {
    padding-right: 2px !important;
    padding-left: 2px !important;
  }

  .kc-flow-section .kc-step-title {
    font-size: 14px !important;
    letter-spacing: 0 !important;
    word-break: keep-all !important;
  }

  .kc-flow-section .kc-step-text {
    font-size: 12px !important;
    line-height: 1.85 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-wrap: pretty;
  }
}
