/* ==========================================================================
   Cute Article Styles — ランキング記事（接頭辞 .cas-rk-）
   ========================================================================== */

/* まず結論：おすすめ3つ */
.cas-rk-picks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
  margin: 1.6em 0 1em;
}
.cas-rk-pick {
  display: flex;
  flex-direction: column;
  padding: 1.2em 1.1em 1.1em;
  border-radius: 20px;
  border: 2px solid var(--cas-pink-line);
  background: var(--cas-white);
  box-shadow: 0 8px 18px rgba(224, 103, 143, .08);
  line-height: 1.7;
}
.cas-rk-pick__top {
  display: flex;
  align-items: center;
  gap: .7em;
  margin-bottom: .8em;
}
.cas-rk-pick__name { display: block; font-family: var(--cas-font-heading); font-weight: 700; font-size: 1.1em; line-height: 1.4; }
.cas-rk-pick__tag {
  display: inline-block;
  margin-top: .2em;
  padding: .1em .7em;
  border-radius: 999px;
  background: var(--cas-pink-pale);
  color: var(--cas-pink-deep);
  font-size: .78em;
  font-weight: 700;
}
.cas-db .cas-rk-pick ul { margin: 0 0 1em !important; }
.cas-rk-pick li {
  position: relative;
  padding-left: 1.3em;
  margin-bottom: .35em;
  font-size: .9em;
}
.cas-rk-pick li::before {
  content: "";
  position: absolute;
  left: .2em;
  top: .62em;
  width: .5em;
  height: .5em;
  border-radius: 50%;
  background: var(--cas-pink);
}
.cas-rk-pick .cas-btn-wrap { margin: auto 0 0; }
.cas-rk-pick .cas-btn {
  margin-top: auto;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: .85em 1em;
  font-size: .95em;
}

/* サービス紹介の見出しカード */
.cas-rk-head {
  display: flex;
  align-items: center;
  gap: 1em;
  margin: 1.2em 0 1.2em;
  padding: 1em 1.1em;
  border-radius: 20px;
  background: linear-gradient(150deg, var(--cas-pink-pale), var(--cas-lav-pale));
}
.cas-rk-head .cas-db-logo { width: 64px; height: 64px; border-radius: 16px; }
.cas-rk-head__body { min-width: 0; }
.cas-rk-head__rank {
  display: inline-block;
  margin-bottom: .25em;
  padding: .1em .8em;
  border-radius: 999px;
  background: var(--cas-pink-deep);
  color: var(--cas-white);
  font-size: .78em;
  font-weight: 700;
}
.cas-rk-head__catch { display: block; font-weight: 700; line-height: 1.6; }
.cas-rk-head__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .35em;
  margin: .5em 0 0;
  padding: 0;
  list-style: none;
}
.cas-rk-head__facts li {
  padding: .15em .7em;
  border-radius: 999px;
  background: var(--cas-white);
  font-size: .78em;
  font-weight: 700;
  color: var(--cas-text);
}

/* 例文 */
.cas-rk-say {
  margin: .4em 0 1.2em;
  padding: .9em 1.1em;
  border-radius: 16px 16px 16px 4px;
  background: var(--cas-lav-pale);
  line-height: 1.8;
}
.cas-rk-say__label {
  display: block;
  margin-bottom: .2em;
  font-size: .8em;
  font-weight: 700;
  color: #7B66B8;
}

/* 脚注 */
.cas-rk-fnref { font-size: .72em; vertical-align: super; line-height: 0; }
.cas-rk-fnref a { text-decoration: none; color: var(--cas-pink-deep); font-weight: 700; }
.post_content .cas-db ol.cas-rk-footnotes,
.cas-db ol.cas-rk-footnotes,
.cas-rk-footnotes {
  list-style: decimal !important;
  margin: 1.2em 0 0;
  padding-left: 1.8em !important;
  font-size: .82em;
  line-height: 1.8;
  color: var(--cas-muted);
  word-break: break-all;
}
.cas-rk-footnotes li { margin-bottom: .6em; scroll-margin-top: 90px; }
.cas-db .cas-rk-footnotes li::marker { content: counter(list-item) ". "; color: var(--cas-pink-deep); font-weight: 700; }
.cas-rk-footnotes a { color: var(--cas-pink-deep); }
.cas-rk-fnback { margin-left: .4em; text-decoration: none; }

.cas-rank--4 { background: var(--cas-pink); }

@media (max-width: 782px) {
  .cas-rk-picks { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .cas-rk-head { align-items: flex-start; padding: .9em; gap: .8em; }
  .cas-rk-head .cas-db-logo { width: 52px; height: 52px; }
}

/* --------------------------------------------------------------------------
   よくある質問（.cas-faq2）— 見出しh3のデザインを打ち消し、Q&Aカードで表示
   -------------------------------------------------------------------------- */
.cas-faq2 {
  display: grid;
  gap: .9em;
  margin: 1.6em 0 2.4em;
}
.cas-faq2__item {
  border-radius: 18px;
  border: 2px solid var(--cas-pink-line);
  background: var(--cas-white);
  overflow: hidden;
}
body .post_content .cas-faq2 h3.cas-faq2__q {
  position: relative;
  margin: 0 !important;
  padding: .95em 1.1em .95em 3.4em !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--cas-pink-pale) !important;
  box-shadow: none !important;
  color: var(--cas-text) !important;
  font-family: inherit;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.6;
  scroll-margin-top: 90px;
}
body .post_content .cas-faq2 h3.cas-faq2__q::before {
  content: "Q" !important;
  position: absolute;
  left: 1em;
  top: .85em;
  bottom: auto;
  width: 1.75em;
  height: 1.75em;
  border-radius: 50%;
  background: var(--cas-pink-deep) !important;
  color: var(--cas-white);
  font-family: var(--cas-font-heading);
  font-size: .95em;
  font-weight: 700;
  line-height: 1.75em;
  text-align: center;
}
body .post_content .cas-faq2 h3.cas-faq2__q::after { content: none !important; }
.cas-faq2__a {
  position: relative;
  padding: .9em 1.1em 1em 3.4em;
  line-height: 1.85;
}
.cas-faq2__a::before {
  content: "A";
  position: absolute;
  left: 1em;
  top: .85em;
  width: 1.75em;
  height: 1.75em;
  border-radius: 50%;
  background: var(--cas-lav-pale);
  border: 2px solid var(--cas-lav);
  box-sizing: border-box;
  color: #7B66B8;
  font-family: var(--cas-font-heading);
  font-size: .95em;
  font-weight: 700;
  line-height: 1.55em;
  text-align: center;
}
.post_content .cas-faq2__a p,
.cas-faq2__a p { margin: 0 !important; }

@media (min-width: 900px) {
  .cas-faq2 { grid-template-columns: repeat(2, 1fr); align-items: start; }
}
@media (max-width: 599px) {
  body .post_content .cas-faq2 h3.cas-faq2__q { padding: .85em .9em .85em 3em !important; font-size: .95em; }
  body .post_content .cas-faq2 h3.cas-faq2__q::before,
  .cas-faq2__a::before { left: .75em; }
  .cas-faq2__a { padding: .8em .9em .9em 3em; }
}

/* --------------------------------------------------------------------------
   パパ活アプリ診断（.cas-shindan）— 質問部分は .cas-db-quiz のデザインを共用
   -------------------------------------------------------------------------- */
.cas-shindan__title-heart { color: var(--cas-pink-deep); }
.cas-db .cas-shindan__list { margin: 0 0 1em; display: grid; gap: .8em; }
.cas-shindan__card {
  padding: 1.1em 1.1em 1.2em;
  border-radius: 18px;
  border: 2px solid var(--cas-db-line, #F3DCE5);
  background: var(--cas-white);
}
.cas-shindan__card.is-top {
  border-color: var(--cas-pink);
  background: linear-gradient(150deg, var(--cas-pink-pale), var(--cas-lav-pale));
  box-shadow: 0 8px 20px rgba(224, 103, 143, .12);
}
.cas-shindan__top { display: flex; align-items: center; gap: .8em; }
.cas-shindan__top .cas-db-logo { width: 56px; height: 56px; border-radius: 14px; }
.cas-shindan__name { display: flex; flex-direction: column; gap: .2em; min-width: 0; }
.cas-shindan__rank {
  align-self: flex-start;
  padding: .1em .8em;
  border-radius: 999px;
  background: var(--cas-pink-deep);
  color: var(--cas-white);
  font-size: .78em;
  font-weight: 700;
}
.cas-shindan__card:not(.is-top) .cas-shindan__rank { background: var(--cas-pink); }
.cas-shindan__brand { font-family: var(--cas-font-heading); font-weight: 700; font-size: 1.2em; line-height: 1.4; }
.post_content .cas-shindan__catch,
.cas-shindan__catch { margin: .7em 0 .5em !important; font-weight: 700; line-height: 1.7; }
.cas-db .cas-shindan__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35em;
  margin: 0 0 .8em !important;
}
.cas-shindan__tags li {
  padding: .2em .75em;
  border-radius: 999px;
  background: var(--cas-mint-pale);
  color: #2F7F69;
  font-size: .8em;
  font-weight: 700;
}
.post_content .cas-shindan__note,
.cas-shindan__note {
  margin: 0 0 .9em !important;
  padding: .55em .8em;
  border-radius: 10px;
  background: var(--cas-coral-pale, #FFF0EE);
  color: var(--cas-text);
  font-size: .8em;
  line-height: 1.7;
}
.cas-shindan__btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  text-align: center;
  padding: .85em 1em;
  font-size: .95em;
}
@media (min-width: 782px) {
  .cas-shindan__card.is-top .cas-shindan__btn { max-width: 420px; margin: 0 auto; }
}

/* --------------------------------------------------------------------------
   おすすめTOP3カード（.cas-top3）
   -------------------------------------------------------------------------- */
.cas-top3 {
  --top3-gold: #E9A93B;
  --top3-silver: #9AA3B2;
  --top3-bronze: #C9825A;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1em;
  align-items: stretch;
  margin: 1.8em 0 1.2em;
}
.cas-top3__card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: var(--cas-white);
  border: 2px solid var(--cas-pink-line);
  box-shadow: 0 10px 24px rgba(224, 103, 143, .10);
  overflow: hidden;
  line-height: 1.7;
}
.cas-top3__card--1 {
  border: 3px solid var(--cas-pink-deep);
  box-shadow: 0 14px 30px rgba(224, 103, 143, .22);
}
/* 上部の帯 */
.cas-top3__ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5em;
  padding: .7em 1em;
  background: linear-gradient(120deg, var(--cas-pink-deep), #F08CAB);
  color: var(--cas-white);
}
.cas-top3__card--2 .cas-top3__ribbon { background: linear-gradient(120deg, #9B86D6, var(--cas-lav)); }
.cas-top3__card--3 .cas-top3__ribbon { background: linear-gradient(120deg, #4FB59A, var(--cas-mint)); }
.cas-top3__no {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  font-family: var(--cas-font-heading);
  font-size: 1.25em;
  font-weight: 700;
  letter-spacing: .04em;
}
.cas-top3__no::before {
  content: "";
  width: 1.1em;
  height: 1.1em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7l4.5 4L12 4l4.5 7L21 7l-2 12H5L3 7z'/%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 24 24'%3E%3Cpath d='M3 7l4.5 4L12 4l4.5 7L21 7l-2 12H5L3 7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cas-top3__label {
  padding: .15em .75em;
  border-radius: 999px;
  background: rgba(255, 255, 255, .25);
  font-size: .8em;
  font-weight: 700;
  white-space: nowrap;
}
.cas-top3__body { display: flex; flex-direction: column; flex: 1; padding: 1.1em 1.1em 1.2em; }
.cas-top3__brand { display: flex; align-items: center; gap: .8em; }
.cas-top3__brand .cas-db-logo { width: 68px; height: 68px; border-radius: 16px; }
.post_content .cas-top3__name,
.cas-top3__name {
  margin: 0 !important;
  font-family: var(--cas-font-heading);
  font-size: 1.3em;
  font-weight: 700;
  line-height: 1.3;
}
.cas-top3__name span { display: block; font-size: .62em; font-weight: 700; color: var(--cas-muted); }
/* おすすめ度 */
.cas-top3__rate {
  display: flex;
  align-items: center;
  gap: .5em;
  margin: .8em 0 .6em;
  padding: .45em .7em;
  border-radius: 12px;
  background: var(--cas-pink-pale);
  font-size: .82em;
  font-weight: 700;
  color: var(--cas-muted);
}
.cas-top3__stars {
  position: relative;
  display: inline-block;
  font-size: 1.25em;
  letter-spacing: .06em;
  line-height: 1;
  color: #E6D9DF;
}
.cas-top3__stars::before { content: "★★★★★"; }
.cas-top3__stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--rate, 5) / 5 * 100%);
  overflow: hidden;
  white-space: nowrap;
  color: #F2B233;
}
.cas-top3__stars-fill::before { content: "★★★★★"; }
.cas-top3__score { font-family: var(--cas-font-heading); font-size: 1.3em; color: var(--cas-pink-deep); }
.post_content .cas-top3__catch,
.cas-top3__catch {
  margin: 0 0 .6em !important;
  font-weight: 700;
  font-size: 1.02em;
  color: var(--cas-text);
}
.cas-db .cas-top3__points { margin: 0 0 1em !important; }
.cas-top3__points li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: .35em;
  font-size: .9em;
  line-height: 1.6;
}
.cas-top3__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .05em;
  width: 1.15em;
  height: 1.15em;
  border-radius: 50%;
  background: var(--cas-mint);
  color: var(--cas-white);
  font-size: .8em;
  font-weight: 700;
  line-height: 1.15em;
  text-align: center;
}
.cas-top3__cta { margin-top: auto; text-align: center; }
.cas-top3__btn {
  position: relative;
  display: block;
  padding: .95em 2.2em .95em 1em;
  border-radius: 999px;
  background: linear-gradient(120deg, #FF7AA2, var(--cas-pink-deep));
  box-shadow: 0 5px 0 #C9557B;
  color: var(--cas-white) !important;
  font-weight: 700;
  font-size: 1em;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cas-top3__btn::after {
  content: "";
  position: absolute;
  right: 1.1em;
  top: 50%;
  width: .55em;
  height: .55em;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.cas-top3__btn:hover { transform: translateY(3px); box-shadow: 0 2px 0 #C9557B; }
.cas-top3__card--1 .cas-top3__btn { animation: cas-top3-pulse 2.4s ease-in-out infinite; }
@keyframes cas-top3-pulse {
  0%, 100% { box-shadow: 0 5px 0 #C9557B, 0 0 0 0 rgba(224, 103, 143, .35); }
  50% { box-shadow: 0 5px 0 #C9557B, 0 0 0 8px rgba(224, 103, 143, 0); }
}
.post_content .cas-top3__micro,
.cas-top3__micro { margin: .5em 0 0 !important; font-size: .75em; font-weight: 700; color: var(--cas-pink-deep); }

@media (max-width: 782px) {
  .cas-top3 { grid-template-columns: 1fr; gap: 1em; }
}
@media (prefers-reduced-motion: reduce) {
  .cas-top3__card--1 .cas-top3__btn { animation: none; }
  .cas-top3__btn { transition: none; }
}

/* --------------------------------------------------------------------------
   ランキング表の順位セル（.cas-rank-cell）— 縦積みでスマホでも窮屈にしない
   -------------------------------------------------------------------------- */
.cas-rank-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35em;
  min-width: 6.2em;
  text-align: center;
}
.cas-rank-badge {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  min-width: 2.6em;
  padding: .2em .7em;
  border-radius: 999px;
  background: var(--cas-pink-pale);
  border: 2px solid var(--cas-pink-line);
  color: var(--cas-pink-deep);
  font-family: var(--cas-font-heading);
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.cas-rank-badge b { font-size: 1.15em; }
.cas-rank-badge small { margin-left: .1em; font-size: .7em; }
.cas-rank-badge--1,
.cas-rank-badge--2,
.cas-rank-badge--3 { border: 0; color: var(--cas-white); padding-top: .25em; padding-bottom: .25em; }
.cas-rank-badge--1 { background: linear-gradient(135deg, #F7CE68, #E5A121); }
.cas-rank-badge--2 { background: linear-gradient(135deg, #D5DAE2, #9AA3B2); }
.cas-rank-badge--3 { background: linear-gradient(135deg, #E8B48F, #C47A4E); }
.cas-rank-badge--1::before,
.cas-rank-badge--2::before,
.cas-rank-badge--3::before {
  content: "";
  position: absolute;
  top: -.75em;
  left: 50%;
  width: 1em;
  height: 1em;
  transform: translateX(-50%);
  background: inherit;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7l4.5 4L12 4l4.5 7L21 7l-2 12H5L3 7z'/%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 24 24'%3E%3Cpath d='M3 7l4.5 4L12 4l4.5 7L21 7l-2 12H5L3 7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cas-rank-cell .cas-db-logo { width: 48px; height: 48px; border-radius: 12px; }
.cas-rank-cell__name { font-weight: 700; font-size: .85em; line-height: 1.4; }
.cas-table td:first-child .cas-rank-cell { margin: .6em auto 0; }

/* 横に広い比較表：スマホでは横スクロールにして列をつぶさない（1列目は固定） */
.cas-table.cas-table--wide { min-width: 780px; }
.cas-table--wide td,
.cas-table--wide th { vertical-align: middle; }
.cas-table--wide td:first-child,
.cas-table--wide th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 7.5em;
  min-width: 7.5em;
  box-shadow: 2px 0 0 var(--cas-pink-line);
}
.cas-table--wide thead th:first-child { z-index: 2; }
.cas-table--wide td:first-child { background: var(--cas-lav-pale); }
@media (max-width: 599px) {
  .cas-table.cas-table--wide { min-width: 700px; font-size: .88em; }
  .cas-table--wide td:first-child,
  .cas-table--wide th:first-child { width: 6.6em; min-width: 6.6em; }
}

/* --------------------------------------------------------------------------
   口コミ（.cas-rv）
   -------------------------------------------------------------------------- */
.cas-rv { margin: 1.2em 0 1.6em; }
.cas-rv__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5em 1em;
  margin-bottom: .9em;
  padding: .9em 1.1em;
  border-radius: 18px;
  background: linear-gradient(120deg, var(--cas-pink-pale), var(--cas-lav-pale));
}
.cas-rv__avg { display: flex; align-items: center; gap: .6em; }
.cas-rv__avg-num { font-family: var(--cas-font-heading); font-size: 2em; font-weight: 700; color: var(--cas-pink-deep); line-height: 1; }
.cas-rv__count { font-size: .85em; font-weight: 700; color: var(--cas-muted); }
.post_content .cas-rv__src,
.cas-rv__src {
  margin: 0 !important;
  padding: .2em .8em;
  border-radius: 999px;
  background: var(--cas-white);
  font-size: .75em;
  font-weight: 700;
  color: var(--cas-muted);
}
.cas-rv__stars {
  position: relative;
  display: inline-block;
  font-size: 1.05em;
  letter-spacing: .05em;
  line-height: 1;
  color: #E6D9DF;
}
.cas-rv__stars::before { content: "★★★★★"; }
.cas-rv__stars > span {
  position: absolute; top: 0; left: 0;
  width: calc(var(--rate, 5) / 5 * 100%);
  overflow: hidden; white-space: nowrap;
  color: #F2B233;
}
.cas-rv__stars > span::before { content: "★★★★★"; }
.cas-rv__avg .cas-rv__stars { font-size: 1.35em; }

.cas-db .cas-rv__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9em;
  margin: 0 !important;
}
.cas-rv__item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1em 1em 1.1em;
  border-radius: 18px;
  border: 2px solid var(--cas-pink-line);
  background: var(--cas-white);
}
.cas-rv__item--neutral { border-color: #E3DBF5; }
.cas-rv__head { display: flex; align-items: center; gap: .6em; }
.cas-rv__avatar {
  flex: 0 0 auto;
  width: 2.6em;
  height: 2.6em;
  border-radius: 50%;
  background: var(--cas-pink);
  color: var(--cas-white);
  font-family: var(--cas-font-heading);
  font-weight: 700;
  line-height: 2.6em;
  text-align: center;
}
.cas-rv__avatar--1 { background: var(--cas-lav); }
.cas-rv__avatar--2 { background: var(--cas-mint); }
.cas-rv__avatar--3 { background: #F2B233; }
.cas-rv__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.cas-rv__name { font-weight: 700; font-size: .95em; }
.cas-rv__attr { font-size: .75em; color: var(--cas-muted); }
.cas-rv__head .cas-rv__stars { margin-left: auto; font-size: .9em; }
/* 吹き出し風の本文 */
.post_content .cas-rv__text,
.cas-rv__text {
  position: relative;
  margin: .8em 0 .7em !important;
  padding: .8em .9em;
  border-radius: 14px;
  background: var(--cas-pink-pale);
  font-size: .9em;
  line-height: 1.8;
}
.cas-rv__item--neutral .cas-rv__text { background: var(--cas-lav-pale); }
.cas-rv__text::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 1.1em;
  border: 8px solid transparent;
  border-top: 0;
  border-bottom-color: var(--cas-pink-pale);
}
.cas-rv__item--neutral .cas-rv__text::before { border-bottom-color: var(--cas-lav-pale); }
.cas-rv__tag {
  align-self: flex-start;
  margin-top: auto;
  padding: .15em .75em;
  border-radius: 999px;
  font-size: .75em;
  font-weight: 700;
  background: var(--cas-pink-pale);
  color: var(--cas-pink-deep);
}
.cas-rv__item--neutral .cas-rv__tag { background: var(--cas-lav-pale); color: #7B66B8; }
.cas-rv__swipe { display: none; }

@media (max-width: 782px) {
  .cas-db .cas-rv__list {
    display: flex;
    gap: .8em;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .5em !important;
  }
  .cas-rv__item { flex: 0 0 82%; scroll-snap-align: start; }
  .post_content .cas-rv__swipe,
  .cas-rv__swipe { display: block; margin: .4em 0 0 !important; font-size: .75em; color: var(--cas-muted); text-align: right; }
}

/* --------------------------------------------------------------------------
   目的別の早見チャート（.cas-flow）
   -------------------------------------------------------------------------- */
.cas-flow {
  margin: 1.6em 0 1.8em;
  padding: 1.4em 1.2em 1.2em;
  border-radius: 26px;
  background:
    radial-gradient(circle, rgba(244, 163, 190, .22) 1.5px, transparent 1.6px) 0 0 / 16px 16px,
    var(--cas-white);
  border: 2px dashed var(--cas-pink-line);
}
/* 質問の吹き出し */
.cas-flow__q {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  max-width: 560px;
  margin: 0 auto 1.8em;
  padding: .9em 1.4em;
  border-radius: 999px;
  background: var(--cas-white);
  box-shadow: 0 0 0 3px var(--cas-pink-deep), 0 10px 22px rgba(224, 103, 143, .18);
}
.cas-flow__q::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  border: 12px solid transparent;
  border-bottom: 0;
  border-top-color: var(--cas-pink-deep);
}
.cas-flow__q-mark {
  flex: 0 0 auto;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background: var(--cas-pink-deep);
  color: var(--cas-white);
  font-family: var(--cas-font-heading);
  font-weight: 700;
  line-height: 2em;
  text-align: center;
}
.post_content .cas-flow__q-text,
.cas-flow__q-text { margin: 0 !important; font-family: var(--cas-font-heading); font-weight: 700; font-size: 1.1em; }

/* ルート（3列） */
.cas-flow__routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; }
.cas-flow__route {
  --flow-c: var(--cas-pink-deep);
  --flow-pale: var(--cas-pink-pale);
  position: relative;
  padding: 2.2em .9em 1em;
  border-radius: 20px;
  background: var(--flow-pale);
}
.cas-flow__route--lav { --flow-c: #8A73C9; --flow-pale: var(--cas-lav-pale); }
.cas-flow__route--mint { --flow-c: #3FA98A; --flow-pale: var(--cas-mint-pale); }
.cas-flow__route-head { text-align: center; margin-bottom: .9em; }
.cas-flow__icon {
  position: absolute;
  top: -1.1em;
  left: 50%;
  transform: translateX(-50%);
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  background: var(--cas-white);
  border: 3px solid var(--flow-c);
  font-size: 1.1em;
  line-height: 2.1em;
  text-align: center;
}
.cas-flow__route-no {
  display: inline-block;
  padding: .05em .7em;
  border-radius: 999px;
  background: var(--flow-c);
  color: var(--cas-white);
  font-size: .7em;
  font-weight: 700;
  letter-spacing: .12em;
}
.post_content .cas-flow__route-title,
.cas-flow__route-title { margin: .35em 0 0 !important; font-family: var(--cas-font-heading); font-weight: 700; font-size: 1em; line-height: 1.5; color: var(--cas-text); }

/* 分岐（左の点線でつないだカード） */
.cas-flow__branches { position: relative; padding-left: 1em; }
.cas-flow__branches::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.4em;
  bottom: 2.6em;
  border-left: 2px dashed var(--flow-c);
  opacity: .45;
}
.cas-flow__branch {
  position: relative;
  margin: 0 0 .8em;
  padding: .8em .8em .85em;
  border-radius: 14px;
  background: var(--cas-white);
  box-shadow: 0 4px 12px rgba(75, 59, 69, .06);
}
.cas-flow__branch:last-child { margin-bottom: 0; }
.cas-flow__branch::after {
  content: "";
  position: absolute;
  left: -1.4em;
  top: 1em;
  width: .8em;
  height: .8em;
  border-radius: 50%;
  background: var(--flow-c);
  box-shadow: 0 0 0 3px var(--flow-pale);
}
.post_content .cas-flow__if,
.cas-flow__if { margin: 0 0 .6em !important; font-size: .85em; font-weight: 700; line-height: 1.6; }
.cas-flow__if-label {
  display: inline-block;
  margin-right: .4em;
  padding: 0 .5em;
  border-radius: 6px;
  background: var(--flow-pale);
  color: var(--flow-c);
  font-size: .85em;
}
.cas-flow__apps { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; }
.cas-flow__app {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3em;
  padding: .6em .4em .5em;
  border-radius: 12px;
  border: 2px solid var(--flow-pale);
  background: var(--cas-white);
  color: var(--cas-text) !important;
  text-decoration: none !important;
  transition: border-color .15s ease, transform .15s ease;
}
.cas-flow__app::after {
  content: "›";
  position: absolute;
  right: .45em;
  top: .3em;
  color: var(--flow-c);
  font-weight: 700;
}
.cas-flow__app:hover { border-color: var(--flow-c); transform: translateY(-2px); }
.cas-flow__app:focus-visible { outline: 3px solid var(--cas-lav); outline-offset: 2px; }
.cas-flow__app .cas-db-logo { width: 44px; height: 44px; border-radius: 12px; }
.cas-flow__app-name { font-size: .78em; font-weight: 700; line-height: 1.3; text-align: center; white-space: nowrap; }
.cas-flow__warn { color: #E04A5A; margin-left: .1em; }

.post_content .cas-flow__tip,
.cas-flow__tip {
  margin: 1.2em 0 .5em !important;
  padding: .8em 1em;
  border-radius: 14px;
  background: var(--cas-pink-pale);
  font-size: .9em;
  line-height: 1.7;
}
.cas-flow__tip b {
  display: inline-block;
  margin-right: .5em;
  padding: 0 .6em;
  border-radius: 999px;
  background: var(--cas-pink-deep);
  color: var(--cas-white);
  font-size: .85em;
}
.post_content .cas-flow__note,
.cas-flow__note { margin: 0 !important; font-size: .75em; line-height: 1.7; color: var(--cas-muted); }

@media (max-width: 782px) {
  .cas-flow { padding: 1.2em .8em 1em; }
  .cas-flow__routes { grid-template-columns: 1fr; gap: 1.8em; }
  .cas-flow__q { padding: .8em 1em; margin-bottom: 2.4em; }
  .cas-flow__q-text { font-size: 1em; }
}
@media (prefers-reduced-motion: reduce) { .cas-flow__app { transition: none; } }

/* --------------------------------------------------------------------------
   ステップ（.cas-step2）— 番号バッジ＋点線でつないだカード。見出しh3の装飾は打ち消す
   -------------------------------------------------------------------------- */
.cas-step2 { margin: 1.6em 0 2em; }
.cas-step2__item {
  --step-c: var(--cas-pink-deep);
  --step-c2: #F08CAB;
  --step-pale: var(--cas-pink-pale);
  position: relative;
  display: grid;
  grid-template-columns: 4.4em 1fr;
  gap: 1em;
  padding-bottom: 1.3em;
}
.cas-step2__item--1 { --step-c: #8A73C9; --step-c2: var(--cas-lav); --step-pale: var(--cas-lav-pale); }
.cas-step2__item--2 { --step-c: #3FA98A; --step-c2: var(--cas-mint); --step-pale: var(--cas-mint-pale); }
.cas-step2__item:last-child { padding-bottom: 0; }
.cas-step2__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 2.2em;
  top: 4.6em;
  bottom: .2em;
  border-left: 3px dotted var(--cas-pink);
  transform: translateX(-50%);
}
.cas-step2__num {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 4.4em;
  height: 4.4em;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--step-c2), var(--step-c));
  box-shadow: 0 0 0 5px var(--step-pale), 0 6px 14px rgba(75, 59, 69, .12);
  color: var(--cas-white);
  line-height: 1;
}
.cas-step2__num span { font-size: .62em; font-weight: 700; letter-spacing: .12em; }
.cas-step2__num b { font-family: var(--cas-font-heading); font-size: 1.7em; margin-top: .05em; }
.cas-step2__card {
  position: relative;
  padding: 1em 1.2em 1.1em;
  border-radius: 18px;
  border: 2px solid var(--step-pale);
  background: var(--cas-white);
  box-shadow: 0 6px 16px rgba(224, 103, 143, .07);
}
.cas-step2__card::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 1.5em;
  border: 9px solid transparent;
  border-left: 0;
  border-right-color: var(--step-pale);
}
body .post_content .cas-step2 h3.cas-step2__title {
  margin: 0 0 .5em !important;
  padding: 0 0 .5em !important;
  border: 0 !important;
  border-bottom: 2px dashed var(--step-pale) !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--step-c) !important;
  font-family: var(--cas-font-heading);
  font-size: 1.08em;
  font-weight: 700;
  line-height: 1.55;
}
body .post_content .cas-step2 h3.cas-step2__title::before,
body .post_content .cas-step2 h3.cas-step2__title::after { content: none !important; }
.cas-step2__sr {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.post_content .cas-step2__text,
.cas-step2__text { margin: 0 !important; font-size: .95em; line-height: 1.85; }

@media (max-width: 599px) {
  .cas-step2__item { grid-template-columns: 3.4em 1fr; gap: .8em; }
  .cas-step2__num { width: 3.4em; height: 3.4em; box-shadow: 0 0 0 4px var(--step-pale); }
  .cas-step2__num b { font-size: 1.35em; }
  .cas-step2__item:not(:last-child)::before { left: 1.7em; top: 3.6em; }
  .cas-step2__card { padding: .9em .95em 1em; }
}

/* --------------------------------------------------------------------------
   進んでいく6ステップ（.cas-journey）— 上に全体マップ、各カードに進み具合のバー
   -------------------------------------------------------------------------- */
.cas-journey { margin: 1.6em 0 2em; }
/* 全体マップ */
.cas-db .cas-journey__map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 0 0 1.4em !important;
  padding: 1em .4em .8em !important;
  border-radius: 18px;
  background: linear-gradient(120deg, var(--cas-pink-pale), var(--cas-lav-pale));
}
.cas-journey__map::before {
  content: "";
  position: absolute;
  left: 8.33%;
  right: 8.33%;
  top: 1.95em;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cas-pink), var(--cas-lav), var(--cas-mint));
}
.cas-journey__map-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35em;
  text-align: center;
}
.cas-journey__map-dot {
  position: relative;
  z-index: 1;
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  background: var(--cas-white);
  border: 3px solid var(--cas-pink-deep);
  color: var(--cas-pink-deep);
  font-family: var(--cas-font-heading);
  font-weight: 700;
  font-size: .9em;
  line-height: 1.55em;
}
.cas-journey__map-item:last-child .cas-journey__map-dot { background: var(--cas-pink-deep); color: var(--cas-white); }
.cas-journey__map-label { font-size: .72em; font-weight: 700; line-height: 1.35; color: var(--cas-text); }

/* ステップカード */
.cas-db .cas-journey__steps { margin: 0 !important; display: grid; gap: 1.6em; }
.cas-journey__step {
  position: relative;
  padding: 1em 1.2em 1.1em;
  border-radius: 18px;
  background: var(--cas-white);
  border: 2px solid var(--cas-pink-line);
  box-shadow: 0 6px 16px rgba(224, 103, 143, .07);
}
/* 次のステップへの矢印 */
.cas-journey__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.45em;
  width: 1.3em;
  height: 1.3em;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--cas-pink-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 70% no-repeat;
  box-shadow: 0 0 0 4px var(--cas-white);
}
.cas-journey__meta { display: flex; align-items: center; gap: .7em; margin-bottom: .55em; }
.cas-journey__label {
  flex: 0 0 auto;
  padding: .15em .75em;
  border-radius: 999px;
  background: var(--cas-pink-deep);
  color: var(--cas-white);
  font-size: .78em;
  font-weight: 700;
  letter-spacing: .06em;
}
.cas-journey__label b { font-size: 1.2em; }
.cas-journey__label small { opacity: .8; }
.cas-journey__bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: var(--cas-pink-pale);
  overflow: hidden;
}
.cas-journey__bar span {
  display: block;
  width: var(--p, 0%);
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cas-pink), var(--cas-pink-deep));
}
.cas-journey__pct { flex: 0 0 auto; font-size: .75em; font-weight: 700; color: var(--cas-pink-deep); }
body .post_content .cas-journey h3.cas-journey__title {
  margin: 0 0 .45em !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--cas-text) !important;
  font-family: var(--cas-font-heading);
  font-size: 1.08em;
  font-weight: 700;
  line-height: 1.55;
}
body .post_content .cas-journey h3.cas-journey__title::before,
body .post_content .cas-journey h3.cas-journey__title::after { content: none !important; }
.post_content .cas-journey__text,
.cas-journey__text { margin: 0 !important; font-size: .95em; line-height: 1.85; }
/* ゴール */
.cas-journey__step--goal {
  border: 3px solid var(--cas-pink-deep);
  background: linear-gradient(150deg, var(--cas-pink-pale), var(--cas-white) 60%);
}
.cas-journey__step--goal .cas-journey__bar span { background: linear-gradient(90deg, var(--cas-pink), var(--cas-mint)); }
.cas-journey__goal {
  flex: 0 0 auto;
  padding: .15em .7em .15em 1.5em;
  border-radius: 6px;
  background: var(--cas-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M5 3h2v18H5zM8 4h11l-2.5 4L19 12H8z'/%3E%3C/svg%3E") .4em center / .95em no-repeat;
  color: var(--cas-white);
  font-size: .72em;
  font-weight: 700;
  letter-spacing: .1em;
}

@media (max-width: 599px) {
  .cas-db .cas-journey__map { grid-template-columns: repeat(3, 1fr); row-gap: .9em; }
  .cas-journey__map::before { display: none; }
  .cas-journey__step { padding: .9em .95em 1em; }
  .cas-journey__pct { display: none; }
}
