/* for contents
---------------------------------------------------------------------------- */

body {
  background-color: #f0f1f1 !important;
  font-family: "Noto Sans JP", sans-serif !important;
}

.title_bg {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.title_img_default {
  display: block;
}
.title_img_sp {
  display: none;
}

.green_bg {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

#contents {
  position: relative;
}

#contents .pagetitle {
  border-width: clamp(0.5px, 0.15vw, 1px);
  padding: clamp(8px, 1vw, 14px) clamp(10px, 1.2vw, 19px);
  margin-top: clamp(30px, 4vw, 64px);
  margin-bottom: clamp(10px, 2vw, 20px);
}

#contents .pagetitle h1 {
  font-size: clamp(10px, 1.2vw, 18px);
}

.copy {
  font-size: clamp(10px, 1vw, 14px);
  line-height: 1.4;
  margin: 0 0 0 clamp(10px, 2vw, 25px);
}

.sp_br {
  display: none;
}

.map_section {
  position: relative;
  margin-top: 60px;
}

.bg_layer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1200px;
  pointer-events: none;
  z-index: 0;
}

.illust_bg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.illust_01 {
  top: 12%;
  padding: 0 72px;
}
.illust_02 {
  top: 37%;
}
.illust_03 {
  top: 105%;
}

/* map section */

.map_inner {
  position: relative;
  z-index: 1;
  margin-top: 55vw;
}

.map {
  margin: 10px 0 0;
  position: relative;
  width: 880px;
}

.map img {
  width: 100%;
}

.map_img_default {
  display: block;
}
.map_img_sp {
  display: none;
}

.pin_map,
.pin_map_b1 {
  position: absolute;
  display: block;
  transform: translate(-50%, -100%);
}

.pin_map img {
  width: 65px;
  height: 81px;
  display: block;
  object-fit: contain;
}

.pin_map_b1 img {
  width: 65px;
  height: 93px;
  display: block;
  object-fit: contain;
}

.pin01 {
  left: 202px;
  top: 969px;
}
.pin02 {
  left: 460px;
  top: 1041px;
}
.pin03 {
  left: 454px;
  top: 1179px;
}
.pin04 {
  left: 341px;
  top: 923px;
}
.pin05 {
  left: 603px;
  top: 927px;
}
.pin06 {
  left: 759px;
  top: 903px;
}
.pin07 {
  left: 597px;
  top: 1130px;
}
.pin08 {
  left: 272px;
  top: 1212px;
}
.pin09 {
  left: 710px;
  top: 279px;
}
.pin10 {
  left: 446px;
  top: 283px;
}

/* モーダル */

.pin_modal {
  border: none;
  padding: 0;
  background: transparent;
  overflow: visible;
}

.pin_modal::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.pin_modal_box {
  width: 498px;
  height: auto;
  padding: 7px;
  background: #94373c;
  color: white;
  font-size: 16px;
  border-radius: 12px;
  position: relative;
  overflow: visible;
}

.img_provision {
  display: block;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
}

.pin_modal_ribbon {
  position: absolute;
  top: -40px;
  left: 48%;
  transform: translateX(-50%);
  width: 443px;
  height: 129px;
  z-index: 2;
  pointer-events: none;
}

.modal_image {
  border-radius: 10px;
}

.pin_modal_close {
  position: absolute;
  top: -29px;
  right: -29px;
  width: 66px;
  height: 66px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 3;
}

.pin_modal_close img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.audio_box {
  padding: 12px 50px 32px 34px;
}

.audio_box p {
  margin-top: 14px;
}

.modal_audio_wrap {
  margin-top: 12px;
  border: 3px solid transparent;
  border-radius: 30px;
}

.modal_audio_wrap.is-playing {
  border-color: #7e0007;
}

.modal_audio {
  width: 100%;
  display: block;
}

/* マップの下のテキスト、ボタン */

.map_area ul {
  padding: 20px 0 0;
  list-style: none;
}

.map_area ul li {
  position: relative;
  font-size: 17px;
  line-height: 1.4;
  padding-left: 0.7em;
  text-indent: -0.7em;
}

.map_area ul li::before {
  content: "* ";
}

.map_area .map_cta_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  width: 100%;
  height: 62px;
  margin: 40px auto 0;
  background-color: #152756;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  gap: 10px;
  line-height: normal;
}

.map_area button:hover {
  opacity: 0.9;
}

.map_area {
  width: unset !important;
}

.map_area img {
  width: unset !important;
  margin-bottom: unset !important;
}

.illust_sp {
  display: none;
}

/* audio section */

.guide_list {
  width: 840px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 40px;
  list-style: none;
  padding: 60px 0;
}

.guide_item {
  margin: 0;
  padding: 0;
}

.guide_head {
  display: flex;
  grid-template-columns: 88px auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 10px;
  align-items: center;
}

.guide_circle {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 88px;
  height: 88px;
  display: block;
  object-fit: contain;
}

.guide_badges {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
}

.guide_pin {
  width: 36px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.guide_b1 {
  width: 26px;
  height: 30px;
  object-fit: contain;
  display: block;
  margin-top: 15px;
}

.guide_title {
  grid-column: 2;
  grid-row: 2;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  white-space: nowrap;
}

.audio_wrap {
  margin-top: 20px;
  border: 3px solid transparent;
  border-radius: 30px;
}

.audio_wrap.is-playing {
  border-color: #8d2b30;
}

.guide_audio {
  width: 100%;
  display: block;
}

/* オーディオバーの色設定（chromeブラウザのみ） */
audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-panel {
  background-color: white;
}

/* bottom */
.main .breadcrumb {
  background-color: transparent !important;
  margin-top: 60px;
}

@media screen and (max-width: 768px) {
  .title_img_default {
    display: none;
  }
  .title_img_sp {
    width: 100%;
    display: block;
  }

  .green_bg {
    bottom: 28px;
  }

  .sp_br {
    display: inline;
  }

  .map_section {
    padding: 0 10px;
  }

  .bg_layer {
    display: none;
  }

  /* map section */
  .map_img_default {
    display: none;
  }
  .map_img_sp {
    display: block;
  }

  .map_inner {
    margin-top: 115vw;
  }

  .pin01 {
    left: 13%;
    top: 75%;
  }
  .pin02 {
    left: 47%;
    top: 79%;
  }
  .pin03 {
    left: 47%;
    top: 89%;
  }
  .pin04 {
    left: 32%;
    top: 71%;
  }
  .pin05 {
    left: 66%;
    top: 71%;
  }
  .pin06 {
    left: 87%;
    top: 69%;
  }
  .pin07 {
    left: 65%;
    top: 85%;
  }
  .pin08 {
    left: 22%;
    top: 90%;
  }
  .pin09 {
    left: 83%;
    top: 27%;
  }
  .pin10 {
    left: 45%;
    top: 27%;
  }

  .map img {
    width: 100% !important;
  }

  .pin_map img {
    width: 43px;
    height: 54px;
  }

  .pin_map_b1 img {
    width: 43px;
    height: 62px;
  }

  /* マップの下のテキスト、ボタン */
  .map_area p {
    padding-bottom: 0 !important;
  }

  .map {
    width: 100%;
  }

  .map_area ul {
    padding: 20px 5px 0 6px;
  }

  .map_area ul li {
    font-size: 14px !important;
  }

  .map_area .map_cta_btn {
    max-width: 500px;
    width: 100%;
    height: auto;
    font-size: 14px;
    margin-top: 20px;
    padding: 20px 18.5px;
    text-align: left;
  }

  /* モーダル */
  .pin_modal_box {
    width: 90%;
    height: fit-content;
    margin: 0 auto;
  }

  .pin_modal_ribbon {
    height: auto;
    top: -30px;
  }

  .audio_box {
    padding: 12px 20px 32px 20px;
  }

  /* 横断歩道イラスト */
  .illust_sp {
    display: block;
    margin-top: 30px;
    width: 100%;
  }

  /* map section */
  .guide_list {
    width: 100%;
    grid-template-columns: 1fr;
    row-gap: 30px;
    padding: 20px 15px 0 14px;
  }

  .guide_head {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .guide_circle {
    width: 58px;
    height: 58px;
    margin-left: 10px;
  }

  .guide_badges {
    order: 2;
    gap: 8px;
    min-height: unset;
  }

  .guide_b1 {
    width: 35px;
    height: 35px;
    margin-top: 9px;
  }

  .guide_title {
    order: 3;
    white-space: normal;
    font-size: 14px;
    margin-top: 5px;
    flex: 1;
  }

  /* bottom */
  .main .breadcrumb {
    background-color: white !important;
  }

  .main .breadcrumb .container {
    padding: 10px 40px !important;
  }

  .main .breadcrumb .item {
    font-size: 8px !important;
  }

  /* iphone対応 */
  @supports (-webkit-touch-callout: none) {
    .audio_wrap,
    .modal_audio_wrap {
      border-radius: 11px;
    }
  }
}
