

.modal__article{
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    padding: 24px 36px;
    max-width: 640px;
    min-width: 320px;
    width: 90vw;
    max-height: 640px;
    min-height: 320px;
    height: 90vw;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #000;
    letter-spacing: .01em;
    overflow-y: scroll;
    z-index: 999;
}

.modal-wrap{
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    overflow-y: scroll;
    z-index: 998;
}

.modal-article__top{
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

.modal__img{
    width: 45%;
    margin-right: 5%;
}

.modal-article__name{
    font-size: 2rem;
}

.modal-article__work{
    font-size: 1.6rem;
}

.modal-article__content{
    margin-bottom: 1.5rem;
}

.modal-article-content__title{
    font-size: 1.6rem;
    font-weight: bold;
    border-bottom: .1rem solid #000;
    padding-bottom: .5rem;
    margin-bottom: .5rem;
}

.modal-article-content__description{
    font-size: 1.4rem;
}

.modal-close{
    display: block;
    padding: 1rem 0;
    background-color: #000;
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    width: 45%;
    text-align: center;
    cursor: pointer;
    transition: .3s;
}

.modal-close:hover{
    opacity: .6;
}


@media only screen and (max-width: 860px){
.header-media__img img{
    height: 20vh !important;
    object-fit: cover;
}

.modal-article__name{
    font-size: 1.8rem;
}

.modal-article__top {
    flex-direction: column;
    margin-bottom: 1rem;
}

.modal__img {
    margin-right: 0;
    margin-bottom: .5rem;
}

.modal-article__work{
    font-size: 1.3rem;
	text-align: center;
}

.modal-article__content{
    margin-bottom: 0.8rem;
}

.modal-article-content__title{
    font-size: 1.5rem;
    padding-bottom: .2rem;
    margin-bottom: .5rem;
}

.modal-article-content__description{
    font-size: 1.5rem;
	line-height: 140%;
}

.modal-close{
    font-size: 1.5rem;
    font-weight: bold;
    width: 50%;
}


.modal__article{
    max-height: 100vh;
    height: 100vh;
    max-width: 100vw;
    width: 100vw;
    border: none;
    padding-top: 11.3rem;
    z-index: 99;
}

.modal-wrap{
    z-index: -1;
}

}

.modal-box {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding: 24px 36px;
  max-width: 640px;
  min-width: 320px;
  width: 90vw;
  max-height: 640px;
  min-height: 320px;
  height: 90vw;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #000;
  text-align: center;
  letter-spacing: .01em;
  overflow-y: scroll;
  z-index: 999; }
  @media screen and (max-width: 576px) {
    .modal-box {
      height: auto;
      max-height: 80vh; } }
  .modal-box img {
    margin-bottom: 16px;
    width: 40%; }
  .modal-box .address {
    color: #30A053; }
  .modal-box-txt {
    padding: 16px 0;
    border-top: 1px solid #1A1311; }
  .modal-box .txt-box {
    margin: 16px auto;
    text-align: left; }
  .modal-box .close-modal {
    margin-top: 24px;
    text-align: center; }