@charset "utf-8";
/*
 * /results（成果の改善事例）の事例カード。ショートコード [cvr_show] が読み込む。
 * 見た目は /lp/results の事例カードと同じトンマナ（白いカード・紺の文字・青〜紫のグラデーション・Oswald の数字・黄色のマーカー）。
 * 出力は add_func/functions-cvr.php の cvr_show()。
 * 成果の文字は長さに合わせて伸びる（「1000個突破」などでもはみ出さない）。
 */
@font-face { font-family: 'Oswald LP'; font-style: normal; font-weight: 200 700; font-display: swap; src: url(/wp-content/themes/rdlp/lp_specialty/results-oriented/fonts/Oswald-lpres-20261014.woff2) format('woff2'); }

/* ---- 見出し「デザイン提供でのLP制作・改善事例」 ----
   もとは幅の決まった画像の上に文字を載せていて、文字が枠の端まで来ていた。
   文字の長さに合わせて伸びる枠にして、左右と下に余白を取る。 */
.results_case .caption { display: table; width: auto; height: auto; margin: 46px auto 34px; padding: 9px 46px 11px; border: 3px solid transparent; border-radius: 999px; background: linear-gradient(#211513, #211513) padding-box, linear-gradient(90deg, #e1517a, #7c57d8 50%, #44a8ec) border-box; color: #fff; font-size: 27px; font-weight: 700; line-height: 1.4; letter-spacing: .08em; text-align: center; white-space: nowrap; }

/* ---- カード ---- */
.rc_list { display: grid; gap: 40px; margin: 0 0 56px; font-family: 'Noto Sans JP', sans-serif; color: #1b1d25; text-align: left; }
.rc_list * { box-sizing: border-box; }
.rc_card { display: grid; grid-template-columns: 230px minmax(0, 1fr); grid-template-areas: 'thumb head' 'thumb concept' 'thumb result'; gap: 0 38px; align-content: start; padding: 38px 42px 34px 38px; background: #fff; border: 1px solid #e1e6f0; border-radius: 18px; box-shadow: 0 12px 32px rgba(0, 58, 127, .08); }

/* 画像。登録画像の大きさはまちまちなので、枠の比率を決めて上から切り抜く（/lp/results と同じ 182:296） */
.rc_thumb { grid-area: thumb; align-self: start; margin: 0; width: 230px; aspect-ratio: 182 / 296; overflow: hidden; border: 2px solid #2e3443; border-radius: 12px; box-shadow: 12px 20px 40px rgba(0, 58, 127, .26); background: #eef1f6; }
.rc_thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* 取引形態・所在地・題名・会社名 */
.rc_head { grid-area: head; }
.rc_meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 14px; font-size: 13px; line-height: 1.4; color: #5b6272; }
.rc_meta:empty { display: none; }
.rc_tag { display: inline-block; padding: 4px 16px 5px; border-radius: 999px; color: #fff; font-family: 'Oswald LP', 'Oswald', sans-serif; font-size: 15px; font-weight: 500; letter-spacing: .08em; line-height: 1.2; background: linear-gradient(135deg, #44a8ec, #7c57d8); }
.rc_place { display: inline-flex; align-items: center; gap: 5px; }
.rc_place:before { content: ''; flex: none; width: 13px; height: 16px; background: #7c57d8; -webkit-mask: url(/wp-content/themes/rdlp/img/result/icon_map_pin.svg) center / contain no-repeat; mask: url(/wp-content/themes/rdlp/img/result/icon_map_pin.svg) center / contain no-repeat; }
.rc_title { margin: 0 0 8px; font-family: 'Noto Sans JP', sans-serif; font-size: 25px; font-weight: 700; line-height: 1.5; letter-spacing: .03em; color: #1b1d25; }
.rc_company { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; line-height: 1.5; color: #5b6272; }
/* 会社名の前のビルのアイコン（所在地のピンと同じ紫・1色） */
.rc_company:before { content: ''; flex: none; width: 14px; height: 14px; background: #7c57d8; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M2 15V2.5A1.5 1.5 0 0 1 3.5 1h6A1.5 1.5 0 0 1 11 2.5V6h1.5A1.5 1.5 0 0 1 14 7.5V15H9.5v-3h-3v3H2zM4.5 4v1.5H6V4H4.5zM7 4v1.5h1.5V4H7zM4.5 7v1.5H6V7H4.5zM7 7v1.5h1.5V7H7zm4 1.5V10h1.5V8.5H11zm0 3V13h1.5v-1.5H11z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M2 15V2.5A1.5 1.5 0 0 1 3.5 1h6A1.5 1.5 0 0 1 11 2.5V6h1.5A1.5 1.5 0 0 1 14 7.5V15H9.5v-3h-3v3H2zM4.5 4v1.5H6V4H4.5zM7 4v1.5h1.5V4H7zM4.5 7v1.5H6V7H4.5zM7 7v1.5h1.5V7H7zm4 1.5V10h1.5V8.5H11zm0 3V13h1.5v-1.5H11z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* CONCEPT の枠と「担当」 */
.rc_concept { grid-area: concept; margin-top: 22px; padding: 20px 26px 22px; border-radius: 12px; background: #f1f5fb; }
.rc_label { display: flex; align-items: baseline; gap: 10px; margin: 0 0 8px; font-size: 12px; line-height: 1.5; color: #5b6272; }
.rc_label b { font-family: 'Oswald LP', 'Oswald', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: .14em; color: #4a5cc5; }
.rc_text { margin: 0; font-size: 14.5px; line-height: 1.95; color: #434856; }
.rc_tanto { margin: 14px 0 0; padding-top: 13px; border-top: 1px dotted #9aa3b5; font-size: 14px; line-height: 1.8; color: #1b1d25; }
.rc_tanto b { display: inline-block; margin-right: .7em; padding: 0 .8em; color: #fff; font-size: .86em; font-weight: 500; line-height: 1.8; border-radius: .3em; background: #1b1d25; }
.rc_tanto b small { font-size: .86em; font-weight: 400; letter-spacing: 0; }

/* RESULT（成果） */
.rc_result { grid-area: result; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 20px; margin-top: 22px; }
.rc_result .rc_label { margin: 0 0 14px; }
.rc_out { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: flex-end; gap: 0 16px; margin-left: auto; }
.rc_lead { margin: 0 0 13px; font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: .04em; white-space: nowrap; }
.rc_grade { position: relative; z-index: 0; margin: 0; padding: 0 6px; line-height: 1.05; white-space: nowrap; }
.rc_grade:before { content: ''; position: absolute; z-index: -1; left: -4px; right: -4px; bottom: 2px; height: 18px; background: url(/wp-content/themes/rdlp/lp_specialty/results-oriented/images/cs_tpline.png.webp) no-repeat center bottom / 100% 100%; }
.rc_grade_t { display: inline-block; background: linear-gradient(135deg, #44a8ec, #7c57d8, #c948ac); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.rc_num { font-family: 'Oswald LP', 'Oswald', sans-serif; font-size: 68px; font-weight: 500; letter-spacing: 0; }
.rc_unit { margin-left: 3px; font-size: 34px; font-weight: 700; letter-spacing: .02em; }
.rc_unit i { font-family: 'Oswald LP', 'Oswald', sans-serif; font-style: normal; font-weight: 700; }

/* ---- スマホ：題名 → 画像の右に成果 → CONCEPT の順 ---- */
@media only screen and (max-width: 767px) {
	.results_case .caption { margin: 8vw auto 7vw; padding: 2vw 6vw 2.4vw; border-width: .6vw; font-size: 4.4vw; letter-spacing: .04em; }
	.rc_list { gap: 7vw; margin: 0 0 10vw; }
	.rc_card { grid-template-columns: 32vw minmax(0, 1fr); grid-template-areas: 'head head' 'thumb result' 'concept concept'; gap: 0 4.5vw; padding: 6.5vw 5vw 6vw; border-radius: 3.5vw; }
	.rc_thumb { width: 32vw; margin-top: 5vw; border-radius: 2.4vw; box-shadow: 2vw 3vw 6vw rgba(0, 58, 127, .24); }
	.rc_meta { gap: 1.5vw 3vw; margin-bottom: 3vw; font-size: 3.2vw; }
	.rc_tag { padding: .8vw 3.6vw 1vw; font-size: 3.5vw; }
	.rc_place:before { width: 3vw; height: 3.8vw; }
	.rc_title { margin-bottom: 1.5vw; font-size: 5vw; line-height: 1.5; }
	.rc_company { gap: 1.4vw; font-size: 3.3vw; }
	.rc_company:before { width: 3.4vw; height: 3.4vw; }
	.rc_result { flex-direction: column; align-items: center; justify-content: center; gap: 0; margin-top: 5vw; text-align: center; }
	.rc_result .rc_label { margin: 0 0 2.5vw; gap: 2vw; font-size: 3vw; }
	.rc_label b { font-size: 3.4vw; }
	.rc_out { flex-direction: column; align-items: center; gap: 0; margin: 0; }
	.rc_lead { margin: 0 0 1vw; font-size: 4vw; white-space: normal; }
	.rc_grade { padding: 0 1vw; }
	.rc_grade:before { left: -1vw; right: -1vw; bottom: .5vw; height: 3.6vw; }
	.rc_num { font-size: 14vw; }
	.rc_unit { margin-left: .5vw; font-size: 6.4vw; }
	.rc_grade.is-long .rc_num { font-size: 11.5vw; }
	.rc_grade.is-long .rc_unit { font-size: 5.4vw; }
	.rc_concept { margin-top: 6vw; padding: 4.5vw 5vw 5vw; border-radius: 2.6vw; }
	.rc_label { margin-bottom: 2vw; font-size: 3vw; }
	.rc_text { font-size: 3.6vw; line-height: 1.9; }
	.rc_tanto { margin-top: 3.5vw; padding-top: 3.2vw; font-size: 3.5vw; }
}
