@charset "UTF-8";

/* ==========================================================================
   p-case.css
   ========================================================================== */

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

.p__casestudies-fv {
  .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-c__heading-lead {
    padding-bottom: 0;
    @media screen and (max-width: 576px) {
      padding-bottom: 0;
    }
  }
  .o-c__heading-lead-wrap {
    display: inline-block;
    vertical-align: top;
    position: relative;
  }
  .o-c__heading-lead-wrap-text {
    text-align: left;
  }
}

.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;
    }
  }
}

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

.p__casestudies-section_head {
  font-size: 18px;
  line-height: 1.6;
  padding: 0 0 0 225px;
  background-image: url(/rakurakucloud/meisai/assets/image/icon/icon_058_pc_logo.svg);
  background-size: 220px 145px;
  background-position: 2% 50%;
  background-repeat: no-repeat;
  @media screen and (max-width: 576px) {
    padding: 0;
    font-size: 14px;
    background: none;
  }
  p {
    padding-top: 15px;
  }
}

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

.p__casestudies-pickup_container {
  width: 1100px;
  margin: 0px auto;
  position: relative;
  padding: 0 0 50px;
  @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__casestudies-pickup_container_inner {
  width: 100%;
  overflow: hidden;
}

.p__casestudies-pickup_container_inner.swiper-container {
  padding: 0 10px;
  @media screen and (max-width: 576px) {
    padding: 0 20px;
  }
}

.p__casestudies-pickup_container_inner {
  .swiper-wrapper {
    align-items: stretch;
  }
  .swiper-slide {
    width: 32.13%;
    margin-right: 1.805%;
    display: flex;
    align-items: stretch;
    height: auto;
    padding: 10px 0;
    @media screen and (max-width: 576px) {
      width: 100%;
    }
    &:last-child {
      margin-right: 0;
    }
  }
}

.p__casestudies-pickup_data {
  width: 100%;
  display: block;
  background-color: var(--white);
  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__casestudies-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__casestudies-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__casestudies-pickup_data_img-box._bnr {
  width: 220px;
}

.p__casestudies-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 0.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__casestudies-pickup_data_text {
  @media screen and (max-width: 576px) {
    display: grid;
    align-items: center;
    height: 40px;
  }
}

.p__casestudies-pickup {
  .swiper-container-horizontal > .swiper-pagination-bullets {
    bottom: 15px;
  }
  .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: 768px) {
      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 0.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: 768px) {
      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 0.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%);
  }
}

/*cta */

.p__casestudies-cta {
  width: 1000px;
  max-width: 100%;
  margin: -45px auto 0;
  display: flex;
  justify-content: space-around;
  @media screen and (max-width: 768px) {
    width: 100%;
    display: block;
    margin: -45px auto 0;
  }
  @media screen and (max-width: 576px) {
    width: 100%;
    display: block;
    margin: -30px auto 0;
  }
  a {
    @media screen and (max-width: 768px) {
      margin: 0 auto 20px;
    }
  }
  .o-c__cta-link_border {
    height: 80px;
    padding: 25px 25px 0;
    @media screen and (max-width: 576px) {
      height: 65px;
      padding: 20px 25px 0;
    }
  }
}

/*sort */

.p__casestudies-sort {
  margin-top: 50px;
  @media screen and (max-width: 576px) {
    margin-top: 35px;
  }
  .pc-only {
    @media screen and (min-width: 769px) {
      display: inline-block;
    }
  }
}

.p__casestudies-sort_tabs {
  width: 100%;
  border-bottom: 1px solid var(--gray-bg-01);
  ul {
    width: 1100px;
    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: 23.5%;
      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 0.3s;
      @media screen and (max-width: 576px) {
        border-top: 3px solid var(--gray-bg-01);
        padding: 10px 0 7px;
        font-size: 12px;
        display: grid;
        place-items: center;
      }
      &:hover {
        @media screen and (min-width: 769px) {
          color: var(--rmeisai-primary);
          background-color: var(--rmeisai-bg-sub-03);
          border-top: 5px solid var(--rmeisai-bg-sub-03);
          border-left: 1px solid var(--rmeisai-bg-sub-03);
          border-right: 1px solid var(--rmeisai-bg-sub-03);
        }
      }
    }
    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);
      }
    }
  }
}

.p__casestudies-sort_target {
  padding: 25px 0 15px;
  @media screen and (max-width: 576px) {
    padding: 20px 0 15px;
  }
  .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__casestudies-sort_hidebox {
  @media screen and (max-width: 576px) {
    height: 145px;
    overflow: hidden;
    position: relative;
    transition: all ease 0.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__casestudies-sort_hidebox.active_01 {
  @media screen and (max-width: 576px) {
    height: 270px;
  }
  &:after {
    @media screen and (max-width: 576px) {
      display: none;
    }
  }
}

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

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

.p__casestudies-sort_list {
  padding: 0 0 30px;
  text-align: center;
  width: 1100px;
  margin: 0px auto;
  @media screen and (max-width: 820px) {
    width: 100%;
    padding: 0 15px;
  }
}

.p__casestudies-sort_list_item {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  li {
    width: 24%;
    margin: 0 5px 10px;
    @media screen and (max-width: 820px) {
      width: 23%;
      margin: 0 2% 10px 0;
    }
    @media screen and (max-width: 576px) {
      width: 47%;
      margin: 0 3% 10px 0;
    }
  }
  li.active {
    background-color: var(--rmeisai-bg-sub-03);
    font-weight: 700;
    color: var(--rmeisai-primary);
  }
  a {
    display: block;
    font-size: 16px;
    border-radius: 10px;
    line-height: 1;
    cursor: pointer;
    text-align: center;
    color: #323232;
    text-decoration: none;
    background-color: var(--gray-bg-02);
    padding: 25px 0 22px;
    &:hover {
      background-color: var(--rmeisai-bg-sub-03);
      color: var(--rmeisai-primary);
    }
    @media screen and (max-width: 576px) {
      font-size: 12px;
      padding: 13px 0 10px;
    }
  }
}

.p__casestudies-sort_list_all {
  display: inline-block;
  width: auto;
  text-align: center;
  margin: 0 auto;
  li {
    cursor: pointer;
  }
}

.p__casestudies-sort_list .o-c__btn-link {
  width: 200px;
}

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

.p__casestudies-sort_content_box {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  @media screen and (max-width: 576px) {
    display: block;
  }
}

.p__casestudies-category_list {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 0 0 50px;
}

.p__casestudies-sort_category_content_box {
  width: 700px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  @media screen and (max-width: 820px) {
    width: 100%;
  }
  @media screen and (max-width: 576px) {
    display: block;
  }
}

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

.p__casestudies-sort_category_content_box .p__casestudies-sort_content_item {
  width: 50%;
  margin: 0;
  padding: 0 15px 30px;
  @media screen and (max-width: 768px) {
    width: 49%;
    margin: 0 1% 10px 0;
  }
  @media screen and (max-width: 576px) {
    width: 92%;
    padding: 0 0 20px;
    margin: 0 auto;
  }
  a {
    text-decoration: none;
    display: block;
  }
}

.p__casestudies-sort_content_item_bg {
  padding: 0 0 85px;
  background-color: var(--white);
  border-top: 3px solid var(--rmeisai-primary);
  border-left: 1px solid var(--gray-bg-01);
  border-right: 1px solid var(--gray-bg-01);
  border-bottom: 1px solid var(--gray-bg-01);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: all ease 0.3s;
  @media screen and (max-width: 576px) {
    padding: 0;
  }
  &: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 0.3s;
    border-top: 2px solid var(--white);
    border-right: 2px solid var(--white);
  }
}

.p__casestudies-sort_content_item_filter01 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px 5px 0;
  li {
    flex: 1;
    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: 12px;
    font-weight: 700;
    min-height: 0;
    color: var(--black);
  }
}

.p__casestudies-sort_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;
    padding: 10px 40px 10px 10px;
    position: relative;
    bottom: auto;
    left: auto;
  }
  li {
    display: block;
    background-color: var(--gray-bg-02);
    text-align: center;
    padding: 7px 5px 5px;
    margin: 0 4px 4px 0;
    line-height: 1;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    min-height: 0;
    color: var(--black);
  }
}

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

.p__casestudies-sort_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__casestudies-sort_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__casestudies-sort_content_item_head_img._is_top img {
  height: auto;
}

.p__casestudies-sort_content_item_head_img._is_bottom img {
  height: auto;
  top: auto;
  bottom: 0;
}

.p__casestudies-sort_content_item_head_name {
  @media screen and (max-width: 576px) {
    width: 47%;
  }
}

.p__casestudies-sort_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__casestudies-sort_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__casestudies-sort_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;
  }
}

.p__casestudies-clist_content_item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  li {
    width: 24%;
    border-right: 1px solid var(--gray-bg-01);
    border-bottom: 1px solid var(--gray-bg-01);
    padding: 25px 20px;
    text-align: center;
    margin: 0 1% 10px 0;
    @media screen and (max-width: 576px) {
      width: 48%;
      margin: 0 2% 5px 0;
      padding: 20px 10px;
    }
    img {
      display: inline-block;
      width: auto;
      height: auto;
      max-width: 120px;
      max-height: 50px;
      margin: 0 0 15px;
      @media screen and (max-width: 576px) {
        max-width: 100px;
        max-height: 30px;
      }
    }
  }
}

.p__casestudies-clist_content_item_head {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}

.p__casestudies-clist_content_note {
  padding: 20px 0 0;
}

.p__casestudies-clist_content_note_text {
  font-size: 10px;
}

.p__casestudies-company {
  padding: 80px 0 70px;
  @media screen and (max-width: 576px) {
    padding: 40px 0 30px;
  }
}

.p__casestudies-company_tit {
  font-size: 30px;
  font-weight: bold;
  line-height: 1.75;
  text-align: center;
  @media screen and (max-width: 576px) {
    font-size: 22px;
    line-height: 1.6;
  }
}

.p__casestudies-company_tit_point {
  color: var(--rmeisai-primary);
}

.p__casestudies-company_image {
  width: 100%;
  text-align: center;
  margin-top: 38px;
  height: 140px;
  overflow: hidden;
  animation: loop 98s linear infinite;
  background: url(/rakurakucloud/meisai/assets/image/logo/logo_beside-set.webp) repeat-x left center / auto 140px;
  @media screen and (max-width: 576px) {
    height: 100px;
    background-size: auto 100px;
    animation: loop-sp 92s linear infinite;
    margin-top: 25px;
  }
}

@keyframes loop-sp {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -3136px 0;
  }
}

.p__casestudies-title {
  background-color: var(--rmeisai-bg-main);
  color: var(--white);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 255px;
  position: relative;
  overflow: hidden;
  @media screen and (max-width: 576px) {
    height: auto;
    padding: 18px 20px;
    text-align: left;
    align-items: flex-start;
  }
  &::before {
    display: block;
    content: "";
    position: absolute;
    z-index: 0;
    bottom: -111px;
    left: -90px;
    width: 406px;
    height: 386px;
    background-image: url(/rakurakucloud/meisai/assets/image/figure/back_component_sub_bg.svg);
    background-size: cover;
    transform: rotate(-120deg) scale(0.82);
    @media screen and (max-width: 576px) {
      display: none;
    }
  }
  &::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: -105px;
    right: -120px;
    width: 406px;
    height: 386px;
    background-image: url(/rakurakucloud/meisai/assets/image/figure/back_component_sub_bg.svg);
    background-size: cover;
    transform: rotate(89deg) scale(0.82);
    @media screen and (max-width: 576px) {
      width: 129px;
      height: 125px;
      top: -30px;
      right: -43px;
    }
  }
}

.p__casestudies-title_company {
  font-size: 20px;
  line-height: 1.4;
  position: relative;
  z-index: 10;
  @media screen and (max-width: 576px) {
    font-size: 14px;
  }
}

.p__casestudies-title_point {
  font-size: 30px;
  line-height: 1.4;
  font-weight: bold;
  margin-top: 13px;
  position: relative;
  z-index: 10;
  @media screen and (max-width: 576px) {
    font-size: 20px;
    margin-top: 5px;
  }
}

.p__casestudies-detail {
  display: flex;
  justify-content: space-between;
  width: 1000px;
  margin: 0px auto;
  padding: 70px 0;
  @media screen and (max-width: 820px) {
    width: 100%;
    padding: 70px 50px;
  }
  @media screen and (max-width: 576px) {
    width: 100%;
    padding: 38px 0 50px;
    display: block;
  }
}

.p__casestudies-detail_content {
  width: 710px;
  @media screen and (max-width: 820px) {
    width: 100%;
    padding: 0 20px;
  }
}

.p__casestudies-detail_date {
  display: block;
  font-size: 14px;
  text-align: right;
  margin: 40px 0 0;
}

.p__casestudies-detail_head {
  display: flex;
  justify-content: space-between;
  margin-top: 47px;
  @media screen and (max-width: 576px) {
    flex-direction: column-reverse;
    margin-top: 40px;
  }
}

.p__casestudies-detail_head_info {
  width: 380px;
  @media screen and (max-width: 576px) {
    width: 100%;
    margin-top: 27px;
  }
  &:only-child {
    width: 100%;
  }
}

.p__casestudies-detail_head_info_tit {
  font-size: 16px;
  font-weight: bold;
  padding-bottom: 17px;
  border-bottom: 2px solid var(--gray-bg-01);
  @media screen and (max-width: 576px) {
    font-size: 14px;
    padding-bottom: 7px;
    border-bottom-width: 1px;
  }
}

.p__casestudies-detail_head_info_txt {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 20px;
  @media screen and (max-width: 576px) {
    margin-top: 10px;
  }
}

.p__casestudies-detail_head_photo {
  width: 300px;
  @media screen and (max-width: 576px) {
    width: 100%;
  }
}

.p__casestudies-detail_head_photo_img {
  height: 0;
  padding-top: 66.667%;
  position: relative;
  overflow: hidden;
  margin-top: 3px;
  @media screen and (max-width: 576px) {
    margin-top: 0;
  }
  img {
    position: absolute;
    top: 0;
    left: 0;
  }
}

.p__casestudies-detail_head_photo_txt {
  font-size: 12px;
  margin-top: 15px;
  @media screen and (max-width: 576px) {
    font-size: 11px;
    margin-top: 10px;
    text-align: center;
  }
}

.p__casestudies-detail_company {
  border: 2px solid var(--gray-bg-01);
  padding: 14px 20px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  @media screen and (max-width: 576px) {
    display: block;
    text-align: center;
  }
}

.p__casestudies-detail_company_logo {
  width: 30%;
  max-width: 170px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  @media screen and (max-width: 576px) {
    width: 100%;
    padding: 20px 0 25px;
    margin: 0 auto;
  }
  img {
    @media screen and (max-width: 576px) {
      max-width: 150px;
      max-height: 80px;
    }
  }
}

.p__casestudies-detail_company_data {
  width: 70%;
  @media screen and (max-width: 576px) {
    width: 100%;
  }
  th {
    width: 20%;
    white-space: nowrap;
    font-size: 12px;
    padding: 4px 15px 4px 0;
    font-weight: 700;
    @media screen and (max-width: 576px) {
      width: 25%;
      padding: 5px 15px 5px 0;
      vertical-align: top;
    }
  }
  td {
    font-size: 14px;
    padding: 4px 0px 4px 0px;
    font-weight: 500;
    @media screen and (max-width: 576px) {
      padding: 5px 0px 5px 0px;
    }
  }
}

.p__casestudies-detail_article {
  padding: 0 0 50px;
}

.p__casestudies-detail_article_sdgs_title {
  font-size: 16px;
  text-align: center;
  padding: 0 0 20px;
}

.p__casestudies-detail_article_sdgs_icon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 70%;
  margin: 0 auto;
  @media screen and (max-width: 576px) {
    width: 100%;
  }
  li {
    width: 23%;
    margin: 0 1% 10px;
    list-style: none;
    &:before {
      display: none;
    }
  }
}

.p__casestudies-detail_article_annotation {
  font-size: 10px;
  line-height: 1.5;
  display: block;
  margin: 0 auto 30px;
  @media screen and (max-width: 576px) {
    margin-bottom: 20px;
  }
}

.p__casestudies-detail_article_annotation_item {
  padding-left: 20px;
  position: relative;
  &::before {
    content: "※";
    margin-right: 10px;
    position: absolute;
    top: 0;
    left: 0;
  }
  &:nth-child(n + 2) {
    margin-top: 5px;
  }
}

.p__casestudies-detail_article section {
  padding: 40px 0 0;
  .o-c__btn-text {
    margin: 0 0 20px;
  }
  p:last-child {
    margin: 0 0 0 0;
  }
}

.p__casestudies-detail_article {
  h2 {
    background-color: var(--gray-bg-02);
    font-size: 20px;
    font-weight: 700;
    border-left: 5px solid var(--rmeisai-primary);
    line-height: 1.4;
    padding: 22px 15px 17px 20px;
    margin: 0 0 20px;
    @media screen and (max-width: 576px) {
      padding: 17px 15px 13px 15px;
    }
  }
  h3 {
    font-size: 18px;
    font-weight: 700;
    border-bottom: 2px dashed var(--gray-bg-01);
    padding: 22px 0px 17px;
    margin: 0 0 20px;
    @media screen and (max-width: 576px) {
      padding: 15px 0;
    }
  }
  h4 {
    font-size: 18px;
    font-weight: 700;
    padding: 22px 0px 17px;
    margin: 0;
    position: relative;
  }
  h4._number {
    padding: 10px 0 17px 25px;
    &:before {
      position: absolute;
      top: 10px;
      left: 0;
      color: var(--rmeisai-primary);
    }
  }
  h4._number._01:before {
    content: "1.";
  }
  h4._number._02:before {
    content: "2.";
  }
  h4._number._03:before {
    content: "3.";
  }
  h4._number._04:before {
    content: "4.";
  }
  h4._number._05:before {
    content: "5.";
  }
  p {
    font-size: 16px;
    line-height: 2;
    margin: 0 0 20px;
    @media screen and (max-width: 576px) {
      font-size: 14px;
    }
    strong {
      font-weight: 700;
      color: var(--rmeisai-primary);
    }
  }
  p.p__casestudies-detail_txt_mb65 {
    margin: 0 0 65px;
    @media screen and (max-width: 576px) {
      margin: 0 0 20px;
    }
  }
  p.p__casestudies-detail_txt_mb82 {
    margin: 0 0 82px;
    @media screen and (max-width: 576px) {
      margin: 0 0 20px;
    }
  }
  p._point {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.86;
    color: var(--rmeisai-primary);
    margin: 30px 0;
    padding-left: 30px;
    position: relative;
    @media screen and (max-width: 576px) {
      line-height: 1.3;
    }
    &::before {
      content: "";
      width: 16px;
      height: 16px;
      display: block;
      background: var(--rmeisai-primary);
      border-radius: 8px;
      position: absolute;
      top: 4px;
      left: 0;
      @media screen and (max-width: 576px) {
        top: 0;
      }
    }
    &::after {
      content: "";
      width: 6px;
      height: 6px;
      border-right: 2px solid var(--white);
      border-bottom: 2px solid var(--white);
      transform: rotate(-45deg);
      position: absolute;
      top: 9px;
      left: 4px;
      @media screen and (max-width: 576px) {
        top: 5px;
      }
    }
  }
  ._left_300 {
    overflow: hidden;
    margin: 0 auto 30px;
    @media screen and (max-width: 576px) {
      margin-bottom: 20px;
    }
    figure {
      width: 300px;
      float: left;
      text-align: center;
      margin: 0 20px 20px 0;
      @media screen and (max-width: 576px) {
        width: 100%;
        float: none;
        margin: 0 0 20px 0;
      }
      figcaption {
        line-height: 1.3;
        text-align: center;
        margin-top: 10px;
      }
    }
  }
  ._left_300._left_230 figure {
    width: 230px;
    @media screen and (max-width: 576px) {
      width: 100%;
    }
  }
  ._left_300._left_220 figure {
    width: 220px;
    @media screen and (max-width: 576px) {
      width: 100%;
    }
  }
  ._left_300._left_215 figure {
    width: 215px;
    @media screen and (max-width: 576px) {
      width: 100%;
    }
  }
  ._left_300._left_195 figure {
    width: 195px;
    @media screen and (max-width: 576px) {
      width: 100%;
    }
  }
  ._left_300._left_185 figure {
    width: 185px;
    @media screen and (max-width: 576px) {
      width: 100%;
    }
  }
  ._left_300._left_170 figure {
    width: 170px;
    @media screen and (max-width: 576px) {
      width: 100%;
    }
  }
  ._right_300 {
    overflow: hidden;
    margin: 0 auto 30px;
    @media screen and (max-width: 576px) {
      margin-bottom: 20px;
    }
    figure {
      width: 300px;
      float: right;
      text-align: center;
      margin: 0 0 20px 20px;
      @media screen and (max-width: 576px) {
        width: 100%;
        float: none;
        margin: 0 0 20px 0;
      }
    }
  }
  ._center_500 {
    width: 500px;
    margin: 0 auto 30px;
    @media screen and (max-width: 576px) {
      width: 100%;
      margin-bottom: 20px;
    }
    figure {
      text-align: center;
      margin-bottom: 10px;
      @media screen and (max-width: 576px) {
        width: 100%;
        float: none;
      }
    }
    p {
      font-size: 12px;
      line-height: 1.5;
      text-align: center;
    }
  }
  figcaption {
    font-size: 10px;
    text-align: left;
    margin: 10px 0 0;
  }
  ._disc_list {
    margin: 10px 0 30px;
    @media screen and (max-width: 576px) {
      margin-bottom: 20px;
    }
    li {
      font-size: 16px;
      line-height: 1.6;
      position: relative;
      padding: 0 0 0 20px;
      margin: 0 0 7px;
      @media screen and (max-width: 576px) {
        font-size: 14px;
        padding: 0 0 0 15px;
      }
      &:before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 10px;
        background-color: var(--rmeisai-primary);
        overflow: hidden;
        font-size: 8px;
        position: absolute;
        top: 7px;
        left: 0;
        @media screen and (max-width: 576px) {
          font-size: 10px;
        }
      }
    }
  }
  ._disc_list._gray_style li:before {
    background-color: var(--gray-07);
  }
  ._decimal_list {
    margin: 10px 0 30px;
    @media screen and (max-width: 576px) {
      margin-bottom: 20px;
    }
    li {
      font-size: 16px;
      line-height: 1.6;
      position: relative;
      padding: 0 0 0 20px;
      margin: 0 0 7px;
      @media screen and (max-width: 576px) {
        font-size: 14px;
        padding: 0 0 0 15px;
      }
      &:before {
        content: "";
        color: var(--rmeisai-primary);
        font-size: 16px;
        font-weight: 700;
        position: absolute;
        top: 0;
        left: 0;
        @media screen and (max-width: 576px) {
          font-size: 14px;
        }
      }
      &:nth-child(1):before {
        content: "1";
      }
      &:nth-child(2):before {
        content: "2";
      }
      &:nth-child(3):before {
        content: "3";
      }
      &:nth-child(4):before {
        content: "4";
      }
      &:nth-child(5):before {
        content: "5";
      }
      &:nth-child(6):before {
        content: "6";
      }
      &:nth-child(7):before {
        content: "7";
      }
      &:nth-child(8):before {
        content: "8";
      }
      &:nth-child(9):before {
        content: "9";
      }
      &:nth-child(10):before {
        content: "10";
      }
    }
  }
  ._decimal_list._gray_style li:before {
    color: var(--gray-07);
  }
}

.p__casestudies-detail_name {
  font-weight: bold;
}

.p__casestudies-detail_txt_small {
  font-size: 0.8rem;
}

.p__casestudies-aside {
  width: 250px;
  @media screen and (max-width: 820px) {
    display: none;
  }
}
.p__casestudies-aside_banner {
  margin: 0 0 30px;
  transition: all ease 0.3s;
  &:hover {
    opacity: 0.8;
  }
}

.p__casestudies-aside_recommend h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--rmeisai-primary);
  text-align: center;
  position: relative;
  padding: 0 0 20px;
  &:before {
    content: "";
    width: 2px;
    height: 20px;
    background-color: var(--rmeisai-primary);
    position: absolute;
    top: 5px;
    left: 5px;
    transform: rotate(-25deg);
  }
  &:after {
    content: "";
    width: 2px;
    height: 20px;
    background-color: var(--rmeisai-primary);
    position: absolute;
    top: 5px;
    right: 5px;
    transform: rotate(25deg);
  }
}

.p__casestudies-aside_recommend_item {
  margin: 0 0 20px;
}

.p__casestudies-aside_recommend_item_bg {
  background-color: var(--gray-bg-02);
  border-radius: 10px;
  border-top: 3px solid var(--rmeisai-primary);
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 0 0 5px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: all ease 0.3s;
  @media screen and (max-width: 576px) {
    min-height: 290px;
  }
  &: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 0.3s;
    border-top: 2px solid var(--white);
    border-right: 2px solid var(--white);
  }
}

.p__casestudies-aside_recommend_item_text {
  padding: 15px 10px 10px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
  p {
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
    padding: 10px 40px 0 0;
  }
}

/*ページトップボタン */

.p__casestudies-scltop {
  text-decoration: none;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background-color: rgba(38, 125, 0, 0.8);
  position: fixed;
  z-index: 1000;
  bottom: -60px;
  right: 30px;
  transition: all ease 0.3s;
  @media screen and (max-width: 768px) {
    right: 10px;
  }
}

.p__casestudies-scltop_inner {
  display: block;
  width: 50px;
  height: 50px;
  position: relative;
  width: 100%;
  &:after {
    position: absolute;
    z-index: 1;
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    top: 50%;
    left: 50%;
    bottom: auto;
    margin: auto;
    transform: translateY(-30%) translateX(-50%) rotate(-45deg);
    transition: all ease 0.3s;
    border-top: 2px solid var(--white);
    border-right: 2px solid var(--white);
  }
}

.p__casestudies-scltop.show_feature_floater {
  bottom: 30px;
  @media screen and (max-width: 768px) {
    bottom: 75px;
    right: 10px;
  }
}

.p__casestudies-detail_aside {
  width: 33%;
  max-width: 270px;
  position: sticky;
  top: 108px;
  background: rgba(255, 255, 255, 0);
}
@media screen and (min-width: 821px) {
  .p__casestudies-detail_aside {
    height: 85vh;
    overflow: auto;
    overscroll-behavior: contain;
  }
}
@media screen and (max-width: 820px) {
  .p__casestudies-detail_aside {
    width: 100%;
    max-width: none;
    padding: 0 20px;
    position: static;
    margin: 30px 0 0;
  }
}
.p__casestudies-detail_aside_title {
  width: 100%;
  color: var(--black);
  font-size: 19px;
  text-align: left;
  padding: 13px 20px 10px;
  background: var(--gray-bg-01);
  position: relative;
  cursor: pointer;
}
.p__casestudies-detail_aside_title:hover {
  background: var(--rmeisai-bg-sub-02);
}
.p__casestudies-detail_aside_title.active {
  color: #fff;
  background: var(--rmeisai-primary);
}
.p__casestudies-detail_aside_title::after {
  content: "";
  position: absolute;
  z-index: 1;
  display: block;
  width: 8px;
  height: 8px;
  top: 0;
  right: 15px;
  bottom: 0;
  margin: auto;
  transform: rotate(45deg);
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
}
.p__casestudies-detail_aside_title:hover::after {
  border-top: 2px solid var(--rmeisai-primary);
  border-right: 2px solid var(--rmeisai-primary);
}
.p__casestudies-detail_aside_title.active:hover::after {
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
}
@media screen and (max-width: 768px) {
  .p__casestudies-detail_aside_title {
    font-size: 16px;
    padding: 12px;
  }
}
.p__casestudies-detail_aside_filter {
  margin-bottom: 20px;
}
.p__casestudies-detail_aside_filter .p__casestudies-menu-box-list li {
  position: relative;
  font-size: 15px;
  cursor: pointer;
  border-bottom: 1px solid #e6e6e6;
}
.p__casestudies-detail_aside_filter .p__casestudies-menu-box-list li a {
  color: #323232;
  display: block;
  padding: 13px 20px 12px;
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  .p__casestudies-detail_aside_filter .p__casestudies-menu-box-list li a {
    font-size: 13px;
    padding: 10px;
  }
}
.p__casestudies-detail_aside_filter .p__casestudies-menu-box-list li.active {
  background-color: #f4f9f1;
  font-weight: bold;
}
.p__casestudies-detail_aside_filter .p__casestudies-menu-box-list li.active a {
  color: var(--rmeisai-primary);
}
@media (hover: hover) {
  .p__casestudies-detail_aside_filter .p__casestudies-menu-box-list li:hover {
    background-color: #f4f9f1;
  }
}
.p__casestudies-detail_aside_filter .p__casestudies-menu-box-list li::after {
  content: "";
  position: absolute;
  z-index: 1;
  display: block;
  width: 8px;
  height: 8px;
  top: 0;
  right: 15px;
  bottom: 0;
  margin: auto;
  transform: rotate(45deg);
  border-top: 2px solid var(--gray-07);
  border-right: 2px solid var(--gray-07);
}
.p__casestudies-detail_aside_filter .p__casestudies-menu-box-list li:hover::after,
.p__casestudies-detail_aside_filter .p__casestudies-menu-box-list li.active::after {
  border-top: 2px solid var(--rmeisai-primary);
  border-right: 2px solid var(--rmeisai-primary);
}

