:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --accent: #b5766a; /* 差し色: 刺繍・ハンドメイドを意識した落ち着いたテラコッタ */
  --accent-soft: #f5ece9;
  --max-width: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 15px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--fg);
}

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 100px;
  text-align: center;
}

.page-hero {
  padding: 80px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 7vw, 60px);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
}

.page-hero h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  margin: 0 0 12px;
}

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

.hero p.role {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 40px;
  letter-spacing: 0.03em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: 1px solid var(--fg);
  transition: all 0.25s ease;
}

.btn.primary {
  background: var(--fg);
  color: var(--bg);
}

.btn.primary:hover {
  background: var(--bg);
  color: var(--fg);
}

.btn.ghost:hover {
  background: var(--fg);
  color: var(--bg);
}

/* ---------- Stats（数字で強弱） ---------- */
.stats-strip {
  padding: 56px 0;
  background: var(--accent-soft);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center;
  padding: 0 12px;
  border-left: 1px solid var(--line);
}

.stat-item:first-child { border-left: none; }

.stat-num {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
  letter-spacing: -0.01em;
}

.stat-num span.unit {
  font-size: 0.4em;
  font-weight: 700;
  color: var(--accent);
  margin-left: 2px;
}

.stat-label {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- Section base ---------- */
section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.section-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  letter-spacing: 0;
  line-height: 1;
}

.section-head h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.03em;
}

.section-lead {
  color: var(--muted);
  font-size: 14px;
  margin: -24px 0 40px;
  max-width: 560px;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
}

.about-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-text p { margin: 0 0 18px; color: #333; }
.about-text p:last-child { margin-bottom: 0; }

.about-text ul {
  margin: 0 0 18px;
  padding-left: 1.2em;
  color: #333;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.badge-row span {
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: #7a4a40;
  border-radius: 999px;
}

/* ---------- Card grids (Services / Works / Hobby) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.plain-card {
  border: 1px solid var(--line);
  padding: 32px 28px;
  transition: border-color 0.2s ease;
}

.plain-card:hover { border-color: var(--fg); }

.plain-card .card-num {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
}

.plain-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.plain-card p { font-size: 14px; color: var(--muted); margin: 0; }

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

.media-card { border: 1px solid var(--line); }

.media-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.media-thumb img { width: 100%; height: 100%; object-fit: cover; }

.media-body { padding: 20px 22px; }

.media-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.media-body h3 { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
.media-body p { font-size: 13px; color: var(--muted); margin: 0; }

.media-card.add-new {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 20px;
}

/* ---------- Tag list (Tools) ---------- */
.tag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.tag-group h3 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }

.tag-list span {
  font-size: 13px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #333;
}

/* ---------- Note box ---------- */
.note-box {
  border: 1px solid var(--line);
  background: #fafafa;
  padding: 20px 24px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-block { text-align: center; }

.contact-block p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 40px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-links a {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
  padding-bottom: 2px;
}

.contact-links a:hover { color: var(--fg); border-color: var(--fg); }

.contact-note {
  font-size: 12px;
  color: #999;
  margin-top: 32px !important;
}

footer {
  padding: 32px 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .nav-links { gap: 18px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat-item:nth-child(3) { border-left: none; }
}
