@charset "utf-8";
/*
 * 改善事例のカード表示（/lp/results と同じ形）。
 * ショートコード [lp_specialty_cvr layout="cards"] のときだけ読み込む。
 * 形の決まりは lp_specialty/results-oriented/css/common.css・common_sp.css の .lp_cs__list / .lp_cs__item から
 * 取り出したもの（作り方は docs/lp_specialty_事例カード.md）。results 側を直したら、こちらも合わせること。
 * results は rem（html の文字の基準が 10px／スマホ 1.33vw）で書かれているが、lp_specialty の LP は基準が違うので、
 * rem を calc(N * var(--rdrem)) に置き換えてある。
 */
@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_specialty_cvr .lp_cs--cards { --rdrem: 10px; --font-en: 'Oswald LP', 'Oswald', 'Noto Sans JP LP', sans-serif; --c-white: #fff; --c-text-light: #434856; margin: 0 auto; padding: 0; background: none; color: #1b1d25; font-size: var(--rdrem); line-height: 1.5; letter-spacing: normal; text-align: center; }
@media screen and (max-width: 750px) {
.lp_specialty_cvr .lp_cs--cards { --rdrem: 1.3333vw; }
}
.lp_specialty_cvr .lp_cs--cards * { box-sizing: border-box; }
.lp_specialty_cvr .lp_cs--cards img { max-width: 100%; height: auto; vertical-align: bottom; }
/* ---- ここから results の決まり（取り出したもの） ---- */
.lp_specialty_cvr .lp_cs--cards .oswald { font-family: var(--font-en); }
.lp_specialty_cvr .lp_cs--cards mark.ks { color: currentcolor; font-size: 80%; background: none; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__inner { max-width: 1200px; margin: 0px auto; text-align: center; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__list { grid-template-columns: repeat(3, 1fr); display: flex; flex-wrap: wrap; justify-content: center; gap: calc(3 * var(--rdrem)) calc(7 * var(--rdrem)); margin-bottom: calc(6 * var(--rdrem)); }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item { position: relative; width: calc(52 * var(--rdrem)); height: calc(50 * var(--rdrem)); text-align: center; background: var(--c-white); box-shadow: rgba(0, 58, 127, 0.05) 0px calc(1 * var(--rdrem)) calc(1 * var(--rdrem)); }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__img { position: absolute; left: calc(-3.2 * var(--rdrem)); bottom: calc(6 * var(--rdrem)); width: calc(18.2 * var(--rdrem)); height: calc(29.6 * var(--rdrem)); overflow: hidden; border: 2px solid rgb(46, 52, 67); border-radius: 10px; box-shadow: rgba(0, 58, 127, 0.4) calc(1.2 * var(--rdrem)) calc(2 * var(--rdrem)) calc(4 * var(--rdrem)); }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__body { display: flex; flex-direction: column; align-items: flex-end; width: 100%; padding: calc(3 * var(--rdrem)) 0px 0px; text-align: left; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__btc,.lp_specialty_cvr .lp_cs--cards .lp_cs__item__body.btc::before { position: absolute; top: 0px; right: 0px; width: calc(13 * var(--rdrem)); height: calc(3.2 * var(--rdrem)); padding-left: calc(1 * var(--rdrem)); color: rgb(255, 255, 255); font-family: var(--font-en); font-size: calc(2.2 * var(--rdrem)); font-weight: 400; text-align: center; letter-spacing: 0.12em; background: url("/wp-content/themes/rdlp/lp_specialty/results-oriented/images/cs_bgico.png.webp") 0% 0% / 100% 100%; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__company { width: 100%; margin-bottom: calc(0.6 * var(--rdrem)); color: rgb(150, 153, 161); font-size: calc(1.3 * var(--rdrem)); text-align: center; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__product { width: 100%; font-size: calc(2.2 * var(--rdrem)); font-weight: 500; text-align: center; line-height: 1.68; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__desc { width: calc(29 * var(--rdrem)); margin-top: calc(3 * var(--rdrem)); margin-right: calc(4 * var(--rdrem)); padding: calc(2 * var(--rdrem)); color: var(--c-text-light); font-size: calc(1.5 * var(--rdrem)); font-weight: 300; line-height: 1.6; border-radius: calc(1 * var(--rdrem)); background: rgb(229, 240, 245); }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__desc::before { content: "CONCEPT"; display: block; margin-bottom: calc(1 * var(--rdrem)); font-family: var(--font-en); font-size: calc(1.4 * var(--rdrem)); font-weight: 400; letter-spacing: 0.1em; width: calc(9.2 * var(--rdrem)); height: calc(1.2 * var(--rdrem)); background: url("/wp-content/themes/rdlp/lp_specialty/results-oriented/images/asset5.png.webp") center top / 100% 100% no-repeat rgb(229, 240, 245); overflow: hidden; text-indent: 300%; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__tanto { display: block; margin-top: calc(0.8 * var(--rdrem)); padding-top: calc(0.8 * var(--rdrem)); color: rgb(27, 29, 37); font-size: 0.92em; font-weight: 400; border-top: 1px dotted rgb(154, 163, 181); }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__tanto b { display: inline-block; margin-right: 0.6em; padding: 0px 0.7em; color: rgb(255, 255, 255); font-size: 0.9em; font-weight: 500; line-height: 1.7; border-radius: 0.3em; background: rgb(27, 29, 37); }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__desc.is-tanto-only::before { content: none; display: none; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__desc.is-tanto-only .lp_cs__item__tanto { margin-top: 0px; padding-top: 0px; border-top: 0px; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item:has(.lp_cs__item__tanto) { height: auto; min-height: calc(50 * var(--rdrem)); padding-bottom: calc(4 * var(--rdrem)); }
@media screen and (min-width: 751px) {
.lp_specialty_cvr .lp_cs--cards .lp_cs__item:has(.lp_cs__item__tanto) .lp_cs__item__img { top: calc(14.4 * var(--rdrem)); bottom: auto; }
}
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__result { position: relative; width: calc(29 * var(--rdrem)); margin-right: calc(4 * var(--rdrem)); margin-left: auto; letter-spacing: 0.04em; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__arr { width: calc(13 * var(--rdrem)); height: auto; margin: 0px auto; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__result p { margin-top: calc(2 * var(--rdrem)); padding-bottom: calc(0.6 * var(--rdrem)); font-size: calc(2 * var(--rdrem)); font-weight: 500; line-height: 1.2; letter-spacing: 0.04em; background: url("/wp-content/themes/rdlp/lp_specialty/results-oriented/images/cs_tpline.png.webp") center bottom / calc(25 * var(--rdrem)) auto no-repeat; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__result .grade { font-family: var(--font-en); font-size: calc(5.2 * var(--rdrem)); font-weight: 500; letter-spacing: 0px; -webkit-text-fill-color: transparent; background-clip: text; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__result .grade .ks { font-weight: 700; }
@media screen and (max-width: 750px) {
.lp_specialty_cvr .lp_cs--cards .lp_cs__inner { padding: 0px calc(0 * var(--rdrem)); }
}
@media screen and (max-width: 750px) {
.lp_specialty_cvr .lp_cs--cards .lp_cs__list { justify-content: flex-end; margin-right: calc(4 * var(--rdrem)); }
}
@media screen and (max-width: 750px) {
.lp_specialty_cvr .lp_cs--cards .lp_cs__item { width: calc(62 * var(--rdrem)); height: auto; padding-bottom: calc(4 * var(--rdrem)); }
}
@media screen and (max-width: 750px) {
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__img { left: calc(-5 * var(--rdrem)); bottom: calc(9.8 * var(--rdrem)); width: calc(21.9 * var(--rdrem)); height: calc(35.7 * var(--rdrem)); }
}
@media screen and (max-width: 750px) {
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__body { padding-top: calc(5 * var(--rdrem)); }
}
@media screen and (max-width: 750px) {
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__btc { width: calc(16 * var(--rdrem)); height: calc(4 * var(--rdrem)); font-size: calc(2.7 * var(--rdrem)); }
}
@media screen and (max-width: 750px) {
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__product { margin-bottom: calc(1 * var(--rdrem)); font-size: calc(3 * var(--rdrem)); }
}
@media screen and (max-width: 750px) {
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__company { font-size: calc(2 * var(--rdrem)); }
}
@media screen and (max-width: 750px) {
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__desc { width: calc(38 * var(--rdrem)); padding-right: calc(2.8 * var(--rdrem)); padding-left: calc(2.8 * var(--rdrem)); font-size: calc(2.4 * var(--rdrem)); }
}
@media screen and (max-width: 750px) {
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__desc::before { font-size: calc(1.9 * var(--rdrem)); width: calc(12.5 * var(--rdrem)); }
}
@media screen and (max-width: 750px) {
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__result { width: calc(38 * var(--rdrem)); }
}
@media screen and (max-width: 750px) {
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__arr { width: calc(16.2 * var(--rdrem)); }
}
@media screen and (max-width: 750px) {
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__result p { margin-top: calc(1 * var(--rdrem)); font-size: calc(2.4 * var(--rdrem)); background-size: calc(32 * var(--rdrem)) auto; }
}
@media screen and (max-width: 750px) {
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__result .grade { font-size: calc(6.2 * var(--rdrem)); }
}
/* ---- ここから lp_specialty 用の上書き ---- */
/* 一覧の下の余白は、セクション（.lp_specialty_cvr）の余白に任せる */
.lp_specialty_cvr .lp_cs--cards .lp_cs__list { margin-bottom: 0; }
/* 成果の数字。results はグラデーション、こちらは改善事例のオレンジ */
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__result .grade { background: none; -webkit-text-fill-color: #e3590d; color: #e3590d; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__result p { color: #333; }
/* 色を lp_specialty（緑）に合わせる。札は results の画像を型抜きに使い、形はそのまま */
.lp_specialty_cvr .lp_cs--cards .lp_cs__item { box-shadow: 0 calc(1 * var(--rdrem)) calc(1.6 * var(--rdrem)) rgba(0, 0, 0, .07); }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__btc,
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__body.btc::before { background-image: none; background-color: #1bc18d; -webkit-mask: url(/wp-content/themes/rdlp/lp_specialty/results-oriented/images/cs_bgico.png.webp) center / 100% 100% no-repeat; mask: url(/wp-content/themes/rdlp/lp_specialty/results-oriented/images/cs_bgico.png.webp) center / 100% 100% no-repeat; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__desc { background-color: #e8f6f0; color: #333; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__desc::before { background-color: #e8f6f0; color: #1e8866; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__arr { filter: hue-rotate(-52deg) saturate(1.15); }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__img { border-color: #211513; box-shadow: calc(1.2 * var(--rdrem)) calc(2 * var(--rdrem)) calc(4 * var(--rdrem)) rgba(20, 80, 55, .28); }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__product { color: #211513; }
/* 担当の行（管理画面の「担当」に入力がある事例だけ出る） */
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__tanto { color: #333; border-top-color: #9fcfbe; }
.lp_specialty_cvr .lp_cs--cards .lp_cs__item__tanto b { background: #1bc18d; }
/* スマホ：すべての事例で、画像の頭を CONCEPT の枠の頭にそろえる（results の common_sp.css と同じ） */
@media screen and (max-width: 750px) {
.lp_specialty_cvr .lp_cs--cards .lp_cs__item .lp_cs__item__img { top: calc(22.6 * var(--rdrem)); bottom: auto; }
}
