/*
/rakurakucloud/jidootai/asset/css/page/p-function.css
functionページFV以外用CSS
*/
.p-function {
  .m-cta-simple-2button {
    padding: 50px 0 0;
    @media screen and (max-width: 840px) {
      padding: 20px 20px 0;
    }
  }
}

/* index */
.p-function-index__inner {
  display: grid;
  grid-template-columns: 0.6fr 2fr;
  gap: 0 20px;
  align-items: start;
  margin: 30px 0 0;
  @media screen and (max-width: 1024px) {
    grid-template-columns: 1fr;
  }
}
/* サイドバー */
.p-function-index-aside {
  position: sticky;
  top: 100px;
  @media screen and (max-width: 1024px) {
    position: static;
  }
}
.p-function-index-list {
  width: 240px;
  margin: 0 0 70px;
  @media screen and (max-width: 1024px) {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    margin: 0;
  }
}
.p-function-index-item {
  border-bottom: 1px solid var(--gray-bg-02);
  @media screen and (max-width: 1024px) {
    border: none;
  }
}
.p-function-index-item a {
  display: block;
  padding: 20px 10px;
  color: var(--black);
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  background-color: transparent;
  border-left: 4px solid transparent;
  border-bottom: 1px solid var(--gray-bg-01);
  transition: all 0.2s ease-in-out;
  @media screen and (max-width: 1024px) {
    padding: 10px 10px;
    text-align: center;
  }
  &:hover {
    background-color: var(--rjidootai-bg-sub-03);
    color: var(--rjidootai-primary);
    border-left-color: var(--rjidootai-primary);
    @media screen and (max-width: 1024px) {
      border-left-color: transparent;
    }
  }
}
.p-function-index-content-head {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  @media screen and (max-width: 1024px) {
    margin: 40px 0 0;
  }
}
.p-function-index-content-list {
  border-top: 1px solid var(--gray-03);
  margin: 40px 0 70px;
  &:last-child {
    margin: 40px 0 0;
  }
  @media screen and (max-width: 840px) {
    margin: 20px 0 50px;
  }
}
.p-function-index-content-item {
  display: flex;
  align-items: center;
  padding: 24px 0;
  gap: 0 27px;
  border-bottom: 1px solid var(--gray-08);
  @media screen and (max-width: 1024px) {
    gap: 10px;
    padding: 20px 0;
  }
  @media screen and (max-width: 600px) {
    gap: 10px;
    flex-wrap: wrap;
  }
}
.p-function-index-content-item__icon-wrap {
  width: 70px;
  height: 70px;
  background-color: #f7f7f7;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  @media screen and (max-width: 600px) {
    width: 60px;
    height: 60px;
  }
}
.p-function-index-content-item__icon {
  width: 50px;
  height: auto;
  @media screen and (max-width: 600px) {
    width: 40px;
  }
}
.p-function-index-content-item__title {
  font-weight: bold;
  font-size: clamp(16px, 2vw, 18px);
  width: 220px;
  flex-shrink: 0;
  @media screen and (max-width: 840px) {
    width: 150px;
  }
  @media screen and (max-width: 600px) {
    width: 160px;
  }
}
.p-function-index-content-item__mark {
  display: flex;
  gap: 4px;
  width: 80px;
  flex-shrink: 0;
  flex-wrap: wrap;
  @media screen and (max-width: 840px) {
    align-items: center;
    margin: 0;
  }
}
.p-function-index-content-item__text {
  font-size: 15px;
  line-height: 1.6;
  flex-grow: 1;
  margin: 0 0 0 24px;
  @media screen and (max-width: 840px) {
    margin: 0;
  }
}
.p-function-index__button {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}
.p-function-index__button-text {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 120%;
}
.p-function-index__button-link {
  text-align: center;
  margin: 20px 0 0;
}
