/* RCE Media Section */
.rce-media {
    background-color: #F0F4FA;
    font-family: "Noto Sans JP", sans-serif;
    padding: 8rem 0 10.8rem;
    @media only screen and (max-width: 767px) {
      padding: 0;
    }
}

.rce-media_inner {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 5rem;
  @media only screen and (max-width: 767px) {
    padding: 6rem 2rem;
  }
}

.rce-media_titlearea {
    text-align: center;
    margin-bottom: 4rem;
    @media only screen and (max-width: 767px) {
      margin-bottom: 3rem;
    }
}

.rce-media_titlelabel {
    color: #377DCD;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
    line-height: 1;
    @media only screen and (max-width: 767px) {
      margin-bottom: 0.8rem;
    }
}

.rce-media_title {
    color: #000000;
    font-size: 4.2rem;
    font-weight: bold;
    letter-spacing: 0.06em;
    line-height: 1;
    margin: 0;
    @media only screen and (max-width: 767px) {
      font-size: 3.2rem;
      line-height: 1.3;
    }
}

.rce-media_title span {
    color: #377DCD;
}

.rce-media_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    @media only screen and (max-width: 767px) {
      grid-template-columns: repeat(1, 1fr);
      gap: 1rem;
    }
}

.rce-media_list_item {
  box-shadow: 0.1rem 0.6rem 0.6rem 0px #00000014;
  border-radius: 0.6rem;
  background-color: #ffffff;
    padding: 1rem 1rem 2rem;
    display: flex;
    gap: 2.4rem;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    @media only screen and (max-width: 767px) {
      padding: 1rem 1rem 3rem;
      gap: 2rem;
    }
}

.rce-media_list_item_image_wrap {
    width: 100%;
    overflow: hidden;
    padding-bottom: 54.54%;
    position: relative;
    border-radius: 0.6rem;
}

.rce-media_list_item_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0.6rem;
}

.rce-media_list_item_content {
    color: #000000;
}

.rce-media_list_item_content_title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.02em;
    margin: 1.8rem 2rem 0;
    text-align: left;
    @media only screen and (max-width: 767px) {
      font-size: 1.8rem;
      margin: 1.5rem 1rem 0;
    }
}

.rce-media_list_item_content_btn {
    border: 0.1rem solid #377DCD;
    border-radius: 10rem;
    width: 31rem;
    height: 6rem;
    display: inline-block;
    transition: background-color 0.3s ease;
}



.rce-media_list_item_content_btn_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.6rem 1.5rem 3.5rem;
}

.rce-media_list_item_content_btn_link {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.04em;
    color: #377DCD;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rce-media_list_item_content_btn_arrow_wrap {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  position: relative;
  overflow: hidden;
}

.rce-media_list_item_content_btn_arrow_wrap img {
  width: 3rem;
  height: 3rem;
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rce-media_list_item_content_btn_arrow_wrap img:first-child {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.rce-media_list_item_content_btn_arrow_wrap img:last-child {
  opacity: 0;
  transform: translate(-50%, -50%);
}

.rce-media_list_item_content_btn:hover {
  background-color: #377DCD;
}

.rce-media_list_item_content_btn:hover .rce-media_list_item_content_btn_link {
  color: #FFFFFF;
}

.rce-media_list_item_content_btn:hover .rce-media_list_item_content_btn_arrow_wrap img:first-child {
  opacity: 0;
  transform: translate(-50%, -50%);
}

.rce-media_list_item_content_btn:hover .rce-media_list_item_content_btn_arrow_wrap img:last-child {
  opacity: 1;
  transform: translate(-50%, -50%);
}


