/* =============================================
   戸塚クリニック RSVブログ v29 追加CSS
   WordPress管理画面 > 外観 > 追加CSS に貼り付け
   ============================================= */


:root {
  --blue: #c2185b;
  --blue-dark: #880e4f;
  --blue-light: #fce4ec;
  --teal: #e91e8c;
  --teal-light: #fdf0f7;
  --orange: #f06292;
  --orange-light: #fce4ec;
  --red: #ad1457;
  --red-light: #fce4ec;
  --green: #c2185b;
  --green-light: #fce4ec;
  --gray: #78566a;
  --border: #f3c8da;
  --bg: #fff5f8;

  /* セマンティックエイリアス（保守性向上） */
  --primary: #c2185b;
  --primary-dark: #880e4f;
  --primary-soft: #e91e8c;
  --primary-pale: #fce4ec;
  --primary-lighter: #fff0f5;
  --font: 'Hiragino Maru Gothic ProN','Hiragino Kaku Gothic ProN','Hiragino Sans','Meiryo',sans-serif;
  --pink-deep: #880e4f;
  --pink-mid: #c2185b;
  --pink-soft: #e91e8c;
  --pink-pale: #fce4ec;
  --pink-lighter: #fff0f5;
}
*{box-sizing:border-box;margin:0;padding:0}
.rsv-wrap{font-family:'Hiragino Maru Gothic ProN','Hiragino Kaku Gothic ProN','Hiragino Sans','Meiryo',sans-serif;font-size:16px;line-height:1.85;color:#2a1020;background:#fffafa}
a{color:#c2185b;text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:820px;margin:0 auto;padding:0 20px}

/* Progress bar */
#pbar{position:fixed;top:0;left:0;height:4px;background:linear-gradient(90deg,#f48fb1,#c2185b);width:0;z-index:9999;transition:width .1s}

/* Site header */
.siteheader{background:linear-gradient(90deg,#880e4f 0%,#c2185b 60%,#e91e8c 100%);color:#fff;padding:11px 0;font-size:12px;box-shadow:0 2px 8px rgba(194,24,91,.25)}
.siteheader .inner{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.siteheader a{color:rgba(255,255,255,.9)}
.siteheader a:hover{color:#fff}
.clinic-name{font-weight:800;font-size:14px;letter-spacing:.03em}
.dept-badge{background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35);border-radius:20px;padding:2px 12px;font-size:11px;letter-spacing:.03em;white-space:nowrap}
.breadcrumb{color:rgba(255,255,255,.75);margin-left:auto}
.breadcrumb span{margin:0 4px}

/* Hero */
.hero{background:linear-gradient(135deg,#880e4f 0%,#c2185b 55%,#e91e8c 100%);color:#fff;padding:56px 0 48px}
.hero .tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.hero .tag{background:rgba(255,255,255,.20);border:1px solid rgba(255,255,255,.40);border-radius:20px;padding:3px 13px;font-size:12px;letter-spacing:.04em}
.hero h1{font-size:clamp(21px,4.2vw,30px);font-weight:900;line-height:1.42;letter-spacing:-.01em;margin-bottom:16px}
.hero h1 em{font-style:normal;background:rgba(255,255,255,.15);border-radius:4px;padding:0 4px}
.hero .meta{font-size:13px;opacity:.85;display:flex;flex-wrap:wrap;gap:18px;margin-top:20px}

/* TL;DR */
.tldr{background:#fff0f5;border-left:5px solid #c2185b;border-radius:0 10px 10px 0;padding:22px 24px;margin:38px 0 30px}
.tldr h2{font-size:15px;font-weight:800;color:#880e4f;margin-bottom:13px;display:flex;align-items:center;gap:7px}
.tldr li{margin-bottom:8px;font-size:15px;padding-left:4px}
.tldr li::marker{color:#c2185b}
.tldr strong{color:#ad1457}
.tldr ul{padding-left:22px}

/* Prose */
.prose h2{font-size:21px;font-weight:900;color:#880e4f;margin:52px 0 18px;padding-bottom:11px;border-bottom:3px solid #c2185b;display:flex;align-items:center;gap:10px}
.prose h2 .ico{font-size:23px}
.prose h3{font-size:17px;font-weight:700;color:#4a0a2e;margin:32px 0 12px;padding-left:13px;border-left:4px solid #c2185b}
.prose h3.teal{border-left-color:#e91e8c}
.prose p{margin-bottom:18px;font-size:15.5px}
.prose ul,.prose ol{margin:12px 0 20px 24px}
.prose li{margin-bottom:8px;font-size:15.5px}
sup a{font-size:11px;color:#c2185b}

/* Comparison table */
.comp-table{width:100%;border-collapse:collapse;font-size:14.5px;margin:22px 0;box-shadow:0 1px 6px rgba(0,0,0,.07);border-radius:10px;overflow:hidden}
.comp-table th{padding:12px 14px;text-align:center;font-weight:700;font-size:13px}
.comp-table th.h-blue{background:#c2185b;color:#fff}
.comp-table th.h-teal{background:#e91e8c;color:#fff}
.comp-table th.h-gray{background:#4a5568;color:#fff}
.comp-table td{padding:11px 14px;border-bottom:1px solid #f3c8da;vertical-align:top;line-height:1.6}
.comp-table tr:last-child td{border-bottom:none}
.comp-table tr:nth-child(even) td{background:#fff5f8}
.comp-table .label-col{font-weight:700;font-size:13px;color:#444;background:#f0f3f7 !important;white-space:nowrap}
.comp-table .ok{color:#2e7d32;font-weight:700}
.comp-table .ng{color:#ad1457;font-weight:700}

/* Evidence table */
.ev-table{width:100%;border-collapse:collapse;font-size:14px;margin:22px 0}
.ev-table th{background:#c2185b;color:#fff;padding:10px 12px;text-align:left;font-weight:600}
.ev-table td{padding:10px 12px;border-bottom:1px solid #f3c8da;vertical-align:top;line-height:1.6}
.ev-table tr:nth-child(even) td{background:#fff5f8}
.badge{display:inline-block;padding:2px 9px;border-radius:4px;font-size:12px;font-weight:700;color:#fff}
.badge.rct{background:#c2185b}
.badge.rwe{background:#c2185b}
.badge.sr{background:#e91e8c}
.badge.gl{background:#7c3aed}

/* Info boxes */
.box{border-radius:10px;padding:20px 24px;margin:22px 0}
.box-blue{background:#fce4ec;border:1px solid #b8d9f5}
.box-teal{background:#fdf0f7;border:1px solid #a0d5ce}
.box-green{background:#fce4ec;border:1px solid #a8d9b5}
.box-red{background:#fce4ec;border:1px solid #f5b8b8}
.box-orange{background:#fce4ec;border:1px solid #f5d0a0}
.box-gray{background:#fff5f8;border:1px solid #f3c8da}
.box-title{font-weight:800;font-size:15px;margin-bottom:10px;display:flex;align-items:center;gap:7px}
.box-title.blue{color:#880e4f}
.box-title.teal{color:#e91e8c}
.box-title.green{color:#c2185b}
.box-title.red{color:#ad1457}
.box-title.orange{color:#f06292}

/* Key metrics */
.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:14px;margin:24px 0}
.kpi{background:#fff0f5;border:1px solid #fce4ec;border-radius:10px;padding:18px 14px;text-align:center}
.kpi .num{font-size:28px;font-weight:900;color:#c2185b;line-height:1.1}
.kpi .unit{font-size:13px;font-weight:600;color:#78566a}
.kpi .lbl{font-size:12px;color:#78566a;margin-top:5px;line-height:1.4}

/* Warning */
.warn{background:#fffbeb;border:2px solid #f6c90e;border-radius:10px;padding:18px 22px;margin:24px 0}
.warn .wt{font-weight:700;color:#b7770d;margin-bottom:8px;display:flex;align-items:center;gap:6px;font-size:15px}

/* Indication decision tree */
.decision{background:#fff5f8;border:1px solid #f3c8da;border-radius:12px;padding:24px;margin:28px 0}
.decision h4{font-weight:800;font-size:16px;color:#880e4f;margin-bottom:16px}
.dtree{list-style:none;padding:0}
.dtree li{margin-bottom:12px;padding-left:24px;position:relative;font-size:15px}
.dtree li::before{content:'\25B6';position:absolute;left:0;color:#c2185b;font-size:11px;top:4px}
.dtree li .tag-ins{background:#c2185b;color:#fff;font-size:11px;font-weight:700;padding:1px 7px;border-radius:4px;margin-left:6px}
.dtree li .tag-jhi{background:#ad1457;color:#fff;font-size:11px;font-weight:700;padding:1px 7px;border-radius:4px;margin-left:6px}
.dtree li .tag-opt{background:#f06292;color:#fff;font-size:11px;font-weight:700;padding:1px 7px;border-radius:4px;margin-left:6px}

/* FAQ */
.faq-section{margin:44px 0}
.faq-section h2{font-size:21px;font-weight:900;color:#880e4f;margin-bottom:20px;padding-bottom:11px;border-bottom:3px solid #c2185b;display:flex;align-items:center;gap:10px}
.faq-item{border:1px solid #f3c8da;border-radius:10px;margin-bottom:10px;overflow:hidden}
.faq-q{background:#fff;padding:16px 20px;cursor:pointer;display:flex;justify-content:space-between;align-items:flex-start;font-weight:700;font-size:15px;color:#1a1a2e;transition:background .2s;gap:12px;user-select:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;min-height:48px}
.faq-q:hover{background:#fce4ec}
.faq-q .ql{color:#c2185b;font-weight:900;font-size:17px;flex-shrink:0}
.faq-q .qt{flex:1;line-height:1.5}
.faq-q .arr{font-size:18px;color:#c2185b;transition:transform .3s;flex-shrink:0;margin-top:1px}
.faq-item.open .arr{transform:rotate(180deg)}
.faq-a{display:none;padding:16px 20px 18px 44px;background:#fce4ec;font-size:15px;line-height:1.8;border-top:1px solid #f3c8da}
.faq-item.open .faq-a{display:block}

/* Doctor card */
.doctor{display:flex;align-items:flex-start;gap:18px;background:#fff5f8;border-radius:12px;padding:22px 26px;margin:44px 0 24px;border:1px solid #f3c8da}
.doc-avatar{width:66px;height:66px;border-radius:50%;background:#c2185b;display:flex;align-items:center;justify-content:center;font-size:30px;flex-shrink:0}
.doc-info .name{font-weight:800;font-size:16px;color:#1a1a2e}
.doc-info .title{font-size:13px;color:#78566a;margin-top:3px;line-height:1.5}
.doc-info .desc{font-size:13.5px;margin-top:8px;line-height:1.65;color:#333}

/* CTA */
.cta{background:linear-gradient(135deg,#880e4f,#c2185b);color:#fff;border-radius:14px;padding:30px 26px;text-align:center;margin:38px 0}
.cta h3{font-size:19px;font-weight:900;margin-bottom:10px}
.cta p{font-size:14px;opacity:.9;margin-bottom:18px}
.cta-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.btn-w{display:inline-block;background:#fff;color:#c2185b;font-weight:700;font-size:14px;padding:12px 26px;border-radius:8px;transition:opacity .2s;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.btn-w:hover{opacity:.85;text-decoration:none}
.btn-o{display:inline-block;background:transparent;color:#fff;border:2px solid rgba(255,255,255,.7);font-weight:700;font-size:14px;padding:12px 26px;border-radius:8px;transition:background .2s}
.btn-o:hover{background:rgba(255,255,255,.12);text-decoration:none}

/* References */
.refs{margin:44px 0 22px;padding:26px;background:#fff5f8;border-radius:10px;font-size:13px}
.refs h2{font-size:16px;font-weight:700;color:#880e4f;margin-bottom:14px}
.refs ol{padding-left:20px}
.refs li{margin-bottom:9px;line-height:1.6}
.refs a{color:#c2185b;word-break:break-all}

/* Footer */
.rsv-wrap footer{background:#3a0a1e;color:rgba(255,255,255,.75);padding:38px 0;font-size:13px}
footer .fi{display:flex;flex-wrap:wrap;gap:32px}
footer .cn{font-size:16px;font-weight:700;color:#fff;margin-bottom:8px}
footer a{color:rgba(255,255,255,.7)}
footer a:hover{color:#fff}
.fc{text-align:center;margin-top:24px;padding-top:16px;border-top:1px solid rgba(255,255,255,.15);font-size:12px;color:rgba(255,255,255,.55)}

/* Responsive */
@media(max-width:620px){
  .comp-table,.ev-table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .hero{padding:38px 0 32px}
  .hero h1{font-size:21px}
  .kpi-grid{grid-template-columns:repeat(2,1fr)}
  .doctor{flex-direction:column;align-items:center;text-align:center}
  .comp-table{font-size:13px}
  .ev-table{font-size:13px}
}

/* Evidence accordion */
.ev-acc{border:1px solid #f3c8da;border-radius:10px;overflow:hidden;margin:18px 0}
.ev-acc-head{background:#fce4ec;padding:14px 20px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:15px;color:#880e4f;user-select:none;transition:background .2s;-webkit-tap-highlight-color:transparent;touch-action:manipulation;min-height:48px}
.ev-acc-head:hover{background:#f8ccd8}
.ev-acc-head .ev-arr{font-size:18px;transition:transform .3s;color:#c2185b}
.ev-acc-body{display:none;border-top:1px solid #f3c8da}
.ev-acc-body.open{display:block}

/* Beyfortus accordion */
.beyf-acc{border:1px solid #f3c8da;border-radius:10px;overflow:hidden;margin:18px 0}
.beyf-acc-head{background:#fce4ec;padding:15px 20px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:15px;color:#880e4f;user-select:none;transition:background .2s;gap:12px;-webkit-tap-highlight-color:transparent;touch-action:manipulation;min-height:48px}
.beyf-acc-head:hover{background:#f8ccd8}
.beyf-acc-head .beyf-arr{font-size:18px;transition:transform .3s;color:#c2185b}
.beyf-acc-body{display:none;border-top:1px solid #f3c8da;padding:0 24px 24px}
.beyf-acc-body.open{display:block}


/* プログレスバー */
#pbar{position:fixed;top:0;left:0;height:3px;background:#c2185b;z-index:9999;width:0;transition:width .1s}

/* リンク色（テーマ上書き対策） */
.rsv-wrap a{color:#1565c0 !important;text-decoration:none}
.rsv-wrap a:hover{text-decoration:underline;color:#0d47a1 !important}
.rsv-wrap a:visited{color:#6a1b9a !important}
