/* =========================================
   Profile site — LINE Design System
   - No CSS Custom Properties (per DESIGN.md)
   - Font stack: SFPro, Arial, Noto Sans JP, Noto Sans KR
   - Body 20px, primary #06c755
   ========================================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: SFPro, Arial, "Noto Sans JP", "Noto Sans KR", sans-serif;
  font-size: 20px;
  line-height: normal;
  color: #000000;
  background-color: #fce4ec;
  -webkit-font-smoothing: antialiased;
  word-break: break-all;
  overflow-wrap: break-word;
  line-break: strict;
  font-feature-settings: "palt" 0;
}

a {
  color: #06c755;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ---------- Header / Navigation ---------- */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-title {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
}

.site-title:hover {
  text-decoration: none;
  color: #06c755;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #666666;
  font-size: 16px;
  font-weight: 700;
}

.nav-list a:hover {
  color: #000000;
  text-decoration: none;
}

.nav-list a.is-active {
  color: #06c755;
}

/* ---------- Main layout ---------- */
main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px;
}

.page-title {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.27;
  margin: 0 0 16px;
  color: #000000;
}

.page-lead {
  font-size: 20px;
  color: #666666;
  margin: 0 0 64px;
}

/* ---------- Hero (top page) ---------- */
.hero {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.hero-avatar img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-name {
  font-size: 70px;
  font-weight: 700;
  line-height: 1.27;
  margin: 0 0 16px;
  color: #000000;
}

.hero-name-reading {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: #666666;
  margin-top: 8px;
}

.hero-role {
  font-size: 20px;
  font-weight: 700;
  color: #06c755;
  margin: 0 0 24px;
}

.hero-bio {
  font-size: 20px;
  color: #000000;
  margin: 0;
  max-width: 640px;
  line-height: 1.5;
}

/* ---------- Section ---------- */
.section {
  margin-bottom: 64px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.27;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
  color: #000000;
}

.section p {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: #000000;
}

/* ---------- Skill chips ---------- */
.skill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-list li {
  background-color: #f7f8f9;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 700;
  color: #000000;
}

/* ---------- Works grid ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.work-card {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease;
}

.work-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.work-body {
  padding: 24px;
}

.work-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.27;
  margin: 0 0 8px;
  color: #000000;
}

.work-meta {
  font-size: 16px;
  font-weight: 700;
  color: #06c755;
  margin: 0 0 16px;
}

.work-desc {
  font-size: 16px;
  line-height: 1.5;
  color: #666666;
  margin: 0;
}

/* ---------- Hobby list ---------- */
.hobby-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hobby-list li {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hobby-list h3 {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 8px;
}

.hobby-list p {
  font-size: 16px;
  line-height: 1.5;
  color: #666666;
  margin: 0;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: flex-start;
}

.contact-photo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: 24px 0;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  gap: 24px;
  align-items: baseline;
  flex-wrap: wrap;
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-label {
  width: 120px;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  color: #666666;
  text-transform: uppercase;
}

.contact-value {
  font-size: 20px;
  color: #000000;
}

.contact-note {
  margin-top: 40px;
  padding: 24px;
  background-color: #f7f8f9;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: #666666;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 32px;
  background-color: #06c755;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #05b34c;
  color: #ffffff;
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 32px;
  background-color: transparent;
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  cursor: pointer;
}

.btn-secondary:hover {
  color: #000000;
  text-decoration: none;
  border-color: #06c755;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid #e5e5e5;
  background-color: #ffffff;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
  font-size: 16px;
  color: #666666;
  text-align: center;
}

/* ---------- Responsive: Tablet (≤ 1024px) ---------- */
@media (max-width: 1024px) {
  .hero-name {
    font-size: 56px;
  }

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

/* ---------- Responsive: Mobile (≤ 767px) ---------- */
@media (max-width: 767px) {
  body {
    font-size: 18px;
  }

  main {
    padding: 40px 24px;
  }

  .nav-list {
    gap: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
    margin-bottom: 48px;
  }

  .hero-avatar img {
    width: 160px;
    height: 160px;
  }

  .hero-name {
    font-size: 42px;
  }

  .hero-name-reading {
    font-size: 14px;
  }

  .hero-role,
  .hero-bio,
  .section p {
    font-size: 18px;
  }

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

  .page-lead {
    font-size: 18px;
    margin-bottom: 40px;
  }

  .section {
    margin-bottom: 48px;
  }

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

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

  .work-title {
    font-size: 20px;
  }

  .hobby-list {
    grid-template-columns: 1fr;
  }

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

  .contact-list li {
    flex-direction: column;
    gap: 4px;
  }

  .contact-label {
    width: auto;
  }

  .contact-value {
    font-size: 18px;
  }
}
