@charset "utf-8";

/* ------------------------------
  会社概要、スタッフ紹介(sp)
------------------------------ */

.mira-e-home_staff .page-title-inner::before {
  content: "";
  position: absolute;
  left: calc(50% - 236px);
  top: -30px;
  display: block;
  width: 203px;
  height: 215px;
  background: url("../images/housing/staff_title_pic_1.png") no-repeat center /
    100px auto;
}

.mira-e-home_staff .page-title-inner::after {
  content: "";
  position: absolute;
  left: calc(50% - 10px);
  bottom: -33px;
  display: block;
  width: 194px;
  height: 199px;
  background: url("../images/housing/staff_title_pic_2.png") no-repeat center /
    122px auto;
}



.overview.section-bg::before {
  background-image: url("../images/office/overview_bg_sp.jpg");
}

.overview-title {
  font-size: 24px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-align: center;
  margin: 60px 0 0 0;
}

.overview-list {
  font-size: 14px;
  line-height: 2;
  margin-top: 2em;
  border-bottom: dashed 1px var(--text-color);
}

div.group_list{
border-bottom: dashed 1px var(--text-color);
padding-bottom:1em;
margin-bottom:1em;
}

.overview-list dt {
  font-weight: 400;
}

.overview-list > div > dt {
  border-top: dashed 1px var(--text-color);
  border-bottom: none 1px var(--text-color);
  background-color: #f5f5f5;
  padding: 1em;
}

.overview-list > div > dd {
  padding: 1em;
}

.overview-list dl div:not(:first-of-type) {
  margin-top: 1em;
}

.overview-list dl dt::before {
  content: "■";
}

.overview-list dl dt.group::before {
  content: "□";
}

.overview-list dl dd{
margin-left:1em;}


.overview-list div.ma_gigyo{
display: flex;
align-items: center;
}

.ma_gigyo div:first-child{
margin-right:15px;
}

.ma_gigyo .btn-arrow{
margin-left:0px;
}
.ma_logo{
  display: block;
  width: 100px ;
}



.overview-list .map {
  display: inline-block;
}

.overview-list .map::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 14px;
  background: url("../images/office/icon_map.svg") no-repeat center bottom / 8px
    auto;
  margin: 0 0.5em 0 1em;
  transform: translateY(2px);
}

.staff.section-bg {
  margin-top: 100px;
}

.staff.section-bg::before {
  background-image: url("../images/office/staff_bg_sp.jpg");
}

.acctess-map {
  display: block;
  width: 100%;
  margin-top: 40px;
  padding-right:20px;
  padding-left:20px;
}

/* モーダル(sp) */
.modal-overlay {
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
}

.modal-container {
  background-color: #fdf2eb;
  max-height: 100svh;
  max-width: 500px;
  overflow-y: auto;
  padding: 20px 8vw 40px;
  width: 100%;
}

.modal-close {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  background: url("../images/office/btn_modal_close.svg") no-repeat center /
    cover;
  outline: none;
  margin-left: auto;
}

.modal-content-pic-wrap {
  position: relative;
  width: 90%;
  margin: 20px auto 30px;
}

.modal-content-pic {
  width: 100%;
}

.modal-content-pic-sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 37.5%;
  transform: translate(20%, 20%);
}

.modal-content-job {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 0.6em;
}

.modal-content-name {
  font-size: 26px;
  text-align: center;
}

.modal-content dl {
  font-size: 14px;
  line-height: 2;
  margin-top: 2em;
}

.modal-content dl div:not(:first-of-type) {
  margin-top: 2em;
}

.modal-content dt {
  font-weight: 400;
}

.modal-content dt::before {
  content: "■";
}

/* モーダルアニメーション */
@keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes mmslideIn {
  from {
    transform: translateY(15%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes mmslideOut {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10%);
  }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal-overlay {
  animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal-container {
  animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal-overlay {
  animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal-container {
  animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide .modal-container,
.micromodal-slide .modal-overlay {
  will-change: transform;
}

.staff-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 6vw;
  margin-top: 50px;
}

.staff-list-item {
  width: calc(50% - 3vw);
}

.modal-open {
  display: block;
  outline: none;
}

.modal-open img {
  display: block;
  width: 100%;
  margin-bottom: 20px;

}

.modal-open-job {
  display: block;
  font-size: 11.5px;
  line-height: 1.6;
  text-align: center;
  margin: 0 0 0.5em;
}

.modal-open-name {
  display: block;
  font-size: 16px;
  text-align: center;
}

.modal-open .btn-arrow {
  display: block;
  width: 38px;
  margin: 20px auto 0;
}

.staff-list-item .getting-ready {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 2;
  background-color: #eeefef;
  text-align: center;
  padding-top: 1.5em;
}

.staff .more {
  display: flex;
  align-items: center;
  width: fit-content;
  margin: 60px auto 0;
  font-size: 13px;
  font-weight: bold;
  color: var(--office-color-1);
}

.staff .more .btn-arrow {
  width: 38px;
}

.staff-list-item .modal-open img{
  background-image: url("../images/office/staff-bk01.svg");
}

.staff-list-item:nth-child(even) .modal-open img{
  background-image: url("../images/office/staff-bk02.svg");
}



@media (min-width: 1000px) {

/* ------------------------------
    会社概要、スタッフ紹介(pc)
  ------------------------------ */


  .mira-e-home_staff .page-title-inner::before {
    left: 24px;
    top: 62px;
  width: 203px;
  height: 215px;
  background-size: 180px auto;
}

.mira-e-home_staff .page-title-inner::after {
    left: auto;
    right: 34px;
    bottom: -40px;
  width: 194px;
  height: 199px;
  background-size: 178px auto;
}

  .overview.section-bg::before {
    background-image: url("../images/office/overview_bg_pc.jpg");
  }

  .overview-title {
    font-size: 30px;
    margin: 100px 0 0 0;
  }

  .overview-list {
    width: 730px;
    margin-inline: auto;
    font-size: 16px;
  }

  .overview-list > div {
    display: flex;
    border-top: dashed 1px var(--text-color);
  }

  .overview-list > div > dt {
    width: 150px;
    flex-shrink: 0;
    text-align: left;
    border-top: none;
    border-bottom: none;
    background-color: transparent;
  }

  .overview-list .map::before {
    width: 10px;
    height: 17px;
    background-size: 10px auto;
    transform: translateY(2px);
  }

  .staff.section-bg {
    margin-top: 150px;
  }

  .staff.section-bg::before {
    background-image: url("../images/office/staff_bg_pc.jpg");
  }

  .acctess-map {
    width: 492px;
    margin: 60px auto 0;
  }

  /* モーダル(pc) */
  .modal-container {
    max-width: initial;
    width: 750px;
    padding: 20px 20px 70px;
  }

  .modal-content-pic-wrap {
    width: 400px;
    margin: 20px auto 40px;
  }

  .modal-content-job {
    font-size: 15px;
  }

  .modal-content-name {
    font-size: 28px;
  }

  .modal-content dl {
    font-size: 14px;
    padding: 0 80px;
    margin-top: 3em;
  }

  .modal-content div {
    display: flex;
  }

  .modal-content dt {
    flex-shrink: 0;
    width: 170px;
  }

  .staff-list {
    display: flex;
    flex-wrap: wrap;
    gap: 50px 164px;
    margin-top: 90px;
  }

  .staff-list-item {
    width: 224px;
  }

  /*  .staff-list > .staff-list-item:last-of-type {
    margin-inline: auto;
  }
*/
  .modal-open-job {
    font-size: 13px;
    margin: 0 0 0.6em;
  }

  .modal-open-name {
    font-size: 16px;
  }

  .modal-open .btn-arrow {
    display: block;
    width: 38px;
    margin: 20px auto 0;
  }

  .staff-list-item .getting-ready {
    font-size: 14px;
  }

  .staff .more {
    font-size: 16px;
    margin: 100px auto 0;
  }

  .staff .more .btn-arrow {
    width: 48px;
  }

}