/* Override tailwindCSS */
img {
  display: inline;
  max-width: unset;
}

.live-wrap {
  min-width: 1200px;
  overflow: hidden;
}

.live-1column {
  min-width: unset;
  max-width: unset;
  padding-left: 0;
  padding-right: 0;
}

.live-common-footer {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.live-kanban {
  position: relative;
  height: 360px;
}

.live-kanban__image {
  display: block;
  position: absolute;
  right: 50%;
  transform: translateX(50%);
  width: 1920px;
  height: 360px;
}

.live-kanban--honban {
  height: 310px;
}

.live-kanban--honban .live-kanban__image {
  height: 310px;
}

.live-howto {
  position: relative;
  padding: 48px 0;
  background-color: #fdeaea;
}

.live-howto__title {
  color: var(--ecm-color-crimson);
  font-family: 'RakutenSansJP2_W-Bold';
  font-size: 35px;
  letter-spacing: 1.41px;
  text-align: center;
}

.live-howto__title::before,
.live-howto__title::after {
  content: '';
  display: inline-block;
  background-color: var(--ecm-color-crimson);
  border-radius: 2px;
  width: 4px;
  height: 1.2em;
  vertical-align: middle;
}

.live-howto__title::before {
  transform: rotate(153deg);
  margin-right: 24px;
}

.live-howto__title::after {
  transform: rotate(26deg);
  margin-left: 24px;
}

.live-howto__box {
  background-color: var(--ecm-color-white);
  border-radius: 20px;
  padding: 40px 0 40px 86px;
  display: grid;
  grid-template-columns: 177px auto;
  column-gap: 46px;
  font-family: 'RakutenSansJP2TN_W-DemiBold';
  margin: 24px auto;
  width: 960px;
}

.live-howto__step {
  font-size: 20px;
}

.live-howto__step:not(:first-child) {
  margin-top: 32px;
}

.live-howto__step img {
  vertical-align: bottom;
}

.live-howto__pill {
  background-color: var(--ecm-color-crimson);
  color: var(--ecm-color-white);
  font-size: 16px;
  line-height: 26px;
  padding: 0 7px;
  border-radius: 13px;
  width: fit-content;
  display: inline-block;
  margin-right: 12px;
}

.live-howto-pre {
  margin-bottom: -48px;
}

.live-obi {
  background-color: var(--ecm-color-gray-1);
  color: var(--ecm-color-white);
  font-size: 22px;
  line-height: 50px;
  font-family: 'RakutenSansJP2TN_W-DemiBold';
  text-align: center;
  position: relative;
}

.live-obi::after {
  content: '';
  background-color: var(--ecm-color-gray-1);
  width: 56px;
  height: 28px;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -15px;
  margin: auto;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.live-tab-group {
  display: grid;
  grid-template-columns: repeat(4, 300px);
  justify-content: center;
  margin-top: 15px;
}

.live-tab-group__button {
  background: var(--ecm-color-white);
  border: 0;
  border-bottom: 4px solid var(--ecm-color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ecm-color-crimson);
  font-size: 28px;
  font-family: 'RakutenSansJP2TN_W-DemiBold';
  padding: 0;
  height: 130px;
}

@media (hover: hover) {
  .live-tab-group__button:hover {
    border-bottom-color: var(--ecm-color-crimson);
  }
}

.live-tab-group__button[aria-selected='true'] {
  border-bottom-color: var(--ecm-color-crimson);
}

.live-tab-panel {
  background-color: #fefbc6;
  padding: 80px 0;
}

.live-tab-panel__section {
  background-color: var(--ecm-color-white);
  border-radius: 16px;
  padding: 32px 50px;
  margin-left: auto;
  margin-right: auto;
  width: 1200px;
}

.live-tab-panel__section + .live-tab-panel__section {
  margin-top: 40px;
}

.live-anchor-group {
  width: 1200px;
}

.live-anchor-button {
  background-color: var(--ecm-color-white);
  border: 2px solid #cfcfcf;
  border-radius: 16px;
  font-family: 'RakutenSansJP2TN_W-DemiBold';
  font-style: italic;
  text-align: center;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (hover: hover) {
  .live-anchor-button:hover {
    background-color: var(--ecm-color-gray-6);
  }
}

.live-section-header {
  margin: 0 auto 40px;
  display: grid;
  gap: 20px 12px;
  grid-template:
    'image-left date image-right' 38px
    'image-left title image-right' auto
    'image-left button image-right' 1fr / 144px auto 144px;
  min-width: 800px;
  min-height: 200px;
  width: fit-content;
}

.live-section-header__date {
  background-color: #f4f4f4;
  border-radius: 8px;
  font-size: 20px;
  font-family: 'RakutenSansJP2TN_W-DemiBold';
  line-height: 1;
  padding: 8px 12px;
  margin: 0 auto;
  width: fit-content;
  grid-area: date;
}

.live-section-header__title {
  font-size: 32px;
  font-family: 'RakutenSansJP2TN_W-Heavy';
  text-align: center;
  grid-area: title;
}

.live-section-header__image:first-child {
  grid-area: image-left;
}

.live-section-header__image:not(:first-child) {
  grid-area: image-right;
}

.live-section-header__button {
  grid-area: button;
  padding-top: 20px;
}

.live-performer {
  position: relative;
  aspect-ratio: 1 / 1;
}

.live-performer__image {
  display: block;
}

.live-performer__name {
  display: block;
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 28px;
  width: auto;
}

.live-section-header__image:not(:first-child) .live-performer__name {
  right: 0;
  left: auto;
}

.live-link-button {
  background-color: var(--ecm-color-crimson);
  box-shadow: 0 4px 4px 0 rgb(0 0 0 / 25%);
  border-radius: 9999px;
  color: var(--ecm-color-white) !important;
  font-size: 28px;
  font-family: 'RakutenSansJP2_W-Bold';
  display: flex;
  place-items: center;
  padding: 22px 56px;
  margin: 0 auto;
  width: fit-content;
  text-decoration: none !important;
}

@media (hover: hover) {
  .live-link-button:hover {
    background-color: var(--ecm-color-crimson-light);
  }
}

.live-ad-logo {
  width: 200px;
  height: 48px;
  margin-left: auto;
  margin-right: auto;
}

.live-ad {
  flex: 0 1 calc(25% - 16px);
}

.live-hr {
  background-color: var(--ecm-color-gray-5);
  height: 1px;
  width: 100%;
  display: block;
  margin: 40px 0 0;
  border: 0;
}

.live-banner-group {
  width: 960px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.half-price-box {
  border: 4px solid var(--ecm-color-crimson);
  border-radius: 32px;
  padding: 0 119px 32px;
  width: 1200px;
  margin: 0 auto;
}

.live-coupon-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 -8px;
}

.live-coupon-item {
  width: calc(25% - 16px);
  margin: 0 8px 16px;
}

.live-coupon-item__image {
  aspect-ratio: 151 / 76;
  width: 100%;
  height: auto;
}

.live-floating-button {
  background-color: var(--ecm-color-crimson);
  border: 0;
  border-radius: 75px;
  fill: var(--ecm-color-white) !important;
  color: var(--ecm-color-white) !important;
  font-family: 'RakutenSansJP2TN_W-DemiBold';
  font-size: 22px;
  top: unset !important;
  bottom: 410px;
  right: 24px;
  height: 150px;
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 4px 4px rgb(0 0 0 / 25%);
  padding-top: 18px;
  position: fixed;
  z-index: 10;
}

@media (hover: hover) {
  .live-floating-button:hover {
    background-color: var(--ecm-color-crimson-light);
  }
}

.live-schedule-box {
  background-color: var(--ecm-color-crimson);
  border-radius: 24px;
  padding: 24px 32px 32px;
}

.live-schedule-box.js-viewTimer.js-viewTimer--hidden {
  display: block !important;
}

.live-schedule-box:nth-child(1).js-viewTimer.js-viewTimer--hidden {
  order: 3;
}

.live-schedule-box:nth-child(2).js-viewTimer.js-viewTimer--hidden {
  order: 4;
}

.live-schedule-box:nth-child(3).js-viewTimer.js-viewTimer--hidden {
  order: 5;
}

.live-schedule-box__title {
  color: var(--ecm-color-white);
  font-family: 'RakutenSansJP2TN_W-DemiBold';
  font-size: 24px;
  text-align: center;
}

.live-schedule-link {
  display: block;
  background-color: var(--ecm-color-white);
  border-radius: 8px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  padding: 17px 40px 12px 17px;
  position: relative;
  text-decoration: none !important;
}

.live-schedule-link::after {
  content: '\e91e';
  font-family: ecm-icon-font !important;
  color: var(--ecm-color-gray-1) !important;
  font-size: 16px;
  display: block;
  height: 20px;
  width: 20px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 12px;
  margin: auto;
}

@media (hover: hover) {
  .live-schedule-link:hover {
    background-color: var(--ecm-color-gray-6);
  }
}

.live-schedule-link__title {
  font-family: 'RakutenSansJP2_W-Bold';
  color: var(--ecm-color-black) !important;
  font-size: 17px;
  margin-bottom: 8px;
}

.live-schedule-link__date {
  display: inline-block;
  background-color: #f4f4f4;
  border-radius: 4px;
  color: #5e5e5e;
  font-family: 'RakutenSansJP2_W-Regular';
  font-size: 14px;
  padding: 2px 4px;
  margin-right: 4px;
}

.live-schedule-link__tag {
  display: inline-block;
  border-style: solid;
  border-width: 1px;
  border-radius: 99px;
  font-family: 'RakutenSansJP2_W-Bold';
  font-size: 14px;
  padding: 2px 10px;
}

.live-schedule-link__tag--joint {
  border-color: #00b900;
  color: #00b900;
}

.live-schedule-link__tag--fashion {
  border-color: #1ca5ea;
  color: #1ca5ea;
}

.live-schedule-link__tag--food {
  border-color: #ff0909;
  color: #ff0909;
}

.live-schedule-link__tag--beauty {
  border-color: #ff48a0;
  color: #ff48a0;
}

.live-kanban-anchor {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--ecm-color-gray-1);
  color: var(--ecm-color-white) !important;
  font-family: 'RakutenSansJP2TN_W-DemiBold';
  font-size: 20px;
  text-align: center;
  padding-top: 12px;
  padding-bottom: 14px;
  text-decoration: none !important;
}

@media (hover: hover) {
  .live-kanban-anchor:hover {
    background-color: var(--ecm-color-gray-2);
  }
}

.live-streaming-section {
  max-width: 1480px;
  min-width: 1200px;
  margin: 48px auto 0;
}

.live-floating-navi {
  top: unset !important;
  right: 0;
  bottom: 100px;
  position: fixed;
  z-index: 10;
}

.live-modal-content-wrapper {
  width: 1044px;
  max-width: 1044px;
}

.live-modal-content {
  width: 1044px;
  padding: 24px 32px;
}

.live-floating-nav-pill {
  background-color: var(--ecm-color-white);
  border: 2px solid var(--ecm-color-crimson);
  text-align: center;
  font-size: 24px;
  font-family: 'RakutenSansJP2TN_W-DemiBold';
  color: var(--ecm-color-crimson) !important;
  fill: var(--ecm-color-crimson);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 4px 0 rgb(0 0 0 / 25%);
  width: 180px;
}

.ecm-floating-nav-pill.live-floating-nav-pill[data-in-viewport='true'] {
  background-color: var(--ecm-color-crimson) !important;
  color: var(--ecm-color-white) !important;
  fill: var(--ecm-color-white);
}

@media (hover: hover) {
  .live-floating-nav-pill:hover {
    background-color: var(--ecm-color-crimson) !important;
    color: var(--ecm-color-white) !important;
    fill: var(--ecm-color-white);
  }
}

/* ---------- Live配信パーツ ---------- */
.live-video {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
}

.live-video-title {
  font-size: 20px;
  margin-top: 16px;
  color: var(--ecm-color-gray-1);
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  word-break: break-all;
}

.live-slider-prev,
.live-slider-next {
  display: flex;
  width: 64px;
  height: 64px;
}

.ecm-slider-prev.live-slider-prev .ecm-icon-chevron-left,
.ecm-slider-prev.live-slider-prev .ecm-icon-chevron-right,
.ecm-slider-next.live-slider-next .ecm-icon-chevron-left,
.ecm-slider-next.live-slider-next .ecm-icon-chevron-right {
  font-size: 32px;
}

.live-balloon-text {
  background-color: #f6d9d9;
  border-radius: 999px;
  color: var(--ecm-color-crimson);
  font-family: 'RakutenSansJP2TN_W-DemiBold';
  font-size: 22px;
  text-align: center;
  padding: 12px 40px 8px;
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.live-balloon-text::before {
  content: '';
  background-color: #f6d9d9;
  width: 34px;
  height: 22px;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  margin: auto;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.live-note {
  text-indent: -1em;
  padding-left: 1em;
  font-size: 14px;
  color: var(--ecm-color-gray-1);
}

/* ---------- /Live配信パーツ ---------- */
