/*
 * セラミィ — セラピストのページ（キャスコレのキャストページの形・2026-11）
 * 白い段（.tm-sec）を縦に並べる。色はセラミィのピンクと紫。
 */

body .tm-cast {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px 150px;
  box-sizing: border-box;
  color: var(--tm-text, #4A4A4F);
  background: transparent;
}
body .tm-cast *,
body .tm-cast *::before,
body .tm-cast *::after {
  box-sizing: border-box;
}

/* ---------- カード ---------- */
body .tm-cast .custom-profile-deck-section {
  margin: 6px 0 16px;
  padding-top: 18px;
}
body .tm-cast .custom-profile-tcard-back-orb {
  background: radial-gradient(circle at 36% 30%, rgba(233, 82, 142, .55), rgba(125, 64, 160, .30) 52%, transparent 72%);
}
body .tm-cast .custom-profile-tcard-hp-heart {
  fill: var(--tm-pink, #E9528E);
}

/* ---------- 名前と口コミ ---------- */
.tm-cast-head {
  text-align: center;
  margin: 0 0 18px;
}
.tm-cast-head__store {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 8px;
  padding: 4px 14px;
  border: 1px solid rgba(125, 64, 160, .32);
  border-radius: 999px;
  color: var(--tm-purple, #7D40A0);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body .tm-cast .tm-cast-head__name {
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tm-text, #4A4A4F);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .02em;
  text-align: center;
}
.tm-cast-head__age {
  margin-left: 2px;
  color: var(--tm-text-sub, #7A7A80);
  font-size: 16px;
  font-weight: 500;
}
.tm-cast-head__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tm-text-sub, #7A7A80);
  font-size: 13px;
  text-decoration: none;
}
.tm-cast-head__rating b {
  color: var(--tm-text, #4A4A4F);
  font-size: 15px;
}
.tm-cast-head__rating > span:last-child {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ★ */
.tm-cast-stars {
  display: inline-flex;
  gap: 1px;
  line-height: 1;
}
.tm-cast-stars > span {
  color: #D9D9DE;
  font-size: 16px;
  line-height: 1;
}
.tm-cast-stars > span.is-active {
  color: #F5A623;
}
.tm-cast-stars > span.is-half {
  background: linear-gradient(90deg, #F5A623 50%, #D9D9DE 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tm-cast-stars--l > span {
  font-size: 24px;
}

/* ---------- ［話してみる］［予約］（キャスコレの2つ並び） ---------- */
body .tm-cast .tm-cast-cta {
  display: flex;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: stretch;
  align-items: center;
  gap: 14px !important;
  margin: 0 0 14px !important;
  padding-top: 14px;
}
body .tm-cast .tm-cast-cta > button {
  margin: 0 !important;
}
body .tm-cast .tm-cast-cta > .cup-display-therapist-matching-btn,
body .tm-cast .tm-cast-cta > .cup-display-therapist-message-btn,
body .tm-cast .tm-cast-cta > .custom-therapist-reservation-button {
  position: relative;
  order: 1;
  flex: 1 1 0;
  min-width: 0;
  width: auto !important;
  max-width: none !important;
  height: 48px !important;
  padding: 0 8px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, opacity .2s ease;
}
body .tm-cast .tm-cast-cta > button:active {
  transform: scale(.98);
}
/* 左：話してみる／メッセージ（白地に紫の線） */
body .tm-cast .tm-cast-cta > .cup-display-therapist-matching-btn,
body .tm-cast .tm-cast-cta > .cup-display-therapist-message-btn {
  border: 1px solid var(--tm-purple, #7D40A0) !important;
  background: #fff !important;
  color: var(--tm-purple, #7D40A0) !important;
}
body .tm-cast .tm-cast-cta .cup-display-therapist-matching-btn-char1 {
  display: none;
}
body .tm-cast .tm-cast-cta .cup-display-therapist-matching-btn-char2 {
  color: var(--tm-purple, #7D40A0);
  font-size: 15px;
  font-weight: 700;
}
body .tm-cast .tm-cast-cta > .cup-display-therapist-matching-btn::before,
body .tm-cast .tm-cast-cta > .cup-display-therapist-message-btn::before,
body .tm-cast .tm-cast-cta > .custom-therapist-reservation-button::before {
  display: none !important;
}
body .tm-cast .tm-cast-cta > .cup-display-therapist-matching-btn::after,
body .tm-cast .tm-cast-cta > .cup-display-therapist-message-btn::after {
  content: 'トークができる!';
  position: absolute;
  top: -13px;
  right: 50%;
  transform: translateX(50%);
  padding: 2px 8px;
  border: 1px solid var(--tm-purple, #7D40A0);
  border-radius: 10px;
  background: #fff;
  color: var(--tm-purple, #7D40A0);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}
body .tm-cast .tm-cast-cta > .cup-display-therapist-message-btn::after {
  content: 'マッチング中';
}
/* 右：予約（ピンクの地） */
body .tm-cast .tm-cast-cta > .custom-therapist-reservation-button {
  order: 2;
  border: 0 !important;
  background: var(--tm-pink, #E9528E) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(233, 82, 142, .25);
}
body .tm-cast .tm-cast-cta > .custom-therapist-reservation-button-lite {
  background: var(--tm-purple, #7D40A0) !important;
  box-shadow: 0 8px 20px rgba(125, 64, 160, .22);
}
body .tm-cast .tm-cast-cta > .custom-therapist-reservation-button:disabled {
  background: #C9C9CE !important;
  box-shadow: none;
}
body .tm-cast .custom-therapist-reservation-button-standard::after {
  content: 'ポイントが使える!';
  top: -13px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}
body .tm-cast .custom-therapist-reservation-button:disabled::after {
  display: none;
}
body .tm-cast .tm-cast-cta > .cup-display-therapist-delete-matching-btn {
  order: 3;
  flex: 1 1 100%;
  margin: -4px 0 0 !important;
  padding: 2px 0;
  border: 0;
  background: none;
  color: var(--tm-text-weak, #A6A6AC);
  font-size: 12px;
  text-align: center;
}
body .tm-cast .tm-cast-cta > .tm-cast-cta__about {
  order: 4;
  flex: 1 1 100%;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin: -4px 0 0 !important;
  padding: 2px 0;
  border: 0;
  background: none;
  color: var(--tm-text-sub, #7A7A80);
  font-size: 12px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body .tm-cast .tm-cast-cta > .tm-cast-cta__about img {
  display: none;
}
/* 割引のチケット */
body .tm-cast .tm-tickets {
  margin: 4px 0 22px;
}

/* ---------- 白い段 ---------- */
body .tm-cast .tm-sec {
  margin: 0 0 24px;
  padding: 16px;
  border: 1px solid var(--tm-line, #ECECF0);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(18, 18, 23, .07);
}
body .tm-cast .tm-sec__title {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tm-text, #4A4A4F);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}
body .tm-cast .tm-sec__title::before,
body .tm-cast .tm-sec__title::after {
  display: none;
}
.tm-cast-empty {
  margin: 0;
  color: var(--tm-text-weak, #A6A6AC);
  font-size: 13px;
}
.tm-cast-empty--center {
  text-align: center;
  padding: 8px 0;
}
.tm-cast-more {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 13px 16px;
  border: 1px solid var(--tm-purple, #7D40A0);
  border-radius: 999px;
  background: #fff;
  color: var(--tm-purple, #7D40A0);
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.tm-cast-more[hidden] {
  display: none;
}

/* ---------- 基本情報 ---------- */
.tm-cast-basic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.tm-cast-basic__store,
.tm-cast-basic__wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(17, 17, 17, .07);
  border-radius: 17px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}
.tm-cast-basic__store img,
.tm-cast-basic__store-noimg {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.tm-cast-basic__store-noimg {
  display: grid;
  place-items: center;
  background: var(--tm-purple-soft, #F3E7FD);
  color: var(--tm-purple, #7D40A0);
  font-size: 20px;
  font-weight: 700;
}
.tm-cast-basic__store-texts {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.tm-cast-basic__store-name {
  overflow: hidden;
  color: var(--tm-text, #4A4A4F);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tm-cast-basic__store-sub {
  color: var(--tm-text-sub, #7A7A80);
  font-size: 12px;
}
.tm-cast-basic__chev {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--tm-text-weak, #A6A6AC);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tm-cast-basic__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 11px 8px 12px;
  border: 1px solid rgba(17, 17, 17, .07);
  border-radius: 17px;
  background: #fff;
  font: inherit;
  text-align: left;
}
.tm-cast-basic__item--btn {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.tm-cast-basic__label {
  color: var(--tm-text-sub, #7A7A80);
  font-size: 12px;
  line-height: 1.3;
}
.tm-cast-basic__value {
  color: var(--tm-text, #4A4A4F);
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
  word-break: break-word;
}
.tm-cast-basic__value.is-link {
  color: var(--tm-purple, #7D40A0);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tm-cast-basic__wide .tm-cast-basic__label {
  flex: none;
  width: 70px;
}
.tm-cast-basic__value--left {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.tm-cast-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tm-cast-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--tm-text, #4A4A4F);
  border-radius: 999px;
  background: #fff;
  color: var(--tm-text, #4A4A4F);
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
}

/* ---------- 自己紹介 ---------- */
body .tm-cast .tm-cast-intro {
  margin: 0;
  padding: 0;
  color: var(--tm-text, #4A4A4F);
  font-size: 14px;
  line-height: 1.85;
  word-break: break-word;
}
body .tm-cast .tm-cast-intro a {
  color: var(--tm-purple, #7D40A0);
  word-break: break-all;
}

/* ---------- 口コミ分析 ---------- */
.tm-cast-summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 14px 0 20px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(125, 64, 160, .06);
}
.tm-cast-summary__score {
  color: var(--tm-purple, #7D40A0);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}
.tm-cast-summary__detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tm-cast-summary__count {
  color: var(--tm-text, #4A4A4F);
  font-size: 14px;
}
.tm-cast-summary__bubble {
  position: absolute;
  top: -15px;
  right: 14px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--tm-purple, #7D40A0);
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(125, 64, 160, .22);
  animation: tm-cast-bubble 1.8s ease-in-out infinite;
}
.tm-cast-summary__bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 20px;
  border-style: solid;
  border-width: 9px 9px 0 0;
  border-color: var(--tm-purple, #7D40A0) transparent transparent transparent;
  transform: skew(-8deg);
}
@keyframes tm-cast-bubble {
  50% { transform: translateY(-4px); }
}
.tm-cast-analysis {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 22px;
}
body .tm-cast .tm-cast-analysis__title {
  margin: 0 0 14px;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid var(--tm-text, #4A4A4F);
  background: none;
  color: var(--tm-text, #4A4A4F);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}
.tm-cast-analysis__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tm-cast-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}
.tm-cast-chip.is-level-1 { background: var(--tm-fill, #F4F4F7); color: var(--tm-text, #4A4A4F); }
.tm-cast-chip.is-level-2 { background: var(--tm-purple-soft, #F3E7FD); color: var(--tm-text, #4A4A4F); }
.tm-cast-chip.is-level-3 { background: #DCC3EE; color: #3E2350; }
.tm-cast-chip.is-level-4 { background: var(--tm-purple-mid, #9E6CBB); color: #fff; }
.tm-cast-chip.is-level-5 { background: var(--tm-purple, #7D40A0); color: #fff; font-weight: 600; }

body .tm-cast .tm-cast-latest__title {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tm-text, #4A4A4F);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}
.tm-cast-reviews {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tm-cast-review {
  padding: 14px 16px;
  border: 1px solid var(--tm-line, #ECECF0);
  border-radius: 16px;
  background: #fff;
}
.tm-cast-review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.tm-cast-review__head time {
  color: var(--tm-text-sub, #7A7A80);
  font-size: 12px;
}
.tm-cast-review__body {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--tm-text, #4A4A4F);
  font-size: 14px;
  line-height: 1.75;
  word-break: break-word;
}
.tm-cast-review__body.is-empty {
  color: var(--tm-text-weak, #A6A6AC);
  font-size: 13px;
}

/* ---------- 出勤スケジュール ---------- */
body .tm-cast #therapist-reservation-section {
  align-items: stretch;
}
body .tm-cast #weekly-schedule-shortcode {
  margin-bottom: 4px;
}
body .tm-cast .tm-cast-shift__btn {
  width: 100% !important;
  max-width: none !important;
  height: 48px !important;
  margin: 24px 0 0 !important;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}
body .tm-cast .tm-cast-shift__btn::before {
  display: none;
}

/* ---------- 質問 ---------- */
.tm-cast-qa__item {
  margin: 0 0 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(125, 64, 160, .45);
}
.tm-cast-qa__item:last-child {
  margin-bottom: 0;
  padding-bottom: 4px;
  border-bottom: 0;
}
body .tm-cast .tm-cast-qa__q {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tm-purple, #7D40A0);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
body .tm-cast .tm-cast-qa__a {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--tm-text, #4A4A4F);
  font-size: 14px;
  line-height: 1.8;
  word-break: break-word;
}

/* ---------- セラログ ---------- */
body .tm-cast .tm-cast-theralog #theralog {
  display: block;
  min-height: 60px;
  padding: 0;
  background: none;
}
body .tm-cast .tm-cast-theralog #theralog-posts-container.is-collapsed > .cup-display-theralog-card:nth-child(n+4) {
  display: none;
}
body .tm-cast .tm-cast-theralog #theralog-posts-container:empty::before {
  content: "";
  display: block;
  height: 80px;
  border-radius: 14px;
  background: linear-gradient(90deg, #F4F4F7 25%, #ECECF0 50%, #F4F4F7 75%);
  background-size: 200% 100%;
  animation: tm-cast-skel 1.2s ease-in-out infinite;
}
@keyframes tm-cast-skel {
  to { background-position: -200% 0; }
}

/* ---------- 同じお店のセラピスト ---------- */
.tm-cast-cards {
  margin: 0 0 24px;
}
.tm-cast-cards__slider {
  margin: 0 -16px;
  padding: 2px 16px 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding-left: 16px;
  scrollbar-width: thin;
}
.tm-cast-cards__track {
  display: flex;
  gap: 12px;
  width: max-content;
}
.tm-cast-card {
  flex: none;
  width: 136px;
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start;
}
.tm-cast-card__img {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(#F3E7FD, #FDEAF2);
  box-shadow: 0 10px 30px rgba(18, 18, 23, .07);
}
.tm-cast-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tm-cast-card__name {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  color: var(--tm-text, #4A4A4F);
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ---------- SNS ---------- */
.tm-cast-sns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tm-cast-sns__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 7px;
  border: 1px solid var(--tm-line, #ECECF0);
  border-radius: 999px;
  color: var(--tm-text, #4A4A4F);
  font-size: 13px;
  text-decoration: none;
}
.tm-cast-sns__item img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- 下に固定のボタン（キャスコレのように浮かせる） ---------- */
body:has(.tm-cast) .tm-sticky-cta {
  gap: 14px;
  padding: 8px 16px 12px;
  border-top: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body:has(.tm-cast) .tm-sticky-cta__btn {
  height: 48px;
  font-size: 15px;
  font-weight: 700;
  background: #fff;
  box-shadow: 0 8px 22px rgba(30, 18, 40, .18);
}
body:has(.tm-cast) .tm-sticky-cta__btn.is-primary {
  background: var(--tm-pink, #E9528E);
  box-shadow: 0 8px 22px rgba(233, 82, 142, .32);
}

@media (prefers-reduced-motion: reduce) {
  .tm-cast-summary__bubble,
  body .tm-cast .tm-cast-theralog #theralog-posts-container:empty::before {
    animation: none;
  }
}

/* ---------- ページ全体をスクロールさせる（前のページの決まりと同じ） ---------- */
@media (max-width: 767px) {
  html.therame-user,
  body.therame-user {
    overflow: auto !important;
  }
  body.therame-user .lp__main.lp__main-lower {
    height: auto !important;
    overflow: visible !important;
  }
}

/* ---------- 店舗のページ ---------- */
body .tm-cast .tm-cast-cta--single > .cup-display-store-message-btn {
  position: relative;
  flex: 1 1 100%;
  width: 100% !important;
  max-width: none !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--tm-pink, #E9528E) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(233, 82, 142, .25);
  cursor: pointer;
}
body .tm-cast .tm-cast-cta--single > .cup-display-store-message-btn::before {
  display: none !important;
}
body .tm-cast .tm-cast-cta--single > .cup-display-store-message-btn::after {
  content: '予約の前に相談できる!';
  position: absolute;
  top: -13px;
  right: 50%;
  transform: translateX(50%);
  padding: 2px 8px;
  border: 1px solid var(--tm-pink, #E9528E);
  border-radius: 10px;
  background: #fff;
  color: var(--tm-pink, #E9528E);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}
.tm-sec__count {
  margin-left: 8px;
  color: var(--tm-text-sub, #7A7A80);
  font-size: 13px;
  font-weight: 400;
}
.tm-cast-ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tm-cast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
}
.tm-cast-card--grid {
  width: auto;
}
.tm-cast-card__img {
  position: relative;
}
.tm-cast-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(125, 64, 160, .92);
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
}
.tm-cast-card__badge.is-today {
  background: var(--tm-pink, #E9528E);
}
.tm-cast-table-wrap {
  overflow-x: auto;
}
.tm-cast-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.tm-cast-table th,
.tm-cast-table td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--tm-line, #ECECF0);
  color: var(--tm-text, #4A4A4F);
  text-align: left;
  vertical-align: top;
}
.tm-cast-table th {
  color: var(--tm-text-sub, #7A7A80);
  font-size: 12px;
  font-weight: 500;
  background: var(--tm-fill, #F4F4F7);
}
.tm-cast-table td:last-child,
.tm-cast-table th:last-child {
  text-align: right;
  white-space: nowrap;
}
.tm-cast-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.tm-cast-pay__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--tm-line, #ECECF0);
  border-radius: 999px;
  font-size: 12px;
}
.tm-cast-pay__item img {
  height: 16px;
  width: auto;
}
.tm-cast-head__rating.is-none {
  color: var(--tm-text-weak, #A6A6AC);
}

.tm-cast-table td:not(:first-child) {
  white-space: nowrap;
}

#store-therapists {
  scroll-margin-top: 80px;
}

/* ---------- 口コミのページ（キャスコレの口コミ一覧の形） ---------- */
body .tm-cast--reviews {
  padding-top: 8px;
}
body .tm-cast--reviews .crl-page-content {
  padding: 0;
  background: none;
}
body .tm-cast--reviews .crl-tm-title {
  position: relative;
  margin: 18px 0 26px;
  padding: 0 0 10px;
  color: var(--tm-text, #4A4A4F);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
body .tm-cast--reviews .crl-tm-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 3px;
  margin-left: -24px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--tm-pink, #E9528E), var(--tm-purple, #7D40A0));
}
.crl-tm-who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  color: inherit;
  text-decoration: none;
}
.crl-tm-who__img {
  flex: none;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
}
.crl-tm-who__texts {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.crl-tm-who__label {
  color: var(--tm-text-sub, #7A7A80);
  font-size: 12px;
}
.crl-tm-who__name {
  overflow: hidden;
  color: var(--tm-text, #4A4A4F);
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
body .tm-cast--reviews .crl-tm-head .tm-cast-summary {
  margin: 0;
}
.crl-tm-dist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.crl-tm-dist__row {
  display: grid;
  grid-template-columns: 34px 1fr 36px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.crl-tm-dist__label {
  color: var(--tm-text, #4A4A4F);
}
.crl-tm-dist__bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--tm-fill, #F4F4F7);
}
.crl-tm-dist__bar i {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tm-pink, #E9528E), var(--tm-purple, #7D40A0));
}
.crl-tm-dist__num {
  color: var(--tm-text-sub, #7A7A80);
  text-align: right;
}
body .tm-cast--reviews .crl-tm-list-title {
  margin: 4px 2px 12px;
  padding: 0;
  border: 0;
  color: var(--tm-text, #4A4A4F);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}
body .tm-cast--reviews .crl-search-container {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}
body .tm-cast--reviews .crl-sort-radio-group-section {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
}
body .tm-cast--reviews .crl-sort-radio-group {
  flex: none;
  width: auto;
}
body .tm-cast--reviews .crl-sort-radio-group .radio-label {
  display: inline-block;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 8px 14px;
  border: 1px solid #C9C9CE;
  border-radius: 999px;
  background: #fff;
  color: var(--tm-text-sub, #7A7A80);
  font-size: 13px;
  line-height: 1.2;
}
body .tm-cast--reviews .crl-sort-radio-group input:checked + .radio-label {
  border-color: var(--tm-purple, #7D40A0);
  background: var(--tm-purple, #7D40A0);
  color: #fff;
}
body .tm-cast--reviews .crl-reviews-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
}
body .tm-cast--reviews .crl-review {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--tm-line, #ECECF0);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 18, 23, .06);
}
body .tm-cast--reviews .crl-review .crl-review-text,
body .tm-cast--reviews .crl-review .crl-review-textarea {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tm-text, #4A4A4F);
  font-size: 14px;
  line-height: 1.8;
}
body .tm-cast--reviews .crl-report-btn {
  width: auto;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--tm-line, #ECECF0);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
}
body .tm-cast--reviews .crl-review .crl-review-text,
body .tm-cast--reviews .crl-review .crl-review-textarea {
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
}
body .tm-cast--reviews .crl-star-rating .star,
body .tm-cast--reviews .crl-star-rating span {
  color: #D9D9DE;
}
body .tm-cast--reviews .crl-star-rating .star.selected,
body .tm-cast--reviews .crl-star-rating .star.half-selected {
  color: #F5A623;
}

/* ---------- 本人が自分のページを見たとき ---------- */
body .tm-cast .tm-cast-cta--owner {
  gap: 12px !important;
}
.tm-cast-owner-btn {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 8px;
  border: 1px solid var(--tm-purple, #7D40A0);
  border-radius: 999px;
  background: #fff;
  color: var(--tm-purple, #7D40A0);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.tm-cast-owner-btn.is-primary {
  border-color: var(--tm-pink, #E9528E);
  background: var(--tm-pink, #E9528E);
  color: #fff;
}
.tm-cast-owner-note {
  flex: 1 1 100%;
  margin: 0;
  color: var(--tm-text-sub, #7A7A80);
  font-size: 12px;
  text-align: center;
}

/* パソコン：下のタブの上に浮かせる（列に合わせる位置は tm-cast.js） */
@media (min-width: 768px) {
  body:has(.tm-cast) .tm-sticky-cta {
    bottom: calc(var(--tm-tabbar-h, 64px) + env(safe-area-inset-bottom, 0px));
    border-radius: 0;
  }
}

body:has(.tm-cast) .tm-sticky-cta {
  box-sizing: border-box;
}

/* 道しるべの下を詰める・対応エリアのリンク */
body .tm-cast > .tm-crumbs {
  margin: 10px 0 0;
}
body .tm-cast > .tm-crumbs + .custom-profile-deck-section {
  margin-top: 0;
}
.tm-cast-areas a,
.tm-cast-areas span {
  display: inline;
}
.tm-cast-areas a {
  color: var(--tm-purple, #7D40A0);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tm-cast-areas > * + *::before {
  content: "・";
  color: var(--tm-text, #4A4A4F);
  text-decoration: none;
  display: inline-block;
}
.tm-cast-basic__item--link {
  color: inherit;
  text-decoration: none;
}

/* 店舗のページ：出勤カレンダー */
.tm-shiftcal__hint {
  margin: -4px 0 12px;
  color: var(--tm-text-sub, #7A7A80);
  font-size: 12px;
}
.tm-shiftcal__days {
  display: flex;
  gap: 6px;
  margin: 0 -16px;
  padding: 2px 16px 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tm-shiftcal__days::-webkit-scrollbar { display: none; }
body .tm-cast .tm-shiftcal__day {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  width: 54px;
  padding: 8px 0 7px;
  border: 1px solid var(--tm-line, #ECECF0);
  border-radius: 14px;
  background: #fff;
  color: var(--tm-text, #4A4A4F);
  font: inherit;
  line-height: 1.25;
  cursor: pointer;
  scroll-snap-align: center;
  transition: background .15s, border-color .15s, transform .15s;
}
body .tm-cast .tm-shiftcal__day:active { transform: scale(.96); }
.tm-shiftcal__dow { font-size: 11px; color: var(--tm-text-sub, #7A7A80); }
.tm-shiftcal__date { font-size: 16px; font-weight: 600; }
.tm-shiftcal__n { font-size: 11px; color: var(--tm-purple, #7D40A0); }
.tm-shiftcal__day.is-sat .tm-shiftcal__dow { color: #4A7BD0; }
.tm-shiftcal__day.is-sun .tm-shiftcal__dow { color: #D84A6A; }
.tm-shiftcal__day.is-empty .tm-shiftcal__date,
.tm-shiftcal__day.is-empty .tm-shiftcal__n { color: var(--tm-text-weak, #A6A6AC); }
body .tm-cast .tm-shiftcal__day.is-on {
  border-color: var(--tm-purple, #7D40A0);
  background: var(--tm-purple, #7D40A0);
  color: #fff;
}
.tm-shiftcal__day.is-on .tm-shiftcal__dow,
.tm-shiftcal__day.is-on .tm-shiftcal__date,
.tm-shiftcal__day.is-on .tm-shiftcal__n { color: #fff; }
.tm-shiftcal__day:focus-visible { outline: 2px solid var(--tm-pink, #E9528E); outline-offset: 2px; }
.tm-shiftcal__when {
  margin: 4px 0 8px;
  color: var(--tm-text, #4A4A4F);
  font-size: 13px;
}
.tm-shiftcal__when b {
  margin-left: 6px;
  color: var(--tm-purple, #7D40A0);
  font-weight: 600;
}
.tm-shiftcal__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tm-shiftcal__list li { margin: 0; padding: 0; list-style: none; }
.tm-shiftcal__list li + li { border-top: 1px solid var(--tm-line, #ECECF0); }
.tm-shiftcal__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: inherit;
  text-decoration: none;
}
.tm-shiftcal__img {
  flex: none;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 50%;
  background: #F3F0F7;
}
.tm-shiftcal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tm-shiftcal__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--tm-text, #4A4A4F);
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tm-shiftcal__time {
  flex: none;
  color: var(--tm-text-sub, #7A7A80);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.tm-shiftcal__chev {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--tm-text-weak, #A6A6AC);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (prefers-reduced-motion: reduce) {
  body .tm-cast .tm-shiftcal__day { transition: none; }
}
