
@media screen and (min-width: 1001px) and (max-width: 10000px) {
  .popupP {
    float: left;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 50;
  }
  .popupP__inside {
    float: left;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
  }
  .popupP__inner {
    float: left;
    width: 60.9375vw;
    padding: 3.125vw;
    position: relative;
    background-color: #fff;
  }
  .popupP__more {
    float: left;
    width: 100%;
    position: relative;
    margin: 1.0416666667vw 0px 0px 0px;
  }
  .popupP__more .more__18 {
    margin: 0px 1.0416666667vw 0px 0px !important;
  }
.popupM {
    float: left;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 50;
  }
  .popupM__inside {
    float: left;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
  }
  .popupM__inner {
    float: left;
    width: 56.25vw;
    position: relative;
  }
  .popupM__inner:hover .popupM__more {
    transform: scale(1.1);
    background-color: #7f6b3a;
  }
  .popupM__img {
    float: left;
    width: 100%;
    position: relative;
    z-index: 3;
  }
  .popupM__more {
    float: left;
    width: 13.5416666667vw;
    height: 3.90625vw;
    margin: 0px 0px 0px -6.7708333333vw;
    padding: 0px 0px 0px 0px;
    position: absolute;
    left: 50%;
    bottom: 1.0416666667vw;
    color: #fff;
    font-size: 1.3020833333vw;
    font-weight: 600;
    line-height: 1.3020833333vw;
    background-color: #e0bc82;
    z-index: 7;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    transition: all 0.3s ease-in-out;
  }
  .popupM__close {
    float: right;
    width: 2.3958333333vw;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 7;
    cursor: pointer;
  }
}

@media screen and (min-width: 0px) and (max-width: 1000px) {
  .popupP {
    float: left;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 50;
  }
  .popupP__inside {
    float: left;
    width: 100%;
    height: 100%;
    padding: 2.2222222222vw;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  }
  .popupP__inner {
    float: left;
    width: 100%;
    max-height: 90vh;
    padding: 4.4444444444vw;
    position: relative;
    background-color: #fff;
    overflow-y: scroll;
  }
  .popupP__more {
    float: left;
    width: 100%;
    position: relative;
    margin: 4.4444444444vw 0px 0px 0px;
  }
  .popupP__more .more__18 {
    margin: 2.2222222222vw 0vw 0px 0px !important;
  }
.popupM {
    float: left;
    width: 100%;
    position: relative;
    background: rgba(0, 0, 0, 0.8);
    z-index: 50;
  }
  .popupM__inside {
    float: left;
    width: 100%;
    position: relative;
    padding: 5vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;

    box-sizing: border-box;
  }
  .popupM__inner {
    float: left;
    width: 100%;
    position: relative;
  }
  .popupM__inner:hover .popupM__more {
    transform: scale(1.1);
    background-color: #7f6b3a;
  }
  .popupM__img {
    float: left;
    width: 100%;
    position: relative;
    z-index: 3;
  }
  .popupM__more {
    float: left;
    width: 100%;
    height: 11.25vw;
    margin: 0px 0px 0px 0vw;
    padding: 0px 0px 0px 0px;
    position: relative;
    color: #fff;
    font-size: 5vw;
    font-weight: 600;
    line-height: 5vw;
    background-color: #e0bc82;
    z-index: 7;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    transition: all 0.3s ease-in-out;
  }
  .popupM__close {
    float: right;
    width: 9vw;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 7;
    cursor: pointer;
  }
}