* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #ffffff !important;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Yu Gothic", "游ゴシック", Meiryo, "メイリオ", sans-serif;
  color: #222;
}

#app {
  background: #ffffff;
  min-height: 100vh;
}

.notice-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 24px;
}

/* ===== ヘッダー ===== */
.notice-header {
  position: relative;
  display: flex;
  align-items: stretch;
  background: #1f3a5f;
  margin-bottom: 22px;
  min-height: 60px;
}

.notice-header__logo {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  min-width: 110px;
  z-index: 2;
}

.notice-header__logo-mark {
  display: flex;
  align-items: center;
  gap: 6px;
}

.notice-header__logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}

.notice-header__logo-text {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.05em;
}

.notice-header__title {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 0.08em;
  margin: 0;
  line-height: 1.3;
  text-align: center;
  width: 100%;
}

/* ===== 終了告知バナー ===== */
.notice-alert {
  background: #fdecea;
  border: 2px solid #d94c4c;
  color: #c0392b;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  padding: 16px 12px;
  margin-bottom: 20px;
}

/* ===== 2カラム ===== */
.notice-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.notice-card {
  border: 2px solid;
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.8;
}

.notice-card__title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.notice-card p {
  margin: 0 0 12px;
}

.notice-card p:last-child {
  margin-bottom: 0;
}

.notice-card--green {
  background: #e9f3e0;
  border-color: #8cb872;
}

.notice-card--green .notice-card__title {
  color: #2f5d2a;
}

.notice-card--blue {
  background: #e3eef7;
  border-color: #6b96c4;
}

.notice-card--blue .notice-card__title {
  color: #1f3a5f;
}

.notice-card .note {
  font-size: 14px;
}

.notice-card .system-link {
  margin-top: 14px;
}

.notice-card .system-link a {
  color: #1f3a5f;
  text-decoration: underline;
  font-weight: bold;
}

.notice-card .system-link .url {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #1f3a5f;
}

.notice-card .system-link .url a {
  font-weight: normal;
}

/* ===== 問い合わせ先 ===== */
.notice-contact {
  background: #ececec;
  padding: 14px 22px;
  font-size: 15px;
  line-height: 1.8;
}

.notice-contact__title {
  font-weight: bold;
}

.notice-contact__row {
  margin: 0;
}

.notice-contact__hours {
  margin: 4px 0 0;
  font-size: 14px;
  padding-left: 1em;
}

@media (max-width: 720px) {
  .notice-header__title {
    font-size: 20px;
    padding: 12px 16px;
  }
  .notice-header__logo {
    min-width: 80px;
    padding: 8px 12px;
  }
  .notice-alert {
    font-size: 16px;
  }
  .notice-columns {
    grid-template-columns: 1fr;
  }
}
