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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Aleo", "Kosugi", Helvetica, Arial, sans-serif;
  color: rgb(55, 53, 47);
  background-color: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: underline;
}

a:hover {
  opacity: 0.7;
}

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

/* Content */
.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hero {
  padding: 80px 0 40px;
}

.hero-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 16px;
  color: rgb(55, 53, 47);
}

/* Section headings */
.section-heading {
  font-size: 30px;
  font-weight: 700;
  color: rgb(215, 115, 15);
  margin-bottom: 16px;
  margin-top: 48px;
}

/* Profile */
.profile-image {
  width: 100%;
  max-width: 336px;
  border-radius: 0;
  margin-bottom: 24px;
}

.profile-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.profile-bio {
  font-size: 16px;
  line-height: 1.8;
}

/* Works */
.works-note {
  font-size: 16px;
  margin-bottom: 24px;
}

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

.work-card {
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.2s;
}

.work-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 1;
}

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

.work-card-body {
  padding: 12px 16px 16px;
}

.work-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.work-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.tag {
  font-size: 12px;
  padding: 0 6px;
  border-radius: 3px;
  line-height: 1.8;
  white-space: nowrap;
}

.tag-pjm {
  background: rgb(198, 222, 235);
  color: rgb(28, 54, 79);
}

.tag-pdm {
  background: rgb(217, 236, 218);
  color: rgb(30, 57, 42);
}

.tag-kikaku {
  background: rgb(251, 238, 208);
  color: rgb(75, 51, 32);
}

.work-card-date {
  font-size: 13px;
  color: #999;
  margin-bottom: 4px;
}

.work-card-desc {
  font-size: 14px;
  line-height: 1.6;
}

/* Company info */
.company {
  padding-bottom: 80px;
}

.company-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  font-size: 15px;
  line-height: 1.8;
}

.company-info dt {
  font-weight: 700;
  white-space: nowrap;
}

.company-info dd {
  margin: 0;
}

/* Footer */
.footer {
  border-top: 1px solid #f0f0f0;
  padding: 40px 24px;
  text-align: center;
}

.footer-logo {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  color: rgb(55, 53, 47);
  margin-bottom: 16px;
}


/* Responsive */
@media (max-width: 640px) {
  .hero-title {
    font-size: 28px;
  }

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

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

  .profile-name {
    font-size: 20px;
  }
}
