:root {
  --color-bg: #d6d4c1;
  --color-bg-dark: #ccc9b6;
  --color-text: #3d3a33;
  --color-text-muted: #7a7568;
  --color-line: #b5b0a0;
  --font-en: "Quicksand", sans-serif;
  --font-jp: "Zen Maru Gothic", sans-serif;
}

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

html {
  font-size: 18px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-jp);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  /* 画用紙っぽい微細なテクスチャ（モノクロ） */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='5' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paper)' opacity='0.06'/%3E%3C/svg%3E");
}

.container {
  width: 100%;
  max-width: 440px;
  padding: 20px 32px 48px;
  animation: fadeIn 0.8s ease-out;
}

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

/* Header */
.header {
  text-align: center;
  margin-bottom: 28px;
  animation: fadeIn 0.8s ease-out 0.15s both;
}

.header-sub {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.header-title {
  font-family: var(--font-jp);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.header-line {
  width: 32px;
  height: 2px;
  background: var(--color-line);
  margin: 20px auto 0;
  border-radius: 1px;
}

/* Sections */
.section {
  margin-bottom: 24px;
  animation: slideUp 0.6s ease-out calc(0.3s + var(--delay) * 0.1s) both;
}

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

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1.5px dashed var(--color-line);
}

.section-title-en {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.section-title-ja {
  font-family: var(--font-jp);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
}

/* Links */
.links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.25);
  border: 1.5px solid transparent;
  border-radius: 10px;
  transition: all 0.25s ease;
}

@media (hover: hover) {
  .link:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: var(--color-line);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }
}

.link-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.link-text {
  font-family: var(--font-jp);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.link-arrow {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all 0.25s ease;
  opacity: 0.5;
}

@media (hover: hover) {
  .link:hover .link-arrow {
    opacity: 1;
    transform: translateX(3px);
    color: var(--color-text);
  }
}

/* Disabled link */
.link--disabled {
  cursor: default;
  opacity: 0.55;
  background: rgba(255, 255, 255, 0.15);
}

@media (hover: hover) {
  .link--disabled:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: transparent;
    transform: none;
    box-shadow: none;
  }

  .link--disabled:hover .link-arrow {
    opacity: 0.5;
    transform: none;
  }
}

.link-badge {
  font-family: var(--font-jp);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

/* Footer */
.footer {
  margin-top: 48px;
  text-align: center;
  animation: fadeIn 0.8s ease-out 0.8s both;
}

.footer p {
  font-family: var(--font-jp);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 480px) {
  .container {
    padding: 24px 24px 48px;
  }

  .header-title {
    font-size: 1.75rem;
  }

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