:root {
  --paper: #f4f2ee;
  --card: #fbfaf7;
  --ink: #1d1d1b;
  --ink-soft: #5c5a55;
  --line: #dcd8d0;
  --emblem: rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 6px 18px rgba(0, 0, 0, 0.05);
  --serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 名刺右側の大きなエンブレムを背景に薄く配置 */
.emblem-bg {
  position: fixed;
  right: -22vmax;
  bottom: -12vmax;
  width: 70vmax;
  height: 70vmax;
  background-color: var(--emblem);
  -webkit-mask: url("assets/emblem.svg") center / contain no-repeat;
  mask: url("assets/emblem.svg") center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 56px 20px 32px;
}

.hero {
  text-align: center;
  margin-bottom: 40px;
}

.logo { margin: 0; }

.logo img {
  width: min(280px, 78vw);
  height: auto;
}

/* 名刺裏面のキャッチコピー。中央揃え・太字・字間広め */
.catch {
  margin: 32px 0 0;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 2.3;
  letter-spacing: 0.3em;
  /* letter-spacing で右に寄る分を打ち消す */
  padding-left: 0.3em;
}

.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  opacity: 0;
  transform: translateY(8px);
  animation: rise 0.6s ease forwards;
}

.link:hover,
.link:focus-visible {
  border-color: var(--ink);
  transform: translateY(-1px);
  outline: none;
}

.link-icon {
  flex: none;
  width: 22px;
  height: 22px;
}

.link-text { flex: 1; min-width: 0; }

.link-label {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.link-sub {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}

.link-arrow {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--ink-soft);
}

.actions {
  margin-top: 28px;
  text-align: center;
}

.share {
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 10px 22px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.share:hover,
.share:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.footer {
  margin-top: 48px;
  text-align: center;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .link { animation: none; opacity: 1; transform: none; }
}
