/* ===============================
   GW告知バナー（中央配置・白背景）
================================ */

.gw-notice-bar {
  width: 100%;
  background: transparent;
  /* 外側は透過 */
  padding: 16px 10px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

/* バナー本体 */
.gw-notice-bar__inner {
  width: 100%;
  max-width: 900px;
  background: #ffffff;
  border: 2px solid #1f8a3a;
  border-radius: 6px;
  padding: 14px 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* テキスト */
.gw-notice-bar__text {
  margin: 0;
  font-size: 14px;
  color: #111;
  line-height: 1.6;
}

/* ボタン */
.gw-notice-bar__btn {
  background: #1f8a3a;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  transition: 0.2s;
}

.gw-notice-bar__btn:hover {
  background: #166b2c;
}

/* ===============================
   SP
================================ */
@media screen and (max-width: 767px) {

  .gw-notice-bar {
    padding: 12px 8px;
  }

  .gw-notice-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }

  .gw-notice-bar__text {
    font-size: 13px;
  }

  .gw-notice-bar__btn {
    width: 100%;
    text-align: center;
    font-size: 13px;
    padding: 10px;
  }
}
/* ===============================
   SPボタン崩れ修正
================================ */

@media screen and (max-width: 767px) {

  .gw-notice-bar__btn {
    width: 100%;
    box-sizing: border-box;
    /* ←これが最重要 */
    text-align: center;

    display: block;
    /* ←はみ出し防止 */

    padding: 10px 12px;
    margin-top: 8px;

    background: #1f8a3a;
    color: #ffffff !important;
    /* ←強制的に白文字 */

    font-size: 13px;
    font-weight: bold;

    border-radius: 4px;
    text-decoration: none;
  }

}