/* =========================================================
   薄毛ビューティー クリニック紹介 スタイル
   ========================================================= */

/* ---------- 詳細ページ ---------- */
.uc-eyecatch { margin: 0 0 24px; }
.uc-eyecatch img { width: 100%; height: auto; border-radius: 6px; }

.uc-clinic { font-size: 17px; line-height: 1.95; }
.uc-clinic h2 {
    margin: 2.2em 0 0.8em;
    padding: 0.6em 0.9em;
    font-size: 1.3em;
    font-weight: bold;
    color: #222;
    background: #f4f7f6;
    border-left: 5px solid #2e9c7e;
    border-radius: 0 4px 4px 0;
}
.uc-clinic p { margin: 0 0 1.2em; }
.uc-clinic ul { margin: 0 0 1.4em 0; padding: 0; list-style: none; }
.uc-clinic ul li {
    position: relative;
    padding: 0.5em 0.5em 0.5em 1.8em;
    border-bottom: 1px dashed #d8e0dd;
}
.uc-clinic ul li::before {
    content: "\2714";
    position: absolute; left: 0.3em; top: 0.5em;
    color: #2e9c7e; font-weight: bold;
}

/* リード（要約ボックス） */
.uc-clinic-summary {
    margin: 0 0 28px;
    padding: 18px 18px 6px;
    background: #f7fbfa;
    border: 1px solid #d9ebe5;
    border-radius: 8px;
}
.uc-clinic-summary .uc-lead { margin: 0 0 14px; font-size: 1.05em; }

/* 基本情報テーブル */
.uc-clinic .uc-table { margin: 0 0 1.4em; overflow-x: auto; }
.uc-clinic .uc-table table { width: 100%; border-collapse: collapse; }
.uc-clinic .uc-table th,
.uc-clinic .uc-table td {
    padding: 12px 14px; border: 1px solid #e1e8e6; text-align: left; vertical-align: top;
}
.uc-clinic .uc-table th {
    width: 34%; background: #eef4f2; font-weight: bold; white-space: nowrap;
}

/* CTAボタン（アフィリエイト導線） */
.uc-cta-btn {
    display: block;
    max-width: 520px;
    margin: 6px auto;
    padding: 16px 22px;
    text-align: center;
    font-size: 1.05em;
    font-weight: bold;
    color: #fff !important;
    text-decoration: none !important;
    background: linear-gradient(#3bb98e, #2e9c7e);
    border-radius: 50px;
    box-shadow: 0 4px 0 #237a62;
    transition: transform .08s ease, box-shadow .08s ease;
}
.uc-cta-btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 #237a62; color: #fff !important; }
.uc-cta-btn::after { content: " \203A"; }
.uc-cta-mini { margin: 1.6em 0; }

.uc-disclaimer { display: block; margin-top: 2em; color: #888; font-size: 0.92em; line-height: 1.75; }
.uc-disclaimer small { font-size: inherit; }

/* ---------- 一覧（アーカイブ）ページ ---------- */
/* 見出し上部の余白（一覧・カテゴリーアーカイブ） */
.post-type-archive-clinic #article_header,
.tax-clinic_cat #article_header { margin-top: 40px; }

.uc-archive-lead { margin: 0 0 26px; font-size: 1em; color: #555; line-height: 1.85; }

.uc-clinic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.uc-card {
    border: 1px solid #e4eae8;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    transition: box-shadow .15s ease, transform .15s ease;
}
.uc-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); transform: translateY(-2px); }
.uc-card__link { display: block; color: inherit; text-decoration: none; }
.uc-card__thumb { aspect-ratio: 16 / 9; background: #f0f3f2; overflow: hidden; }
.uc-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-card__noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: #aaa; font-size: 12px; }
.uc-card__body { padding: 14px 16px 18px; }
.uc-card__title { margin: 0 0 8px; font-size: 1.08em; font-weight: bold; line-height: 1.45; color: #1d6b56; }
.uc-card__excerpt { margin: 0 0 14px; font-size: 0.9em; color: #555; line-height: 1.7; }
.uc-card__btn {
    display: inline-block; padding: 8px 18px; font-size: 0.9em; font-weight: bold;
    color: #2e9c7e; border: 1.5px solid #2e9c7e; border-radius: 50px;
}
.uc-card:hover .uc-card__btn { background: #2e9c7e; color: #fff; }

.uc-pagination { margin: 30px 0 0; text-align: center; }

/* ---------- モバイル ---------- */
@media screen and (max-width: 767px) {
    .uc-clinic-grid { grid-template-columns: 1fr; gap: 16px; }
    .uc-clinic { font-size: 16px; }
    .uc-clinic h2 { font-size: 1.18em; }
    .uc-cta-btn { max-width: none; padding: 15px 16px; }
}
