/* ----------- */
/* CULTURE */
/* JSで表示されるモーダルのCSS */
/* ----------- */

.modal_culture_bg {
  background-color: rgba(0, 0, 0, .5);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: none;
}

.modal_culture_wrap {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 auto;
  width: 488px;
}

.modal_culture_contents {
  width: 488px;
  border-radius: 10px;
  background-color: #fff;
  max-height: 90vh;
  overflow-y: auto;
}

.modal_culture_contents::-webkit-scrollbar {
  width: 10px;
}
.modal_culture_contents::-webkit-scrollbar-track{
  background-color: #ccc;
  border-radius: 4px;
}
.modal_culture_contents::-webkit-scrollbar-thumb{
  background-color: #545454;
  border-radius: 4px;
}

.modal_culture_contents_img {
  width: 100%;
  border-radius: 10px;
  border-bottom-left-radius: unset;
  border-bottom-right-radius: unset;
}
.modal_culture_contenst_layout {
  padding: 20px;
}

.modal_culture_contents_title {
  color: #F7618F;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.6;
}

.modal_culture_contents_text {
  line-height: 1.6;
}
.modal_culture_contents_text_annotation {
  display: inline-block;
  color: #8A8A8A;
  margin: 12px 0;
}

.modal_culture_contents_close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.modal_culture_contents_close:hover {
  cursor: pointer;
  transition: all .2s;
  opacity: .6;
}

@media screen and (max-width: 768px) {

  .modal_culture_wrap {
    width: calc(100% - 40px);
    margin: 0 20px;
  }
  .modal_culture_contents {
    width: 100%;
  }
  .modal_culture_contents_close {
    top: 12px;
    right: 12px;
  }
}