:root {
  --bg: #f7f8f6;
  --panel: #ffffff;
  --ink: #1b2423;
  --muted: #66706d;
  --line: #dbe1dc;
  --teal: #006c73;
  --red: #bd2f2f;
  --violet: #6246a6;
  --shadow: 0 18px 50px rgba(30, 44, 40, 0.10);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(98, 70, 166, 0.08), transparent 34rem),
    linear-gradient(315deg, rgba(0, 108, 115, 0.08), transparent 30rem),
    var(--bg);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 32px;
}

.masthead {
  display: grid;
  gap: 24px;
  padding: 8px 0 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-mark {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--violet);
  font-size: 0.86rem;
  font-weight: 700;
}

h1,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 2.15rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.shortcut-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.shortcut {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.shortcut:hover,
.shortcut:focus-visible {
  border-color: var(--teal);
}

.path {
  color: var(--violet);
  font-weight: 800;
}

.target {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 24px, 920px);
    padding-top: 28px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
  }

  h1 {
    font-size: 1.72rem;
  }

  .shortcut {
    grid-template-columns: 1fr auto;
    gap: 4px 14px;
  }

  .target {
    grid-column: 1 / -1;
  }

  .footer {
    flex-direction: column;
  }
}
