﻿:root {
  --jb-950: #081b3a;
  --jb-900: #0b2d5b;
  --jb-700: #1a4f97;
  --jb-500: #3a76bd;
  --mist: #f6f9fe;
  --cloud: #e8f0fb;
  --ink: #0d1b2d;
  --card: #ffffff;
  --card-border: rgba(13, 43, 86, 0.12);
  --shadow: 0 18px 40px rgba(11, 45, 91, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: linear-gradient(160deg, #f8fbff 0%, var(--mist) 50%, var(--cloud) 100%);
  min-height: 100vh;
}

.page {
  position: relative;
  z-index: 1;
}

header {
  padding: 56px 24px 32px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  font-family: "Libre Baskerville", serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--jb-700);
  margin-bottom: 12px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #ffffff;
  color: var(--ink);
  border-radius: 24px;
  border: 1px solid var(--card-border);
  border-top: 4px solid var(--jb-700);
  padding: 36px 36px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  margin: 0;
}

.hero p {
  margin: 0;
  max-width: 640px;
  color: rgba(13, 27, 45, 0.72);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button-primary {
  background: var(--jb-700);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(11, 45, 91, 0.2);
}

.button-ghost {
  color: var(--jb-700);
  border-color: rgba(11, 45, 91, 0.2);
  background: #ffffff;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(8, 27, 58, 0.24);
}

main {
  padding: 0 24px 64px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 48px 0 24px;
  font-size: 20px;
  color: var(--jb-900);
}

.section-title::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--jb-700);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.work-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 24px rgba(11, 45, 91, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
}

.work-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--jb-700);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-card h3 {
  margin: 0;
  font-size: 20px;
  color: var(--jb-950);
}

.work-card p {
  margin: 0;
  line-height: 1.6;
  color: #2c3a4a;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(11, 45, 91, 0.06);
  color: var(--jb-700);
}

.work-link {
  margin-top: auto;
  font-weight: 600;
  color: var(--jb-700);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.work-link span {
  transition: transform 0.2s ease;
}

.work-link:hover span {
  transform: translateX(4px);
}

.note {
  margin-top: 32px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(11, 45, 91, 0.04);
  border: 1px solid rgba(21, 75, 138, 0.12);
  color: var(--jb-900);
  line-height: 1.6;
}

footer {
  padding: 32px 24px 56px;
  color: rgba(13, 27, 45, 0.7);
  font-size: 13px;
  text-align: center;
}

.fade-up {
  animation: fadeUp 0.6s ease both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

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

@media (max-width: 720px) {
  header {
    padding-top: 40px;
  }

  .hero {
    padding: 28px 22px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    animation: none;
  }

  .button {
    transition: none;
  }
}
