@import url(./global/_variable.css);

/* selection */
/* ============================================ */


.hd_intro {
  text-shadow: 0px 0px 5px rgba(255,255,255,1);
}

.point_img {
  position: absolute;
  top: -8vw;
  left: 5vw;
  width: 32vw;
  @media (width < 896px) {
    top: -18vw;
    left: 9vw;
  }
}

.are_history {
  position: relative;
  background-image: url(../images/canopus/img03.jpg);
  background-position: center bottom;
  background-size: cover;
  padding-block: 3.75vw;
  overflow: hidden;
  @media (width < 896px) {
    padding-block: 30px;
  }
}

.ol_concept {
  @media (width < 896px) {
    opacity: 0.5;
  }
}

.block_history {
  position: relative;
  display: grid;
  grid-template-columns: 16% 1fr;
  color: #FFF;
  text-shadow: 1px 1px 8px rgba(0,0,0,1);
  @media (width < 896px) {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }
}

.hd_concept {
  writing-mode: vertical-rl;
  font-size: clamp(2.4rem, 1.85vw + 1.706rem, 4rem);
  line-height: 1.1em;
  letter-spacing: 0.2em;
  @media (width < 896px) {
    writing-mode: horizontal-tb;
    line-height: 1.4em;
    letter-spacing: 0.1em;
    text-align: center;
  }
}

.block_history_body {
  padding-bottom: 33.85vw;
  padding-top: 10vw;
  @media (width < 896px) {
    padding-top: 2vw;
  }
  @media (width < 480px) {
    padding-bottom: 180px;
  }
}

.txt_history {
  font-size: clamp(1.6rem, 0.41vw + 1.445rem, 2rem);
  line-height: 2.2em;
  text-align: left;
  word-break: keep-all;
  @media (width < 896px) {
    word-break: break-all;
    text-align: justify;
  }
}

.area_search {
  background-color: #c3dae8;
}

.block_search {
  padding-block: 5vw;
}

.line_box {
  img {
    width: 100%;
    height: auto;
  }
}

.area_folklore_ttl {
  position: relative;
}

.img_ttl {
  width: 90%;
  max-width: 800px;
  margin: auto;
  margin-top: -1vw;
}

.corner_lt,.corner_rt {
  position: absolute;
  top: 0px;
  width: 8vw;
  @media (width < 480px) {
    width: 50px;
  }
}

.corner_lt {
  left: 0px;
}
.corner_rt {
  right: 0px;
}


.block_slide_picture {
  background-color: #323244;
  padding-inline: 7vw;
}

.slide_main {
  max-width: 1000px;
  margin: auto;
  position: relative;
  container-type: inline-size;
  .splide__track {
    .splide__list {
      .splide__slide {
        img {
          object-fit: cover;
          width: 100%;
          height: 100%;
        }
      }
    }
  }
  .splide__pagination {
    position: absolute;
    bottom: 20px;
    left: 0px;
    width: 100%;
    gap: 10px;
    @media (max-width:480px) {
      bottom: 10px;
    }
    li {
      padding: 0 0 6px;
      .splide__pagination__page {
        width: 12px;
        height: 12px;
        padding: 0px;
        border-radius: 100%;
        border: none;
        background-color: rgba(255, 255, 255, 1.0);
      }
      .is-active {
        background-color: var(--over_c);
      }
    }
  }
  .splide__arrow--prev,
  .splide__arrow--next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  .splide__arrow--prev {
    left: -4cqw;
  }
  .splide__arrow--next {
    right: -4cqw;
  }
  .button::before {
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    margin: auto;
    width: 4cqw;
    aspect-ratio: 25 / 48;
  }
  .prev::before {
    background-image: url(../images/canopus/prev.svg);
  }
  .next::before {
    background-image: url(../images/canopus/next.svg);
  }
  .button:disabled::before {
    opacity: .5;
  }
}

.block_slide_txt {
  background-color: #f1eedf;
  padding-inline: 7vw;
}

.slide_txt {
  position: relative;
  text-align: center;
  .splide__track {
    .splide__list {
      .splide__slide {
        @media (width < 480px) {
          height: 200px;
          overflow-y: scroll;
        }
      }
    }
  }
}

.area_stage {
  padding-bottom: 5vw;
  @media (width < 896px) {
    padding-bottom: 40px;
  }
}

.txt_minwa {
  font-size: clamp(1.4rem, 0.64vw + 1.16rem, 1.8rem);
  line-height: 2em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  padding-block: 2cqw;
  font-feature-settings: "halt";
  @media (width < 896px) {
    word-break: normal;
    text-align: justify;
  }
}

.column_stage {
  display: grid;
  row-gap: 3.7cqw;
  padding-top: 3.7cqw;
  @media (width < 896px) {
    row-gap: 30px;
    padding-top: 20px;
  }
}

.item_stage {
}

.hd_stage {
  font-size: clamp(2rem, 2.9vw + 0.912rem, 4.8rem);
  letter-spacing: 0.2em;
  line-height: 1.4em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  color: #0071b7;
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  font-feature-settings: "halt";
  border-bottom: #666 solid 1px;
  padding-bottom: 1cqw;
}

.body_stage {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2cqw;
  padding-top: 2cqw;
  @media (width < 896px) {
    grid-template-columns: 1fr;
  }
}

.txt_stage {
  font-size: clamp(1.4rem, 0.41vw + 1.245rem, 1.8rem);
  line-height: 2em;
  text-align: justify;
}

.bpx_gmap {
  iframe {
    aspect-ratio: 4 / 3;
  }
}