/* =========================================================
   REIMEI RECORDINGS — style.css
   色やフォントを変えたいときは、まず :root の値を変更してください
   ========================================================= */

:root {
  --bg: #08080A;
  --bg-alt: #0C0C0F;
  --ph: #141417;
  --ph-2: #111114;
  --line: #1E1E22;
  --line-2: #26262B;
  --line-3: #33333A;
  --line-soft: #1A1A1E;
  --text: #E9E6DF;
  --muted: #B9B5AC;
  --dim: #8A8780;
  --faint: #5E5C57;
  --wordmark: #16161A;
  --accent: #D9A35B;      /* アクセント色（琥珀） */
  --accent-ink: #0B0B0D;  /* アクセント色の上に置く文字色 */

  --font-display: "Syne", sans-serif;
  --font-body: "Zen Kaku Gothic New", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --gutter: 32px;
  --section-pad: 140px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

img { max-width: 100%; display: block; }

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

section, footer { scroll-margin-top: var(--header-h); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; font-family: var(--font-mono); font-size: 12px;
}
.skip-link:focus { top: 12px; color: var(--accent-ink); }

/* ---------- 共通レイアウト ---------- */

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { border-bottom: 1px solid var(--line); }
.section--alt { background: var(--bg-alt); }
.section__inner { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 64px;
}
.split--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); align-items: start; }
.split--end { align-items: end; }

.stack { display: flex; flex-direction: column; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-28 { gap: 28px; }
.gap-32 { gap: 32px; }
.gap-40 { gap: 40px; }
.gap-56 { gap: 56px; }
.gap-64 { gap: 64px; }

.section-head {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-end;
  gap: 24px;
}

/* ---------- 文字 ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--dim);
}
.eyebrow--accent { color: var(--accent); }
.eyebrow + .h2 { margin-top: 16px; }

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -.01em;
}
.h3-works {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1;
}

.lead { font-size: 22px; line-height: 1.8; font-weight: 500; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 14px; }
.mono { font-family: var(--font-mono); }
.signature {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .2em; color: var(--accent);
}

/* ---------- ボタン・リンク ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 20px 32px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em;
  line-height: 1.4;
}
.btn svg { flex: none; }
.btn--primary { background: var(--accent); color: var(--accent-ink); font-weight: 500; }
.btn--primary:hover { background: #E6B676; color: var(--accent-ink); }
.btn--outline { border: 1px solid var(--line-3); }
.btn--outline:hover { border-color: var(--accent); }
.btn--block { display: flex; justify-content: space-between; padding: 22px 28px; }
.btn--mail { letter-spacing: .1em; }

.text-link {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em;
  padding: 14px 0;
  border-bottom: 1px solid var(--text);
}
.text-link:hover { border-color: var(--accent); }
.text-link--accent { color: var(--accent); }

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 8, 10, .86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: 1320px; margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: baseline; gap: 12px; }
.brand__name {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .2em; line-height: 1.4;
  color: var(--dim);
}
.brand__sub {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .2em; color: var(--dim);
}

.site-nav {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 4px 28px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em;
}
.site-nav a { padding: 12px 0; }
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav .nav-cta {
  padding: 12px 22px;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.site-nav .nav-cta:hover { background: var(--accent); color: var(--accent-ink); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line-3); color: var(--text);
  cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 1.5px; background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.site-header.is-open .nav-toggle__bars { background: transparent; }
.site-header.is-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- ヒーロー（トップ） ---------- */

.hero {
  position: relative;
  min-height: 860px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 50% at 72% 32%, #1A1712 0%, #0B0B0D 60%, #08080A 100%);
  background-size: cover; background-position: center;
}
/* 写真を入れるときは .hero__bg に background-image を追加してください（index.html 内のコメント参照） */
.hero__ph-label {
  position: absolute; top: 120px; right: var(--gutter);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em;
  color: var(--faint); text-align: right; line-height: 2;
}
.hero__content { position: relative; width: 100%; padding-bottom: 96px; }
.hero__kicker { margin-bottom: 28px; }
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 5vw, 72px);
  line-height: .92; letter-spacing: -.02em;
  transform: scaleX(.92);          /* 文字の横幅を少しだけ詰める */
  transform-origin: left center;
}
.hero__foot {
  margin-top: 48px;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 32px;
}
.hero__text { max-width: 540px; font-size: 17px; color: var(--muted); }

/* ---------- SERVICES ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--bg);
  padding: 40px 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.service-card__num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.service-card__title {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 16px; line-height: 1.4; letter-spacing: .15em;
}
.service-card__price { font-family: var(--font-mono); font-size: 14px; }

/* ---------- 画像の仮置き枠 ---------- */

.ph {
  background: var(--ph);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em;
  color: var(--faint);
  overflow: hidden;
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--portrait {
  aspect-ratio: 4 / 5; background: var(--ph-2);
  align-items: flex-end; justify-content: flex-start; padding: 24px;
}
.ph--portrait-glow {
  background: radial-gradient(ellipse 70% 60% at 50% 35%, #1A1712 0%, #111114 70%);
}

/* ---------- WORKS ---------- */

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 32px;
}
.work-card { display: flex; flex-direction: column; gap: 14px; }
.work-card__artist { font-weight: 700; }
.work-card__title { color: var(--muted); font-size: 14px; }
.work-card__role {
  margin-top: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em; color: var(--accent);
}

.player {
  border: 1px solid var(--line-2);
  padding: 28px 32px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
}
.player__btn {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.player__wave {
  flex: 1 1 300px; height: 40px;
  background: repeating-linear-gradient(90deg, var(--line-3) 0 2px, transparent 2px 6px);
}
.player__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--faint); }

.all-works { padding-top: 40px; }
.all-works__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 540px), 1fr));
  gap: 48px 64px; align-items: start;
}
.all-works__year {
  margin-bottom: 8px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em; color: var(--accent);
}
.works-list { border-top: 1px solid var(--line-2); }
.works-list li {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 4px 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.works-list__main { font-size: 15px; }
.works-list__title { color: var(--muted); }
.works-list__type { font-size: 13px; color: var(--dim); }
.works-list__role {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--accent);
}

/* ---------- STUDIO ---------- */

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.room { background: var(--bg); padding: 24px; }
.room__name { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.3; }
.room__size { margin-top: 4px; font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.room__gear { margin-top: 12px; font-family: var(--font-mono); font-size: 12px; line-height: 1.9; color: var(--dim); }

.gear-note { border-top: 1px solid var(--line-2); padding-top: 24px; }
.gear-note__label {
  margin-bottom: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--accent);
}
.gear-note__body { font-family: var(--font-mono); font-size: 13px; line-height: 1.9; color: var(--muted); }

/* ---------- FLOW ---------- */

.flow-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 32px;
}
.flow-list li { border-top: 1px solid var(--line-3); padding-top: 24px; }
.flow-list li:first-child { border-top-color: var(--accent); }
.flow-list__step { font-family: var(--font-mono); font-size: 12px; color: var(--dim); }
.flow-list li:first-child .flow-list__step { color: var(--accent); }
.flow-list__title { margin: 10px 0 6px; font-weight: 700; font-size: 18px; }
.flow-list__text { color: var(--muted); font-size: 15px; }

/* ---------- CONTACT / フッター ---------- */

.site-footer__inner {
  padding-top: var(--section-pad); padding-bottom: 48px;
  display: flex; flex-direction: column; gap: 80px;
}
.contact-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 4.4vw, 64px); line-height: .95;
}
.contact-text { max-width: 480px; color: var(--muted); }
.social { display: flex; gap: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; }
.social a { padding: 10px 0; }

.footer-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.wordmark {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(44px, 9vw, 128px); line-height: .85;
  color: var(--wordmark);
}
.wordmark--sm { font-size: clamp(20px, 2.2vw, 32px); line-height: 1; }
.copyright { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--dim); }

/* ---------- プロフィールページ ---------- */

.profile-hero__inner { padding-top: 120px; padding-bottom: 120px; }
.profile-hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: .88; letter-spacing: -.02em;
}
.profile-hero__jp { font-size: 20px; font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .15em;
  padding: 8px 14px; border: 1px solid var(--line-3); line-height: 1.6;
}

.timeline { border-top: 1px solid var(--line-2); }
.timeline li { display: flex; gap: 32px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.timeline__year { flex: 0 0 72px; font-family: var(--font-mono); color: var(--accent); }
.timeline__text { color: var(--muted); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.credits-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.credits-table th {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em; color: var(--dim);
  font-weight: 400; text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line-2);
}
.credits-table td { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.credits-table .col-year { width: 90px; font-family: var(--font-mono); color: var(--dim); }
.credits-table .col-artist { font-weight: 700; }
.credits-table .col-title { color: var(--muted); }
.credits-table .col-role {
  text-align: right;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .15em; color: var(--accent);
}
.credits-table th.col-role { color: var(--dim); font-size: 11px; }

.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.gear-card { background: var(--bg); padding: 32px; }

/* =========================================================
   タブレット・スマートフォン
   ========================================================= */

@media (max-width: 960px) {
  :root { --section-pad: 104px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column; align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    border-top: 1px solid var(--line);
  }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
  .site-nav .nav-cta { margin-top: 16px; text-align: center; padding: 16px 22px; border-bottom: 1px solid var(--accent); }
  .site-header.is-open .site-nav { display: flex; }

  /* JavaScriptが無効な環境ではメニューを常に表示 */
  .no-js .nav-toggle { display: none; }
  .no-js .site-nav { display: flex; }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; --section-pad: 88px; --header-h: 64px; }

  body { font-size: 15px; }

  .site-header__inner { padding-top: 12px; padding-bottom: 12px; }
  .brand { gap: 8px; }
  .brand__name, .brand__sub { font-size: 10px; letter-spacing: .16em; }

  .hero { min-height: 640px; min-height: min(760px, 100svh); }
  .hero__ph-label { top: 96px; }
  .hero__content { padding-bottom: 64px; }
  .hero__kicker { font-size: 11px; letter-spacing: .2em; }
  .hero__foot { margin-top: 36px; }
  .hero__text { font-size: 15px; }
  .hero .btn { width: 100%; justify-content: space-between; }

  .split, .split--wide { gap: 48px; }
  .lead { font-size: 18px; }

  .service-card { padding: 32px 24px; }
  .service-card__title { font-size: 15px; }

  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .player { padding: 20px; gap: 16px; }
  .player__wave { flex-basis: 140px; }

  .btn--block { padding: 20px 22px; }
  .btn--mail { font-size: 12px; letter-spacing: .04em; }

  .profile-hero__inner { padding-top: 72px; padding-bottom: 88px; }
  .timeline li { gap: 20px; }
  .timeline__year { flex-basis: 60px; }
  .gear-card { padding: 24px; }

  .site-footer__inner { gap: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
