/* オフィス紹介（一覧）ページ
=================================== */
.splide__slide {
  img {
    width: 100%;
  }
}

.splide--officeImg {
  margin-block: 0 1em;
}

.splide--officeImg img {
  aspect-ratio: 14/9;
  object-fit: cover;
}

.office_map_container {
  max-width: 800px;
  margin: 0 auto;
}

.office_list_table_container {
  margin-bottom: 6.0rem;

  h4 {
    margin-block: 0 0.5em;
  }

  table {
    margin-block: 0.4em 2em;
    width: 100%;
  }
}

.office_list_table_container table tr td:nth-of-type(3) a {
  white-space: nowrap;
}

.type_label_container {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;

  p {
    font-size: 1.3rem;
    margin-block: 0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.5em;
  }
}

.label_coworking {
  display: inline-block;
  background-color: #BADFD1;
  padding: 0.1rem 1.6rem;
  border-radius: 100px;
  margin-block: 2px;
  font-weight: 700;
}

.label_share {
  display: inline-block;
  background-color: #D9EAF6;
  padding: 0.1rem 1.6rem;
  border-radius: 100px;
  margin-block: 2px;
  font-weight: 700;
}

.label_rental {
  display: inline-block;
  background-color: #F5EEA8;
  padding: 0.1rem 1.6rem;
  border-radius: 100px;
  margin-block: 2px;
  font-weight: 700;
}

.label_other {
  display: inline-block;
  background-color: #DDDDDD;
  padding: 0.1rem 1.6rem;
  border-radius: 100px;
  margin-block: 2px;
  font-weight: 700;
}

table.office_info_table {
  margin-block: 0;
}

table.office_gaiyo_table {
  width: 100%;
}


/* オフィス詳細ページ
=================================== */
.office_img--main {
  max-width: 40%;
}

.equipment_list {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  gap: 1.0rem;
  padding-left: 0;

  li {
    font-size: 1.5rem;
    border: solid 1px #222;
    border-radius: 5px;
    padding: 0.2rem 0.8rem;
  }
}

/* サテライトオフィスとは
=================================== */
.pages .chiji_message {
  >div {
    width: 70%;
  }

  figure {
    width: 30%;
  }

  figcaption {
    text-align: center;
  }

  p {
    margin-block: 0 1em;
  }
}

.img_flex {
  display: flex;
  gap: 0;
  place-items: center;
  overflow: clip;
  margin-block: 2em 1em;

  img {
    width: 33%;
    aspect-ratio: 3/2;
    object-fit: cover;
  }

  img:nth-of-type(3) {
    object-position: top;
  }
}

.work_life_grid {
  margin-top: 0.8em;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3.0rem;
  text-align: center;

  figure {
    margin-bottom: 0;
    font-size: 1.4rem;
  }
}

.window_container {
  gap: 4.0rem;
  align-items: center;

  img {
    max-width: 100px;
    position: relative;
    z-index: 3;
  }
}

.window_box:first-child::after,
.window_box:last-child::before {
  content: '';
  display: inline-block;
  width: 50%;
  height: 2px;
  background-color: #000;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  z-index: -1;
}

.window_box:first-child::after {
  right: -30%;
}

.window_box:last-child::before {
  left: -30%;
}

.window_box {
  border: solid 1px #999;
  border-radius: 12px;
  width: 100%;
  position: relative;

  dt {
    background-color: #445157;
    padding: 0.8rem 0.4rem;
    display: flex;
    align-items: center;
    border-radius: 12px 12px 0 0;

    span {
      background-color: #fff;
      padding: 0.15em 0.5em;
      border-radius: 100px;
      font-size: 1.7rem;
      font-weight: 700;
      white-space: nowrap;
      display: block;
      line-height: 1.2;
      width: 70%;
    }
  }

  dt::before {
    content: '';
    width: 6.0rem;
    height: 1.0rem;
    display: inline-block;
    background-image: url(/office/img/browser_btn.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  dd {
    margin-left: 0;
    padding: 2.0rem 1.5rem;
    min-height: 180px;
    background-color: #fff;
    border-radius: 0 0 12px 12px;

    ul {
      padding-left: 1.5em;
      font-size: 1.7rem;
    }
  }
}


.step_panel {
  background-color: #edf5fa;
  padding: 3.0rem 3.0rem 1.0rem;
  position: relative;
  margin-block: 8.0rem 11.0rem;
  border-radius: 0 20px 20px 20px;

  h3 {
    padding-left: 0;
    margin-block: 0 0.5em;
  }

  h3::before {
    display: none;
  }

  h3::after {
    display: none;
  }

  p:first-child {
    margin-block: 0 1em;
  }

  .tag {
    background-color: #246FD1;
    width: fit-content;
    font-size: 2.2rem;
    font-weight: 700;
    padding: 0.1em 1.5em;
    color: #fff;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    translate: 0 -100%;
    border-radius: 20px 20px 0 0;
  }

  img {
    width: 40%;
  }

  .flexBox {
    align-items: center;

    div {
      width: 60%;
    }
  }
}

.step_panel:last-child {
  margin-block: 6.0rem auto;
}

.step_panel:not(:last-child)::after {
  content: '';
  width: 3.0rem;
  height: 7.0rem;
  display: inline-block;
  background-image: url(/office/img/flow_dot.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  inset: auto 0;
  margin: auto;
  translate: 0 42%;
}


/* 空き物件活用事例ページ
=================================== */
.akiya_flex {
  img {
    max-width: 60%;
  }
}



@media (max-width: 767px) {

  /* オフィス紹介（一覧）ページ
  =================================== */
  .table_wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .office_list_table_container table {
    min-width: 650px;
  }

  .splide--officeImg img {
    aspect-ratio: 14/9;
    object-fit: cover;
  }

  .type_label_container {
    justify-content: flex-start;
    min-width: 650px;

    p {
      font-size: 1.1rem;
      font-weight: 500;
      gap: 0.5em;
    }
  }

  .label_coworking {
    padding: 0.1rem 1.3rem;
  }

  .label_share {
    padding: 0.1rem 1.3rem;
  }

  .label_rental {
    padding: 0.1rem 1.3rem;
  }

  .label_other {
    padding: 0.1rem 1.3rem;
  }

  table.office_info_table {
    margin-block: 0;
  }

  /* オフィス詳細ページ
  =================================== */
  .office_img--main {
    max-width: 100%;
    aspect-ratio: 14/9;
    object-fit: cover;
    order: -1;
  }

  .equipment_list {
    li {
      font-size: 1.4rem;
    }
  }

  /* サテライトオフィスとは
=================================== */
  .pages .chiji_message {
    align-items: flex-end;
    gap: 1.0rem;

    >div {
      width: initial;
    }

    figure {
      width: initial;
      max-width: 200px;
    }
  }

  .work_life_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2em;

    figure {
      font-size: 1.2rem;
    }
  }


  .img_flex {
    img {
      aspect-ratio: 1/1;
    }

    img:nth-of-type(3) {
      object-position: center;
    }
  }


  .window_container {
    gap: 2.0rem;

    img {
      max-width: 80px;
    }
  }

  .window_box {
    max-width: 450px;
  }

  .window_box:last-child {
    margin-top: -4.4rem;
  }

  .window_box:first-child::after,
  .window_box:last-child::before {
    width: 2px;
    height: 50%;
    background-color: #000;
    position: absolute;
    inset: auto 0;
    margin: auto;
    z-index: -1;
  }

  .window_box:first-child::after {
    bottom: -30%;
  }

  .window_box:last-child::before {
    top: -30%;
  }

  .step_panel {
    padding: 2.0rem 2.0rem 1.0rem;
    margin-block: 5.0rem 11.0rem;
    border-radius: 0 15px 15px 15px;

    .tag {
      font-size: 1.7rem;
      border-radius: 15px 15px 0 0;
    }

    img {
      aspect-ratio: 7/4;
      object-fit: cover;
      width: auto;
    }

    .flexBox {
      align-items: center;

      div {
        width: 100%;
      }
    }
  }

  .step_panel:not(:last-child)::after {
    height: 6.0rem;
  }




  /* 空き物件活用事例ページ
=================================== */
  .akiya_flex {
    img {
      max-width: 100%;
    }
  }
}