:root {
  --bg: #f7f6f3;
  --bg-tint: #efede8;
  --ink: #1f1f1d;
  --muted: #77756f;
  --line: #dcd9d2;
  --accent: #8a7a63;
  --serif: "Cormorant Garamond", serif;
  --wrap: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: .04em;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px max(16px, calc((100% - var(--wrap)) / 2));
  background: rgba(247, 246, 243, .92);
  backdrop-filter: blur(8px);
}
.logo { font-weight: 400; font-size: 17px; white-space: nowrap; }
.site-header nav { display: flex; gap: 28px; font-family: var(--serif); font-size: 17px; }
.site-header nav a { position: relative; }
.site-header nav a::after {
  content: ""; position: absolute; left: 0; bottom: 3px; width: 0; height: 1px;
  background: var(--ink); transition: width .3s;
}
.site-header nav a:hover::after { width: 100%; }

/* メイン画像 */
.hero img { height: min(68vh, 640px); object-fit: cover; }

/* セクション共通 */
.section { padding: 96px max(16px, calc((100% - var(--wrap)) / 2)); }
.tinted { background: var(--bg-tint); }
.sec-title { display: flex; align-items: baseline; gap: 16px; margin-bottom: 48px; }
.sec-title h2 { font-family: var(--serif); font-weight: 400; font-size: 40px; letter-spacing: .06em; }
.sec-title span { font-size: 13px; color: var(--muted); }

/* 作品一覧（3列・左寄せ） */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.work .frame { overflow: hidden; aspect-ratio: 4 / 3; }
.work .frame img, .work .frame .placeholder { height: 100%; object-fit: cover; transition: transform .6s; }
.work:hover .frame img { transform: scale(1.04); }
.work h3 { font-weight: 400; font-size: 16px; margin-top: 14px; }
.work p { font-size: 13px; color: var(--muted); }

.placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 4 / 3; background: #e4e1da; color: var(--muted); font-size: 13px;
}

/* プロフィール */
.profile { display: grid; grid-template-columns: 240px 1fr; gap: 56px; max-width: 880px; }
.profile .photo img, .profile .photo .placeholder { aspect-ratio: 3 / 4; object-fit: cover; }
.name { font-size: 22px; font-weight: 400; }
.name small { display: block; font-family: var(--serif); font-size: 17px; color: var(--muted); }
.qual { margin-top: 8px; font-size: 14px; }
.career h3 { font-family: var(--serif); font-weight: 400; font-size: 16px; color: var(--muted); margin: 24px 0 6px; }
.career ul { list-style: none; font-size: 14px; }

/* 連絡先 */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info p { font-size: 14px; margin-bottom: 16px; }
.contact-info .label { display: block; font-family: var(--serif); color: var(--muted); font-size: 16px; }
.contact-info .small { font-size: 12px; color: var(--muted); }
.btn { display: inline-block; margin-top: 8px; padding: 12px 36px; border: 1px solid var(--ink); font-size: 14px; transition: .3s; }
.btn:hover { background: var(--ink); color: var(--bg); }
.map { width: 100%; height: 320px; border: 0; filter: grayscale(1) contrast(.95); }

/* 作品詳細 */
.work-detail h1 { font-weight: 400; font-size: 28px; margin-top: 24px; }
.back { font-family: var(--serif); font-size: 16px; color: var(--muted); }
.work-meta { font-size: 13px; color: var(--muted); }
.work-body { max-width: 680px; margin: 24px 0 48px; font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gallery figure:first-child { grid-column: 1 / -1; }
.work-nav { display: flex; justify-content: space-between; margin-top: 64px; font-size: 14px; }
.work-nav .next { margin-left: auto; }

.notfound { padding: 160px 16px; text-align: center; }

.site-footer { padding: 32px 16px; font-size: 12px; color: var(--muted); text-align: center; border-top: 1px solid var(--line); }

/* スクロールでふわっと表示 */
.fade { opacity: 0; transform: translateY(20px); transition: opacity .9s, transform .9s; }
.fade.show { opacity: 1; transform: none; }

@media (max-width: 800px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 16px; }
  .logo { font-size: 15px; }
  .site-header nav { gap: 20px; font-size: 16px; }
  .hero img { height: 56vh; }
  .section { padding: 64px 16px; }
  .sec-title h2 { font-size: 32px; }
  .works { grid-template-columns: 1fr; gap: 36px; }
  .profile, .contact { grid-template-columns: 1fr; gap: 32px; }
  .profile .photo { max-width: 200px; }
  .gallery { grid-template-columns: 1fr; }
}
