/* クリニックカード専用CSS */
:root {
  --clinic-primary-color: #52BFFF;
  --clinic-secondary-color: #7ECFFF;
  --clinic-text-color: #333;
  --clinic-bg-color: #FAFAFA;
  --clinic-border-color: #E0E0E0;
  --clinic-highlight-bg: #E8F4FD;
  --clinic-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --clinic-transition: all 0.3s ease;
}

/* クリニックリストコンテナ */
.kl-clinicList {
  padding: 0 2rem 1rem;
  background-color: var(--clinic-bg-color);
}


/* クリニックアイテム */
.kl-clinicItem {
  background: white;
  border-radius: 12px;
  box-shadow: var(--clinic-shadow);
  margin-bottom: 2rem;
  overflow: hidden;
  transition: var(--clinic-transition);
  position: relative;
}

.kl-clinicItem:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.kl-clinicItem h4 {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--clinic-text-color);
  padding: 1.2rem;
  margin: 0;
  border-bottom: 2px solid var(--clinic-primary-color);
}

/* カセットレイアウト */
.kl-casette {
  padding: 1.5rem;
  gap: 1.5rem;
}

.flex {
  display: flex;
}

.flex.column {
  flex-direction: column;
}

.flexItem {
  flex: 1;
}

/* サムネイル */
.kl-thumbnail {
  flex: 0 0 280px;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #f5f5f5;
}

.kl-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--clinic-transition);
}

.kl-thumbnail img.op-center {
  object-position: center;
}

.kl-thumbnail img.op-left {
  object-position: left;
}

.kl-clinicItem:hover .kl-thumbnail img {
  transform: scale(1.05);
}

/* 情報セクション */
.kl-info {
  flex: 1;
  min-width: 0;
}

.kl-detail dl {
  margin: 0;
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 0.8rem 1rem;
  align-items: flex-start;
}

.kl-basic-info dl {
  margin: 0;
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 0.8rem 1rem;
  align-items: flex-start;
}

.kl-detail dt {
  font-weight: 400;
  color: #666;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1.8;
  margin: 0;
}

.kl-basic-info dt {
  font-weight: 400;
  color: #666;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1.8;
  margin: 0;
}

.kl-detail dd {
  margin: 0;
  color: #333;
  line-height: 1.8;
  font-size: 1.2rem;
  font-weight: 400;
}

.kl-basic-info dd {
  margin: 0;
  color: #333;
  line-height: 1.8;
  font-size: 1.2rem;
  font-weight: 400;
}

.kl-detail dd a {
  color: #1976D2;
  text-decoration: none;
  transition: var(--clinic-transition);
}

.kl-detail dd a:hover {
  color: var(--clinic-primary-color);
}

/* アイコンラベル */
.kl-icon-label {
  position: relative;
  padding-left: 24px;
}

.kl-icon-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.kl-station-label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2352BFFF' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z'/%3E%3C/svg%3E");
}

.kl-time-label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2352BFFF' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
}

.kl-off-label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2352BFFF' viewBox='0 0 24 24'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z'/%3E%3C/svg%3E");
}

.kl-location-label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2352BFFF' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

.kl-topic-label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2352BFFF' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

/* ノートセクション */
.kl-note {
  padding: 1rem 1.5rem;
  background-color: var(--clinic-highlight-bg);
  border-left: 4px solid var(--clinic-primary-color);
}

.kl-note p {
  margin: 0;
  color: var(--clinic-text-color);
  line-height: 1.6;
}

.kl-note .marker {
  background: linear-gradient(transparent 60%, #B3E5FC 60%);
  font-style: normal;
  font-weight: bold;
  padding: 0 0.2rem;
}

/* CTAセクション */
.kl-cta {
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid var(--clinic-border-color);
}

.kl-cta.mt-3rem {
  margin-top: 3rem;
}

/* コンテンツコンテナ */
.content {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* セレクタセクション */
.selector {
  padding: 1rem 1rem 2rem 1rem;
  text-align: center;
}

.selector h3 {
  font-size: 1.5rem;
  color: var(--clinic-text-color);
  margin-bottom: 2rem;
}

.selector h4 {
  font-size: 1.1rem;
  color: var(--clinic-primary-color);
  margin: 1.5rem 0 1rem;
  font-weight: bold;
}

.kl_pref_button {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.kl_pref_button input[type="radio"] {
  display: none;
}

.kl_pref_button .kl-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: white;
  border: 2px solid var(--clinic-border-color);
  border-radius: 25px;
  color: var(--clinic-text-color);
  font-weight: bold;
  cursor: pointer;
  transition: var(--clinic-transition);
}

.kl_pref_button input[type="radio"]:checked + .kl-btn {
  background: linear-gradient(135deg, #52BFFF 0%, #7ECFFF 100%);
  color: white;
  border-color: var(--clinic-primary-color);
}

.kl_pref_button .kl-btn:hover {
  border-color: var(--clinic-primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.cta-subtext{
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 0.5rem;
}
/* レスポンシブデザイン */
@media (max-width: 768px) {
  .kl-casette {
    flex-direction: column;
  }
  
  .kl-thumbnail {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    height: 200px;
  }
  
  .kl-clinicItem h4 {
    font-size: 1.2rem;
    padding: 1rem;
  }
  
  .kl-detail dl {
    grid-template-columns: 1fr;
  }
  
  .kl-detail dt {
    margin-top: 0.5rem;
    border-bottom: 1px solid var(--clinic-border-color);
    padding-bottom: 0.3rem;
  }
  
  .selector h3 {
    font-size: 1.3rem;
  }
  
  .kl-cta {
    padding: 0.8rem 1rem;
  }
  
  .kl-cta {
    padding: 1rem;
  }
}