@charset "UTF-8";

/* ==========================================================================
   object/component/panel-box.css
   ========================================================================== */

.o-c__panel-box {
  display: block;
  text-align: center;
  border-radius: 10px;
  padding: 35px 30px;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  @media screen and (max-width: 576px) {
    padding: 25px 0;
  }
  dt {
    font-size: 20px;
    color: var(--rseikyu-primary);
    font-weight: 700;
    padding: 20px 0 15px;
    @media screen and (max-width: 576px) {
      font-size: 18px;
      padding: 15px 0 10px;
      min-height: 75px;
    }
  }
}

.o-c__panel-box_lead {
  font-size: 16px;
  line-height: 1.6;
  padding: 0 0 15px;
  color: var(--black);
  @media screen and (max-width: 576px) {
    font-size: 12px;
    line-height: 1.6;
    padding: 0 15px 15px;
  }
  ul {
    min-height: 95px;
  }
}

.o-c__panel-box_list {
  font-size: 16px;
  /* min-height: 120px; */
  line-height: 1.6;
  padding: 0 0 15px;
  color: var(--black);
  @media screen and (max-width: 576px) {
    display: none;
  }
}

.o-c__panel-box._linkbox:hover {
  @media screen and (min-width: 769px) {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  }
  .o-c__btn-text_icon_plus_bg {
    @media screen and (min-width: 769px) {
      transform: translateY(-50%) rotate(90deg);
    }
  }
  .o-c__btn-text_icon_arrow_bg {
    @media screen and (min-width: 769px) {
      left: -3px;
    }
  }
}

.o-c__panel-box_icon {
  background-color: var(--white);
  width: 95px;
  height: 95px;
  border-radius: 50px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.o-c__panel-box_head {
  width: 100%;
  display: block;
  @media screen and (max-width: 576px) {
    display: block;
  }
}

.o-c__panel-box_head_icon {
  background-color: var(--white);
  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;
  }
  img {
    @media screen and (max-width: 576px) {
      width: 55px;
      height: auto;
    }
  }
}

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

.o-c__panel-box_hidetext_title {
  display: none;
  @media screen and (max-width: 576px) {
    font-size: 18px;
    font-weight: 700;
    color: var(--rseikyu-primary);
    padding: 0 0 10px;
    text-align: left;
    display: block;
  }
}

.o-c__panel-box_hidetext_indata {
  display: block;
  margin-top: 15px;
  text-align: center;
  font-weight: 700;
  @media screen and (max-width: 576px) {
    margin-top: 40px;
  }
  .o-c__btn-link {
    padding: 15px 45px;
    &:after {
      right: 15px;
    }
  }
}

.o-c__panel-box_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: var(--rseikyu-primary);
  }
}

.o-c__panel-box_hidetext .f__common-text_annotation {
  display: block;
  line-height: 1.4;
}

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

.o-c__panel-box_hidetext_close:before {
  @media screen and (max-width: 576px) {
    transform: rotate(45deg);
  }
}

.o-c__panel-box._js_open {
  .o-c__panel-box_hidetext {
    height: auto;
    opacity: 1;
    padding: 20px;
    margin-bottom: 30px;
    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-c__btn-text_icon_plus_bg:after {
    display: none;
  }
  &: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;
    }
  }
}
