/*ポップアップ*/
.popup {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 9999;
opacity: 0;
visibility: hidden;
transition: .6s;
}
.popup.is-show {
opacity: 1;
visibility: visible;
}
.popup-inner {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
width: 80%;
max-width: 750px;
padding: 20px;
background-color: #ffffff;
z-index: 2;
border-radius: 10px;
}
.popup-inner img {
width: 100%;
}
a.popupbun{
text-decoration: none; 
display: inline-block;
background: #f7dcaf;
color: rgb(202, 9, 9);
font-size: 110%;
font-weight: bold;
padding: 10px 30px;
border-radius: 50px;
}
.popbox{
width: 100%;
margin: 0 auto;
padding: 20px 0;
}
.popup p{
font-size: 90%;
text-indent: 0;
}
.imagephoto{
width: 100%;
margin: 0 auto;
}
.imagephoto img{
width: 50%;
}
.close_btn  {
font-size: 95%;
font-weight: bold;
width: 85%;
border: 2px solid #FFB43B;
background: #F4C51F;
padding: 10px 0;
letter-spacing: 0.2em;
text-align: center;
margin: 20px auto;
box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
border-radius: 10px;
cursor: pointer;
color: #FFFFFF;
display: inline-block;
}
.close_btn:hover {
background: #F5960C;
color: #ffffff;
}

.black-background {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(15, 15, 15, 0.5);
z-index: 1;
cursor: pointer;
}
.calbox{
width: 60%;
margin: 0 auto;
}
.calbox_top{
width: 100%;
margin: 0 auto;
}
.popup_title {
position: relative;
color: #00BBB2;
font-weight: bold;
font-size: 140%;
text-align: center;
}
.popup_title:before {
content: url("../img/hiyoko_newyear.png");  /*画像のURL*/
position:relative;
top:5px;      /*上からの位置*/
left:0;       /*左からの位置*/
}
.popup_cent{
font-size: 120%;
font-weight: bold;
color: #E33F00;
padding: 10px;
text-align: center;
}
.wv_box {
position: relative;
max-width: 750px;
margin: 0 auto 2em;
padding: 1.5em 1em;
border: 8px solid transparent;
border-radius: 4px;
background: linear-gradient(white, white), linear-gradient(#FFE95A, #FFE95A) no-repeat 100% 100% / 30px 30px, linear-gradient(#FFE95A, #FFE95A) no-repeat 0 100% / 30px 30px, linear-gradient(#FFE95A, #FFE95A) no-repeat 100% 0 / 30px 30px, linear-gradient(#FFE95A, #FFE95A) no-repeat 0 0 / 30px 30px, linear-gradient(#e6e6e6, #e6e6e6);
background-clip: padding-box, border-box, border-box, border-box, border-box, border-box;
background-origin: border-box;
}
.wv_box:before,
.wv_box:after ,
.wv_box .wv_inner:before,
.wv_box .wv_inner:after {
display: inline-block;
position: absolute;
content: "";
}
.wv_box:before {
right: 10px;
bottom: 16px;
width: 52px;
height: 8px;
border-radius: 2px 2px 0 0;
background: #5a95f5;
}
.wv_box:after {
right: 11px;
bottom: 1px;
width: 50px;
height: 15px;
border-radius: 0 0 4px 4px;
background: #d2e2fc;
}
.wv_box .wv_inner:before {
right: 71px;
bottom: 1px;
width: 48px;
height: 8px;
background: linear-gradient(90deg, #ea4335 8%, #f2f2f2 8%, #f2f2f2 70%, #ea4335 70%);
}
.wv_box .wv_inner:after {
right: 98px;
bottom: 9px;
width: 48px;
height: 8px;
background: linear-gradient(90deg, #333 8%, #f2f2f2 calc(8% + 1px), #f2f2f2 70%, #333 calc(70% + 1px));
transform: rotate(-20deg);
}
/*ポップアップここまで*/
@media screen and (max-width: 600px){ 
 /*ポップアップ*/
.popup {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 9999;
opacity: 0;
visibility: hidden;
transition: .6s;
}
.popup.is-show {
opacity: 1;
visibility: visible;
}
.popup-inner {
width: 95%;
max-width: 500px;
padding: 10px;
}

a.popupbun{
text-decoration: none; 
display: inline-block;
background: #f7dcaf;
color: rgb(202, 9, 9);
font-size: 100%;
font-weight: bold;
padding: 5px 15px;
border-radius: 50px;
}
.popbox{
width: 100%;
margin: 0 auto;
padding: 10px 0;
}
.popup p{
font-size: 90%;
text-indent: 0;
padding: 0 10px;
}
.imagephoto{
width: 100%;
margin: 0 auto;
}
.imagephoto img{
width: 90%;
}
.black-background {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(15, 15, 15, 0.5);
z-index: 1;
cursor: pointer;
}
.popup_cent{
font-size: 100%;
}
.popup_cent span{
display: inline-block;
}
.popup_title {
font-size: 110%;
}
.close_btn  {
width: 95%;
    padding: 10px 5px;
}
}
@media screen and (max-width:580px) {
.check-btns{
font-size: 100%;
}
.wv_box {
position: relative;
padding: 0;
}
}
