.c-timeline-card__media {
  background-color: #f3f3f3;
}

.c-timeline-card__no-image {
  display: grid;
  width: 100%;
  height: 100%;
  color: #777;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  background-color: #eee;
  place-items: center;
}

.c-timeline-card__media img,
.c-timeline-card__media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.c-timeline-card__media video {
  display: block;
}

.c-timeline-card__video-preview {
  position: relative;
}

.c-timeline-card__video-preview video {
  pointer-events: none;
}

.c-timeline-card__play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 64px;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: rgb(0 0 0 / 65%);
  transform: translate(-50%, -50%);
}

.c-timeline-card__play::before {
  position: absolute;
  inset: 50% auto auto 53%;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid #fff;
  content: '';
  transform: translate(-50%, -50%);
}

.c-timeline-modal__media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #000;
}

.c-timeline-modal__link[hidden] {
  display: none;
}

/* 応募フォームのCloudflare Turnstileは外枠だけ既存フォームの余白に合わせる。 */
.p-shop-entry-web__turnstile {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.p-shop-entry-web__turnstile + .c-error-message {
  margin-top: 10px;
  text-align: center;
}

.p-shop-entry-web__turnstile ~ .p-shop-entry-web__button {
  margin-top: 20px;
}

/* 新デザインの2段階表記に合わせ、タブの補足文だけを小さく表示する。 */
.c-tabs__tab--primary > span {
  display: flex;
  position: relative;
  align-items: center;
  flex-wrap: wrap;
  height: 100%;
  font-size: clamp(14px, 4.85714px + 2.85714vw, 16px);
  font-weight: var(--font-weight-medium);
  transition: color var(--duration) var(--easing-primary);
}

.c-tabs__tab--primary > span > span {
  display: inline;
  position: static;
  height: auto;
  font-size: 10px;
}

.c-tabs__tab--primary > span > span::after {
  content: none;
}

.c-tabs__tab--primary > span::after {
  inset-inline: 0;
  width: 68px;
  margin-inline: auto;
}

.c-tabs__tab--primary[aria-selected='false'] span {
  color: #8c8c8c;
}

/* 店舗詳細内のBeeglam見出しは、サービス名と補足名で文字サイズを分ける。 */
.p-shop-timeline__heading {
  color: #747474;
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  text-align: center;
}

.p-shop-timeline__heading span {
  font-size: 32px;
}

/* 検索モーダルのチェックボックスを同期済みデザインへ統一する。 */
.c-search-modal .c-checkbox {
  align-items: var(--checkbox-align-items, center);
  column-gap: var(--checkbox-column-gap, 10px);
  width: var(--checkbox-width, auto);
  aspect-ratio: var(--checkbox-aspect-ratio, auto);
  font-size: var(--checkbox-font-size, 14px);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  line-height: 1;
  display: flex;
}

.c-search-modal .c-checkbox input[type='checkbox'] {
  width: var(--checkbox-size, 30px);
  height: auto;
  aspect-ratio: 1;
  appearance: none;
  cursor: inherit;
  align-items: center;
  display: grid;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.c-search-modal .c-checkbox input[type='checkbox']::before,
.c-search-modal .c-checkbox input[type='checkbox']::after {
  content: '';
  grid-area: 1 / 1;
}

.c-search-modal .c-checkbox input[type='checkbox']::before {
  width: var(--checkbox-size, 30px);
  aspect-ratio: 1;
  background-color: #fff;
  border: 2px solid #b6b6b6;
  border-radius: var(--rounded-xs);
}

.c-search-modal .c-checkbox input[type='checkbox']::after {
  width: var(--input-checkbox-size, 20px);
  aspect-ratio: var(--input-checkbox-aspect-ratio, 1.42869);
  margin: auto;
  background-color: #ff7d64;
  -webkit-mask-image: url('/assets/main/images/icon/check.svg');
  mask-image: url('/assets/main/images/icon/check.svg');
  -webkit-mask-size: cover;
  mask-size: cover;
  transition: opacity var(--duration) var(--easing-primary);
}

.c-search-modal .c-checkbox input[type='checkbox']:not(:checked)::after {
  opacity: 0;
}

/* PCで地方・都道府県タブを横ドラッグしても文字を選択しない。 */
.c-search-modal .c-search-area__list {
  -webkit-user-select: none;
  user-select: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.c-search-modal .c-search-area__list.is-scrollable {
  cursor: grab;
}

.c-search-modal .c-search-area__list.is-dragging {
  cursor: grabbing;
}

/* デザイン側のキープ件数バッジ。 */
.l-aside-nav__button--keep span,
.c-drawer__button--keep span {
  display: grid;
  width: 24px;
  aspect-ratio: 1;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  background-color: #f442bc;
  border-radius: var(--rounded-full);
  place-items: center;
}

/* 本文の重なりより共通フッターを前面に置き、全ページで操作可能にする。 */
.l-footer {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

/* スライダー構造を使わない共通PRでも、見出しとバナーのデザイン余白を保つ。 */
.c-pr__heading + .c-pr__items {
  margin-top: 20px;
}

/* 後から読み込まれるword.cssより詳細度を上げ、五十音ナビをフッターより前面に保つ。 */
.l-contents .p-word-nav {
  z-index: 3;
}
