
.iframeWrapper {
    position: relative;
}

.iframeWrapper::before {
    content: "";
    display: block;
    padding-top: calc(600 / 800 * 100%);
}

.iframeWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/*TODO: mapの形状を指定したい。*/
#event_location_map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100px; /* PC向けデフォルト高さ */
}

/* スマホ画面での高さ制限 */
@media (max-width: 576px) {
    #event_location_map {
      height: 300px; /* スマホ向け高さ */
    }
}

.map-container2::before {
    content: "";
    display: block;
/*    padding-top: calc(800 / 600 * 100%);*/
}

.map-container2 {
  position: relative;
  width: 100%;
  padding-bottom: calc(600 / 600 * 100%);
  height: 0;
  margin-bottom: 1rem;
}

.map-container2 .leaflet-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.map-container::before {
    content: "";
    display: block;
    padding-top: calc(600 / 800 * 100%);
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 60%;
  height: 0;
  margin-bottom: 1rem;
}
.map-container .leaflet-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}


/*-----------------------------------------*/

div.quarto-about-broadside {
  display: flex;
  flex-direction: column;
  padding-bottom: 1em;
  background-size: contain;

  .about-main {
    display: flex !important;
    padding-top: 0 !important;
    @include media-breakpoint-up(lg) {
      flex-direction: row;
      align-items: flex-start;
    }

    @include media-breakpoint-down(lg) {
      flex-direction: column;
    }

    .about-entity {
      @include media-breakpoint-down(lg) {
        flex-shrink: 0;
        width: 100%;
        height: 450px;
        margin-bottom: 1.5em;
        background-size: cover;
        background-repeat: no-repeat;
      }
      @include media-breakpoint-up(lg) {
        flex: 0 10 50%;
        margin-right: 1.5em;
        width: 100%;
        height: 100%;
        background-size: 100%;
        background-repeat: no-repeat;
      }
    }

    .about-contents {
      padding-top: 14px;
      flex: 0 0 50%;
    }
  }

  h2 {
    border-bottom: none;
  }

  .about-sep {
    margin-top: 1.5em;
    width: 60%;
    align-self: center;
  }

  .about-links {
    @include responsive-buttons();
    justify-content: center;
    column-gap: 20px;
    padding-top: 1.5em;
  }

  .about-link {
    @include responsive-button();
    @include media-breakpoint-up(lg) {
      border: none;
    }
  }
}


.link-card {
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  display: flex;
  margin-bottom: 20px;
  text-decoration: none;
  color: inherit;
}

.link-card img {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  object-fit: cover;
  width: 150px;
  height: 150px;
}

.link-card-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.link-card-title {
  font-size: 1.25em;
  margin: 0;
  margin-bottom: 5px;
}

.link-card-description {
  font-size: 1em;
  margin: 0;
  color: #586069;
}

/* About pageのimageの表示修正  */

.about-entity {

  background-size: contain;
  
}