/* hoshimori.com — Wix版のレイアウトを再現 */
:root {
  --bg: #f1f1f1;
  --ink: #000;
  --accent: #d6232c;
  --latin: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --gothic: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--gothic); font-weight: 400; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.h-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; pointer-events: none; }
.h-header > * { pointer-events: auto; }
.h-brand { position: absolute; left: 30px; top: 26px; font-family: Arial, sans-serif; font-weight: 700; font-size: 14px; text-decoration: none; }
.h-nav { position: absolute; left: 30px; top: 50px; }
.h-nav ul { list-style: none; margin: 0; padding: 0; }
.h-nav a { font-family: Arial, sans-serif; font-size: 14px; text-decoration: none; line-height: 1.7; }
.h-nav a.active, .h-nav a:hover { color: var(--accent); }
.h-icons { position: absolute; top: 30px; left: calc(50% + 357px); display: flex; gap: 10px; }
.h-icons img { width: 39px; height: 39px; }
.menu-toggle { display: none; }

.h-main { max-width: 980px; margin: 0 auto; padding: 112px 16px 80px; }
.h-footer { text-align: center; font-size: 12px; padding: 30px 0 40px; }
.h-profile-text { min-width: 0; }

/* top */
.h-hero { display: grid; grid-template-columns: 469px 1fr; gap: 10px; }
.h-hero-photo img { width: 469px; height: 657px; object-fit: cover; object-position: 50% 15%; }
.h-hero-name { padding-top: 40px; }
.h-hero-name .latin { font-family: var(--latin); font-weight: 200; font-size: 98px; line-height: 1.08; margin: 0; letter-spacing: .01em; }
.h-hero-name h1 { font-weight: 400; font-size: 34px; letter-spacing: .12em; text-align: right; margin: 26px 0 0; padding-right: 10px; }
.h-role { position: absolute; left: -9999px; }

/* titles */
.h-title h1 { font-family: var(--latin); font-weight: 200; font-size: 100px; line-height: 1; margin: 0; }
.h-title p { font-size: 34px; margin: 6px 0 0; }
.h-title p.big { font-size: 36px; }
.h-title p.mail { font-size: 15px; margin: 6px 0 0 4px; }
.h-title p.mail a { text-decoration: none; }

/* photography */
.h-collage { position: relative; width: 100%; margin-top: 6px; }
.h-collage figure { position: absolute; margin: 0; overflow: hidden; }
.h-collage img { width: 100%; height: 100%; object-fit: cover; }

/* profile */
.h-profile { display: grid; grid-template-columns: 372px 1fr; gap: 64px; margin-top: 10px; }
.h-profile-photo img { width: 372px; height: 546px; object-fit: cover; object-position: 50% 15%; }
.h-profile-text p { font-size: 14px; margin: 0; line-height: 1.7; }
.works-title { font-weight: 400; font-size: 24px; text-align: center; margin: 22px 0 14px; }
.fg-box { background: #fff; height: 760px; overflow-y: auto; padding: 18px 20px 30px; }
.fg-head { font-weight: 700; margin-bottom: 10px !important; }
.fg-genre { font-size: 14px; font-weight: 500; margin: 22px 0 6px; }
.fg-box ul { margin: 0; padding-left: 22px; font-size: 13px; line-height: 2; }
/* 注目作品（受賞作品など。data/<id>-feature.html）→ ボイス｜出演作品の2列（aster-office.com と同じ構成） */
.h-extra { margin: 60px 0 0; }
.h-extra .screening { max-width: 900px; margin: 0 auto; }
.h-extra .screening h2 { font-weight: 400; font-size: 24px; text-align: center; margin: 0 0 18px; }
.h-extra .screening h3 { font-weight: 500; font-size: 16px; margin: 0 0 6px; }
.h-extra .screening ul { margin: 0; padding-left: 22px; font-size: 14px; line-height: 1.8; }
.h-extra .screening .video { margin: 22px 0 0; aspect-ratio: 16 / 9; }
.h-extra .screening .video iframe { width: 100%; height: 100%; border: 0; }
.h-works2 { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; margin-top: 60px; align-items: start; }
.h-voices h2 { font-family: var(--latin); font-weight: 300; font-size: 28px; margin: 0 0 16px; }
.h-works .works-title { font-family: var(--latin); font-weight: 300; font-size: 28px; text-align: left; margin: 0 0 16px; }
.voice { margin-bottom: 14px; }
.voice p { margin: 0 0 4px; font-size: 13px; }
.voice p span { color: #888; margin-left: 8px; font-size: 12px; }
.voice audio { width: 100%; height: 36px; }

/* contact */
.h-contact { max-width: 420px; margin: 110px 0 0 66px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form label { font-size: 12px; display: flex; flex-direction: column; gap: 4px; }
.contact-form input, .contact-form textarea { border: 1px solid #000; background: transparent; font: 14px var(--gothic); padding: 8px; border-radius: 0; }
.contact-form button { align-self: flex-start; background: #000; color: #fff; border: 0; padding: 10px 36px; font: 14px var(--gothic); cursor: pointer; }
.contact-form button[disabled] { opacity: .5; }
.form-status { margin: 0; min-height: 1.4em; font-size: 14px; }
.hp { position: absolute; left: -9999px; }

@media (max-width: 1060px) {
  .h-icons { left: auto; right: 20px; }
}
@media (max-width: 860px) {
  .h-works2 { grid-template-columns: 1fr; gap: 40px; }
  .h-header { position: sticky; background: var(--bg); height: 64px; pointer-events: auto; }
  .h-brand { top: 22px; left: 16px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; position: absolute; right: 120px; top: 14px; background: none; border: 0; padding: 10px; cursor: pointer; }
  .menu-toggle span { width: 22px; height: 2px; background: #000; display: block; }
  .h-nav { display: none; top: 64px; left: 0; right: 0; background: var(--bg); padding: 10px 16px 20px; }
  .h-nav.open { display: block; }
  .h-icons { top: 13px; right: 16px; }
  .h-icons img { width: 34px; height: 34px; }
  .h-main { padding-top: 24px; }
  .h-hero { grid-template-columns: 1fr; }
  .h-hero-photo img { width: 100%; height: auto; aspect-ratio: 469 / 657; }
  .h-hero-name .latin { font-size: 64px; }
  .h-title h1 { font-size: 60px; }
  .h-title p, .h-title p.big { font-size: 24px; }
  .h-collage { aspect-ratio: auto !important; display: flex; flex-direction: column; gap: 16px; }
  .h-collage figure { position: static; width: 100% !important; }
  .h-profile { grid-template-columns: 1fr; gap: 30px; }
  .h-profile-photo img { width: 100%; height: auto; aspect-ratio: 372 / 546; }
  .fg-box { height: 520px; }
  .h-contact { margin: 50px 0 0; }
}
.fg-box .fg-year { font-size: 13px; font-weight: 500; color: #555; margin: 12px 0 2px; }
