/**************************\
  Basic Modal Styles
\**************************/
/* Modal */
.modal__overlay {
  background: transparent;
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
}
@media screen and (max-width: 768.99px) {
  .modal__overlay {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
  }
}


.modal__container {
  background-color: #fff;
  border: 1px solid #ccc;
  max-width: 740px;
  height: auto;
  min-height: 60vh;
  max-height: 94vh;
  padding: 0;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
  overflow-y: scroll;
  position: relative;
}
.blockArchive .modal__container {
  margin: 0 auto;
  padding: 0;
  width: 80%;
  max-width: unset;
  background-color: rgba(0,0,0,0);
  box-shadow: unset;
  border: 0;
}
@media screen and (max-width: 768.98px) {
  .modal__container {
    margin: 0;
    padding: 0;
    max-width: 90%;
  }
}
::-webkit-scrollbar {
  border-radius: 10px;
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background-color: #b6b6b6;
  border-radius: 10px;
}

.modal__video {
  display: block;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  height: auto;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
}
.modal__video iframe {
  width: 100%;
  height: 100%;
}
.modal__header {
  display: block;
  padding: 2em 2em 0 0;
  position: relative;
  width: 100%;
  height: auto;
}
@media screen and (max-width: 768.98px) {
  .modal__header {
    margin: 0;
    padding: 0;
  }
}
.modal__header .number {
  background: #000;
  color: #FFF;
  display: block;
  font-size: 32px;
  font-weight: 900;
  line-height: 50px;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  left: 30px;
  width: 50px;
  height: 50px;
  text-align: center;
}
@media screen and (max-width: 768.98px) {
  .modal__header .number {
    font-size: 32px;
    line-height: 50px;
    width: 50px;
    height: 50px;
    top: 0;
  }
}

.modal__header_top {
  position: relative;
  top: 0;
  left: 0;
  width: 100%; 
}
@media screen and (max-width: 768.98px) {
  .modal__header_top {
    position: absolute;
    top: -1.2em;
    left: -1em;
  }
}

.modal__header .sponsored {
  background: #DECE50;
  color: #FFF;
  font-size: 18px;
  font-weight: 700;
  line-height: 32px;
  display: block;
  position: absolute;
  text-align: center;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  right: 38%;
  width: 170px;
  height: auto;
  text-align: center;
}
@media screen and (max-width: 768.98px) {
  .modal__header .sponsored {
    width: 120px;
    font-size: 12px;
    line-height: 24px;
    right: auto;
    left: 100px;
  }
}
.modal__close {
  position: absolute;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  top: 45px;
  right: 5px;
  box-sizing: border-box;
  z-index: 9999;
  outline: none;
}
@media screen and (max-width: 768.98px) {
  .modal__close {
    top: -6px;
    right: 4px;
  }
}
.modal__close img {
  display: block;
  width: 100%;
  height: auto;
}
.modal__header time {
  font-size: 21px;
  font-weight: 600;
  position: absolute;
  left: 90px;
  top: 10px;
}
@media screen and (max-width: 768.98px) {
  .modal__header time {
    top: 30px;
  }
}
.modal__title {
  background-size: cover;
  margin-top: 20px;
  padding: 0.25em 0 0.5em 2rem;
  font-weight: 900;
  font-size: 30px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}
@media screen and (max-width: 768.98px) {
  .modal__title {
    font-size: 23px;
    position: relative;
    top: 50px;
  }
  .modal__title br.sp {
    display: block;
  }
}
@media screen and (min-width: 769px) {
  .modal__title {
    margin-top: 65px;
  }
  .modal__title br.sp {
    display: none;
  }
}
.modal__title small {
  font-size: 68%;
  line-height: 1;
}
.modal__header .sponsor {
  padding: 1em 0 1em 1em;
  font-size: 15px;
  font-weight: 400;
  line-height: 2;
}
@media screen and (min-width: 769px) {
.modal__header .sponsor.sp {
  padding: 0;
  font-size: 14px;
  line-height: 1;
}
}
@media screen and (max-width: 768.98px) {
  .modal__header .sponsor {
    padding: 4em 2em 2em 1em;
    font-size: 14px;
    line-height: 1;
  }
  .modal__header .sponsor.sp {
    display: inline-block !important;
  }
}
.modal__lead {
  display: block;
  margin: 0 auto;
  padding: 1em;
  width: 96%;
  height: auto;
  background: #eee;
  border-radius: 20px;
}
.modal__lead p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}
@media screen and (max-width: 768.98px) {
  .modal__lead p{
    font-size: 14px;
    line-height: 1.8;
  }
}
.modal__lead p small {
  font-size: 80%;
  line-height: 1;
}
.modal__flex {
  width: 100%;
  padding: 30px 0;
}
@media screen and (min-width: 769px) {
  .modal__flex {
    padding: 0 0 30px 0;
  }
}
.modal__profile {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  padding: 30px;
}
@media screen and (max-width: 768.98px) {
  .modal__profile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 30px 30px 30px 30px;
  }
}

.modal__profile.modal__profile-ex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.modal__profile figure {
  margin: 0;
  padding: 0;
  width: 190px;
  height: auto;
}
@media screen and (max-width: 768.98px) {
  .modal__profile figure {
    width: 100%;
    text-align: center;
  }
}
.modal__profile figure img {
  border: 1px solid #ccc;
  display: block;
  width: 90%;
  height: auto;
}

@media screen and (max-width: 768.98px) {
  .modal__profile figure img {
    margin: 0 auto;
    width: 200px;
  }
}
@media screen and (max-width: 399.99px) {
  .modal__profile figure img {
    margin: 0 auto;
    width: 160px;
  }
}
.modal__profile dl {
  font-size: 16px;
  line-height: 1.4;
  padding: 0;
  width: calc(100% - 210px);
  height: auto;
  display: block;
  overflow: hidden;
}
@media screen and (max-width: 768.98px) {
  .modal__profile dl {
    margin-top: 2em;
    width: 100%;
  }
}
@media screen and (max-width: 399.99px) {
  .modal__profile dl {
    margin-top: 1em;
    width: 100%;
  }
}
.modal__profile dt {
  margin: 0;
  padding: 0;
  font-size: 28px;
  font-weight: 900;
  text-align: left;
}
@media screen and (max-width: 768.98px) {
  .modal__profile dt {
    font-size: 21px;
    font-weight: 700;
  }
}
@media screen and (max-width: 399.99px) {
  .modal__profile dt{
    font-size: 18px;
  }
}
.modal__profile span,
.modal__profile small {
  font-size: 70%;
}
.modal__profile dd {
  font-size: 12px;
  text-align: left;
  margin: 0;
  padding: 1em 0 0 0;
  height: auto;
}
@media screen and (max-width: 768.98px) {
  .modal__profile dd {
    font-size: 16px;
    line-height: 1.6;
  }
}
@media screen and (max-width: 399.99px) {
  .modal__profile dd {
    font-size: 14px;
    line-height: 1.6;
  }
}
/* Animation */
@keyframes mmfadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}

@keyframes mmfadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}

@keyframes mmslideIn {
from {
transform: translateY(10%);
}
to {
transform: translateY(0);
}
}

@keyframes mmslideOut {
from {
transform: translateY(0);
}
to {
transform: translateY(-10%);
}
}

.micromodal-slide {
display: none;
}

.micromodal-slide.is-open {
display: block;
filter: blur(30%);
width: 100vw;
height: 100vw;
z-index: 9999;
position: absolute;
top: 0;
left: 0;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
animation: mmfadeIn 0.8s cubic-bezier(0.34, 0.07, 0.095, 0.995);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
animation: mmslideIn 0.8s cubic-bezier(0.34, 0.07, 0.095, 0.995);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
animation: mmfadeOut 0.8s cubic-bezier(0.34, 0.07, 0.095, 0.995);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
animation: mmslideOut 0.8s cubic-bezier(0.34, 0.07, 0.095, 0.995);
}
