/* ============================================================
   clinic-info.css — 症状別ガイド共通 医院情報コンパクトカード
   .ci-block → clinic-info.js が自動挿入
============================================================ */

.ci-block {
  margin-top: 2.4rem;
}

/* ===== カード外枠 ===== */
.ci-card {
  background: #f4f9f6;
  border: 1px solid #cde3d5;
  border-radius: 16px;
  overflow: hidden;
}

/* ===== ヘッダー ===== */
.ci-header {
  background: #2d6a4f;
  padding: .75rem 1.4rem;
  display: flex;
  align-items: center;
  gap: .9rem;
}

.ci-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: #a8d8b8;
}

.ci-name {
  font-size: .95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

/* ===== ボディ：2カラム ===== */
.ci-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

@media (max-width: 620px) {
  .ci-body {
    grid-template-columns: 1fr;
  }
}

/* ===== 左：院情報 ===== */
.ci-col-info {
  padding: 1.2rem 1.4rem;
  border-right: 1px solid #cde3d5;
}

@media (max-width: 620px) {
  .ci-col-info {
    border-right: none;
    border-bottom: 1px solid #cde3d5;
  }
}

.ci-dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.ci-row {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: .3rem .5rem;
  align-items: baseline;
}

.ci-row dt {
  font-size: .68rem;
  font-weight: 700;
  color: #2d6a4f;
  letter-spacing: .04em;
  white-space: nowrap;
}

.ci-row dd {
  font-size: .78rem;
  color: #2a4a3a;
  line-height: 1.65;
  margin: 0;
}

.ci-tel {
  color: #2d6a4f;
  font-weight: 700;
  text-decoration: none;
  font-size: .88rem;
}

.ci-tel:hover {
  text-decoration: underline;
}

.ci-mail {
  color: #2d6a4f;
  text-decoration: none;
  font-size: .75rem;
  word-break: break-all;
}

.ci-mail:hover {
  text-decoration: underline;
}

/* ===== 右：営業時間 ===== */
.ci-col-hours {
  padding: 1.2rem 1.4rem;
}

.ci-hours-label {
  font-size: .68rem;
  font-weight: 700;
  color: #2d6a4f;
  letter-spacing: .08em;
  margin-bottom: .6rem;
}

.ci-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .78rem;
  margin-bottom: .7rem;
}

.ci-hours-table th {
  font-size: .65rem;
  font-weight: 700;
  color: #2d6a4f;
  text-align: center;
  padding: .25rem .3rem;
  border-bottom: 1px solid #cde3d5;
  background: #e8f4ed;
}

.ci-hours-table th:first-child {
  text-align: left;
}

.ci-hours-table td {
  text-align: center;
  padding: .3rem .3rem;
  color: #2a4a3a;
  border-bottom: 1px solid #e0ece6;
  font-size: .78rem;
}

.ci-hours-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.ci-closed {
  font-size: .74rem;
  color: #5a7a6a;
  margin: 0;
  line-height: 1.6;
}

.ci-closed-note {
  font-size: .68rem;
  color: #8a9a90;
}

/* ===== 下部：案内文とCTA ===== */
.ci-note {
  font-size: .76rem;
  color: #4a6a5a;
  line-height: 1.75;
  margin: 0;
  padding: .9rem 1.4rem;
  border-top: 1px solid #cde3d5;
}

.ci-note-fracture {
  background: #fff8ee;
  border-top: 1px solid #e8c870;
  color: #7a5a10;
  padding: .75rem 1.4rem;
}

.ci-cta {
  padding: 1rem 1.4rem 1.2rem;
  border-top: 1px solid #cde3d5;
  text-align: center;
}

.ci-line-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #06c755;
  color: #ffffff;
  font-size: .88rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .2s ease, transform .15s ease;
}

.ci-line-btn:hover {
  background: #05b04c;
  transform: translateY(-1px);
}

.ci-line-btn svg {
  flex-shrink: 0;
}
