  .notice-wrapper {
    background-color: #f2f2f2;
    /* border-top: 1px solid #ccc; */
    border-bottom: 1px solid #ccc;
    width: 100%;
  }

  .notice-list {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 10px 0;
    list-style: none;
  }

  .notice-item {
    display: flex;
    align-items: center;
    padding: 4px 20px;
    box-sizing: border-box;
    width: 100%;
  }

  .notice-label {
    background-color: #555;
    color: white;
    padding: 4px 10px;
    font-weight: bold;
    font-size: 0.85em;
    margin-right: 15px;
    width: 130px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .notice-label.is-important {
    background-color: #800000; 
  }

  .notice-text {
    color: #333;
    line-height: 1.5;
    font-size: 0.9em;
    margin: 0 !important;
    padding: 5px 0 0 0 !important;
  }

  .notice-text a {
    color: inherit; 
    text-decoration: none; 
    display: inline; 
  }

  .notice-text a:hover {
    text-decoration: underline;
  }


  /* --- スマートフォン用レイアウト --- */
  @media (max-width: 768px) {
    .notice-item {
      padding: 6px 10px;

    }
    .notice-label {
      width: 110px;
      font-size: 0.8em;
      margin-right: 10px;
    }
    .notice-text {
      font-size: 0.85em;
      padding-top: 0 !important; /* スマホで縦並び等になる場合は上余白をリセット */
    }
  }