
.cookie-consent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  font-size: 12px;
  color: #fff;
  background: rgba(0,0,0,.7);
  padding: 1.2em;
  box-sizing: border-box;
  visibility: hidden;
}
.cookie-consent.is-show {
  visibility: visible;
}
.cookie-consent a {
  color: #e45053 ;
}

.cookie-consent .cookie_msg { 
  flex:1; 
  margin:0; 
  color:#fff; 
  font-size:13px; 
  line-height:1.5; 
}

.cookie-agree {
  position: relative;
  display: inline-block;
  outline: none;
  border: none;
  min-width: 220px;
  padding: 0.7em 3em 0.65em 3em;
  font-size: 1.1em;
  text-align: center;
  font-weight: bold;
  color: #fff;
  background: #e45053;
  cursor: pointer;
}

.cookie-agree:hover {
  background: #3396c4;
}

.cookie_inner {
  width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.cookie_flex {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
}

.cc-hide1 {
  display: none;
}

.cc-hide2 {
  animation: hide 1s linear 0s;
  animation-fill-mode: forwards;
}
@keyframes hide {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.cookie_close-icon{
  position:relative;
  left:102%;
  bottom:10px;
  font-size:30px;
  color:#fff;
  cursor: pointer;
}




@media screen and (max-width: 1100px) {

  .cookie-agree {
    position: relative;
    left:0%;
    display: block;
    outline: none;
    border: none;
    min-width: none;
    margin:10px 75px 0px ;
    padding: 2% 8% ;
    font-size: 1.1em;
    text-align: center;
    font-weight: bold;
    color: #fff;
    background: #e45053;
    cursor: pointer;
  }

  .cookie_close-icon{
    position:relative;
    left:94%;
    bottom:10px;
    font-size:30px;
    color:#fff;
    cursor: pointer;
  }
}

@media screen and (max-width: 768px) {

  .cookie-agree {
    position: relative;
    left:0%;
    display: block;
    outline: none;
    border: none;
    min-width: none;
    margin:60px 7px 0px ;
    padding: 2% 8% ;
    font-size: 1.1em;
    text-align: center;
    font-weight: bold;
    color: #fff;
    background: #e45053;
    cursor: pointer;
  }

  .cookie_close-icon{
    position:relative;
    left:94%;
    bottom:10px;
    font-size:30px;
    color:#fff;
    cursor: pointer;
  }
}



@media screen and (max-width: 525px) {
  .cookie-consent {
    flex-direction: column;
  }
  .cookie-text {
    margin-bottom: 1em;
  }

  .cookie_inner {
    width: 90%;
    margin-left: 0;
    
  }

  .cookie-agree {
    position: relative;
    left:0%;
    display: block;
    outline: none;
    border: none;
    min-width: none;
    margin:10% 20% 0 ;
    padding: 2% 8% ;
    font-size: 1.1em;
    text-align: center;
    font-weight: bold;
    color: #fff;
    background: #e45053;
    cursor: pointer;
  }


  .cookie-consent .cookie_msg { 
    flex:1; 
    margin:0; 
    color:#fff; 
    font-size:13px; 
    line-height:1.4; 
    padding:20 40; 
    position:relative;
    top:20px;
  }

  

  .cookie_close-icon{
    position:
    relative;
    left: 100%;
    font-size:30px;
    color:#fff;
    cursor: pointer;
  }

}




/*ポップアップここから*/
.popup_wrap input {
  display: none;
}

.popup_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
}

.popup_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}

.popup_content {
  position: relative;
  align-self: center;
  width: 90%;
  max-width: 800px;
  padding: 30px 30px 15px;
  box-sizing: border-box;
  background: #fff;
  line-height: 1.4em;
  transition: 0.5s;
}

.close_btn {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 30px;
  cursor: pointer;
}

.popup_wrap input:checked ~ .popup_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s;
}

.open_btn {
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width:130px;
  margin:10px auto;
  padding: 8px 16px;
  color: #e45053;
  font-weight: bold;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  border-radius: 3px;
  cursor: pointer;
  transition: .3s ease;
  background-color: #3396c4;

}
.open_btn:hover{
    transition: .3s ease;
}
/*ポップアップココまで*/


