/* =========================================================
   劇団バルスキッチン 公式サイト 共有スタイル
   pattern_a（デモ①）のデザイン言語を踏襲
   ========================================================= */

:root {
  --ink: #111111;
  --paper: #F4F2ED;
  --paper-pure: #FFFFFF;
  --gray: #6B6B6B;
  --gray-light: #9C9C9C;
  --line: #111111;
  --line-soft: #DAD7D0;
  --accent: #E63329;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
.fade { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade.in { opacity: 1; transform: translateY(0); }
.en { font-family: 'Archivo', sans-serif; }
.container { max-width: 1240px; margin: 0 auto; }

/* === Header === */
header {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 22px 40px; display: flex; justify-content: space-between; align-items: center;
  z-index: 100; background: var(--paper); border-bottom: 2px solid var(--ink);
  transition: padding 0.3s ease;
}
header.scrolled { padding: 14px 40px; }
.logo { font-family: 'Archivo', sans-serif; font-size: 20px; font-weight: 900; letter-spacing: -0.01em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.nav-list { display: flex; gap: 32px; list-style: none; }
.nav-list a { font-family: 'Archivo', sans-serif; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; position: relative; }
.nav-list a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--accent); transition: width 0.3s ease; }
.nav-list a:hover::after { width: 100%; }
.nav-list a.current::after { width: 100%; }
.hamburger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 110; }
.hamburger span { display: block; width: 28px; height: 2px; background: var(--ink); }

/* === Section 共通 === */
section { padding: 120px 40px; border-top: 2px solid var(--ink); }
.section-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 64px; flex-wrap: wrap; }
.section-num { font-family: 'Archivo', sans-serif; font-size: 14px; font-weight: 800; letter-spacing: 0.1em; color: var(--accent); }
.section-title { font-weight: 900; font-size: clamp(32px, 6vw, 72px); letter-spacing: -0.03em; line-height: 1; }
.section-en { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-light); margin-left: auto; }

/* === Button === */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 18px 44px; font-family: 'Archivo', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); transition: background 0.3s ease, color 0.3s ease; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* =========================================================
   MEMBER 一覧ページ
   ========================================================= */
.page-hero { padding: 180px 40px 80px; border-bottom: 2px solid var(--ink); }
.page-hero .tag { font-family: 'Archivo', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 6px 16px; display: inline-block; margin-bottom: 28px; }
.page-hero h1 { font-weight: 900; font-size: clamp(44px, 10vw, 128px); line-height: 0.92; letter-spacing: -0.04em; }
.page-hero h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.page-hero .lead { max-width: 480px; color: var(--gray); font-size: 15px; margin-top: 28px; }

.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.member-card { background: var(--paper); padding: 0 0 28px; text-decoration: none; color: var(--ink); display: block; transition: background 0.3s ease; }
.member-card:hover { background: var(--paper-pure); }
.member-img { width: 100%; aspect-ratio: 3/4; background: var(--ink); margin-bottom: 22px; filter: grayscale(100%); transition: filter 0.5s ease; position: relative; overflow: hidden; }
.member-card:hover .member-img { filter: grayscale(0%); }
.member-img.placeholder::after { content: "PHOTO"; font-family: 'Archivo', sans-serif; position: absolute; bottom: 16px; left: 16px; color: rgba(255,255,255,0.25); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; }
.member-img img { width: 100%; height: 100%; object-fit: cover; }
.member-no { font-family: 'Archivo', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: var(--accent); padding: 0 24px; }
.member-name { font-size: 22px; font-weight: 900; letter-spacing: -0.01em; margin: 6px 0 2px; padding: 0 24px; }
.member-en { font-family: 'Archivo', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-light); padding: 0 24px; }
.member-card .more { font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); padding: 16px 24px 0; display: flex; align-items: center; gap: 8px; }
.member-card .more span { transition: transform 0.3s ease; }
.member-card:hover .more span { transform: translateX(6px); color: var(--accent); }

/* =========================================================
   個別プロフィールページ
   ========================================================= */
.profile-hero { padding: 170px 40px 70px; border-bottom: 2px solid var(--ink); }
.profile-back { font-family: 'Archivo', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 36px; }
.profile-back:hover { color: var(--accent); }
.profile-no { font-family: 'Archivo', sans-serif; font-size: 14px; font-weight: 800; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 12px; }
.profile-hero h1 { font-weight: 900; font-size: clamp(48px, 11vw, 140px); line-height: 0.9; letter-spacing: -0.04em; }
.profile-hero .furigana { font-family: 'Archivo', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); margin-top: 20px; }

/* gallery（マソンリー：列幅は揃え、高さは自然な比率のまま＝切らない・白枠なし） */
.gallery { columns: 3; column-gap: 16px; }
.gallery .shot { break-inside: avoid; margin: 0 0 16px; overflow: hidden; }
.gallery .shot img { width: 100%; height: auto; display: block; }

/* profile data table */
.profile-body { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.data-list { width: 100%; border-top: 2px solid var(--ink); }
.data-row { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.data-row dt { font-family: 'Archivo', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-light); padding-top: 3px; }
.data-row dd { font-size: 16px; font-weight: 500; }
.profile-sns { display: flex; gap: 16px; margin-top: 36px; }
.profile-sns a { font-family: 'Archivo', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--ink); border: 2px solid var(--ink); padding: 12px 24px; min-height: 44px; display: inline-flex; align-items: center; transition: background 0.3s ease, color 0.3s ease; }
.profile-sns a:hover { background: var(--ink); color: var(--paper); }

.works-title { font-family: 'Archivo', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.works-block { margin-bottom: 28px; }
.works-block h4 { font-size: 16px; font-weight: 900; margin-bottom: 10px; letter-spacing: -0.01em; }
.works-block ul { list-style: none; }
.works-block li { font-size: 14px; color: var(--gray); padding: 5px 0 5px 18px; position: relative; line-height: 1.7; }
.works-block li::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; background: var(--accent); }

/* 次のメンバーへのナビ */
.profile-nav { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.profile-nav a { font-family: 'Archivo', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.profile-nav a:hover { color: var(--accent); }

/* === Footer === */
footer { background: var(--ink); color: var(--gray-light); padding: 48px 40px 36px; border-top: 2px solid var(--accent); }
.footer-inner { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-logo { font-family: 'Archivo', sans-serif; font-size: 18px; font-weight: 900; text-transform: uppercase; color: var(--paper); }
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-family: 'Archivo', sans-serif; color: var(--gray-light); text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-family: 'Archivo', sans-serif; font-size: 12px; letter-spacing: 0.08em; color: #555; }

@media (max-width: 900px) {
  header { padding: 16px 24px; }
  .nav-list { display: none; position: fixed; inset: 0; background: var(--paper); flex-direction: column; justify-content: center; align-items: center; gap: 36px; }
  .nav-list.open { display: flex; }
  .nav-list a { font-size: 20px; }
  .hamburger { display: flex; }
  section { padding: 80px 24px; }
  .page-hero, .profile-hero { padding: 130px 24px 56px; }
  .section-en { display: none; }
  .member-grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .profile-body { grid-template-columns: 1fr; gap: 48px; }
}
