*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1e293b;
  --primary-fg: #f8fafc;
  --danger: #dc2626;
  --danger-light: rgba(220, 38, 38, 0.08);
  --danger-border: rgba(220, 38, 38, 0.4);
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --fg: #1e293b;
  --fg-muted: #64748b;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.8;
  font-size: 15px;
}

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

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 700;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--danger);
}

.hero {
  background: var(--primary);
  color: var(--primary-fg);
  padding: 64px 20px;
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero-sub {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.8;
  margin-bottom: 24px;
}

.hero-notice {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 13px;
  opacity: 0.85;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon {
  font-size: 22px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card p {
  margin-bottom: 12px;
}

.card p:last-child {
  margin-bottom: 0;
}

.highlight-box {
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}

.highlight-danger {
  background: var(--danger-light);
  border-left: 4px solid var(--danger);
}

.highlight-primary {
  background: rgba(30, 41, 59, 0.04);
  border-left: 4px solid var(--primary);
}

.highlight-label {
  font-weight: 600;
  margin-bottom: 4px !important;
  font-size: 14px;
}

.highlight-danger .highlight-label {
  color: var(--danger);
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--bg);
}

.dot-danger {
  border-color: var(--danger);
  background: var(--danger);
}

.timeline-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.card-danger {
  border-color: var(--danger-border);
}

.timeline-date {
  display: block;
  font-size: 12px;
  font-family: monospace;
  color: var(--fg-muted);
  margin-bottom: 4px;
}

.timeline-heading {
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--fg-muted);
}

.evidence-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.evidence-card {
  padding: 24px;
}

.evidence-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.evidence-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.evidence-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.evidence-card p {
  font-size: 14px;
  color: var(--fg-muted);
}

.profiles {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-card {
  overflow: hidden;
  padding: 0 !important;
}

.profile-content {
  display: flex;
}

.profile-info {
  flex: 1;
  min-width: 0;
}

.profile-photo {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--border);
  background: var(--bg-alt);
}

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

.profile-photo-placeholder {
  color: var(--fg-muted);
  font-size: 13px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}

.profile-header-red { background: #fef2f2; }
.profile-header-blue { background: #eff6ff; }
.profile-header-yellow { background: #fefce8; }

.profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.profile-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px !important;
}

.profile-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
}

.profile-badge-red { background: #fee2e2; color: #dc2626; }
.profile-badge-blue { background: #dbeafe; color: #1e40af; }
.profile-badge-yellow { background: #fef9c3; color: #a16207; }

.profile-body {
  padding: 16px 24px 20px;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table th {
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  padding: 8px 16px 8px 0;
  width: 70px;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.profile-table td {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
  border-bottom: none;
}

.damage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

.damage-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.section-alt .damage-item {
  background: var(--card-bg);
}

.damage-label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px !important;
}

.damage-item p:last-child {
  font-size: 14px;
  color: var(--fg-muted);
}

.diagram-container {
  margin-top: 24px;
}

.diagram-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
}

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

.youtube-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.youtube-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

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

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: opacity 0.2s;
}

.share-btn:hover {
  opacity: 0.85;
}

.share-btn-x {
  background: #000;
  color: #fff;
}

.share-btn-line {
  background: #06C755;
  color: #fff;
}

.share-btn-fb {
  background: #1877F2;
  color: #fff;
}

.share-btn-copy {
  background: var(--bg-alt);
  color: var(--primary);
  border: 1px solid var(--border);
}

.contact-card {
  padding: 32px 24px;
  text-align: center;
}

.contact-card p {
  margin-bottom: 20px;
  color: var(--muted-fg, #64748b);
  font-size: 15px;
}

.x-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #000;
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.x-contact-btn:hover {
  opacity: 0.85;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

.divider-light {
  border-color: rgba(255, 255, 255, 0.15);
}

.footer {
  background: var(--primary);
  color: var(--primary-fg);
  padding: 40px 20px;
  text-align: center;
}

.footer p {
  font-size: 13px;
  opacity: 0.75;
  line-height: 1.8;
}

.footer-copy {
  font-size: 12px !important;
  opacity: 0.45 !important;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 34px;
  }

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

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

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 48px 16px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 18px;
  }
}

.persons-list {
  margin-top: 28px;
}
.persons-list-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}
.persons-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.persons-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
}
.persons-list .pl-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 10px;
}
.persons-list .pl-name {
  font-weight: 700;
  font-size: 1rem;
}
.persons-list .pl-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.persons-list .pl-note a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.persons-list .pl-note a:hover {
  color: var(--danger);
}
