@charset "UTF-8";

/* ==========================================================================
   panel-list.css
   ========================================================================== */

/*リンク有りリスト */

.o-m__panel-list-linkdata {
  text-align: center;
}

.o-m__panel-list-linkdata_column {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.o-m__panel-list-linkdata_column._column_3 ._column_data {
  flex-basis: 31.333%;
  margin-bottom: 25px;
  @media screen and (max-width: 576px) {
    flex-basis: 48.5%;
    margin-bottom: 10px;
  }
}

.o-m__panel-list-linkdata_box {
  display: block;
  text-align: center;
  border-radius: 10px;
  padding: 35px 30px;
  @media screen and (max-width: 576px) {
    padding: 25px 0;
  }
}

.o-m__panel-list-linkdata_box dt {
  font-size: 20px;
  /* color: $primary-color; */
  font-weight: 700;
  padding: 20px 0 15px;
  @media screen and (max-width: 576px) {
    font-size: 18px;
    padding: 15px 0 10px;
  }
}

.o-m__panel-list-linkdata_box dd {
  font-size: 16px;
  line-height: 24px;
  padding: 0 0 15px;
  @media screen and (max-width: 576px) {
    font-size: 12px;
    line-height: 18px;
    padding: 0 25px 15px;
  }
}

/*color: $font-color; */

.o-m__panel-list-linkdata_box dd ul {
  min-height: 95px;
}

.o-m__panel-list-linkdata_box._linkbox:hover {
  @media screen and (min-width: 769px) {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  }
}

.o-m__panel-list-linkdata_box._linkbox:hover .o-c__btn-text_icon_plus_bg {
  @media screen and (min-width: 769px) {
    transform: translateY(-50%) rotate(90deg);
  }
}

.o-m__panel-list-linkdata_box._linkbox:hover .o-c__btn-text_icon_arrow_bg {
  @media screen and (min-width: 769px) {
    left: -3px;
  }
}

.o-m__panel-list-linkdata_icon {
  background-color: #FFF;
  width: 95px;
  height: 95px;
  border-radius: 50px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.o-m__panel-list-linkdata_link {
  padding: 20px 0 0;
}

/*リンク無しリスト（アコーディオン、モーダル関連） */

.o-m__panel-list-listdata {
  text-align: center;
}

.o-m__panel-list-listdata_text {
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
  @media screen and (max-width: 768px) {
    font-size: 14px;
  }
}

.o-m__panel-list-listdata_icon {
  background-color: #FFF;
  width: 95px;
  height: 95px;
  border-radius: 50px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.o-m__panel-list-listdata_column {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.o-m__panel-list-listdata_column._column_3 ._column_data {
  flex-basis: 32%;
  margin-bottom: 25px;
  @media screen and (max-width: 768px) {
    flex-basis: 49%;
    margin-bottom: 20px;
  }
  @media screen and (max-width: 576px) {
    flex-basis: 100%;
  }
  &:nth-last-of-type(-n+3) {
    margin-bottom: 0;
  }
}

.o-m__panel-list-listdata_column._column_3 ._column_data:nth-last-child(3),
.o-m__panel-list-listdata_column._column_3 ._column_data:nth-last-child(2) {
  @media screen and (max-width: 768px) {
    margin-bottom: 20px;
  }
}

.o-m__panel-list-listdata_column._column_3 {
  @media screen and (max-width: 576px) {
    display: block;
  }
}

.o-m__panel-list-listdata_box {
  display: block;
  text-align: center;
  border-radius: 10px;
  padding: 35px 20px;
  @media screen and (max-width: 576px) {
    padding: 25px;
  }
}

.o-m__panel-list-listdata_box dt {
  font-size: 20px;
  color: var(--rmeisai-primary);
  font-weight: 700;
  padding: 15px 0 10px;
  line-height: 1.4;
  @media screen and (max-width: 576px) {
    font-size: 20px;
    padding: 10px 0;
  }
}

.o-m__panel-list-listdata_box dt.o-m__panel-list-listdata._minheight {
  min-height: 80px;
  @media screen and (max-width: 576px) {
    min-height: inherit;
  }
}

.o-m__panel-list-listdata_box dd {
  font-size: 16px;
  line-height: 24px;
  padding: 0 0 15px;
  @media screen and (max-width: 576px) {
    font-size: 12px;
    line-height: 18px;
    padding: 0 40px 20px;
  }
}

/*color: $font-color; */

.o-m__panel-list-listdata_box dd ul {
  min-height: 95px;
  @media screen and (max-width: 576px) {
    min-height: 15px;
  }
}

.o-m__panel-list-listdata_box._linkbox:hover {
  @media screen and (min-width: 769px) {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  }
}

.o-m__panel-list-listdata_box._linkbox:hover .o-c__btn-text_icon_plus_bg {
  @media screen and (min-width: 769px) {
    transform: translateY(-50%) rotate(90deg);
  }
}

.o-m__panel-list-listdata_box._linkbox:hover .o-c__btn-text_icon_arrow_bg {
  @media screen and (min-width: 769px) {
    left: -3px;
  }
}

.o-m__panel-list-listdata_box._js_open .o-m__panel-list-listdata_hidetext {
  height: auto;
  opacity: 1;
  padding: 20px;
  transition: all ease 0.3s;
  visibility: visible;
  @media screen and (max-width: 576px) {
    display: block;
    position: fixed;
    z-index: 2000;
    top: 25%;
    left: 5%;
    width: 90%;
  }
}

.o-m__panel-list-listdata_box._js_open .o-c__btn-text_icon_plus_bg:after {
  display: none;
}

.o-m__panel-list-listdata_box._js_open:after {
  @media screen and (max-width: 576px) {
    content: "";
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
  }
}

.o-m__panel-list-listdata_head {
  width: 100%;
  display: block;
  @media screen and (max-width: 576px) {
    padding: 0;
  }
}

.o-m__panel-list-listdata_head_icon {
  background-color: #FFF;
  width: 95px;
  height: 95px;
  border-radius: 50px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  @media screen and (max-width: 576px) {
    width: 75px;
    height: 75px;
  }
}

.o-m__panel-list-listdata_head_icon img {
  @media screen and (max-width: 576px) {
    width: 57px;
    height: 57px;
  }
}

.o-m__panel-list-listdata_head dt {
  @media screen and (max-width: 576px) {
    width: 100%;
    text-align: center;
  }
}

.o-m__panel-list-listdata_hidetext {
  height: 0;
  opacity: 0;
  visibility: hidden;
  padding: 0 20px;
  background-color: #FFF;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  margin: 0 0 15px;
  transition: all ease 0.3s;
  @media screen and (max-width: 576px) {
    height: auto;
    opacity: 1;
    display: none;
  }
}

.o-m__panel-list-listdata_hidetext_title {
  display: none;
  @media screen and (max-width: 576px) {
    font-size: 18px;
    font-weight: 700;
    /* color: $primary-color; */
    padding: 0 0 10px;
    text-align: left;
    display: block;
  }
}

.o-m__panel-list-listdata_hidetext_indata {
  display: block;
  padding: 10px 0;
  text-align: center;
  font-weight: 700;
}

.o-m__panel-list-listdata_hidetext_indata .o-c__btn-link {
  padding: 15px 25px 12px 15px;
  &:after {
    right: 10px;
  }
}

.o-m__panel-list-listdata_hidetext_close {
  display: none;
  @media screen and (max-width: 576px) {
    display: block;
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    /* background-color: $primary-color; */
  }
  &:before {
    @media screen and (max-width: 576px) {
      transform: rotate(45deg);
    }
  }
}

.o-m__panel-list-listdata_hidetext_close:after, .o-m__panel-list-listdata_hidetext_close:before {
  @media screen and (max-width: 576px) {
    content: "";
    background-color: #fff;
    width: 3px;
    height: 14px;
    line-height: 0;
    position: absolute;
    top: 8px;
    left: 14px;
    transform: rotate(-45deg);
  }
}

.o-m__panel-list-listdata_link {
  padding: 20px 0 0;
}

.o-m__panel-list-note {
  padding: 0;
  font-size: 10px;
}
