/* ==================================================================
 * 新規3ページ（患者様の声 /voice/・来院の流れ /flow/・院内紹介 /clinic/）2026-11-19
 * 見た目は症状ページ v6（A版＝今のホームページの書体）に合わせる。
 * 前半は v6 の部品（.tcs-*）をそのまま、後半はこの3ページで足した部品。
 * page-voice.php / page-flow.php / page-clinic.php でだけ読み込む（tc-renewal.php）。
 * ================================================================== */

/* ---------- v6 の土台 ---------- */
.tc-page__body { padding-top: 0 !important; }
.tc-page__body .entry-content { margin-top: 0 !important; }
#primary { overflow-x: clip; }
.entry-content .tcs { font-size: 17px; line-height: 1.9; color: #222; }
.entry-content .tcs p { margin: 0 0 1.3em; }
.entry-content .tcs h2 { font-size: 24px; font-weight: 700; margin: 64px 0 16px; padding-left: .8rem; border-left: 5px solid #E50012; color: #111; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.entry-content .tcs h3 { font-size: 20px; font-weight: 700; margin: 36px 0 12px; color: #111; line-height: 1.5; }
.entry-content .tcs a { color: #E50012; }
.entry-content .tcs-note { font-size: 14px; color: #444; }
.entry-content .tcs-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.entry-content .tcs-list li { position: relative; padding: 4px 0 4px 1.3em; }
.entry-content .tcs-list li::before { content: ""; position: absolute; left: 2px; top: .85em; width: 8px; height: 8px; background: #E50012; border-radius: 50%; }

/* 予約ボタン（電話＝赤・LINE＝緑） */
.entry-content .tcs-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.entry-content .tcs-cta a { flex: 1 1 220px; display: block; text-align: center; font-weight: 700; font-size: 17px; padding: 14px 10px 10px; color: #fff !important; text-decoration: none !important; line-height: 1.3; }
.entry-content .tcs-cta a small { display: block; font-size: 14px; font-weight: 400; margin-top: 4px; opacity: .95; }
.entry-content .tcs-cta__tel { background: #E50012; }
.entry-content .tcs-cta__line { background: #06C755; }

/* ファーストビュー（黒地・赤の上線・写真は元の比率のまま＝人の顔を切らない） */
.section-content .entry-content h1.tcs-fv__title { font-family: inherit; color: #fff; font-size: 32px; font-weight: 700; line-height: 1.3; letter-spacing: .04em; margin: 0 0 10px; padding: 0; border: 0; word-break: keep-all; }
.entry-content .tcs-fv { display: grid; background: #111; color: #fff; border-top: 4px solid #E50012; margin: 0 0 24px; }
.entry-content .tcs-fv__photo { margin: 0; align-self: center; }
.entry-content .tcs-fv__photo img { display: block; width: 100%; height: auto; }
.entry-content .tcs-fv__body { padding: 20px 18px 22px; }
.entry-content .tcs-fv__kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; border: 1px solid rgba(255,255,255,.7); padding: 1px 10px; margin: 0 0 12px !important; color: #fff; }
.entry-content .tcs-fv__lead { color: #fff; font-size: 18px; font-weight: 700; line-height: 1.65; margin: 0 0 16px !important; word-break: keep-all; overflow-wrap: anywhere; }
.entry-content .tcs-fv__chips { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0; margin: 0; }
.entry-content .tcs-fv__chips li { display: flex; align-items: center; justify-content: center; text-align: center; border: 1px solid rgba(255,255,255,.55); font-size: 13px; font-weight: 700; line-height: 1.4; padding: 8px 4px; color: #fff; }
.entry-content .tcs-fv .tcs-cta { margin-top: 16px; }
.entry-content .tcs-fv__text { font-size: 17px; }

/* 写真と説明（v6 の .tcs-fig） */
.entry-content .tcs-fig { margin: 18px 0 26px; max-width: 590px; }
.entry-content .tcs-fig img { display: block; width: auto; max-width: 100%; height: auto; }
.entry-content .tcs-fig figcaption { font-size: 14px; color: #444; margin-top: 6px; line-height: 1.5; }

/* 患者様の声（手書きのアンケート＝写真＋文字／声のカード） */
.entry-content .tcs-hw { display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: start; border: 1px solid #ccc; border-top: 4px solid #E50012; padding: 16px 18px; margin: 0 0 14px; background: #fff; }
.entry-content .tcs-hw__img { display: block; }
.entry-content .tcs-hw__img img { display: block; width: auto; max-width: 100%; height: auto; border: 1px solid #ddd; }
.entry-content .tcs-hw__body p { margin: 0 0 .8em; }
.entry-content .tcs-hw__body strong { color: #111; }
.entry-content .tcs-review { background: #fff; border: 1px solid #ccc; border-top: 4px solid #E50012; padding: 16px 18px 4px; margin: 0 0 14px; }
.entry-content .tcs-review p { margin: 0 0 .8em; }
.entry-content .tcs-review__name { font-weight: 700; color: #111; }

/* 院長 */
.entry-content .tcs-staff { display: flex; gap: 18px; align-items: center; margin: 0 0 16px; }
.entry-content .tcs-staff p { margin: 0 !important; font-size: 15px; }
.entry-content .tcs-staff strong { display: block; font-size: 18px; }

/* 料金・予約の案内（灰色の枠）と、最後の黒い予約枠 */
.entry-content .tcs-offer { background: #f4f4f4; padding: 18px 18px 4px; margin: 0 0 1.2em; }
.entry-content .tcs-midcta { background: #f4f4f4; padding: 20px 18px; margin: 40px 0 0; text-align: center; }
.entry-content .tcs-midcta__lead { font-weight: 700; font-size: 19px; margin: 0 !important; }
.entry-content .tcs-final { background: #111; color: #fff; padding: 24px 20px; margin: 48px 0 16px; text-align: center; }
.entry-content .tcs-final__lead { color: #fff; font-size: 21px; font-weight: 700; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.entry-content .tcs-link { display: block; border: 2px solid #111; padding: 14px 16px; font-weight: 700; color: #111 !important; text-decoration: none !important; }
.entry-content .tcs-link::after { content: " →"; color: #E50012; }
.tcs-bread-bottom { margin: 8px auto 24px; }

@media (max-width: 575px) {
	.entry-content .tcs h2 { font-size: 21px; margin-top: 52px; }
	.entry-content .tcs h3 { font-size: 19px; }
	.entry-content .tcs-fv { margin-left: -15px; margin-right: -15px; }
	.section-content .entry-content h1.tcs-fv__title { font-size: 30px; }
	.entry-content .tcs-hw { grid-template-columns: 1fr; }
	.entry-content .tcs-hw__img { max-width: 300px; }
	.entry-content .tcs-staff { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 768px) {
	.entry-content .tcs-fv { grid-template-columns: 1fr 1fr; align-items: center; }
	.entry-content .tcs-fv__photo { order: 2; }
	.entry-content .tcs-fv__body { padding: 30px 28px 28px; }
	.section-content .entry-content h1.tcs-fv__title { font-size: 36px; }
}

/* ---------- この3ページで足した部品 ---------- */
/* 症状から探す（ページ内リンク） */
.entry-content .tcp-jump { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 8px; }
.entry-content .tcp-jump li { margin: 0; padding: 0; }
.entry-content .tcp-jump a { display: inline-block; border: 1px solid #111; background: #fff; color: #111 !important; font-size: 15px; font-weight: 700; padding: 6px 14px; text-decoration: none !important; line-height: 1.5; }
.entry-content .tcp-jump a::after { content: " ↓"; color: #E50012; }
.entry-content .tcp-jump a:hover { background: #111; color: #fff !important; }
.entry-content .tcp-count { font-size: 14px; color: #444; font-weight: 400; margin-left: .3em; }
.entry-content .tcs h2[id] { scroll-margin-top: 90px; }

/* 声のカードを2列に（PC） */
@media (min-width: 768px) {
	.entry-content .tcp-reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
	.entry-content .tcp-reviews .tcs-review { margin: 0; }
}

/* 来院の流れ：番号つきの段（写真＋文） */
.entry-content .tcp-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.entry-content .tcp-step { position: relative; border: 1px solid #ccc; border-top: 4px solid #E50012; background: #fff; padding: 18px 18px 6px; margin: 0 0 34px; }
.entry-content .tcp-step:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -24px; margin-left: -12px; border: 12px solid transparent; border-top: 12px solid #E50012; border-bottom: 0; }
.entry-content .tcp-step__no { display: inline-block; background: #E50012; color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .08em; padding: 2px 10px; margin: 0 0 8px !important; }
.entry-content .tcs .tcp-step h3 { margin: 0 0 12px; }
.entry-content .tcp-step__grid { display: grid; gap: 16px; }
.entry-content .tcp-step__photo { margin: 0 0 12px; }
.entry-content .tcp-step__photo img { display: block; width: 100%; max-width: 590px; height: auto; }
.entry-content .tcp-step__photo figcaption { font-size: 14px; color: #444; margin-top: 6px; line-height: 1.5; }
@media (min-width: 768px) {
	.entry-content .tcp-step__grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
	.entry-content .tcp-step__grid--nophoto { grid-template-columns: 1fr; }
}
.entry-content .tcp-step .tcs-cta { margin: 4px 0 1.2em; }
.entry-content .tcp-step .tcs-cta a { flex-basis: 180px; font-size: 16px; }

/* 料金の表（/price/#price-table と同じ数字） */
.entry-content .tcp-price { width: 100%; max-width: 560px; border-collapse: collapse; text-align: center; margin: 4px 0 12px; background: #fff; }
.entry-content .tcp-price th, .entry-content .tcp-price td { border: 1px solid #ccc; padding: .6rem .4rem; color: #111; }
.entry-content .tcp-price thead th { background: #111; color: #fff; font-weight: 700; }
.entry-content .tcp-price tbody th { background: #f4f4f4; font-weight: 700; }
.entry-content .tcp-price td { font-weight: 700; font-size: 1.05rem; }

/* 診療時間（tc_hours_table を本文の中で） */
.entry-content .tcp-hours { overflow-x: auto; margin: 0 0 1em; }
.entry-content .tcp-hours .tc-hours { width: 100%; min-width: 320px; border-collapse: collapse; text-align: center; background: #fff; color: #111; }
.entry-content .tcp-hours .tc-hours caption { caption-side: top; text-align: left; font-weight: 700; color: #111; padding: 0 0 6px; }
.entry-content .tcp-hours .tc-hours th, .entry-content .tcp-hours .tc-hours td { border: 1px solid #ccc; padding: .5rem .2rem; font-size: 15px; color: #111; line-height: 1.4; }
.entry-content .tcp-hours .tc-hours thead th { background: #111; color: #fff; }
.entry-content .tcp-hours .tc-hours small { display: block; font-size: 11px; }

/* 院内紹介：写真＋説明のカード */
.entry-content .tcp-rooms { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 8px 0 26px; }
.entry-content .tcp-room { margin: 0; border: 1px solid #ddd; background: #fff; display: flex; flex-direction: column; }
.entry-content .tcp-room img { display: block; width: 100%; height: auto; }
.entry-content .tcp-room figcaption { padding: 12px 14px 14px; font-size: 15px; line-height: 1.75; color: #222; }
.entry-content .tcp-room figcaption strong { display: block; font-size: 17px; color: #111; margin-bottom: 4px; }
@media (min-width: 576px) {
	.entry-content .tcp-rooms { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
	.entry-content .tcp-rooms--3 { grid-template-columns: repeat(3, 1fr); }
}
.entry-content .tcp-wide { margin: 8px 0 22px; max-width: 760px; }
.entry-content .tcp-wide img { display: block; width: 100%; height: auto; }
.entry-content .tcp-wide figcaption { font-size: 14px; color: #444; margin-top: 6px; }

/* ほかのページへの案内（3つ並び） */
.entry-content .tcp-next { list-style: none; display: grid; grid-template-columns: 1fr; gap: 10px; padding: 0; margin: 12px 0 0; }
.entry-content .tcp-next li { margin: 0; padding: 0; }
.entry-content .tcp-next li::before { display: none; }
@media (min-width: 768px) {
	.entry-content .tcp-next { grid-template-columns: repeat(3, 1fr); }
	.entry-content .tcp-next .tcs-link { height: 100%; }
}
.entry-content .tcp-next .tcs-link small { display: block; font-size: 13px; font-weight: 400; color: #444; margin-top: 2px; }

/* スマホ下の固定予約ボタンに最後の行が隠れないように */
@media (max-width: 767.98px) {
	.tcp-page .tcs-bread-bottom { margin-bottom: 72px; }
}

/* 院長の写真（4:3 のまま・顔を切らない） */
.entry-content .tcs-staff picture { flex: 0 0 240px; max-width: 240px; }
.entry-content .tcs-staff img { display: block; width: 100%; height: auto; }
@media (max-width: 575px) { .entry-content .tcs-staff picture { flex-basis: auto; max-width: 280px; } }

/* 院内の写真は v6 の「院内の様子」と同じく正方形にそろえる（人の写っていない写真だけ） */
.entry-content .tcp-room img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 55%; }
/* ほかのページへの案内：矢印を右端に */
.entry-content .tcp-next .tcs-link { position: relative; padding-right: 40px; }
.entry-content .tcp-next .tcs-link::after { content: "→"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
/* 来院の流れ STEP4：施術スペースの写真（正方形に近い）は大きくしすぎない */
.entry-content #flow-step4 .tcp-step__photo { max-width: 340px; }
.entry-content #flow-step3 .tcp-step__photo { max-width: 400px; }
