@charset "UTF-8"; html,body { width: 100%; max-width: 100%; } .wrapper { width: 100%; font-size: 16px; } .modal-mgm { button.close { position: absolute; top: 5px; right: 5px; width: 30px; height: 30px; opacity: 1; z-index: 1; img { width: 100%; height: auto; } } .modal{ &-dialog { margin: 0 1rem; &-centered::before { height: calc(90vh - 1rem); } } &-content { border-radius: 10px; } &-body { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 45px 20px 25px; img { width: 100%; height: auto; image-rendering: pixelated; image-rendering: -webkit-optimize-contrast; } p { color: $blue; font-size: 16px; font-weight: 400; margin-bottom: 20px; } .mgm { &__pic { width: 275px; margin-bottom: 23px; } &__title { width: 212px; margin-bottom: 15px; } &__btn { width: 209px; } } } } } .pc{ display: none; } @media screen and (min-width: 500px) { .pc { display: block; position: fixed; width: 100%; height: 100%; top: 0; bottom: 0; left: 0; right: 0; z-index: 999; background-color: #000; &__bg { position: absolute; width: 150%; height: 150%; background: url(https://d1xzlli46wohoc.cloudfront.net/images/indexPage/bg.jpg) no-repeat center center/cover; filter: grayscale(10%) blur(30px) ; } &__pic { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 80%; height: auto; img { width: 100%; height: auto; image-rendering: pixelated; image-rendering: -webkit-optimize-contrast; } } } }