:root {
  --bg: #f6f1e7;
  --panel: #ffffff;
  --accent: #6ca8e1;
  --accent-soft: #d8eafd;
  --text: #1f2f3d;
  --muted: #4f6070;
  --shadow: 0 12px 32px rgba(19, 52, 82, 0.08);
  --radius: 18px;
  --max-width: 1080px;
  --heading: 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.7;
  font-size: 20px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand span {
  font-size: 18px;
  color: var(--muted);
}

nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

nav a {
  padding: 10px 14px;
  border-radius: 12px;
  background: transparent;
  font-size: 18px;
  color: var(--text);
}

nav a:hover {
  background: var(--accent-soft);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 20px 60px;
}

.hero {
  background: linear-gradient(135deg, #ffffff 0%, #f7f5ef 50%, #eaf3ff 100%);
  border-radius: calc(var(--radius) * 1.3);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 18px;
}

.hero p {
  font-size: 22px;
  color: var(--muted);
  margin: 0 0 16px;
}

.hero img {
  width: 100%;
  border-radius: calc(var(--radius) * 1.1);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button.secondary {
  background: var(--panel);
  color: var(--text);
  border: 1px solid #d8dde3;
  box-shadow: none;
}

.button:hover {
  transform: translateY(-2px);
}

.section {
  margin-top: 32px;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.section h2 {
  margin-top: 0;
  font-size: 28px;
  line-height: 1.3;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 6px 20px rgba(19, 52, 82, 0.05);
  border: 1px solid #eef1f5;
}

.card h3 {
  margin-top: 0;
  font-size: 22px;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.figure {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: center;
}

.figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  padding: 10px 0;
  border-bottom: 1px solid #eef1f5;
  font-size: 20px;
}

.footer {
  margin-top: 36px;
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 640px) {
  body { font-size: 19px; }
  .hero h1 { font-size: 30px; }
  nav { gap: 8px; }
}
