:root {
  --viewport-base-pc: 1420;
  --viewport-base-sp: 375;
  --vpx-ratio: 1;
}

@media screen and (min-width: 769px) and (max-width: 1420px) {
  :root {
    --vpx-ratio: var(--viewport-ratio-pc, calc(100vw / 1420px));
  }
}
@media screen and (max-width: 768px) {
  :root {
    --vpx-ratio: min(var(--viewport-ratio-sp, calc(100vw / 375px)), 1.4814814815);
  }
}
.spots {
  position: relative;
  width: 100%;
  padding-block: calc(60px * var(--vpx-ratio)) calc(80px * var(--vpx-ratio));
  background: #ddd700;
}
.spots__ttl {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: left top;
  transform: rotate(90deg) translateY(-100%);
  font-size: calc(120px * var(--vpx-ratio));
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
  pointer-events: none;
}
.spots__body {
  position: relative;
  width: 95%;
  aspect-ratio: 1/1.475;
  padding-top: 54px;
  margin-inline: auto 0;
  background: #fff;
}
.spots__map {
  width: 60%;
  pointer-events: none;
}
.spots__subttl {
  position: absolute;
  top: 3.5%;
  left: 50%;
  width: 45%;
  pointer-events: none;
}
.spots__content {
  position: absolute;
  inset: 0;
  counter-reset: spots-num;
}
.spots__item {
  position: absolute;
  width: 100%;
  counter-increment: spots-num;
}
.spots__item-num {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  z-index: 10;
  content: counter(spots-num);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  aspect-ratio: 1/1;
  padding-top: 4px;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
}
.spots__item-num::before, .spots__item-num::after {
  content: "";
  position: absolute;
  z-index: -1;
  clip-path: polygon(50% 0%, 66% 33%, 100% 38%, 76% 64%, 83% 100%, 50% 83%, 18% 100%, 24% 64%, 0% 38%, 34% 33%);
}
.spots__item-num::before {
  inset: 0;
  background: #fff;
}
.spots__item-num::after {
  inset: 4px;
  background: #ea63a0;
}
.spots__item-imgs {
  display: grid;
  align-items: end;
  justify-content: start;
  -moz-column-gap: 12px;
       column-gap: 12px;
  width: 100%;
  margin-bottom: 12px;
}
.spots__item-img {
  pointer-events: none;
}
.spots__item-ttl {
  position: relative;
  display: inline-block;
  padding: 3px 1em;
  margin-bottom: 8px;
  border: 1px solid #202121;
  background: #fff343;
  font-size: 15px;
  font-weight: 500;
}
.spots__item-ttl::before, .spots__item-ttl::after {
  content: "";
  position: absolute;
}
.spots__item-ttl::before {
  top: -1px;
  left: -1px;
  width: 10px;
  aspect-ratio: 1/1;
  border-bottom: 1px solid #202121;
  border-right: 1px solid #202121;
  background: #fff;
}
.spots__item-ttl::after {
  top: -0.5px;
  left: -0.5px;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 14px;
  aspect-ratio: 1/1;
  border-bottom: 1px solid #202121;
  background: #fff;
}
.spots__item-txt {
  font-size: 15px;
  line-height: 1.3;
}

@media screen and (min-width: 769px) {
  .spots__item:nth-child(1) {
    top: 18%;
    left: 65%;
    max-width: 350px;
  }
  .spots__item:nth-child(1) .spots__item-imgs {
    grid-template-columns: 60fr 40fr;
  }
  .spots__item:nth-child(2) {
    top: 33%;
    left: 65%;
    max-width: 350px;
  }
  .spots__item:nth-child(2) .spots__item-num {
    top: 26%;
  }
  .spots__item:nth-child(2) .spots__item-imgs {
    grid-template-columns: 40fr 60fr;
  }
  .spots__item:nth-child(3) {
    top: 48.5%;
    left: 45%;
    max-width: 350px;
  }
  .spots__item:nth-child(3) .spots__item-imgs {
    display: flex;
    height: 122px;
  }
  .spots__item:nth-child(3) .spots__item-img {
    width: auto;
    height: 100%;
  }
  .spots__item:nth-child(4) {
    top: 58.5%;
    left: 10%;
    max-width: 223px;
  }
  .spots__item:nth-child(5) {
    top: 64%;
    left: 35%;
    max-width: 335px;
  }
  .spots__item:nth-child(5) .spots__item-num {
    top: 27.5%;
  }
  .spots__item:nth-child(5) .spots__item-imgs {
    grid-template-columns: 40fr 60fr;
  }
  .spots__item:nth-child(6) {
    top: 64%;
    left: 68.5%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: end;
    justify-content: start;
    -moz-column-gap: 22px;
         column-gap: 22px;
    max-width: 305px;
  }
  .spots__item:nth-child(6) .spots__item-imgs {
    margin-bottom: 0;
  }
  .spots__item:nth-child(7) {
    top: 78%;
    left: 10%;
    max-width: 223px;
  }
  .spots__item:nth-child(8) {
    top: 80%;
    left: 36%;
    display: grid;
    grid-template-columns: 57fr 43fr;
    -moz-column-gap: 12px;
         column-gap: 12px;
    max-width: 640px;
  }
  .spots__item:nth-child(8) .spots__item-num {
    top: 18.5%;
    left: auto;
    right: 0;
    transform: translate(50%, -50%);
  }
  .spots__item:nth-child(8) .spots__item-txt {
    margin-bottom: 12px;
  }
  .spots__item:nth-child(8) .spots__item-content .spots__item-imgs {
    display: flex;
    height: 122px;
    margin-bottom: 0;
  }
  .spots__item:nth-child(8) .spots__item-content .spots__item-img {
    width: auto;
    height: 100%;
  }
  .spots__item:nth-child(8) .spots__item-content + .spots__item-imgs {
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }
}
@media screen and (max-width: 768px) {
  .spots {
    padding-block: calc(36px * var(--vpx-ratio)) calc(48px * var(--vpx-ratio));
  }
  .spots__ttl {
    position: static;
    transform: rotate(0deg) translateY(0%);
    width: 90%;
    margin-inline: auto;
    font-size: calc(32px * var(--vpx-ratio));
    margin-bottom: calc(24px * var(--vpx-ratio));
  }
  .spots__body {
    width: 100%;
    aspect-ratio: auto;
    padding-block: 24px 36px;
    margin-inline: auto;
  }
  .spots__map {
    width: 90%;
    margin-bottom: 24px;
    margin-inline: auto;
  }
  .spots__subttl {
    top: 20px;
  }
  .spots__content {
    position: static;
    display: grid;
    row-gap: 24px;
    width: 90%;
    margin-inline: auto;
  }
  .spots__item {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
  }
  .spots__item-num {
    order: 1;
    position: static;
    transform: translate(0%, 0%);
    width: 36px;
    font-size: 14px;
    margin-bottom: 8px;
  }
  .spots__item-num::before {
    display: none;
  }
  .spots__item-num::after {
    inset: 0;
  }
  .spots__item-content {
    order: 2;
    margin-bottom: 18px;
  }
  .spots__item-ttl {
    padding: 8px 2em;
    margin-bottom: 12px;
    font-size: 16px;
  }
  .spots__item-ttl::before {
    top: -0.5px;
    left: -0.5px;
    width: 12px;
  }
  .spots__item-ttl::after {
    width: 18px;
  }
  .spots__item-txt {
    font-size: 14px;
  }
  .spots__item-imgs {
    order: 3;
    display: grid;
    align-items: start;
    justify-content: start;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    height: auto;
    margin-bottom: 0;
  }
  .spots__item-imgs:has(.spots__item-img:nth-child(2)) {
    grid-template-columns: repeat(2, 1fr);
  }
  .spots__item-img {
    width: 100%;
    height: auto;
  }
}
/*# sourceMappingURL=life-information.css.map */
