@charset "UTF-8";.modal{width:100%;height:100%;position:fixed;top:0;left:0;z-index:600}.modal:not(:target){opacity:0;visibility:hidden;transition:opacity .5s,visibility .5s}.modal:target{opacity:1;visibility:visible;transition:opacity .5s,visibility .5s}.modal .overlay{display:block;width:100%;height:100%;background-color:#000;opacity:.7}.modal-bg{overflow:auto;width:90%;max-width:600px;max-height:80%;background-color:#fcfaf5;position:absolute;top:35%;left:50%;transform:translate(-50%,-30%)}.modal-contents{width:100%;box-sizing:border-box;text-align:left;position:relative}.modal-content{margin:20px}.line{display:block;height:1px;width:100%;background-color:#bbb;margin-top:10px;margin-bottom:20px}.modal-content h1{font-size:1.8rem}.modal-content h1 span{font-size:1.2rem;margin-top:10px}.modal-lead{color:#ab7834;font-size:1.4rem;line-height:2.1rem;margin-top:10px}.modal-text{font-size:1.4rem;line-height:2.1rem;margin-top:20px}.modal-close{position:absolute;top:0;right:20px;text-decoration:none;color:#333}.modal-mynumber__images{margin-top:20px;padding-bottom:20px}.modal-mynumber__image1,.modal-mynumber__image2{background-position:center;background-repeat:no-repeat;height:320px;max-width:245px;margin:0 auto}.modal-mynumber__image1{background-image:url(//www.photostudio-kohno.jp/wp/wp-content/themes/photostudio-kohno/css/../images/03-08_mynumber/mynumber_sample.jpg);background-size:100%}.modal-mynumber__image2{margin-top:20px;background-image:url(//www.photostudio-kohno.jp/wp/wp-content/themes/photostudio-kohno/css/../images/03-08_mynumber/maina.jpg);background-size:100%}@media (min-width:960px){.modal-bg{max-width:1000px;max-height:600px}.modal-content{margin:40px}.modal-content h1{font-size:3.2rem;line-height:4.8rem}.modal-content h1 span{font-size:2rem;line-height:3rem}.modal-lead{font-size:2rem;line-height:3rem;margin-top:20px}.modal-text{font-size:1.6rem;line-height:3.2rem;margin-top:30px}.line{margin-top:20px}.modal-close{position:absolute;top:0;right:40px;text-decoration:none;color:#333}.modal-mynumber__images{margin:20px auto 0 auto;padding-bottom:20px;height:320px;width:700px;display:flex}.modal-mynumber__image1,.modal-mynumber__image2{background-position:center;background-repeat:no-repeat;height:320px;width:245px}.modal-mynumber__image2{margin-top:0}}