@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);

.cookie-consent {
    display: flex;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    width: 100%;
    background:rgba(255, 255, 255, 0.8);
    padding-top:1.2em;
    padding-bottom:1.2em;
    box-sizing: border-box;
    z-index: 10000;
    vertical-align: middle;
  }

  .cookie-text{
    margin:auto 0px auto 30px;
    font-size: 15px;
    color: #333333;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: normal;
    opacity: 90%;
    height: auto;
  }

  .cookie-consent.is-show {
    visibility: visible;
  }

  .cookie-agree {
    background: -moz-linear-gradient(to bottom,#1721B4,#17213C 50%,#1721B4); 
    background: -webkit-linear-gradient(to bottom,#1721B4,#17213C 50%,#1721B4); 
    background: linear-gradient(to bottom,#1721B4,#17213C 50%,#1721B4); 
    color: white;
    border: none;
    /* 枠線を消す */
    outline: none;
    /* クリックしたときに表示される枠線を消す */
    width: 135px;
    border-radius: 5px;
    height: 36px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    /* margin-left: 3%; */
    cursor: pointer;
    /* 縦横中央揃え */
    text-align: center;
    -webkit-appearance: none;
    -webkit-text-size-adjust: 100%;
    margin: auto 30px auto 15px;
    padding: 0px;
  }

  .cookie-agree:hover {
    opacity: 0.8;
}
  .cookie-agree:hover {
    cursor: pointer;
  }
  /* パッと消える */
  .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: 450px) and (max-width: 1100px) {
    .cookie-consent {
      width: 100%;
      flex-direction: column;
      text-align: center;
    }
    .cookie-text {
      margin: auto 15px;
      text-align: left;
    }

    .cookie-agree{
      margin: auto;
      display: block;
    }
  }

  @media screen and (max-width: 1100px) {
    .cookie-consent {
      width: 100%;
      flex-direction: column;
      text-align: center;
    }
    .cookie-text {
      margin: auto 15px;
      text-align: left;
      display: inline;
    }

    .cookie-agree{
      margin: auto;
      display: block;
    }
  }