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

:root {
  --bg: #ffffff;
  --text: #1c1c1c;
  --muted: #787166;
  --accent: #2a2a2a;
  --border: #dedad3;
  --card-bg: #ffffff;
}

body {
  font-family: "游明朝", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Georgia", serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.85;
}

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

/* ── HEADER ── */
header {
  padding: 80px 24px 56px;
  max-width: 680px;
  margin: 0 auto;
}

.profile-inner {
  display: flex;
  align-items: flex-start;
  gap: 36px;
}

.profile-photo {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  background: var(--border);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-text {
  flex: 1;
}

.profile-name {
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  line-height: 1.3;
}

.profile-name span {
  display: block;
  font-size: 0.38em;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.22em;
  margin-bottom: 8px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

.profile-bio {
  color: var(--muted);
  font-size: 0.82rem;
  max-width: 440px;
  line-height: 2;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

/* ── SECTION ── */
section {
  max-width: 680px;
  margin: 0 auto 64px;
  padding: 0 24px;
}

.section-title {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

/* ── PORTFOLIO ── */
.portfolio-category {
  margin-bottom: 44px;
}

.category-label {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.work-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 18px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.work-card:hover {
  border-color: #b0aaa0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.work-card-title {
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 5px;
}

.work-card-meta {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── BOOK LIST ── */
.book-list {
  display: flex;
  flex-direction: column;
}

.book-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.15s;
}

.book-item:first-child {
  border-top: 1px solid var(--border);
}

.book-item:hover {
  opacity: 0.55;
}

.book-cover {
  width: 64px;
  height: 90px;
  flex-shrink: 0;
  background: var(--border);
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-info {
  flex: 1;
  padding-top: 2px;
}

.book-title {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 5px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.book-meta {
  font-size: 0.72rem;
  color: var(--muted);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  letter-spacing: 0.04em;
}

.book-meta-link {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.book-divider {
  height: 24px;
}

.placeholder-card {
  background: var(--bg);
  border: 1px dashed var(--border);
  padding: 18px 16px;
  color: var(--muted);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

/* ── SNS ── */
.links-list {
  display: flex;
  flex-direction: column;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.15s;
}

.link-item:first-child {
  border-top: 1px solid var(--border);
}

.link-item:last-child {
  border-bottom: none;
}

.link-item:hover {
  opacity: 0.55;
}

.link-platform {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  width: 72px;
  flex-shrink: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

.link-url {
  font-size: 0.8rem;
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

/* ── CONTACT ── */
.contact-form {
  width: 100%;
}

.contact-form iframe {
  display: block;
  width: 100%;
  border: none;
}

/* ── FOOTER ── */
footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 24px 60px;
  border-top: 1px solid var(--border);
  font-size: 0.68rem;
  color: var(--muted);
  text-align: center;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  letter-spacing: 0.08em;
}

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
  header {
    padding: 52px 20px 36px;
  }

  .profile-inner {
    flex-direction: column;
    gap: 24px;
  }

  .profile-photo {
    width: 90px;
    height: 90px;
  }

  section {
    padding: 0 20px;
    margin-bottom: 48px;
  }

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