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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #222;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.6;
}

/* ===== Layout ===== */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}

.section + .section {
  border-top: 1px solid #e0e0e0;
}

.section-heading {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

/* ===== Header ===== */
.header {
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.header__logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ===== Hero ===== */
.hero__name {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero__title {
  font-size: 0.95rem;
  color: #666;
  margin-top: 4px;
  margin-bottom: 24px;
}

.hero__bio {
  font-size: 0.95rem;
  color: #444;
  max-width: 540px;
}

@media (max-width: 480px) {
  .hero__name {
    font-size: 1.6rem;
  }
}

/* ===== Services ===== */
.services__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.services__item-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.services__item-desc {
  font-size: 0.9rem;
  color: #555;
}

/* ===== Works ===== */
.works__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.works__card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid #d0d0d0;
  transition: background 0.2s, opacity 0.2s;
}

.works__card:hover {
  background: #f5f5f5;
  opacity: 1;
}

.works__name {
  font-size: 0.95rem;
  font-weight: 500;
}

.works__arrow {
  font-size: 1.1rem;
  color: #888;
}

/* ===== Contact ===== */
.contact p {
  font-size: 0.95rem;
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.footer__links a {
  font-size: 0.8rem;
  color: #666;
}

.footer p {
  font-size: 0.8rem;
  color: #999;
}
