﻿:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #17222f;
  --muted: #5b6a78;
  --primary: #1363df;
  --primary-dark: #0f4fb3;
  --line: #dbe3ec;
  --shadow: 0 12px 30px rgba(21, 40, 60, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

.container {
  width: min(1060px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.logo {
  text-decoration: none;
  color: #d62828;
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.03em;
}

.btn-primary {
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 12px;
  transition: 0.2s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-primary.compact {
  padding: 8px 12px;
  border-radius: 10px;
}

.ghost {
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.ghost:hover {
  background: rgba(17, 34, 47, 0.06);
}

.field {
  margin-bottom: 14px;
}

label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

input::placeholder,
textarea::placeholder {
  color: #8b97a5;
}

input:disabled,
select:disabled,
textarea:disabled {
  opacity: 0.6;
}

.page-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #86b7ff;
  outline-offset: 2px;
}
