@charset "UTF-8";

/* ==========================================================================
   p-seminar.css
   ========================================================================== */

/* partial override */
/* ========================================================================= */

.p__event-fv {
  padding-bottom: 90px;
  @media screen and (max-width: 768px) {
    padding-bottom: 50px;
  }
  .o-c__heading-h1 {
    font-size: 36px;
    line-height: 1.4;
    font-weight: 700;
    position: relative;
    margin-bottom: 30px;
    @media screen and (max-width: 576px) {
      font-size: 25px;
    }
  }
}

.o-m__cta-wrap_inner_function.p__cooperation-cta-wrap .o-m__cta-wrap_inner_function_title {
  font-size: 16px;
}

.o-c__btn-text._arrow_down {
  padding: 2px 23px 0 0;
  .o-c__btn-text_icon_arrow_bg {
    left: auto;
    right: 0;
    transform: translateY(-50%) rotate(90deg);
  }
}

.o-m__breadcrumb-list {
  @media screen and (max-width: 576px) {
    display: block;
    padding: 8px 12px 9px;
  }
}

.o-m__breadcrumb-list_link {
  @media screen and (max-width: 576px) {
    display: inline;
    margin: 0 5px 0 0;
  }
  &:after {
    @media screen and (max-width: 576px) {
      position: static;
      display: inline-block;
      margin: 0 0 0 5px;
    }
  }
}

.f__common-bgcolor_blue .o-m__panel-list-listdata_box {
  background: var(--white);
}

.p__event-panel-list-listdata_box dt {
  padding-top: 0;
}

.p__event-panel-list-listdata_sub {
  font-size: 16px;
}

/* ========================================================================= */
/* object page_common */
/* ========================================================================= */
/*fv */

.p__event-fv_box {
  display: grid;
  grid-template-columns: 320px 320px;
  grid-column-gap: 20px;
  max-width: 660px;
  width: 100%;
  margin: 0 auto;
  @media screen and (max-width: 576px) {
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    grid-column-gap: 0px;
    grid-row-gap: 15px;
  }
}

.p__event-fv_box_btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--rmeisai-primary);
  border-radius: 10px;
  color: var(--white);
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  border: solid 2px var(--rmeisai-primary);
  height: 71.5px;
  &:hover {
    background-color: var(--white);
    color: var(--rmeisai-primary);
  }
  span {
    padding-bottom: 20px;
    &::after {
      content: "";
      position: absolute;
      display: block;
      width: 10px;
      height: 10px;
      left: 50%;
      bottom: 15px;
      transform: translateX(-50%);
      margin: auto;
      transform: rotate(45deg);
      transition: all ease 0.3s;
      border-bottom: 2px solid white;
      border-right: 2px solid white;
    }
  }
}

.p__event-fv_box_btn:hover span::after {
  border-bottom: 2px solid var(--rmeisai-primary);
  border-right: 2px solid var(--rmeisai-primary);
}

/*cta */

.p__event-cta {
  position: relative;
  top: -42px;
  @media screen and (max-width: 768px) {
    top: -30px;
  }
}

/*web-list */

.p__event-web-list {
  padding: 70px 0;
  .o-c__heading-lead._text_left {
    text-align: left;
  }
  .o-c__heading-h2 span {
    color: var(--rmeisai-primary);
  }
  .p__seminar-link-panel {
    margin-bottom: 40px;
  }
  .p__seminar-link-panel--item {
    overflow: hidden;
    background-color: var(--rmeisai-bg-sub-03);
    border-top: 3px solid var(--rmeisai-primary);
    padding: 15px;
    border-radius: 10px;
    transition: all ease 0.3s;
    text-decoration: none;
    position: relative;
    @media screen and (max-width: 768px) {
      grid-template-columns: 252px 1fr;
    }
    @media screen and (max-width: 576px) {
      display: block;
    }
    &:hover {
      box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    }
  }
  .p__seminar-link-panel--item:hover .p__seminar-link-panel--btn {
    background-color: var(--white);
    color: var(--rmeisai-cta);
    &::before {
      border-top: 2px solid var(--rmeisai-cta);
      border-right: 2px solid var(--rmeisai-cta);
    }
    > span {
      background-color: var(--rmeisai-cta);
      color: var(--white);
    }
  }
  .p__seminar-link-panel--item > dl {
    display: grid;
    grid-template-columns: 128px 1fr;
    column-gap: 10px;
    margin-bottom: 20px;
    color: var(--black);
    font-weight: bold;
    font-size: 18px;
    align-items: center;
    @media screen and (max-width: 768px) {
      font-size: 14px;
      grid-template-columns: 118px 1fr;
      column-gap: 5px;
    }
    dt {
      position: relative;
      display: inline-block;
      padding-right: 10px;
      font-size: 14px;
      @media screen and (max-width: 768px) {
        font-size: 14px;
        padding-right: 5px;
      }
      &::after {
        position: absolute;
        top: calc(50% - 30%);
        right: 0;
        content: "";
        background-color: var(--gray-08);
        width: 2px;
        height: 60%;
      }
      .open {
        display: inline-block;
        background-color: var(--rmeisai-accent);
        padding: 5px;
        border-radius: 5px;
        margin-right: 10px;
        font-size: 14px;
        text-align: center;
        width: 66px;
        @media screen and (max-width: 768px) {
          margin-right: 5px;
          font-size: 14px;
        }
      }
      .close {
        display: inline-block;
        background-color: var(--gray-bg-01);
        padding: 5px;
        border-radius: 5px;
        margin-right: 10px;
        font-size: 14px;
        text-align: center;
        width: 66px;
        @media screen and (max-width: 768px) {
          margin-right: 5px;
          font-size: 14px;
        }
      }
    }
    dd {
      display: inline-block;
      color: var(--rmeisai-primary);
    }
  }
  .p__seminar-link-panel--content {
    display: grid;
    grid-template-columns: 45% 1fr;
    column-gap: 10px;
    /*height: 100%;*/
    @media screen and (max-width: 768px) {
      grid-template-columns: auto;
      grid-template-rows: auto 1fr;
    }
  }
  .p__seminar-link-panel--img {
    width: 100%;
    height: auto;
    @media screen and (max-width: 768px) {
      width: 100%;
      margin-bottom: 20px;
    }
  }
  .p__seminar-link-panel--txt {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    .p__seminar-link-panel--ttl {
      color: var(--black);
      font-weight: bold;
      font-size: 16px;
      line-height: 1.4;
      margin-bottom: 30px;
      @media screen and (max-width: 768px) {
        margin-bottom: 20px;
        padding-bottom: 85px;
      }
    }
    dl.day {
      display: grid;
      grid-template-columns: 128px 1fr;
      column-gap: 10px;
      margin-bottom: 20px;
      color: var(--black);
      font-weight: bold;
      font-size: 18px;
      align-items: center;
      @media screen and (max-width: 768px) {
        font-size: 14px;
        grid-template-columns: 118px 1fr;
        column-gap: 5px;
      }
      dt {
        position: relative;
        display: inline-block;
        padding-right: 10px;
        font-size: 14px;
        @media screen and (max-width: 768px) {
          font-size: 14px;
          padding-right: 5px;
        }
        &::after {
          position: absolute;
          top: calc(50% - 30%);
          right: 0;
          content: "";
          background-color: var(--gray-08);
          width: 2px;
          height: 60%;
        }
        .open {
          display: inline-block;
          background-color: var(--rmeisai-accent);
          padding: 5px;
          border-radius: 5px;
          margin-right: 10px;
          font-size: 14px;
          text-align: center;
          width: 66px;
          @media screen and (max-width: 768px) {
            margin-right: 5px;
            font-size: 14px;
          }
        }
        .close {
          display: inline-block;
          background-color: var(--gray-bg-01);
          padding: 5px;
          border-radius: 5px;
          margin-right: 10px;
          font-size: 14px;
          text-align: center;
          width: 66px;
          @media screen and (max-width: 768px) {
            margin-right: 5px;
            font-size: 14px;
          }
        }
      }
      dd {
        display: inline-block;
        color: var(--rmeisai-primary);
      }
    }
    div > dl {
      color: var(--black);
      font-weight: bold;
      font-size: 14px;
      display: inline-block;
      dt {
        position: relative;
        display: inline-block;
        margin-right: 20px;
        &::after {
          position: absolute;
          top: 0;
          right: -10px;
          content: "";
          background-color: var(--gray-08);
          width: 2px;
          height: 20px;
        }
      }
      dd {
        display: inline-block;
        color: var(--rmeisai-primary);
      }
    }
    .p__seminar-link-panel--btn {
      position: relative;
      color: var(--white);
      background-color: var(--rmeisai-cta);
      border-radius: 50px;
      padding: 10px 40px 10px 10px;
      text-align: center;
      font-size: 14px;
      font-weight: bold;
      margin: 20px 0 0 auto;
      max-width: 300px;
      border: 2px solid var(--rmeisai-cta);
      transition: all ease 0.3s;
      @media screen and (max-width: 768px) {
        padding: 10px 25px 8px 10px;
        margin: 20px auto 0;
      }
      @media screen and (max-width: 576px) {
        max-width: 230px;
      }
      &::before {
        position: absolute;
        z-index: 10;
        display: block;
        content: "";
        width: 8px;
        height: 8px;
        top: calc(50% - 4px);
        right: 20px;
        transform: rotate(45deg);
        transition: all ease .3s;
        border-top: 2px solid var(--white);
        border-right: 2px solid var(--white);
        @media screen and (max-width: 768px) {
          right: 15px;
        }
      }
      > span {
        background-color: var(--white);
        color: var(--rmeisai-cta);
        font-size: 12px;
        border-radius: 50px;
        padding: 2px 10px 0;
        margin-right: 10px;
        @media screen and (max-width: 768px) {
          padding: 2px 5px 0;
          margin-right: 5px;
        }
      }
    }
    h3 + div {
      @media screen and (max-width: 768px) {
        position: absolute;
        width: calc(100% - 30px);
        bottom: 20px;
        text-align: center;
      }
    }
  }
}

.p__event-web-list-pickup {
  padding: 30px 0 0;
  @media screen and (max-width: 1024px) {
    padding: 30px 20px 0;
  }
  @media screen and (max-width: 768px) {
    padding: 30px 0px 0;
  }
  @media screen and (max-width: 576px) {
    padding: 10px 20px 0;
  }
}

.p__event-web-list-pickup_container {
  width: 1100px;
  margin: 0px auto;
  position: relative;
  max-width: 100%;
  @media screen and (max-width: 1024px) {
    width: 100%;
  }
  @media screen and (max-width: 768px) {
    width: 100%;
  }
  @media screen and (max-width: 576px) {
    max-width: none;
  }
}

.p__event-web-list-pickup_container_inner, .p__event-web-list-pickup_container_inner_noswiper {
  width: 100%;
  overflow: hidden;
}

.p__event-web-list-pickup_container_inner.swiper-container, .p__event-web-list-pickup_container_inner_noswiper.swiper-container {
  /*padding: 0 10px;*/
  @media screen and (max-width: 576px) {
    padding: 0 20px;
  }
}

.p__event-web-list-pickup_container_inner .swiper-wrapper, .p__event-web-list-pickup_container_inner_noswiper .swiper-wrapper {
  align-items: stretch;
}

.p__event-web-list-pickup_container_inner .swiper-slide, .p__event-web-list-pickup_container_inner_noswiper .swiper-slide {
  width: 49.1%;
  margin-right: 1.805%;
  display: flex;
  align-items: stretch;
  height: auto;
  padding: 10px 0;
  @media screen and (max-width: 576px) {
    width: 100%;
  }
}

.p__event-web-list-pickup_container_inner .swiper-slide:last-child, .p__event-web-list-pickup_container_inner_noswiper .swiper-slide:last-child {
  margin-right: 0;
}

.p__event-web-list-pickup_container_inner .swiper-slide.is_single, .p__event-web-list-pickup_container_inner_noswiper .swiper-slide.is_single {
  width: 99%;
  margin: 0 auto;
}

.p__event-web-list-pickup_container_inner .swiper-button-next,
.p__event-web-list-pickup_container_inner .swiper-button-prev, .p__event-web-list-pickup_container_inner_noswiper .swiper-button-next,
.p__event-web-list-pickup_container_inner_noswiper .swiper-button-prev {
  display: block;
}

.p__event-web-list-pickup_container_inner_noswiper .p__seminar-link-panel {
  margin-bottom: 0px;
}

.p__event-web-list-pickup_container_inner_noswiper {
  @media screen and (max-width: 576px) {
    padding: 0 !important;
  }
}

.p__event-web-list-pickup_container.is_double {
  width: 1200px;
  @media screen and (max-width: 1200px) {
    width: 1000px;
  }
  @media screen and (max-width: 1024px) {
    width: 100%;
  }
  .swiper-wrapper {
    @media screen and (max-width: 576px) {
      flex-direction: column;
    }
  }
}

.p__event-web-list-pickup_data {
  width: 100%;
  display: block;
  background-color: var(--rmeisai-bg-sub-03);
  border-radius: 10px;
  padding: 20px 20px 15px;
  text-decoration: none;
  border-top: 3px solid var(--rmeisai-primary);
  @media screen and (max-width: 576px) {
    padding: 15px 20px 10px;
  }
  &:hover {
    @media screen and (min-width: 769px) {
      box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    }
  }
}

.p__event-web-list-pickup_data_head {
  font-size: 16px;
  color: var(--rmeisai-primary);
  line-height: 1.5;
  /* @include lineHeight(1.5); */
  font-weight: 700;
  padding: 0 0 20px;
  text-align: left;
  @media screen and (max-width: 576px) {
    font-size: 14px;
    padding: 0 0 10px;
    min-height: 70px;
  }
}

.p__event-web-list-pickup_data_img-box {
  width: 250px;
  height: 150px;
  margin: 0 auto 15px;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  text-align: center;
  @media screen and (max-width: 768px) {
    width: 100%;
    padding: 0 0 10px;
  }
  img {
    max-width: 100%;
    height: auto;
  }
}

.p__event-web-list-pickup_data_img-box._bnr {
  width: 220px;
}

.p__event-web-list-pickup_data_text_name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  position: relative;
  padding: 0 15px 0 0;
  color: var(--black);
  @media screen and (max-width: 576px) {
    font-size: 14px;
  }
  &:after {
    position: absolute;
    z-index: 1;
    display: block;
    content: "";
    width: 10px;
    height: 10px;
    top: 45%;
    right: 0px;
    margin: auto;
    transition: all ease .3s;
    transform: translateY(-50%) rotate(45deg);
    border-top: 2px solid var(--rmeisai-primary);
    border-right: 2px solid var(--rmeisai-primary);
  }
  span {
    font-size: 12px;
    @media screen and (max-width: 576px) {
      font-size: 10px;
    }
  }
}

.p__event-web-list-pickup_data_text {
  @media screen and (max-width: 576px) {
    display: grid;
    align-items: center;
    height: 40px;
  }
}

.p__event-web-list-pickup {
  .swiper-container-horizontal > .swiper-pagination-bullets {
    position: static;
    margin-top: 5px;
  }
  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
  .swiper-pagination-bullet-active {
    background-color: var(--rmeisai-primary);
  }
  .swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 8px;
  }
  .swiper-button-prev {
    width: 50px;
    height: 50px;
    background-image: none;
    background-color: var(--rmeisai-primary);
    border-radius: 50px;
    left: -60px;
    right: auto;
    @media screen and (max-width: 1200px) {
      left: 20px;
    }
    @media screen and (max-width: 576px) {
      left: 0px;
      width: 35px;
      height: 35px;
    }
    &:after {
      position: absolute;
      z-index: 1;
      display: block;
      content: "";
      width: 12px;
      height: 12px;
      top: 50%;
      left: 50%;
      bottom: auto;
      margin: auto;
      transform: translateY(-50%) translateX(-30%) rotate(-135deg);
      transition: all ease .3s;
      border-top: 2px solid var(--white);
      border-right: 2px solid var(--white);
    }
    &:hover {
      @media screen and (min-width: 769px) {
        border: 2px solid var(--rmeisai-primary);
        background-color: var(--white);
      }
    }
    &:hover:after {
      @media screen and (min-width: 769px) {
        border-top: 2px solid var(--rmeisai-primary);
        border-right: 2px solid var(--rmeisai-primary);
      }
    }
  }
  .swiper-button-next {
    width: 50px;
    height: 50px;
    background-image: none;
    background-color: var(--rmeisai-primary);
    border-radius: 50px;
    right: -60px;
    left: auto;
    @media screen and (max-width: 1200px) {
      right: 20px;
    }
    @media screen and (max-width: 576px) {
      right: 0px;
      width: 35px;
      height: 35px;
    }
    &:after {
      position: absolute;
      z-index: 1;
      display: block;
      content: "";
      width: 12px;
      height: 12px;
      top: 50%;
      left: 50%;
      bottom: auto;
      margin: auto;
      transform: translateY(-50%) translateX(-70%) rotate(45deg);
      transition: all ease .3s;
      border-top: 2px solid var(--white);
      border-right: 2px solid var(--white);
    }
    &:hover {
      @media screen and (min-width: 769px) {
        border: 2px solid var(--rmeisai-primary);
        background-color: var(--white);
      }
    }
    &:hover:after {
      @media screen and (min-width: 769px) {
        border-top: 2px solid var(--rmeisai-primary);
        border-right: 2px solid var(--rmeisai-primary);
      }
    }
  }
  .swiper-button-next,
  .swiper-button-prev {
    transform: translateY(-50%);
  }
}

/*ondemand-list */

.p__event-ondemand-list {
  background-color: var(--rmeisai-bg-sub-03);
  padding: 70px 0 0;
  .o-c__heading-h2 span {
    color: var(--rmeisai-primary);
  }
  .pc-only {
    @media screen and (min-width: 769px) {
      display: inline-block;
    }
  }
}

.p__event-ondemand-list_tabs {
  width: 100%;
  border-bottom: 1px solid var(--gray-bg-01);
  @media screen and (max-width: 576px) {
    overflow-x: scroll;
    border-bottom: none;
  }
  ul {
    width: 1000px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    @media screen and (max-width: 1024px) {
      width: 100%;
    }
    @media screen and (max-width: 768px) {
      width: 90%;
    }
    li {
      width: 24%;
      border-top: 5px solid var(--gray-bg-01);
      border-left: 1px solid var(--gray-bg-01);
      border-right: 1px solid var(--gray-bg-01);
      background-color: var(--gray-bg-01);
      border-radius: 10px 10px 0 0;
      padding: 18px 0 15px;
      text-align: center;
      font-size: 18px;
      cursor: pointer;
      transition: all ease .3s;
      @media screen and (max-width: 576px) {
        border-top: 3px solid var(--gray-bg-01);
        padding: 10px 0 7px;
        font-size: 14px;
        display: grid;
        place-items: center;
        min-width: 100px;
        height: 70px;
      }
      &:hover {
        @media screen and (min-width: 769px) {
          background-color: var(--white);
          border-top: 5px solid var(--white);
          border-left: 1px solid var(--white);
          border-right: 1px solid var(--white);
        }
      }
    }
    li.active {
      border-top: 5px solid var(--rmeisai-primary);
      background-color: var(--white);
      margin-bottom: -1px;
      color: var(--rmeisai-primary);
      font-weight: 700;
      @media screen and (max-width: 576px) {
        border-top: 3px solid var(--rmeisai-primary);
      }
      &:hover {
        border-top: 5px solid var(--rmeisai-primary);
        background-color: var(--white);
      }
    }
    li + li {
      @media screen and (max-width: 576px) {
        margin-left: 10px;
      }
    }
  }
}

.p__event-ondemand-list_tabcontent {
  background-color: var(--white);
  .o-c__btn {
    width: 220px;
    margin: 0 0 70px auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    + .o-m__panel-list-listdata {
      margin-top: 30px;
    }
  }
  .o-c__btn-text {
    margin: 0;
    + .o-c__btn-text {
      margin-top: 10px;
    }
  }
}

.p__event-ondemand-list_target {
  padding: 25px 0 0;
  @media screen and (max-width: 576px) {
    padding: 20px 0 0;
  }
  .o-c__btn-text {
    display: none;
    @media screen and (max-width: 576px) {
      display: inline-block;
      margin-bottom: 25px;
    }
    .js_open_text {
      display: block;
    }
    .js_close_text {
      display: none;
    }
    .active .js_open_text {
      display: none;
    }
    .active .js_close_text {
      display: block;
    }
  }
  .o-c__btn-text_icon_plus {
    @media screen and (max-width: 576px) {
      color: var(--rmeisai-primary);
      text-decoration: none;
    }
  }
}

.p__event-ondemand-list_hidebox {
  @media screen and (max-width: 576px) {
    height: 145px;
    overflow: hidden;
    position: relative;
    transition: all ease .3s;
  }
  &:after {
    @media screen and (max-width: 576px) {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 50px;
      background: white;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, white 56%);
    }
  }
}

.p__event-ondemand-list_hidebox.active_01 {
  @media screen and (max-width: 576px) {
    height: 270px;
  }
  &:after {
    @media screen and (max-width: 576px) {
      display: none;
    }
  }
}

.p__event-ondemand-list_hidebox.active_02 {
  @media screen and (max-width: 576px) {
    height: 310px;
  }
  &:after {
    @media screen and (max-width: 576px) {
      display: none;
    }
  }
}

.p__event-ondemand-list .f-l__common-inner {
  @media screen and (max-width: 1024px) {
    width: 100%;
  }
}

.p__event-ondemand-list_list {
  padding: 0 0 30px;
  text-align: center;
  @media screen and (max-width: 576px) {
    padding: 0 0 20px;
  }
}

.p__event-ondemand-list_list_item {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  li {
    width: 19%;
    margin: 0 10px 10px 0;
    background-color: var(--gray-bg-02);
    padding: 15px 0 12px;
    text-align: center;
    font-size: 16px;
    border-radius: 10px;
    line-height: 1;
    cursor: pointer;
    @media screen and (max-width: 768px) {
      width: 23%;
      margin: 0 2% 10px 0;
    }
    @media screen and (max-width: 576px) {
      width: 47%;
      margin: 0 3% 10px 0;
      font-size: 14px;
      padding: 13px 0 10px;
    }
    &:hover {
      background-color: var(--rmeisai-bg-sub-03);
    }
  }
  li.active {
    background-color: var(--rmeisai-bg-sub-03);
    font-weight: 700;
    color: var(--rmeisai-primary);
  }
}

.p__event-ondemand-list_list_all {
  display: inline-block;
  width: auto;
  text-align: center;
  margin: 0 auto;
  li {
    cursor: pointer;
  }
}

.p__event-ondemand-list_list .o-c__btn-link {
  width: 200px;
}

.p__event-ondemand-list_content {
  width: 100%;
  padding: 70px 0;
  @media screen and (max-width: 576px) {
    padding: 50px 0;
  }
}

.p__event-ondemand-list_content_box {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
  /*flex-wrap: wrap;*/
  /*overflow: hidden;*/
  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr 1fr;
  }
  @media screen and (max-width: 576px) {
    grid-template-columns: 1fr;
  }
}

.p__event-ondemand-list_content_item {
  /*width: 33.333%;*/
  margin: 0;
  /*padding: 0 10px 20px;*/
  @media screen and (max-width: 768px) {
    /*width: 49%;*/
  }
  @media screen and (max-width: 576px) {
    /*width: 100%;*/
  }
  a {
    text-decoration: none;
    display: block;
  }
}

.p__event-ondemand-list_content_item_bg {
  padding: 0 0 78px;
  background-color: var(--white);
  border-top: 3px solid var(--rmeisai-primary);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: all ease 0.3s;
  &:hover {
    @media screen and (min-width: 769px) {
      box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    }
  }
  &:before {
    position: absolute;
    z-index: 1;
    display: block;
    content: "";
    right: -35px;
    bottom: -35px;
    width: 70px;
    height: 70px;
    background-color: var(--rmeisai-primary);
    transform: rotate(45deg);
  }
  &:after {
    position: absolute;
    z-index: 10;
    display: block;
    content: "";
    width: 8px;
    height: 8px;
    right: 12px;
    bottom: 12px;
    transform: rotate(90deg);
    transition: all ease .3s;
    border-top: 2px solid var(--white);
    border-right: 2px solid var(--white);
  }
}

.p__event-ondemand-list_content_item_filter01 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px 5px 0;
  li {
    flex: 1;
    a {
      background-color: var(--gray-bg-02);
      text-align: center;
      padding: 7px 5px 5px;
      margin: 0 5px 10px;
      line-height: 1;
      border-radius: 5px;
      font-size: 14px;
      font-weight: 700;
      min-height: 0;
      color: var(--black);
      cursor: pointer;
      &:hover {
        background-color: var(--rmeisai-bg-sub-03);
      }
    }
    a.active {
      background-color: var(--rmeisai-bg-sub-03);
      font-weight: 700;
      color: var(--rmeisai-primary);
    }
  }
}

.p__event-ondemand-list_content_item_filter02 {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  padding: 0 40px 0 0;
  position: absolute;
  bottom: 5px;
  left: 10px;
  @media screen and (max-width: 576px) {
    height: auto;
  }
  li a {
    background-color: var(--gray-bg-02);
    text-align: center;
    padding: 7px 3px 5px;
    margin: 0 4px 4px 0;
    line-height: 1;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    min-height: 0;
    color: var(--black);
    cursor: pointer;
    &:hover {
      background-color: var(--rmeisai-bg-sub-03);
    }
  }
  li a.active {
    background-color: var(--rmeisai-bg-sub-03);
    font-weight: 700;
    color: var(--rmeisai-primary);
  }
}

.p__event-ondemand-list_content_item_head {
  @media screen and (max-width: 576px) {
    display: flex;
    align-items: flex-start;
    padding: 0 10px;
  }
}

.p__event-ondemand-list_content_item_head_renkei {
  position: absolute;
  display: block;
  background: var(--rmeisai-primary);
  color: var(--white);
  padding: 4px;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  @media screen and (max-width: 576px) {
    font-size: 12px;
  }
}

.p__event-ondemand-list_content_item_head_img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  position: relative;
  @media screen and (max-width: 576px) {
    width: 53%;
    height: auto;
    padding-top: 33%;
    border-radius: 10px;
  }
  img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
  }
}

.p__event-ondemand-list_content_item_head_img._is_top img {
  height: auto;
}

.p__event-ondemand-list_content_item_head_img._is_bottom img {
  height: auto;
  top: auto;
  bottom: 0;
}

.p__event-ondemand-list_content_item_head_name {
  @media screen and (max-width: 576px) {
    width: 47%;
  }
}

.p__event-ondemand-list_content_item_head_logo {
  width: 200px;
  height: 80px;
  margin: 0 auto;
  text-align: center;
  padding: 0 10px;
  display: grid;
  place-items: center;
  @media screen and (max-width: 576px) {
    width: 100%;
    height: 60px;
  }
  img {
    display: inline-block;
    width: auto;
    height: auto;
    max-height: 60px;
    max-width: 100%;
    @media screen and (max-width: 576px) {
      max-height: 45px;
      object-fit: cover;
    }
  }
}

.p__event-ondemand-list_content_item_head_index {
  font-size: 13px;
  text-align: center;
  color: var(--black);
  padding: 0 15px 5px;
  @media screen and (max-width: 576px) {
    font-size: 12px;
    padding: 0 5px 0;
  }
  span {
    font-size: 11px;
    @media screen and (max-width: 576px) {
      font-size: 10px;
    }
  }
  .p__casestudies-sort_content_item_head {
    @media screen and (max-width: 576px) {
      display: block;
      line-height: 1.2;
      padding-left: 0;
      padding-right: 0;
    }
  }
}

.p__event-ondemand-list_content_item_text {
  padding: 10px 14px 0;
  font-size: 15px;
  line-height: 1.6;
  /* @include lineHeight(1.6); */
  font-weight: 700;
  color: var(--rmeisai-primary);
  height: 72px;
  @media screen and (max-width: 576px) {
    line-height: 1.5;
    height: auto;
    max-height: 67.5px;
  }
}

.p__event-ondemand-list .p__seminar-link-panel {
  margin-bottom: 40px;
}

.p__event-ondemand-list .p__seminar-link-panel--item {
  overflow: hidden;
  background-color: var(--rmeisai-bg-sub-03);
  border-top: 3px solid var(--rmeisai-primary);
  padding: 15px;
  border-radius: 10px;
  transition: all ease 0.3s;
  text-decoration: none;
  height: 100%;
  &:hover {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  }
}

.p__event-ondemand-list .p__seminar-link-panel--item:hover .p__seminar-link-panel--btn {
  background-color: var(--white);
  color: var(--rmeisai-cta);
  &::before {
    border-top: 2px solid var(--rmeisai-cta);
    border-right: 2px solid var(--rmeisai-cta);
  }
  > span {
    background-color: var(--rmeisai-cta);
    color: var(--white);
  }
}

.p__event-ondemand-list {
  .p__seminar-link-panel--content {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
  }
  .p__seminar-link-panel--img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }
  .p__seminar-link-panel--txt {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    .p__seminar-link-panel--ttl {
      color: var(--black);
      font-weight: bold;
      font-size: 20px;
      line-height: 1.4;
      margin-bottom: 10px;
      text-align: left;
    }
    dl {
      color: var(--black);
      font-weight: bold;
      font-size: 14px;
      margin-bottom: 10px;
      dt {
        position: relative;
        display: inline-block;
        margin-right: 20px;
        &::after {
          position: absolute;
          top: 0;
          right: -10px;
          content: "";
          background-color: var(--gray-08);
          width: 2px;
          height: 20px;
        }
      }
      dd {
        display: inline-block;
        color: var(--rmeisai-primary);
      }
    }
    .p__seminar-link-panel--category {
      line-height: 30px;
      color: var(--rmeisai-primary);
      font-size: 12px;
      font-weight: bold;
      text-align: center;
      background-color: var(--white);
      border-radius: 5px;
      margin: 0 0 10px;
    }
    .p__seminar-link-panel--btn {
      position: relative;
      color: var(--white);
      background-color: var(--rmeisai-cta);
      border-radius: 50px;
      padding: 10px 25px 8px 10px;
      text-align: center;
      font-size: 14px;
      font-weight: bold;
      margin: auto auto 0;
      border: 2px solid var(--rmeisai-cta);
      transition: all ease 0.3s;
      &::before {
        position: absolute;
        z-index: 10;
        display: block;
        content: "";
        width: 8px;
        height: 8px;
        top: calc(50% - 4px);
        right: 15px;
        transform: rotate(45deg);
        transition: all ease .3s;
        border-top: 2px solid var(--white);
        border-right: 2px solid var(--white);
      }
      > span {
        background-color: var(--white);
        color: var(--rmeisai-cta);
        font-size: 12px;
        border-radius: 50px;
        padding: 2px 5px 0;
        margin-right: 5px;
      }
    }
  }
  .p__seminar-link-panel li + li {
    margin-top: 30px;
  }
}

/*過去一覧用 */

.p__event-archive {
  padding-top: 70px;
  border-bottom: 1px solid var(--gray-bg-01);
  @media screen and (max-width: 576px) {
    padding: 40px 0 0;
    overflow: scroll;
    border-bottom: none;
  }
}

.p__event-archive--tab {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  grid-template-rows: 40px;
  column-gap: 10px;
  @media screen and (max-width: 768px) {
    width: 700px;
    padding: 0 20px;
    border-bottom: 1px solid var(--gray-bg-01);
    grid-template-rows: 50px;
  }
  > li {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-top: 3px solid var(--gray-bg-01);
    background-color: var(--gray-bg-01);
    padding: 10px 0px;
    border-radius: 5px 5px 0 0;
    transition: all ease .3s;
    line-height: 1.5;
    @media screen and (max-width: 768px) {
      font-size: 12px;
    }
    &:hover {
      border-top: 3px solid var(--rmeisai-bg-sub-03);
      background-color: var(--rmeisai-bg-sub-03);
    }
    > a {
      display: block;
      color: var(--black);
      text-decoration: none;
    }
  }
  > .active {
    position: relative;
    color: var(--rmeisai-primary);
    background-color: var(--white);
    border-top: 3px solid var(--rmeisai-primary);
    border-right: 1px solid var(--gray-bg-01);
    border-left: 1px solid var(--gray-bg-01);
    font-weight: bold;
    &::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -1px;
      width: 100%;
      height: 1px;
      background-color: var(--white);
    }
    &:hover {
      border-top: 3px solid var(--rmeisai-primary);
      background-color: var(--white);
    }
  }
}

.p__event-archive--list {
  font-size: 16px;
  @media screen and (max-width: 768px) {
    font-size: 14px;
  }
  > li > a {
    display: block;
    color: var(--black);
    padding: 20px;
    border-top: 1px solid var(--gray-bg-01);
    line-height: 1.6;
    transition: all ease .3s;
    text-decoration: none;
    @media screen and (max-width: 768px) {
      padding: 15px;
    }
    &:hover {
      color: var(--rmeisai-primary);
    }
  }
  > li:last-of-type > a {
    border-bottom: 1px solid var(--gray-bg-01);
  }
}
