/* -------------------------
   共通デザイン (style.css)
------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
  --brand: #007bff;
  --brand-dark: #0056cc;
  --text: #333;
  --muted: #666;
  --bg: #fff;
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.nav a {
  margin-left: 12px;
  color: var(--text);
  font-weight: 500;
}
.nav a:hover { color: var(--brand); }

.brand {
  font-weight: 700;
  font-size: 18px;
}

.hero {
  padding: 60px 0 30px;
  text-align: center;
}
.title {
  font-size: 2.5rem;
  font-weight: 700;
}
.subtitle {
  color: var(--muted);
}

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

.card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #eee;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  transition: all .3s ease;
  text-align: center;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
.card img { border-radius: 12px; }

.btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background: var(--brand);
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  transition: background .2s ease;
}
.btn:hover { background: var(--brand-dark); }

section {
  padding: 40px 0;
}
section h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
section p { margin-bottom: 16px; }

footer {
  color: #777;
  text-align: center;
  padding: 36px 0;
  border-top: 1px solid #eee;
  margin-top: 60px;
}
