@charset "UTF-8";
/* =========================================================
   もりおか座映画祭2026  lower.css（下層ページ共通）
   ページタイトル・パンくず・ゲスト一覧
   ========================================================= */

/* ---------- 1. ページタイトル（写真の帯＋フィルムの穴） ---------- */
.pg-head {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: calc(var(--hd-h) + env(safe-area-inset-top, 0px) + clamp(40px, 6vw, 72px)) var(--gutter) clamp(44px, 6vw, 72px);
  background: var(--teal-deep);
}
.pg-head::before {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .55;
  background: url("../images/common/bg-yamakawa.jpg") center 38% / cover no-repeat;
}
.pg-head::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 70, 82, .95) 0%, rgba(14, 70, 82, .78) 45%, rgba(31, 126, 146, .45) 100%);
}
.pg-head-in { max-width: var(--wrap); margin: 0 auto; }
.crumb { display: flex; gap: 10px; margin-bottom: 18px; font: 600 12px/1.4 var(--en); letter-spacing: .14em; color: rgba(255, 255, 255, .8); }
.crumb a { color: #fff; }
.pg-title { margin: 0; text-wrap: balance; }
.pg-title .en { display: block; font: 700 clamp(36px, 6vw, 68px)/1.05 var(--en); letter-spacing: .05em; }
.pg-title .ja { display: block; margin-top: 10px; font: 500 14px/1.4 var(--jp); letter-spacing: .2em; color: var(--accent); }
.pg-lead { max-width: 40em; margin-top: 22px; font-size: 14.5px; line-height: 1.9; color: rgba(255, 255, 255, .92); }

/* ---------- 2. ゲスト一覧（写真＋名前を横に、プロフィールは下に全幅） ---------- */
.gl-sec { padding-top: clamp(48px, 7vw, 88px); }
.gl { display: grid; align-items: start; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 5vw, 72px) clamp(36px, 5vw, 72px); }
.gl-item {
  display: grid; grid-template-columns: clamp(120px, 12vw, 160px) minmax(0, 1fr); gap: 0 clamp(18px, 2.2vw, 26px); align-items: end; align-content: start;
  scroll-margin-top: 16px;
}
/* トップからリンクで来たゲストをハイライト */
.gl-item:target .gl-ph { box-shadow: 0 0 0 4px var(--turq); }
.gl-item:target .gl-name { color: var(--turq); }

.gl-ph { position: relative; aspect-ratio: 3 / 4; max-width: 100%; overflow: hidden; background: linear-gradient(160deg, #d7e8eb, #a9cbd2); transition: box-shadow .4s; }
.gl-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gl-ph .initial { position: absolute; inset: 0; display: grid; place-items: center; font: 700 34px/1 var(--en); color: rgba(14, 70, 82, .45); }
.gl-credit { position: absolute; right: 5px; bottom: 4px; font-size: 9.5px; line-height: 1.3; color: rgba(255, 255, 255, .92); text-shadow: 0 0 3px rgba(0, 0, 0, .7); }

.gl-body { min-width: 0; padding-bottom: 4px; }
.gl-title { font-size: 13px; line-height: 1.6; letter-spacing: .08em; color: var(--sub); }
.gl-name { margin: 2px 0 0; font-size: clamp(21px, 2vw, 26px); font-weight: 700; letter-spacing: .1em; line-height: 1.4; color: var(--teal-deep); transition: color .4s; }
.gl-role {
  display: inline-block; margin-top: 10px; padding: 4px 10px; background: var(--turq); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; line-height: 1.6;
}
.gl-profwrap { grid-column: 1 / -1; min-width: 0; }
.gl-prof { position: relative; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.95; }
.gl-prof.is-long:not(.is-open) { max-height: 11.7em; overflow: hidden; }
.gl-prof.is-long:not(.is-open)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4em;
  background: linear-gradient(rgba(245, 249, 249, 0), var(--paper));
}
.gl-more {
  margin-top: 6px; padding: 6px 0; border: 0; background: none; color: var(--teal); cursor: pointer;
  font: 700 13px/1.4 var(--jp); letter-spacing: .08em; text-decoration: underline; text-underline-offset: 4px;
}
.gl-more:hover { color: var(--teal-deep); }
.gl-sec .more { margin-top: 72px; text-align: center; }

/* ---------- 3. タブレット・スマホ ---------- */
@media (max-width: 960px) {
  .gl { grid-template-columns: minmax(0, 40em); justify-content: center; }
}
@media (max-width: 560px) {
  .gl { gap: 52px; }
  .gl-item { grid-template-columns: 112px minmax(0, 1fr); }
  .gl-name { font-size: 20px; }
}

/* ---------- 4. ゲストの登壇予定作品（プロフィールの下、プロフィールと同じ幅） ---------- */
.gl-films { grid-column: 1 / -1; min-width: 0; margin-top: 16px; padding: 12px 16px 13px; background: var(--mist); }
.gl-films-ttl { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--teal); }
.gl-films ul { display: flex; flex-wrap: wrap; gap: 2px 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 700; line-height: 1.7; color: var(--teal-deep); }
.gl-films a { color: inherit; text-decoration: none; }
.gl-films a:hover { text-decoration: underline; text-underline-offset: 3px; }
