:root {
  --navy: #17375e;
  --blue: #2f7df6;
  --light: #f5f7fb;
  --text: #202433;
  --gray: #667085;
  --white: #ffffff;
  --border: #dce3ec;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--light);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans JP", sans-serif;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 6%;
  background: var(--navy);
}

.logo {
  color: var(--white);
  font-size: 25px;
  font-weight: 800;
  text-decoration: none;
}

nav a {
  margin-left: 24px;
  color: var(--white);
  text-decoration: none;
}

main {
  min-height: calc(100vh - 150px);
}

.hero {
  padding: 110px 8%;
  text-align: center;
  background: linear-gradient(145deg, #eef4ff, #ffffff);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.2;
}

.hero p {
  color: var(--gray);
  font-size: 21px;
}

.button {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 34px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 9px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.login-panel {
  width: min(460px, 90%);
  margin: 70px auto;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(23, 55, 94, 0.1);
}

.login-panel h1 {
  margin-top: 0;
  text-align: center;
}

label {
  display: block;
  margin-top: 20px;
  font-weight: 700;
}

input {
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
}

.login-panel .button {
  width: 100%;
}

footer {
  padding: 28px;
  color: #aebbd0;
  background: var(--navy);
  text-align: center;
}
