* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #f3f5f8;
  color: #333;
  font-family:
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Meiryo",
    sans-serif;
  line-height: 1.8;
}

.notice {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-top: 6px solid #1f5fa8;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 40px 32px;
}

.notice h1 {
  margin: 0 0 24px;
  font-size: 1.5rem;
  color: #1f5fa8;
  text-align: center;
}

.notice p {
  margin: 0 0 16px;
}

.link-box {
  margin-top: 32px;
  padding: 20px;
  background: #eef4fb;
  border-radius: 6px;
  text-align: center;
}

.link-box .label {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #555;
}

.link-box a {
  display: inline-block;
  padding: 12px 28px;
  background: #1f5fa8;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  word-break: break-all;
  transition: background 0.2s;
}

.link-box a:hover,
.link-box a:focus {
  background: #164a85;
}

.link-box .url {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: #666;
  word-break: break-all;
}

@media (max-width: 480px) {
  .notice {
    padding: 28px 20px;
  }

  .notice h1 {
    font-size: 1.25rem;
  }
}
