:root {
  --bg-primary: #fee2e2;
  --text-main: #111827;
  --header-height: 80px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  scroll-behavior: smooth;
}

.container {
  max-width: 1152px;
  /* 6xl */
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-container {
  max-width: 896px;
  /* 4xl */
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--bg-primary);
  border-bottom: 2px solid black;
  z-index: 50;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.7;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  nav ul {
    gap: 3rem;
  }
}

.nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 0.2s;
  color: inherit;
  padding-bottom: 4px;
}

.nav-btn.active {
  color: #db2777;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}

main {
  flex-grow: 1;
  padding-top: calc(var(--header-height) + 1rem);
  padding-bottom: 3rem;
}

footer {
  background-color: #f9fafb;
  padding: 3rem 0;
  border-top: 1px solid #f3f4f6;
  text-align: center;
}

footer h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 1rem;
  margin-bottom: 2rem;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  color: #6b7280;
  font-weight: 700;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ec4899;
}

.copyright {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Common Components */

.boxy-card {
  background-color: var(--bg-primary);
  border: 2px solid black;
  box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
  transition: all 0.2s ease;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

@media (min-width: 768px) {
  .boxy-card {
    padding: 3rem;
  }
}

.boxy-card:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

.btn-pill {
  font-size: 0.875rem;
  font-weight: 900;
  background-color: black;
  color: white;
  padding: 0.25rem 0.75rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  border-bottom: 4px solid black;
  display: inline-block;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.section-subtitle {
  color: #4b5563;
  font-weight: 700;
  margin-bottom: 3rem;
}

.btn-action {
  padding: 0.75rem 2rem;
  background-color: white;
  border: 2px solid black;
  font-weight: 900;
  font-size: 0.875rem;
  text-transform: uppercase;
  text-decoration: none;
  color: black;
  transition: all 0.2s;
  box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

.btn-action:hover {
  background-color: black;
  color: white;
  box-shadow: none;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade {
  animation: fadeIn 0.4s ease-out forwards;
}

/* Grid layout */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Profile specific */
.profile-card {
  background-color: white;
  border: 3px solid black;
  padding: 2.5rem;
  box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 14px 14px 0px 0px rgba(0, 0, 0, 1);
}

.profile-img-container {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  border: 4px solid black;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background-color: var(--bg-primary);
}

.profile-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-card:hover .profile-img-container img {
  transform: scale(1.1) rotate(2deg);
}

.profile-name {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.profile-desc {
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
  white-space: pre-wrap;
  margin-bottom: 1.5rem;
}

.profile-link {
  margin-top: auto;
  padding: 0.5rem 1.5rem;
  background-color: black;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border: 2px solid black;
  transition: all 0.2s;
}

.profile-link:hover {
  background-color: white;
  color: black;
}

/* Spacing helpers */
.space-y-12>*+* {
  margin-top: 3rem;
}

.space-y-10>*+* {
  margin-top: 2.5rem;
}

.space-y-8>*+* {
  margin-top: 2rem;
}

/* Utilities */
.opacity-30 {
  opacity: 0.3;
}

.opacity-50 {
  opacity: 0.5;
}

.font-mono {
  font-family: monospace;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.italic {
  font-style: italic;
}

.uppercase {
  text-transform: uppercase;
}

.border-dashed {
  border-style: dashed;
}