@charset "UTF-8";
/*
  /asset/css/object/module/m-onayami.css
  お悩みモジュール用CSS
*/
.m-onayami {
  position: relative;
  @media screen and (max-width: 840px) {
    padding: 0 50px;
  }
  @media screen and (max-width: 600px) {
    padding: 0;
  }
}
.m-onayami__title {
  display: flex;
  align-items: end;
  justify-content: center;
  width: 100%;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  position: absolute;
  top: 160px;
  z-index: 10;
  @media screen and (max-width: 1024px) {
    top: 155px;
  }
  @media screen and (max-width: 840px) {
    font-size: 22px;
    top: 155px;
    margin: 0 0 0 -50px;
  }
  @media screen and (max-width: 600px) {
    font-size: 22px;
    line-height: 1.3;
    top: 130px;
    margin: 0;
  }
}
.m-onayami__logo {
  margin: 0 20px;
  width: 200px;
  height: auto;
  @media screen and (max-width: 840px) {
    margin: 0 12px;
    width: 170px;
  }
  @media screen and (max-width: 600px) {
    width: 160px;
    padding: 0;
    margin: 0 12px;
  }
}
.m-onayami-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  @media screen and (max-width: 840px) {
    grid-template-columns: 1fr;
    margin: 0 0 40px 0;
  }
}
.m-onayami-list--column3 {
  grid-template-columns: repeat(3, 1fr);
  @media screen and (max-width: 840px) {
    grid-template-columns: 1fr;
  }
}
.m-onayami-item {
  width: 100%;
  @media screen and (max-width: 600px) {
    padding: 0 30px;
  }
}
.m-onayami-item__worry {
  background-color: var(--gray-bg-02);
  padding: 25px 0 23px;
  border-radius: 10px;
  position: relative;
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  @media screen and (max-width: 1024px) {
    font-size: 14px;
  }
  @media screen and (max-width: 840px) {
    font-size: 18px;
  }
  @media screen and (max-width: 600px) {
    padding: 15px 0 13px;
    font-size: 16px;
  }
  em {
    font-weight: 700;
  }
  &::after {
    display: block;
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    border: 11px solid rgba(0, 0, 0, 0);
    border-bottom-width: 0;
    border-top: 20px solid var(--gray-bg-02);
  }
}
.m-onayami-item__solution {
  min-height: 500px;
  margin: 140px 0 0 0;
  padding: 45px 20px 20px;
  border-radius: 10px;
  position: relative;
  background-color: var(--rsaikenkanri-bg-sub-03);
  &::before {
    content: "";
    display: block;
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 72px;
    border-radius: 36px;
    background-color: var(--white);
  }
  &::after {
    content: "";
    display: block;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 38px;
    background-image: url(/asset/image/common/icon/icon_000_arrow.svg);
    background-repeat: no-repeat;
    background-size: cover;
  }
  @media screen and (max-width: 1024px) {
    min-height: 550px;
  }
  @media screen and (max-width: 840px) {
    min-height: 450px;
    margin: 115px 0 0 0;
    padding: 45px 50px 20px;
  }
  @media screen and (max-width: 600px) {
    margin: 105px 0 0 0;
    padding: 45px 16px 40px;
  }
}
.m-onayami-item-head {
  min-height: 90px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
  text-align: center;
  color: var(--rsaikenkanri-primary);
  @media screen and (max-width: 840px) {
    min-height: 70px;
    margin: 20px 0 0 0;
    font-size: 16px;
    line-height: 24px;
  }
}
.m-onayami-sub-list {
  margin: 20px 0 0;
}
.m-onayami-sub-item {
  @media screen and (max-width: 840px) {
    font-size: 18px;
  }
  @media screen and (max-width: 600px) {
    font-size: 14px;
  }
}
.m-onayami-item__image-wrap {
  width: 116px;
  height: 116px;
  border-radius: 60px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background-color: var(--white);
}
.m-onayami-item__image {
  width: 80px;
}
