:root {
  --primary: #005bac;
  --primary-dark: #003f82;
  --accent: #e6002d;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f5f8fc;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 91, 172, 0.12), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(230, 0, 45, 0.08), transparent 25%),
    linear-gradient(135deg, #ffffff 0%, var(--bg) 100%);
  line-height: 1.8;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

[hidden] {
  display: none !important;
}

.page {
  width: min(100%, 920px);
}

.language-switcher {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.language-group {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.language-button {
  min-width: 54px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}

.language-button[aria-pressed="true"] {
  color: #fff;
  background: var(--primary);
}

.language-button:focus-visible {
  outline: 3px solid rgba(0, 91, 172, 0.28);
  outline-offset: 2px;
}

.notice-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.topbar {
  height: 8px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.inner {
  padding: clamp(32px, 6vw, 64px);
}

.logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.logo-box {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.isis-logo,
.needshare-logo {
  max-width: 250px;
  width: 100%;
  height: auto;
  display: block;
}

.arrow {
  color: var(--primary);
  font-size: 28px;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 12px;
  text-align: center;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.lead {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
  font-size: clamp(16px, 2.4vw, 19px);
  color: #374151;
}

.message {
  max-width: 720px;
  margin: 34px auto 0;
  padding: 26px clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfdff;
}

.message p {
  margin: 0 0 14px;
}

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

.date-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 28px;
  padding: 8px 16px;
  color: var(--primary-dark);
  background: #eef6ff;
  border: 1px solid #cfe7ff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.date-wrap {
  text-align: center;
}

.actions {
  margin-top: 38px;
  text-align: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 91, 172, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
  box-shadow: 0 16px 34px rgba(0, 91, 172, 0.32);
}

.button:focus-visible {
  outline: 3px solid rgba(0, 91, 172, 0.28);
  outline-offset: 4px;
}

.footer {
  margin-top: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  body {
    align-items: flex-start;
    padding-top: 20px;
  }

  .language-switcher {
    justify-content: center;
  }

  .inner {
    padding: 30px 20px 34px;
  }

  .logos {
    gap: 14px;
    margin-bottom: 30px;
  }

  .logo-box {
    width: 100%;
    min-height: 68px;
  }

  .arrow {
    transform: rotate(90deg);
    font-size: 24px;
  }

  .button {
    width: 100%;
    min-width: 0;
  }
}
