:root {
  --bg: #f4f2ef;
  --paper: #fffcf8;
  --ink: #161616;
  --muted: #6b6b6b;
  --line: #ddd8d1;
  --soft: #efece7;
  --rule: #c9c3ba;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Helvetica Neue", Helvetica, Arial, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  letter-spacing: 0.01em;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 30;
  background: linear-gradient(90deg, #f4a0c0 0 50%, #111 50% 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,252,248,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  letter-spacing: 0.42em;
  font-weight: 500;
}
.logo img {
  height: 28px;
  width: auto;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.lang {
  display: flex;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-left: 18px;
  border-left: 1px solid var(--line);
  flex-shrink: 0;
}
.lang a { white-space: nowrap; }
.lang a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover { color: var(--ink); }

.hero {
  position: relative;
  min-height: 86vh;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.28) 45%, rgba(255,255,255,0.92) 100%),
    url("../images/hero.jpg") center 20% / cover no-repeat,
    #efefef;
  display: flex;
  align-items: flex-end;
}
.hero-inner {
  padding: 0 0 56px;
}
.hero-kicker {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 12px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 84px);
  font-weight: 400;
  letter-spacing: 0.34em;
}
.hero p {
  max-width: 520px;
  color: #333;
  margin: 16px 0 0;
}

.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section h2 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
}
.section h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--ink);
  margin-top: 12px;
}
.lead {
  max-width: 640px;
  color: var(--muted);
  margin: 0 0 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 22px;
}
.card {
  border-top: none;
  padding-top: 0;
}
.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center center;
  background: var(--soft);
  margin-bottom: 14px;
}
.card[href$="#minami"] img,
#minami .member-photo {
  object-position: 35% 20%;
}
.card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.nav-links a[aria-current="page"] { color: var(--ink); }
.card span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.works {
  display: grid;
  gap: 0;
}
.work {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.work:last-child { border-bottom: 1px solid var(--line); }
.work small { color: var(--muted); letter-spacing: 0.08em; }
.work a { letter-spacing: 0.12em; font-size: 12px; text-transform: uppercase; color: var(--muted); }
.work a:hover { color: var(--ink); }

.book-cover {
  display: block;
  width: min(280px, 100%);
  height: auto;
  margin: 0 0 28px;
}
.book-teaser {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: start;
  max-width: 640px;
}
.book-teaser img {
  width: 96px;
  height: auto;
}
.listen + .listen { margin-top: 28px; }
.listen {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: center;
  max-width: 640px;
}
.listen img {
  width: 110px;
  height: 110px;
  object-fit: cover;
}
.listen-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
}
.listen-links a {
  letter-spacing: 0.08em;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
}
.listen-links a:hover { color: var(--ink); }

.about-photo {
  margin: 0 0 36px;
  padding: 0;
}
.about-photo img {
  width: 100%;
  height: auto;
}

.contact-box {
  background: var(--soft);
  padding: 32px;
}
.contact-box p { margin: 0 0 8px; }
.contact-box a { border-bottom: 1px solid #ccc; }

footer {
  border-top: 1px solid var(--line);
  box-shadow: 0 -1px 0 var(--paper), 0 -2px 0 var(--rule);
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 12px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-logo {
  height: 44px;
  width: auto;
}

.page-head {
  padding: 72px 0 24px;
}
.page-head h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.18em;
}
.page-head h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--ink);
  margin-top: 18px;
}
.member-list {
  display: grid;
  gap: 0;
  padding-bottom: 72px;
}
.member {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.member-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center center;
  background: var(--soft);
}
.member h2 {
  margin: 8px 0 6px;
  text-transform: none;
  letter-spacing: 0.08em;
  font-size: 22px;
}
.member h2 .kana {
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-size: 15px;
}
.member .legal-name {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.member .role { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.member-copy p { margin: 0 0 16px; max-width: 520px; }
.member-links {
  display: flex;
  gap: 20px;
  margin: 0;
}
.member-links a {
  letter-spacing: 0.12em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid #ddd;
}
.member-links a:hover { color: var(--ink); }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(160px, 1fr)); }
}
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
  .work { grid-template-columns: 1fr; gap: 6px; }
  .logo {
    letter-spacing: 0.22em;
    font-size: 13px;
    gap: 8px;
  }
  .logo img { height: 22px; }
  .nav-links { gap: 16px; font-size: 11px; letter-spacing: 0.12em; }
  .nav-right { gap: 14px; }
  .lang { padding-left: 12px; }
  .member { grid-template-columns: 220px 1fr; gap: 24px; }
}

/* Portrait phones only: two-row header */
@media (max-width: 640px) and (orientation: portrait) {
  .nav {
    height: auto;
    min-height: 56px;
    flex-wrap: wrap;
    padding: 12px 0 10px;
    gap: 8px 16px;
  }
  .nav-right {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }
  .lang {
    padding-left: 0;
    border-left: none;
  }
}

@media (max-width: 560px) {
  .book-teaser { grid-template-columns: 1fr; }

  .wrap { width: min(1080px, calc(100% - 32px)); }
  .grid { grid-template-columns: 1fr; }
  .card img { max-width: 320px; }
  .hero { min-height: 72vh; }
  .member { grid-template-columns: 1fr; gap: 16px; }
  .member-photo { max-width: 360px; }
}

/* Landscape phones / short screens: one compact bar, shorter hero */
@media (orientation: landscape) and (max-height: 500px) {
  .nav {
    height: 48px;
    flex-wrap: nowrap;
  }
  .nav-right {
    width: auto;
    padding-top: 0;
    border-top: none;
  }
  .hero {
    min-height: 100%;
    height: calc(100vh - 48px);
    background-position: center 18%;
  }
  .hero-inner { padding: 0 0 24px; }
  .hero h1 { font-size: clamp(28px, 8vw, 48px); }
  .hero p { margin-top: 8px; max-width: 420px; font-size: 14px; }
}
