* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #001a4a;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

.hero-page {
  min-height: 100vh;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #001a4a;
}

.hero__image {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__news-button {
  position: absolute;
  top: 44px;
  left: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 320px;
  min-height: 72px;
  padding: 14px 22px 14px 28px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  background: rgba(2, 35, 112, 0.94);
  color: #ffffff;
  text-decoration: none;
  box-shadow:
    0 0 0 2px rgba(8, 34, 91, 0.95) inset,
    0 8px 24px rgba(0, 0, 0, 0.22);
  pointer-events: auto;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.hero__news-button:hover,
.hero__news-button:focus-visible {
  background: rgba(7, 45, 135, 0.98);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 2px rgba(8, 34, 91, 0.95) inset,
    0 12px 28px rgba(0, 0, 0, 0.28);
}

.hero__news-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}

.hero__news-text {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.hero__news-arrow {
  font-size: 34px;
  line-height: 1;
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .hero__news-button {
    top: 28px;
    left: 28px;
    min-width: 280px;
    min-height: 64px;
    padding: 12px 20px 12px 24px;
  }

  .hero__news-text {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
  }

  .hero__image {
    height: 100svh;
    object-position: center center;
  }

  .hero__news-button {
    position: fixed;
    top: auto;
    left: 16px;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: auto;
    min-width: 0;
    min-height: 56px;
    padding: 12px 18px;
    border-radius: 14px;
    z-index: 1000;
  }

  .hero__news-text {
    font-size: 17px;
  }

  .hero__news-arrow {
    font-size: 30px;
  }
}
