@charset "UTF-8";

/* PC用 */
@media screen and (min-width: 768px) , print {
  /* 告示エリア */
  #announcement_area {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: calc(100% - 20px);
    background-color: #e8ecf7;
    padding: 10px;
    margin-bottom: 15px;
    & > div {
      width: 85%;
      & > #announcement_title {
        width: 100%;
        text-align: center;
        & > strong {
          font-size: 1.5em;
          color: #007BBE;
          text-shadow: 2px 2px #CCC;
        }
      }
      & #announcement_txt {
        width: 100%;
      }
    }
    & > a#announcement_btn {
      display: flex;
      justify-content: center;
      align-items: center;
      width: calc(15% - 10px);
      margin-left: 10px;
      padding:5px;
      color: #FFF;
      text-align: center;
      gap: 15px;
      background-color: #217FC4;
      border-radius: 10px;
      &::after {
        content: '';
        display: block;
        background: url(../common/img/arrow_rev.svg) no-repeat center;
        background-size: contain;
        width: 20px;
        height: 20px;
        margin: 0;
      }
    }
  }
  
  
}


/* 小さい画面用 */
@media screen and (max-width: 767px) {
  /* 告示エリア */
  #announcement_area {
    width: calc(100% - 20px - 20px);
    background-color: #e8ecf7;
    padding: 10px;
    margin: 0 auto 15px;
    & > div {
      width: 100%;
      margin-bottom: 10px;
      & > #announcement_title {
        width: 100%;
        text-align: center;
        & > strong {
          font-size: 1.5em;
          color: #007BBE;
          text-shadow: 2px 2px #CCC;
        }
      }
      & #announcement_txt {
        width: 100%;
      }
    }
    & > a#announcement_btn {
      display: inline-block;
      width: calc(100% - 10px);
      padding:5px;
      color: #FFF;
      text-align: center;
      gap: 15px;
      background-color: #217FC4;
      border-radius: 10px;
      & > br {
        display: none;
      }
    }
  }
}

