:root {
  /* ちくわカラー - 明るい茶色ベース */
  --primary: #d4a574;
  --primary-dark: #c4956a;
  --primary-light: #e8c9a8;
  --accent: #fff8f0;
  --bg-dark: #faf6f1;
  --bg-card: #ffffff;
  --bg-card-hover: #f5efe8;
  --text-primary: #3d2e1f;
  --text-secondary: #7a6652;
  --border: #e5d9cc;
  --gradient-start: #d4a574;
  --gradient-end: #c08040;
  --shadow: 0 8px 32px rgba(100, 70, 40, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Inter", sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: #fff;
  box-shadow: 0 4px 20px rgba(212, 165, 116, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212, 165, 116, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.download-checksum {
  margin-top: 12px;
  width: 100%;
  position: relative;
}

.download-checksum .checksum-list {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.download-checksum summary {
  font-size: 11px;
  color: var(--text-secondary);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.download-checksum summary:hover {
  opacity: 1;
}

.checksum-list {
  margin-top: 8px;
}

.checksum-list p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-align: left;
}

.checksum-label {
  font-weight: 600;
  color: var(--text-primary);
}

.checksum-list code {
  display: block;
  font-family: "Inter", monospace;
  font-size: 9px;
  background: rgba(0, 0, 0, 0.04);
  padding: 4px 6px;
  border-radius: 3px;
  word-break: break-all;
  overflow-wrap: anywhere;
  color: var(--text-secondary);
  margin-top: 2px;
  line-height: 1.4;
}

.btn-download {
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: #fff;
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 14px;
}

.download-size {
  margin-left: auto;
  font-size: 11px;
  opacity: 0.7;
}

.btn-download:hover {
  transform: translateY(-2px);
}

.btn-download.secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-download.secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-github {
  display: flex;
  align-items: center;
}

.nav-github svg {
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav-github:hover svg {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse at 30% 20%,
      rgba(212, 165, 116, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 80%,
      rgba(192, 128, 64, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  white-space: nowrap;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-platforms {
  font-size: 14px;
  color: var(--text-secondary);
}

.hero-mockup {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    var(--shadow),
    0 0 60px rgba(212, 165, 116, 0.15);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.mockup-img {
  width: 100%;
  display: block;
}

.characters {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent, rgba(212, 165, 116, 0.08));
}

.characters .container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.character-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  max-width: 400px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.character-card:hover {
  box-shadow: var(--shadow);
}

.character-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.character-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.character-role {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.character-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.features {
  padding: 100px 0;
}

.section-title {
  font-size: 42px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 40px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 60px;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

/* ヒントで導くAI - 強調カード */
.feature-card.highlight-card {
  background: linear-gradient(
    135deg,
    rgba(212, 165, 116, 0.08),
    rgba(192, 128, 64, 0.04)
  );
  border-color: var(--primary);
  position: relative;
  overflow: hidden;
}

.feature-card.highlight-card::before {
  content: "おすすめ";
  position: absolute;
  top: 16px;
  right: -32px;
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(45deg);
}

.feature-card.highlight-card .feature-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.feature-icon-img {
  background: none !important;
}

.feature-icon-img img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.feature-icon-duo {
  background: none !important;
  display: flex;
  gap: 4px;
}

.feature-icon-duo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.feature-card.highlight-card:hover {
  box-shadow: 0 8px 40px rgba(212, 165, 116, 0.25);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(
    135deg,
    rgba(212, 165, 116, 0.2),
    rgba(192, 128, 64, 0.12)
  );
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.screenshots {
  padding: 120px 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(212, 165, 116, 0.06),
    transparent
  );
}

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

.screenshot-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.screenshot-card:hover {
  box-shadow: var(--shadow);
}

.screenshot-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-card-hover);
}

.screenshot-caption {
  padding: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
}

.download {
  padding: 100px 0;
}

.download-cards {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  width: 360px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.download-card:hover {
  box-shadow: var(--shadow);
}

.download-icon {
  margin-bottom: 20px;
}

.download-icon.windows {
  color: #00a4ef;
}

.download-icon.macos {
  color: #333;
}

.download-platform {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.download-version {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.download-req {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.download-packages-section {
  text-align: center;
  max-width: 640px;
  margin: 24px auto 0;
}

.download-packages {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 4px;
}

.download-packages-detail {
  font-size: 12px;
  color: var(--text-secondary);
}

.download-packages-detail summary {
  cursor: pointer;
  color: var(--primary);
  font-size: 12px;
}

.download-packages-detail p {
  margin-top: 8px;
  line-height: 1.8;
  word-break: break-word;
  text-align: left;
}

.download-note {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.download-note p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  background: #f5efe8;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 36px;
    white-space: normal;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-mockup {
    max-width: 600px;
    margin: 0 auto;
  }

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

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

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

  .hero-title {
    font-size: 32px;
  }

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

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

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

  .features-grid,
  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .character-card {
    flex-direction: column;
    text-align: center;
    max-width: 100%;
  }

  .download-cards {
    flex-direction: column;
    align-items: center;
  }

  .download-card {
    width: 100%;
    max-width: 320px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text {
  animation: fadeInUp 0.6s ease-out;
}

.pricing {
  padding: 100px 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(212, 165, 116, 0.06),
    transparent
  );
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 60px;
}

.pricing-note {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card .btn-pricing {
  margin-top: auto;
}

.pricing-card:hover {
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(212, 165, 116, 0.25);
}

.pricing-card.featured::before {
  content: "おすすめ";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.pricing-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  margin-bottom: 24px;
}

.pricing-price .amount {
  font-size: 48px;
  font-weight: 900;
}

.pricing-price .period {
  font-size: 16px;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li svg {
  color: var(--primary);
  flex-shrink: 0;
}

.pricing-features li.disabled {
  opacity: 0.4;
}

.pricing-features li.disabled svg {
  color: var(--text-secondary);
}

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

/* Feature Badge */
.feature-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  vertical-align: middle;
}

.feature-badge.free {
  background: rgb(157, 233, 218, 25%);
  color: #33a093;
}

.feature-badge.pro {
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: #fff;
}

.faq {
  padding: 120px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.faq-question {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.faq-question::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 36px;
}

.contact-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.page-title {
  font-size: 42px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 16px;
}

.page-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
}

.form-group .required {
  color: #ff6b6b;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b949e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group.checkbox {
  flex-direction: row;
  align-items: center;
}

.form-group.checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form-group.checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-group.checkbox a {
  color: var(--primary);
  text-decoration: underline;
}

.btn-submit {
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: #fff;
  padding: 16px 32px;
  font-size: 16px;
  margin-top: 8px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212, 165, 116, 0.5);
}

.form-success {
  text-align: center;
  padding: 60px 20px;
}

.form-success .success-icon {
  color: var(--primary);
  margin-bottom: 24px;
}

.form-success h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.form-success p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hidden {
  display: none !important;
}

/* Contact Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.sidebar-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.sidebar-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.sidebar-card ul {
  list-style: none;
  font-size: 13px;
  color: var(--text-secondary);
}

.sidebar-card ul li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.sidebar-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
}

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

.sidebar-card.contact-info a {
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
}

@media (max-width: 1024px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 60px;
  }

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

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

  .contact-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .page-title {
    font-size: 32px;
  }
}

.legal-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
}

.legal-section h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 12px;
}

.legal-section p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section ol,
.legal-section ul {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-section a {
  color: var(--primary);
}

/* Tokushoho Table */
.tokushoho-table {
  width: 100%;
  border-collapse: collapse;
}

.tokushoho-table tr {
  border-bottom: 1px solid var(--border);
}

.tokushoho-table tr:last-child {
  border-bottom: none;
}

.tokushoho-table th,
.tokushoho-table td {
  padding: 20px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.tokushoho-table th {
  width: 200px;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(212, 165, 116, 0.12);
}

.tokushoho-table td {
  color: var(--text-secondary);
  line-height: 1.8;
}

.tokushoho-table td a {
  color: var(--primary);
}

.tokushoho-table td ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.tokushoho-table td li {
  margin-bottom: 4px;
}

.tokushoho-table td small {
  color: var(--text-secondary);
  opacity: 0.7;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 24px;
  }

  .tokushoho-table th,
  .tokushoho-table td {
    display: block;
    width: 100%;
    padding: 12px 0;
  }

  .tokushoho-table th {
    background: transparent;
    padding-bottom: 4px;
    color: var(--primary);
  }

  .tokushoho-table tr {
    padding: 16px 0;
  }
}

.changelog-entry {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.changelog-entry:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.changelog-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}

.changelog-version {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
}

.changelog-date {
  font-size: 14px;
  color: var(--text-secondary);
}

.changelog-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 20px;
  margin-bottom: 10px;
}

.changelog-body ul {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 24px;
  margin-bottom: 8px;
}

.changelog-body li {
  margin-bottom: 4px;
}

.about-section {
  margin-bottom: 36px;
}

.about-section:last-child {
  margin-bottom: 0;
}

.about-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.about-section p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 10px;
}

.about-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.about-name-en {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
}

.about-affiliation {
  width: 100%;
  border-collapse: collapse;
}

.about-affiliation th,
.about-affiliation td {
  padding: 10px 16px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.about-affiliation th {
  width: 80px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.about-affiliation td {
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-link {
  color: var(--primary-dark);
  font-weight: 500;
  transition: opacity 0.15s;
}

.about-link:hover {
  opacity: 0.7;
}

.about-tech-list {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 2;
  padding-left: 24px;
  list-style: disc;
}

.about-tech-list strong {
  color: var(--text-primary);
}
