@charset "utf-8";

/*  PC to SP */
/*========= レイアウト ===============*/
body {}

.p-loc-bg {
  display: block;
  width: 100vw;
  height: 100%;
  position: relative;
}

.p-loc-bg::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  /* background-image: linear-gradient(to bottom right, var(--white), var(--grad_purple)); */
  background-image: linear-gradient(to bottom right, var(--white) 25%, var(--grad_purple) 50%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.p-loc-mapbox {
  display: block;
  width: 706px;
  height: auto;
  margin: 0 auto;
  margin-top: 52px;
  margin-bottom: 82px;
}

.p-loc-mapbox img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2px solid var(--light_purple);
}

.p-loc-box {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 37px;
}

.p-loc-boxlist {
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-rows: repeat(3, 1fr);
  grid-template-columns: repeat(3, 1fr);
  grid-row-gap: 30px;
  grid-column-gap: calc(30/1080 * 100%);
  width: 100%;
}

.p-loc-boxlist__item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
}

.p-loc-boxlist__thumb {
  max-width: 340px;
  height: auto;
}

.p-loc-boxlist__item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-loc-boxlist__txt {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 400;
  line-height: calc(28/18);
  letter-spacing: 0.02em;
  width: 100%;
  padding-top: 9px;
}

.p-loc-boxlist__item:nth-child(1),
.p-loc-boxlist__item:nth-child(2),
.p-loc-boxlist__item:nth-child(3) {
  grid-row: 1;
}

.p-loc-boxlist__item:nth-child(4),
.p-loc-boxlist__item:nth-child(5),
.p-loc-boxlist__item:nth-child(6) {
  grid-row: 2;
}

.p-loc-boxlist__item:nth-child(7),
.p-loc-boxlist__item:nth-child(8),
.p-loc-boxlist__item:nth-child(9) {
  grid-row: 3;
}

.p-loc-notice {
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: calc(17/12);
  letter-spacing: 0.04em;

}

.p-loc-notice span {
  display: block;
  width: 100%;
}

/* ------ */

/* SP all */
@media screen and (max-width: 1024px) {

  .p-loc-mapbox {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    margin-top: 24px;
    margin-bottom: 50px;
  }

  .p-loc-boxlist {
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-rows: unset;
    grid-template-columns: repeat(auto-fill, minmax(-webkit-min-content, 161px));
    grid-template-columns: repeat(auto-fill, minmax(min-content, 161px));
    grid-row-gap: 20px;
    grid-column-gap: 20px;
    width: 100%;
  }

  .p-loc-boxlist__item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
  }

  .p-loc-boxlist__thumb {
    max-width: 161px;
    height: auto;
  }

  .p-loc-boxlist__item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    -o-object-fit: cover;
       object-fit: cover;
  }

  .p-loc-boxlist__txt {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: 400;
    line-height: calc(16/10);
    letter-spacing: 0.02em;
    width: 100%;
    padding-top: 9px;
  }
  .p-loc-boxlist__txt span {
    text-align: center;
  }

  .p-loc-boxlist__item:nth-child(1),
  .p-loc-boxlist__item:nth-child(2),
  .p-loc-boxlist__item:nth-child(3) {
    grid-row: unset;
  }

  .p-loc-boxlist__item:nth-child(4),
  .p-loc-boxlist__item:nth-child(5),
  .p-loc-boxlist__item:nth-child(6) {
    grid-row: unset;
  }

  .p-loc-boxlist__item:nth-child(7),
  .p-loc-boxlist__item:nth-child(8),
  .p-loc-boxlist__item:nth-child(9) {
    grid-row: unset;
  }

  .p-loc-notice {
    display: block;
    font-size: 10px;
    font-weight: 400;
    line-height: calc(16/10);
    letter-spacing: 0.05em;

  }

  .p-loc-notice span {
    display: block;
    width: 100%;
  }



}

/*400px以下*/
/* grid 1rowにならないようにする */
@media screen and (max-width: 400px) {
  .p-loc-boxlist {
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-rows: unset;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 20px;
    grid-column-gap: calc(20/342 * 100%);
    width: 100%;
  }

}