:root {
  --bg: #f7f7f5;
  --card: #ffffff;
  --text: #222222;
  --sub: #6b7280;
  --line: #e5e7eb;
  --accent: #17a34a;
  --accent-soft: #ecfdf3;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --max: 1120px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(247, 247, 245, 0.88);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.topbar-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.topbar-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: #fff;
  transition: 0.2s ease;
  white-space: nowrap;
}

.topbar-lang:hover,
.topbar-lang:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--sub);
  font-size: 0.94rem;
  transition: 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: #fff;
  color: var(--text);
}

.cta {
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  box-shadow: var(--shadow);
}

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

.hero {
  background: linear-gradient(135deg, rgba(23, 163, 74, 0.08), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(23, 163, 74, 0.12);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0 0 18px;
  color: var(--sub);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: #fff;
  transition: 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.button.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
}

.profile-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

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

.profile-mini strong {
  display: block;
  font-size: 1.02rem;
}

.profile-mini span {
  color: var(--sub);
  font-size: 0.93rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: #fcfcfb;
}

.stat-label {
  display: block;
  color: var(--sub);
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.stat strong {
  font-size: 1.05rem;
  line-height: 1.5;
}

.layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 20px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) 330px;
  gap: 24px;
  align-items: start;
}

.main,
.sidebar {
  display: grid;
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body {
  padding: 24px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-title h2,
.section-title h3 {
  margin: 0;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.section-title span {
  color: var(--sub);
  font-size: 0.9rem;
}

.bio {
  display: grid;
  gap: 12px;
  color: #374151;
}

.bio p {
  margin: 0;
}

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

.tag {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f9fafb;
  border: 1px solid var(--line);
  color: #374151;
  font-size: 0.88rem;
}

.pickup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pickup-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: 0.2s ease;
}

.pickup-item:hover,
.pickup-item:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.pickup-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #eefbf2, #f8fafc);
  display: grid;
  place-items: center;
  font-size: 2rem;
}

.pickup-content {
  padding: 16px;
}

.pickup-content h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.5;
}

.pickup-content p {
  margin: 0;
  color: var(--sub);
  font-size: 0.92rem;
  line-height: 1.7;
}

.platform-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.platform-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fcfcfb;
  transition: 0.2s ease;
}

.platform-link:hover,
.platform-link:focus-visible {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.platform-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.platform-text strong {
  display: block;
  font-size: 0.97rem;
  margin-bottom: 2px;
  line-height: 1.45;
}

.platform-text span {
  color: var(--sub);
  font-size: 0.87rem;
  line-height: 1.6;
}

.amazon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.book-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: 0.2s ease;
}

.book-card:hover,
.book-card:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.book-thumb {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #f3f4f6, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.book-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.book-thumb a:hover img,
.book-thumb a:focus-visible img {
  opacity: 0.92;
}

.book-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  transition: opacity 0.2s ease;
}

.book-content {
  padding: 16px;
}

.book-content h3 {
  margin: 0 0 8px;
  font-size: 0.97rem;
  line-height: 1.5;
}

.book-meta {
  color: var(--sub);
  font-size: 0.86rem;
  margin-bottom: 12px;
}

.book-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid var(--line);
  background: #fff;
  transition: 0.2s ease;
}

.mini-btn:hover,
.mini-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.mini-btn.primary {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.side-profile {
  text-align: center;
}

.side-avatar {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  background: linear-gradient(135deg, #dcfce7, #ffffff);
  border: 1px solid var(--line);
}

.side-profile h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.side-profile p {
  margin: 0;
  color: var(--sub);
  font-size: 0.93rem;
}

.side-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.side-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fcfcfb;
  color: #374151;
  font-size: 0.92rem;
  transition: 0.2s ease;
}

.side-list a:hover,
.side-list a:focus-visible {
  background: #fff;
  box-shadow: var(--shadow);
}

.side-note {
  color: var(--sub);
  font-size: 0.88rem;
  margin-top: 12px;
  text-align: left;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}

.timeline-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.timeline-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.timeline-item span {
  color: var(--sub);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 60px;
  color: var(--sub);
  font-size: 0.9rem;
}

.footer-box {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: -1;
  }

  .pickup-grid,
  .amazon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .topbar-inner {
    padding: 12px 14px;
    gap: 10px;
  }

  .topbar-menu {
    flex: 0 0 auto;
  }

  .nav {
    display: none;
  }

  .topbar-lang {
    padding: 10px 14px;
    font-size: 0.92rem;
  }

  .hero-wrap {
    padding: 18px 14px 0;
  }

  .hero {
    padding: 22px;
    border-radius: 22px;
  }

  .layout {
    padding: 18px 14px 44px;
  }

  .card-body {
    padding: 18px;
  }

  .platform-links,
  .pickup-grid,
  .amazon-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .logo span:last-child {
    display: none;
  }

  .profile-mini {
    align-items: flex-start;
  }

  .book-actions {
    flex-direction: column;
  }

  .mini-btn {
    justify-content: center;
    width: 100%;
  }

  .footer {
    padding: 0 14px 40px;
  }

  .footer-box {
    justify-content: center;
    text-align: center;
  }
}

.limited-novels-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.limited-novel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fcfcfb;
  transition: 0.2s ease;
  min-width: 0;
}

.limited-novel-card:hover,
.limited-novel-card:focus-visible {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.limited-novel-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.limited-novel-content {
  min-width: 0;
}

.limited-novel-content strong {
  display: block;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 4px;
  color: var(--text);
  word-break: break-word;
}

.limited-novel-content span {
  display: block;
  font-size: 0.9rem;
  color: var(--sub);
  line-height: 1.7;
  word-break: break-word;
}

@media (max-width: 680px) {
  .limited-novels-grid {
    grid-template-columns: 1fr;
  }
}