/* ===== Japanese font fallback for bold support ===== */
@font-face {
  font-family: "CJK Bold";
  src: local("Hiragino Sans W7"), local("HiraKakuProN-W6"), local("Yu Gothic Bold"), local("NotoSansCJKjp-Bold");
  font-weight: 700;
  unicode-range: U+3000-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #ffffff;
  color: #1a1a1a;
  font-family: "CJK Bold", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Noto Sans JP", Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  cursor: default;
}

* {
  cursor: default;
  user-select: none;
}

a, .project-title {
  cursor: pointer;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 120px 60px;
}

/* ===== Header ===== */
.header {
  margin-bottom: 0;
}

.name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.project-name {
  font-size: 28px;
  margin-bottom: 0;
}

.bio {
  font-size: 15px;
  color: #999999;
  line-height: 1.65;
}

/* ===== Divider ===== */
.divider {
  height: 1px;
  background-color: #e0e0e0;
  margin: 0;
}

/* ===== Project List ===== */
.projects {
  margin-bottom: 0;
}

.project-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 24px 0;
  gap: 24px;
  border-bottom: 1px solid #f0f0f0;
}

.project-row:last-of-type {
  border-bottom: none;
}

.project-meta {
  font-size: 15px;
  color: #999999;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.01em;
  font-weight: 400;
  cursor: default;
  user-select: none;
}

.project-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: left;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.project-title:hover {
  color: #A0C915;
}

/* ===== Footer ===== */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  gap: 16px;
}

.slogan {
  font-size: 15px;
  color: #999999;
  letter-spacing: 0.01em;
}

.email {
  font-size: 15px;
  color: #999999;
  text-decoration: none;
  transition: color 0.2s;
}

.email:hover {
  color: #1a1a1a;
}

/* ===== Project Detail ===== */
.project-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
  margin-bottom: 0;
  padding-bottom: 160px;
  position: relative;
}

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


/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #1a1a1a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 10px 20px;
  border-radius: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .container {
    padding: 48px 28px 48px;
  }

  .project-row {
    flex-direction: column;
    gap: 6px;
    padding: 18px 0;
  }

  .project-title {
    text-align: left;
    font-size: 15px;
  }

  .project-meta {
    font-size: 13px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .project-content {
    padding-bottom: 100px;
  }

  .name {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 36px 20px 36px;
  }

  .name {
    font-size: 20px;
  }

  .bio {
    font-size: 14px;
    line-height: 1.7;
  }

  .project-meta {
    font-size: 12px;
  }

  .project-title {
    font-size: 14px;
  }

  .slogan,
  .email {
    font-size: 13px;
  }

  .project-content {
    padding-bottom: 80px;
  }

  .hero-intro {
    font-size: 14px;
  }

  .divider {
    margin: 16px 0 0;
  }
}
