.modal-box{ font-family: 'Noto Sans JP', sans-serif; } .modal-box .show-modal{ color: rgba(255,255,255,0.9); background-color: #d81e5b; font-size: 18px; font-weight: 300; letter-spacing: 1px; text-transform: uppercase; padding: 10px 15px 11px; margin: 80px auto 0; border: none; outline: none; display: block; border-radius: 0; box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); transition: all 0.3s ease 0s; } .modal-box .show-modal:hover, .modal-box .show-modal:focus{ color: #fff; background-color: #d81e5b; box-shadow: 3px 3px rgba(255,255,255,0.5); outline: none; } .modal-backdrop.in{ opacity: 0; } .modal-box .modal-dialog{ width: 500px; margin: 50px auto 0; } .modal.fade .modal-dialog{ transform: scaleX(0); } .modal.in .modal-dialog{ transform: scaleX(1); } .modal-box .modal-dialog .modal-content{ color: #8d8479; background: repeating-linear-gradient(#fdf0d5, #fdf0d5 10px, #fceccc 10px, #fceccc 20px); text-align: center; border: none; } .modal-box .modal-dialog .modal-content .close{ color: rgba(255,255,255,0.9); background-color: #d81e5b; font-size: 20px; font-weight: 600; text-shadow: none; line-height: 20px; height: 30px; width: 30px; box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); border-radius: 50%; overflow: hidden; opacity: 1; position: absolute; left: auto; right: 5px; top: 5px; z-index: 1; transition: all 0.3s; } .modal-box .modal-dialog .modal-content .close:hover{ color: #fff; } .modal-box .modal-dialog .modal-content .close:focus{ outline: none; } .modal-box .modal-dialog .modal-content .modal-body{ padding: 25px 30px !important; } .modal-box .modal-dialog .modal-content .modal-body .modal-icon{ color: #ffc71b; background: linear-gradient(to left,#222 50%, #444 50%); font-size: 75px; line-height: 103px; width: 110px; height: 110px; margin: 0 auto 15px; border-radius: 50%; } .modal-box .modal-dialog .modal-content .modal-body .description{ font-size: 14px; font-weight: 300; letter-spacing: 0.5px; text-align: justify; line-height: 24px; margin: 0 0 25px; } .modal-box .modal-dialog .modal-content .modal-body .btn{ color: #fff; background: #d81e5b; font-size: 17px; letter-spacing: 1px; font-weight: 300; text-transform: uppercase; padding: 20px; border: none; border-radius: 5px; margin: 0 auto 15px; transition: all 0.3s ease 0s; } .modal-box .modal-dialog .modal-content .modal-body .btn:hover{ text-shadow: 3px 3px rgba(0, 0, 0, 0.4); box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.6); } .modal-box .modal-dialog .modal-content .modal-body .btn:focus { outline: none; } @media only screen and (max-width: 576px){ .modal-dialog{ width: 95% !important; } }