@media screen and (min-width: 960px) {
    a{
        color:#333333;
        text-decoration:none;
    
    }
    .cookie-consent {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        bottom: -400px;
        left: calc(50% - 960px/2);
        width: 960px;
        font-size: 12px;
        background: white;
        padding: 16px;
        box-sizing: border-box;
        border: 1px solid #ddd;
        visibility: visible;
        transition: .5s;
        border-radius: 5px;
        border: 2px solid #99999933;	
        box-shadow: 3px 3px 3px #00000029;
    }
    .cookie-consent.is-show {
        bottom: 0px;
    }
    .cookie-left-content{
        width: 50%;
        text-align: left;
        padding-top: 16px;
        padding-bottom: 16px;
    }
    .cookie-text {
        color: black;
        font-size: 1rem;
        padding-top: 16px;

    }
    .cookie-link {
        color: rgb(58, 58, 245);
        padding-top: 8px;
        font-size: 1rem;
    }
    .cookie-right-top-content{
        position:absolute; 
        top:-1%; 
        right:1%;
    }
    .cookie-close{
        font-size: 30px;
        font-weight: bold;
        text-decoration: none;
    }
    .cookie-right-bottom-content{
        width: 50%;
        text-align: center;
        padding-right: 16px;
        padding-bottom: 30px;
        margin-left: 16px;
        text-align: right;
    
    }
    
    
    .btn--agree,
    a.btn--agree {
        color: #fff;
        background-color: cornflowerblue;
        display: inline-block;
        width: 180px;
        padding: 10px 0px;
        font-size: 1rem;
        font-weight: bold;
        border-radius: 5px;
        border: 4px solid cornflowerblue;
        margin-right: 16px;
        text-align: center;
        text-decoration: none;
    }
    .btn--agree:hover,
    a.btn--agree:hover {
        color: #fff;
        background-color: cornflowerblue;
    }
    .btn--reject,
    a.btn--reject {
        color: cornflowerblue;
        font-weight: bold;
        background-color: #fff;
        width: 180px;
        padding: 10px 0px;
        display: inline-block;
        /* display: inline-block; */
        font-size: 1rem;
        border-radius: 5px;
        border: 4px solid cornflowerblue;
        text-align: center;
        margin-right: 10px;
        text-decoration: none;
    }
    .btn--reject:hover,
    a.btn--reject:hover {
        color: cornflowerblue;
        background-color: #fff;
    }
    /* パッと消える */
    .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;
    }
}
}

@media screen and (max-width:960px) and (min-width:768px){
    a{
        color:#333333;
        text-decoration:none;
    
    }
    .cookie-consent {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        bottom: -400px;
        left: calc(50% - 100%/2);
        width: 100%;
        font-size: 12px;
        background: white;
        padding: 1.2em;
        box-sizing: border-box;
        border: 1px solid #ddd;
        visibility: visible;
        transition: .5s;
        border-radius: 5px;
        border: 2px solid #99999933;	
        box-shadow: 3px 3px 3px #00000029;
    }
    .cookie-consent.is-show {
        bottom: 0px;
    }
    .cookie-left-content{
        width: 53%;
        padding-left: 16px;
        text-align: left;
        padding-bottom: 16px;
        padding-top: 16px;

    }
    .cookie-text {
        color: black;
        font-size: 1rem;
        padding-top: 16px;
    
    }
    .cookie-link {
        color: rgb(58, 58, 245);
        padding-top: 8px;
        font-size: 1rem;
    }
    .cookie-right-top-content{
        position:absolute; 
        top:1%; 
        right:1%;
    }
    .cookie-close{
        font-size: 30px;
        font-weight: bold;
    }
    .cookie-right-bottom-content{
        width: 45%;
        text-align: center;
        padding-right: 16px;
        padding-bottom: 30px;
        margin-left: 16px;
        
        text-align: right;
        
    }
    
    .btn--agree,
    a.btn--agree {
        color: #fff;
        background-color: cornflowerblue;
        width: 135px;
        display: inline-block;
        font-size: 1rem;
        font-weight: bold;
        border-radius: 5px;
        padding: 8px 0px;
        border: 4px solid cornflowerblue ;
        text-align: center;
        margin-right:16px;
    }
    .btn--agree:hover,
    a.btn--agree:hover {
        color: #fff;
        background-color: cornflowerblue;
    }
    .btn--reject,
    a.btn--reject {
        color: cornflowerblue;
        font-weight: bold;
        display: inline-block;
        background-color: #fff;
        width: 135px;
        font-size: 1rem;
        padding: 8px 0px;
        border-radius: 5px;
        border: 4px solid cornflowerblue ;
        text-align: center;
        margin-right: 8px;

    }
    .btn--reject:hover,
    a.btn--reject:hover {
        color: cornflowerblue;
        background-color: #fff;
    }
    /* パッと消える */
    .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;
    }
}
}
/* メディアクエリ */
@media screen and (max-width: 768px) {
    a{
        color:#333333;
        text-decoration:none;
    
    }
    .cookie-body{
        width: 100%;
    }
    .cookie-consent {
        display: flex;
        align-items: center;
        position: fixed;
        bottom: -30px;
        width: auto;
        font-size: 5px;
        background: white;
        box-sizing: border-box;
        visibility: visible;
        transition: .5s;
        border-radius: 10px;
        border-top: 2px solid #99999933;	
        border-left: 2px solid #99999933;	
        border-right: 2px solid #99999933;	
        box-shadow: 0px -5px 15px -6px rgba(0,0,0,0.34);
    }
    .cookie-consent.is-show {
        bottom: 0px;
        display: flex;
        flex-direction: column;
        height: auto;
        width: 100%;
    }
    .cookie-left-content{
        padding-left: 16px;
        padding-right: 16px;
        text-align: center;
        padding-top: 16px;
        padding-bottom: 16px;
        text-align: left;
    }
    .cookie-text {
        margin-top: 25px;
        color: black;
        font-size: 1rem;
        width: 100%;
    }
    .cookie-link {
        /* display: none; */
        font-size: 1rem;
        padding-top: 4px;
    }
    .cookie-right-top-content{
        position:absolute; 
        top:0%; 
        right:1%;
    }
    .cookie-close{
        font-size: 25px;
        font-weight: bold;
        padding-right: 16px;
    }
    .cookie-right-bottom-content{
        width: 100%;

        text-align: center;
        padding: 0px;
    }
    
    .btn--agree,
        a.btn--agree {
        color: #fff;
        background-color: cornflowerblue;
        width: calc(100%-32px);
        margin: 0 16px;
        font-size: 1rem;
        padding: 10px 0px;
        border-radius: 5px;
        font-weight: bold;
        border: 2px solid cornflowerblue ;
        display: flex;
        flex-direction: column;

        }
        .btn--agree:hover,
        a.btn--agree:hover {
        color: #fff;
        background-color: cornflowerblue;
        }
        .btn--reject,
        a.btn--reject {
        color: cornflowerblue;
        font-weight: bold;
        background-color: #fff;
        width: calc(100%-32px);
        margin:16px;
        padding: 10px 0;
        font-size: 1rem;
        font-weight: bold;
        border-radius: 5px;
        border: 2px solid cornflowerblue ;
        display: flex;
        flex-direction: column;
        }
        .btn--reject:hover,
        a.btn--reject:hover {
        color: cornflowerblue;
        background-color: #fff;
        }
    /* パッと消える */
    .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;
    }
    }
}